Re: [offtopic/plug] GUI Management

Michael Shigorin <[email protected]>
Newsgroups gmane.linux.terminal-server.devel
Message-ID <[email protected]>
On Thu, May 08, 2008 at 10:44:53AM +0200, Jan Weber wrote:
> Can you please tell me where the configuration files to setup
> an LTSP server on your distro are and what is in there, like ip
> of server, dhcp range...  whatever?

DHCP configuration sits in /etc/dhcp/dhcpd.conf (we're going
to look more closely at dnsmask but so far it's ISC DHCPD).

There's no such thing as "server ip" ot "interface ip" since
a single server can have multiple interfaces, and a single
interface han have multiple IPs.

Said that, default network configuration subsystem in ALT Linux
3.0+ (since 2005) is http://etcnet.org based on iproute2.

Static IP adresses assigned to interface $iface can be found
in /etc/net/ifaces/$iface/ipv4address files in the form of
"192.168.0.1/24".

Ethernet interface names aren't required to be "eth*" but can
be named arbitrarily (as long as supported by the kernel).

There are some helpers aimed at dumping the [interface]
configuration, I can look closer if you'll be interested 
(or probably help with a shell plugin to provide the data
you need).

*Maybe* initial assumption of /sbin/ip present in current distros
and the possibility to get "ip ad" output like

4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:18:fe:7c:ec:49 brd ff:ff:ff:ff:ff:ff
    inet 212.40.X.2/28 brd 212.40.45.15 scope global eth0
    inet 212.40.X.3/32 scope global eth0
    inet 212.40.X.4/32 scope global eth0

or

2: int: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast qlen 1000
    link/ether 00:0f:ea:cb:46:5d brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.253/24 brd 10.0.0.255 scope global int

would help at avoiding distro-specific code at read-only stage.

> > So the primary/authoritative data source is configuration
> > files or XML dump?  Or "primary only for the
> > build-from-scratch"?
> The XML is ONLY for the GUI, it will be somewhat a backup. The
> XML will be updated when configuration file was changed, and
> all changed data from the GUI is written also to the
> configuration file.

What happens if I change the value in configuration file by hand?
Would such change be noticed and propagated to XML somewhat
backup, or overwritten, or starting a configuration state fork?

PS: any standalone tool which touches system service
configuration like dhcpd.conf is on the same ground as
"edit by hand" regarding distribution-provided configuration
mechanism unless the tool is "familiar" with the mechanism.
But then it's not distro-agnostic or one has a battle of 
Linux Distributions Mountain... :)

-- 
 ---- WBR, Michael Shigorin <mike-u2l5PoMzF/[email protected]>
  ------ Linux.Kiev http://www.linux.kiev.ua/

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_____________________________________________________________________
Ltsp-developer mailing list.   To un-subscribe, or change prefs, goto:
      https://lists.sourceforge.net/lists/listinfo/ltsp-developer
For additional LTSP help,   try #ltsp channel on irc.freenode.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.