LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 05-20-2008, 01:11 PM   #1
dewert
LQ Newbie
 
Registered: May 2005
Location: Canada
Distribution: Slackware 12.1 on laptop, Slackware 12.0 on ancient desktop
Posts: 13

Rep: Reputation: 0
Unable to connect wireless (WEP) on Slack 12.1 with Intel 3495ABG and DI-624 Router


NOTE: Sorry, I posted this in 'Slackware' and realised I'd probably be better off posting it here. Please disregard the other one.

Ok, so, I'm a little confused now. I installed Slack 12.1 on my HP dv2317ca. It has an Intel 3495ABG, as evidenced by lspci -v:

Code:
05:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG Network Connection (rev 02)
	Subsystem: Hewlett-Packard Company Unknown device 135b
	Flags: bus master, fast devsel, latency 0, IRQ 18
	Memory at d4000000 (32-bit, non-prefetchable) [size=4K]
	Capabilities: [c8] Power Management version 2
	Capabilities: [d0] Message Signalled Interrupts: Mask- 64bit+ Queue=0/0 Enable-
	Capabilities: [e0] Express Legacy Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting <?>
	Capabilities: [140] Device Serial Number cf-f5-50-ff-ff-d2-19-00
	Kernel driver in use: iwl3945
	Kernel modules: iwl3945
This is why I got slack 12.1 - the intel 3495abg runs out-of-the-box on the 2.6.24 kernel.

It does appear to be working from a hardware/driver point of view, as I get iwconfig wlan0:

Code:
wlan0     IEEE 802.11g  ESSID:"narwhal"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated   
          Tx-Power=27 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Encryption key:XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
as well as iwlist scan:
Code:
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - <removed - neighbour's wifi :P>
          Cell 02 - Address: 00:11:95:0A:87:78
                    ESSID:"narwhal"
                    Mode:Master
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=87/100  Signal level=-46 dBm  Noise level=-127 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=00000000f10a12b5
So I try to set iwconfig wlan0 ap auto, and then i get (from iwconfig wlan0):
Code:
wlan0     IEEE 802.11g  ESSID:"narwhal"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: 00:11:95:0A:87:78   
          Bit Rate=54 Mb/s   Tx-Power=27 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B   
          Encryption key:<removed>
          Link Quality=92/100  Signal level=-38 dBm  Noise level=-127 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
which looks promising. However, I now try dhclient wlan0 and it does two DHCPREQUESTs and then some DHCPDISCOVERs and then fails. dhcpcd also unsuccessful.

I also, in desperation, SlackBuild'ed wicd, in hopes that it'd be smarter than me, but it just gets stuck at "Obtaining IP address".

I know my router isn't buggered, because other computers can connect to it wirelessly and wired. This computer, however, only works wired, currently. Sigh. WEP, as you can see, is enabled, but it does the same thing without it.

Any help would be greatly appreciated by this noob.

Last edited by dewert; 05-20-2008 at 01:22 PM.
 
Old 05-20-2008, 03:18 PM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,782
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
wlan0 IEEE 802.11g ESSID:"narwhal"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Something must be goofed up with your configuration. If you have a correctly configured card, that Access Point field should have a MAC address in it. Unfortunately, until you can get your card to associate with the AP, anything else beyond this is a waste of time since the card and the AP aren't communicating. How are you trying to set your WEP key and ssid?

The other thing to try, just to rule out a card issue, it to temporarily turn off WEP at the AP and see if you can get a connection. If you can, then there is something about the WEP encryption that is off.


Oh, and don't use dhclient, it isn't that good. Slackware really prefers dhcpcd.
 
Old 05-20-2008, 04:08 PM   #3
hellasyoda
Member
 
Registered: Oct 2006
Location: HELLAS
Distribution: Slackware 12.1
Posts: 47

Rep: Reputation: 15
Try to set manual the ip adress and wep key.
Quote:
iwconfig essid "[ESSID]"
iwconfig wlan0 mode managed key [WEP key]
 
