I'm using the D-Link DWL-G520. I followed all of the instructions from this page [
http://ndiswrapper.sourceforge.net/w...p/Installation] and all seems to go well, but I don't know how to connect to the internet. I installed the driver that's on my supplied CD and the installation appears to have gone fine. I'm just to the point where I don't know what to do.
Going through the steps again after a reboot...
# /usr/sbin/ndiswrapper -l
Installed ndis driver:
neta3ab hardware present
# /sbin/modprobe/ndiswrapper
(nothing happens here, which the wiki says is a good thing)
# dmesg
(...)
PCI: Setting latency timer of device 0000:00:11.5 to 64
ndiswrapper version 0.10 loaded (preempt=no,smp=no)
ndiswrapper: using irq 11
divert: allocating divert_blk for wlan0
wlan0: ndiswrapper ethernet device 00:0f:3d:aa:5a:eb using driver a3ab.sys
ndiswrapper device wlan0 supports WPA with AES/CCMP and TKIP ciphers
ndiswrapper: driver a3ab.sys (D-Link,10/22/2003,3.0.0.44) added
# /sbin/iwconfig
lo no wireless extensions.
sit0 no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412GHz Access Point: 00:00:00:00:00:00
Bit Rate:108Mb/s
Encryption key:off
Link Quality:0/100 Signal level:-95 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
# /sbin/iwlist wlan0 scan
wlan0 Scan completed :
Cell 01 - Address: 00:0F:3D:3E

D:A2
ESSID:"dlink"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.437GHz
Quality:0/100 Signal level:-59 dBm Noise level:-256 dBm
Encryption key:on
Bit Rate:1Mb/s
Bit Rate:2Mb/s
Bit Rate:5.5Mb/s
Bit Rate:11Mb/s
Bit Rate:6Mb/s
Bit Rate:12Mb/s
Bit Rate:24Mb/s
Bit Rate:36Mb/s
Bit Rate:9Mb/s
Bit Rate:18Mb/s
Bit Rate:48Mb/s
Bit Rate:54Mb/s
Extra:bcn_int=100
Extra:atim=0
# /sbin/iwconfig wlan0 mode Managed
# /sbin/iwconfig wlan0 key restricted s:thisisthekey
# /sbin/iwconfig wlan0 essid dlink
It gets a little tricky here, I suppose. The site says to do one of three things: ifconfig wlan0 up OR dhclient wlan0 OR dhcpcd wlan0. I start with the first one...
# /sbin/ifconfig wlan0 up
(nothing happens, let's try the second one)
# /sbin/dhclient wlan0
Internet Software Consortium DHCP Client V3.0.1rc12
Copyright 1995-2002 Internet Software Consortium.
All rights reserved.
For info, please visit
http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
/sbin/dhclient-script: configuration for wlan0 not found.
sit0: unknown hardware address type 776
Listening on LPF/wlan0/00:0f:3d:aa:5a:eb
Sending on LPF/wlan0/00:0f:3d:aa:5a:eb
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 2
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
/sbin/dhclient-script: configuration for wlan0 not found.
OK. I know the wireless internet is working, because I'm using it, sorta. Right now, I'm connected to the internet thru my Mac. It's sharing the connection via Ethernet to my machine, and it's using an AirPort card. I don't know what this DHCP thing is supposed to do. Also, if everything it working correctly, how do I make my computer connect to the internet via wlan0?? I've disconnected the eth0 connection, rebooted, and done the instructions to see if having two connections was an issue but, nothing happens. I'm not a linux expert and I'm confused
Thanks in advance!