BCM版清除配置命令
清除路由配制:mtd-erase -d nvram
改DHCP地址:
nvram set dhcp_start=192.168.1.90 开始
nvram set dhcp_end=192.168.1.150 结束
改网关地址
nvram set lan_ipaddr=192.111.1.1
nvram commit
reboot
LAN与WAN对调
nvram set lan_ifname="eth1"
nvram set wan_ifname="eth0"
nvram commit
reboot
ifconfig 查看所有网卡
ifconfig eth0 查看这个网卡IP
ifconfig | more 分屏显示
hadmin密码修改。这个是改后门的
nvram show | grep hadmin
nvram set http_hadminpwd=新密吗
reset 恢复初始
查看所有参数nvram show
查看参数nvram get
设置nvram set
提交重启
nvram commit
reboot
http_username 管理账号
http_passwd 管理密码
wl0_ssid wlan0的wifi名称
nvram set wl0_ssid=nox_wayos
nvram set wl0_crypto=aes
nvram set wl0_wpa_psk=asdfg512
nvram set wl0_akm=psk2
nvram set security_mode=psk2
nvram set wl0_auth=0
nvram set wl0_auth_mode=none
nvram set wan1_gateway=192.111.1.16
nvram set wan1_ipaddr=192.111.1.1
nvram set wan1_mtu=1500
nvram set wan1_netmask=255.255.255.0
nvram set wan1_proto=static
wayos的配置信息:
wl0_active_mac=
wl0_afterburner=off
wl0_akm=
wl0_antdiv=-1
wl0_ap_isolate=0
wl0_auth=0
wl0_auth_mode=none
wl0_bcn=100
wl0_channel=6
wl0_closed=0
wl0_corerev=13
wl0_country=ALL
wl0_country_code=ALL
wl0_crypto=tkip
wl0_distance=
wl0_dtim=1
wl0_frag=2346
wl0_frameburst=off
wl0_gmode=1
wl0_gmode_protection=off
wl0_hwaddr=00:27:11:A3:BC:0A
wl0_ifname=eth1
wl0_infra=1
wl0_key1=
wl0_key2=
wl0_key3=
wl0_key4=
wl0_key=1
wl0_lazywds=1
wl0_mac_deny=
wl0_mac_list=
wl0_maclist=
wl0_macmode=disabled
wl0_maxassoc=128
wl0_mode=ap
wl0_mrate=0
wl0_net_mode=mixed
wl0_net_reauth=36000
wl0_passphrase=
wl0_phytype=l
wl0_phytypes=l
wl0_plcphdr=long
wl0_radio=1
wl0_radioids=BCM2062
wl0_radius_ipaddr=
wl0_radius_key=
wl0_radius_port=1812
wl0_rate=0
wl0_rateset=default
wl0_rts=2347
wl0_ssid=nox_wayos
wl0_txant=3
wl0_txpwr=42
wl0_unit=0
wl0_wds=
wl0_wds_timeout=1
wl0_wep=disabled
wl0_wep_bit=128
wl0_wep_buf=
wl0_wep_gen=
wl0_wep_last=
wl0_wme=off
wl0_wme_ap_be=15 63 3 0 0 off
wl0_wme_ap_bk=15 1023 7 0 0 off
wl0_wme_ap_vi=7 15 1 6016 3008 off
wl0_wme_ap_vo=3 7 1 3264 1504 off
wl0_wme_no_ack=off
wl0_wme_sta_be=15 1023 3 0 0 off
wl0_wme_sta_bk=15 1023 7 0 0 off
wl0_wme_sta_vi=7 15 2 6016 3008 off
wl0_wme_sta_vo=3 7 2 3264 1504 off
wl0_wpa_gtk_rekey=3600
wl0_wpa_psk=
wl0gpio0=004
wl0gpio1=004
wl0gpio2=004
wl0gpio3=004
wl0gpio4=007
wl0gpio5=007
wl0gpio7=136
wl0id=0x4318