bingo! dsl 4.0 iwconfig persistent wireless


Forum: Networking
Topic: bingo! dsl 4.0 iwconfig persistent wireless
started by: ezagent

Posted by ezagent on Nov. 30 2007,23:29
Gotta list the steps I used to get persistent wifi on reboot. Was told it can't be done, that I'd have to click the myiwconfig icon in /home. I use fluxbox with noicons, and why do I want to click anything after booting, I want it to be automated.

First of all I did a frugal HD install. Although my machine boots from USB HD I found the pendrive setup confusing because I want persistentcy. In particular, the install would fail on reboot with grub error 15.

After partitioning hda1 as type 83 with the boot toggle, hda2 as type 82 for swap and hda3 as type 83 I did:
sudo mke2fs /dev/hda1
sudo mke2fs /dev/hda3
sudo mkswap /dev/hda2
sudo swapon /dev/hda2

Rebooted, entered install at the boot prompt.

Selected frugal hard drive install, followed the prompts and specified the following boot parameters: nodhcp host=myHostName desktop=fluxbox noicons toram dma home=hda3 opt=hda3

Answered yes to format the drive.

Rebooted after install. When I got to the desktop I verified that I could connect by right clicking | System | Net Setup | iwconfig

The interface and channel were correct, I entered my essid and wep key, clicked OK and waited for the connected message box.

I then ran wlcardconfig, entered the required parameters and did a backup specifying hda as the device.

When I rebooted I mounted /dev/hda1
and edited /opt/bootlocal.sh adding this line:
/home/dsl/myiwconfig

Did a reboot with backup. The system came back up and my network connection was on.

Persistent. Done.

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.