Bug#317749: [Webmin-maintainers] Bug#317749: Network Interfaces: Please support multiple logical interfaces and mapping

2005-07-12 Thread Thomas Hood

I wrote:
> I am currently running NetworkManager which writes the resolv.conf
> file and I see that webmin already has "support" for this.  On the
> "DNS Client" page, the three "DNS Servers" boxes contain the words
> 'controlled', 'by', and 'NetworkManager'.  It should be easy to
> extend that code so that it recognizes when /etc/resolv.conf is
> managed by resolv.conf.

I spoke too soon.  I changed the hostname on that page and clicked
"Save" and received an error message: '"controlled" is not a valid
nameserver IP address'.  After entering '127.0.0.1' in the first
field and blanks in the others, webmin displays '127.0.0.1',
'controlled' and 'by' as the three addresses.  So NetworkManager
isn't really "supported" yet.  :/

When I entered some legal addresses and clicked 'Save' again,
webmin did change the hostname.

Complaint: the nsswitch.conf file was written even though I hadn't
changed those settings; the old file was byte-for-byte similar
to the file that was written out.  If files aren't changed then
configuration tools should _not_ write them; the ctime should be
preserved.

On a positive note, I am happy to see that webmin does the right
thing in changing the hostname.  It changes the name in both
/etc/hostname and /etc/hosts.  (It correctly does _not_ add the
hostname as an alias for localhost, as gnome-system-tools
incorrectly does.)

--
Thomas Hood



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#317749: [Webmin-maintainers] Bug#317749: Network Interfaces: Please support multiple logical interfaces and mapping

2005-07-12 Thread Thomas Hood

Jaldhar H. Vyas wrote:

Btw, we also need to add the resolveconf support again as I had to 
drop it due to incompatible internal code changes.



I am currently running NetworkManager which writes the resolv.conf file
and I see that webmin already has "support" for this.  On the "DNS Client"
page, the three "DNS Servers" boxes contain the words 'controlled', 'by',
and 'NetworkManager'.  It should be easy to extend that code so that it
recognizes when /etc/resolv.conf is managed by resolv.conf.

--
Thomas Hood


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#317749: [Webmin-maintainers] Bug#317749: Network Interfaces: Please support multiple logical interfaces and mapping

2005-07-11 Thread Jaldhar H. Vyas

On Mon, 11 Jul 2005, Thomas Hood wrote:


Package: webmin-core

Severity: wishlist

(I requested this before as part of a bug report that got closed.)

The current Network Configuration|Network Interfaces screen presumes
that users have one logical interface per physical interface.  If the
user has multiple logical interfaces defined then the page is rather
misleading.



Yeah, now that sarge is behind us, we should look at overhauling this 
whole module.  Btw, we also need to add the resolveconf support again as I 
had to drop it due to incompatible internal code changes.


Hopefully I can get some time to work on it after I come back from 
Finland.


--
Jaldhar H. Vyas <[EMAIL PROTECTED]>
La Salle Debain - http://www.braincells.com/debian/


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#317749: Network Interfaces: Please support multiple logical interfaces and mapping

2005-07-11 Thread Thomas Hood
Package: webmin-core

Severity: wishlist

(I requested this before as part of a bug report that got closed.)

The current Network Configuration|Network Interfaces screen presumes
that users have one logical interface per physical interface.  If the
user has multiple logical interfaces defined then the page is rather
misleading.

I wish that the display would look something like this:

Network interfaces
===
Name   Interface definition
   
lo lo
eth0   home-static
eth1   -

Interface definitions
=
NameFamily Method   Boot?  Options
-- --   -  ---
lo  inet   loopback
home-static inet   static   yesIP Address: 192.168.0.1
   Netmask:255.255.255.0
home-dhcp   inet   dhcp no

Mapping
===
Name   Script  Input
   --  -
eth0   /usr/local/sbin/map-eth.sh  foo bar
   baz bay
eth1   /bin/grep


The "Interfaces" information comes from /etc/network/ifstate.
The "Interface definitions" and "Mapping" information comes from /e/n/i.

-- 
Thomas Hood


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]