My mistake. You are right it got wrapped and I didn't notice it.

let me expatiate (I had to look it up in the dictionary ... so let me
use it :P)..

My first doubt is :
If you are disabling essid you are able to log in, that means
(provided WEP key in inet1.conf is correct) your inet1.conf is not
executable. You have to manually change the permissions. Did you?

Secondly, if it is executable there is mistake somewhere else, which
we have to figure out:

Try doing this manually:

# iwconfig wlan0

# iwconfig wlan0 essid RT2561_6

and if it has DHCP enabled:
#dhclient wlan0
or else setup IP address manually.




>  > >  Thank you for your prompt reply,
>  > >  I tried doing what you suggested, connected my laptop to the router
>  > >  and set the WEP key on the router interface (192.168.1.1). After
>  doing
>  >
>  > How did you do this? through ethernet cable or wifi?
>
>  Sorry, I should have been more specific. I first connected the lan
>  cable and configured the router. then I yanked out the lan cable and
>  tried to configure the laptop.
>
>
>  >
>  >
>  >
>  > >  that I tried to set the access point configuration by making the
>  > >  following changes to /etc/rc.d/rc.inet1.conf-
>  > >
>  > >  IFNAME[4]="wlan0"
>  > >  IPADDR[4]="192.168.1.35"
>  > >  NETMASK[4]="255.255.255.0"
>  > >  USE_DHCP[4]="no"
>  > >  DHCP_HOSTNAME[4]=""
>  > >  DHCP_KEEPRESOLV[4]="yes"
>  > >  #DHCP_KEEPNTP[4]="yes"
>  > >  #DHCP_KEEPGW[4]="yes"
>  > >  #DHCP_IPADDR[4]=""
>  > >  WLAN_ESSID[4]=RT2561_6
>  > >  WLAN_MODE[4]=Managed
>  > >  ##WLAN_RATE[4]="54M auto"
>  > >  #WLAN_CHANNEL[4]="auto"
>  > >  WLAN_KEY[4]="0x1111111111"
>  > >  ##WLAN_IWPRIV[4]="AuthMode=WPAPSK EncrypType=TKIP
>  > >
>  WPAPSK=7B1ABEEB5D197741923ED26727569C365E31212096A0EAFAD563B268BAD01CAF
>  > >  TxRate=0"
>  > >  #WLAN_WPA[4]="wpa_supplicant"
>  > >  WLAN_WPADRIVER[4]="ndiswrapper"
>  > >
>  > >  the saved the file and restarted rc.inet1 by -
>  > >  $sudo /etc/rc.d/rc.inet1 restart
>  > >
>  > >  At this stage, I get an error stating that the password is invalid.
>  > >  Then I tried to remove 0x from the key. The password gets
>  accepted but
>  > >  the connection doesn't come up.
>  > >
>  > >  What could be going wrong?
>  > >
>  >
>  > when you setup WEP key why do you have WPAPSK  uncommented in your
>  inet1.conf?
>
>  :-) Actually that particular line is too long and a part of it has
>  been text-wraped down. In my inet1.conf it WPAPSK is commented out.
>
>  > Are you sure your wireless card is wlan0 on  your machine? Seems like
>  > you just uncommented the example section and added in the required
>  > feilds.
>
>  Yes, my wireless card is wlan0. Here is the output of iwconfig wlan0 -
>
>  wlan0     IEEE 802.11g  ESSID:"RT2561_6"  Nickname:"(none)"
>            Mode:Managed  Frequency:2.437 GHz  Access Point:
>  00:18:02:92:31:EC
>            Bit Rate=48 Mb/s   Tx-Power:32 dBm
>            RTS thr=2347 B   Fragment thr=234wlan0     IEEE 802.11g
>  ESSID:"RT2561_6"  Nickname:"(none)"
>            Mode:Managed  Frequency:2.437 GHz  Access Point:
>  00:18:02:92:31:EC
>            Bit Rate=48 Mb/s   Tx-Power:32 dBm
>            RTS thr=2347 B   Fragment thr=2346 B
>            Power Management:off
>            Link Quality:100/100  Signal level:-27 dBm  Noise level:-96 dBm
>            Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>            Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>  6 B
>            Power Management:off
>            Link Quality:100/100  Signal level:-27 dBm  Noise level:-96 dBm
>            Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>            Tx excessive retries:0  Invalid misc:0   Missed beacon:0
>
>  >
>  > the best aproach is to use iwconfig.
>  >
>
>  Can you please expatiate on this since I am not familiar with iwconfig.
>
>  And when I disable authentication in the router interface, I am able
>  to connect to the net.

-- 
________________________________________

-----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