华为路由器dopralinuxpasswd,华为HN8245Q万兆光猫安装与设置
华为路由器dopralinuxpasswd,华为HN8245Q万兆光猫安装与
设置
第⼀步、进⼊命令提⽰符界⾯
输⼊命令【telnet 192.168.100.1】然后回车,出现【Login:】时,键⼊【root】回车,出现【Password:】时,键⼊【admin】回车后,可以看到【WAP>】,这时键⼊【get port config portid 1】后回车,我们要获取的设备信息就出现了,其中portvid=的数值就是VLAN ID,portpri=的数值就是802.1p值,记下来,等会有⽤。
第⼆步、进⼊IE界⾯进⾏设置
1、有线连接计算机,设置计算机的IP地址为固定IP:192.168.100.2,⼦⽹掩码⾃动为255.255.255.0,⽹关设置为
192.168.100.1。
2、IE浏览器输⼊192.168.100.1,登录⽤户名为telecomadmin,密码为admintelecom,选择语⾔为Chinese,然后Login。
进⼊位置【LAN】→【LAN⼝⼯作模式】,勾上LAN1,LAN2,LAN3,点击“应⽤”, LAN4空着,如果有开通IPTV留下的LAN4这个端⼝刚好⽤上,如果全勾上, 开通的IPTV就不能看电视了。编外
进⼊位置【LAN】→【DHCP服务配置】,使能DHCP主服务器,使能DHCP Relay,开始IP地址192.168.100.2,结束IP地址为
192.168.100.254。
进⼊位置【Wi-Fi】→【Wi-Fi基本配置】,新建⼀个,SSID=huaweinet,连接设备数=32,认证模式=WPAPre-SharedKey,加密模式=TKIP,WPA公共密钥=⾃⼰设置8-63个字符。
进⼊位置【WAN】→【WAN配置】,可以看到有个1_VOIP_R_VID_998的列表和相关信息,不删除它,这个东西是⽤来链接电话信号的,保留它,列表上有个新建,点新建就是了,新建按下后⾃然就会有个界⾯让我们进⾏设置:
【WAN连接】边上的【使能】复选框要勾上,以保证能上⽹。
【服务列表】:选“INTERNET”
【连接⽅式】:路由
【VLAN ID】:4095(刚刚记下的数值⽤上了) 数值来源:【PortVid=4095】
【802.1p】:0 数值来源:【PortPri=0】
【获取IP⽅式】:PPPoE
【NAT】:“使能”复选框勾上
【⽤户名】:拨号上⽹的账户 【密码】:拨号上⽹的密码
【绑定项】:LAN1-LAN3,SSID1都勾上,留下个LAN4不勾。
点击应⽤。
进⼊位置【系统⼯具】→【配置⽂件】,点保存配置把配置写⼊路由器内常值化。
进⼊位置【状态】→【WAN信息】,查看状态,当在列表中看到:
1_VOIP_R_VID_998的状态为Connected,
2_INTERNET_R_VID_3333的状态为Connected时,路由器即实现了路由功能,我们可以通过⼿机、
笔记本探测到这个路由器发射的WIFI信号连接上⽹,当然⽹络线捅⼊路由器的LAN1、LAN2、LAN3这三个⼝连接有有线⽹卡的计算机,⽹络也是可以路由上互联⽹的。
由此路由器设置完毕。
联通:CUAdmin/CUAdmin
华为HN8245电信电信:
账号:telecomadmin
密码:admintelecom or 密码 nE7jA%5m
登陆光猫华为:192.168.100.1root/adminHW
su
shell
cd /mnt/jffs2
cp l l2
ls
vi hw_boardinfo.bal //第⼀⾏将模式4改成1
:x
2012思想汇报ls
cp hw_boardinfo.bal hw_boardinfo
reboot
修改华为界⾯
如果光猫是运营商(移动、联通、电信)定制界⾯,要改成华为原⼚界⾯,继续输⼊:su
shell
restorehwmode.sh
#如出现success
reboot
看到提⽰successful后,重启光猫,就会转为华为原⼚界⾯。
Tip:
需要⾃⼰修改⼀下hw_boardinfo和hw_boardinfo.bak
推荐使⽤Notepad++修改,不要使⽤windows⾃带⼯具obj.id = "0x00000001" ; obj.value = "1"; //2为EP 1为GP 4为双模
obj.id = "0x00000002" ; obj.value = "48575443000A4C0A"; //标签上的 PON NO
obj.id = "0x00000003" ; obj.value = "$2VkbZLTl@`A0`,"3Jr=JQT/>]7@G)~A+y5:&'Br'=$"; //这些乱码部分不要动为电信下发的相关密码
obj.id = "0x00000004" ; obj.value = "$2WW8PP]|._,V0390K9^6]e@zw&1Y$";
obj.id = "0x00000005" ; obj.value = "$2`~5/9p}dYF@l;u$.m4lJ~C{JPG-
KF*186xBogs@P{tSaC$z#/F9=4{Gq8~j5m|GUDOEw]:C$1$GE~,.K$";
obj.id = "0x00000006" ; obj.value = "$2cXCqRQVG14)D)kLX5n^K3K\".Z6$z7~u12-z:7q9$";
obj.id = "0x00000007" ; obj.value = "024BTK2SH7000415"; //此处可以不修改要修改也可以根据(S)SN后的数字来修改,但只取最后⼏位,注意位数
obj.id = "0x00000008" ; obj.value = "21500834102SH7601000"; //标签上的 PROD ID
obj.id = "0x0000000a" ; obj.value = "A4:C6:88:88:52:AE"; //下⾯这些MAC地址可以根据标签上的改(注意是⼗六进制的)
obj.id = "0x0000000b" ; obj.value = "A4:C6:88:88:52:B4";
obj.id = "0x00000022" ; obj.value = "A4:C6:88:88:52:B5";
obj.id = "0x00000023" ; obj.value = "A4:C6:88:88:52:B6";
obj.id = "0x00000024" ; obj.value = "A4:C6:88:88:52:B7";
obj.id = "0x0000002d" ; obj.value = "A4:C6:88:88:52:B8";
obj.id = "0x0000002e" ; obj.value = "A4:C6:88:88:52:B9";
obj.id = "0x0000002f" ; obj.value = "A4:C6:88:88:52:BA";
obj.id = "0x00000030" ; obj.value = "A4:C6:88:88:52:BB";
obj.id = "0x0000000c" ; obj.value = "A4:C6:88:88:52:AF"; //跟下⾯的MAC地址对应
obj.id = "0x0000000d" ; obj.value = "A4:C6:88:88:52:B0";
obj.id = "0x0000000e" ; obj.value = "A4:C6:88:88:52:B1";
obj.id = "0x0000000f" ; obj.value = "A4:C6:88:88:52:B2";
obj.id = "0x00000010" ; obj.value = "A4:C6:88:88:52:B3";
obj.id = "0x00000011" ; obj.value = "A4:C6:88:88:52:BC";
信息管理与信息系统就业前景obj.id = "0x00000012" ; obj.value = "A4:C6:88:88:52:BD";
obj.id = "0x00000013" ; obj.value = "A4:C6:88:88:52:BE";
obj.id = "0x00000025" ; obj.value = "A4:C6:88:88:52:AE";
obj.id = "0x00000016" ; obj.value = "$2@XTi$m$^-7H3!yTyv/T;
obj.id = "0x00000018" ; obj.value = "0"; //电信移动为 0,联通为 2
obj.id = "0x00000019" ; obj.value = "3D811A4C6888852AE"; //设备标识 - 后⾯的 不要最后⼀位(取中间那段,注意位数)
obj.id = "0x0000001a" ; obj.value = "E8C"; //中国电信为E8C ,移动为 CMCC,联通为 COMMON ,华为为COMMON
obj.id = "0x0000001b" ; obj.value = "HUBCT"; //湖北电信HUBCT ,移动为 BJCMCC_RMS,联通为 SHCU ,华为为COMMON
obj.id = "0x0000001c" ; obj.value = "0";
obj.id = "0x0000001d" ; obj.value = "1";
obj.id = "0x0000001e" ; obj.value = "1";
obj.id = "0x0000001f" ; obj.value = "1";
obj.id = "0x00000020" ; obj.value = "";
obj.id = "0x00000021" ; obj.value = "0";
obj.id = "0x00000031" ; obj.value = "CHOOSE_XINAN"; //电信为CHOOSE_XINAN,移动为CHOOSE_CMCC_RMS2,联通为CHOOSE_UNICOM , 华为为CHOOSE_XINAN,跟⾥的对应
obj.id = "0x00000034" ; obj.value = "00:00:00:00:00:0C";
obj.id = "0x00000035" ; obj.value = ""; // 移动为 SMART ,电信、联通,华为为空
obj.id = "0x00000039" ; obj.value = "0x00102001";
obj.id = "0x0000003a" ; obj.value = "";
obj.id = "0x0000003c" ; obj.value = "0x00102001";
obj.id = "0x0000003d" ; obj.value = "0x00000000";
obj.id = "0x0000003e" ; obj.value = "0x00000000";
obj.id = "0x0000003f" ; obj.value = "0x00000000";
obj.id = "0x00000040" ; obj.value = "";
obj.id = "0x00000041" ; obj.value = "";
obj.id = "0x00000042" ; obj.value = "0";
obj.id = "0x00000043" ; obj.value = "";
obj.id = "0x0000000c" ; obj.value = "A4:C6:88:88:52:AF"; //跟上⾯的MAC地址对应obj.id = "0x00000044" ; obj.value = "";
obj.id = "0x00000045" ; obj.value = "";
obj.id = "0x00000046" ; obj.value = "0";
obj.id = "0x00000047" ; obj.value = "0";
obj.id = "0x00000050" ; obj.value = "";
obj.id = "0x00000051" ; obj.value = "";
obj.id = "0x00000052" ; obj.value = "";
备注:恢复华为固件后可⽤命令:SU_WAP>?
amp add stats gemport
amp clear stats gemport
amp debug lswtable all
amp del stats gemport
amp display efc
amp display l2act
amp display l2mac
amp display sfc
amp display userflow
amp show
ampcmd show car all
ampcmd show car index
ampcmd show emac stat
ampcmd show flow all
eltampcmd show flow index
ampcmd show log
ampcmd show queue all
ampcmd show queue index
ampcmd trace all
ampcmd trace cli
ampcmd trace dpoe
ampcmd trace drv
ampcmd trace emac
ampcmd trace emap
ampcmd trace eth
ampcmd trace gmac
ampcmd trace gmap
ampcmd trace onu
ampcmd trace optic
ampcmd trace qos
backup cfg
考研数学一国家线
bbsp add policy-stats btv
bbsp clear policy-stats btv all bbsp clear policy-stats wan
bbsp del policy-stats btv bosareset
Broadband debug
Broadband display
Broadband stat
check current_customize chipdebug
clear amp pq-stats
clear countbosa
clear file
clear lastword四书五经指什么
clear optic para flag
clear pon statistics
clear poncnt dnstatistic
clear poncnt gemport upstatistic clear poncnt upstatistic
clear port statistics
clear prbs statistics

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。