View previous topic :: View next topic |
Author |
Message |
amphibious Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 25 Sep 2003 Posts: 174 Location: boston, massachusetts, usa
|
Posted: Wed Jan 07, 2004 4:59 am Post subject: ndiswrapper 0.3 and 0.4 don't work... (was linuxant, hp...) |
|
|
So I'm trying to get my Dell TrueMobile 1300 card running, I downloaded the drivers, installed, everything seems to work ok, but I'm not getting an internet connection (the wireless router is *literally* right next to the computer). I'm still too much of a n00b to diagnose what the problem is here... it loads fine, I've ready the FAQ and everything seems to be in order, are there any typical problems people run into? Is there a walkthrough anywhere?
Also, the linuxant driver has totally taken over my normal ethernet connection, I can put it up with ifconfig ethX up, but it doesn't grab an IP.
Anyone had any success with a TrueMobile 1300 with ndiswrapper? _________________ http://amphibio.us
Last edited by amphibious on Thu Jan 08, 2004 3:23 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
puxie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/310653144420e7a79bcd34.jpg)
Joined: 09 Mar 2003 Posts: 5 Location: Maastricht, The Netherlands
|
Posted: Wed Jan 07, 2004 5:44 pm Post subject: |
|
|
Hi,
I've got my Dell TrueMobile 1300 working just fine with Gentoo. Try using the ndis wrapper on http://ndiswrapper.sourceforge.net/ !
You should use the Broadcom 94306 driver for the TrueMobile 1300. It's verry simple to setup, but if you have any questions, please contact me!
Regards,
Erik de Wildt _________________ Let's do the gentoo! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
amphibious Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 25 Sep 2003 Posts: 174 Location: boston, massachusetts, usa
|
Posted: Wed Jan 07, 2004 9:36 pm Post subject: |
|
|
Hey, thanks a lot. I'll go check that out and post here to let you know how it goes... _________________ http://amphibio.us |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
amphibious Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 25 Sep 2003 Posts: 174 Location: boston, massachusetts, usa
|
Posted: Thu Jan 08, 2004 3:00 am Post subject: |
|
|
I'm running 2.4.20-gentoo-r9, it says in the INSTALL file that I need "at least" 2.4.23. So that may be the cause of this problem... anyway...
When I run ./install.sh (this is the same with 'make install' except it doesn't ask about the driver location) I input the location of the driver files, then I get this:
Code: | Executing make install to build the module and loadndisdriver.
make -C driver install
make[1]: Entering directory `/home/username/ndiswrapper/driver'
gcc -DTEST_PM -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.20-gentoo-r9/build/include/linux/modversions.h -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.20-gentoo-49/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
wrapper.c:1126: variable `ndis_ethtool_ops' has initializer but incomplete type
wrapper.c:1127: unknow nfield `get_link' specified in initializer
wrapper.c:1127: warning: excess elements in struct initializer
wrapper.c:1127: warning: (near initialization for `ndis_ethtool_ops')
wrapper.c: In function `setup_dev':
wrapper.c:1613: structure has no member named `ethtool_ops'
wrapper.c: At top level:
wrapper.c:1126: storage size of `ndis_ethtool_ops' isn't known
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/home/username/ndiswrapper/driver'
make: *** [install] Error 2 |
Well... I not knowledgable enough to diagnose this... :-/ Any help? _________________ http://amphibio.us
Last edited by amphibious on Thu Jan 08, 2004 3:28 am; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
amphibious Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 25 Sep 2003 Posts: 174 Location: boston, massachusetts, usa
|
Posted: Thu Jan 08, 2004 3:28 am Post subject: |
|
|
Ok, I REALLY need to get this working... so I downloaded ndiswrapper 0.3 and everything went great up until loading the Windows driver...
Code: | utils/loaddriver 14e4 4320 /home/username/.wine/fake_windows/dell/drivers/R65194/TMSetup/bcmwl5.sys /home/username/.wine/fake_windows/dell/drivers/R65194/TMSetup/bcmwl5.inf
|
Gives this result:
Code: | Calling putdriver ioctl
Unable to put driver (check dmesg for more info): Invalid Argument
|
:-/ Any ideas? _________________ http://amphibio.us |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mrchuckles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/41d88fb53d94a5d3abadf.jpg)
Joined: 09 Jul 2002 Posts: 125 Location: Severn, MD
|
Posted: Thu Jan 08, 2004 3:52 am Post subject: |
|
|
Get ndiswrapper 0.4 from the website. It was just released yesterday. It's a lot more stable than 0.3. I'm using 0.4 under 2.6.0 w/ the Intel Centrino wireless and it works great.
I had to skip the install.sh script, as it wouldn't recognize my driver's INF file. Installing manually worked just fine. The insructions in the INSTALL file are very verbose and complete. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
amphibious Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 25 Sep 2003 Posts: 174 Location: boston, massachusetts, usa
|
Posted: Thu Jan 08, 2004 4:06 am Post subject: |
|
|
Hm... yeah, I've tried 0.4 and it doesn't get passed the install.sh script. Manual install gives the same result. Check out the error message, I don't really know enough to diagnose it. _________________ http://amphibio.us |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
mrchuckles Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
![](images/avatars/41d88fb53d94a5d3abadf.jpg)
Joined: 09 Jul 2002 Posts: 125 Location: Severn, MD
|
Posted: Thu Jan 08, 2004 4:18 am Post subject: |
|
|
Have you tried using a more recent kernel? 2.4.20 isn't officially supported, and the ndiswrapper driver uses the kernel source during its compile.
You may want to ask this question on the ndiswrapper mailing list (see http://ndiswrapper.sf.net). Otherwise, I'd upgrade the kernel to 2.4.23 (use vanilla-sources or ck-sources, everything else is 2.4.22) or 2.6 (use development-sources). |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
puxie n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/310653144420e7a79bcd34.jpg)
Joined: 09 Mar 2003 Posts: 5 Location: Maastricht, The Netherlands
|
Posted: Fri Jan 09, 2004 5:07 pm Post subject: |
|
|
Hi,
I'm using a 2.6 kernel. I think the compile error is due to an unsupported kernel. But that's only a guess.
Important is that you have enabled support for the wireless lan in the kernel config:
Device Drivers -> Networking support -> Wireless Lan
Enable Wireless Lan drivers & Wireless extentions option.
You don't have to select any drivers. But to get the ndiswrapper to work you'll need to have the wireless lan drivers & wireless extentions option enabled.
I use the following code to load my driver:
Code: |
insmod /usr/local/wifi/ndiswrapper/driver/ndiswrapper.ko
/usr/local/wifi/ndiswrapper/utils/loaddriver 14e4 4320 /usr/local/wifi/driver2/bcmwl5.sys /usr/local/wifi/driver2/bcmwl5.inf
iwconfig eth1 essid puxie.nl
|
With the above lines a get a wireless connection with my accesspoint. Using /etc/init.d/net.eth1 start I initialize my wireless network connection.
The 14e4 and 4320 are the manufacturer id and pci id. To get the correct numbers for your laptop you'll have to use:
I'll think once you can compile the ndiswrapper, the rest of the setup is easy. See the README file in the ndiswrapper package for more detailed instructions.
Regards,
Erik de Wildt _________________ Let's do the gentoo! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
soda_popstar Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 03 May 2003 Posts: 177
|
Posted: Thu Jan 29, 2004 5:38 am Post subject: |
|
|
I've got the same problem ... I can't compile ndiswrapper. I have SMP disabled and Wireless LAN enabled in my kernel. I ran "make install" and it gives me this:
Code: | root@laptop ndiswrapper # make install
make -C driver install
make[1]: Entering directory `/opt/ndiswrapper/driver'
gcc -DTEST_PM -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.22-gentoo-r5/build/include/linux/modversions.h -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.22-gentoo-r5/build/include -Wall -Wstrict-prototypes -fomit-frame-pointer -fno-strict-aliasing -pipe -mpreferred-stack-boundary=2 -O2 -c -o wrapper.o wrapper.c
wrapper.c:1126: variable `ndis_ethtool_ops' has initializer but incomplete type
wrapper.c:1127: unknown field `get_link' specified in initializer
wrapper.c:1127: warning: excess elements in struct initializer
wrapper.c:1127: warning: (near initialization for `ndis_ethtool_ops')
wrapper.c: In function `setup_dev':
wrapper.c:1613: structure has no member named `ethtool_ops'
wrapper.c: At top level:
wrapper.c:1126: storage size of `ndis_ethtool_ops' isn't known
make[1]: *** [wrapper.o] Error 1
make[1]: Leaving directory `/opt/ndiswrapper/driver'
make: *** [install] Error 2
|
Running ./install.sh is the same. I'm using gentoo-sources-2.4.22-r5 trying to get an Intel Centrino working. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|