Temat: WAN nie pobiera adresu z DHCP
Kupiłem router mobilny Huawei B683. Chcę podłączyć go pod WAN do mojego TPLinka 1043nd z tutejszym AA-12.09.1 (r41303). Do tej pory na interfejsie WAN chodził modem 3G, ale sam modem odpiąłem, a starą konfigurację usunąłem.
Niestety, tplink/openwrt nie umie pobrać adresu z DHCP. Natomiast moje Kubuntu radzi sobie z tym bez problemu. Sprawdzałem kable proste i crossowane, ale efekt jest ciągle ten sam. Co więcej, w statusie B683 nie widzę żadnej pozycji dot. mojego tplinka.
Mój obecny /etc/config/network wygląda tak:
config interface 'loopback'
option ifname 'lo'
option proto 'static'
option ipaddr '127.0.0.1'
option netmask '255.0.0.0'
config interface 'lan'
option ifname 'eth0.1'
option type 'bridge'
option proto 'static'
option ipaddr '192.168.10.1'
option netmask '255.255.255.0'
config interface 'wan'
option ifname 'eth0'
option proto 'dhcp'
config switch
option name 'rtl8366rb'
option reset '1'
option enable_vlan '1'
config switch_vlan
option device 'rtl8366rb'
option vlan '1'
option ports '1 2 3 4 5t'
config switch_vlan
option device 'rtl8366rb'
option vlan '2'
option ports '0 5t'Zaś wydanie polecenia ifup wan w logread daje następujące wpisy:
Jan 1 02:51:16 wr1043nd daemon.notice netifd: Interface 'wan' is now down
Jan 1 02:51:16 wr1043nd daemon.notice netifd: wan (10733): udhcpc (v1.19.4) started
Jan 1 02:51:16 wr1043nd daemon.notice netifd: wan (10733): Sending discover...
Jan 1 02:51:19 wr1043nd daemon.notice netifd: wan (10733): Sending discover...
Jan 1 02:51:22 wr1043nd daemon.notice netifd: wan (10733): Sending discover...Będę wdzięczny za podpowiedzi.
Pozdrawiam,
Ł.O.