Howto: Use TL-WN722N on Dockstar, Squeeze
May 31, 2012 01:32AM
For long I have been using dockstar on eth0 and considering the wiring mess, I had been longing to go for wireless dockstar.

Now, I clearly steered away from other chipset (ralink) cause of know issues about having a master mode. Got this one TL-WN722N for INR 700 about $12.

So here is how got it working:

apt-get update
apt-get upgrade
apt-get install wpasupplicant iw wireless-tools
apt-get install hwinfo usbutils
apt-get install linux-headers-2.6.32-5-kirkwood
cd /lib/firmware/
cd ~
tar jxvf compat-wireless-2012-05-10.tar.bz2
cd compat-wireless-2012-05-10
./scripts/driver-select ath9k_htc
make install

root@dockstar:/# cat /etc/network/interfaces
auto lo

iface lo inet loopback

auto wlan1
iface wlan1 inet dhcp
wpa-ssid ""
wpa-psk "***********"

iface eth0 inet dhcp
hwaddress ether ***********************
## address
## gateway
## netmask
## network
## broadcast

root@dockstar:/# cat /etc/default/ifplugd
# This file may be changed either manually or by running dpkg-reconfigure.
# N.B.: dpkg-reconfigure deletes everything from this file except for
# the assignments to variables INTERFACES, HOTPLUG_INTERFACES, ARGS and
# SUSPEND_ACTION. When run it uses the current values of those variables
# as their default values, thus preserving the administrator's changes.
# This file is sourced by both the init script /etc/init.d/ifplugd and
# the udev script /lib/udev/ifplugd.agent to give default values.
# The init script starts ifplugd for all interfaces listed in
# INTERFACES, and the udev script starts ifplugd for all interfaces
# listed in HOTPLUG_INTERFACES. The special value all starts one
# ifplugd for all interfaces being present.
ARGS="-q -f -u0 -d10 -w -I"

Still I had issue wherein I couldn't access through WIFI if eth0 is not connected. With trial and error figured out that OPENVPN was playing the culprit. I had set it to auto start via /etc/init.d. I made it start up via if-up.d and its all working now.

Edited 1 time(s). Last edit at 05/31/2012 01:32AM by linuxtechie.
Re: Howto: Use TL-WN722N on Dockstar, Squeeze
June 01, 2012 05:56PM
thank you!

please add

apt-get install bzip2 build-essential

if starting from a base install

Your Email:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.