Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to get the broadcom based wirless cards working
View unanswered posts
View posts from last 24 hours

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
swimgeek
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 124
Location: Minneapolis, MN, USA

PostPosted: Mon Oct 20, 2003 5:43 pm    Post subject: How to get the broadcom based wirless cards working Reply with quote

Linuxant recently released a software called driverloader which allows you to use your hardware's windows drivers to run on linux using a wrapper. Driverloader makes it possible to use broadcom chipset based wireless card for which there are not native linux drivers. A complete list of supported cards can be found here.

Here are the steps that I followed to get my Dell TrueMobile 1180 working on an Inspiron 4150.

1. Download the bcmwl5driverloader-1.05.tar.gz file from the linuxant website. Here's the link which takes you to the license agreement, preceding the download.

2. You will also need to obtain a license to run the driver. Currently 30 day trial licenses are available from their website. Here is the link.

3. Inflate the tar-ball and switch to that directory.
Code:

$ tar -xzvf bcmwl5driverloader-1.05.tar.gz
$ cd bcmwl5driverloader-1.05

4. su to root if you already are not.
Code:
 $ su -

5. execute "make install"
Code:
 # make install

If you received any error messages try to investigate the causes. You might need ACPI patches.

6. Point your browser to http://localhost:18020/ and proceed with the rest of the configurations steps.
Remember you will need the directory containing your windows driver (*.inf and *.sys files specifically). On my Dell Inspiron 4150, the directory was labelled R46482. You will also need the license information.

7. Your driver module should've been loaded by now. Do a lsmod to confirm.
Code:
# lsmod
Module                  Size  Used by    Tainted: P
bcmwl5driverloader     62740   0  (unused)
sr_mod                 16024   0  (autoclean) (unused)
af_packet              13224   2  (autoclean)

8. At this time "ifconfig -a" should show your wireless card
Code:
# ifconfig -a
eth1    Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          inet addr:XX.XX.XX.XX  Bcast:XX.XX.XX.XX  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:19 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5 errors:1 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:100
          RX bytes:2225 (2.1 Kb)  TX bytes:1890 (1.8 Kb)

9. To stop execute "bcmwl5stop"
Code:
 # bcmwl5stop

10. To start again reload the module.
Code:
 # modprobe bcmwl5driverloader

11. If you use dhcpcd you might need to do a "dhcpcd -k eth1" and then "dhcpcd eth1" (assuming eth1 is your wireless interface)
Code:
# dhcpcd -k eth1
# dhcpcd eth1

Hope that helps :)

Ashu
_________________
I would like to change the world,
but they won't tell me the source code.


Last edited by swimgeek on Tue Oct 21, 2003 3:13 pm; edited 2 times in total
Back to top
View user's profile Send private message
Seymour
n00b
n00b


Joined: 04 Mar 2003
Posts: 69
Location: Binghamton, New York

PostPosted: Mon Oct 20, 2003 5:50 pm    Post subject: Reply with quote

When I did this, in Redhat, in order to do step #6 i needed to install the perl CGI module. "emerge CGI" in gentoo.

PS. The reason I used Redhat is because I wanted to get up and running fast. I promise I will put gentoo on it soon. :wink:
Back to top
View user's profile Send private message
Bogo
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2002
Posts: 98

PostPosted: Mon Oct 20, 2003 6:31 pm    Post subject: Reply with quote

Linux sees that my card is there, but I just can't get an IP for it. It's a Dell Truemobile 1300 802.11g minipci card. The lspci output is:

02:03.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 02)

I don't really know much about the network here (at my University), but I know it works (since everyone else can use it =[ ), but is there anything else I need to configure? I can get any information needed.

Update:
Well I ran iwlist scan and I'm picking up access points, but I still can't get an ip. Anyone know what I'm doing wrong here?
_________________
"I know it's only rock and roll but I like it."
Back to top
View user's profile Send private message
swimgeek
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 124
Location: Minneapolis, MN, USA

PostPosted: Mon Oct 20, 2003 7:53 pm    Post subject: Reply with quote

Do you get any error messages when trying to use dhcpcd?
What's the output from iwconfig?
Also try using "dhclient", it worked for me once when dhcpcd didn't seem to work.
BTW my university uses an authentication page before I can get onto the network, but I can obtain an IP address just by using dhcpcd.

hope this helps.

Ashu
Back to top
View user's profile Send private message
Bogo
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2002
Posts: 98

PostPosted: Tue Oct 21, 2003 1:10 pm    Post subject: Reply with quote

iwconfig output:
eth1 IEEE 802.11-DS ESSID:"" Nickname:"Dell TrueMobile"
Mode:Managed Bit Rate=54Mb/s Tx-Power=14 dBm
RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality:1/1 Signal level:-10 dBm Noise level:-200 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

dhcpcd doesn't return any errors... it just run sfor awhile then quits. Never says anything. Is dhclient in the portage list anywhere?
_________________
"I know it's only rock and roll but I like it."
Back to top
View user's profile Send private message
swimgeek
Tux's lil' helper
Tux's lil' helper


Joined: 09 May 2003
Posts: 124
Location: Minneapolis, MN, USA

