OpenWrt Forum Archive

Topic: WPA not working on Kamikaze 7.09 and WRT54GS V1.1

The content of this topic has been archived on 3 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm about to give up.   I'm having a problem with getting wireless set up on my WRT54GS V1.1 and Kamikaze 7.09.  I started by upgrading from WhiteRussian RC5 to Kamikaze 7.09 using the file "openwrt-wrt54gs-2.4-squashfs.bin" and the webif upgrade tool. 

On this first try, I put off the wireless configuration until after more important details, such as OpenVPN.  I configured everything by modifying the config files in /etc/config by hand.  After much frustration in trying to get wireless to work, I still could not get WPA to work properly.  I could get the wireless to work without encryption, and maybe with WEP (I can't remember).  I figured that I had probably screwed up something while installing OpenVPN, so I thought I would try it again.  I reflashed using TFTP and tried again from scratch.  This time, I configured the LAN IP address and Gateway, and then immediately tried to configure the wireless.  Again, no luck.

I then decided to "drink the Cool-Aid" and install the X-Wrt web interface.  I figured that it might be something as stupid as a typo or a peculiarity of the config file that I had just missed by configuring the files by hand.  So, I reflashed again, immediately installed X-Wrt, and repeated the last attempt by first configuring the IP and Gateway, then straight to the wireless.  This time, I had partial success.  It initially worked, and I thought I had figured it out, but it then stopped working some time later.  I then tried a bunch of configuration changes.  I can't remember if it ever worked again even temporarily when doing this, but when it didn't work, I got the two following messages:

"There was an error joining the AirPort network 'checktest'."
"The wireless network 'checktest' does not support the requested encryption method."

I am connecting on my only laptop, a Macbook Pro.  When I select my router from the list of detected routers, I get the first message.  When I select "Other..." and enter the essid, select WPA Personal, and enter the password, I get the second error message. 

Here is my /etc/config/network file:

#### 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 type     bridge
        option ifname   "eth0.0"
        option proto    static
        option ipaddr   '10.1.1.1'
        option netmask  255.255.255.0
        option gateway  '10.1.1.1'


#### WAN configuration
config interface        wan
        option ifname   "eth0.1"
        option proto    dhcp


Here is my /etc/config/wireless file:

config wifi-device  wl0
        option type     broadcom
        option channel  '5'
        option disabled '0'

        # REMOVE THIS LINE TO ENABLE WIFI:

config wifi-iface
        option device   wl0
        option network  lan
        option mode     ap
        option ssid     'checktest'
        option encryption       'psk'
        option hidden   '0'
        option isolate  '0'
        option bgscan   '0'
        option wds      '0'
        option key      'test123test'



Here are my installed packages:

base-files-brcm-2.4 - 10-9078 -
bridge - 1.0.6-1 -
busybox - 1.4.2-2 -
dnsmasq - 2.39-1 -
dropbear - 0.50-2 -
haserl - 0.8.0-2 -
iptables - 1.3.7-1 -
kernel - 2.4.34-brcm-1 -
kmod-brcm-wl - 2.4.34+4.80.53.0-1 -
kmod-diag - 2+2.4.34-brcm-1 -
kmod-ipt-nathelper - 2.4.34-brcm-1 -
kmod-ppp - 2.4.34-brcm-1 -
kmod-pppoe - 2.4.34-brcm-1 -
kmod-switch - 2.4.34-brcm-1 -
kmod-wlcompat - 2.4.34+brcm-6 -
libgcc - 3.4.6-10 -
mtd - 5 -
nas - 4.80.53.0-1 -
nvram - 1 -
ppp - 2.4.3-8 -
ppp-mod-pppoe - 2.4.3-8 -
uclibc - 0.9.28-10 -
webif - 0.3-8 -
wireless-tools - 29-1 -
wlc - 4.80.53.0-1 -


Does anybody have any suggestions?  Has anybody run into the same problem?

How can I troubleshoot the wireless setup?  Are there log files or how can I view the output of the "wifi up" command listed in /etc/init.d/network?

Thanks in advance.

Having made no progress, I tried the generic broadcomm openwrt-brcm-2.4-squashfs.trx file and reinstalled Kamikaze.  Using the same configuration, I can now connect to the router with my laptop, but the connection goes down a short time later.  (maybe 30sec to 1 min)  If I let it sit there, it will come back up a minute or so later, and then go down again and continues to repeat the pattern.  Any ideas?

Thanks

Just a quick hunch.  Like it or not, there remains some interaction with nvram settings and proprietary Broadcom modules.  I ran into it in Kamikaze 7.06 with mac addresses and default nvram settings.  Be sure the basic il0macaddr and et0macaddr values are sane values.  Extra settings like lan_hwaddr, wan_hwaddr and wl0_hwaddr are often set but I don't think are a factor.

A 7.09 install on a GS-v3 seemed to run ok in non-production use for me but I keep running into little nuisances lacking in the Kamikaze platform, ALWAYS in wireless function, so exclusively run Whiterussian 0.9 in production.

i have the same problem with the same router... (wrt54gs v1.1)

but it started before i have upgraded to kamikaze 7.09 from rc5

i upgraded hoping to resolve but nothing...

The discussion might have continued from here.