zirgo n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Nov 2006 Posts: 3
|
Posted: Fri Feb 16, 2007 5:53 pm Post subject: Gentoo approach with interfaces configuration and activation |
|
|
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? |
|