LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   Belkin 54g wireless card w/ ndiswrapper 1.2 (https://www.linuxquestions.org/questions/linux-wireless-networking-41/belkin-54g-wireless-card-w-ndiswrapper-1-2-a-371972/)

chylde 10-11-2005 01:23 PM

Belkin 54g wireless card w/ ndiswrapper 1.2
 
Hello

I've been using linux for quite awhile, and am loving it. I have a Belking 54g wireless card and am trying to install ndiswrapper v 1.2. I've looked everywhere and can't find a thread that actually fits my question.

I am running the 2.6.9-1.667 stk16 kernel, when i run make i get this Warning message, and yes i do have the source for the stk16 kernel installed.
[root@localhost ndiswrapper-1.2]# make
make -C driver
make[1]: Entering directory `/home/chylde/ndiswrapper-1.2/driver'
make -C /lib/modules/2.6.9-1.667.stk16/build SUBDIRS=/home/chylde/ndiswrapper-1.2/driver \
NDISWRAPPER_VERSION=1.2 \
EXTRA_VERSION= modules
make[2]: Entering directory `/lib/modules/2.6.9-1.667.stk16/build'
Building modules, stage 2.
MODPOST
Warning: could not find versions for .tmp_versions/ndiswrapper.mod
make[2]: Leaving directory `/lib/modules/2.6.9-1.667.stk16/build'
make[1]: Leaving directory `/home/chylde/ndiswrapper-1.2/driver'
make -C utils
make[1]: Entering directory `/home/chylde/ndiswrapper-1.2/utils'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/chylde/ndiswrapper-1.2/utils'

and this is the out put for make install, any help would be appreciated.

[root@localhost ndiswrapper-1.2]# make install
make -C driver install
make[1]: Entering directory `/home/chylde/ndiswrapper-1.2/driver'
make -C /lib/modules/2.6.9-1.667.stk16/build SUBDIRS=/home/chylde/ndiswrapper-1.2/driver \
NDISWRAPPER_VERSION=1.2 \
EXTRA_VERSION= modules
make[2]: Entering directory `/lib/modules/2.6.9-1.667.stk16/build'
Building modules, stage 2.
MODPOST
Warning: could not find versions for .tmp_versions/ndiswrapper.mod
make[2]: Leaving directory `/lib/modules/2.6.9-1.667.stk16/build'
mkdir -p /lib/modules/2.6.9-1.667.stk16/misc
install -m 0644 ndiswrapper.ko /lib/modules/2.6.9-1.667.stk16/misc
/sbin/depmod -a
make[1]: Leaving directory `/home/chylde/ndiswrapper-1.2/driver'
make -C utils install
make[1]: Entering directory `/home/chylde/ndiswrapper-1.2/utils'
install -D -m 755 loadndisdriver /sbin/loadndisdriver
install -D -m 755 ndiswrapper /usr/sbin/ndiswrapper
install -D -m 755 ndiswrapper-buginfo /usr/sbin/ndiswrapper-buginfo

NOTE: Windows driver configuration file format has changed since 1.0-rc2. You must re-install Windows drivers if they were installed before.
make[1]: Leaving directory `/home/chylde/ndiswrapper-1.2/utils'
mkdir -p -m 0755 /usr/share/man/man8
install -m 644 ndiswrapper.8 /usr/share/man/man8

Any help would be appreciated. Thanks. ;)

johndoe0028 10-11-2005 02:42 PM

There are no error messages. :)

Hangdog42 10-11-2005 02:43 PM

I actually think you're in good shape. The warnings are just that, warnings. That usually means that nothing fatal has happened, but there may be some odd behaviour. Or there may not be odd behavior. At this point I would go ahead and install the Windows drivers and see if you can get it working.

Agentvenom 10-11-2005 03:09 PM

I get errors about "kernel-version not defined" and junk like that when I have to redo my ndiswrapper...but I just go ahead and it works flawlessly anyways. I would try to install it anyways and see what you get. You can remove ndiswrapper if it doesn't work and try again.

chylde 10-12-2005 08:26 PM

Thanks, I went ahead w/ installing the windows driver, the drivers are present, but the device is not regonized, nor is wlan0 located anywahere, this is the output for dhcp config of wlan0.

[root@localhost chylde]# /sbin/dhclient wlan0
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

sit0: unknown hardware address type 776
/sbin/dhclient-script: configuration for wlan0 not found. Continuing with defau
lts.
/etc/sysconfig/network-scripts/network-functions: line 47: wlan0: No such fileo
r directory
SIOCSIFADDR: No such device
wlan0: unknown interface: No such device

The sit0 make me think that is what the device was named instead.

The kernel module is present. I tried this and got this:
[root@localhost chylde]# whereis ndiswrapper loadndisdriver wlan0 radio_averatec-5110hx
ndiswrapper: /usr/sbin/ndiswrapper /etc/ndiswrapper /usr/share/man/man8/ndiswrapper.8
loadndisdriver: /sbin/loadndisdriver
wlan0:
radio_averatec-5110hx:

[root@localhost chylde]# /usr/sbin/ndiswrapper -l
Installed ndis drivers:
bcmwl5 driver present

Thanks in advance. :)

EDIT:
[root@localhost ndiswrapper-1.2]# cat /etc/modprobe.conf
alias eth0 8139too
alias snd-card-0 snd-via82xx
options snd-card-0 index=0
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx && /usr/sbin/alsactl restore >/dev/null 2>&1 || :
remove snd-via82xx { /usr/sbin/alsactl store >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-via82xx
alias usb-controller uhci-hcd
alias wlan0 ndiswrapper

it's showing up in my modprobe.conf file, may need to use a different version of the windows driver?

Agentvenom 10-12-2005 09:07 PM

Sounds like you have the wrong driver. I know the bcmwl5 is a broadcom driver, because it's the one I use for my broadcom card. I haven't checked the list, but are you sure it's compatible? Usually if you get driver present but it doesn't say hardware present, then the driver is wrong. I'd try to find a different driver that is supported and see what you get.

Hangdog42 10-13-2005 07:39 AM

Belkin is all over the map with the chipsets that this card uses. You really need to have a look through the ndiswrapper wiki and match your card model to the driver. If it is one of the Broadcom chipset cards, it looks as if the bcmwl5a driver seems to work better. But do be aware that some of the more recent Belkin cards don't use a Broadcom chipset at all.

By the way, sit0 is the IPv6 interface. It just means that your kernel has IPv6 activated. It can be safely ignored unless you are on an IPv6 network.

chylde 10-13-2005 11:28 AM

I thought most of them used braodcom, the wiki says about the bcmwl5a.inf. The part # F5D7010, which is suppose to use the broadcom driver. I'll try and find the other .inf file. They come w/ the 98 driver set I believe. Thanks. :)

I am getting the setup files from the belkin website, the 98/SE didn't contain bcmwl5a.ntf, or .ini. I'll try searching them all I suppose.

It seems Belkin has changed the chipset, mine is version 3001, haven't been able to locate what chipset it has tho, so if anybody runs across it... if you would be so kind as to post it. :)

I may just be out of luck, that's going to suck. =/ The Wiki said, "VER.4100" to work w/ no hitch, using the bcmwl5 drivers from the install disc, hopefully, i'll get it to work. Also I am having trouble extracting the the files from the disc.

The chipset is the Ralink RT2500 series, none of the drivers I DL from Belkin.com work. Files in all of the ones I downloaded are, bcmwl5.ntf, renamed the extenstion .inf, and bcmwl5.sys.

Well I got it to detect the card, used the rt2500.inf, under R's on the Wiki, they have a link to the driver. The lights still aren't working, haven't tried configuring wlan0.

Output for iwconfig of wlan0:

wlan0 IEEE 802.11g ESSID:"HotelWorks"
Mode:Managed Frequency:2.447 GHz Access Point: 00:A0:C5:EE:3A:59
Bit Rate:11 Mb/s Tx-Power:20 dBm Sensitivity=-120 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:-63 dBm Noise level:-256 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:15 Invalid misc:216 Missed beacon:0

ifconfig:

eth0 Link encap:Ethernet HWaddr 00:08:02:05:1F:DE
inet addr:10.61.32.104 Bcast:10.61.33.255 Mask:255.255.254.0
inet6 addr: fe80::208:2ff:fe05:1fde/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3564 errors:0 dropped:0 overruns:0 frame:0
TX packets:3440 errors:0 dropped:0 overruns:0 carrier:0
collisions:4 txqueuelen:1000
RX bytes:1350672 (1.2 MiB) TX bytes:471031 (459.9 KiB)
Interrupt:11 Base address:0x1400

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2309 errors:0 dropped:0 overruns:0 frame:0
TX packets:2309 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2248629 (2.1 MiB) TX bytes:2248629 (2.1 MiB)

wlan0 Link encap:Ethernet HWaddr 00:11:50:65:2B:BF
inet addr:10.61.32.106 Bcast:10.61.33.255 Mask:255.255.254.0
inet6 addr: fe80::211:50ff:fe65:2bbf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3392 errors:0 dropped:0 overruns:0 frame:0
TX packets:15 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:183883 (179.5 KiB) TX bytes:1574 (1.5 KiB)
Memory:fbbfe000-fbbfffff

and dmesg:

ndiswrapper version 1.2 loaded (preempt=no,smp=no)
ndiswrapper: driver rt2500 (Ralink Technology, Inc.,06/10/2004, 2.02.06.0000) loaded
PCI: Enabling device 0000:02:00.0 (0000 -> 0002)
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:02:00.0 to 64
ndiswrapper: using irq 11
divert: allocating divert_blk for wlan0
wlan0: ndiswrapper ethernet device 00:11:50:65:2b:bf using driver rt2500, configuration file 1814:0201.5.conf
wlan0: encryption modes supported: WEP, WPA with TKIP, WPA with AES/CCMP
wlan0: no IPv6 routers present

can't ping my router, any ideas?

Sorry about the edits, and such a lengthy post, w/o any replies, I get this error message when I run iwconfig.....

[root@localhost chylde]# /sbin/iwconfig wlan0
Warning: Driver for device wlan0 recommend version 18 of Wireless Extension,
but has been compiled with version 16, therefore some driver features
may not be available...

wlan0 IEEE 802.11g ESSID:off/any
Mode:Auto Frequency:2.412 GHz Access Point: 00:00:00:00:00:00
Bit Rate:54 Mb/s Tx-Power:20 dBm Sensitivity=-110 dBm
RTS thr:2347 B Fragment thr:2346 B
Encryption key:off
Power Management:off
Link Quality:100/100 Signal level:146/154 Noise level:0/154
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:1 Missed beacon:0

The warning, is talking about the stack size of my kernel?

Finally, the warning doesn't seem to cause any problems, just had to add the config files.
Ty for all the help :).


All times are GMT -5. The time now is 08:42 PM.