PDA

View Full Version : Automatic connection to WLAN?



majhen
09-12-2005, 02:42 PM
I have Knoppix 3.9 HDD installed and upgraded kernel to 2.6.13. My wlan card is Belkin f5d6020 ver 3 that uses Realtek RTL8180 chip. I compiled driver for my card (rtl8180-sa2400 Linux kernel driver). Driver is loaded from /etc/modules-2.6.13. When I boot to KDE i have to manualy run as root:

iwconfig wlan0 essid linksys
ifconfig wlan0 up
pump -i wlan0.

Netcardconfig does not save my network parameters.
How can i fix that? What files do i have to modify?

Thanks in advance.

UnderScore
09-12-2005, 07:33 PM
Try the /etc/network/interfaces file. I found some info on adding the wlan info like ESSID at http://ndiswrapper.sourceforge.net/mediawiki/index.php/InstallDebianSarge#Permanent_setup_once_everything _is_working.. You should ignore the ndiswrapper stuff but I figure that the rest should be correct.

majhen
09-13-2005, 12:44 AM
That didn't work for me. I edited /etc/network/interfaces. Wireless-* options did not worked for me. When i do ifconfig it has my ip, netmask, bcast... problem is with iwconfig. It doesn't show my essid..

when i do
iwconfig wlan0 essid linksys
ifconfig wlan0 up
my network starts... without pump. So problem is in essid.

It is not readed from /etc/network/interfaces...

PLEASE HELP... i hate typing every time those commands