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 - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-28-2011, 02:42 PM   #1
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Rep: Reputation: Disabled
m-a a-i broadcom-sta


The OS is Debian-Sid, the kernel is 2.6.38.
Code:
luzer$ lspci | grep -i wireless
04:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
According to the debian wiki i got two choices:
either:
firmware-brcm80211
or:
m-a a-i broadcom-sta

firmware-brcm80211 is very unstable (the connection goes down all the time), so i tried broadcom-sta.
I got this error-message:
Code:
make[2]: Entering directory `/home/m1arkust/Data/Build/Kernel/Linux/linux-source-2.6.38'
  CC [M]  /usr/src/modules/broadcom-sta/amd64/src/shared/linux_osl.o
  CC [M]  /usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.o
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:277:5: warning: "WIRELESS_EXT" is not defined
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c: In function ‘wl_if_setup’:
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c:378:5: warning: "WIRELESS_EXT" is not defined
/usr/src/modules/broadcom-sta/amd64/src/wl/sys/wl_linux.c: In function ‘wl_tkip_keyset’:
I ran "make menuconfig and searched for "WIRELESS_EXT", but i can't find it (it is mentioned in concuntion with "GELIC", but no where to be found -> Device -> Network -> Ethernet 1000 -> PS3, no PS3 to be found).
I installed a default debian repo kernel, and "m-a a-i broadcom-sta" worked fine.
Code:
luzer$ grep WIRELESS_EXT /boot/config-2.6.38-localmodconfig-mt-0 
# CONFIG_WIRELESS_EXT_SYSFS is not set
luzer$ grep WIRELESS_EXT /boot/config-2.6.38-1-amd64 
CONFIG_WIRELESS_EXT=y
# CONFIG_WIRELESS_EXT_SYSFS is not set
luzer$
So, to make it short:
Where exactly can i set "WIRELESS_EXT" ?

On another note: why is my card said to be eth1, and not wlan0?
Is that correct?

thanks

Last edited by j1alu; 03-28-2011 at 02:49 PM.
 
Old 03-28-2011, 02:46 PM   #2
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Which broadcom-sta packages have you installed? Check with
Code:
dpkg -l 'broadcom-sta*'
I'm running 2.6.37-4 and used the
Code:
m-a a-i broadcom-sta
and it worked great for me.

Kind regards,

Eric
 
Old 03-28-2011, 02:46 PM   #3
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Honestly if I were having this problem, the first place I would be looking at is in the wl_linux.c file, lines 277 and 378. I would use vim, and then do a search within that file for WIRELESS_EXT and go from there.
 
Old 03-28-2011, 02:49 PM   #4
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Wireless Extensions should be under Networking Support -> Wireless -> Wireless Extensions. It is a generic configuration, and doesn't appear under a specific device. Make sure it is enabled and being built into the kernel.

As for the interface names, it depends on the driver being used. The interface names can be whatever the driver developer wants, sometimes they are wlan, sometimes it is eth. Some other drivers, like for Ralink, use their own naming schemes.
 
Old 03-28-2011, 03:04 PM   #5
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Original Poster
Rep: Reputation: Disabled
EricTRA, i got:
Code:
luzer$ dpkg -l | grep broadcom
ii  broadcom-sta-common                         5.100.82.38-1                   Common files for the Broadcom STA Wireless driver
ii  broadcom-sta-modules-2.6.38-1-amd64         5.100.82.38-1+2.6.38-1          broadcom-sta modules for Linux (kernel 2.6.38-1-amd64)
ii  broadcom-sta-source                         5.100.82.38-1                   Source for the Broadcom STA Wireless driver
I did not have those problems with a 32-system.

MS3FGX, if i go there i got this:
http://img830.imageshack.us/img830/2...enuconfigr.png
and if i search for WIRELESS_EXT i get this:
http://img857.imageshack.us/img857/4...irelessext.png
If i search for GELIC i get the path from above, but no PS3 there.

eth or wlan i understand now. thanks
 
Old 03-29-2011, 09:55 PM   #6
j1alu
Member
 
Registered: Apr 2009
Distribution: debian gnu/linux
Posts: 798

Original Poster
Rep: Reputation: Disabled
I had to choose:
CONFIG_HOSTAP
and that selected CONFIG_WIRELESS_EXT, so i could run "m-a a-i broadcom-sta".
I found the solution here:
http://forums.gentoo.org/viewtopic-t...9-start-0.html
Code:
ROOT# grep WIRELESS_EXT /boot/config-2.6.38-localmodconfig-1
CONFIG_WIRELESS_EXT=y
# CONFIG_WIRELESS_EXT_SYSFS is not set
ROOT#


thanks again.

Last edited by j1alu; 03-29-2011 at 10:50 PM.
 
Old 03-30-2011, 01:09 AM   #7
EricTRA
LQ Guru
 
Registered: May 2009
Location: Gibraltar, Gibraltar
Distribution: Fedora 20 with Awesome WM
Posts: 6,805
Blog Entries: 1

Rep: Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297Reputation: 1297
Hi,

Glad to hear you've found a solution and thanks for sharing it.

Kind regards,

Eric
 
Old 03-30-2011, 05:56 AM   #8
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Quote:
Originally Posted by j1alu View Post
I had to choose:
CONFIG_HOSTAP
and that selected CONFIG_WIRELESS_EXT, so i could run "m-a a-i broadcom-sta".
I found the solution here:
http://forums.gentoo.org/viewtopic-t...9-start-0.html
Code:
ROOT# grep WIRELESS_EXT /boot/config-2.6.38-localmodconfig-1
CONFIG_WIRELESS_EXT=y
# CONFIG_WIRELESS_EXT_SYSFS is not set
ROOT#
thanks again.
I knew it was going to be something like that, but I didn't know where exactly to look. Glad you found it and fixed it!

Cheers,

Josh
 
  


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
[SOLVED] broadcom-sta loads but does nothing AlvaroG Slackware 21 11-07-2010 06:49 PM
[SOLVED] ubuntu 10.04 (64-bit) wireless issues (broadcom STA driver) bbb125 Linux - Newbie 5 08-20-2010 09:15 AM
[SOLVED] broadcom-sta won't build with 2.6.33.1 kernel mdynac Slackware 14 05-11-2010 11:24 PM
broadcom-sta driver won't build on 2.6.32-trunk-amd64 war1025 Debian 1 01-24-2010 10:46 PM
How to install broadcom 4322 sta driver for backtrack 3? klienes Linux - Wireless Networking 1 11-12-2009 07:13 AM

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

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