Code Sample |
Comments: INSTRUCTIONS ## Install the driver. In EmelFM select ipw2200-k2.4.31.dsl and press "MYDSL" ## or the manual way - open an xterminal, sudo /etc/init.d/mydsl-install/<mylocation>/ipw2200-k2.4.31.dsl ## first we need to become superuser sudo su ## now we need to run "depmod", which is no problem with a HD install, ## but difficult with the liveCD (and frugal) because much of the filesystem is read-only. ## so for a liveCD we need to make certain files writeable ## by running /home/dsl/depmodscript.sh, which is provided in this package. ## So run this next command only for liveCD, not HDinstalls /home/dsl/depmodscript.sh ## map our new driver modules depmod ## Now load the driver modprobe ipw2200 ## if no error messages, this should create a network interface, eth0 (or eth1, etc) ## you can check this by running "ifconfig -a" ## now set up the wireless network iwconfig eth0 essid MY_ESSID key 1234567890 mode managed ## for automatic IP pump -i eth0 ## or for static IP ## modify /etc/resolv.conf to include your nameservers #ifconfig eth0 192.168.0.xx #route add default gw 192.168.0.1 eth0 # or whatever your router's IP is Obviously, replace "MY_ESSID" with your SSID and "123467890" with your WEP key. Instead of manually entering the commands each time to load the module and configure the network, it's easier to run the the provided script, /home/dsl/connect.sh Just modify this script to include your settings. 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. And modify your /home/dsl/connect.sh script. 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) home/dsl/connect.sh 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) |
Quote |
To make these kind of settings permanent, you need to add the commands to your /opt/bootlocal.sh startup file. You will also need to use the DSL backup/restore process. Search the wiki or the forums for more detailed help on these subjects. |