LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-30-2006, 01:21 PM   #1
Starwobble
LQ Newbie
 
Registered: May 2006
Distribution: Slackware
Posts: 11

Rep: Reputation: 0
ndiswrapper and unshield help


So, I got Slackware 10.2 installed on my computer and absolutely love it. Now, I need internet. The only way I can get on my home network is through an 802.11g PCI card. I heard about ndiswrapper and how you can use windows drivers to make wireless cards work in Linux. When I attempt to install it, I get this:

root@darkstar:~# cd /root/ndiswrapper-1.16
root@darkstar:~/ndiswrapper-1.16# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper-1.16/driver'
cc -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.31/build/include/linux/modversions.h -DUSB_DRIVER_OWNER -freg-struct-return -DDRIVER_VERSION=\"1.16\" -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.31/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -O2 -mpreferred-stack-boundary=2 -c -o hal.o hal.c
In file included from ntoskernel.h:334,
from hal.c:24:
winnt_types.h:125:2: #error "gcc 3.4 or newer should be used for compiling this module"

In file included from hal.c:24:
ntoskernel.h:698: error: syntax error before "LONG"
ntoskernel.h:699: error: syntax error before "LONG"
ntoskernel.h:700: error: syntax error before "struct"
ntoskernel.h:702: error: syntax error before "struct"
ntoskernel.h:704: error: syntax error before "struct"
ntoskernel.h:730: error: syntax error before "NTSTATUS"
ntoskernel.h:765: error: syntax error before "KIRQL"
ntoskernel.h:766: error: syntax error before "void"
ntoskernel.h:767: error: syntax error before "KIRQL"
ntoskernel.h:768: error: syntax error before "void"
ntoskernel.h:769: error: syntax error before "void"
ntoskernel.h:770: error: syntax error before "void"
ntoskernel.h:822: error: syntax error before "LONG"
ntoskernel.h:823: error: syntax error before "void"
hal.c:122: error: syntax error before "KIRQL"
hal.c:132: error: syntax error before "void"
hal.c:140: error: syntax error before "KIRQL"
hal.c:147: error: syntax error before "void"
hal.c:154: error: syntax error before "void"
hal.c:166: error: syntax error before "void"
make[1]: *** [hal.o] Error 1
make[1]: Leaving directory `/root/ndiswrapper-1.16/driver'
make: *** [all] Error 2

Even worse, when I try running unshield to get the windows drivers, I get this:

root@darkstar:~# unshield -x data1.cab
Failed to open data1.cab as an InstallShield Cabinet File

If anyone can tell me what I'm doing wrong, that'd be awesome.
Thanks in advance,
Ben
 
Old 10-01-2006, 09:09 AM   #2
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
The newest releases of ndiswrapper require a newer version of gcc than is in Slackware 10.2. You really have three options here:

1) Use an older ndiswrapper version (I use 1.10 without any trouble)
2) Wait for Slackware 11 to be released and upgrade (should happen in the near future)
3) Upgrade now to Slackware -current

Of course there is also a fourth potential option: Depending on the chipset you've got, there may be a native linux driver. This can frequently be a better choice than ndiswrapper. If you know your chipset, we might be able to point you in a proper direction.
 
Old 10-01-2006, 06:07 PM   #3
Starwobble
LQ Newbie
 
Registered: May 2006
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
I'm using a viewsonic PCI card. The chipset is: Broadcom Corporation BCM4306 802.11b/g Wireless LAN Controller (rev 03). How can I tell if there is a native linux driver for that chipset?

Thanks again,
Ben
 
Old 10-02-2006, 07:50 AM   #4
Hangdog42
LQ Veteran
 
Registered: Feb 2003
Location: Maryland
Distribution: Slackware
Posts: 7,803
Blog Entries: 1

Rep: Reputation: 416Reputation: 416Reputation: 416Reputation: 416Reputation: 416
Yes there is a native driver for that chipset (it is the same chipset I've got). The driver is called bcm43xx, and it has been included in the kernel since 2.6.17. If you're using one of the stock 10.2 kernels, you'll need to compile a new one. You'll also need to extract firmware for the bcm43xx driver. I've got instructions for doing that on my help site (see my sig for the link).

So that said, bcm43xx is a touch buggy so you might want to check out ndiswrapper as a backup to bcm43xx. Sometimes for me, bcm43xx just doesn't connect but switching to ndiswrapper does. Also, bcm43xx is currently limited to 802.11b speeds.
 
Old 10-03-2006, 12:48 AM   #5
Starwobble
LQ Newbie
 
Registered: May 2006
Distribution: Slackware
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the help! Although I haven't tried it yet, I'm pretty confident I can get it to work.

You guys are awesome,
Ben
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
errors while installing ndiswrapper-0.8.tar.gz and ndiswrapper-0.11.tar.gz itsonlyme Linux - Wireless Networking 31 05-19-2006 03:51 PM
Unshield lancasteriv Ubuntu 1 04-11-2006 11:53 AM
how do I install unshield-0.4? johnvillegas Slackware 4 03-14-2006 05:59 AM
unshield problem fozz Linux - Newbie 1 08-23-2005 02:27 PM
problem with unshield Gustaf Linux - Software 0 01-27-2005 11:59 PM


All times are GMT -5. The time now is 07:34 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration