Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ACX100 init.d script
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Sun Dec 21, 2003 10:04 am    Post subject: ACX100 init.d script Reply with quote

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
Back to top
View user's profile Send private message
Chaosite
Guru
Guru


Joined: 13 Dec 2003
Posts: 540
Location: Right over here.

PostPosted: Sun Dec 21, 2003 12:38 pm    Post subject: Reply with quote

My temporary solution is to put the above (the DHCP bit) in /etc/conf.d/local.start.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum