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

Spiros Psarris linux-thinkpad@linux-thinkpad.org
Fri, 20 Aug 2004 18:44:34 -0700


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