Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 73641 - /etc/init.d/net.eth0 script broken baselayout-1.11.7-r2
Summary: /etc/init.d/net.eth0 script broken baselayout-1.11.7-r2
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords: InVCS
: 74151 (view as bug list)
Depends on:
Blocks: 66472
  Show dependency tree
 
Reported: 2004-12-07 02:55 UTC by Kathy Wills
Modified: 2004-12-12 02:54 UTC (History)
3 users (show)

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 Kathy Wills 2004-12-07 02:55:39 UTC
Updated to baselayout-1.11.7-r2, replaced /etc/init.d/net.eth0 with the new script. The gateway defined in /etc/conf.d/net does not get applied.

Reproducible: Always
Steps to Reproduce:
1.reboot
2.
3.

Actual Results:  
Eht0 is set up except for no access to the internet. Have to do "route add
default gw 192.168.0.1" in order to have internet access.

Expected Results:  
The script should have worked.
Comment 1 Jan Kundrát (RETIRED) gentoo-dev 2004-12-07 02:59:41 UTC
details: http://forums.gentoo.org/viewtopic.php?t=262243
Comment 2 SpanKY gentoo-dev 2004-12-07 06:45:55 UTC
attach your /etc/conf.d/net file and re-open

route's work fine on my machines ... in fact, i list multiple routes on some and all are added correctly
Comment 3 Oli Kessler 2004-12-07 09:53:42 UTC
seems like the entry

gateway="eth0/x.x.x.x"

in /etc/conf.d/net is not used anymore.
Comment 4 Roy Marples (RETIRED) gentoo-dev 2004-12-07 11:54:03 UTC
I have this fixed in CVS - will be in baselayout-1.11.8

The old gateway variable isn't documented anymore but should be supported still
For the time being, you can replace that with the following in /etc/conf.d/net which will work

routes_eth0="default gw x.x.x.x"
Comment 5 Kathy Wills 2004-12-07 18:26:43 UTC
I used the information in comment #4 and it worked. Thanks Roy.
Comment 6 Roy Marples (RETIRED) gentoo-dev 2004-12-12 02:54:53 UTC
*** Bug 74151 has been marked as a duplicate of this bug. ***