Old 05-20-2008, 05:31 PM   #4
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 12,226

Rep: Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019Reputation: 1019
Quote:
Originally Posted by dewert View Post
the intel 3495abg runs out-of-the-box on the 2.6.24 kernel.
Really ???.
The iwlwifi driver was merged - what about the firmware ???.
 
Old 05-20-2008, 05:36 PM   #5
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,782
Blog Entries: 1

Rep: Reputation: 413Reputation: 413Reputation: 413Reputation: 413Reputation: 413
Quote:
Originally Posted by syg00 View Post
Really ???.
The iwlwifi driver was merged - what about the firmware ???.

Included as a package in Slackware. Both the 3945 and 4965 have firmware packages now.
 
Old 05-20-2008, 06:47 PM   #6
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Tupelo, MS
Distribution: Gentoo
Posts: 6,926

Rep: Reputation: 124Reputation: 124
Post your /etc/rc.d/rc.inet1.conf file. Did you edit it? Did you edit any other file?
 
Old 05-21-2008, 12:05 PM   #7
dewert
LQ Newbie
 
Registered: May 2005
Location: Canada
Distribution: Slackware 12.1 on laptop, Slackware 12.0 on ancient desktop
Posts: 13

Original Poster
Rep: Reputation: 0
Ok... I am confused out of my poor little mind - it works! I hate it when things like this happen - even though it's something good, I want to know why. Gah. Currently, my /etc/rc.d/rc.inet1.conf is commented out, because I installed wicd, which takes over that component, but before that, I had not edited it.

I am going away for a while now, but I'll defs have some more issues with this machine when I get back. Thanks for your efforts - great forum.
 
Old 04-11-2009, 09:58 AM   #8
d_d
Member
 
Registered: Sep 2005
Posts: 36

Rep: Reputation: 15
i m happy its worked for you
can u tell us which line was commented because i have the same problem
thank you
 
Old 04-11-2009, 06:22 PM   #9
dewert
LQ Newbie
 
Registered: May 2005
Location: Canada
Distribution: Slackware 12.1 on laptop, Slackware 12.0 on ancient desktop
Posts: 13

Original Poster
Rep: Reputation: 0
You do realise this thread is about a year old, right? :P

The *whole file* was commented out, because wicd takes over and does all that stuff. I've since switched the machine to Kubuntu, because it is my main computer, and I use it for school. ie. I don't want it to take me 10 hours to work out how to do something simple like print or connect to wifi. I know some will say this is a cop out, but I don't care, because it just works much better for me in this case, seeing as I'm not that experienced with linux. I do still like playing around with slackware though!

I don't know if I have much more to say about this problem. All I can tell you is that wicd is, well, wicked! Much better than either gnome or kde's built in managers (though I hear kde is revamping theirs...)

Good luck!
 
Old 04-13-2009, 08:03 AM   #10
d_d
Member
 
Registered: Sep 2005
Posts: 36

Rep: Reputation: 15
ok
thank u
but i think i will stay in Slack
 
  


Reply

Tags
iwconfig, networking, slackware, wep, wireless


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
Unable to connect wireless (WEP) on Slack 12.1 with Intel 3495ABG and DI-624 Router dewert Slackware 2 05-21-2008 05:48 AM
Intel 4965 AGN - can't connect to wireless 802.11b router, can connect to 11g siodine Linux - Wireless Networking 3 12-01-2007 07:36 AM
Unable to connect to school WEP network on Intel 4965 skale Linux - Wireless Networking 1 08-26-2007 05:07 PM
Can't connect over vpnclient with WEP enabled Wireless Router Brad.Scalio@noaa.gov Linux - Software 0 05-12-2007 11:56 PM
No route to host on D-link DI-624 wireless router Ionexchange Linux - Wireless Networking 5 05-21-2004 12:12 AM


All times are GMT -5. The time now is 01:03 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