Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Where is rc.local?
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
jrohde
n00b
n00b


Joined: 26 Nov 2003
Posts: 11

PostPosted: Mon Dec 08, 2003 6:30 pm    Post subject: Where is rc.local? Reply with quote

Hi,

In ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/README, it says:

"The simplest way to do this is to add the following commands to your rc.local file:"

I haven't got an rc.local file. I guess it's because it's called something else in Gentoo, but what?

It also says:

modprobe prism2_pci [or prism2_usb/prism2_plx]
wlanctl-ng wlan0 lnxreq_ifstate ifstate=enable
wlanctl-ng wlan0 lnxreq_autojoin ssid=<your APs SSID> authtype=opensystem
ifconfig wlan0 <yourIP> netmask <yourNetmask> broadcast <yourBroadcast>
route add default gw <yourGateway>

In line 4 and 5 I'm supposed to enter my IP, netmask etc. But I'm using DHCP, so can I just delete line 4 and 5?

Jakob
Back to top
View user's profile Send private message
jonnymalm
n00b
n00b


Joined: 26 Jun 2002
Posts: 68

PostPosted: Mon Dec 08, 2003 7:01 pm    Post subject: Reply with quote

The Gentoo equivalent of rc.local is:
Code:
/etc/conf.d/local.start


For the wireless stuff it is better to use the wireless tools package
Code:
emerge wireless-tools


A search for wireless-tools in these forums will give you information on this.
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