LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices

Reply
 
Search this Thread
Old 09-13-2006, 01:10 AM   #1
pgmer6809
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 18

Rep: Reputation: 0
WEP Wireless FC5 cant connect


Hi I am running FC5 on HP Pavillion DV1000 with Intel PRO Wireless 3945 card.
I am 99% sure the h/w is working OK. I have installed the 3945 firmware, driver, modules, daemon etc. etc.
I can run iwconfig and it will show the correct network SSID and other things. I can run NetworkManager and it will show several networks within range.
the dhclient works fine, gives the adapter an IP address etc. The adapter shows up in the sytem tools Network tab and I can Activate and DeActivate the adapter from that. I can probe for the MAC address.
The problem is that when I try to connect to my network, NetworkManager reports that it failed.
When I first boot and try to connect I am prompted for a 'keyring' password, which I enter. After that I am not prompted for anythng.
Two Questions:
1) How can I make Network Manager work OK?
2) Is there any way to connect to the wireless network from the cmd line ie without NetworkManager?
.................................................. ................................................
here is my ifcfg-eth1 file:
# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
ONBOOT=yes
USERCTL=yes
IPV6INIT=no
PEERDNS=yes
TYPE=Wireless
DEVICE=eth1
HWADDR=00:13:02:16:96:98
BOOTPROTO=dhcp
IPADDR=192.168.2.101
NETMASK=255.255.255.0
BROADCAST=192.168.2.255
NETWORK=192.168.2.0
GATEWAY=192.168.2.1
DHCP_HOSTNAME=renegade-w
DOMAIN=
ESSID=musichall
CHANNEL=6
MODE=Managed
RATE=Auto
-------------------------------------------------------------------------------------------------------
I also have a keys-eth1 file with the wep key in it.
I have tried adding the following line to the end of the above file, and it does not give errors, it also does not succeed with a login.
IWCONFIG="enc restricted key s:mypassphrase"
------------------------------------------------------------------
Here is a sample output from the /var/log/messages file: (long ...)
but essentially it seems to say that all is going fine until it comes time to get the wep key then for some reason that fails.
Under win-xp everything works fine, on boot up the wireless card is active and I can access the inernet.
---------------------------------------------------------------------------------
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> User Switch: /org/freedesktop/NetworkManager/Devices/eth1 / musichall
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> Deactivating device eth1.
Sep 12 20:17:19 renegade@pennario dhcdbd: message_handler: message handler not found under /com/redhat/dhcp/eth1 for sub-path eth1.dbus.get.reason
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> Device eth1 activation scheduled...
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> Activation (eth1) started...
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> Activation (eth1) Stage 1 of 5 (Device
<snip>++++++++++++++++++++++++++++++++++
point 'musichall' is encrypted, and a key exists. No new key needed.
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: sending command 'INTERFACE_ADD eth1 wext /var/run/wpa_supplicant '
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: response was 'OK'
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: sending command 'AP_SCAN 1'
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: response was 'OK'
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: sending command 'ADD_NETWORK'
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: response was '0'
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 ssid 6d7573696368616c6c'
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: response was 'OK'
Sep 12 20:17:19 renegade@pennario NetworkManager: <information> SUP: sending command 'SET_NETWORK 0 key_mgmt NONE'
<snip> +++++++++++++++++++++++++++++++++++++++++++++++

Sep 12 20:17:59 renegade@pennario NetworkManager: <information> wpa_supplicant(-1): Wireless event: cmd=0x8b06 len=8
Sep 12 20:17:59 renegade@pennario NetworkManager: <information> wpa_supplicant(-1): Wireless event: cmd=0x8b1a len=18
Sep 12 20:17:59 renegade@pennario NetworkManager: <information> wpa_supplicant(-1): Authentication with 00:00:00:00:00:00 timed out.
Sep 12 20:17:59 renegade@pennario dhclient: receive_packet failed on eth1: Network is down
 
Old 09-13-2006, 01:18 AM   #2
odcheck
Member
 
Registered: Aug 2006
Distribution: Fedora, CentOS, RHEL, Debian
Posts: 978

Rep: Reputation: 30
Do you use WEP or WPA?
And is your key ASCII? Cause you started on the console with s: = ASCII
 
Old 09-13-2006, 01:24 PM   #3
pgmer6809
LQ Newbie
 
Registered: Apr 2004
Distribution: Mandrake 10.0
Posts: 18

Original Poster
Rep: Reputation: 0
Ascii or Hex Key

Re Ascii key or hex key, I have tried both and neither in the ifcfg-eth1 file. In the keys-eth1 file I have the hex version of the wep key.

I am not sure however that either version of the key is being passed to wpa_supplicant. Is there some way to check this?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using iwconfig to connect to a wireless network. No WEP radicalrain Linux - Wireless Networking 2 05-03-2008 10:09 PM
can connect to wlan when WEP is off, but when WEP is off cannot join wlan teknoratti Fedora 1 09-01-2006 02:56 AM
Can't Connect To WEP Wireless Network MailleMan Linux - Wireless Networking 5 05-23-2006 05:06 AM
I can't connect to my wireless AP in FC5, why am I unable to activate my wireless. ruggersway Linux - Wireless Networking 1 05-09-2006 03:58 PM
Can't connect using WEP ???? memo007 Linux - Wireless Networking 3 02-20-2005 11:54 PM


All times are GMT -5. The time now is 06:51 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration