OpenWrt Forum Archive

Topic: Asus WL500gP: Problem with wifi

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

I've got a Asus WL500g Premium router. I installed Kamikaze 7.09 and I have a little trouble with wifi. I was trying to configure it via webif with WPA2 encryption and I saw: wl0: Invalid argument. I tried with WEP encryption. Everything was OK but I can't connect to router with my notebook via wifi. I found the network I connected but I don't have IP adress, I am trying to put IP myself but it doesn't help. Lan DHCP is turned on.

######## /etc/config/wireless ##########
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     hudyvolt
        option encryption       wep
#       option hidden   0
#       option isolate  0
#       option bgscan   0
#       option wds      0
        option key      1
        option hidden   0
        option key1     1afca81a14
        option key2     2b058586f1
        option key3     9955b1dfc3
        option key4     3e07efa4a8
########## /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 type     bridge
        option ifname   "eth0.0"
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0


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

How to configure it?

You might already know this, but the 2.6 kernel does not support Wifi. I presume you are trying this with the 2.4 kernel?

That is just not true, wifi works with the b43 driver. Install that, install hostapd, look at http://forum.openwrt.org/viewtopic.php?id=13286 for configuration details. for starters, the option type     broadcom should read option type mac80211
i have only used it as client, so i don't know how to set it up as an ap.

Here is what works for me with wl500gp, kk 7.09, 2.4 kernel:

/etc/config/wireless

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

config wifi-iface
    option device wl0
    option network lan
    option mode ap
    option ssid Foobar
    option encryption    'psk2'
    option key    'foobar'

everything else is the default configuration (except for PPPoE added to /etc/config/network).

I'm not sure if I had to install extra software though; I just followed the kamikaze installation instructions in the wiki.

(Last edited by frostschutz on 26 Apr 2008, 11:38)

The discussion might have continued from here.