hi,

i am trying to repeat a signal from an open wireless network to span throughout my whole house (and not just the balcony!). my router is wrt54gl, currently running kamikaze 7.07 (i haven't upgraded yet since there's no bugfixes that seem to impact me, or this issue, except for the mysterious "  - Fix for BCM947xx and Atheros cards on Linux 2.4"). at first i have followed the wiki entry on this topic, but my attempts have failed. i have abandoned this idea for some time, but now have an urgent need to get it up & running (winter is coming, slowly but steadily:). I have dug up two threads on this forum where working configurations (one of them being for exactly my router model - wrt54gl 1.1) and tried again, but still no luck.. same effect.

the problem is that the AP mode network gets set up and works just fine, but the client mode connection is not working.

here's how my configuration looks like:

/etc/config/network wrote:

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   10.6.6.1
        option netmask  255.255.255.0

config interface wan
        option ifname   wl0
        option proto    dhcp

/etc/config/wireless wrote:

config wifi-device              wl0
        option type             broadcom

config wifi-iface
        option device           wl0
        option network          wan
        option mode             sta
        option ssid             belkin54g           

config wifi-iface
        option device           wl0
        option network          lan
        option mode             ap
        option ssid             OpenWrt
        option encryption       none

so according to the wiki and resources i have found, this is all perfectly ok. however, here's the output of ifconfig and iwconfig after boot:

root@OpenWrt:~# ifconfig
br-lan    Link encap:Ethernet  HWaddr 00:16:B6:DA:5C:97 
          inet addr:10.6.6.1  Bcast:10.6.6.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:191 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22050 (21.5 KiB)  TX bytes:17405 (16.9 KiB)

eth0      Link encap:Ethernet  HWaddr 00:16:B6:DA:5C:97 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:183 errors:0 dropped:0 overruns:0 frame:0
          TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:25450 (24.8 KiB)  TX bytes:18002 (17.5 KiB)
          Interrupt:4

eth0.0    Link encap:Ethernet  HWaddr 00:16:B6:DA:5C:97 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:191 errors:0 dropped:0 overruns:0 frame:0
          TX packets:134 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:22814 (22.2 KiB)  TX bytes:17941 (17.5 KiB)

lo        Link encap:Local Loopback 
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:12 errors:0 dropped:0 overruns:0 frame:0
          TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:660 (660.0 B)  TX bytes:660 (660.0 B)

wl0       Link encap:Ethernet  HWaddr 00:16:B6:DA:5C:99 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:304
          TX packets:10 errors:52 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:1701 (1.6 KiB)
          Interrupt:2 Base address:0x5000

wl0.1     Link encap:Ethernet  HWaddr 00:16:B6:DA:5C:99 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

root@OpenWrt:~# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

eth0.0    no wireless extensions.

br-lan    no wireless extensions.

wl0       IEEE 802.11-DS  ESSID:"belkin54g" 
          Mode:Master  Frequency:2.412 GHz  Tx-Power:19 dBm   
          RTS thr:2347 B   Fragment thr:2346 B   
          Encryption key:off
          Link Noise level:-92 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:72  Invalid misc:0   Missed beacon:0

imq0      no wireless extensions.

imq1      no wireless extensions.

wl0.1     no wireless extensions.

obviously, no ip has been acquired so the internet/wan connection doesn't work. once i comment out the second (ap) wifi-iface section of /etc/config/wireless, client mode works fine (tested using old skool CAT5:).

thanks in advance for any help...