I've got a strange problem with my Asus WL500gP, which might be caused by insufficient knowledge of network interface configuration in Linux. After a (re-)boot, I always have to do "ifdown eth2 && ifup eth2" to get dynamic IPs via WLAN. If I don't do this, I can see the AP with my Windows XP laptop, connect to it, but the laptop won't get a dynamic IP. The DHCP server is not running on the Asus device, I merely use it as a Samba, Rsync, etc. server. It's basically a 6-port switch (5 external plus 1 internal). There's no iptables, dnsmasq or pppoe on it either. My network configuration looks like this:
[/etc/network/interfaces] # LAN ports auto eth0.0 iface eth0.0 inet manual switch-ports 1 2 3 4 5* # WAN port auto eth0.1 iface eth0.1 inet manual switch-ports 0 5 # WLAN Port auto eth2 iface eth2 inet manual wireless-type broadcom wireless-country DE wireless-mode ap wireless-ssid XXX wireless-channel 13 wireless-security wpa-psk wireless-authorization psk2 wireless-encryption aes wireless-wpa-key XXX wireless-gmode performance wireless-frameburst 1 wireless-afterburner 1 # Bridge LAN <-> WAN <-> WLAN auto br0 iface br0 inet static bridge-ifaces eth0.0 eth0.1 eth2 address 192.168.5.2 netmask 255.255.255.0 gateway 192.168.5.1 Also, because I treat the WAN port like a "normal" LAN port, is it possible to discard the VLAN configuration (for WAN and LAN ports) and use the eth0 interface for the bridge interface definition? I'm thinking of something like: # Bridge LAN <-> WLAN auto br0 iface br0 inet static bridge-ifaces eth0 eth2 address 192.168.5.2 netmask 255.255.255.0 gateway 192.168.5.1 Any ideas? Cheers, Jan _______________________________________________ freewrt-users mailing list [email protected] https://www.freewrt.org/lists/listinfo/freewrt-users
