>
>  Hey, it works now. I am able to connect to the net and iwconfig shows
>  the WEP key for wlan0.
>
>  Thanks a lot friend. :-)
>
>  PS: Is there a way I can test whether encryption is actually on?

Very nice.

If iwconfig shows essid that means WEP is on...

You didn't mention what made it work... executable permissions on
inet1.conf or removing 0x from Key? Just curious.

If this is a laptop I am guessing that you won't be needing this
configuration all the time, and having this configuration at the
startup will make startup a little more time consuming, particularly
when you don't need it.

I usually have a script something like this :
/sbin/wifi:

###############################
#!/bin/sh

/sbin/iwconfig wlan0
sleep 1
/sbin/iwconfig wlan0 essid xxxxx
sleep 1
/sbin/iwconfig wlan0 key xxxxxxx
sleep 1
dhclient wlan0

###############################

When I login from home and need wifi, I do sudo /sbin/wifi


-- 
________________________________________

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/>M d- s++:+ a- C++(++++) ULBS++++$ P+++>$ L+++$ E+ W++
N++ O! M! V! PS+ PE+ Y+ PGP>+++ 5! X! R- !tv b++(+++) DI+++ D--
G-- e++>++++ h r+ y+
------END GEEK CODE BLOCK------
-----------------------------------------------------------------

Reply via email to