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

Jeffrey Taylor linux-thinkpad@linux-thinkpad.org
Mon, 23 Aug 2004 16:02:10 -0500


Quoting Spiros Psarris <subs@spiroswrites.com>:
> 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).
> 
[snip]

Working ip2100 setup responses interspersed.

> 
> 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'
>

BOOTPROTO='dhcp'
MTU=''
REMOTE_IPADDR=''
STARTMODE='manual'
UNIQUE='LHB6.dkYIOPpnsu8'
WIRELESS_AP=''
WIRELESS_BITRATE='auto'
WIRELESS_CHANNEL=''
WIRELESS_ESSID=''
WIRELESS_FREQUENCY=''
WIRELESS_KEY=''
WIRELESS_MODE='Managed'
WIRELESS_NICK=''
WIRELESS_NWID=''
WIRELESS_POWER='yes'
_nm_name='bus-pci-0000:02:02.0'
WIRELESS_AUTH_MODE='open'
WIRELESS_DEFAULT_KEY='0'
WIRELESS_KEY_0=''
WIRELESS_KEY_1=''
WIRELESS_KEY_2=''
WIRELESS_KEY_3=''
WIRELESS_KEY_LENGTH='128'

> 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
> 
>

# ifconfig eth1
eth1      Link encap:Ethernet  HWaddr 00:04:23:92:36:5A  
          inet addr:192.168.168.211  Bcast:192.168.168.255  Mask:255.255.255.0
          UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:4504 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2604 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1427313 (1.3 Mb)  TX bytes:329203 (321.4 Kb)
          Interrupt:11 Base address:0x7000 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
>

 E 802.11b  ESSID:"BookPeople Cafe"  Nickname:"odysseus"
          Mode:Managed  Channel:11  Access Point: 00:0D:88:88:39:AD  
          Bit Rate=11Mb/s   Tx-Power=32 dBm   
          Retry:on   RTS thr=2304 B   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality:99/100  Signal level:-37 dBm  Noise level:-98 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:24   Missed beacon:2


> 
> 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
> 
>

# route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.168.0   0.0.0.0         255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0         255.255.0.0     U     0      0        0 eth1
127.0.0.0       0.0.0.0         255.0.0.0       U     0      0        0 lo
0.0.0.0         192.168.168.1   0.0.0.0         UG    0      0        0 eth1

> and \etc\resolv.conf (minus comments) is this:
> 
> search myhome.westell.com
> nameserver 192.168.1.1
>

Are you sure about the namesaerver, the access point is also the DNS
server?  Most inexpensice routers do not include a DNS server.
 
search localnet.net
nameserver 151.164.20.201

> 
> 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.
> 

HTH,
  Jeffrey