Thursday, January 3, 2008

Install Level-One WNC-0301USB into DSL linux by ndiswrapper, iwconfig

All done with root privilage:
sudo -s

Download Driver from web with zd1211u.inf

Install Driver
ndiswrapper -i zd1211u.inf

Check Installation with
ndiswrapper -l

It will show installed drivers:
zd1211u driver installed, hardware present

Load Module into Kernel
modprobe ndiswrapper

The usb flash light once.

show the network status with ID wlan0
iwconfig

set wlan options, and bring dhcp up
iwconfig wlan0 key abcdef1234
iwconfig wlan0 key open
iwconfig wlan0 key on
iwconfig essid my_network
ifconfig wlan0 up
pump -i wlan0

check status by
iwconfig
ifconfig
ping www.google.com


To make wireless network auto load everytime dsl start:

Add Line to /etc/modules:
ndiswrapper

Add Line to /opt/bootlocal.sh
iwconfig wlan0 key abcdef1234
iwconfig wlan0 key open
iwconfig wlan0 key on
iwconfig essid my_network
ifconfig wlan0 up
pump -i wlan0





Actually, I perform the same procedual by DSL (Not DSL-N) but ehe keyboard lock-up after bring up network card by ifconfig wlan0 up, it may cause by the 4K stack problem (i don't know how to solve by Damn Small Linux), so I give up trying DSL (Althought I thought it is better) and use DSL-N instead.

1 comment:

Arcelios said...

This post has helped me tremendously on my own DSL installation using my D-Link USB adapter. Thank you!