Thursday, June 08, 2006

Command-line setting up of wifi.

A friend was using a distro that came with wifi drivers but he didn't know how to set up the computer to run with his encrypted wireless network. Here is a tip that I know works with Knoppix, kanotix, and damn small linux-- probably any debian-based distro that has been kind enough to include madwifi-- when you've got an atheros-based card. Open a Konsole or terminal and do:

su
[respond to root password prompt]

iwconfig
[look to see what the software is calling your wireless device-- is it "eth0" or "ath0"? I will call this YOUR_DEVICE ]

iwconfig YOUR_DEVICE essid YOUR_NETWORK_NAME key YOUR_ENCRYPTION_KEY

pump -i YOUR_DEVICE


I believe I learned this method from the folks on the kanotix IRC channel.

No comments: