[ltp] T41 and ndiswrapper: can get IP but no ping

J Paul Richardson linux-thinkpad@linux-thinkpad.org
Sat, 21 Aug 2004 09:41:55 -0400


I'm using ndiswrapper 0.9 built from source also.  Running an A31 with
Netgear WG511T card on Sun JDS.  Although this is a PCMCIA card, the
principle is the same.  ndiswrapper loads fine for me; no errors.  Doing
some quick sleuthing I found your problem could be one of two things...

1) ndiswrapper is having a hard time with the driver for that card.  I
used the Win200 driver for mine.  You might try different drivers (W98,
WXP, etc) from the card's OEM driver package.  If none of these work,
then ndiswrapper may not know how to handle it correctly.  Do you have a
PCMCIA card you can try?  If that works and the built-in doesn't then
the Win drivers for the built-in would be the culprit.

2) Try getting the latest version of ndiswrapper to work (what were the
compile problems?  Were you using .10rc1 or .10).  ndiswrapper is trying
to load the driver as a module and module-init-utils is seeing something
wrong with it, the module is getting forced and the error is appearing. 
I base this assumption on the info found in the linux-kernel archives. 
Since you are using SuSE 9.1 you probably have one of the lastest
versions of module-init-utils.  This may require the newest version of
ndiswrapper to work properly.

Again, these are just some quick thoughts on what the problem might be. 
Hopefully it'll get you moving in the right direction.

J Paul Richardson
aka Reverend Linux




On Fri, 2004-08-20 at 21:44, Spiros Psarris wrote:
> I just installed Suse 9.1 on my new T41. Its wireless card is an Intel
> 2100 3B. Yast wanted to use ipw2100, so I'm installing ndiswrapper by
> hand. I'm using ndiswrapper 0.9 (0.10 just came out, but won't compile).
> 
> Wireless works great using the "other" OS.  Under SuSE, my Netgear
> router issues an IP, and even lists the laptop as an "attached
> device"...but the laptop can't connect to the router.
> 
> Using the "other" OS with the wireless card working, ipconfig produces this:
> 
> DNS Suffix      myhome.westell.com
> IP address     192.168.0.3
> Subnet mask 255.255.255.0
> Default Gateway 192.168.0.1
> 
> 
> Under SuSE:
> 
> "ndiswrapper -l" produces "w70n51 hardware present".
> 
> My \etc\sysconfig\network\ifcfg-wlan0:
> 
> DEVICE='wlan0'
> IPV6INIT='no'
> ONBOOT='yes'
> USERCTL='no'
> PEERDNS='yes'
> GATEWAY='192.168.0.1'
> TYPE='Wireless'
> HWADDR='00:0c:f1:3f:64:2b'
> BOOTPROTO='dhcp'
> NETMASK='255.255.255.0'
> DHCP_HOSTNAME=''
> IPADDR=''
> DOMAIN=''
> ESSID='NETGEAR'
> CHANNEL='11'
> MODE='Managed'
> RATE='Auto'
> MTU=''
> REMOTE_IPADDR=''
> STARTMODE='onboot'
> 
> After running "dhcpcd wlan0 &", ifconfig gives this:
> 
> wlan0     Link encap:Ethernet  HWaddr 00:0C:F1:3F:64:2B
>            inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
>            inet6 addr: fe80::20c:f1ff:fe3f:642b/64 Scope:Link
>            UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
>            RX packets:112 errors:0 dropped:0 overruns:0 frame:0
>            TX packets:25 errors:0 dropped:0 overruns:0 carrier:0
>            collisions:0 txqueuelen:1000
>            RX bytes:12522 (12.2 Kb)  TX bytes:2008 (1.9 Kb)
>            Interrupt:11 Memory:c0210000-c0210fff
> 
> 
> iwconfig gives this:
> 
> wlan0     IEEE 802.11b  ESSID:"NETGEAR"
>            Mode:Managed  Frequency:2.462GHz  Access Point:
> 00:09:5B:D7:A8:E2
>            Bit Rate:11Mb/s
>            RTS thr:1600 B   Fragment thr:2344 B
>            Encryption key:off
>            Power Management:off
>            Link Quality:100/100  Signal level:-29 dBm  Noise level:-256 dBm
>            Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
>            Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> 
> 
> route -n gives this:
> 
> Kernel IP routing table
> Destination     Gateway         Genmask         Flags Metric Ref    Use
> Iface
> 192.168.0.0     0.0.0.0         255.255.255.0   U     0      0        0
> wlan0
> 127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
> 0.0.0.0         192.168.0.1     0.0.0.0         UG    0      0        0
> wlan0
> 
> 
> and \etc\resolv.conf (minus comments) is this:
> 
> search myhome.westell.com
> nameserver 192.168.1.1
> 
> 
> So I'm getting an IP assigned, and as I mentioned the router lists the
> laptop MAC as a connected device to IP 192.168.0.3. The signal strength
> is fine. Yet I can't ping anywhere, not even the router's setup page at
> 192.168.0.1.
> 
> So I'm stumped. One thing I'm unsure about: when I modprobed
> ndiswrapper, it said it loaded the driver but it also had an error message:
> 
> ndiswrapper: no version for "struct-module" found: kernel tainted.
> 
> I don't know if this is significant or not, but everything else seemed OK.
> 
> Anybody have any ideas?
> 
> Thanks in advance...
> 
> Spiros Psarris
> 
> 
>