PostPosted: Tue Oct 21, 2003 3:18 pm    Post subject: Reply with quote

Its part of the net-misc/dhcp package. Have you tried getting it working with some other wireless network besides your university (like a coffee shop)?
Back to top
View user's profile Send private message
juangonzo2
n00b
n00b


Joined: 05 Jun 2003
Posts: 30
Location: Saginaw, Michigan, USA

PostPosted: Tue Oct 21, 2003 3:38 pm    Post subject: essid Reply with quote

you need to set your essid before running dhcpd.
iwconfig eth1 essid "my essid"
also
iwconfig eth1 enc "if you have wep enabled put something here"
Back to top
View user's profile Send private message
Bogo
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2002
Posts: 98

PostPosted: Tue Oct 21, 2003 3:49 pm    Post subject: Reply with quote

My univ doesn't use web and the essid is just ANY. No I haven't tried it anywhere else - I don't really know any other place that has wireless but I guess I could go look around.
_________________
"I know it's only rock and roll but I like it."
Back to top
View user's profile Send private message
modnemo
n00b
n00b


Joined: 10 Aug 2003
Posts: 18

PostPosted: Tue Oct 21, 2003 6:44 pm    Post subject: iwconfig Reply with quote

hey, when i run iwconfig it says eth0 does not have valid wireless extensions, but the driver loads fine through the web interface. also there don't seem to be any messages through dmesg or when i modprobe the driver... any ideas?
Back to top
View user's profile Send private message
ponyboy31
n00b
n00b


Joined: 11 Dec 2002
Posts: 14

PostPosted: Wed Oct 22, 2003 2:49 pm    Post subject: Is there a full version license for this driver? Reply with quote

It looks like this actually is working for me. But when the license expires, what do you do? Are thy going to offer full licenses for the driver? Thanks for the help and info. I have bought 3 pcmcia cards to try to get working and now it ends up that the truemobile actually works.

Chris
Back to top
View user's profile Send private message
Bogo
Tux's lil' helper
Tux's lil' helper


Joined: 04 May 2002
Posts: 98

PostPosted: Wed Oct 22, 2003 6:24 pm    Post subject: Reply with quote

Could this be my problem?
Non of the access points here support 54g, and my card is fixed at 54Mb/s because the rate setting isn't supported yet in this version of driverloader.
_________________
"I know it's only rock and roll but I like it."
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Wed Oct 22, 2003 7:40 pm    Post subject: Reply with quote

Pointing my browser to localhost fails, yes I can ping localhost, and I've also emerged CGI.
Code:
An error occured while loading http://localhost:18020/:
Could not connect to host localhost (port 18020)


I get an error when executing modprobe bcmwl5driverloader
Code:
FATAL: Error inserting bcmwl5driverloader (/lib/modules/2.6.0-test8/misc/bcmwl5driverloader.ko): Invalid module format


Perhaps this is a 2.6.0-test8 issue!

:-(
Back to top
View user's profile Send private message
ponyboy31
n00b
n00b


Joined: 11 Dec 2002
Posts: 14

PostPosted: Thu Oct 23, 2003 4:56 pm    Post subject: Reply with quote

This card seems to be working great for me. The only question that I have is that everytime I restart my pc I have to reconfigure essid and key encryption, because the values don't seem to stay saved. Anyone have an idea why this would be?
Back to top
View user's profile Send private message
andy
n00b
n00b


Joined: 08 Feb 2003
Posts: 16
Location: Pittsburgh, PA

PostPosted: Thu Oct 23, 2003 5:06 pm    Post subject: Reply with quote

I just got this working on my Linksys WPC54G card last night but haven't had enough time to play with it yet. I had previously followed a PCMCIA HOWTO from either the main Gentoo site or the forum back when I had an 11b card, and I had to back out some of the things I did for that. This time, I had to compile in the PCMCIA and Cardbus support into my kernel, where before it was built seperately somehow and used the cardmgr program. Once I disabled cardmgr and the pcmcia_core, i82365, and ds modules, it worked great!

ponyboy: I think you can add the necessary iwconfig lines to a startup script so you don't have to enter them every time. I will do it later today so I'll post back. Gentoo already saves this info somewhere for supported wireless cards, so maybe we can use that somehow.

[update]
I was using pcmcia-cs before, here is the HOWTO I think I followed: https://forums.gentoo.org/viewtopic.php?t=26716
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Thu Oct 23, 2003 8:25 pm    Post subject: Reply with quote

OK I rebooted into 2.4 kernel and I got access to http://localhost:18020, managed to upload the drivers and I'm now waiting for my licence which is taking its time arriving to my pop3 account :evil:

So it look like something is broken in my 2.6.0-test8, does anyone have any ideas why I can't access the local url and why I get this error ?

Got it working under 2.4.20-gentoo-r6 :-)

Looks like the wrapper will not work under 2.6 until they fix it, unless someone can tell me otherwise!
Back to top
View user's profile Send private message
glassjos
n00b
n00b


Joined: 26 Jul 2003
Posts: 12

PostPosted: Thu Nov 06, 2003 2:58 pm    Post subject: Reply with quote

