You are not logged in.

#1 2010-01-17 17:21:36

yprum
Member
Registered: 2010-01-17
Posts: 5

Not getting IP address wired nor wireless

Hi all!

My problem started as I have seen around already with a random disconnection after a while. At first I could re-log in the wireless connection so I didn't worried much. Few days ago it disconnected but I couldn't reconnect again, I had to reboot to get the connection again. I've been busy lately and I couldn't get to solve it quite yet, but yesterday I upgraded the system (pacman -Syu) to see if it was solved already. It wasn't and to my surprise since this morning I can't get even the connection at the beggining, not even wired connection!

So that's my problem... now, I was using wicd to connect to my home network wep protected wifi. Also I have iwl3945 driver for the wireless intel card PRO/wireless 3945ABG. I believe I have the system up to date until yesterday January 16th.

Also trying different stuff around before, I managed to get internet connection (wireless), I had the wicd on and I was using iwconfig ifconfig and that kind of stuff when I tried using wpa_supp to connect. Once I tried, wicd was able to connect (by itself) and I had internet connection again. But wpa was repeating the same text once and once again. I've tried repeating it but I'm unable.

iwconfig gives me all info right, I even have the access point info.

When I try to connect with wpa it tells me:

$ sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
CTRL-EVENT-SCAN-RESULTS
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
....so on and so on until:
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
12_packet_receive - recvfrom: Network is down
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

With dhcpcd it tells me:

$ sudo dhcpcd wlan0
dhcpcd: version 5.1.4 starting
dhcpcd: wlan0: broadcasting for a lease
dhcpcd: wlan0: carrier lost
dhcpcd: received SIGHUP, releasing lease
dhcpcd: wlan0: removing interface

I'm completely lost, don't know where even start looking anymore...

Do you need some more info? please tell me also how to get it just in case I didn't know from before. With dmesg I don't get anything different from other examples I have seen in posts like this

Ah! also, I disabled the IPv6 module, and I tried with the workaround I read in the forum that says to use:
$ iwconfig wlan0 power off
it was no use

Thank you for reading!

PS: internet works fine in windows, so the problem should be within arch

Offline

#2 2010-01-18 19:56:23

ksemeks
Member
Registered: 2009-12-31
Posts: 51

Re: Not getting IP address wired nor wireless

Try to gain a local ip manually then.

Offline

#3 2010-01-18 19:59:42

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Not getting IP address wired nor wireless

Check this:

[stijn@hermes ~]$ wpa_cli status
Selected interface 'intel'
bssid=xx:xx:xx:xx:xx:xx
ssid=xxxxxxxxxxx
id=0
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=10.0.0.5

That is how you can check whether the supplicant correctly authenticated to the AP. I see no such info in your post, only a mention of wpa_supplicant that there are APs available, but no info about whether you successfully connected to any of them. Then again, there is no error either, but better safe than sorry right wink.

Can you run the same command after running your wpa_supplicant call and post it here? Maybe it helps clarify things.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2010-01-18 20:22:08

yprum
Member
Registered: 2010-01-17
Posts: 5

Re: Not getting IP address wired nor wireless

ksemeks wrote:

Try to gain a local ip manually then.

I'll try that once I can get some free time. Unfortunately It doesn't look good until thursday

B wrote:

Check this...

that I've tried. This is the result:

$ wpa_cli status
Selected interface 'wlan0'
bssid=xx:xx:xx:xx:xx:xx
ssid=xxcorrectxx
id=0
pairwise_cipher=WEP-104
group_cipher=WEP-104
key_mgmt=NONE
wpa_state=COMPLETED

also, wpa_supplicant was a bit different:

