Hi everybody,
My head will soon explode because of this problem. Please help.
I have a Linksys WRT54G v. 2.2 with Kamikaze (7.09) installed. I would like to set it up so that clients, both wired and wireless, can see each other and, at the same time, have access to the Internet which is available from another wireless AP. Please note that I do not have access to the other AP and so I cannot set up WDS.
cable
wired client ----------+ wifi
WRT54G -------- Another AP -------- Internet
wireless client -------+
wifi
The problem is that when I set it up (see config files below), local network works, but I can't connect to the other AP (and Internet).
/etc/config/network
#### VLAN configuration
config switch eth0
option vlan0 '1 2 3 4 5*'
option vlan1 '0 5*'
#### Loopback configuration
config interface loopback
option ifname "lo"
option proto static
option ipaddr 127.0.0.1
option netmask 255.0.0.0
#### LAN configuration
config interface lan
option ifname eth0.0
option proto static
option ipaddr '192.168.2.1'
option netmask '255.255.255.0'
option gateway ''
option dns ''
option type 'bridge'
#### WAN configuration
config "interface" "wan"
option proto 'dhcp'
option ifname 'wl0 eth0.1'
/etc/config/wireless
config wifi-device wl0
option type broadcom
option channel '3'
option disabled '0'
# REMOVE THIS LINE TO ENABLE WIFI:
config "wifi-iface" ""
option device 'wl0'
option mode 'ap'
option ssid 'my_ssid'
option hidden '0'
option encryption 'psk'
option network 'lan'
option isolate '0'
option bgscan '0'
option wds '0'
option key 'secret_key'
config "wifi-iface" ""
option device 'wl0'
option mode 'sta'
option ssid 'other_ap_ssid'
option hidden '0'
option encryption 'wep'
option network 'wan'
option isolate '0'
option bgscan '0'
option wds '0'
option key '1'
option key1 'some_hex_digits'
/etc/config/dhcp
config dhcp
option interface lan
option start 100
option limit 150
option leasetime '720m'
option ignore '0'
config dhcp
option interface wan
option ignore 1
Now I have some questions:
1. Any idea why this doesn't work?
2. How can I get some extra information to explain connection problem between my WRT54G and the other AP?
3. The other AP offers addresses in 192.168.1.x range, does it mean I cannot use that range in my local network? (currently I don't)
4. The other AP works on channel 3, does it mean I need to use the same channel for my wireless network? (I guess so, because there's only one place to set channel number, so I use it)
5. The other AP uses WEP and I'd like to use WPA on my wireless network, can it be a problem?
Again, any help would be appreciated! Thank you!