I'm trying to make a DIY wireless repeater using old hardware and Debian, but I'm encountering some difficulties (more details below).
EeePC 900 w/Atheros wireless card (kernel driver ath5k) External wireless card D-Link DWL-0122 (Ralink chip, kernel driver rt73-usb)
One wireless AP (auth using WPA-PSK)
auto lo br0 iface lo inet loopback # The primary network interface # This is unused allow-hotplug eth0 iface eth0 inet dhcp iface wlan0 inet manual wpa-ssid myessid wpa-psk mypass iface wlan1 inet manual # To prevent clashes with main AP pre-up iwconfig wlan1 mode managed essid "repeater" channel 4 iface br0 inet static address 192.168.10.3 netmask 255.255.255.0 network 192.168.10.0 broadcast 192.168.10.255 gateway 192.168.10.1 dns-nameservers 192.168.10.1 dns-search lan bridge_hw 00:1f:c6:8f:15:4e # Same HW address as wlan0 bridge_ports wlan0 wlan1
The actual repeating is handled by hostapd. However, the problem is that I cannot reach the network. Once the bridge is up, even before hostapd is started, I cannot reach any internal host, let alone external. All pings to the gateway end up in "Destination Host unreachable". What's the best course of action in this case?
I also ensured that the "main" interface, wlan0, is also working properly when non bridged (gets an IP if configured via DHCP, accesses the network). I'm also forced to use bridging since neither of the two interfaces supports master mode.