View previous topic :: View next topic |
Author |
Message |
vbenares Apprentice
Joined: 13 Aug 2003 Posts: 205
|
Posted: Sat Jun 11, 2005 10:31 pm Post subject: Where is latest /etc/conf.d/net? [Solved] |
|
|
Mine (I have had gentoo installed for a couple years) is apparently so old that the installation instructions seem not to apply. Is there a form one around on my hdd or elsewhere?
Last edited by vbenares on Tue Jun 14, 2005 8:27 pm; edited 1 time in total |
|
Back to top |
|
|
ansient Guru
Joined: 22 Jan 2005 Posts: 445 Location: Argentina
|
Posted: Sat Jun 11, 2005 10:35 pm Post subject: |
|
|
delete your old one, look at net.example and make a new one |
|
Back to top |
|
|
vbenares Apprentice
Joined: 13 Aug 2003 Posts: 205
|
Posted: Sat Jun 11, 2005 10:50 pm Post subject: |
|
|
Is there supposed to be a /etc/conf.d/net.example file on my hdd? I don't see one. |
|
Back to top |
|
|
pogi Tux's lil' helper
Joined: 13 May 2005 Posts: 124 Location: Hungary
|
Posted: Sat Jun 11, 2005 11:02 pm Post subject: |
|
|
Code: | # /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
# Global config file for net.* rc-scripts
# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.2.3 broadcast 192.168.2.255 netmask 255.255.255.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"
# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."
# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"
# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"
# For setting the default gateway
#
gateway="eth0/192.168.2.1"
|
here's mine, might help out.
regards,
pogi _________________ Free! Tibet |
|
Back to top |
|
|
ansient Guru
Joined: 22 Jan 2005 Posts: 445 Location: Argentina
|
Posted: Sat Jun 11, 2005 11:05 pm Post subject: |
|
|
vbenares wrote: | Is there supposed to be a /etc/conf.d/net.example file on my hdd? I don't see one. |
which version of baselayout are you using? |
|
Back to top |
|
|
vbenares Apprentice
Joined: 13 Aug 2003 Posts: 205
|
Posted: Sat Jun 11, 2005 11:27 pm Post subject: |
|
|
baselayout-1.11.12-r4 |
|
Back to top |
|
|
ansient Guru
Joined: 22 Jan 2005 Posts: 445 Location: Argentina
|
Posted: Sat Jun 11, 2005 11:37 pm Post subject: |
|
|
Code: | ansient # emerge -p baselayout
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] sys-apps/baselayout-1.11.12-r4
ansient # equery files baselayout | grep net.example
/etc/conf.d/net.example |
If you don't have it, you can either re-emerge baselayout or try:
Code: | ebuild `equery w baselayout` unpack
$EDITOR /var/tmp/portage/baselayout*/work/rc-scripts*/etc/conf.d/net.example |
|
|
Back to top |
|
|
vbenares Apprentice
Joined: 13 Aug 2003 Posts: 205
|
Posted: Sat Jun 11, 2005 11:53 pm Post subject: |
|
|
Thanks! It appeared after I re-emerged baselayout. (Sorry for being a dunce & thanks) |
|
Back to top |
|
|
|