LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2012, 10:18 PM   #1
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Rep: Reputation: 74
Wicd unable to get ip


Hey all, I'm running -current x64 on my lenovo ideapad z575, and after this latest group of updates, my wifi has gone pretty wrong. Wicd detects all the nearby networks, and can connect and authenticate with my home network, but then it just hangs at "Obtaining IP Address" and then the connect fails with "unable to get ip address"

the results of lspci | grep -i wireless are as follows:

Code:
02:00.0 Network controller: Atheros Communications Inc. AR9285 Wireless Network Adapter (PCI-Express) (rev 01)
I managed to get online using an old wireless bridge for an xbox, but that's hardly an acceptable solution, especially since it can only connect to WEP and insecure networks (I had to change my router to a WEP encryption just to post this).


checked the logs in /var/log/wicd/wicd.log,

Code:
2012/02/08 21:59:33 :: Connecting to wireless network 2WIRE418
2012/02/08 21:59:33 :: Putting interface down
2012/02/08 21:59:34 :: Releasing DHCP leases...
2012/02/08 21:59:34 :: Setting false IP...
2012/02/08 21:59:34 :: Stopping wpa_supplicant
2012/02/08 21:59:34 :: Flushing the routing table...
2012/02/08 21:59:34 :: Putting interface up...
2012/02/08 21:59:36 :: Attempting to authenticate...
2012/02/08 21:59:38 :: Running DHCP with hostname darkstar
2012/02/08 21:59:38 :: dhcpcd[2293]: version 5.2.12 starting
2012/02/08 21:59:38 :: 
2012/02/08 21:59:38 :: dhcpcd[2293]: wlan0: broadcasting for a lease
2012/02/08 21:59:38 :: 
2012/02/08 22:00:08 :: dhcpcd[2293]: timed out
2012/02/08 22:00:08 :: 
2012/02/08 22:00:08 :: DHCP connection failed
2012/02/08 22:00:08 :: exiting connection thread
2012/02/08 22:00:10 :: Sending connection attempt result dhcp_failed
its just that, over and over again.

any ideas?

Last edited by trademark91; 02-08-2012 at 10:20 PM.
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 02-09-2012, 03:50 AM   #2
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
Check your conf file if it has your network mask properly. It appears that your box made request to the dhcp server but it cannot/did-not receive an acknowledgement or an offer from it.
 
Old 02-09-2012, 12:52 PM   #3
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
I checked my conf file, it doesn't have anything, actually its still wicd's default config file. This doesnt just happen to my home network, it happens to every wireless network I try to connect to.
 
Old 02-09-2012, 01:14 PM   #4
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
May or may not work. But I had this problem, and changed the dchp requester in wicd to dhclient from auto which cured the problem for me.
 
Old 02-09-2012, 01:51 PM   #5
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
No switching between dhcpcd and dhclient did nothing for me, just a different dhcp client unable to recieve an IP. I tried with a different kernel, still had the same issue. I'm really at a loss here.
 
Old 02-09-2012, 02:19 PM   #6
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
Can you connect from the cli? If so, I would remove all existing wicd conf files from /var/lib/wicd/configurations/ (or at least make copies and then delete them) and see what happens when you retry.
 
Old 02-09-2012, 03:06 PM   #7
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
I can't connect through CLI either. I'm guessing it must be an issue with my wireless card drivers then,seeing as I can detect stuff but can't get an IP from either dhclient or dhcpcd.

heres the output of my lsmod

