hj.lee
发表于 2022-2-5 19:21:34
songee 发表于 2022-2-4 23:48
这篇帖子只是为了分享DIY的思路,我个人并不推荐使用非可信来源的固件,主贴附件也只是个参考。 ...
华为B650好像也挂载了这个东西。但是256的内存有点不够用了。
songee
发表于 2022-4-17 02:51:23
hj.lee 发表于 2022-2-5 19:21
华为B650好像也挂载了这个东西。但是256的内存有点不够用了。
B650是企业级,CPU性能足够用,看拆机说的是ARM A9架构,那应该跟bcm53xx是一样的。256M的DDR确实不大宽裕,想运行OpenWrt可能需要把电信定制的那个saf停掉,是否会影响原系统功能就得试一下了。
songee
发表于 2022-4-27 23:10:13
因光猫原系统的busybox功能不完整,也没有nano和dropbear,调试lxc可能会不方便,现分享出来。
root@F650A:~ # /usr/bin/busybox
BusyBox v1.23.2 (2020-06-16 16:53:26 CST) multi-call binary.
BusyBox is copyrighted by many authors between 1998-2012.
Licensed under GPLv2. See source distribution for detailed
copyright notices.
Usage: busybox ...]
or: busybox --list[-full]
or: busybox --install [-s]
or: function ...
BusyBox is a multi-call binary that combines many common Unix
utilities into a single executable.Most people will create a
link to busybox for each function they wish to use and BusyBox
will act like whatever it was invoked as.
Currently defined functions:
[, [[, addgroup, adduser, ar, arp, arping, ash, awk, basename, blkid, brctl, bunzip2,
bzcat, cat, catv, chattr, chgrp, chmod, chown, chroot, chrt, chvt, cksum, clear, cmp, cp,
cpio, crond, crontab, cut, date, dc, dd, deallocvt, delgroup, deluser, depmod, devmem, df,
diff, dirname, dmesg, dnsd, dnsdomainname, dos2unix, du, dumpkmap, echo, egrep, eject, env,
ether-wake, expr, false, fbset, fdflush, fdformat, fdisk, fgrep, find, flock, fold, free,
freeramdisk, fsck, fstrim, fuser, getopt, getty, grep, gunzip, gzip, halt, hdparm, head,
hexdump, hostid, hostname, hwclock, id, ifconfig, ifdown, ifup, inetd, init, insmod,
install, ip, ipaddr, ipcrm, ipcs, iplink, iproute, iprule, iptunnel, kill, killall,
killall5, klogd, last, less, linux32, linux64, linuxrc, ln, loadfont, loadkmap, logger,
login, logname, losetup, ls, lsattr, lsmod, lsof, lspci, lsusb, lzcat, lzma, makedevs,
md5sum, mdev, mesg, microcom, mkdir, mke2fs, mkfifo, mkfs.ext2, mknod, mkswap, mktemp,
modinfo, modprobe, more, mount, mountpoint, mt, mv, nameif, nanddump, nandwrite, netstat,
nice, nohup, nslookup, od, openvt, passwd, patch, pidof, ping, pipe_progress, pivot_root,
poweroff, printenv, printf, ps, pwd, rdate, readlink, readprofile, realpath, reboot,
renice, reset, resize, rm, rmdir, rmmod, route, run-parts, runlevel, sed, seq, setarch,
setconsole, setkeycodes, setlogcons, setserial, setsid, sh, sha1sum, sha256sum, sha3sum,
sha512sum, sleep, sort, start-stop-daemon, strings, stty, su, sulogin, swapoff, swapon,
switch_root, sync, sysctl, syslogd, tail, tar, tee, telnet, telnetd, test, tftp, time, top,
touch, tr, traceroute, traceroute6, true, tty, ubiattach, ubidetach, ubimkvol, ubirmvol,
ubirsvol, ubiupdatevol, udhcpc, umount, uname, uniq, unix2dos, unlink, unlzma, unxz, unzip,
uptime, usleep, uudecode, uuencode, vconfig, vi, vlock, watch, watchdog, wc, wget, which,
who, whoami, xargs, xz, xzcat, yes, zcat
root@F650A:~ # nano -h
Usage: nano [[+LINE,COLUMN] FILE]...
Option GNU long option Meaning
+LINE,COLUMN Start at line LINE, column COLUMN
-D --boldtext Use bold instead of reverse video text
-K --rebindkeypad Fix numeric keypad key confusion problem
-L --nonewlines Don't add newlines to the ends of files
-O --morespace Use one more line for editing
-R --restricted Restricted mode
-T <#cols> --tabsize=<#cols> Set width of a tab to #cols columns
-V --version Print version information and exit
-c --const Constantly show cursor position
-d --rebinddelete Fix Backspace/Delete confusion problem
-h --help Show this help text
-l --nofollow Don't follow symbolic links, overwrite
-n --noread Do not read the file (only write it)
-p --preserve Preserve XON (^Q) and XOFF (^S) keys
-t --tempfile Auto save on exit, don't prompt
-v --view View mode (read-only)
-x --nohelp Don't show the two help lines
-z --suspend Enable suspension
root@F650A:~ # nano -V
GNU nano, version 2.4.2
(C) 1999..2015 Free Software Foundation, Inc.
Email: nano@nano-editor.org Web: http://www.nano-editor.org/
Compiled options: --enable-tiny --disable-utf8
root@F650A:~ # dropbear -h
Dropbear server v2015.67 https://matt.ucc.asn.au/dropbear/dropbear.html
Usage: dropbear
-b bannerfile Display the contents of bannerfile before user login
(default: none)
-r keyfileSpecify hostkeys (repeatable)
defaults:
dss /etc/dropbear/dropbear_dss_host_key
rsa /etc/dropbear/dropbear_rsa_host_key
ecdsa /etc/dropbear/dropbear_ecdsa_host_key
-R Create hostkeys as required
-F Don't fork into background
-E Log to stderr rather than syslog
-m Don't display the motd on login
-w Disallow root logins
-s Disable password logins
-g Disable password logins for root
-B Allow blank password logins
-j Disable local port forwarding
-k Disable remote port forwarding
-a Allow connections to forwarded ports from any host
-p port
Listen on specified tcp port (and optionally address),
up to 10 can be specified
(default port is 22 if none specified)
-P PidFile Create pid file PidFile
(default /var/run/dropbear.pid)
-i Start for inetd
-W <receive_window_buffer> (default 24576, larger may be faster, max 1MB)
-K <keepalive>(0 is never, default 0, in seconds)
-I <idle_timeout>(0 is never, default 0, in seconds)
-V Version
zhang260gt
发表于 2022-4-28 07:03:36
崇拜中....
天天向上008
发表于 2022-5-10 01:00:50
牛逼!!!
hrmlx
发表于 2022-10-3 14:47:39
HN8145XR也支持吗?这么玩卡不卡啊
qq262667996
发表于 2022-10-4 18:47:35
学习学习
patteel
发表于 2022-10-21 23:07:47
帅呆了啊!等最近有空了就来学习操作一波!之前一直卡在要不要加一个wifi路由器的问题上了,现在意思就是直接把原来那个80端口的天翼3.0web的saf系统换成官方的openwrt对吧?
kaojinni
发表于 2022-11-27 16:56:58
从这里学习到了好多知识!到最后终于运行起来了!
kaojinni
发表于 2022-11-27 17:09:41
我照这个刷了,发现用不了猫的网络,是需要哪里配置吗?
页:
1
2
3
4
5
6
7
[8]
9
10