LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (http://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Wireless on Slack 12.2 used to work, now DHCPCD times out. (http://www.linuxquestions.org/questions/linux-networking-3/wireless-on-slack-12-2-used-to-work-now-dhcpcd-times-out-891768/)

thethinker 07-14-2011 02:24 PM

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.

Peacedog 07-14-2011 08:42 PM

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. ;-)

thethinker 07-15-2011 02:28 PM

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?

Peacedog 07-15-2011 07:38 PM

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. ;-)

thethinker 07-21-2011 04:30 PM

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


Peacedog 07-21-2011 08:02 PM

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. ;-)


All times are GMT -5. The time now is 08:21 PM.