Code:
Module                  Size  Used by
snd_seq_dummy           1455  0 
snd_seq_oss            29184  0 
snd_seq_midi_event      5588  1 snd_seq_oss
snd_seq                51105  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          5260  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            38818  0 
snd_mixer_oss          15204  1 snd_pcm_oss
ipv6                  277592  28 
cpufreq_ondemand        6156  2 
powernow_k8            12610  0 
freq_table              2443  2 cpufreq_ondemand,powernow_k8
mperf                   1171  1 powernow_k8
lp                      9659  0 
ppdev                   5862  0 
parport_pc             19359  0 
parport                31471  3 lp,ppdev,parport_pc
joydev                  9959  0 
fuse                   66075  7 
snd_hda_codec_realtek   190849  1 
rts5139               325140  0 
snd_hda_codec_hdmi     24152  1 
snd_hda_intel          23403  2 
snd_hda_codec          82102  3 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel
fglrx                3059059  115 
snd_hwdep               6285  1 snd_hda_codec
snd_pcm                73056  5 snd_pcm_oss,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec
processor              25431  3 powernow_k8
thermal                 7855  0 
snd_timer              19217  2 snd_seq,snd_pcm
usbhid                 35416  0 
hid                    82780  1 usbhid
ath9k                  85706  0 
mac80211              227016  1 ath9k
ath9k_common            1978  1 ath9k
ath9k_hw              346578  2 ath9k,ath9k_common
r8169                  49236  0 
snd                    58066  15 snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_timer
psmouse                61909  0 
uvcvideo               62998  0 
soundcore               5570  1 snd
video                  11300  0 
acer_wmi               19807  0 
ideapad_laptop          8526  0 
sparse_keymap           3080  2 acer_wmi,ideapad_laptop
videodev               79248  1 uvcvideo
v4l2_compat_ioctl32     8852  1 videodev
snd_page_alloc          7017  2 snd_hda_intel,snd_pcm
i2c_piix4               8152  0 
wmi                     8403  1 acer_wmi
thermal_sys            14482  3 processor,thermal,video
ath                    14659  3 ath9k,ath9k_common,ath9k_hw
cfg80211              168823  3 ath9k,mac80211,ath
rfkill                 15457  3 acer_wmi,ideapad_laptop,cfg80211
ac                      3257  0 
mii                     3987  1 r8169
i2c_core               19941  2 videodev,i2c_piix4
battery                11033  0 
agpgart                27308  1 fglrx
button                  4529  1 fglrx
evdev                   9722  22 
k10temp                 2843  0 
hwmon                   1329  2 thermal_sys,k10temp
serio_raw               4325  0 
sg                     25661  0 
loop                   18142  0
edit:
rebuild dhcpcd, no difference.

going to try to build compat-wireless, maybe that will do the trick

/me crosses fingers

nope, that didnt do it either.


checked /var/log/wicd/wicd.log, looks like im getting a lease, but dhcpcd does not want to use it?

Code:
    2012/02/09 19:56:06 :: Connecting to wireless network 2WIRE418
    2012/02/09 19:56:07 :: Putting interface down
    2012/02/09 19:56:07 :: Releasing DHCP leases...
    2012/02/09 19:56:07 :: Setting false IP...
    2012/02/09 19:56:07 :: Stopping wpa_supplicant
    2012/02/09 19:56:07 :: Flushing the routing table...
    2012/02/09 19:56:07 :: Putting interface up...
    2012/02/09 19:56:09 :: Attempting to authenticate...
    2012/02/09 19:56:10 :: Running DHCP with hostname drain
    2012/02/09 19:56:10 :: dhcpcd[2622]: version 5.2.12 starting
    2012/02/09 19:56:10 ::
    2012/02/09 19:56:10 :: dhcpcd[2622]: wlan0: broadcasting for a lease
    2012/02/09 19:56:10 ::
    2012/02/09 19:56:11 :: dhcpcd[2622]: wlan0: offered 192.168.1.75 from 192.168.1.254
    2012/02/09 19:56:11 ::
    2012/02/09 19:56:40 :: dhcpcd[2622]: timed out
    2012/02/09 19:56:40 ::
    2012/02/09 19:56:40 :: DHCP connection failed
    2012/02/09 19:56:40 :: exiting connection thread
    2012/02/09 19:56:40 :: Sending connection attempt result dhcp_failed


any ideas? I'd prefer not to have to resort to ndiswrapper.

Last edited by trademark91; 02-09-2012 at 08:26 PM.
 
Old 02-10-2012, 09:29 AM   #8
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
I notice from your logs that although wicd is attempting to authenticate, it doesn't show whether it has been successfull.
I would start then with an open wireless network having first deleted all references to current setup in both /var/lib/wicd/configurations, and /etc/wicd,
uninstall wpa_supplicant, delete the /etc/wpa_supplicant.conf file.

If you manage to then connect to an unsecured wireless point, only then set up any security, (remembering of course to re-install wpa_supplicant)
 
Old 02-10-2012, 11:24 AM   #9
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
Same thing, it can't get an IP:

