LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 11-30-2007, 03:34 PM   #1
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
Following debian dist-upgrade wireless card no longer works, ifconfig can't bring up


Hello all, I am running Debian 4.0 base install upgraded to stable/testing hybrid, I am running a custom compiled xen 3.1 2.6.18 kernel and my wireless card is a broadcom 4310. Two nights ago I performed a dist-upgrade over my wireless connection, then when I rebooted my wireless was inactive. I was using the ndiswrapper with the bcmwl5.inf windows driver, and using wpa_supplicant to configure the wireless card. When I boot up all my other interfaces exist, but my wlan0 does not appear, if I run an ifup wlan0, I get the following.

Quote:
ioctl[SIOCGIFFLAGS]: No such device
Could not get interface 'wlan0' flags
ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIFINDEX]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWENCODEEXT]: No such device
ioctl[SIOCSIWENCODE]: No such device
ioctl[SIOCSIWAUTH]: No such device
WEXT auth param 7 value 0x0 - Failed to disable WPA in the driver.
ioctl[SIOCSIWAUTH]: No such device
WEXT auth param 5 value 0x0 - ioctl[SIOCSIWAUTH]: No such device
WEXT auth param 4 value 0x0 - ioctl[SIOCSIWAP]: No such device
ioctl[SIOCGIFFLAGS]: No such device
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
run-parts: failed to exec /etc/network/if-up.d/iptables: Exec format error
run-parts: /etc/network/if-up.d/iptables exited with return code 1
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
wpa_supplicant: /sbin/wpa_cli daemon failed to start
run-parts: /etc/network/if-up.d/wpasupplicant exited with return code 1
In other words it keeps telling me the device does not exist, however, lspci reveals

Quote:
sleeperdied:/home/scheidel21# lspci | grep Broadcom
03:00.0 Network controller: Broadcom Corporation BCM4310 UART (rev 01)
and checking ndiswrapper provides

Quote:
sleeperdied:/home/scheidel21# ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present, hardware present
So it would appear the device does exists and the system underpinnings can see it. I disabled my wpa roaming profiles in my network interfaces file, which you can look at below (this copy does not have the wpa roaming profiles disabled), however, disableing them and attempting to use iwconfig I cannot connect to a wlan0 because it does not exists in interfaces, attempting to bring up wlan0 with wpa disabled doesn't change that, and if I attempt to ifdown wlan0 I often get does n6ot exist, but trying and ifup wlan0 following the ifdown tells me wlan0 is all ready configured.

Quote:
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth1
iface eth1 inet dhcp

auto dummy0
iface dummy0 inet static
address 192.168.7.1
netmask 255.255.255.0

allow-hotplug wlan0
iface wlan0 inet manual
#pre-up wpa_supplicant -B -d -iwlan0 -c/etc/wpa_supplicant.conf
wpa-driver wext
wpa-roam /etc/wpa_supplicant.conf
#post-down killall wpa_supplicant

iface home inet dhcp

iface work inet dhcp

iface any inet dhcp

iface default inet dhcp
ANy ideas what is going on?

Thanks in advance

Alex
 
Old 11-30-2007, 04:02 PM   #2
pentode
Member
 
Registered: Dec 2005
Location: Oregon
Distribution: Debian Testing
Posts: 488

Rep: Reputation: 38
If the distribution upgrade included a new kernel, you'll probably have to re-compile the ndiswrapper module (I'd suggest using module-assistant to do this). The Debian sources included only ndiswrapper source code, so for any kernel upgrade, you'll want to re-compile and re-install ndiswrapper.
 
Old 12-01-2007, 04:52 AM   #3
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Original Poster
Rep: Reputation: 100Reputation: 100
Thanks for the idea pentode, but no new kernel here just the same one I have been running, and besides the ndiswrapper module loads with no problems on boot and if I rmmod and then modprobe it.
 
  


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
Upgrade to Ubuntu Gusty - Wireless card no longer detected! ljs662_removed Ubuntu 1 10-04-2007 04:11 AM
testing dist-upgrade, media no longer mounts on gnome desktop ihatethedekoys Debian 1 10-28-2006 01:39 PM
After dist-upgrade, X no longer starts. Dan04 Linux - Software 2 06-19-2006 12:19 AM
Debian - dist-upgrade doesnt bring eth0 up at boot gbkyle Linux - Networking 2 06-08-2006 12:51 AM
Debian: Upgrade to 2.6.4 Kernel, SMC Card No Longer Works pfizur Linux - Networking 0 04-08-2004 07:51 AM

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

All times are GMT -5. The time now is 11:39 AM.

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