I’ve been using various routers for WiFi and ADSL for years and they’ve sort of been Ok, but recently my Thompson Speedtouch Router seems to’ve been having all manner of problems, and neither replacing the router or upgrading the BIOS seem to have had any effect. So, what about just using a Linux PC?
Here’s what you need;
a. Linux PC running Ubuntu 11.10
b. One of these for ADSL (http://linitx.com/product/12181)
c. An ASUS PCE-N13 802.11 b/g/n or similar for WiFi
To make it run, add the bridge utils package and the hostapd package.
Your /etc/network/interfaces file will need to look like this;
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
metric 0
auto eth1
iface eth1 inet manual
metric 0
auto wlan0
iface wlan0 inet manual
metric 0
auto br0
iface br0 inet dhcp
bridge_ports eth0 eth1 wlan0
bridge_fd 0
bridge_stp off
metric 1
Then you will need to create a hostapd configuration in /etc/hostapd/hostapd.conf like this;
# Access Point Definition
interface=wlan0
ssid=<your SSID>
channel=1
driver=nl80211
country_code=UK
ieee80211d=1
hw_mode=g
beacon_int=100
dtim_period=2
max_num_sta=255
auth_algs=2
wep_default_key=0
wep_key0=0123450000
And modify your /etc/default/hostapd so that it starts;
DAEMON_CONF="/etc/hostapd/hostapd.conf"
DAEMON_OPTS="-tK"
If you reboot your machine, all you need to do is configure your ADSL and you’re off. So point your browser at 192.168.0.2, password “admin” then enter your ADSL username, password, VPI=0, VCI=34 and Encapsulation=PPoa/VcMUX … and you should be good to go.
… I plugged this up here this morning, works fine, although I might get a larger Ariel for the WiFi card. If anything it seems quicker and smoother that my Speedtouch ever was. This is what I’m getting from the ADSL stats page;
[smg id=1504 type=full]