LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Startup task: Wlan module (https://www.linuxquestions.org/questions/linux-general-1/startup-task-wlan-module-105110/)

Punkcake 10-17-2003 08:44 AM

Startup task: Wlan module
 
Hello everyone :)

I'm using Suse linux 8.2 with kernel 2.4.20. I've compiled a driver module for my Wlan card (acx100 chip). The problem is, every time i restart Linux i have to manually insert the module again with "insmod /src/xxx/xxx/acx100_pci.o firmware_dir=/src/xxx/xxx/firmware". Then startup the device with "./start_net" (just a start-script) and then fetch a ip from the dhcp with "dhcpcd -d wlan0 -t 5"
As you figure, the process is rather annoying and i want it to be automated when i boot.
How would i solve this problem ? Can i make something like a startup-script to insert the module, start the device and fetch the ip ?

Thanks very much in advance for any help ;)

Jonas

szaroubi 10-17-2003 09:11 AM

I think you have to add an alias in your /etc/modules.conf (or conf.modules, I don't remember).
Something link:
alias wlan0 acx100_pci.o
But make shure that modprob can find acx100_pci.o .
That might save you the insmod command.

I don't know suse that well I know redhat a bit better. But After that I did a : /sbin/ifup wlan0 ....
but might need to create files /etc/sysconfig/network-scripts/
But there should a GUI configurator in YAST for that


All times are GMT -5. The time now is 12:33 PM.