找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 230989|回复: 1203

[N1盒子] [2022-7-29] Docker Openwrt r22.07.07

 火... [复制链接]
发表于 2019-9-1 21:38 | 显示全部楼层 |阅读模式
迅雷TV
本帖最后由 flippy 于 2022-7-29 10:53 编辑

最新版的镜像名 unifreq/openwrt-aarch64:latest

【22.7.29】Docker openwrt镜像升级至r22.07.07, 镜像名称为 unifreq/openwrt-aarch64:r22.07.07

【21.12.8】Docker openwrt镜像升级至r21.12.01, 镜像名称为 unifreq/openwrt-aarch64:r21.12.01
【21.11.20】Docker openwrt镜像升级至r21.11.11, 镜像名称为 unifreq/openwrt-aarch64:r21.11.11
【21.10.01】Docker openwrt镜像升级至r21.10.01, 镜像名称为 unifreq/openwrt-aarch64:r21.10.01
【20.11.15】Docker openwrt镜像升级至r20.10.20, 镜像名称为 unifreq/openwrt-aarch64:r20.10.20
【20.10.07】Docker openwrt镜像升级至r20.09.15, 镜像名称为 unifreq/openwrt-aarch64:r20.09.15
【20.08.08】Docker openwrt镜像升级至r20.07.20, 镜像名称为 unifreq/openwrt-aarch64:r20.07.20
【20.06.13】Docker openwrt镜像升级至r20.05.20, 镜像名称为 unifreq/openwrt-aarch64:r20.05.20
【20.04.14】Docker openwrt镜像升级至r20.04.08, 镜像名称为 unifreq/openwrt-aarch64:r20.04.08
【20.03.22】Docker openwrt镜像升级至r20.03.19, 镜像名称为 unifreq/openwrt-aarch64:r20.03.19

1. 拉取镜像:
  1. docker pull unifreq/openwrt-aarch64:latest
复制代码


2. 运行镜像示例代码:
  1. #!/bin/bash

  2. get_random_mac ()
  3. {
  4.     # MAC地址第一段可在 02 06 0A 0E 中任选一个
  5.     if [ "$SHELL" == "/bin/bash" ];then
  6.         #MACADDR=$(printf "%02X:%02X:%02X:%02X:%02X:%02X\n" $[RANDOM%255] $[RANDOM%255] $[RANDOM%255] $[RANDOM%255] $[RANDOM%255] $[RANDOM%255])
  7.         MACADDR=$(printf "06:%02X:%02X:%02X:%02X:%02X\n" $[RANDOM%255] $[RANDOM%255] $[RANDOM%255] $[RANDOM%255] $[RANDOM%255])
  8.     else
  9.         uuid=$(cat /proc/sys/kernel/random/uuid)
  10.         mac1="0E"
  11.         #mac1=${uuid:24:2}
  12.         mac2=${uuid:26:2}
  13.         mac3=${uuid:28:2}
  14.         mac4=${uuid:30:2}
  15.         mac5=${uuid:32:2}
  16.         mac6=${uuid:34:2}
  17.         MACADDR=$(echo "$mac1:$mac2:$mac3:$mac4:$mac5:$mac6" | tr '[a-z]' '[A-Z]')
  18.     fi
  19. }

  20. # 以下的变量要按照实际情况修改!!
  21. IMG_NAME=unifreq/openwrt-aarch64
  22. IMG_TAG=latest
  23. PREV_IMG_TAG=latest
  24. #PREV_IMG_TAG=r21.10.01
  25. PARENT="eth0"
  26. SUBNET="192.168.3.0/24"
  27. GATEWAY="192.168.3.1"
  28. IP="192.168.3.23"

  29. MACNET=$(docker network ls | grep macnet | wc -l)
  30. if [ $MACNET -eq 0 ];then
  31.         docker network create -d macvlan -o parent="$PARENT" --subnet "$SUBNET" --gateway "$GATEWAY" macnet
  32. fi

  33. # 停止和删除旧版容器
  34. docker stop openwrt-${PREV_IMG_TAG} 2>/dev/null
  35. docker rm openwrt-${PREV_IMG_TAG} 2>/dev/null

  36. get_random_mac
  37. echo $MACADDR
  38. KERNEL_VERSION=$(uname -r)
  39. docker run --name openwrt-$IMG_TAG \
  40.         --restart always \
  41.         --network macnet \
  42.         --mac-address $MACADDR \
  43.         --ip $IP \
  44.         -d --privileged=true \
  45.         --ulimit nofile=16384:65536  \
  46.         -v /lib/modules/${KERNEL_VERSION}:/lib/modules/${KERNEL_VERSION} \
  47.         $IMG_NAME:$IMG_TAG
  48. # 注: -v /lib/modules/${KERNEL_VERSION}:/lib/modules/${KERNEL_VERSION} \  这行也可以删除不要

  49. # 第一次运行,需要修改ip地址
  50. docker  exec  openwrt-${IMG_TAG}  sed -e "s/192.168.1.1/${IP}/"  -i  /etc/config/network
  51. #重启容器生效
  52. docker restart openwrt-${IMG_TAG}

  53. # 清理旧版镜像
  54. docker image prune -f
复制代码


3. 创建自己的镜像:
首先以我仓库中的某个config文件为模版,编译你自己需要的 openwrt rootfs 底包,软件包自己按需增减。
openwrt/lede的编译方式,见 https://github.com/coolsnowwolf/lede/blob/master/README.md
生成 openwrt-armvirt-64-default-rootfs.tar.gz 备用

  1. # 拉取打包工具
  2. cd  /opt
  3. git clone https://github.com/unifreq/openwrt_packit
  4. cd openwrt_packit
  5. mkdir src2
  6. # 把生成好的 openwrt-armvirt-64-default-rootfs.tar.gz 上传至 src2目录里
  7. ./mk_openwrt_dockerimg.sh [yourname/your_img_name] [your_tag]   # yourname就是你自己的 hub.docker.com 帐号 , your_img_name 是 openwrt镜像名(默认是 unifreq/openwrt-aarch64), your_tag是镜像的tag(默认是latest)
  8. docker push yourname/your_img_name:your_tag  # 镜像上传至你的 docker hub
  9. # 或者
  10. # 镜像导出至本地
  11. docker save yourname/your_img_name:your_tag  | gzip >  openwrt-docker.gz
  12. # 导入本地镜像
  13. gzip -dc openwrt-docker.gz  | docker load  
复制代码
1.jpg
2.jpg
3.jpg
g1.jpg
g2.jpg
mkdocker.jpg
bbb.jpg
fff.jpg

点评

你说的很对,我赞同你的说法。: 5.0
你说的很对,我赞同你的说法。: 5
  发表于 2020-10-16 11:00
armbian密码多少??  发表于 2020-7-2 19:32

评分

参与人数 49恩山币 +56 收起 理由
tanhu + 1 生活不易,相遇也不易,既然这样,让我们成.
byiceb + 1 来来来,有什么伤心的事说出来让大家开心一下。
czy888 + 1 强大的恩山!(以下重复1万次)
sames + 1 最新镜像在看高清网盘视频等大流量场景下,撑不到半小时就会引起宿主机断网,换了别的
anywlan5526 + 2 一看就是觉得高端、大气、上档次!
956976901 + 1 你好,吴签兄,认识你很高兴!调侃一下、别动气。
conan257 + 1 强大的恩山!(以下重复1万次)
HatsuneIA + 1 强大的恩山!(以下重复1万次)
firegl99 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
micoGZ + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
jdpnews + 1 强大的恩山!(以下重复1万次)
wycghrp + 1 风清云淡、飘逸悠然……极爽!
dexle + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
macro23 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
lifuhaiqdu2 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
sunshine00 + 1 dock还是最方便 ,感谢一直更新
Mozzie + 1 希望增加openwrt-subconverter 方便转协议
topgoodness + 1 生活不易,相遇也不易,既然这样,让我们成为朋友一起面朝大海、花开花落……
5asdfasdf + 2 强大的恩山!(以下重复1万次)
casojie -1 希望增加openclash
w13689226302 + 2 dock还是最方便 ,感谢一直更新
crosscc + 1 刚需tro-jan 赞!
8MILERD + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
qian9008 + 1 刷了最新版的 luci 还是数据收集中,接口也找不到
zm100801348 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
a1092595196 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
cAptian + 1 风清云淡、飘逸悠然……极爽!
ixuner + 1 恩山全体路由党向你学习!
neverleaving + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
hzrenji + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
hslzyd + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
cdk + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
qiuwei0209 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
hcyme + 2 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
jxdqwer + 1 NICE
sfezen + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
muzilee + 2 谢谢楼主分享,要是再加上简单的刷机教程就更完美了!
584521abc + 1 参照451楼,更换10+的代码,有需要拿走,可以直接一起复制粘贴到xshell就
TensorLake + 1 强大的恩山!(以下重复1万次)
白云纷飞 + 1 感谢你的分享,无论怎样,你都是最无私的人!来,说说,你E盘上还有啥一起给我吧!
bwtogo + 1 强大的恩山!(以下重复1万次)
jmhjl + 2 感谢你的分享,无论怎样,你都是最无私的人!
花z泪语 + 1 一看就是觉得高端、大气、上档次!
likeyu + 1 感谢你的分享,无论怎样,你都是最无私的人!
secowu + 2 马上70周年国庆了,在此我祝你国庆节快乐!
todayfff + 2 如果有img就更好了,造福小白了!
james_wang17 + 1 感谢你的分享,无论怎样,你都是最无私的人!
enzoye + 1 感谢你的分享,无论怎样,你都是最无私的人!
逝水忆流年 + 2 率全体恩山路由党以及党魁向你学习!

查看全部评分

本帖被以下淘专辑推荐:

我的恩山、我的无线 The best wifi forum is right here.
发表于 2019-10-13 23:15 | 显示全部楼层
flippy 发表于 2019-10-13 23:04
download.docker.com 需要搭梯子
只用./install-docker.sh,不需要加sh在前面
另外,脚本经我检查确实 ...

Last login: Sun Oct 13 23:06:36 2019 from 192.168.1.8

root@aml:~# ./install-docker.sh
OK
pub   rsa4096 2017-02-22 [SCEA]
      9DC8 5822 9FC7 DD38 854A  E2D8 8D81 803C 0EBF CD88
uid           [ unknown] Docker Release (CE deb) <docker@docker.com>
sub   rsa4096 2017-02-22 [S]

Get:1 http://mirrors.tuna.tsinghua.edu.cn/debian buster InRelease [122 kB]
Get:2 http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates InRelease [49.3                                                                                                              kB]
Get:3 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports InRelease [46.                                                                                                             7 kB]
Get:4 http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates InRelea                                                                                                             se [39.1 kB]
Get:5 http://mirrors.tuna.tsinghua.edu.cn/armbian buster InRelease [18.3 kB]
Get:6 http://mirrors.tuna.tsinghua.edu.cn/debian buster/main armhf Packages [769                                                                                                             0 kB]
Get:7 http://mirrors.tuna.tsinghua.edu.cn/debian buster/main arm64 Packages [772                                                                                                             8 kB]
Get:8 http://mirrors.tuna.tsinghua.edu.cn/debian buster/main Translation-en [596                                                                                                             7 kB]
Get:9 http://mirrors.tuna.tsinghua.edu.cn/debian buster/main arm64 Contents (deb                                                                                                             ) [35.3 MB]
Get:10 https://download.docker.com/linux/debian buster InRelease [44.4 kB]
Get:11 https://download.docker.com/linux/debian buster/stable amd64 Packages [95                                                                                                             42 B]
Get:12 http://mirrors.tuna.tsinghua.edu.cn/debian buster/main armhf Contents (de                                                                                                             b) [35.2 MB]
Get:13 https://download.docker.com/linux/debian buster/stable amd64 Contents (de                                                                                                             b) [1902 B]
Get:14 http://mirrors.tuna.tsinghua.edu.cn/debian buster/contrib arm64 Packages                                                                                                              [39.2 kB]
Get:15 http://mirrors.tuna.tsinghua.edu.cn/debian buster/contrib armhf Packages                                                                                                              [40.9 kB]
Get:16 http://mirrors.tuna.tsinghua.edu.cn/debian buster/contrib Translation-en                                                                                                              [44.7 kB]
Get:17 http://mirrors.tuna.tsinghua.edu.cn/debian buster/contrib arm64 Contents                                                                                                              (deb) [82.7 kB]
Get:18 http://mirrors.tuna.tsinghua.edu.cn/debian buster/contrib armhf Contents                                                                                                              (deb) [83.3 kB]
Get:19 http://mirrors.tuna.tsinghua.edu.cn/debian buster/non-free arm64 Packages                                                                                                              [53.9 kB]
Get:20 http://mirrors.tuna.tsinghua.edu.cn/debian buster/non-free armhf Packages                                                                                                              [62.0 kB]
Get:21 http://mirrors.tuna.tsinghua.edu.cn/debian buster/non-free Translation-en                                                                                                              [88.7 kB]
Get:22 http://mirrors.tuna.tsinghua.edu.cn/debian buster/non-free armhf Contents                                                                                                              (deb) [764 kB]
Get:23 http://mirrors.tuna.tsinghua.edu.cn/debian buster/non-free arm64 Contents                                                                                                              (deb) [757 kB]
Get:24 http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main armhf Pack                                                                                                             ages [5780 B]
Get:25 http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main arm64 Pack                                                                                                             ages [5776 B]
Get:26 http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main Translatio                                                                                                             n-en [3655 B]
Get:27 http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main arm64 Cont                                                                                                             ents (deb) [39.1 kB]
Get:28 http://mirrors.tuna.tsinghua.edu.cn/debian buster-updates/main armhf Cont                                                                                                             ents (deb) [39.1 kB]
Get:29 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Pa                                                                                                             ckages [108 kB]
Get:30 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Pa                                                                                                             ckages [108 kB]
Get:31 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main Translat                                                                                                             ion-en [90.0 kB]
Get:32 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main arm64 Co                                                                                                             ntents (deb) [2396 kB]
Get:33 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/main armhf Co                                                                                                             ntents (deb) [2555 kB]
Get:34 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/contrib arm64                                                                                                              Packages [4912 B]
Get:35 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/contrib armhf                                                                                                              Packages [5040 B]
Get:36 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/contrib Trans                                                                                                             lation-en [3608 B]
Get:37 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/contrib arm64                                                                                                              Contents (deb) [20.8 kB]
Get:38 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/contrib armhf                                                                                                              Contents (deb) [20.7 kB]
Get:39 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/non-free armh                                                                                                             f Packages [5192 B]
Get:40 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/non-free arm6                                                                                                             4 Packages [5192 B]
Get:41 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/non-free Tran                                                                                                             slation-en [14.7 kB]
Get:42 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/non-free arm6                                                                                                             4 Contents (deb) [40.0 kB]
Get:43 http://mirrors.tuna.tsinghua.edu.cn/debian buster-backports/non-free armh                                                                                                             f Contents (deb) [40.0 kB]
Get:44 http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main a                                                                                                             rm64 Packages [97.2 kB]
Get:45 http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main a                                                                                                             rmhf Packages [97.0 kB]
Get:46 http://mirrors.tuna.tsinghua.edu.cn/debian-security buster/updates/main T                                                                                                             ranslation-en [60.5 kB]
Get:47 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/main arm64 Packages [6                                                                                                             1.1 kB]
Get:48 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/main armhf Packages [6                                                                                                             3.2 kB]
Get:49 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/main armhf Contents (d                                                                                                             eb) [2849 kB]
Get:50 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/main arm64 Contents (d                                                                                                             eb) [2864 kB]
Get:51 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-utils arm64 Pac                                                                                                             kages [3459 B]
Get:52 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-utils armhf Pac                                                                                                             kages [3749 B]
Get:53 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-utils armhf Con                                                                                                             tents (deb) [572 B]
Get:54 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-utils arm64 Con                                                                                                             tents (deb) [572 B]
Get:55 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-desktop armhf P                                                                                                             ackages [1531 B]
Get:56 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-desktop arm64 P                                                                                                             ackages [403 B]
Get:57 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-desktop armhf C                                                                                                             ontents (deb) [213 B]
Get:58 http://mirrors.tuna.tsinghua.edu.cn/armbian buster/buster-desktop arm64 C                                                                                                             ontents (deb) [60 B]
Fetched 106 MB in 58s (1831 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package docker-ce is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
However the following packages replace it:
  docker-ce-cli:amd64

E: Package 'docker-ce' has no installation candidate
E: Unable to locate package docker-ce-cli
E: Unable to locate package containerd.io
E: Couldn't find any package by glob 'containerd.io'
E: Couldn't find any package by regex 'containerd.io'
root@aml:~#

搞不定,大佬,刷了两次是同样的错误

点评

amd64改为arm64,这是我的错误,已在1楼说明  详情 回复 发表于 2019-10-13 23:21
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-11-30 15:53 | 显示全部楼层
[  221.974900] Unable to handle kernel NULL pointer dereference at virtual address 00000000000000e0
[  221.975693] Mem abort info:
[  221.976178]   ESR = 0x96000007
[  221.976495]   Exception class = DABT (current EL), IL = 32 bits
[  221.977287]   SET = 0, FnV = 0
[  221.977573]   EA = 0, S1PTW = 0
[  221.977858] Data abort info:
[  221.978285]   ISV = 0, ISS = 0x00000007
[  221.978638]   CM = 0, WnR = 0
[  221.978910] user pgtable: 4k pages, 48-bit VAs, pgdp=00000000228a8000
[  221.979668] [00000000000000e0] pgd=0000000022ac5003, pud=0000000022a41003, pmd=0000000022a7d003, pte=0000000000000000
[  221.980835] Internal error: Oops: 96000007 [#1] PREEMPT SMP
[  221.981339] Modules linked in: tcp_cubic sch_sfq sch_pie sch_codel pppoe ppp_async br_netfilter pppox ppp_mppe ppp_generic nft_reject_bridge nft_meta_bridge ipt_REJECT bridge xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_quota xt_policy xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TPROXY xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY wireguard usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm stp slhc nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_log nft_limit nft_fwd_netdev nft_dup_netdev nft_ct nft_counter nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_p p t p nf_nat_irc nf_nat_h323
[  221.981456]  nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_flow_table nf_dup_netdev nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_p p t p nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount macvlan llc iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc8 cordic sch_cake tcp_bbr cls_matchall act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw cls_basic sch_tbf sch_htb sch_hfsc sch_fq_codel xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT xt_MASQUERADE ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle
[  221.989179]  ip6table_filter ip6_tables x_tables ip_gre gre ifb dummy veth tun dm_crypt dm_mirror dm_region_hash dm_log dm_mod 9pnet_virtio virtio_ring virtio 9pnet vxlan ecdh_generic ecc uhci_hcd
[  221.998412] CPU: 1 PID: 34 Comm: kworker/1:1 Not tainted 5.3.13-rockchip-flippy-16+ #62
[  221.999117] Hardware name: BeikeYun (DT)
[  221.999476] Workqueue: events dbs_work_handler
[  221.999877] pstate: 40000005 (nZcv daif -PAN -UAO)
[  222.000308] pc : clk_composite_recalc_rate+0xc/0x38
[  222.000743] lr : clk_recalc+0x2c/0x98
[  222.001069] sp : ffff000011353a10
[  222.001365] x29: ffff000011353a10 x28: ffff80002b4fba00
[  222.001838] x27: ffff80002b4fd900 x26: ffff80003fd77098
[  222.002310] x25: ffff80002b4fd780 x24: 0000000000000000
[  222.002783] x23: ffff80003e41df00 x22: 0000000011e1a300
[  222.003257] x21: 0000000047868c00 x20: 0000000047868c00
[  222.003729] x19: ffff80003e41f900 x18: 0000000000000000
[  222.004201] x17: 0000000000000000 x16: 0000000000000000
[  222.004673] x15: 0000000000000000 x14: 0000000000000000
[  222.005147] x13: 0000000000000000 x12: 0000000000000001
[  222.005618] x11: 0000000000000001 x10: 0000000000000920
[  222.006091] x9 : 0000000000000000 x8 : ffff80003e42f028
[  222.006564] x7 : ffff80003e430580 x6 : 000000000bebc200
[  222.007037] x5 : 0000000000000004 x4 : 0000000000000028
[  222.007509] x3 : 0000000000000000 x2 : 0000000000000000
[  222.007983] x1 : 0000000047868c00 x0 : 0000000000000000
[  222.008457] Call trace:
[  222.008685]  clk_composite_recalc_rate+0xc/0x38
[  222.009091]  clk_recalc+0x2c/0x98
[  222.009391]  clk_change_rate+0xa0/0x290
[  222.009735]  clk_change_rate+0xf4/0x290
[  222.010079]  clk_change_rate+0xf4/0x290
[  222.010424]  clk_change_rate+0xf4/0x290
[  222.010767]  clk_change_rate+0xf4/0x290
[  222.011110]  clk_core_set_rate_nolock+0x1bc/0x1e8
[  222.011530]  clk_set_rate+0x34/0xa0
[  222.011846]  dev_pm_opp_set_rate+0x270/0x500
[  222.012227]  set_target+0x3c/0x80
[  222.012528]  __cpufreq_driver_target+0x2bc/0x678
[  222.012941]  od_dbs_update+0xb8/0x190
[  222.013269]  dbs_work_handler+0x3c/0x70
[  222.013614]  process_one_work+0x1e0/0x338
[  222.013972]  worker_thread+0x40/0x440
[  222.014301]  kthread+0x120/0x128
[  222.014593]  ret_from_fork+0x10/0x18
[  222.014919] Code: d65f03c0 a9bf7bfd aa0003e2 910003fd (f9407003)
[  222.015461] ---[ end trace 1a93b8315845073b ]---
[  285.975156] ------------[ cut here ]------------
[  285.975668] WARNING: CPU: 2 PID: 4788 at lib/iov_iter.c:1051 iov_iter_revert+0x25c/0x268
[  285.976385] Modules linked in: tcp_cubic sch_sfq sch_pie sch_codel pppoe ppp_async br_netfilter pppox ppp_mppe ppp_generic nft_reject_bridge nft_meta_bridge ipt_REJECT bridge xt_time xt_tcpudp xt_tcpmss xt_statistic xt_state xt_socket xt_recent xt_quota xt_policy xt_pkttype xt_owner xt_nat xt_multiport xt_mark xt_mac xt_limit xt_length xt_hl xt_helper xt_esp xt_ecn xt_dscp xt_conntrack xt_connmark xt_connlimit xt_connbytes xt_comment xt_addrtype xt_TPROXY xt_TCPMSS xt_REDIRECT xt_NETMAP xt_LOG xt_HL xt_DSCP xt_CT xt_CLASSIFY wireguard usblp ums_usbat ums_sddr55 ums_sddr09 ums_karma ums_jumpshot ums_isd200 ums_freecom ums_datafab ums_cypress ums_alauda ts_fsm ts_bm stp slhc nft_reject_ipv6 nft_reject_ipv4 nft_reject_inet nft_reject nft_redir nft_quota nft_numgen nft_log nft_limit nft_fwd_netdev nft_dup_netdev nft_ct nft_counter nf_tproxy_ipv6 nf_tproxy_ipv4 nf_tables nf_socket_ipv6 nf_socket_ipv4 nf_reject_ipv4 nf_nat_tftp nf_nat_snmp_basic nf_nat_sip nf_nat_p p t p nf_nat_irc nf_nat_h323
[  285.976496]  nf_nat_ftp nf_nat_amanda nf_log_ipv4 nf_flow_table nf_dup_netdev nf_conntrack_tftp nf_conntrack_snmp nf_conntrack_sip nf_conntrack_p p t p nf_conntrack_netlink nf_conntrack_irc nf_conntrack_h323 nf_conntrack_ftp nf_conntrack_broadcast ts_kmp nf_conntrack_amanda nf_conncount macvlan llc iptable_raw iptable_nat iptable_mangle iptable_filter ipt_ah ipt_ECN ip_tables crc8 cordic sch_cake tcp_bbr cls_matchall act_skbedit act_mirred em_u32 cls_u32 cls_tcindex cls_flow cls_route cls_fw cls_basic sch_tbf sch_htb sch_hfsc sch_fq_codel xt_set ip_set_list_set ip_set_hash_netiface ip_set_hash_netport ip_set_hash_netnet ip_set_hash_net ip_set_hash_netportnet ip_set_hash_mac ip_set_hash_ipportnet ip_set_hash_ipportip ip_set_hash_ipport ip_set_hash_ipmark ip_set_hash_ip ip_set_bitmap_port ip_set_bitmap_ipmac ip_set_bitmap_ip ip_set nfnetlink ip6t_NPT xt_MASQUERADE ip6table_nat nf_nat nf_conntrack nf_defrag_ipv6 nf_defrag_ipv4 ip6t_REJECT nf_reject_ipv6 nf_log_ipv6 nf_log_common ip6table_mangle
[  285.984211]  ip6table_filter ip6_tables x_tables ip_gre gre ifb dummy veth tun dm_crypt dm_mirror dm_region_hash dm_log dm_mod 9pnet_virtio virtio_ring virtio 9pnet vxlan ecdh_generic ecc uhci_hcd
[  285.993432] CPU: 2 PID: 4788 Comm: v2server Tainted: G      D           5.3.13-rockchip-flippy-16+ #62
[  285.994253] Hardware name: BeikeYun (DT)
[  285.994604] pstate: 40000005 (nZcv daif -PAN -UAO)
[  285.995034] pc : iov_iter_revert+0x25c/0x268
[  285.995416] lr : iov_iter_revert+0x25c/0x268
[  285.995796] sp : ffff000014203a70
[  285.996091] x29: ffff000014203a70 x28: 0000000000000ec0
[  285.996564] x27: 0000000000000140 x26: ffff800023868990
[  285.997035] x25: ffff000014203cd0 x24: 0000000000000000
[  285.997507] x23: ffff800023b21200 x22: ffff0000109ee9f0
[  285.997978] x21: 00000000a4726845 x20: 0000000000000000
[  285.998451] x19: 0000000000000ec0 x18: 0000000000000010
[  285.998923] x17: 0000000000000000 x16: 0000000000000000
[  285.999396] x15: ffffffffffffffff x14: 0720072007200720
[  285.999869] x13: 0720072007200720 x12: 0720072007200720
[  286.000342] x11: 0720072007200720 x10: 0720072007200720
[  286.000814] x9 : 0720072007200720 x8 : ffff000010704268
[  286.001286] x7 : 00000000000001d0 x6 : ffff80003e421f00
[  286.001759] x5 : 0000000000000000 x4 : 0000000000000000
[  286.002232] x3 : 0000000000000000 x2 : cefe631813be4900
[  286.002705] x1 : 0000000000000000 x0 : 0000000000000024
[  286.003178] Call trace:
[  286.003402]  iov_iter_revert+0x25c/0x268
[  286.003755]  __skb_datagram_iter+0x25c/0x270
[  286.004138]  skb_copy_datagram_iter+0x1c/0x28
[  286.004529]  tcp_recvmsg+0x1d8/0x9f8
[  286.004851]  inet_recvmsg+0x50/0x118
[  286.005173]  sock_recvmsg+0x48/0x58
[  286.005486]  sock_read_iter+0x84/0xc8
[  286.005816]  new_sync_read+0x104/0x188
[  286.006153]  __vfs_read+0x2c/0x40
[  286.006451]  vfs_read+0x90/0x168
[  286.006740]  ksys_read+0x64/0xe8
[  286.007031]  __arm64_sys_read+0x18/0x20
[  286.007377]  el0_svc_common.constprop.0+0x88/0x150
[  286.007803]  el0_svc_handler+0x20/0x80
[  286.008140]  el0_svc+0x8/0xc
[  286.008399] ---[ end trace 1a93b8315845073c ]---

贝壳刷OP,经常死掉,是不是硬件有问题?

点评

一般通过更换质量好的电源,或者把贝壳云的5个电解电容换成固态电容可以改善。  详情 回复 发表于 2019-12-6 21:44
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-6 00:54 | 显示全部楼层
flippy 发表于 2019-9-6 00:20
两个都一样,只是名字不同

感谢,已经成功使用了。

请教一下:如下337 - 340  行操作, docker 名字都不对。 只好参考341 输入image id 后才识别到。
我是从docker 官网pull您的文件下来的。

  337  docker run --name KLG_GWF --restart always --network macnet --mac-address $MACADDR -d --privileged=true --ulimit nofile=16384:65536  unifreq/openwrt-arm64:r9.8.17
  338  docker run --name KLG_GWF --restart always --network macnet --mac-address $MACADDR -d --privileged=true --ulimit nofile=16384:65536  openwrt-arm64:r9.8.17
  339  docker image ls
  340  docker run --name KLG_GWF --restart always --network macnet --mac-address $MACADDR -d --privileged=true --ulimit nofile=16384:65536  unifreq/openwrt-aarch64
  341  docker run --name KLG_GWF --restart always --network macnet --mac-address $MACADDR -d --privileged=true --ulimit nofile=16384:65536  2ddc819e99d4

导致 image 名字不对。
root@aml:~# docker container ls
CONTAINER ID        IMAGE                 COMMAND                  CREATED             STATUS              PORTS                    NAMES
0a5a7b8a9c69        2ddc819e99d4          "/sbin/init"             14 minutes ago      Up 6 minutes                                 KLG_GWF
25b3d2791185        lstcml/n1_kodcloud    "entrypoint.sh php -…"   2 days ago          Up 6 minutes        0.0.0.0:1000->80/tcp     kdcloud
5ecd04307fd1        portainer/portainer   "/portainer"             12 days ago         Up 6 minutes        0.0.0.0:9000->9000/tcp   portainer


请教doker run 时的名字应该是怎么写呢?

点评

名字是KLG_GWF,你自己取的,见docker container ls 结果里 NAMES  详情 回复 发表于 2019-9-6 09:13
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 21:46 来自手机 | 显示全部楼层
可以再次折腾下了
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 21:47 | 显示全部楼层
楼主,你是一个大好人!!
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 21:50 | 显示全部楼层

可以再次折腾下了
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 21:53 来自手机 | 显示全部楼层
看看试试谢谢
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 21:57 | 显示全部楼层
可以载折腾
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 22:03 | 显示全部楼层
可以再次折腾下了
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 22:08 | 显示全部楼层
折腾了一下,是姿势不对吗,没有KP,也没有酸酸乳? 20190901220614.png




点评

大神,网盘分享的armbian还需替换低负载文件吗?  详情 回复 发表于 2019-9-2 16:26
kp没有,后者要芝麻开门,大家都知道的吧?  详情 回复 发表于 2019-9-1 22:10
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-9-1 22:10 | 显示全部楼层
逝水忆流年 发表于 2019-9-1 22:08
折腾了一下,是姿势不对吗,没有KP,也没有酸酸乳?

kp没有,后者要芝麻开门,大家都知道的吧?

点评

嗯。开了门,确有酸酸乳,可惜没有KP,本人刚需,  详情 回复 发表于 2019-9-1 22:16
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 22:13 来自手机 | 显示全部楼层
支持老大,哈哈,终于出帖子了,顶起
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 22:16 | 显示全部楼层
flippy 发表于 2019-9-1 22:10
kp没有,后者要芝麻开门,大家都知道的吧?

嗯。开了门,确有酸酸乳,可惜没有KP,本人刚需,

点评

请问重新下载带kp的是是网盘里面的还是docker在线下载的呢?  详情 回复 发表于 2019-9-5 23:52
kp不在lean的源码库里,我只是搬运工。  详情 回复 发表于 2019-9-1 22:18
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-9-1 22:18 | 显示全部楼层
逝水忆流年 发表于 2019-9-1 22:16
嗯。开了门,确有酸酸乳,可惜没有KP,本人刚需,

kp不在lean的源码库里,我只是搬运工。

点评

嗯嗯。。感谢分享。。。  详情 回复 发表于 2019-9-1 22:26
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 22:24 | 显示全部楼层
感谢分享
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

发表于 2019-9-1 22:26 | 显示全部楼层
flippy 发表于 2019-9-1 22:18
kp不在lean的源码库里,我只是搬运工。

嗯嗯。。感谢分享。。。

点评

我找到了你的刚需,重新下载镜像试试看。  详情 回复 发表于 2019-9-1 23:46
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2019-9-1 23:46 | 显示全部楼层
逝水忆流年 发表于 2019-9-1 22:26
嗯嗯。。感谢分享。。。

我找到了你的刚需,重新下载镜像试试看。

点评

请问您说的重新下载是网盘里面的还是docker在线下载的呢?  详情 回复 发表于 2019-9-5 23:51
很感谢你的辛苦 重新折腾了下新镜像,简章测试了一下我刚需的几个功能: 1、KP:测试了主流三大站的几个视频,手机端、PC端目前都能去掉广告 2、酸酸乳:出国留学也正常 3、解锁网易云:正常 其他的功能,因为  详情 回复 发表于 2019-9-2 00:41
我的恩山、我的无线 The best wifi forum is right here.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关闭

欢迎大家光临恩山无线论坛上一条 /1 下一条

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )|网站地图

GMT+8, 2023-12-2 04:18

Powered by Discuz! X3.5

© 2001-2023 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表