Welcome Guest ( Log In | Register )

Outline · [ Standard ] · Linear+

 wifi on debian squeeze, still not working

views
     
TSscorps
post Dec 21 2010, 02:28 AM, updated 15y ago

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



hi, my notebook can't use wifi yet.
it's said "device not ready"

Compaq presario V3000 series
AMD Turion™ 64 X2 TL-58
Frequency: 800.000 MHz
L2 cache : 512 KB
RAM : 1Ghz
Nvidia Grapichs card GeForce 7150M / nForce 630M

kernel : 2.6.36-2.dmz.5-liquorix-686 (#1 ZEN SMP PREEMPT Wed Dec 15 03:28:54 UTC 2010)
release : squeeze/sid
Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 02)


CODE
root@scorps:/home/scorps# iwconfig
lo        no wireless extensions.

eth1      no wireless extensions.

wlan1     IEEE 802.11bg  ESSID:off/any  
         Mode:Managed  Access Point: Not-Associated   Tx-Power=off  
         Retry  long limit:7   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         
wlan2     IEEE 802.11bg  ESSID:off/any  
         Mode:Managed  Access Point: Not-Associated   Tx-Power=off  
         Retry  long limit:7   RTS thr:off   Fragment thr:off
         Encryption key:off
         Power Management:off
         
vboxnet0  no wireless extensions.

pan0      no wireless extensions.



CODE
root@scorps:/home/scorps# ifconfig wlan1 up
SIOCSIFFLAGS: Unknown error 132


wlan2 --> aztech usb wifi adapter

user posted image
same, still cannot up yet..
same error message : SIOCSIFFLAGS: Unknown error 132


i'm out of idea sweat.gif
already follow this link http://wiki.debian.org/bcm43xx#b43-b43legacy-squeeze
any advice,recommendation ? blush.gif
G-17
post Dec 21 2010, 04:30 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(scorps @ Dec 21 2010, 02:28 AM)
for bcm4311, you're supposed to install standard b43 firmware, not the legacy package.
Also, if that doesn't work, try
CODE
apt-get install firmware-b43-lpphy-installer

if still cannot, after reboot, try to modprobe b43,

if still cannot
http://wiki.debian.org/wl

after that if still cannot,
http://wiki.debian.org/NdisWrapper

If still cannot, install Crunchbang Statler *based on Squeeze* ... we did some work on it to incorporate the broadcom restricted blobs into the kernel.


TSscorps
post Dec 21 2010, 07:01 AM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



QUOTE(G-17 @ Dec 21 2010, 05:30 AM)
for bcm4311, you're supposed to install standard b43 firmware, not the legacy package.
Also, if that doesn't work, try
CODE
apt-get install firmware-b43-lpphy-installer

*
the error that comes out
QUOTE
Setting up firmware-b43-lpphy-installer (4.174.64.19-4) ...
Not supported card here (PCI id 14e4:4311)!
Use proper b43 or b43legacy firmware.
Aborting.
dpkg: error processing firmware-b43-lpphy-installer (--configure):
subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
firmware-b43-lpphy-installer
so? sweat.gif

on the blacklist
QUOTE
# This file lists modules which will not be loaded as the result of
# alias expansion, with the purpose of preventing the hotplug subsystem
# to load them. It does not affect autoloading of modules by the kernel.
# This file is provided by the udev package.

# evbug is a debug tool and should be loaded explicitly
blacklist evbug

# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd

# replaced by e100
blacklist eepro100

# replaced by tulip
blacklist de4x5

# replaced by tmscsim
blacklist am53c974

# these watchdog drivers break some systems
blacklist iTCO_wdt


# these wireless driver conflict with broadcom sta
backlist b43

TSscorps
post Dec 21 2010, 07:41 AM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



after follow the instruction on this link: http://wiki.debian.org/wl

QUOTE
root@scorps:/home/scorps# update-initramfs -u -k $(uname -r)
update-initramfs: Generating /boot/initrd.img-2.6.36-2.dmz.5-liquorix-686
cryptsetup: WARNING: failed to detect canonical device of /dev/hdb2
root@scorps:/home/scorps# modprobe -r b44 b43 b43legacy ssb brcm80211
WARNING: /etc/modprobe.d/blacklist.conf line 27: ignoring bad line starting with 'backlist'
FATAL: Module ssb is in use.
root@scorps:/home/scorps# modprobe wl
WARNING: /etc/modprobe.d/blacklist.conf line 27: ignoring bad line starting with 'backlist'
WARNING: /etc/modprobe.d/blacklist.conf line 27: ignoring bad line starting with 'backlist'
FATAL: Module wl not found.
FATAL: Error running install command for wl
root@scorps:/home/scorps#
QUOTE
Known Issues

