Since the machine running KnoppMyth had to be near the TV and cable input, and because that spot was far from the router, I decided to get a wirless lan card instead of running an ethernet cable into the living room.
The EW-7318USg was supposed to be Linux-friendly and installable under the rt2x00 Project, but I couldn’t get it to work that way.
Fortunately, thanks to this guide on the Arch Linux wiki, I got it to install and connect under KnoppMyth version R5F27.
Here’s a shell script to automate the steps:
wget http://www.ralinktech.com.tw/data/RT73_Linux_STA_Drv1.0.4.0.tar.gz
tar xzvf RT73_Linux_STA_Drv1.0.4.0.tar.gz
cd RT73*/Module
cp -v Makefile.6 ./Makefile
make all
cp -v rt73.ko /lib/modules/`uname -r`/kernel/drivers/usb/net/
mkdir -pv /etc/Wireless/RT73STA
cp -v rt73.bin /etc/Wireless/RT73STA/
dos2unix -f rt73sta.dat
cp -v rt73sta.dat /etc/Wireless/RT73STA/rt73sta.dat
insmod /lib/modules/`uname -r`/kernel/drivers/usb/net/rt73.ko
depmod -a
echo "rt73" >> /etc/modules
(I found out later that the same drivers can also be obtained from the Edimax web site)
Next (and last), I added these lines to the /etc/network/interfaces file:
iface rausb0 inet dhcp
wireless-essid [...]
wireless-key [...]
auto rausb0