Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 95766

Summary: net baselayout problems
Product: Gentoo Linux Reporter: armin
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED INVALID    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: All   
Whiteboard:
Package list:
Runtime testing required: ---

Description armin 2005-06-11 05:00:57 UTC
Hi 

I'm using gentoo for years. With the net layout one thing is missing:
arp configuration. All lines (all with gentoo firewalls) of my company need
an arp entry in order to connect to the dsl modems.

1) I suggest either an:
 
  arp_eth* line in /etc/conf/net

or a more generic:

  execute_eth* line

where you can put in any script to be run after ifconfig.

2) With the new base layout every /etc/init.d/net* is a symlink to 
   net.lo, which is quite strange. Make everything a symlink to 
   /etc/init.d/net. This is quite logical because the config is in 
   /etc/conf/net. net.lo is for loopback only...

Thanks!
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-06-11 05:14:48 UTC
I
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-06-11 05:14:48 UTC
I´d suggest that you explore /etc/conf.d/net.example file - the "Advanced
Configuration" section has preup(), postup(), predown() and postdown() funtions
in there with some simple examples, maybe that´s what you need. 
Comment 3 SpanKY gentoo-dev 2005-06-11 13:15:13 UTC
review the 'MAC changer' section of /etc/conf.d/net.example

also as Jakub said, see the pre/post functions
Comment 4 armin 2005-06-11 17:51:30 UTC
works thanks. sorry i was looking for ARP keywords which i did not find in
relation with gentoo...