$ sudo wpa_supplicant -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
Associated with xx:xx:xx:xx:xx:xx                                              
Authentication with xx:xx:xx:xx:xx:xx timed out.                               
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable                           
ioctl[SIOCSIWSCAN]: Device or resource busy                                    
Failed to initiate AP scan.                                                    
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys                       
CTRL-EVENT-SCAN-RESULTS                                                        
CTRL-EVENT-SCAN-RESULTS                                                        
Associated with xx:xx:xx:xx:xx:xx                                              
Authentication with xx:xx:xx:xx:xx:xx timed out.                               
ioctl[SIOCSIWSCAN]: Device or resource busy                                    
Failed to initiate AP scan.                                                    
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys                       
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable                           
CTRL-EVENT-SCAN-RESULTS                                                        
Associated with xx:xx:xx:xx:xx:xx                                              
Authentication with xx:xx:xx:xx:xx:xx timed out.                               
ioctl[SIOCSIWSCAN]: Device or resource busy                                    
Failed to initiate AP scan.                                                    
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys                       
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable                                                                                            
CTRL-EVENT-SCAN-RESULTS                                                                                                                         
WPS-AP-AVAILABLE                                                                                                                                
Associated with xx:xx:xx:xx:xx:xx                                                                                                               
Authentication with xx:xx:xx:xx:xx:xx timed out.                                                                                                
ioctl[SIOCSIWSCAN]: Device or resource busy                                                                                                     
Failed to initiate AP scan.                                                                                                                     
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys                                                                                        
CTRL-EVENT-SCAN-RESULTS                                                                                                                         
WPS-AP-AVAILABLE                                                                                                                                
CTRL-EVENT-SCAN-RESULTS                                                                                                                         
WPS-AP-AVAILABLE                                                                                                                                
Associated with xx:xx:xx:xx:xx:xx                                                                                                               
Authentication with xx:xx:xx:xx:xx:xx timed out.                                                                                                
ioctl[SIOCSIWSCAN]: Device or resource busy                                                                                                     
Failed to initiate AP scan.                                                                                                                     
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys                                                                                        
CTRL-EVENT-SCAN-RESULTS                                                                                                                         
WPS-AP-AVAILABLE                                                                                                                                
CTRL-EVENT-SCAN-RESULTS                                                                                                                         
WPS-AP-AVAILABLE                                                                                                                                
Associated with xx:xx:xx:xx:xx:xx                                                                                                               
Authentication with xx:xx:xx:xx:xx:xx timed out.
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
Associated with xx:xx:xx:xx:xx:xx
Authentication with xx:xx:xx:xx:xx:xx timed out.
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
Associated with xx:xx:xx:xx:xx:xx
Authentication with xx:xx:xx:xx:xx:xx timed out.
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
ioctl[SIOCGIWSCAN]: Resource temporarily unavailable
CTRL-EVENT-SCAN-RESULTS
WPS-AP-AVAILABLE
Associated with xx:xx:xx:xx:xx:xx
l2_packet_receive - recvfrom: Network is down
CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
ioctl[SIOCSIWSCAN]: Device or resource busy
Failed to initiate AP scan.

thank you both for your answers and your time!

Offline

#5 2010-01-19 06:03:18

ksemeks
Member
Registered: 2009-12-31
Posts: 51

Re: Not getting IP address wired nor wireless

If nothing works, yoou should downgrade the jerbek version, at least for now.

[ksemeks@aspire ~]$ uname -r
2.6.31-ARCH

Offline

#6 2010-01-19 06:48:56

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Not getting IP address wired nor wireless

Well the second run does seem to fail while 'wpa_cli status' indicates that everything is okay...

Can you try connecting with a clear LAN, with WEP disabled altogether? If that works, then the problem is with wpa_supplicant. I'd also recommend using WPA or even WPA2 if possible (I presume you have other devices on your WLAN that can only do WEP, but I hope you're aware of the huge gaping security hole you have there).


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#7 2010-01-24 15:34:26

yprum
Member
Registered: 2010-01-17
Posts: 5

Re: Not getting IP address wired nor wireless

well, I've solved the problem (I finally had the time to get into it...)

with staticIP I managed to connect to the wireless again. I will update now the system and check if it solves anything... I've seen there's new updates for dhcp packages..

if it's not solved I'll come again and update the situation and start making more tries...

thank you for your help and advices, I'll look into changing the security of my wireless too smile

Offline

#8 2010-01-24 19:41:03

ScottArch
Member
From: Cork, Ireland
Registered: 2009-10-23
Posts: 58

Re: Not getting IP address wired nor wireless

Hi yprum,

I think I have been having a similar issue, please see my thread here:

http://bbs.archlinux.org/viewtopic.php?id=89315

Does this seem similar to the issues you have been having? If it is, could you let me know if you find out exacly what the problem is, or when you find a permanent solution?

Thanks for any help you can give me.

Scott


Acer Aspire 5920G - 2Ghz Core 2 Duo T7300 - 256mb Nvidia 8600GS - 4GB RAM

Offline

#9 2010-01-24 20:06:30

yprum
Member
Registered: 2010-01-17
Posts: 5

Re: Not getting IP address wired nor wireless

Hi Scott, I'll read your post and see if I can tell you anything of help

Offline

Board footer

Powered by FluxBB