Chaosite Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/1061141068427f6466ca728.jpg)
Joined: 13 Dec 2003 Posts: 540 Location: Right over here.
|
Posted: Sun Dec 21, 2003 10:04 am Post subject: ACX100 init.d script |
|
|
I have a D-Link DWL-520+ card, which uses the ACX100 chipset from Texas Intruments. To those who don't know, TI doesn't want to give a Linux driver for their chipset.
However, there is an OS driver on SourceForge (Here) which works pretty well. In fact, I'm writing on a Gentoo machine running this driver.
What I need is help in writing an init.d script for the thing, so I won't have to set it up manually everytime.
What I usally do is this:
Code: | insmod /usr/local/acx100/src/acx100_pci.o debug=0x0a firmware_dir=/usr/local/acx100/firmware/
ifconfig wlan0 192.0.0.10 mtu 576
iwconfig wlan0 essid Wireless nick DWL-520+ channel 6 mode managed rate 22M
route add default gw 192.168.0.1
|
Today I also tried doing that with dhcpd. I don't remember exactly what I did, but it looked something like this (There probably is a better way to do it):
Code: | insmod <same as before>
ifconfig wlan0 mtu 576
iwconfig <same as before>
dhcpcd wlan0
|
What I need is a init script that does this all this for me at boot, preferably a nice one with variables and stuff. Anyone want to help a n00b?
P.S. What I'm looking for is already over here, but that one has some syntax errors that prevent me from running it, and I don't know how to debug it. Also, its for the PCMCIA version of my card, the D-Link DWL-650+, but as far as I can tell, if I remove the PCMCIA bit at the depend section, all would be well.[/code]
Note: I just tried it now. the ifconfig is not needed to use DHCP.
--EDIT: Grammar&SF.net URL |
|