Temat: F@st 2704
To znowu ja z fastem. Powaliły mi się ustawienia i wrzuciłem openwrt od nowa na ruter. Konfiguruję most identycznie jak wcześniej, po reboocie przestaje działać lan i przydziela mi dziwne ip:
Ethernet adapter Ethernet:
Connection-specific DNS Suffix . :
IPv6 Address. . . . . . . . . . . : fd41:f0c9:d8cc::fb2
IPv6 Address. . . . . . . . . . . : fd61:cf18:ba1c::fb2
IPv6 Address. . . . . . . . . . . : fd73:f93f:dc90::fb2
IPv6 Address. . . . . . . . . . . : fdf0:c66:b374::fb2
Link-local IPv6 Address . . . . . : fe80::31d4:a333:d486:1945%3
Autoconfiguration IPv4 Address. . : 169.254.25.69
Subnet Mask . . . . . . . . . . . : 255.255.0.0
Default Gateway . . . . . . . . . :Przed wgraniem softu też tak się pochrzaniło więc myślałem że pomorze a tu klapa...
Cóż robię nie tak? drugi ruter na zakresie 192.168.8.x
Most robiłem tak:
root@OpenWrt:~# uci set network.lan.ipaddr='192.168.2.1'
root@OpenWrt:~# uci -q del network.wan
root@OpenWrt:~# uci -q del network.wwan
root@OpenWrt:~# uci set network.wwan=interface
root@OpenWrt:~# uci set network.wwan.proto=dhcp
root@OpenWrt:~# uci -q del network.bridge
root@OpenWrt:~# uci set network.bridge=interface
root@OpenWrt:~# uci set network.bridge.proto=relay
root@OpenWrt:~# uci set network.bridge.network="lan wwan"
root@OpenWrt:~# uci commit network
root@OpenWrt:~# uci -q del wireless.radio0.disabled
root@OpenWrt:~# uci -q del wireless.@wifi-iface[1]
root@OpenWrt:~# uci -q del wireless.@wifi-iface[0]
root@OpenWrt:~# uci add wireless wifi-iface
cfg033579
root@OpenWrt:~# uci set wireless.@wifi-iface[-1].device=radio0
root@OpenWrt:~# uci set wireless.@wifi-iface[-1].mode=sta
root@OpenWrt:~# uci set wireless.@wifi-iface[-1].ssid=agnieszka13
root@OpenWrt:~# uci set wireless.@wifi-iface[-1].encryption=psk2
root@OpenWrt:~# uci set wireless.@wifi-iface[-1].key=xxx
root@OpenWrt:~# uci set wireless.@wifi-iface[-1].network=wwan
root@OpenWrt:~# uci commit wireless
root@OpenWrt:~# uci set dhcp.lan.ignore=1
root@OpenWrt:~# uci commit dhcp
root@OpenWrt:~# uci set firewall.@zone[0].network='lan bridge wwan'
root@OpenWrt:~# uci commit firewall
root@OpenWrt:~# reboot