Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Gentoo approach with interfaces configuration and activation
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
zirgo
n00b
n00b


Joined: 20 Nov 2006
Posts: 3

PostPosted: Fri Feb 16, 2007 5:53 pm    Post subject: Gentoo approach with interfaces configuration and activation Reply with quote

Is there a gentoo way to only configure an interface without bringing it up?

I need to configure my wireless interface ath0 with a static IP. But i cannot use gentoo's facility /etc/conf.d/net and issue /etc/init.d/net.ath0 start
becouse hostapd needs ath0 not being up.

Actually i've managed the problem by putting in local.start the the configuration i need (just the command "ifconfig ath0 192.168.0.1"), but i found it a little "dirty" and not very gentooish.
I'd like to use /etc/conf.d/net (and possibly /etc/conf.d/wireless) only for configure my interfaces, and not others files or script. I'd like to do it the gentoo way :)

Probably /etc/init.d/net.ath0 config should do the trick, but at the moment there isn't such a command in the init script provided by gentoo.

Please, any comment or suggests?
Back to top
View user's profile Send private message
syouth
Apprentice
Apprentice


Joined: 18 Sep 2004
Posts: 275

PostPosted: Wed Feb 28, 2007 9:27 am    Post subject: Reply with quote

Why can't you use /etc/conf.d/net? You can configure your ath0 there but just don't tell rc-update to bring it up.
_________________
psylove
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