Hello All,
I want to create an wireless network in Ad-hoc mode with WRT54GLs. I installed White Russian on all the routers and set up the following variables:
................................................
nvram set lan_ifname=vlan0
nvram unset lan_ifnames
nvram set wifi_ifname=eth1
nvram commit
nvram set wifi_proto=static
nvram set wifi_ipaddr=192.168.2.2
nvram set wifi_netmask=255.255.255.0
nvram set wl0_mode=sta
nvram set wl0_infra=0
nvram set wl0_ssid=mymesh
nvram set wl0_gmode=0
nvram set wl0_channel=11
nvram commit
................................................
However, the FIRST router is able to create the network with given ssid. The routers that boot after the first one is active, fail to join the network.
Here is the iwconfig results of the first router:
................................................
eth1 IEEE 802.11-DS ESSID:"mymesh"
Mode:Ad-Hoc Frequency:2.462 GHz Cell: CE:56:93:D9:CE:66
Tx-Power:19 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
Link Signal level:-42 dBm Noise level:-98 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
................................................
And the consecutive routers' go into "Managed" mode with no ESSID! Here is the output
................................................
root@OpenWrt:~# iwconfig eth1
eth1 IEEE 802.11-DS ESSID:""
Mode:Managed Frequency:2.462 GHz Tx-Power:19 dBm
RTS thr=2347 B Fragment thr=2346 B
Encryption key:off
................................................
I tried wl and iwconfig with commit, but with no luck:
"wl" results:
................................................................................
root@OpenWrt:~# wl ap 0
root@OpenWrt:~# wl eth1 join mymesh mode ibss
root@OpenWrt:~# wl status
eth1: Invalid argument
Not associated. Last associated with SSID: ""
................................................................................
"iwconfig" results
................................................
root@OpenWrt:~# iwconfig eth1 essid mymesh mode ad-hoc channel 11 commit
Error for wireless request "Commit changes" (8B00) :
SET failed on device eth1 ; Invalid argument.
................................................
Does someone know why these are happening? Any other suggestions or other ways of setting up mesh on WRT54GLs?
Thanks,
Vinay
