LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 07-14-2011, 02:24 PM   #1
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297
Blog Entries: 2

Rep: Reputation: 37
Wireless on Slack 12.2 used to work, now DHCPCD times out.


Hey all,
I know questions of the form "wireless not working on <blank>" abound, but here is another! I can't cut and paste since I don't have a connection on the computer I am having trouble with but I will paraphrase the best I can.

lspci output:
0c:00.0 Network controller: Intel ... PRO/wireless 4965 AG or AGN [Kedron] Network Connection (rev 61)

lsmod output (relavent line):
cfg80211 33680 3 iwlagn, iwlcore, mac80211

iwconfig shows wlan0 up and running, and iwlist scanning shows the router. I used to be able to just run dhcpcd wlan0 and connect, but now I get a

"timed out waiting for a valid DHCP server response"

Same deal running /etc/rc.d/rc.inet1.conf (which might be the new way Slack connects to things).

Not sure if it's important, but I have a little indicator light on my laptop that tells me if wireless is running. Before I try dhcpcd, the light is on. After it times out, the light goes out and I have to redo everything (ifconfig wlan0 up etc....) in order to get the light back on.

Anyone have any ideas? I think I'm using the right driver for this, because it USED TO WORK!

Thanks for anything.
 
Old 07-14-2011, 08:42 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi thethinker, Have you made any changes to the router? Any recent updates, patches, etc.? If not, my first guess would be the wireless card going/gone bad. Do you have another card you can try?

Good luck. ;-)
 
Old 07-15-2011, 02:28 PM   #3
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297

Original Poster
Blog Entries: 2

Rep: Reputation: 37
changes to the router...not I do not believe so but my g/f could have done something and not told me. Something specific I could look out for?

And this is a laptop so I don't have another card that would work lying around the house at the moment. I've been trying more things (like configuring rc.d/rc.inet1.conf) with no luck. I did get this message:

/etc/rc.d/rc.inet1 wlan0_start
/etc/rc.d/rc.inet1: wlan0 information: 'Any ESSID'
Error for wireless request "Set Nuckname" (8B1C) :
SET failed on device wlan0 ; Operation not supported.

But that probably doesn't help much does it?
 
Old 07-15-2011, 07:38 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Please post the output from the following.

Code:
# ifconfig -a
# iwconfig
# iwlist your_device essid your_router_name key your_encryption_key
# dhcpcd -d your_device
Good luck. ;-)
 
Old 07-21-2011, 04:30 PM   #5
thethinker
Member
 
Registered: Jul 2006
Location: Peabody, MA, USA
Distribution: Xubuntu, Slackware, Pop!_OS
Posts: 297

Original Poster
Blog Entries: 2

Rep: Reputation: 37
Ok, sorry for the wait but if it's hard to post output when your computer has no internet access :-P Output like you requested is below, but things are a bit more clear now. It seems to be a router problem; I just installed Slack 12.2 on a super old laptop (AMD K6-2 333 MHz :-)) and it has the EXACT same problem as my badass laptop. So I'm guessing there are some router settings I'm having trouble with - router is Cisco Linksys E2000, works great on windows :-/. And actually, I'm on Ubuntu 11.04 now and it's working well there too! Is there maybe some kind of security difference between Slack and Ubuntu?

ifconfig -a:
Code:
irda0     Link encap:IrLAP  HWaddr 00:00:00:00  
          NOARP  MTU:2048  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:8 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

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:2 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:100 (100.0 B)  TX bytes:100 (100.0 B)

wlan0     Link encap:Ethernet  HWaddr 00:1b:11:63:56:bc  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:23168 (22.6 KiB)

wmaster0  Link encap:UNSPEC  HWaddr 00-1B-11-63-56-BC-6C-6F-00-00-00-00-00-00-00-00  
          BROADCAST 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)
iwconfig: (the other interfaces were also listed as "no wireless extensions" but for whatever reason my iwconfig >> temp command didn't catch those)

Code:
wlan0     IEEE 802.11bg  ESSID:"TheLovenasium"  
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated   
          Tx-Power=27 dBm   
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B   
          Encryption key:A111-A111-A1   Security mode:open
          Power Management:off
          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
wlist wlan0 essid.....this didn't work. said essid was an unknown command to iwlist.

dhcpcd wlan0:
Code:
Broadcasting DHCP_DISCOVER
timed out waiting for a valid DHCP server response
 
Old 07-21-2011, 08:02 PM   #6
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
My apologies. The last two commands should have been this.

Code:
# iwconfig your_device essid your_router_name key your_encryption_key
# dhcpcd -d your_device
We were trying to see if you could associate to the AP. I also meant to ask for the output from this.

Code:
# iwlist wlan0 scan
What type of encryption are you using on the router?

Good luck. ;-)
 
  


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
dhcpcd wlan1 times out Trikky Linux - Newbie 3 11-27-2010 09:01 AM
dhcpcd wireless problems. dhcpcd wlan0 removes essid entry in iwconfig. Romanus81 Slackware 3 08-25-2008 10:34 PM
Slackware 12.1: rc.inet1, dhcpcd and infinite lease times (bug?) El Nigromante Slackware 1 08-21-2008 10:20 AM
Slack 10.2, 3C509b, dhcpcd not getting info Mike W Slackware 2 02-03-2006 09:01 PM
dhcpcd problems on slack-current Trijicon Linux - Networking 0 10-24-2005 08:27 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:39 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration