rssnsj / openwrt-hc5x61

OpenWrt Patch for HiWiFi HC5661 / HC5761 / HC5861
http://rssn.cn/roms/
588 stars 174 forks source link

更新不能上网,重刷不能获取ip地址(1-1-2015 )Barrier Breaker - r43770 #4

Closed Ardentwheel closed 9 years ago

Ardentwheel commented 9 years ago

使用luci更新后电脑能获取IP地址,路由不能获取ip地址; 使用Uboot重刷这个固件,电脑不能获取IP地址。 使用固件:Barrier Breaker - r43770(1-1-2015 )

我自己直接从openwrt上svn barrier_breaker_43801, 并参照hiwifi-hc5761.patch修改和增加文件后编译的固件也出现同样的问题。

Matthew.

Ardentwheel commented 9 years ago

路由不能获取ip地址,Dnsmasq的DHCP服务不能分配ip地址

得出上述结论是因为: 除了已设置静态IP地址的客户端,其他的都不能分配ip地址。

(这解释了为什么保留配置的升级能进入web控制台而刷机不能)

wan不能获取IP地址的原因? Dnsmasq的配置文件影响了wan口通过DHCP获取IP地址

尝试: 设置客户端固定IP(没有在路由中指定静态IP) ping网关,不通,

Ardentwheel commented 9 years ago

WAN口获取IP暂时的解决方法:(在/etc/rc.local加入) ifconfig eth0 down ; ifconfig eth0 hw ether D4:EE:07:1D:76:5C ; ifconfig eth0 up ifconfig eth0.1 down ; ifconfig eth0.1 hw ether D4:EE:07:1D:76:5C ; ifconfig eth0.1 up ifconfig eth0.2 down ; ifconfig eth0.2 hw ether D4:EE:07:1D:76:5C ; ifconfig eth0.2 up

HDCP问题还是一样,只能使用静态IP,不能使用动态ip分发