Code:
2012/02/10 11:16:28 :: Connecting to wireless network @Home4B10
2012/02/10 11:16:28 :: Running command ['wpa_cli', '-i', 'wlan0', 'terminate'] failed: [Errno 2] No such file or directory
2012/02/10 11:16:29 :: Putting interface down
2012/02/10 11:16:29 :: Releasing DHCP leases...
2012/02/10 11:16:29 :: Setting false IP...
2012/02/10 11:16:29 :: Stopping wpa_supplicant
2012/02/10 11:16:29 :: Running command ['wpa_cli', '-i', 'wlan0', 'terminate'] failed: [Errno 2] No such file or directory
2012/02/10 11:16:29 :: Flushing the routing table...
2012/02/10 11:16:29 :: Putting interface up...
2012/02/10 11:16:31 :: Running DHCP with hostname drain
2012/02/10 11:16:31 :: dhcpcd[4384]: version 5.2.11 starting
2012/02/10 11:16:31 ::
2012/02/10 11:16:31 :: dhcpcd[4384]: wlan0: waiting for carrier
2012/02/10 11:16:31 ::
2012/02/10 11:17:01 :: dhcpcd[4384]: timed out
2012/02/10 11:17:01 ::
2012/02/10 11:17:01 :: DHCP connection failed
2012/02/10 11:17:01 :: exiting connection thread
2012/02/10 11:17:01 :: Sending connection attempt result dhcp_failed
2012/02/10 11:17:01 :: Running command ['wpa_cli', '-i', 'wlan0', 'terminate'] failed: [Errno 2] No such file or directory
 
Old 02-10-2012, 11:33 AM   #10
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
You are still showing some references to wpa (as can be seen from your logs), so there must still be some vestiges of wpa lying around somewhere.

What happens if you provide a static IP?
 
Old 02-10-2012, 12:00 PM   #11
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
I can't, I don't know my netmask, subnet, dns, etc etc, or have any clue how to find that info out without being connected to the network in the first place.
 
Old 02-10-2012, 01:04 PM   #12
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
How have you managed to set up your home network without knowing the details for your isp?

You should be able to get the details you need from your wireless AP/Router, which with any luck will have a standard ethernet port which you can plug into. What wireless adsl router are you using to connect to the internet? Shouldn't be to difficult to get you going wired first of all, then with the details set you up initially with a staic IP to help diagnosing your problem.
 
Old 02-10-2012, 01:15 PM   #13
malekmustaq
Senior Member
 
Registered: Dec 2008
Location: root
Distribution: Slackware & BSD
Posts: 1,669

Rep: Reputation: 498Reputation: 498Reputation: 498Reputation: 498Reputation: 498
trademark91,

Okay at least we know the problem and where we are to the solution. Matters of netmask, IP address and DNS inherently belong to the internet provider, else you cannot get into the internet after all you do. You must talk to them and seek their advice on that matter.

Concerning the home-subnet (neighborhood network?) are you on it?, we can help you set it up. Just state the problem and facts and what you did so far.

mm
 
Old 02-10-2012, 01:27 PM   #14
trademark91
Member
 
Registered: Sep 2009
Distribution: Slackware -current x64
Posts: 372

Original Poster
Rep: Reputation: 74
Well right now im using a wireless bridge for an xbox, plugged into the ethernet port of my laptop, and had to change my router to WEP encryption just to be able to use this. Not the best solution, and certainly not useable as a permanent one (I need to be able to go to different places i.e. school, work, friends houses) and still be able to connect to the wifi there, I can't demand that they all change their encryption to WEP to work with my temporary solution. I never had to know my netmask, IP, or DNS to connect to the internet before, only the essid and passkey.

Last edited by trademark91; 02-10-2012 at 01:35 PM.
 
Old 02-10-2012, 01:35 PM   #15
vdemuth
Member
 
Registered: Oct 2003
Location: West Midlands, UK
Distribution: Slackware 14 (Server),OpenSuse 13.2 (Laptop & Desktop),, OpenSuse 13.2 on the wifes lappy
Posts: 781

Rep: Reputation: 98
What is the IP of your XBOX and your current wired connection. It stands to reason with that info you will be able to try a static IP. But as I said in one of my earlier posts. You need to start with an unsecured network, and work forwards from there.
 
  


Reply



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
wicd unable to get ip address Ehlyah Linux - Wireless Networking 7 12-22-2011 12:04 AM
Wicd Connection Failed: Unable to Gei IP Address in Slackware 13.37 ecoslacker Slackware 14 07-17-2011 09:55 AM
Wicd anon258 Linux - Software 2 03-31-2011 11:00 AM
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 12:15 PM
wicd shows network name as "none" + unable to get IP (protected networks) r11_kaede Linux - Wireless Networking 13 09-13-2009 04:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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