tempestuous
Group: Members
Posts: 259
Joined: Aug. 2004 |
|
Posted: Nov. 16 2005,12:00 |
|
Be aware that this driver was compiled for the 2.4.26 kernel, so is good for DSL versions 0.8.0 - 1.5. From version 2.0 the driver is useless, and will be removed from the mydsl downloads soon.
Regarding compatibility - check here - http://at76c503a.berlios.de/devices.html Your adaptor (whose brand and model number you didn't mention) may be best supported by this driver ... or the Sourceforge atmelwlandriver. Don't worry about changing a config file - this is only for automated loading. Do this (assuming this driver is correct) -
## Install the driver. In EmelFM select atmelusbdrivers.dsl and press "MYDSL" ## or the manual way - open an xterminal, sudo /etc/init.d/mydsl-install/<mylocation>/atmelusbdrivers.dsl ## first we need to become superuser sudo su ## now we need to run "depmod", which is easy with a HD install, ## but difficult with the liveCD because much of the filesystem is read-only. ## so for a liveCD we need to make certain files writeable with the next 18 lines of code
cd /lib/modules/2.4.26 cp modules.dep tmp1 cp modules.generic_string tmp2 cp modules.pcimap tmp3 cp modules.isapnpmap tmp4 cp modules.usbmap tmp5 cp modules.parportmap tmp6 cp modules.ieee1394map tmp7 cp modules.pnpbiosmap tmp8 rm -rf modules.dep modules.generic_string modules.pcimap modules.isapnpmap modules.usbmap modules.parportmap modules.ieee1394map modules.pnpbiosmap mv tmp1 modules.dep mv tmp2 modules.generic_string mv tmp3 modules.pcimap mv tmp4 modules.isapnpmap mv tmp5 modules.usbmap mv tmp6 modules.parportmap mv tmp7 modules.ieee1394map mv tmp8 modules.pnpbiosmap
## map the new modules depmod ## Now load the driver modprobe at76c503-rfmd ## if no error messages, this should create a network interface, wlan0 ## you can check this by running "ifconfig -a" ## now set up the wireless network iwconfig wlan0 essid MY_ESSID key 1234567890 mode managed ## for automatic IP pump -i wlan0 ## or for static IP ## modify /etc/resolv.conf to include your nameservers #ifconfig wlan0 192.168.0.xx #route add default gw 192.168.0.1 wlan0 # or whatever your router's IP is
Obviously, replace "MY_ESSID" with your SSID and "123467890" with your WEP key.
MAKING IT PERMANENT with a liveCD or Frugal install. This driver package can be reinstalled at each boot with the boot parameter - "mydsl=hda1" (or sda1, or floppy, etc) Of course, the all-important "depmod" process is still required. A neat way to achieve this automatically is to list the files that depmod modifies in /home/dsl/.filetool.lst, then run "Backup" from DSLpanel > Backup/Restore. First, set up the driver and make sure it's working. Now add the following entries to /home/dsl/.filetool.lst - (don't dare delete the "home/dsl/.filetool.lst" and "/home/dsl/.xfiletool.lst" entries)
lib/modules/2.4.31/modules.dep lib/modules/2.4.31/modules.generic_string lib/modules/2.4.31/modules.ieee1394map lib/modules/2.4.31/modules.isapnpmap lib/modules/2.4.31/modules.parportmap lib/modules/2.4.31/modules.pcimap lib/modules/2.4.31/modules.pnpbiosmap lib/modules/2.4.31/modules.usbmap
Run "Backup" from DSLpanel > Backup/Restore Boot with the boot parameters - mydsl=hda1 restore=hda1 (or sda1, or floppy, etc)
|