o.k. Ndiswrapper is listed when I type lsmod (it lists "0" under the "used by" column)
I type:
# ifdown wlan0
# iwconfig wlan0 essid Madhouse
# iwconfig wlan0 AP 00:11:95:76:ED:5C
(I got this AP from doing "# /sbin/iwlist wlan0 scanning", this is the address associated with Cell 01 "Madhouse")
# iwconfig wlan0
I get:
wlan0 IEEE 802.11b ESSID:"Madhouse" Nickname:"localhost.localdomain"
Mode:Ad-Hoc Frequency:2.412GHz Cell: 00:11:95:76:ED:5C
Bit Rate=11Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr=2432 B Fragment thr=2432 B
Encryption key
ff
Power Management
ff
Link Quality:100/100 Signal level:-52 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
I type:
# ifconfig wlan0
I get:
wlan0 Link encap:Ethernet HWaddr 00:0D:F0:12:64:CC
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:38 errors:0 dropped:0 overruns:0 frame:0
TX packets:70 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:12716 (12.4 KiB) TX bytes:17316 (16.9 KiB)
Memory:e0201000-e02010ff
I type:
# /sbin/dhclient wlan0
I get:
sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0d:f0:12:64:cc
Sending on LPF/wlan0/00:0d:f0:12:64:cc
Sending on Socket/fallback
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
Trying recorded lease 192.168.0.101
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
--- 192.168.0.1 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2998ms
, pipe 4
No working leases in persistent database - sleeping.
And finally:
# ifup wlan0
"Determining IP information for wlan0...failed"
and for good measure, I type "ping google.com" and get "ping: unknown host google.com" ("ping" works when I plug in my ethernet cable though)
Am I missing something? or doing something in the wrong order? Thanks again for any help.