Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
D-Link wireless card and ndiswrapper
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
AeroIllini
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 94

PostPosted: Thu Jan 27, 2005 9:19 pm    Post subject: D-Link wireless card and ndiswrapper Reply with quote

I am having some problems getting my D-Link DWL-G510 card working with ndiswrapper. It has worked before, with an older version of ndiswrapper, but my first setup was kind of hit-or-miss, and I don't remember what configuration I had before. I have been all over the forums and haven't seen anything that might help (if I missed a post, by all means point it out.)

I recently did a world update emerge, and since there was a new version of ndiswrapper available, I went ahead and updated it. The new version gave me kernel panics, however, and now I am caught in the quagmire of getting my wireless card to work at all.

Ndiswrapper seems to be working properly, but it still will not detect the card.

Some pertinent information:

From the command line:

Code:

[root] ~ $ lsmod
Module                  Size  Used by    Tainted: P
sr_mod                 14776   0  (autoclean) (unused)
ide-cd                 29668   0  (autoclean)
cdrom                  26948   0  (autoclean) [sr_mod ide-cd]
ide-scsi                9680   0
sg                     27644   0  (unused)
scsi_mod               82084   3  [sr_mod ide-scsi sg]
ndiswrapper           112280   0
nvidia               4585932   6

[root] ~ $ ndiswrapper -l
Installed ndis drivers:
mrv8ka51        present

[root] ~ $ lspci
0000:00:00.0 Host bridge: Silicon Integrated Systems [SiS] SiS645 Host & Memory & AGP Controller (rev 01)
0000:00:01.0 PCI bridge: Silicon Integrated Systems [SiS] 5591/5592 AGP
0000:00:02.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
0000:00:02.2 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
0000:00:02.3 USB Controller: Silicon Integrated Systems [SiS] 7001 (rev 07)
0000:00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0)
0000:00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
0000:00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
0000:00:0a.0 Ethernet controller: Galileo Technology Ltd.: Unknown device 1fa6 (rev 07)  <-- Wireless card
0000:00:0d.0 Ethernet controller: Standard Microsystems Corp [SMC] 83C170QF (rev 08)     <-- Wired card
0000:01:00.0 VGA compatible controller: nVidia Corporation NV17 [GeForce4 MX420] (rev a3)

[root] ~ $ lspci -n
0000:00:00.0 Class 0600: 1039:0645 (rev 01)
0000:00:01.0 Class 0604: 1039:0001
0000:00:02.0 Class 0601: 1039:0008
0000:00:02.2 Class 0c03: 1039:7001 (rev 07)
0000:00:02.3 Class 0c03: 1039:7001 (rev 07)
0000:00:02.5 Class 0101: 1039:5513 (rev d0)
0000:00:05.0 Class 0401: 13f6:0111 (rev 10)
0000:00:09.0 Class 0401: 1274:5880 (rev 02)
0000:00:0a.0 Class 0200: 11ab:1fa6 (rev 07)  <-- Corresponds to Marvell W8300 driver
0000:00:0d.0 Class 0200: 10b8:0005 (rev 08)
0000:01:00.0 Class 0300: 10de:0172 (rev a3)

[root] ~ $ ls -l /etc/ndiswrapper/mrv8ka51/
total 312
-rw-r--r--  1 root root    902 Jan 26 22:58 11AB:1FA6.conf
-rw-r--r--  1 root root    902 Jan 26 22:58 11AB:1FA7.conf
-rw-r--r--  1 root root    902 Jan 26 22:58 11AB:1FA7:1043:108F.conf
-rw-r--r--  1 root root    902 Jan 26 22:58 11AB:1FA7:1043:128F.conf
-rw-r--r--  1 root root    902 Jan 26 22:58 11AB:1FA7:1043:138E.conf
-rw-r--r--  1 root root    902 Jan 26 22:58 11AB:1FA7:1043:138F.conf
-rw-r--r--  1 root root    902 Jan 26 22:58 11AB:1FA7:2A1B:103C.conf
-rw-------  1 root root  22220 Jan 26 22:58 mrv8ka51.inf
-rw-r--r--  1 root root 258432 Jan 26 22:58 mrv8ka51.sys

[root] ~ $ /etc/init.d/net.wlan0 start
 * Starting wlan0
 *    Bringing up wlan0
 *       Configuration not set for wlan0 - assuming dhcp
 *       dhcp
 *          wlan0 does not exist                                                              [ !! ]

[root] ~ $ dmesg | grep ndiswrapper
ndiswrapper version 1.0rc4 loaded (preempt=yes,smp=no)

[root] ~ $ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

[root] ~ $ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:29:2B:98:03
          inet addr:192.168.0.51  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:1797 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1138 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1438514 (1.3 Mb)  TX bytes:187750 (183.3 Kb)
          Interrupt:10 Base address:0xa000

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:160 errors:0 dropped:0 overruns:0 frame:0
          TX packets:160 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:8000 (7.8 Kb)  TX bytes:8000 (7.8 Kb)


The uncommented lines in /etc/conf.d/wireless:

Code:

# /etc/conf.d/wireless:
# Global wireless config file for net.* rc-scripts

essid_wlan0="welchnet"

channel_wlan0="6"


/etc/conf.d/net:

Code:

# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).

# Static IP address
config_eth0=( "192.168.0.51 netmask 255.255.255.0 broadcast 192.168.0.255" )

# Default gateway
routes_eth0=( "default via 192.168.0.1" )


I am running wireless-tools-27, baselayout-1.11.8, and ndiswrapper-1.0-pre4 (directly from SourceForge, because ndiswrapper-1.0-pre3 in the portage tree was giving me kernel panics).

Ndiswrapper is autoloaded as a module at boot, and the init script outputs a large number of errors which I can't copy here because those init script outputs on boot are not logged. I remember that they say something about file XXXX:XXXX:XXXX:XXXX not being valid (where the Xs are numbers and letters which I assume correspond to the conf files in /etc/ndiswrapper/mrv8ka51) My eth0 interface works perfectly.

Thoughts? Ideas? Suggestions?

- Kevin
Back to top
View user's profile Send private message
AeroIllini
Tux's lil' helper
Tux's lil' helper


Joined: 01 Feb 2004
Posts: 94

PostPosted: Mon Jan 31, 2005 10:50 pm    Post subject: Reply with quote

Does anyone even know of any other settings I should be checking?

**bump**
Back to top
View user's profile Send private message
kevev
n00b
n00b


Joined: 05 Jan 2005
Posts: 42
Location: Tejas

PostPosted: Thu Feb 03, 2005 4:54 pm    Post subject: Reply with quote

I had alot of trouble with my DWL-G630. They are similar cards.

Try this.

# ndiswrapper -e mrv8ka51

Then uninstall ndiswrapper.
(if your card is pcmcia) remove you wireless card and reboot.
alt-F12 to your console and insert the card. if your system is calling a module that exist then that could be your problem. I had that problem
on my system. If a module is loaded then do
# rmmod <module name>

do

# locate <module name>

Remove your card. Then remove the file.

rm <file name>

That should prevent it from loading.
Install the latest stable 1.0 from Sourceforge.
Get the latest WindowsXP driver form manufacturer and install it.

See what happens. Hope I didnt elaborate too much. I see you seem to know what you are doing.
_________________
your only as smart as the Computer doing your thinking.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum