Forgot to copy the list. On Thu, Jul 24, 2008 at 7:38 PM, Markus Heller <[EMAIL PROTECTED]> wrote: > 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
>From you laptop what do you see if you run "iwlist wlan0 scan"? Make sure you replace wlan0 with the correct device name. > > 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' I don't know that auto is a valid channel when you are configuring an access point. You should probably put a channel number instead of auto. Also, you might want to set the agmode option as documented here http://downloads.openwrt.org/kamikaze/docs/openwrt.html#x1-110001.2.2 > 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 Comment out everything below the WLAN entry in /etc/config/network. Your wireless config named the wireless entry "lan". The LAN section of the network file bridges wlan0 with eth0.1 which is connected to ports 1-4 on the switch. With this in mind, the ip address of your 500gPs wireless interface will be 192.168.178.100. Perhaps if you configured your laptop with 192.168.178.101 and ran "ping 192.168.178.100" it would work as is. _______________________________________________ openwrt-users mailing list [email protected] http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-users
