OpenWrt Forum Archive

Topic: Problem with Wi-Fi Configuration

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

I was using OpenWrt 0.9 for quite long and decided to upgrade it to latest version of Kamikaze 8.09. 

I set the wired configuration via the web GUI and everything worked as expected.  For the Wi-Fi I could not find a good documentation.  The best was probably at:

http://wiki.openwrt.org/oldwiki/openwrt … figuration

So I created:

/etc/config/wireless file:
=============================
config 'wifi-device'        'wifi'
        option 'type'       'broadcom'
        option 'channel'    '5'
        option 'disabled'   '0'

config 'wifi-iface'
        option 'device'     'wifi'
        option 'network'    'lan'
        option 'mode'       'ap'
        option 'ssid'       'OpenWrt'
        option 'hidden'     '0'
        option 'encryption' 'none'
==============================

However after the reboot the SSID was not seen as I expected.

Any ideas about the problem or proper documentation are welcome.

The other two files that I think are related are default from the installation:

/ect/config/network:
=============================
config 'switch' 'eth0'
        option  'vlan0' '1 2 3 4 5*'
        option  'vlan1' '0 5'

config 'interface' 'loopback'
        option 'ifname'  'lo'
        option 'proto'   'static'
        option 'ipaddr'  '127.0.0.1'
        option 'netmask' '255.0.0.0'

config 'interface' 'lan'
        option 'type'    'bridge'
        option 'ifname'  'eth0.0'
        option 'proto'   'static'
        option 'ipaddr'  '192.168.1.254'
        option 'gateway' '192.168.1.1'
        option 'dns'     '192.168.1.1'
        option 'netmask' '255.255.255.192'

config 'interface' 'wan'
        option 'ifname'  'eth0.1'
        option 'proto'   'static'
        option 'netmask' '255.255.255.0'
        option 'gateway' '192.168.1.1'
        option 'dns'     '192.168.1.1'
        option 'ipaddr'  '192.168.1.70'
============================

/etc/config/dhcp:
===============================
config 'dnsmasq'
        option 'domainneeded' '1'
        option 'boguspriv' '1'
        option 'filterwin2k' '0'
        option 'localise_queries' '1'
        option 'local' '/lan/'
        option 'domain' 'lan'
        option 'expandhosts' '1'
        option 'nonegcache' '0'
        option 'authoritative' '1'
        option 'readethers' '1'
        option 'leasefile' '/tmp/dhcp.leases'
        option 'resolvfile' '/tmp/resolv.conf.auto'

config 'dhcp' 'lan'
        option 'interface' 'lan'
        option 'leasetime' '12h'
        option 'ignore' '0'
        option 'start' '192'
        option 'limit' '5'

config 'dhcp' 'wan'
        option 'interface' 'wan'
        option 'ignore' '1'
====================================

Why didn't you also set the wireless configuration via the web gui? It should have been as simple as checking the "enable" box. What hardware are you running? I assume you are running Kamikaze 8.09.2. Which kernel version 2.4 or 2.6? I run the 2.4 on all my WRT54* and my wireless interface shows up as "wl0", not "wifi".

Void Main wrote:

Why didn't you also set the wireless configuration via the web gui? It should have been as simple as checking the "enable" box. What hardware are you running? I assume you are running Kamikaze 8.09.2. Which kernel version 2.4 or 2.6? I run the 2.4 on all my WRT54* and my wireless interface shows up as "wl0", not "wifi".

I am running (uname -r):
2.6.31-19-generic-pae

The hardware:
Linksys WRT54G v3

I am not sure about the exact version of Kamikaze.  It was the latest from web download page.  The name of the "bin" file that I still keep does not indicate it. I do not know how could I check it with a program from the command prompt too.

After the installation the "/etc/config/wireless" file was empty. I am not sure if this was because the upgrade was actually reflash after the web upgrade from OpenWRT 0.9 failed.

Do you have a specific need to run the 2.6 kernel? If not I think you'll find 8.09.2 (latest Kamikaze) with the 2.4 kernel to be rock solid. You should be able to flash this firmware from your Luci web interface:

http://kamikaze.openwrt.org/8.09.2/brcm … uashfs.trx

After flashing log back in and enable the wireless from the GUI and it should just work.

FYI, it's also in the release notes that WIFI does not work on the broadcom chips with the 2.6 kernel:

http://kamikaze.openwrt.org/release.txt

Note: The brcm47xx still won't work for those of you needing broadcom wifi, stick to brcm-2.4.
We will tell you when it does work.

Void Main wrote:

Do you have a specific need to run the 2.6 kernel? If not I think you'll find 8.09.2 (latest Kamikaze) with the 2.4 kernel to be rock solid. You should be able to flash this firmware from your Luci web interface:

http://kamikaze.openwrt.org/8.09.2/brcm … uashfs.trx

After flashing log back in and enable the wireless from the GUI and it should just work.

It fails too. Hangs on "the rebooting". I guess there is no log file.

Need to reflash with tftp ...

Hmmm, it will take somewhere around 2 minutes after getting the "rebooting" message to set everything up the first time you boot after a new flash. Always give it a few minutes.

Void Main wrote:

Hmmm, it will take somewhere around 2 minutes after getting the "rebooting" message to set everything up the first time you boot after a new flash. Always give it a few minutes.

I know.  I waited 4+ min.

Well make sure you report back after the tftp flash so we know you got it going again. smile

I installed Kamikaze 8.09.1.
No problems.

8.09.2 should be even better.

using the 8.09.2 build from
http://downloads.openwrt.org/kamikaze/8 … uashfs.trx
i have same issue no wireless configuration

hardware is wrt54g plain no version this is the one with the compact pci adapter.

the setup did not recognize the included radio hardware and it does not show in luci

i will be flashing to 8.09.1 to see if i can fix the issue apparently not as rock solid as
has been believed

having same issue with 8.09.1 wifi interface not available from get go of flashing

and yes iam using the 2.4 build because of the insanity with the broadcom radio support caused by the radio firmware and licensing issues non-free

(Last edited by fndxsoftware on 2 Mar 2010, 09:32)

Wow, that's too bad. I am running a WRT54G v2, a v2.2, a GS v3, and a GL v1.1 with no problems and I thought the v3 wireless hardware was the same as the 2.x but I guess it must not be. The wiki just lists it as "Broadcom (integrated)":

http://oldwiki.openwrt.org/Hardware(2f)Linksys.html

All I have done to enable wireless after installing is go into the Luci interface, click on Administration, then click on Nework->WIFI->WL0 and check the "enable" box and it just works.  I do have a WRT54G v1.1 that it doesn't work on and I have to stick with kamikaze 7.09.

fndxsoftware wrote:

using the 8.09.2 build from
http://downloads.openwrt.org/kamikaze/8 … uashfs.trx
i have same issue no wireless configuration

hardware is wrt54g plain no version this is the one with the compact pci adapter.

the setup did not recognize the included radio hardware and it does not show in luci

i will be flashing to 8.09.1 to see if i can fix the issue apparently not as rock solid as
has been believed

Is there a reason you're not using the WRT54x specific images, e.g.

http://downloads.openwrt.org/kamikaze/8 … uashfs.bin

I just TFTP-installed it on a WRT54GLv1.1 that previously had the 2.6-based brcm47xx image installed and wireless seems fine here.

Edit: fixed typo, it's brcm47xx not brcm24xx.

(Last edited by dimitris on 3 Mar 2010, 01:13)

The discussion might have continued from here.