Re: [Cooker] Network scripts - which?

2001-12-14 Thread J.A. Magallon


On 20011214 guran wrote:
Hi

I typed a wrong IP address 104.X.X.X instead of 194.X.X.X, so I had to change 
it - and did it manually in /etc/sysconfig/network-scripts/
draknet_conf
draknet_conf.default
net_resolve.default(BTW - why must I go here to add more DNS)

Correct file is /etc/sysconfig/network-scripts/ifcfg-eth0.


I rebooted - no network.
I used linuxconf to change and restart eth0 and got out.

Later I checked in
1) /etc/linuxconf/archive/Office/etc/host-client.v and manually changed it

2) 
/etc/linuxconf/archive/Home-Office/etc/sysconfig/network-scripts/ifcfg-eth0.v 
and manually change it.


That are the files that gui tools use to create
/etc/sysconfig/network-scripts/ifcfg-eth0
So if you change one of them, probably have to re-run draknet (or whatever it
is called), re select the profile and re-activate it, to make the GUI tool
generate again the ifcfg-eth0 file in its correct place.

I thought the Unix way was one text file and every program was to find all it 
needed in that file.


Yes. Problem is that standard files are hard to parse, and GUI tools usually
have a parallel database of your config to re-create the useful one. So, when
the GUI tool does not work, and you need to do any manual change, you get an
inconsistent state. That is why I hate tools line linuxconf, kudzu, drak-xxx
and so on. They do the work, but when you need to tweak something, you don't
know where to find it (this remembers me som other os...)

I think the only tool that parses standard files and re-creates them, without
any parallel database, are the Ximian Setup Tools. That is one of the main
points in its marketing. Pitty is lack of Mandrake support...

Uh...
As I wrote this, I jumped to the Ximian web page and could not find any
reference to Setup Tools. Are they dead ?

By

-- 
J.A. Magallon   #  Let the source be with you...
mailto:[EMAIL PROTECTED]
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.17-rc1-beo #1 SMP Fri Dec 14 09:58:53 CET 2001 i686




Re: [Cooker] Network scripts - which?

2001-12-14 Thread guran

On Friday 14 December 2001 4:05 pm, J.A. Magallon wrote:

 That are the files that gui tools use to create
 /etc/sysconfig/network-scripts/ifcfg-eth0
 So if you change one of them, probably have to re-run draknet (or whatever
 it is called), re select the profile and re-activate it, to make the GUI
 tool generate again the ifcfg-eth0 file in its correct place.

Thanks, I have bought Craig Hunt's Linux Network Servers 24seven, today - as 
far as I see it is back to a stripped down firewall and GUI box inside.

regards
guran

-- 
Mandrake Linux 8.2 Cooker kernel-2.4.16.9mdk-1-1mdk  version:2001:12:14:05:04