The Sonics Silicon Backplane driver (ssb) conflicts with the wl driver (545388, broadcom-sta-common/README.Debian).
b44, b43, b43legacy and ssb are blacklisted by default as of broadcom-sta 5.10.91.9.3-3.
This prevents use of any Ethernet device supported by b44.
Frequent disconnections can be experienced. This may be resolved by disabling power management via iwconfig(8) (e.g. iwconfig eth1 power off).
Monitor mode is not supported.


so? sweat.gif
TSscorps
post Dec 21 2010, 07:46 AM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



sorry double post .. sweat.gif

This post has been edited by scorps: Dec 21 2010, 07:46 AM
ninty
post Dec 21 2010, 01:45 PM

Getting Started
**
Junior Member
122 posts

Joined: Nov 2007


Did you install the firmware yet?
debian wiki seems to recommend firmware-b43-installer, but i use b43-fwcutter instead.

If all else fails, try compat-wireless. I use it when regular methods don't work.

TSscorps
post Dec 21 2010, 03:17 PM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



QUOTE
dah buat semua tu , tapi masih tak berjaya ni.. aku dah blacklist ssb, blacklist ohci_hcd pon sama gak.. bil.a aku black list ohci_hcd, mouse takleh guna..

dia ada cakap wifi dah boleh guna, cuma disconnected.kalau sebelom ni device not ready..
dah scan network tapi tak jumpa

ni plak iwconfig
eth2 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:off
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

joker_jr
post Dec 21 2010, 04:19 PM

Casual
***
Junior Member
326 posts

Joined: Sep 2005
From: next station taman melati


by default, squeeze disabled "non-free" component.

I had similar problem like u before
currently using LMDE (linux mint debian edition) which is technically debian squeeze with linux mint theme (and few add on)
Installed on my notebook compaq 511. My wifi adaptor is broadcom 4313.
just follow instruction from this site for Broadcom 4311, 4312, 4313, 4321, 4322, 43224, 43225 devices (wl)
:-

http://wiki.debian.org/wl#Squeeze

TSscorps
post Dec 21 2010, 05:10 PM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



QUOTE(joker_jr @ Dec 21 2010, 05:19 PM)
by default, squeeze disabled "non-free" component.

I had similar problem like u before
currently using LMDE (linux mint debian edition) which is technically debian squeeze with linux mint theme (and few add on)
Installed on my notebook compaq 511. My wifi adaptor is broadcom 4313.
just follow instruction from this site for Broadcom 4311, 4312, 4313, 4321, 4322, 43224, 43225 devices (wl)
:-

http://wiki.debian.org/wl#Squeeze
*
so you can use wifi without problem?
anyway,thanks for your info,, bro.
but i tried to follow the instruction on that link before, but still unable to use wifi..


Added on December 21, 2010, 5:11 pmtry to compile the driver by following this link http://www.facebook.com/l.php?u=http%3A%2F...sta.php&h=81531

still not succeed yet.

This post has been edited by scorps: Dec 21 2010, 05:11 PM
G-17
post Dec 21 2010, 07:16 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
@Scorps
Form all the pm's you've sent me in the past with various problems, I can quite confidently say that your laptop is a special case (or nutcase, to be brutally honest).

Just to clarify, what distro are you using? Is it actual Debian, aither a netinstall or a Lenny install with sources shanged to Squeeze, or are you using some derivative/offshot distro?

Okay, here's what you can try. First, remove ALL b43 and wl packages (but keep wireless tools). Then try the b43-fwcutter route again. the reboot and see if it works. If not, you can:

1.I thought your Liquorix kernel should also include Broadcom blobs by default. Try reading the Liquorix forums.

OR

2. Go the the Broadcom website. They announced open source drivers for their wireless chipsets a couple of months ago. Most distros haven't included them yet (cos the drivers are still alpha). Search for it, should be somewhere in their Linux section.

OR.

Like I mentioned before, install Crunchbang. It's based on Squeeze (pure Squeeze, btw, no 3rd party repos except for tha Crunchbang one), and the community did a lot of work compiling Broadcrap restricted blobs into the stock kernel. The head honcho, Corenominal is a respected web dev in his day job, and he did most of the work on that aspect. I can confirm that Boradcom 4312 and later chipsets mostly work out-of-the-box, but I'm not sure about your 4311 and other bits of your hardware (like I said, your lappy is a bit queer).

Hope this helps.

Cheers.

Edit:

With regards to option 2, try this.
(sudo is recommended for safety's sake, but if like me, you don't like sudo, just modify the later steps for a root terminal)

CODE

wget http://www.broadcom.com/docs/linux_sta/hybrid-portsrc_x86-32_v5.60.246.6.tar.gz

mkdir broadcom-sta && cd broadcom-sta

tar xvf ../hybrid-portsrc_x86-32_v5.60.246.6.tar.gz

make clean && make && sudo make install

sudo depmod -a

sudo modprobe wl



IMPORTANT: Like I mentioned earlier in this post, make sure you remove all the b43 packages you previously installed (but keep wl), to avoid conflicts.

This post has been edited by G-17: Dec 21 2010, 07:28 PM
TSscorps
post Dec 21 2010, 09:36 PM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



QUOTE(G-17 @ Dec 21 2010, 08:16 PM)
@Scorps

IMPORTANT: Like I mentioned earlier in this post, make sure you remove all the b43 packages you previously installed (but keep wl), to avoid conflicts.
*
i already delete all the b43 packages through synaptic
QUOTE
wget http://www.broadcom.com/docs/linux_sta/hyb...60.246.6.tar.gz

mkdir broadcom-sta && cd broadcom-sta

tar xvf ../hybrid-portsrc_x86-32_v5.60.246.6.tar.gz

make clean && make && sudo make install

sudo depmod -a

sudo modprobe wl

i try follow your guide, but still failed not up my wifi connection,it's said device not ready

btw, i'm using Oshirix ,i got it from here http://mambang.org.my/modules/PDdownloads/...hp?cid=3&lid=77
QUOTE
Description:
Livecd tempatan berasaskan Debian Squeeze


thanks wink.gif
G-17
post Dec 21 2010, 09:53 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(scorps @ Dec 21 2010, 09:36 PM)
i try follow your guide, but still failed not up my wifi connection,it's said device not ready

btw, i'm using Oshirix ,i got it from here http://mambang.org.my/modules/PDdownloads/...hp?cid=3&lid=77
thanks  wink.gif
*

Not ready? Are you sure your wireless switch is turned on?
I've never heard of nor tried your Ostrich distro. Perhaps it would be wise to contact the dev or visit their forums (if they have one). It could be due to your distro having different configs/scripts/symlinks.

Like I said, yours is most definitely an isolated case with regards to Debian, since all the solutions provided in this thread up to this point have worked for me and many others in the past.

I apologize for not being able to help any further. I have never used a BCM4311 before.

This post has been edited by G-17: Dec 21 2010, 09:55 PM
TSscorps
post Dec 21 2010, 10:12 PM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



QUOTE(G-17 @ Dec 21 2010, 10:53 PM)
Not ready? Are you sure your wireless switch is turned on?
I've never heard of nor tried your Ostrich distro. Perhaps it would be wise to contact the dev or visit their forums (if they have one). It could be due to your distro having different configs/scripts/symlinks.

Like I said, yours is most definitely an isolated case with regards to Debian, since all the solutions provided in this thread up to this point have worked for me  and many others in the past.

I apologize for not being able to help any further. I have never used a BCM4311 before.
*
yes, i'm sure that wireless button is switch to on side already..
i already ask them, but they also can't help too much on this issue..

they already make some script to enable it..
look at here..
CODE

#! /bin/sh
### BEGIN INIT INFO
# Provides:          wl-check
# Required-Start:    
# Required-Stop:      
# Should-Start:      $local_fs hotplug module-init-tools
# Should-Stop:       $local_fs
# Default-Start:     2 3 4 5
# Default-Stop:      0 1 6
# Short-Description: Configures wl kernel modules.
# Description:       Configures wl kernel modules.
#
### END INIT INFO

PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
set -e


load_module() {
   if lspci -nv|grep -q -e 14e4:432b -e 14e4:4329 \
   -e 4e4:4328 -e 14e4:4315 -e 14e4:4313 -e 14e4:4312 \
   -e 14e4:4311 -e 14e4:432d -e 14e4:432c -e 4e4:432a; then
       rmmod b43 b43legacy ssb wl lib80211_crypt_tkip lib80211
       modprobe lib80211_crypt_tkip
       modprobe wl
   else
       exit 1
   fi
}
unload_module() {
   module=`lsmod 2>/dev/null | grep "wl"`
   if [ "$module" = '' ]; then  
       exit 1
   else
       rmmod wl
   fi
}


case "$1" in
 start)
   load_module
  ;;
 restart|reload|force-reload)
   echo "Error: argument '$1' not supported" >&2
   exit 3
  ;;
 stop)
   unload_module
  ;;
 *)
   echo "Cara guna: wl-check [start|stop]" >&2
   exit 3
  ;;
esac

by using this script, the wifi can't detect also,but it show disconnected..
i check the iwconfig and it showed the configuration
QUOTE
eth2 IEEE 802.11bg ESSID:""
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s Tx-Power:off
Retry min limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Managementmode:All packets received
Link Quality=5/5 Signal level=0 dBm Noise level=0 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0



btw, what is module ssb and ohci_hcd for?
why i look like the bcm43 and ssb is related?
G-17
post Dec 22 2010, 12:07 AM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
I recommend you read this. as far as I know, only the broadcom opensource driver (the one I gave instructions above) will work on Liquorix kernels.

http://www.broadcom.com/docs/linux_sta/README.txt

______________________________________________


ssb is the Sonics Silicon Backplane driver.
If you feel it conflicts, just unload it.

In terminal (add sudo if needed);
CODE
modprobe -r ssb


This post has been edited by G-17: Dec 22 2010, 12:07 AM
farkinid
post Dec 22 2010, 09:17 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


I may be repeating everything you guys have already said in this thread but the root of the problem is firmware.

QUOTE
Why do I get 'SIOCSIFFLAGS : No such file or directory' error message

Some drivers require a firmware to be loaded (b43, prism54, zd1211rw, …). The driver typically loads the firmware itself when started.
In this case, the driver didn't find it because the firmware was not in the right place or is missing from the computer. To find the firmware's correct location, read the driver documentation.
SOS

I think the next step would be to try and integrate the b43 firmware into kernel instead of using a driver to load it. To do that, a sifu here will have to show because everytime I try to mess with kernel I crash my comp.
powerwoot
post Dec 22 2010, 09:40 AM

讨厌的 ubuntu
*******
Senior Member
2,930 posts

Joined: Jan 2007
From: Kolej Universiti Agrosains Malaysia, Melaka



These almost the same case with opensuse with hp netbook run with broadcom, the iwconfig did show bcm is there but just can't be load. Installing the correct firmware into the kernel by
CODE
zypper in broadcom-wl broadcom-wl-kmp-desktop


yes, I am agree with farkinid about the firmware issue
TSscorps
post Dec 22 2010, 10:37 PM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



ok my wifi works on kernel 2.6.32 without problem.. using this configuration.. http://wiki.debian.org/wl sweat.gif

but on liquorix kernel, still can't loll


G-17
post Dec 22 2010, 11:07 PM

Securely Paranoid
******
Senior Member
1,748 posts

Joined: Mar 2010
QUOTE(farkinid @ Dec 22 2010, 09:17 AM)
I think the next step would be to try and integrate the b43 firmware into kernel instead of using a driver to load it. To do that, a sifu here will have to show because everytime I try to mess with kernel I crash my comp.
*

Compiling your own kernel isn't that hard. There's lots of documentation available online. Problem is, I think it's a beyond Scorps right now. The other problem (the main one) is, 4 out of 5 times I've incorporated bcm restricted blobs into my own self-compiled kernel, the wireless didn't still work. The new open source drivers from Broadcom might give me more cause for optimism, but I'll wait for a couple more version checks before I attempt incorporating it.

TSscorps
post Dec 22 2010, 11:21 PM

Something you call love, but I call sex
*******
Senior Member
9,572 posts

Joined: Jun 2005
From: Terengganu Darul Iman



anyways thanks to your comment and advices.. look like i will stick to old kernel for a while(2.6.32) i dont use wifi too much..
farkinid
post Dec 23 2010, 09:10 AM

Enthusiast
*****
Senior Member
997 posts

Joined: Feb 2007


QUOTE(G-17 @ Dec 22 2010, 11:07 PM)
Compiling your own kernel isn't that hard. There's lots of documentation available online. Problem is, I think it's a beyond Scorps right now. The other problem (the main one) is, 4 out of 5 times I've incorporated bcm restricted blobs into my own self-compiled kernel, the wireless didn't still work. The new open source drivers from Broadcom might give me more cause for optimism, but I'll wait for a couple more version checks before I attempt incorporating it.
*
In theory it shouldn't be that hard to recompile kernels but so far I've never been able to do it without something going wrong. I got too many personal projects to try and find out what mistakes I keep making.

Btw, where is my config for mythtv? tongue.gif

 

Change to:
| Lo-Fi Version
0.0234sec    0.46    5 queries    GZIP Disabled
Time is now: 13th December 2025 - 09:36 PM