No subject


Sun Mar 16 13:48:37 CET 2008


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.


More information about the openwrt-users mailing list