PDA

View Full Version : Knoppix Wireless



zfirestone
02-13-2005, 04:35 AM
I am using a Toshiba laptop. *I have an Orinoco 802.11b wireless card here plugged into the laptop. *It works perfectly with Windows. *In fact, when I went to my friends house, who has no encryption on his wireless network, my network card automatically worked fine with Knoppix there!! *Here the name of the network is 2c8313 and the password is c8313.
How do I tell it that in Knoppix? *I have tried all of the network configuration settins. *I have eth0 and eth1 in the list and i try configuring it. *I've tried using and not using DHCP. *I go to terminal and type netcardconfig to get that. *I try typing su to log in as root, then typing wlcardconfig. I fill in everything (at least I think it is correct) yet when I open the Mozilla browser it cannot connect. I tried going to the WaveLan settings, same problem. Don't forget-it automatically worked perfectally at my friends house who has no encryption, and I do not want to turn off encryption on my router. *I am new to Linux. *What should I do? *

ghaze
02-13-2005, 04:33 PM
wlcardconfig is a front end for iwconfig.It sets up your ssid,channel,etc.
To get an ip,you still need to run netcardconfig,afterwards.
as root
wlcardconfig
netcardconfig
The above apps are knoppix specific.
I usually use the following commands instead.They should work
on any distro.
As root
iwconfig eth1 essid "yourssid" mode Managed channel 6 key XX:XX:XX:XX:XX:XX # key in hex
pump -i eth1 #if you are using dhcp
pump -i eth1 -s #should give you some info

Change the above to reflect your setup.You can run iwconfig with no options
to figure out which is your wireless interface.

If you have the time,from an xterm
man ifconfig
man iwconfig
man pump
man route
man resolv.conf
It'll pay off in the long run.

Good Luck && Have Fun

zfirestone
02-13-2005, 05:38 PM
thanks! however, i am not using HEX, i am using ASCI. The password is "c8313" so how do i type THAT in instead of the XX-XX-XX.... etc?
thanks

pureone
02-13-2005, 05:45 PM
i guess you would just do.

iwconfig wlan0 key "c8313"

ghaze
02-13-2005, 08:19 PM
The answer to this question is in the iwconfig manual.
man iwconfig

iwconfig eth1 key s:c8313

I believe you'll have better results using the hex string,however.
If you go into the password setup of your wireless ap,there should be
four hex strings,one of which is being used.
That's the string you want.
That's how mine is anyway.I was unable to connect using
just the password,btw.I tried,just before posting this.

YMMV

zfirestone
02-13-2005, 10:31 PM
The answer to this question is in the iwconfig manual.
man iwconfig

iwconfig eth1 key s:c8313

I believe you'll have better results using the hex string,however.
If you go into the password setup of your wireless ap,there should be
four hex strings,one of which is being used.
That's the string you want.
That's how mine is anyway.I was unable to connect using
just the password,btw.I tried,just before posting this.

YMMV

so should i type the following:
(the NAME of my network is 2c8313, the pw is c8313)

iwconfig eth1 essid "2c8313" mode Managed channel 6 key s:c8313
pump -i eth1 #