LinuxQuestions.org
Review your favorite Linux distribution.
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 07-18-2008, 04:36 PM   #1
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 184

Rep: Reputation: 17
iwlist scanning sees the network; dhclient can't connect (iwl3945 nor ndiswrapper)


1. I can load the module: iwl3945
2. I can use iwlist scanning to see my wireless router
3. dhclient and network manager don't want to connect to the wireless router


update:

I tried the ndiswrapper route, and that did not work either. I used the XP/2000 32-bit drivers. So, something unusual is occuring.


Operating system: Debian Lenny via dist-upgrade
Kernel version: 2.6.25-2-686
Computer: Gateway T-6838

I have this new laptop I'm finger tapping, and I've been trying to get it to work with wireless. Supposedly it was yapping about firmware and the such, so I found some website that told me to install firmware.

website: http://fobiazone.wordpress.com/2008/05/12/debian-lenny/
Code:
apt-get install firmware-iwlwifi
That's the only thing I did from that site, because trying to manually install the newer firmware gave me make errors.

That helped a little, I guess. I previously had the module blacklisted cause it kept yapping while I was using the ttys. And when using w3m and having lines of text interfere... it's not cool.

here's what i've been up to...

universe:/home/workstation# modprobe iwl3945


NOTICE:

I also obtain the following information when using ndiswrapper instead of iwl3945.


universe:/home/workstation# ifconfig wlan0 up

universe:/home/workstation# ifconfig

Code:
eth0      Link encap:Ethernet  HWaddr #######################  
          inet addr:192.168.0.200  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: ##################### Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:953 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1055 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:750261 (732.6 KiB)  TX bytes:178857 (174.6 KiB)
          Interrupt:220 Base address:0xe000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:24 errors:0 dropped:0 overruns:0 frame:0
          TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1648 (1.6 KiB)  TX bytes:1648 (1.6 KiB)

wlan0     Link encap:Ethernet  HWaddr ###################
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:11 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:3941 (3.8 KiB)  TX bytes:2004 (1.9 KiB)

wmaster0  Link encap:UNSPEC  HWaddr ################
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
universe:/home/workstation# iwlist scanning

Code:
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: ##:##:##:##:##:##
                    ESSID:"fastermangrate-on-song"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=76/100  Signal level=-58 dBm  Noise level=-127 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=00000051a4c1557d
universe:/home/workstation# dhclient wlan0

Code:
There is already a pid file /var/run/dhclient.pid with pid 3239
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/##:##:##:##:##:##
Sending on   LPF/wlan0/##:##:##:##:##:##
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
That is the story.
Network manager, too, can see the network but can't connect.

I don't know what's going on.

Last edited by Cyberman; 07-18-2008 at 05:41 PM.
 
Old 07-18-2008, 05:35 PM   #2
beadyallen
Member
 
Registered: Mar 2008
Location: UK
Distribution: Fedora, Gentoo
Posts: 209

Rep: Reputation: 36
You haven't specified which station to connect to, you've only scanned to see what's around. Doing it from the command line, you'd do something like
Code:
iwconfig wlan0 mode managed essid fastermangrate-on-song channel 11
Assuming there's no encryption, that should probably associate with the AP. Then you can try dhclient again.
 
Old 07-18-2008, 05:39 PM   #3
Cyberman
Member
 
Registered: Aug 2005
Distribution: Debian Stable
Posts: 184

Original Poster
Rep: Reputation: 17
Quote:
Originally Posted by beadyallen View Post
You haven't specified which station to connect to, you've only scanned to see what's around. Doing it from the command line, you'd do something like
Code:
iwconfig wlan0 mode managed essid fastermangrate-on-song channel 11
Assuming there's no encryption, that should probably associate with the AP. Then you can try dhclient again.
That did not work.

I figured it would not, because I think dhclient wlan0 pretty much says grab an access point and try to connect to it, thus me not needing to use iwconfig.

This is weird.

universe:/home/workstation# iwconfig wlan0 mode managed essid fastermangrate-on-song channel 11

universe:/home/workstation# dhclient wlan0

Code:
There is already a pid file /var/run/dhclient.pid with pid 8113
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/wlan0/##:##:##:##:##:##
Sending on   LPF/wlan0/##:##:##:##:##:##
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.

Last edited by Cyberman; 07-18-2008 at 05:41 PM.
 
  


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
Wireless issue with T61-sees network but wont connect Viper Chief Mandriva 1 07-28-2008 07:52 PM
wireless network issue - Intel iwl3945 driver ragebot Slackware 10 06-27-2008 01:28 PM
iwlist eth0 scanning picks wireless networks but imy browser can connect java Linux - Newbie 4 04-08-2008 02:06 AM
my computer sees the network, but it doesnt connect to it briansaysword Linux - Wireless Networking 4 10-06-2006 08:54 AM
iwlist scanning is not supported ... tekion Linux - Networking 2 02-09-2006 07:37 PM


All times are GMT -5. The time now is 11:20 PM.

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