I got wireless WAN-Client to my AP working great on my WRT54GS v3. But when I try to tidy-up the setup, eliminating unneeded bridges mostly, the connection struggles badly. It works but something definitely isn't right.
Does an expert see my problem? TIA
This works great:
/etc/config/network
config switch eth0
option vlan0 "0 1 2 3 5*"
option vlan1 "4 5"
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 type bridge
option ifname "eth0.0"
option proto static
option ipaddr 192.168.1.10
option netmask 255.255.255.0
config interface wan
option type bridge
option ifname "eth0.1"
option proto dhcp
/etc/config/wireless
config wifi-device wl0
option type broadcom
option channel 1
config wifi-iface
option device wl0
option network wan
option mode sta
option ssid myssid
option encryption psk1
option key mykey
This struggles badly:
/etc/config/network
config switch eth0
option vlan0 "0 1 2 3 5*"
option vlan1 "4 5"
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.0"
option proto static
option ipaddr 192.168.1.10
option netmask 255.255.255.0
config interface wan
option ifname wl0
option proto dhcp
/etc/config/wireless
config wifi-device wl0
option type broadcom
option channel 1
config wifi-iface
option device wl0
option network wan
option mode sta
option ssid myssid
option encryption psk1
option key mykey
EDIT: I find the WAN bridge is needed for some reason. Is this an absolute for wl0 to exist only in a bridge? It struggles only when trying to define wan as wl0.
(Last edited by Bill_MI on 21 Oct 2007, 16:58)