Has anyone gotten driverloader to work with the 2.6 kernel? I installed the gentoo-dev-source version 2.6.0_beta9, and I can sucessfully configure the driver through the web interface, but it appears that the modules do not load properly. Driverloader shows up in lsmod:

driverloader 99048 0

But I don't see the usual sr_mod and af_packet. Could this have something to do with my module configuration?
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Mon Nov 10, 2003 11:16 pm    Post subject: Reply with quote

I have it succefully working with both 2.4 and 2.6, the latest driver appears to work better. I also noticed that Linuxant are providing a permanent licence to endusers for $19.95
Back to top
View user's profile Send private message
Random Task
Apprentice
Apprentice


Joined: 31 Mar 2003
Posts: 171
Location: Canada

PostPosted: Fri Nov 28, 2003 7:52 pm    Post subject: Reply with quote

ponyboy31 wrote:
This card seems to be working great for me. The only question that I have is that everytime I restart my pc I have to reconfigure essid and key encryption, because the values don't seem to stay saved. Anyone have an idea why this would be?


This is possible, you simply have to add:
Code:
essid=linksys # or whatever your essid is

to your net.ethx (or net.wlanx) file
_________________
If you can't kill something with that, it ain't supposed to die...

You're so drunk you're seeing double...
I've got two guns, one for each of ya!
-Val Kilmer as Doc Holliday, Tombstone
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Fri Nov 28, 2003 8:55 pm    Post subject: Reply with quote

Has anyone managed to get the driverloader to compile the modules in vanilla 2.4.22 kernels??

It always fails, I've emailed Linuxant but they are extremely slow responding.

I noticed the 2.4.23 kernel is out so I may try that instead :-)
Back to top
View user's profile Send private message
mutex
Tux's lil' helper
Tux's lil' helper


Joined: 04 Sep 2003
Posts: 146

PostPosted: Sat Dec 06, 2003 1:42 pm    Post subject: Reply with quote

I've done all the steps above, and still cannot get my integrated HP card in my HP laptop to get an IP address. The driver seems like it works fine.

Output of lspci | grep Broadcom:
00:09.0 Network Controller: Broadcom Corporation BCM94306 802.11g (rev 02)

Output of iwconfig:
eth1 IEEE 802.11G ESSID:"<hidden from posting>" Nickname: "mutex-mobile-gentoo"
Mode: Managed BitRate = 54Mb/s Tx-Power=16 dBm
RTS thr:off Frament thr:off
Encryption key:off
Power Management: off
Link Quality:1/1 Signal level:-10 dBm Noise level:-83 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

I also made sure I turned off WEP for now, until I can get an IP address. I'm using a Linksys WRT54G router. In the wireless advanced settings I made sure the authentication mode was set to "auto" (either auto or shared, auto allows both open and shared).

I'm trying to get an ip through the DHCP server running on the router by doing this:
dhcpcd eth1

but this always fails. Does anyone know a way to get an IP address?

One last note: Do I need to use the wlan-ng drivers for the linuxant stuff to work?

--
mutex
Back to top
View user's profile Send private message
hanzotutu
Apprentice
Apprentice


Joined: 10 Apr 2003
Posts: 170

PostPosted: Tue Dec 16, 2003 9:19 am    Post subject: Reply with quote

hi, guys,

try ndiswrapper at ndiswrapper.sf.net. it's awesome.
it's free, and my dell truemobile 1300 is running happily. :)
Back to top
View user's profile Send private message
hulk2nd
Guru
Guru


Joined: 25 Mar 2003
Posts: 512
Location: Freiburg, Germany

PostPosted: Tue Dec 16, 2003 10:04 am    Post subject: Reply with quote

did you experience any limitations until now compared to the driverloader?
Back to top
View user's profile Send private message
kenw
n00b
n00b


Joined: 02 Dec 2003
Posts: 5

PostPosted: Sun Dec 28, 2003 6:53 pm    Post subject: Reply with quote

I'm using ndiswrapper right now with my wpc54g and it works! :D I downloaded the source from http://sourceforge.net/projects/ndiswrapper, followed the readme and it worked like a charm on the first try.

Has anyone tried it with the 2.6 kernel? I've been using 2.4.22.
Back to top
View user's profile Send private message
hulk2nd
Guru
Guru


Joined: 25 Mar 2003
Posts: 512
Location: Freiburg, Germany

PostPosted: Sun Dec 28, 2003 7:12 pm    Post subject: Reply with quote

no problems with 2.6. i actually thought, it would wonly work with 2.6

greets,
hulk
Back to top
View user's profile Send private message
echo6
Guru
Guru


Joined: 04 Jan 2003
Posts: 587

PostPosted: Mon Dec 29, 2003 7:02 pm    Post subject: Reply with quote

This is a fix for 2.4.22 and 2.4.23 kernels with the linuxant driver

Code:
replace line 46 in "/usr/lib/driverloader/modules/kernelcompiler.sh".

---
remove:
v="`eval $c -v 2>&1 | tail -1`"

add:
v="`eval $c -v 2>&1 | tail -n 1`"
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum