LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Laptop and Netbook (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/)
-   -   NDISwrapper in Fedora using Dell TrueMobile 1300 (https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/ndiswrapper-in-fedora-using-dell-truemobile-1300-a-125571/)

jermyandhisbass 12-13-2003 03:28 PM

NDISwrapper in Fedora using Dell TrueMobile 1300
 
Can anyone who has successfully gotten NDISwrapper working please give me some help. I am enable to get the card to connect to the access point. The AP is open and shows up in the iwlist eth1 scan. I would also like to know what I have to do to get the driver to start automatically at start up. Any help would be greatly appreciated.

jatinderdua 12-26-2003 10:35 PM

I could manage to do it. you would have to follow the exact procedure as mentioned in the README file that you get in the tar package of the ndiswrapper. if you are stuck at any particular place, let me know and I will try to answer. I havent been able to automate the loading driver part yet though.

nb000gt 01-02-2004 01:13 AM

i am trying to get my card to work right and it isn't...it's actually becoming a huge pain in the ass. I got the linuxant driverloader to work but it screwed up once i rebooted my system so i say f-that and i'm going with ndisloader
i've used the install.sh script to install it and i've done it the way it says in the readme bypassing the install.sh and it comes up as eth1
then once i get that setup i do the iwconfig stuff
that is all set and i do the iwlink eth1 scanning and it gives me information
but if i do iwlink eth1 ap it tells me that it does not have anything in it's list...

also when i so ifup eth1 it tells me that the config is not found
i'm using Fedora Core 1 and am lost
i need help please
thank you

- nc

roguefalcon 01-05-2004 09:38 PM

I got this working by following the NDISWrapper README on a Dell Inspiron 1100 with a TrueMobile 1300 802.11b/g wireless PCMCIA network card using Fedora 1.0 the very first time I tried it. Now I have had an enourmous amount of trouble getting it to work again.

Trying to get it to work on start up so I ended up adding all of the steps in the README to the /etc/rc.d/rc.local and then setting up the ethernet card as a Myrnet card in the redhat-config-network util. That is how I got it to work to begin with.

I then hand edited the /etc/sysconfig/network-scripts file to include my essid and wep key:

ESSID=LinkSYS
KEY=**********

Obviously ********** is my wep key. I am worried that someone in the nashville area will drive by and break my ultra secure linksys wireless router ;)

I still have not got it to work since my initial attempt. I saw google.com on the first try so I know everything worked (dhcp even).

roguefalcon 01-06-2004 02:39 AM

Well, I am lucky enough to have two of the exact same laptops where I work so I bought a 2 litter of Diet Mt. Dew and totally formatted and installed one of them from scratch. Here is how I set it up regarding the wireless network card.

I installed the ndiswrapper (http://sourceforge.net/projects/ndiswrapper/) and followed its instructions. NOTE: I did not totally follow it's instructions on the 'Automate' section. That screwed me up last time.

This step-by-step walk through is for Fedora CORE 1.0 using a Dell Inspiron 1100 with the PCMCIA Dell TrueMobile 1300 (BroadCom BCM94306) 802.11b/g wireless network card. I have an integrated 10/100 that is eth0 so the wlan card is eth1. I had a lot of trouble getting this stupid thing to work but here are the steps that finally got the results I wanted.

I burned the driver to a CD and then untared it and here are the commands I issued (linuxquestions.org's forum messed some of this up):

tar zxvf ndiswrapper.tar.gz
cd ndiswrapper
make
insmod driver/ndiswrapper.o
cd utils
make
cp loaddriver /sbin/.
lspci
lspci -n (to find my vendor [14e4] and device [4320] numbers as the README explains)
mount /mnt/cdrom ( I placed the Dell TrueMobile Driver disk in the cdrom first)
cp /mnt/cdrom/Setup/bcmwl5.* .
loaddriver 14e4 4320 bcmwl5.sys bcmwl5.inf (my wlan cards power led turned on)
vi /etc/sysconfig/network-scripts/ifcfg-eth1

# Broadcom Corporation|BCM94306 802.11g
# These settings are from the way I configured my wireless router
DEVICE=eth1
BOOTPROTO=dhcp
ONBOOT=yes
TYPE=Wireless
ESSID=linksys
KEY=5136AS7F81
CHANNEL=1
GATEWAY=192.168.2.1

iwconfig (look for your wlan card)
iwconfig eth1 mode Managed
iwconfig eth1 key 5136AS7F81
iwconifg eth1 essid linksys
ifup eth1 (I got an error but then it said '... done' and I knew)
ifconfig (make sure it is in the list)
ping 192.168.2.1 (when this worked I instantly went to google.com to make sure that it was working and Viola! it was)

Now we still need to make it work after we reboot.

I currently do this by issuing the following in /etc/rc.d/rc.local

ifdown eth1
rmmod ndiswrapper
insmod /root/ndiswrapper/driver/ndiswrapper.o
loaddriver 14e4 4320 /root/bcmwl5.sys /root/bcmwl5.inf
ifup eth1

NOTE: Kudzu ran the first time I rebooted and tried to reconfigure my eth0 as eth1 and that really screwed me up. Do not let the "hardware wizard" get you! Click 'Do Nothing' and then disable it from starting again (Hat->System Settings->Server Settings->Services).

I tried to copy the ndiswrapper.o into the /libs/modules/2.4Something directory and issuing depmod -a but that caused errors. I am not sure why and I have decided that it is really not that important. It is 2:40am and I beat the laptop! It only took me 9 hours.

kurgan.dk 01-18-2004 09:21 AM

it seems like all wlan setups on linux are based on wep?

but Im using wpa-psk (should be more secure?) but how am I supposed to configure that on linux? (mandrake)

thanks

yraen69 01-19-2004 04:41 AM

If you dont know VI editor , press INS to be able to edit stuff then Press ESC when you are done ... it will sit there and wait type in :wq and it will save and exit. we need to get it going every boot up...

in the terminal

vi /etc/sysconfig/network-scripts/ifcfg-eth1

# YOUR WIRELESS CARD NAME HERE
# These settings are from the way I configured my wireless router
DEVICE=eth1
BOOTPROTO=dhcp
onBOOT=yes
TYPE=Wireless
ESSID=SMC
KEY=WHATEVER
CHANNEL=1
GATEWAY=192.168.1.1

exit VI editor

type in terminal
iwconfig (look for your wlan card)
iwconfig eth1 mode Managed
iwconfig eth1 key WHATEVER
iwconifg eth1 essid WHATEVER
ifup eth1 (I got an error but then it said '... done' and I knew)
ifconfig (make sure it is in the list)
ping 192.168.1.1 (when this worked I instantly went to google.com to make sure that it was working and Viola! it was)

Now we still need to make it work after we reboot.

I currently do this by issuing the following in /etc/rc.d/rc.local

ifdown eth1
rmmod ndiswrapper
insmod /root/ndiswrapper/driver/ndiswrapper.o
loadndisdriver xxxx yyyy /lib/windrivers/aaaa.sys /lib/windrivers/bbbb.inf
ifup eth1

if something goes wrong at any stage after this just type ifup eth1 in the console..

configured two of these now... the second one choose eth0 as default so try substituting eth0 for eth1 if you are having troubles.

also get kwifi manager

kurgan.dk 01-19-2004 05:31 AM

thanks I will try that.

what about having multiple setups/networks?

ie. at home im using setup 1, and at work Im using setup 2 etc.?

yraen69 01-19-2004 06:08 AM

Get Kwifi Manager from rpmfind.net ... the rpm for red hat 9 installs fine and has the ability to store 4 profiles using different wep keys , ip's , ssid's etc.

AlteZza2k2 02-16-2004 04:31 PM

hello, im desparatly trying to get this wrapper to work however, im having problems on the make. when i type make, this is what i get.

bash-2.05b# make
make -C driver
make[1]: Entering directory `/root/ndiswrapper/driver'
cc -DTEST_PM -DEXPORT_SYMTAB -DMODVERSIONS -include /lib/modules/2.4.22/build/include/linux/modversions.h -DLINUX -D__KERNEL__ -DMODULE -I/lib/modules/2.4.22/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 `/root/ndiswrapper/driver'
make: *** [all] Error 2
bash-2.05b#


can anyone help me to resolve my problem? thanks.

Diamshh01 02-18-2004 06:46 AM

juste found the answer:
you have to get ndiswrapper v3 instead of v4.

works fine !

or update your kernel...

AlteZza2k2 02-18-2004 01:43 PM

well using version 3, i was able to get the link working perfectly. i can establish a link to the accesspoint and when i look in iwconfig it even shows some tx/rx activity, however, the only think i get for ifconfig is an inet6 address. i dont get an ipaddress. im guessing this is an ipv6 address? well anyways, is there any way i can get this to work? should i remove ipv6 from my kernel? im so close, i can taste the wireless....:)

hussain786 03-04-2004 11:41 AM

hey
i'm havin trouble settin up ndiswrapper for the dell truemobile 1300 on a inspiron 1100 using fedore 1.0...when i type " /utils/loaddriver ..." it says device not found..and it cant load the driver cause of that..any suggestions?


All times are GMT -5. The time now is 04:05 AM.