使用以下管理用户名和密码登录移动光猫:
用户名:CMCCAdmin
密码:aDm8H%MdA
登陆后,查看“网络-宽带设置”,选择名称中含有“INTERNET”的连接名称,截图记录原有INTERNET设置:
截图记录后,删除此配置。
参考原有配置,新建一个INTERNET连接,并设为桥接模式:
剩下的就是修改路由器WAN口为PPPoE拨号。如果不知道拨号密码,需要提前找移动客服索要。
Home is where heart is.
使用以下管理用户名和密码登录移动光猫:
用户名:CMCCAdmin
密码:aDm8H%MdA
登陆后,查看“网络-宽带设置”,选择名称中含有“INTERNET”的连接名称,截图记录原有INTERNET设置:
以下设置在lean openwrt移动、电信、联通均测试成功。
最新版的官方openwrt,可以直接在设置中将LAN和WAN6均设置ipv6为中继模式。但lean 的openwrt中,wan6的Luci界面无此设置选项。设置说明如下:
确保编译时已经添加ipv6helper。
需要终端登录openwrt,
vi /etc/config/dhcp
修改以下配置:
若原配置文件中无'wan6'部分,直接手动添加。
简便方法:
在区域设置中,直接启用UTF-8支持特性就可以了:
控制面板-区域与语言-区域,非Unicode(non Unicode)选项
OS | Process | RAM / M | Disk usage / G |
centos-7-x86_64 | 71 | 94.08 | 1.36 |
debian-9-x86_64 | 72 | 44.87 | 1.16 |
ubuntu-16.04-x86_64 | 120 | 111.34 | 1.75 |
[root /]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 03:25 ? 00:00:00 /usr/lib/systemd/systemd --switched-root --system --deserialize 21
root 2 0 0 03:25 ? 00:00:00 [kthreadd]
root 3 2 0 03:25 ? 00:00:00 [ksoftirqd/0]
root 4 2 0 03:25 ? 00:00:00 [kworker/0:0]
root 5 2 0 03:25 ? 00:00:00 [kworker/0:0H]
root 6 2 0 03:25 ? 00:00:00 [kworker/u2:0]
root 7 2 0 03:25 ? 00:00:00 [migration/0]
root 8 2 0 03:25 ? 00:00:00 [rcu_bh]
root 9 2 0 03:25 ? 00:00:00 [rcu_sched]
root 10 2 0 03:25 ? 00:00:00 [watchdog/0]
root 12 2 0 03:25 ? 00:00:00 [khelper]
root 13 2 0 03:25 ? 00:00:00 [kdevtmpfs]
root 14 2 0 03:25 ? 00:00:00 [netns]
root 15 2 0 03:25 ? 00:00:00 [khungtaskd]
root 16 2 0 03:25 ? 00:00:00 [writeback]
root 17 2 0 03:25 ? 00:00:00 [kintegrityd]
root 18 2 0 03:25 ? 00:00:00 [bioset]
root 19 2 0 03:25 ? 00:00:00 [kblockd]
root 20 2 0 03:25 ? 00:00:00 [md]
root 21 2 0 03:25 ? 00:00:00 [kworker/0:1]
root 26 2 0 03:25 ? 00:00:00 [kswapd0]
root 27 2 0 03:25 ? 00:00:00 [ksmd]
root 28 2 0 03:25 ? 00:00:00 [fsnotify_mark]
root 29 2 0 03:25 ? 00:00:00 [crypto]
root 37 2 0 03:25 ? 00:00:00 [kthrotld]
root 38 2 0 03:25 ? 00:00:00 [kworker/u2:1]
root 39 2 0 03:25 ? 00:00:00 [kmpath_rdacd]
root 40 2 0 03:25 ? 00:00:00 [kpsmoused]
root 41 2 0 03:25 ? 00:00:00 [ipv6_addrconf]
root 60 2 0 03:25 ? 00:00:00 [deferwq]
root 91 2 0 03:25 ? 00:00:00 [kworker/0:2]
root 96 2 0 03:25 ? 00:00:00 [kauditd]
root 217 2 0 03:25 ? 00:00:00 [ata_sff]
root 222 2 0 03:26 ? 00:00:00 [scsi_eh_0]
root 223 2 0 03:26 ? 00:00:00 [scsi_tmf_0]
root 224 2 0 03:26 ? 00:00:00 [scsi_eh_1]
root 226 2 0 03:26 ? 00:00:00 [scsi_tmf_1]
root 230 2 0 03:26 ? 00:00:00 [kworker/u2:2]
root 234 2 0 03:26 ? 00:00:00 [kworker/u2:3]
root 235 2 0 03:26 ? 00:00:00 [virtscsi-scan]
root 238 2 0 03:26 ? 00:00:00 [scsi_eh_2]
root 241 2 0 03:26 ? 00:00:00 [scsi_tmf_2]
root 242 2 0 03:26 ? 00:00:00 [ttm_swap]
root 248 2 0 03:26 ? 00:00:00 [kworker/u2:4]
root 269 2 0 03:26 ? 00:00:00 [jbd2/sda2-8]
root 270 2 0 03:26 ? 00:00:00 [ext4-rsv-conver]
root 342 1 0 03:26 ? 00:00:00 /usr/lib/systemd/systemd-journald
root 360 1 0 03:26 ? 00:00:00 /usr/lib/systemd/systemd-udevd
root 378 2 0 03:26 ? 00:00:00 [vballoon]
root 434 2 0 03:26 ? 00:00:00 [jbd2/sda1-8]
root 435 2 0 03:26 ? 00:00:00 [ext4-rsv-conver]
root 448 1 0 03:26 ? 00:00:00 /sbin/auditd -n
polkitd 469 1 0 03:26 ? 00:00:00 /usr/lib/polkit-1/polkitd --no-debug
root 471 1 0 03:26 ? 00:00:00 /usr/sbin/haveged -w 1024 -v 1 --Foreground
root 477 1 0 03:26 ? 00:00:00 /usr/sbin/acpid
dbus 478 1 0 03:26 ? 00:00:00 /bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 482 1 0 03:26 ? 00:00:00 /bin/bash /bin/qemu-kvm_ga
root 486 482 0 03:26 ? 00:00:00 /bin/bash /bin/qemu-kvm_ga
root 491 1 0 03:26 ? 00:00:00 /usr/sbin/NetworkManager --no-daemon
root 494 1 0 03:26 ? 00:00:00 /usr/lib/systemd/systemd-logind
chrony 500 1 0 03:26 ? 00:00:00 /usr/sbin/chronyd
root 504 1 0 03:26 ? 00:00:00 /usr/sbin/crond -n
root 554 491 0 03:26 ? 00:00:00 /sbin/dhclient -d -q -sf /usr/libexec/nm-dhcp-helper -pf /var/run/dhclient-eth0.pid -lf /var/lib/NetworkManager/dhclient-5fb06bd0-0bb0-7ffb-45f1-d6edd65f3e03-eth0.lease -cf /var/lib/NetworkManager/dhclient-eth0.conf eth0
root 572 2 0 03:26 ? 00:00:00 [kworker/0:1H]
root 758 1 0 03:26 ? 00:00:00 /usr/sbin/rsyslogd -n
root 759 1 0 03:26 ? 00:00:00 /usr/bin/python -Es /usr/sbin/tuned -l -P
root 778 1 0 03:26 ? 00:00:00 /usr/sbin/sshd
root 789 1 0 03:26 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
root 1122 1 0 03:26 ? 00:00:00 /usr/libexec/postfix/master -w
postfix 1129 1122 0 03:26 ? 00:00:00 pickup -l -t unix -u
postfix 1130 1122 0 03:26 ? 00:00:00 qmgr -l -t unix -u
root 9164 486 0 03:28 ? 00:00:00 timeout 30 bash -c echo "Y2QgIi8iOyBwcyAtZWY=" | base64 --decode | bash --; TMP_EXIT_CODE=$?; echo zhilXfDkx35xeDL9ndJvM2432fZR3lFrtOChT6rhXmE3Pf24jApWsjOjpD2hPxy0b2; exit $TMP_EXIT_CODE
root 9165 9164 0 03:28 ? 00:00:00 bash -c echo "Y2QgIi8iOyBwcyAtZWY=" | base64 --decode | bash --; TMP_EXIT_CODE=$?; echo zhilXfDkx35xeDL9ndJvM2432fZR3lFrtOChT6rhXmE3Pf24jApWsjOjpD2hPxy0b2; exit $TMP_EXIT_CODE
root 9168 9165 0 03:28 ? 00:00:00 bash --
root 9169 9168 0 03:28 ? 00:00:00 ps -ef
RAM: 94.08M[root /]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 2 03:32 ? 00:00:00 /sbin/init
root 2 0 0 03:32 ? 00:00:00 [kthreadd]
root 3 2 0 03:32 ? 00:00:00 [ksoftirqd/0]
root 4 2 0 03:32 ? 00:00:00 [kworker/0:0]
root 5 2 0 03:32 ? 00:00:00 [kworker/0:0H]
root 6 2 0 03:32 ? 00:00:00 [kworker/u2:0]
root 7 2 0 03:32 ? 00:00:00 [rcu_sched]
root 8 2 0 03:32 ? 00:00:00 [rcu_bh]
root 9 2 0 03:32 ? 00:00:00 [migration/0]
root 10 2 0 03:32 ? 00:00:00 [lru-add-drain]
root 11 2 0 03:32 ? 00:00:00 [watchdog/0]
root 12 2 0 03:32 ? 00:00:00 [cpuhp/0]
root 13 2 0 03:32 ? 00:00:00 [kdevtmpfs]
root 14 2 0 03:32 ? 00:00:00 [netns]
root 15 2 0 03:32 ? 00:00:00 [khungtaskd]
root 16 2 0 03:32 ? 00:00:00 [oom_reaper]
root 17 2 0 03:32 ? 00:00:00 [writeback]
root 18 2 0 03:32 ? 00:00:00 [kcompactd0]
root 19 2 0 03:32 ? 00:00:00 [ksmd]
root 20 2 0 03:32 ? 00:00:00 [kworker/0:1]
root 21 2 0 03:32 ? 00:00:00 [crypto]
root 22 2 0 03:32 ? 00:00:00 [kintegrityd]
root 23 2 0 03:32 ? 00:00:00 [bioset]
root 24 2 0 03:32 ? 00:00:00 [kblockd]
root 25 2 0 03:32 ? 00:00:00 [devfreq_wq]
root 26 2 0 03:32 ? 00:00:00 [watchdogd]
root 27 2 0 03:32 ? 00:00:00 [kswapd0]
root 28 2 0 03:32 ? 00:00:00 [vmstat]
root 40 2 0 03:32 ? 00:00:00 [kthrotld]
root 41 2 0 03:32 ? 00:00:00 [ipv6_addrconf]
root 74 2 0 03:32 ? 00:00:00 [bioset]
root 75 2 0 03:32 ? 00:00:00 [bioset]
root 76 2 0 03:32 ? 00:00:00 [bioset]
root 78 2 0 03:32 ? 00:00:00 [bioset]
root 79 2 0 03:32 ? 00:00:00 [ata_sff]
root 80 2 0 03:32 ? 00:00:00 [bioset]
root 82 2 0 03:32 ? 00:00:00 [bioset]
root 83 2 0 03:32 ? 00:00:00 [bioset]
root 85 2 0 03:32 ? 00:00:00 [bioset]
root 87 2 0 03:32 ? 00:00:00 [scsi_eh_0]
root 89 2 0 03:32 ? 00:00:00 [scsi_tmf_0]
root 91 2 0 03:32 ? 00:00:00 [scsi_eh_1]
root 92 2 0 03:32 ? 00:00:00 [kworker/u2:1]
root 93 2 0 03:32 ? 00:00:00 [scsi_tmf_1]
root 95 2 0 03:32 ? 00:00:00 [kworker/u2:2]
root 96 2 0 03:32 ? 00:00:00 [kworker/u2:3]
root 98 2 0 03:32 ? 00:00:00 [kworker/u2:4]
root 104 2 0 03:32 ? 00:00:00 [scsi_eh_2]
root 106 2 0 03:32 ? 00:00:00 [scsi_tmf_2]
root 110 2 0 03:32 ? 00:00:00 [bioset]
root 375 2 0 03:32 ? 00:00:00 [kworker/0:1H]
root 376 2 0 03:32 ? 00:00:00 [kworker/0:2]
root 401 2 0 03:32 ? 00:00:00 [jbd2/sda2-8]
root 402 2 0 03:32 ? 00:00:00 [ext4-rsv-conver]
root 431 2 0 03:32 ? 00:00:00 [kworker/0:3]
root 437 1 0 03:32 ? 00:00:00 /lib/systemd/systemd-journald
root 440 2 0 03:32 ? 00:00:00 [kauditd]
root 459 1 0 03:32 ? 00:00:00 /lib/systemd/systemd-udevd
root 481 2 0 03:32 ? 00:00:00 [ttm_swap]
root 576 2 0 03:32 ? 00:00:00 [jbd2/sda1-8]
root 578 2 0 03:32 ? 00:00:00 [ext4-rsv-conver]
root 601 2 0 03:32 ? 00:00:00 [kworker/0:4]
systemd+ 602 1 0 03:32 ? 00:00:00 /lib/systemd/systemd-timesyncd
root 612 1 0 03:32 ? 00:00:00 /lib/systemd/systemd-logind
root 614 1 0 03:32 ? 00:00:00 /usr/sbin/rsyslogd -n
root 615 1 0 03:32 ? 00:00:00 /usr/sbin/cron -f
message+ 617 1 0 03:32 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 630 1 0 03:32 ? 00:00:00 /bin/bash /bin/qemu-kvm_ga
root 631 630 0 03:32 ? 00:00:00 /bin/bash /bin/qemu-kvm_ga
root 647 1 0 03:32 ? 00:00:00 /sbin/dhclient -4 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0
root 663 1 0 03:32 ? 00:00:00 /usr/sbin/sshd -D
root 674 1 0 03:32 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
root 802 631 0 03:32 ? 00:00:00 timeout 30 bash -c echo "Y2QgIi8iOyBwcyAtZWY=" | base64 --decode | bash --; TMP_EXIT_CODE=$?; echo zhilXfDkx35xeDL9ndJvM2432fZR3lFrtOChT6rhXmE3Pf24jApWsjOjpD2hPxy0b2; exit $TMP_EXIT_CODE
root 803 802 0 03:32 ? 00:00:00 bash -c echo "Y2QgIi8iOyBwcyAtZWY=" | base64 --decode | bash --; TMP_EXIT_CODE=$?; echo zhilXfDkx35xeDL9ndJvM2432fZR3lFrtOChT6rhXmE3Pf24jApWsjOjpD2hPxy0b2; exit $TMP_EXIT_CODE
root 806 803 0 03:32 ? 00:00:00 bash --
root 807 806 0 03:32 ? 00:00:00 ps -ef
RAM: 44.87M[root /]# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 1 03:37 ? 00:00:02 /sbin/init
root 2 0 0 03:37 ? 00:00:00 [kthreadd]
root 3 2 0 03:37 ? 00:00:00 [ksoftirqd/0]
root 4 2 0 03:37 ? 00:00:00 [kworker/0:0]
root 5 2 0 03:37 ? 00:00:00 [kworker/0:0H]
root 6 2 0 03:37 ? 00:00:00 [kworker/u2:0]
root 7 2 0 03:37 ? 00:00:00 [rcu_sched]
root 8 2 0 03:37 ? 00:00:00 [rcu_bh]
root 9 2 0 03:37 ? 00:00:00 [migration/0]
root 10 2 0 03:37 ? 00:00:00 [watchdog/0]
root 11 2 0 03:37 ? 00:00:00 [kdevtmpfs]
root 12 2 0 03:37 ? 00:00:00 [netns]
root 13 2 0 03:37 ? 00:00:00 [perf]
root 14 2 0 03:37 ? 00:00:00 [khungtaskd]
root 15 2 0 03:37 ? 00:00:00 [writeback]
root 16 2 0 03:37 ? 00:00:00 [ksmd]
root 17 2 0 03:37 ? 00:00:00 [crypto]
root 18 2 0 03:37 ? 00:00:00 [kintegrityd]
root 19 2 0 03:37 ? 00:00:00 [bioset]
root 20 2 0 03:37 ? 00:00:00 [kblockd]
root 21 2 0 03:37 ? 00:00:00 [ata_sff]
root 22 2 0 03:37 ? 00:00:00 [md]
root 23 2 0 03:37 ? 00:00:00 [devfreq_wq]
root 24 2 0 03:37 ? 00:00:00 [kworker/u2:1]
root 25 2 0 03:37 ? 00:00:00 [kworker/0:1]
root 27 2 0 03:37 ? 00:00:00 [kswapd0]
root 28 2 0 03:37 ? 00:00:00 [vmstat]
root 29 2 0 03:37 ? 00:00:00 [fsnotify_mark]
root 30 2 0 03:37 ? 00:00:00 [ecryptfs-kthrea]
root 46 2 0 03:37 ? 00:00:00 [kthrotld]
root 47 2 0 03:37 ? 00:00:00 [acpi_thermal_pm]
root 48 2 0 03:37 ? 00:00:00 [vballoon]
root 49 2 0 03:37 ? 00:00:00 [bioset]
root 50 2 0 03:37 ? 00:00:00 [bioset]
root 51 2 0 03:37 ? 00:00:00 [bioset]
root 52 2 0 03:37 ? 00:00:00 [bioset]
root 53 2 0 03:37 ? 00:00:00 [bioset]
root 54 2 0 03:37 ? 00:00:00 [bioset]
root 55 2 0 03:37 ? 00:00:00 [bioset]
root 56 2 0 03:37 ? 00:00:00 [bioset]
root 57 2 0 03:37 ? 00:00:00 [bioset]
root 58 2 0 03:37 ? 00:00:00 [bioset]
root 59 2 0 03:37 ? 00:00:00 [bioset]
root 60 2 0 03:37 ? 00:00:00 [bioset]
root 61 2 0 03:37 ? 00:00:00 [bioset]
root 62 2 0 03:37 ? 00:00:00 [bioset]
root 63 2 0 03:37 ? 00:00:00 [bioset]
root 64 2 0 03:37 ? 00:00:00 [bioset]
root 65 2 0 03:37 ? 00:00:00 [bioset]
root 66 2 0 03:37 ? 00:00:00 [bioset]
root 67 2 0 03:37 ? 00:00:00 [bioset]
root 68 2 0 03:37 ? 00:00:00 [bioset]
root 69 2 0 03:37 ? 00:00:00 [bioset]
root 70 2 0 03:37 ? 00:00:00 [bioset]
root 71 2 0 03:37 ? 00:00:00 [bioset]
root 72 2 0 03:37 ? 00:00:00 [bioset]
root 73 2 0 03:37 ? 00:00:00 [scsi_eh_0]
root 74 2 0 03:37 ? 00:00:00 [scsi_tmf_0]
root 75 2 0 03:37 ? 00:00:00 [scsi_eh_1]
root 76 2 0 03:37 ? 00:00:00 [scsi_tmf_1]
root 77 2 0 03:37 ? 00:00:00 [kworker/u2:2]
root 81 2 0 03:37 ? 00:00:00 [ipv6_addrconf]
root 82 2 0 03:37 ? 00:00:00 [kworker/u2:3]
root 95 2 0 03:37 ? 00:00:00 [deferwq]
root 96 2 0 03:37 ? 00:00:00 [charger_manager]
root 135 2 0 03:37 ? 00:00:00 [bioset]
root 136 2 0 03:37 ? 00:00:00 [bioset]
root 137 2 0 03:37 ? 00:00:00 [bioset]
root 138 2 0 03:37 ? 00:00:00 [scsi_eh_2]
root 139 2 0 03:37 ? 00:00:00 [bioset]
root 140 2 0 03:37 ? 00:00:00 [scsi_tmf_2]
root 141 2 0 03:37 ? 00:00:00 [bioset]
root 142 2 0 03:37 ? 00:00:00 [bioset]
root 143 2 0 03:37 ? 00:00:00 [bioset]
root 144 2 0 03:37 ? 00:00:00 [bioset]
root 145 2 0 03:37 ? 00:00:00 [kpsmoused]
root 154 2 0 03:37 ? 00:00:00 [bioset]
root 226 2 0 03:37 ? 00:00:00 [ttm_swap]
root 515 2 0 03:37 ? 00:00:00 [raid5wq]
root 545 2 0 03:37 ? 00:00:00 [bioset]
root 572 2 0 03:37 ? 00:00:00 [jbd2/sda2-8]
root 573 2 0 03:37 ? 00:00:00 [ext4-rsv-conver]
root 617 2 0 03:37 ? 00:00:00 [kworker/0:2]
root 619 2 0 03:37 ? 00:00:00 [kworker/0:1H]
root 631 1 0 03:37 ? 00:00:00 /lib/systemd/systemd-journald
root 638 2 0 03:37 ? 00:00:00 [kworker/0:3]
root 647 2 0 03:37 ? 00:00:00 [iscsi_eh]
root 648 2 0 03:37 ? 00:00:00 [kauditd]
root 660 2 0 03:37 ? 00:00:00 [ib_addr]
root 665 2 0 03:37 ? 00:00:00 [ib_mcast]
root 666 2 0 03:37 ? 00:00:00 [ib_nl_sa_wq]
root 667 2 0 03:37 ? 00:00:00 [ib_cm]
root 669 2 0 03:37 ? 00:00:00 [iw_cm_wq]
root 671 2 0 03:37 ? 00:00:00 [rdma_cm]
root 686 1 0 03:37 ? 00:00:00 /sbin/lvmetad -f
root 696 1 0 03:37 ? 00:00:00 /lib/systemd/systemd-udevd
root 939 2 0 03:37 ? 00:00:00 [jbd2/sda1-8]
root 944 2 0 03:37 ? 00:00:00 [ext4-rsv-conver]
root 965 2 0 03:37 ? 00:00:00 [kworker/0:4]
systemd+ 1005 1 0 03:37 ? 00:00:00 /lib/systemd/systemd-timesyncd
daemon 1171 1 0 03:37 ? 00:00:00 /usr/sbin/atd -f
root 1179 1 0 03:37 ? 00:00:00 /usr/lib/snapd/snapd
root 1183 1 0 03:37 ? 00:00:00 /bin/sh /usr/lib/apt/apt.systemd.daily
syslog 1186 1 0 03:37 ? 00:00:00 /usr/sbin/rsyslogd -n
root 1193 1 0 03:37 ? 00:00:00 /usr/sbin/cron -f
root 1199 1 0 03:37 ? 00:00:00 /lib/systemd/systemd-logind
message+ 1206 1 0 03:37 ? 00:00:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation
root 1242 1 0 03:37 ? 00:00:00 /usr/bin/lxcfs /var/lib/lxcfs/
root 1248 1 0 03:37 ? 00:00:00 /usr/sbin/acpid
root 1249 1 0 03:37 ? 00:00:00 /bin/bash /bin/qemu-kvm_ga
root 1252 1 0 03:37 ? 00:00:00 /usr/lib/accountsservice/accounts-daemon
root 1263 1249 0 03:37 ? 00:00:00 /bin/bash /bin/qemu-kvm_ga
root 1288 1 0 03:37 ? 00:00:00 /sbin/mdadm --monitor --pid-file /run/mdadm/monitor.pid --daemonise --scan --syslog
root 1289 1 0 03:37 ? 00:00:00 /usr/lib/policykit-1/polkitd --no-debug
root 1298 1 0 03:37 ? 00:00:00 /sbin/dhclient -1 -v -pf /run/dhclient.eth0.pid -lf /var/lib/dhcp/dhclient.eth0.leases -I -df /var/lib/dhcp/dhclient6.eth0.leases eth0
root 1364 1 0 03:37 ? 00:00:00 /usr/sbin/sshd -D
root 1389 1 0 03:37 ? 00:00:00 /sbin/iscsid
root 1390 1 0 03:37 ? 00:00:00 /sbin/iscsid
root 1443 1 0 03:37 tty1 00:00:00 /sbin/agetty --noclear tty1 linux
root 1696 1183 99 03:37 ? 00:01:38 /usr/bin/python3 /usr/bin/unattended-upgrade
root 1726 1263 0 03:39 ? 00:00:00 timeout 30 bash -c echo "Y2QgIi8iOyBwcyAtZWY=" | base64 --decode | bash --; TMP_EXIT_CODE=$?; echo zhilXfDkx35xeDL9ndJvM2432fZR3lFrtOChT6rhXmE3Pf24jApWsjOjpD2hPxy0b2; exit $TMP_EXIT_CODE
root 1727 1726 0 03:39 ? 00:00:00 bash -c echo "Y2QgIi8iOyBwcyAtZWY=" | base64 --decode | bash --; TMP_EXIT_CODE=$?; echo zhilXfDkx35xeDL9ndJvM2432fZR3lFrtOChT6rhXmE3Pf24jApWsjOjpD2hPxy0b2; exi
cp test.sh /etc/init.d/
cd /etc/init.d/
chmod +x test.sh
update-rc.d test.sh defaults
运行update-rc.d很可能会出现错误提示:insserv: warning: script 'test.sh' missing LSB tags and overrides
这是因为test.sh不符合debian开机自启文件的内容规范,debian要求文件头部有启动信息。参考同目录下的/etc/init.d/skeleton
文件头,把以下内容复制到test.sh再运行update-rc.d test.sh defaults
。#!/bin/sh
### BEGIN INIT INFO
# Provides: test
# Required-Start: $local_fs $remote_fs
# Required-Stop: $local_fs $remote_fs
# Should-Start: $network
# Should-Stop: $network
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: test
# Description: test
### END INIT INFO
update-rc.d -f test.sh remove
使用以下管理用户名和密码登录移动光猫: 用户名:CMCCAdmin 密码:aDm8H%MdA 登陆后,查看“网络-宽带设置”,选择名称中含有“INTERNET”的连接名称,截图记录原有INTERNET设置: 截图记录后,删除此配置。 参考原有配置,新建一个INTERNET连接,并...