Edit:
Silly me, there was an article in the wiki already
http://buffalo.nas-central.org/index.ph ... ess_DongleThis is something I wanted to try for a long time, (
someone had also asked about it in the past). I have to credit the author of this article (I think it was kuroguy?) which I ended up porting to the wiki:
ALL IN ONE NAS.
You probably should have serial console access to the box in case things go wrongAnd the 2.6.25.4 Kernel/modules and Debian-lenny distribution cooked up by Davy-Gravy
1. Kuropro running Debian LennyRe: (Towards) an armel root-fs image for Freelink : : Lenny-armel*-Debian rootfs image for testing available...2. A USB Wifi Stick In this case a Nintendo WiFi USB connector, which used to be widely available at every store that sold a Wii (before the CSIRO lawsuit).
http://en.wikipedia.org/wiki/Nintendo_w ... _connectorUdev should pick this up automatically when inserted and load the proper kernel module. You can do a quick dmesg to make sure that it was recognized.
Code:
# dmesg | tail -n4
usb 1-1: new high speed USB device using orion-ehci and address 2
usb 1-1: configuration #1 chosen from 1 choice
phy0: Selected rate control algorithm 'pid'
usbcore: registered new interface driver rt2500usb
3. SoftwareGet wpasupplicant and
wireless tools (throw in bridge-utils for later)
Code:
apt-get install wpasupplicant wireless-tools bridge-utils
I use WPA on my network, so I used wpa_passphrase to generate the basic contents of
/etc/wpa_supplicant.conf Code:
wpa_passphrase ESSID passphrase
Here is what mine looks like:
/etc/wpa_supplicant.conf Code:
# WPA-PSK/TKIP
network={
ssid="ESSID"
key_mgmt=WPA-PSK
proto=WPA
pairwise=TKIP
group=TKIP
psk=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
}
Edit the interfaces file (I used a static configuration, you could always use DHCP instead):
/etc/network/interfaces Code:
#
# we always want the loopback interface
#
auto lo
iface lo inet loopback
#
# default dynamic setup (no adjustment necessary)
#
# auto eth0
# iface eth0 inet dhcp
hostname `hostname`
#
# sample wireless setup
#
auto wlan0
iface wlan0 inet static
wireless-essid ESSID
address 192.168.1.145
gateway 192.168.1.1
dns-nameservers 192.186.1.1, 69.50.168.189
netmask 255.255.255.0
wpa-conf /etc/wpa_supplicant.conf
4. Test it outRestart networking or reboot the box, you should be able to login on the address you gave the box
(192.168.1.145 in this example)
with the ethernet unplugged!
Edit: You may want to keep eth0 active as well, so that you can get back in if for some reason the
wireless does not work. Otherwise you would need serial console access to get back in.