📜 ⬆️ ⬇️

Bind Linux + Dlink DWL-G132 and PDA

I bought myself a wonderful toy called Dell Axim x51v . And the idea arose to rummage with it on the Internet without getting up from the couch or sitting on a jerk. Bought for this Wifi USB-adapter Dlink DWL-G132 .


Everything was easier under Windows, considering that native firewood comes with it. Under Linux, "native" firewood company Dlink does not release. There are at least 2 options to “get” this piece of hardware under Linux: install a bootloader, then download firewood from the site http://www.linuxant.com/driverloader/wlan/index.php and use offtopic firewood using ndiswrapper. Install it:
#yum install ndiswrapper


Given that these most recent firewood is available on the site, I decided to dwell on them. I download a zip file from the site, unpack and install:
ndiswrapper -i netA5AGU.inf

')
We look that at us "sticks out" in usb:
# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 002: ID 2001:3a03 D-Link Corp. [hex]
Bus 001 Device 001: ID 0000:0000


Checking how the firewood was established:
# /usr/sbin/ndiswrapper -l
neta5agu : driver installed
device (2001:3A03) present

Wonderful! Firewood rose, the device is tied to them. Now it's time to load the modules to activate the device:
modprobe ndiswrapper

If no errors have occurred, the activity lights should light up on the device. Now you can check the presence of wireless devices in the system:
# iwconfig
lo no wireless extensions.

eth0 no wireless extensions.

eth1 no wireless extensions.

wlan0 IEEE 802.11g ESSID:off/any
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate:54 Mb/s
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0

ABOUT! Just wlan0 is what we need! We do not have an access point, so scanning does nothing:
# iwlist wlan0 scan
wlan0 No scan results

To establish a connection, you must specify the session SSID, channel number, connection type, and encryption key. These settings are set on my working laptop, so we’ll set the same settings at home so that the handheld is not reconfigured.
# iwconfig wlan0 enc s:h6j7k4l8k3b8n open
# iwconfig wlan0 channel 6
# iwconfig wlan0 mode ad-hoc
# iwconfig wlan0 essid inet

If there are no errors, then the device can already be seen via wifi. We set the address for the device
# ifconfig wlan0 192.168.0.1

Checking the simplest ping - the computer started to respond. It remains to configure the proxy server.

Source: https://habr.com/ru/post/24009/


All Articles