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 > 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 09-10-2004, 10:33 PM   #1
pfatts
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Rep: Reputation: 0
ndiswrapper throws syntax error when I try to run with my .inf file


Wireless card: Motorola WPC1810G
Driver: bcmwl5.inf

command

$ndiswrapper -i </bcmwl5.inf>

output

bash: syntax error near unexpected token 'newline'

I'm pretty sure the error is in the driver file, but I was curious if there are any ideas for a work around. Thanks for any help.
 
Old 09-11-2004, 12:16 AM   #2
slackman
Member
 
Registered: Mar 2003
Distribution: Slack 9.0
Posts: 123

Rep: Reputation: 15
chipset of the card? lspci output?
your inf file output
 
Old 09-11-2004, 12:29 AM   #3
pfatts
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Broadcom BCM 4306/2050 is the chip set I don't hav lspci available and don't know what you mean by the inf output
 
Old 09-12-2004, 03:59 AM   #4
slackman
Member
 
Registered: Mar 2003
Distribution: Slack 9.0
Posts: 123

Rep: Reputation: 15
where did u get the inf file form?
i would suggest downloading it from the manufacturer's site.
no LSPCI available? run lspci as root
 
Old 09-12-2004, 05:05 PM   #5
pfatts
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
Update. I have tinkered with it a little. I got ndiswrapper to run, but the installed driver now lists that the hardware is not present. Running lspci gives the following (paraphrased). Linux box not connected.

01:04.0 Network Controler: Broadcom BCM94306 802.11G (ver 3)
Subsystem: Motorola: unknown device 7010
Interrupt: pin A routed to IRQ11
 
Old 09-12-2004, 06:55 PM   #6
slackman
Member
 
Registered: Mar 2003
Distribution: Slack 9.0
Posts: 123

Rep: Reputation: 15
run lspci -n (it will show you numeric id's) write those numbers down and then open your bcmwl5.inf file and replace the vendor id and product id there if they're different. then do everything the same and it should work.
 
Old 09-15-2004, 11:00 AM   #7
pfatts
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I have it working now. It basically amounted to a lot of small lapses by me. That coupled with the fact that Fedora does not use wlan0 so there was a bit of work to do.

Thanks
 
Old 10-01-2004, 03:19 PM   #8
Livewire_T
LQ Newbie
 
Registered: May 2004
Posts: 7

Rep: Reputation: 0
Hmm...

I''m having a similar problem.

I tried opening bcmwl5.inf, but it's a binary file. bcmwl5a.inf is a text file, but it doesn't have any place for the product id or vendor id.
 
Old 10-01-2004, 04:04 PM   #9
pfatts
LQ Newbie
 
Registered: Sep 2004
Posts: 6

Original Poster
Rep: Reputation: 0
I ended up not changing those. My issues came from running ndiswrapper in a different directory that it was supposed to be run. Also, if you are using fedora you need to search for a webpage that details the steps you need to take to get Fedora to recognize wlan0. I don't have the URL anymore or I would post it. Hope this helps a little.
 
  


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
problem with BMC4318. After installing bcmwl5.inf, modprobe ndiswrapper gives error. jnummela Linux - Wireless Networking 17 11-30-2005 06:58 PM
can't modprobe ndiswrapper with .inf driver installed Andrew Skinner Linux - Wireless Networking 2 06-25-2005 08:10 AM
got a syntax error which shows unexpected end of line when tried to run a shell scrip racer_mec Linux - Newbie 1 01-10-2005 01:43 AM
cp: cannot stat; while installing inf via ndiswrapper lostlyre Linux - Software 17 05-01-2004 01:53 AM
Expect script throws "open(slave pty): bad file number" error KNut Linux - Newbie 0 02-24-2004 12:24 PM

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

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