Need help updating config files...
I recently installed vidalinux on a spare hard drive. It's a distro that's pretty much a stage 3 install of gentoo.
This is my first linux install, and so I'm not very experienced with linux but I'm getting used to many aspects really quick.
However, I'm really stumped on portage. Emerging a package itself is a breeze but I have no clue what to do to update the config files.
when I performed emerge sync. portage told me that portage needed to be updated. so I emerged portage, which took about 2 1/2 hours. Afterwards, I was told that I now have 7 config files that need to be updated. I typed emerge --help config to learn more about updating the config files but the explanations don't help me much.
in any case I'm stuck typing in etc-update or dispatch-conf without knowing how to proceed afterwards.
Quote:
localhost root # find /etc -iname '._cfg????_*'
/etc/conf.d/._cfg0000_net
/etc/._cfg0000_man.conf
/etc/._cfg0000_rc.conf
/etc/ssl/misc/._cfg0000_c_issuer
/etc/ssl/misc/._cfg0000_CA.pl
/etc/ssl/misc/._cfg0000_der_chop
/etc/ssl/._cfg0000_openssl.cnf
these are the files that I need to update. On the vidalinux forums I was told that I should be careful with the rc.conf and net files.
when typing dispatch-conf I get:
Quote:
--- /etc/conf.d/net 2005-05-06 08:39:17.000000000 -0400
+++ /etc/conf.d/._cfg0000_net 2005-01-31 20:55:54.000000000 -0500
@@ -5,7 +5,7 @@
# This is basically the ifconfig argument without the ifconfig $iface
#
-#iface_eth0="192.168.0.2 broadcast 192.168.0.255 netmask 255.255.255.0"
+iface_eth0="192.168.0.2 broadcast 192.168.0.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"
@@ -32,6 +32,3 @@
#
#gateway="eth0/192.168.0.1"
-iface_eth1="dhcp"
-iface_eth0="dhcp"
-gateway="/"
>> (1 of 7) -- /etc/conf.d/net
>> q quit, h help, n next, e edit-new, z zap-new, u use-new
m merge, t toggle-merge, l look-merge:
Could anyone walk me through the next steps or point me to a good HOWTO??
I have a few other questions concerning config files (these won't take as mcuh of your time ;):
1) What's the relation between config files and useflags.
2) What tools exist to facilitate updating config files (I'm a beginner so I'd like to be able to update the files, but I'm more concerned with having a functional distro that extremely optimises. Once I become more comfortable I'll be less shy about tweaking the settings.
3) I generally understand what config files are for but if anyone could clarify the purpose of config files I would really appreciate it
Thanks for you time. sorry for the long story ;)
Daniel
EDIT: another question, not necessarily related to portage. I read some HOWTOs where you're told to uncomment a line. I remember reading about that in a debian howto but I forgot what it implies exaclty. I'm pretty sure it's not just removing the #.