PDA

View Full Version : How to configure my wireless network?



ebidder
02-04-2005, 05:48 PM
Dear all

I have a problem when i try to configure my wireless network for my notebook. I boot with Knoppix 3.7 and it sees my Atheros 5001x mini-pci card. I tried to change /etc/network/interfaces so that i can use ifup and ifdown to connect to my router. but i couldn't save it after the change.

What should I do? or if you have other better way to connect to network, please give me your detail suggestion as well. I am new to Linux.

Thank you very much for your help.

ghaze
02-04-2005, 10:29 PM
I have a problem when i try to configure my wireless network for my notebook. I boot with Knoppix 3.7 and it sees my Atheros 5001x mini-pci card. I tried to change /etc/network/interfaces so that i can use ifup and ifdown to connect to my router. but i couldn't save it after the change.

open a root terminal
cp /etc/network/interfaces . #notice the period,copies to your pwd
vim interfaces #edit the file and save it
rm -f /etc/network/interfaces
cp interfaces /etc/network
/etc/init.d/network restart
If you save this file to a thumb drive,you can reuse it.

The easy way
open a root terminal
iwconfig ath0 essid "yourssid" channel 6 mode managed key XX:XX:XX:XX:XX #if not using wep,delete key and change mode to open
pump -i ath0
pump -i ath0 -s #should give you some info

If it doesn't work,try "ifconfig ath0 up" before the iwconfig command.This shouldn't be neccessary,though.
Pump is a dhcp client,btw.

man interfaces
man iwconfig
man ifconfig
man pump

If you read the above manual pages,you shouldn't have any problems.
If something doesn't work,be sure to paste any error messages when posting.

Have Fun

ebidder
02-05-2005, 12:42 AM
thank you very much.