Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 95766 - net baselayout problems
Summary: net baselayout problems
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All All
: High normal
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-06-11 05:00 UTC by armin
Modified: 2005-06-11 17:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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...