Dear List,

I'm having similar troubles with an ASUS 500gP, a self-compiled image based on 
2.6 (Linux asus 2.6.25.10 #10 Thu Jul 24 16:15:41 CEST 2008 mips unknown
)

> Couple comments on broadcom wireless with a 2.6 kernel.  When using
> the b43 driver, you need to include the hostapd package.  To build it
> run "make menuconfig", select "Image configuration", "Network", and
> enter 'y' when hostapd is selected.  Exit out, save, and build world.
>
> Install the package, run "wifi up" and cross your fingers.
>
> As to "wifi detect", if /etc/config/wireless already exists and has a
> mac80211 entry under wifi-device wlan0, then it doesn't do anything.
> The code can be found in /lib/wifi/mac80211.sh in the detect_mac80211
> function.  This file is included by the /sbin/wifi script.

BUT I have exchanged the Broadcom WLAN module by an Atheros one (lspci:)
00:02.0 Ethernet controller: Atheros Communications, Inc. AR5212 802.11abg NIC 
(rev 01)

I get the ath0 interface as well as the wifi0 interface. The wifi0 interface 
also collects traffic statistics, and with "iwlist ath0 scanning" I can see 
my wlan environment. ath0 has the wireless extension and produces some 
information about the wlan config...:

ath0      IEEE 802.11g  ESSID:"asus"  Nickname:""
          Mode:Master  Frequency:2.412 GHz  Access Point: 00:1D:0F:AF:05:3A
          Bit Rate:0 kb/s   Tx-Power:16 dBm   Sensitivity=1/1
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/70  Signal level=-96 dBm  Noise level=-96 dBm
          Rx invalid nwid:2  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Here's my /etc/config/wireless:
config 'wifi-device' 'wifi0'
        option 'type' 'atheros'
        option 'channel' 'auto'
        option 'disabled' '0'
        option diversity 0
        option txantenna 1
        option rxantenna 1

config 'wifi-iface'
        option 'device' 'wifi0'
        option 'network' 'lan'
        option 'mode' 'ap'
        option 'ssid' 'asus'
        option 'encryption' 'none'
        option hidden   0
        option isolate '0'
        option bursting '1'

and here's my /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.178.100
        option netmask  255.255.255.0
        #option gateway  ''
        #option dns      ''


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

#### WLAN configuration
config interface wifi0
        option ifname   ath0
        option proto    static
        option ipaddr   192.168.1.1
        option netmask  255.255.255.0

Compared to the documentation around (mostly referring to kernel 2.4 
installations) I noticed that I don't have a eth2. The bridge bridges the 
following:
bridge name     bridge id               STP enabled     interfaces
br-lan          8000.001d0faf053a       no              eth0.0
                                                        ath0

On my laptop I can connect to my other WLAN (Fritzbox) without a problem. But 
connecting to the ASUS fails. I am sure to set the ESSID right, as well as 
the IP (192.168.1.2) When I try toping the ASUS, i will get a "Destination 
Host Unreachable". 

To be sure, I even deactivated the firewall settings on the ASUS, but that's 
not the cause... The ASUS will simply not respond, even if it obviously sees 
the packets flying around. 

As said, I can connect through LAN without problems, only the WLAN won't 
work... 

Can you help me? Any ideas? Did I miss something minor? Probably the cause is 
just something small...

Thanks ahead
Markus


_______________________________________________
openwrt-users mailing list
[email protected]
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users

Reply via email to