sveasoftlogo.jpg

WRT54G Firmware Documentation

I didn't have any problems getting it working with Satori pre1. I have 3 wrt54g boxes. AP1 is my main gateway box running in AP mode. AP2 is connected via WDS to AP1. And AP3 is connected via client-mode to AP1. For the curious, AP3 is sitting behind my TV with my Tivo and a few other gadgets plugged into it. They have ips 192.168.1.1, .2 and .3 respectively. For WDS you need separate ips for the WDS end points. I am using 10.0.0.1 and 10.0.0.2 on AP1/AP2. No separate ips are necessary for client-mode.

To get client mode going set your static ip, 192.168.1.3 in my case and I have the default gateway set to point to AP1 at 192.168.1.1. Under Wireless basic settings pick Client mode. I am using WEP between my gateways so I set the channel and the WEP key. Disable firewall protection on the Security page. On the Administration page I have routing, telnet and ftpd enabled, everything else off. That alone isn't quite enough. Now telnet/ssh into your gateway and do:

echo 1 > /proc/sys/net/ipv4/conf/br0/proxy_arp
wl join <your essid> key <your key>

Wait a second or two and see if you are associated by doing a: wl assoc Here is what I see on mine at this point:

# wl assoc
SSID: "Canada"
Mode: Managed   RSSI: -51 dBm   noise: -85 dBm  Channel: 1
BSSID: 00:0C:41:D3:99:E1        Capability: ESS WEP ShortSlot
Supported Rates: [ 1(b) 2(b) 5.5(b) 6 9 11(b) 12 18 24 36 48 54 ]
# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1): 56 data bytes
64 bytes from 192.168.1.1: icmp_seq=0 ttl=64 time=2.2 ms
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=1.9 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=1.9 m

That 99:E1 BBSID is AP1's MAC address. Some other potentially useful stuff:

# ifconfig br0
br0       Link encap:Ethernet  HWaddr 00:0C:41:AB:46:81
          inet addr:192.168.1.3  Bcast:192.168.1.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:12229 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2438 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2425289 (2.3 Mb)  TX bytes:609688 (595.3 kb)
# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 br0
127.0.0.0       *               255.0.0.0       U     0      0        0 lo
default         192.168.1.1     0.0.0.0         UG    0      0        0 br0

With this my AP3 acts just like a wireless switch. Anything I plug into it can dhcp from the dhcp server running on AP1 and the routing all seems to work fine.


2 pages link to SV-Wireless-AP: