Jump to content

USB Wireless Adaptor and Ndiswrapper


Guest amrani
 Share

Recommended Posts

Guest amrani

First off, im new to Mandriva/Mandrake but not so much to linux, although id probally call myself a n00b.

 

I just installed Mandriva 2005 Limited Edition that my poor self had to download rather than buy. Its on an x86_64 (Opteron to be exact). All my hardware is confiured and working minus the wireless adaptor. Ndiswrapper is installed correctly and configured. I tried using the GUI network configuration tool that was included, but to no avail. Now onto the fun stuff.

 

USB wireless adaptor

Belkin F5D7050 USB Wireless G Adapter

 

OS Version

Mandrake/Mandriva 2005 Limited Edition

 

NDISWRAPPER Version

Whatever came with the Download CD.

 

NDISWRAPPER Driver

The driver that came with the adapter as stated to use in the NDIS wiki

 

 

now, when i plug the adapter into my computer, and then run the hardware detection program (name is slipping my mind atm, something starting with a "d" and ends with "rake" or "riva" i believe) and then look under "Other Hardware" i see that there is a Wireless network adapter attached to the computer, so the OS is detecting it. It tells me it is made by Belkin, and that it doesnt know what module to use also that it is a USB device and its PCI id is 2 and its USB id is 2 (pci?).

 

ndiswrapper -l returns

blkwg driver installed, hardware present

 

so, ndiswrapper and the os have both detected the hardware, should be all milk and cookies?

 

iwconfig returns

lo no wireless extensions

eth1 no wireless extensions

eth2 no wireless extensions

 

wlan0 is not present

 

iwconfig wlan0 returns the above.

 

here are the steps i went through........

 

ndiswrapper -i /mnt/cdrom/Drivers/blkwg.inf

ndiswrapper -l

blkwg driver installed, hardware present

ndiswrapper -m

adding ndiswrapper module (cant remember exact output of this step but it was close to this)

modprobe ndiswraper

depmod -a

iwconfig

lo no wireless extensions

eth1 no wireless extensions

eth2 no wireless extensions

(at this point i was confused by the lack of wlan0)

iwconfig wlan0

wlan0 is not a present device

(scratched head and started over)

ndiswrapper -e blkwg

(go back to top) :wall:

 

after getting no luck with ndiswrapper, i found the rt2570 tarball (i believe its at serialmonkey.com or something like that, sorry for the bad memory but this has been over several days with school inbetween my sessions) and tried to install that.

 

after getting pissed off too much i went and took a little :zzz: :-P

 

tar -xzvf /mnt/cdrom/rt2570-cvs-daily.tar.gz

cd /root/rt2570-2006022719/Module

make

make[1] entering driectory /lib/Modules/kernel-2.6-2.6.11-6mkd/build

make[1] error /lib/modules/kernel-2.6-2.6.11-6mkd/build is does not exist as a direcotry or file

make[1] leaving directory /lib/Modules/kernel-2.6-2.6.11-6mkd/build

(scratches head and goes over to windows to get on the net)

(finds out i need the source package installed)

(installs the kernel-source-2.6-2.6.11-6mkd after much trouble, not being able to find it on the installation cd as i was told i would be able to, i downloaded a copy of rpmfind.net)

(tries again from the top with a fresh untar of the tarball only to fail again) :wall:

 

so, as you can probally tell, im completely lost. Any help is apprecieated as i would really like to remove my dependencies on Windows and switch to a full fledged linux environment.

 

Thanks in advance.

Link to comment
Share on other sites

What does an ifconfig -a return? Does it return a device called "ath0" if so, then you need to do this in /etc/modprobe.conf:

 

alias ath0 ndiswrapper

 

you will have a line that reads alias wlan0, just change the wlan0 to ath0, since atheros chipsets in mandriva default to ath0 and you can't change it to wlan0. I've tried, and I think the belkin is atheros chipset :unsure:

Link to comment
Share on other sites

Guest amrani

well, i did a fresh install of everything including the os, and now dmesg returns something to the effect of 'blkwgu is not a 64 bit driver error not loading ndiswrapper'

 

so......do i really need a 64 bit driver? i cant seem to find one for my chipset anywhere (i have also determined that i dont have the railink or the prisma chipsets so ive got the last of the 3 belkin used unfortunately)

 

im gonna try and use ndiswrapper that i download from the site rather than the one that comes with the os on the cd.

 

ill try the ath0 idea after i get ndis installed thx for the tip

Link to comment
Share on other sites

Guest amrani

ifconfig -a retruns the folowing. the eth0 is connected so that i can atleast get on the internet, but ive got this computer (the one with mandriva on it) right next to another computer so that connection will (hopefully) not be there later when i get the wireless working

 

eth0 Link encap:Ethernet HWaddr 00:01:6C:CE:04:FC

inet addr:12.221.36.14 Bcast:12.221.39.255 Mask:255.255.248.0

inet6 addr: fe80::201:6cff:fece:4fc/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:193853 errors:170 dropped:0 overruns:0 frame:170

TX packets:24515 errors:0 dropped:1 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:70922047 (67.6 Mb) TX bytes:2049631 (1.9 Mb)

Interrupt:177 Base address:0xa000

 

eth1 Link encap:Ethernet HWaddr 00:01:6C:CE:04:FD

inet6 addr: fe80::201:6cff:fece:4fd/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Interrupt:233 Base address:0xc000

 

eth2 Link encap:UNSPEC HWaddr 00-01-6C-20-00-0B-C5-65-00-00-00-00-00-00-00-00

UP BROADCAST RUNNING MULTICAST MTU:496 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

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:9 errors:0 dropped:0 overruns:0 frame:0

TX packets:9 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:867 (867.0 B) TX bytes:867 (867.0 B)

 

sit0 Link encap:IPv6-in-IPv4

inet6 addr: ::127.0.0.1/96 Scope:Unknown

UP RUNNING NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

here is the exact message dmesg gives me

 

usb 2-6: new high speed USB device using ehci_hcd and address 6

ndiswrapper version 1.0 loaded (preempt=no,smp=yes)

ndiswrapper (check_nt_hdr:145): Windows driver is not 64-bit; bad magic: 010B

ndiswrapper (load_sys_files:450): unable to prepare driver 'blkwgu'

ndiswrapper (ndiswrapper_load_driver:98): loadndiswrapper failed (6); check system log for messages from 'loadndisdriver'

usbcore: registered new driver ndiswrapper

Link to comment
Share on other sites

Guest amrani

i pretty much forced the computer to try and use an athos driver and here is the printout:

 

[root@00016cce04fc ~]# ndiswrapper -i /etc/ndiswrapper/net5211.inf

Installing net5211

[root@00016cce04fc ~]# ndiswrapper -l

Installed ndis drivers:

net5211 driver present <------------Before forced to use my hardware

[root@00016cce04fc ~]# lsusb

Bus 002 Device 004: ID 050d:705c Belkin Components <--------My wifi card

Bus 002 Device 001: ID 0000:0000

Bus 001 Device 003: ID 046d:c00e Logitech, Inc. Optical Mouse

Bus 001 Device 002: ID 046d:c01a Logitech, Inc.

Bus 001 Device 001: ID 0000:0000

[root@00016cce04fc ~]# ndiswrapper

[root@00016cce04fc ~]# ndiswrapper -d 050d:705c net5211

Driver 'net5211' is used for '050D:705C'

[root@00016cce04fc ~]# ndiswrapper -l

Installed ndis drivers:

net5211 driver present, hardware present <------------after forced to try my wifi card as its hardware

[root@00016cce04fc ~]# ndiswrapper -m

[root@00016cce04fc ~]# depmod -a

[root@00016cce04fc ~]# modprobe ndiswrapper

[root@00016cce04fc ~]# dmesg

 

*retruned nothing to do with ndiswrapper*

 

[root@00016cce04fc ~]# iwconfig

lo no wireless extensions.

 

eth0 no wireless extensions.

 

eth2 no wireless extensions.

 

eth1 no wireless extensions.

 

sit0 no wireless extensions.

 

[root@00016cce04fc ~]# ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:01:6C:CE:04:FC

inet addr:12.221.36.14 Bcast:12.221.39.255 Mask:255.255.248.0

inet6 addr: fe80::201:6cff:fece:4fc/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:42441 errors:47 dropped:0 overruns:0 frame:47

TX packets:1316 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:4054229 (3.8 Mb) TX bytes:222721 (217.5 Kb)

Interrupt:177 Base address:0xa000

 

eth1 Link encap:Ethernet HWaddr 00:01:6C:CE:04:FD

inet6 addr: fe80::201:6cff:fece:4fd/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

Interrupt:233 Base address:0xc000

 

eth2 Link encap:UNSPEC HWaddr 00-01-6C-20-00-0B-C5-65-00-00-00-00-00-00-00-00

UP BROADCAST RUNNING MULTICAST MTU:496 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

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:1 errors:0 dropped:0 overruns:0 frame:0

TX packets:1 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:93 (93.0 B) TX bytes:93 (93.0 B)

 

sit0 Link encap:IPv6-in-IPv4

inet6 addr: ::127.0.0.1/96 Scope:Unknown

UP RUNNING NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

 

 

EDIT:

 

[root@00016cce04fc ~]# ifconfig -a

eth0 Link encap:Ethernet HWaddr 00:01:6C:CE:04:FC

inet addr:12.221.36.14 Bcast:12.221.39.255 Mask:255.255.248.0

inet6 addr: fe80::201:6cff:fece:4fc/64 Scope:Link

UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1

RX packets:68377 errors:68 dropped:0 overruns:0 frame:68

TX packets:1464 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:5791022 (5.5 Mb) TX bytes:263441 (257.2 Kb)

Interrupt:177 Base address:0xa000

 

eth1 Link encap:Ethernet HWaddr 00:01:6C:CE:04:FD

inet6 addr: fe80::201:6cff:fece:4fd/64 Scope:Link

UP BROADCAST MULTICAST MTU:1500 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

Interrupt:233 Base address:0xc000

 

eth2 Link encap:UNSPEC HWaddr 00-01-6C-20-00-0B-C5-65-00-00-00-00-00-00-00-00

UP BROADCAST RUNNING MULTICAST MTU:496 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:1000

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

 

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:1 errors:0 dropped:0 overruns:0 frame:0

TX packets:1 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:93 (93.0 b) TX bytes:93 (93.0 b)

 

sit0 Link encap:IPv6-in-IPv4

inet6 addr: ::127.0.0.1/96 Scope:Unknown

UP RUNNING NOARP MTU:1480 Metric:1

RX packets:0 errors:0 dropped:0 overruns:0 frame:0

TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

collisions:0 txqueuelen:0

RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

 

 

i just noticed this eth2??? i only have 2 ethernet ports. Could this be my device? it says "RUNNING" in it, which only my active ports say? is is it possible that its set up there?

Edited by amrani
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...