Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
New idea for networking
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
Xor
Tux's lil' helper
Tux's lil' helper


Joined: 07 Jul 2002
Posts: 144

PostPosted: Sun Dec 15, 2002 6:38 pm    Post subject: New idea for networking Reply with quote

hi folks

I'm not a gntoo-guru, but I know that:

if I want a eth1 I have to copy the script in the init.d and name it net.eth1, if I want vlan I have to copy.... that's crap, specially if emerge only updates the eth0 script.

there might be the need to make NIC-classes, say "if I get wireless or wired network everything is ok" and "if I'm in the office, make vlan optional"

or in a more structured manner

required {
class "main connection" { eth0, wlan0 }
}

optional {
class "my home vlan" {vlan0 }
}

also just make /etc/ini.d/net and call it according the net.conf settings

it'ss just some thoughts I wanted to share....

there might also be the need of "execute this command if interface is up" or like this net.conf

eth1
mode=dhcp
command="dyndns.sh"

there might also be the need to execute commands before the interface is brought up or after... something like "pre_up-command" and "post_up-command"

people who know debian maybe know some of this... but it's generally IMHO.

I know, I adds lot of possibilities, it's more complex and need's a lot of shell-code.

please take it as a "wish" I have, and my thoughts as an input and don't fell bad about me.

regards
xor
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20067

PostPosted: Sun Dec 15, 2002 7:29 pm    Post subject: Reply with quote

Moved from OTG.
_________________
Quis separabit? Quo animo?
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