You are not logged in.

#1 2011-11-16 03:06:12

Hoest
Member
Registered: 2011-05-19
Posts: 15

[SOLVED] Netcfg and Wireless connections stopped working

I've been using Netcfg for a while now on my laptop and I've had no problems connecting to the internet until last week. Since the last pacman update I did (around Wednesday I believe) my laptop has not been able to connect to the internet again. It doesn't recognize my wireless interface even though it did before, and netcfg gives me a strange output when I try to connect to my network and tells me the network is not available. I've gone through the steps in the wiki about installing wireless drivers and I've redone that but it still does not work.

Here is what Netcfg gives me when I try to connect:

:: LosPin up                                                             [BUSY] 
nl80211: 'nl80211' generic netlink not found
ioctl[SIOCSIWMODE]: Operation not supported
ioctl[SIOCGIWRANGE]: Operation not supported
ioctl[SIOCGIWMODE]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
 > Wireless network "LosPin" not present. 
                                                                         [FAIL] 

I know the network is present because when I boot into Windows on this same laptop it connects without any issues. I think it is a driver issue but re-installing the driver has not helped so I'm wondering if anyone can help me out.

This is my netcfg profile if needed:

CONNECTION="wireless"
ESSID="LosPin"
INTERFACE="eth0"
SCAN="yes"
TIMEOUT="10"
SECURITY="wpa"
KEY=
WPA_Driver='wext'
IP='static'
ADDR='10.0.0.80'
GATEWAY='10.0.0.1'
DNS='10.0.0.1'

The reason that the interface is set to eth0 is because it is the only interface for which netcfg tries to connect to the network. If I use wlan0 as the interface it tells me it doesn't exist, and before I had the problem, the interface I used was eth1, which now netcfg says does not exist either.

Any help is greatly appreciated.

Last edited by Hoest (2011-11-17 23:32:29)

Offline

#2 2011-11-16 03:13:35

NgoHuy
Member
Registered: 2011-10-27
Posts: 23

Re: [SOLVED] Netcfg and Wireless connections stopped working

Hi you!
please,You can show me lspci -k of network adapter smile

Offline

#3 2011-11-16 03:20:46

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Netcfg and Wireless connections stopped working

Yes, it's this:

02:00.0 Network controller: Broadcom Corporation BCM4312 802.11b/g LP-PHY (rev 01)
            Subsystem: Hewlett-Packard Company U98Z049.00 Wireless Mini PCIe Card
            Kernel modules: ssb

I've tried both the b43 and broadcom-wl drivers, but I ended up using broacom-wl because for some reason the b43 ones didn't work.

Offline

#4 2011-11-16 03:40:33

NgoHuy
Member
Registered: 2011-10-27
Posts: 23

Re: [SOLVED] Netcfg and Wireless connections stopped working

Hoest wrote:

Yes, it's this:

            Kernel modules: ssb

.

I think you should modprobe ssb and rmmod b43 and broadcom-wl smile because it recognize ssb
good luck to you.
I have the smae problem and I modprobe Kernel modules which lspci -k shows and problem's solved big_smile

Offline

#5 2011-11-16 03:53:24

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Netcfg and Wireless connections stopped working

I did modprobe ssb and made sure that b43 and broadcom-wl were not appearing when I used lsmod but I keep getting the same error as before:

:: LosPin up                                                             [BUSY] 
nl80211: 'nl80211' generic netlink not found
ioctl[SIOCSIWMODE]: Operation not supported
ioctl[SIOCGIWRANGE]: Operation not supported
ioctl[SIOCGIWMODE]: Operation not supported
ioctl[SIOCSIWAP]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
ioctl[SIOCSIWENCODEEXT]: Operation not supported
ioctl[SIOCSIWENCODE]: Operation not supported
 > Wireless network "LosPin" not present. 

Thanks for your help anyway.

Offline

#6 2011-11-16 03:57:26

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] Netcfg and Wireless connections stopped working

Make sure you didn't turn off the wireless radio either by a hardware switch or by rfkill. 

Try turning off your computer and doing a cold boot.   I have a Sierra Wireless expresscard cellular adapter that Fedora's Network Mangler puts in such a state that only a cold boot will restore it's function.

Offline

#7 2011-11-16 04:36:43

skunktrader
Member
From: Brisbane, Australia
Registered: 2010-02-14
Posts: 1,682

Re: [SOLVED] Netcfg and Wireless connections stopped working

If you are using broadcom-wl, you need to rebuild and reinstall the driver because of the change in the kernel versioning

Offline

#8 2011-11-16 05:10:20

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Netcfg and Wireless connections stopped working

David Batson wrote:

Make sure you didn't turn off the wireless radio either by a hardware switch or by rfkill. 

Try turning off your computer and doing a cold boot.   I have a Sierra Wireless expresscard cellular adapter that Fedora's Network Mangler puts in such a state that only a cold boot will restore it's function.

I don't think this is an issue for me since this is my laptop I turn it off regularly. But I will try that again, thanks.

skunktrader wrote:

If you are using broadcom-wl, you need to rebuild and reinstall the driver because of the change in the kernel versioning

I will try that, thank you.

Offline

#9 2011-11-16 06:05:41

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Netcfg and Wireless connections stopped working

I've re installed the broadcom-wl driver and now netcfg is recognizing the wireless interface and it attempts to connect to the network but it still gives me an error.

:: LosPin up                                                             [BUSY] 
 > WPA Authentication/Association Failed 
                                                                         [FAIL] 

Any ideas?

Offline

#10 2011-11-16 12:06:30

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] Netcfg and Wireless connections stopped working

Offline

#11 2011-11-17 00:52:23

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Netcfg and Wireless connections stopped working

I've reinstalled wpa_supplicant and configured it like the wiki said but I keep getting the "WPA Authentication/Association Failed" error.

Offline

#12 2011-11-17 02:31:09

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] Netcfg and Wireless connections stopped working

Offline

#13 2011-11-17 05:22:14

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Netcfg and Wireless connections stopped working

I've checked and it's definitely not an rfkill issue. I've tried to connect to the network with two different netcfg profiles, one using wpa_supplicant and the other with configsection. Both give me the same "WPA Authentication/Association Failed" error. There was one try with the wpa_supplicant profile that gave the a "network not found" error but afterwards it went back to the original error. Here are my profiles if needed.

configsection profile:

CONNECTION='wireless'
INTERFACE='eth0'
SECURITY='wpa-configsection'
ESSID='LosPin'
IP='dhcp'
TIMEOUT='130'
CONFIGSECTION='
	ssid="LosPin"
	key_mgmt=WPA-PSK
	psk="..."'

wpa_supplicant profile:

CONNECTION="wireless"
INTERFACE="eth0"
TIMEOUT="60"
WPA_Driver='wext'
IP='dhcp'
SECURITY='wpa-config'
WPA_CONF='/etc/wpa_supplicant.conf'

And this is my wpa_supplicant.conf:

ctrl_interface=DIR=/run/wpa_supplicant GROUP=wheel

network={
	ssid="LosPin"
	proto=RSN
	key_mgmt=WPA-PSK
	pairwise=CCMP TKIP
	group=CCMP TKIP
	#psk="..."
	psk=84e710904340353a5217eb63ced7e8f4beb38bf6317bf4648e8b4557c7f3442d
}

Again, thank you all for all your help.

Offline

#14 2011-11-17 06:18:17

SnoFox
Member
Registered: 2011-11-17
Posts: 1

Re: [SOLVED] Netcfg and Wireless connections stopped working

Did you try connecting to an un-protected wireless AP? If so, what was the error?

Offline

#15 2011-11-17 13:27:51

ichase
Member
Registered: 2011-02-10
Posts: 113

Re: [SOLVED] Netcfg and Wireless connections stopped working

I have had my fair share of issues when it comes to wireless so I want to suggest a couple of things.  When using netcfg I have always had my "Interface" set to wlan0 or now wlan1 because I moved to an external wifi dongle.  Also, what is the out put of iwconfig and ifconfig wlan0 up?  Do you get errors?

Last edited by ichase (2011-11-17 13:46:01)

Offline

#16 2011-11-17 23:31:38

Hoest
Member
Registered: 2011-05-19
Posts: 15

Re: [SOLVED] Netcfg and Wireless connections stopped working

SnoFox wrote:

Did you try connecting to an un-protected wireless AP? If so, what was the error?

I can connect fine if un-protect my network.

ichase wrote:

I have had my fair share of issues when it comes to wireless so I want to suggest a couple of things.  When using netcfg I have always had my "Interface" set to wlan0 or now wlan1 because I moved to an external wifi dongle.  Also, what is the out put of iwconfig and ifconfig wlan0 up?  Do you get errors?

If I run either iwconfig or ifconfig for wlan0 I get a device not found error. But if I plug in an ethernet cord and run dhcpcd wlan0 It connects to the internet.


Somehow, in the period of time while I wrote this post the laptop has connected to the network using the wpa_supplicant based netcfg profile. I don't know what has changed since I've made no changes but it is working now. I'm thinking it might have had to do with the router since it only worked after I re-secured the network. In any case, I will mark this thread as solved now. Thank you all for your help.

Offline

#17 2011-11-18 04:46:32

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] Netcfg and Wireless connections stopped working

Hoest wrote:

it is working now. I'm thinking it might have had to do with the router since it only worked after I re-secured the network. In any case, I will mark this thread as solved now. Thank you all for your help.

I forgot to say that sometimes rebooting the router and/or the computer is all that's needed to restore your connection.  Should always try this first if you had a working connection that no longer has internet access.

Offline

Board footer

Powered by FluxBB