Bug#256636: Yep, this is a bug

Thomas Hood Thomas Hood <jdthood@aglu.demon.nl>, 256636-quiet@bugs.debian.org
Sat, 10 Jul 2004 10:28:55 +0200


--=-BAMbktjxLsCgXurvadd8
Content-Type: text/plain
Content-Transfer-Encoding: 7bit

Applications|System Tools|Connections is useless.  It isn't just
the "Active" field that doesn't work.  On my system all the "Type"
fields read "Unknown interface type" and the "Device" fields show
not the  kernel interface names but the logical interface names.

If this tool works at all then I suspect it is making the assumption
that kernel interface names and logical interface names are the same.
In general they aren't.  Whoever is responsible for this tool should
read ifup(8) and interfaces(5) and the Networking chapter of the
Debian Reference.  In the meantime either Network Settings should be
disabled for writing or gnome-system-tools should be held out of sarge.

I decide to "Activate" one of the interfaces.  After a couple of
seconds the tool adds several useless lines to /etc/network/interfaces.
I attach the file as it was before and as it is after the changes.
It adds a "name" option to each logical interface definition with
value "Unknown interface type".  WTF is that all about?   It adds
"broadcast" options where there were none before, even though this
option is not required.  It adds "network" options even though these
haven't been used since Linux 2.1.  "Deactivate" doesn't do anything.
--
Thomas Hood

--=-BAMbktjxLsCgXurvadd8
Content-Disposition: attachment; filename=interfaces_POST_GST
Content-Type: text/plain; name=interfaces_POST_GST; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

auto lo

iface lo inet loopback

mapping hotplug
	script echo

mapping eth_* ethp_*
	script guessnet-ifupdown
	map verbose: true
	map home-wired
	map vt100
	map home-dhcp

mapping wlan_* wlanp_*
	script guessnet-ifupdown
	map home-wireless
	map home-dhcp

iface home-wired-bare inet static
	address 192.168.1.33
	netmask 255.255.255.0
	up true
	broadcast 192.168.1.255
	network 192.168.1.0

iface home-wired inet static
	address 192.168.0.1
	netmask 255.255.255.0
	gateway 192.168.0.254
	dns-nameservers 192.168.0.254
	test-peer address 192.168.0.254 mac 00:60:B3:18:0F:5A source 192.168.0.1
	up true
	broadcast 192.168.0.255
	down true
	#cups-printers lassie
	mail-relay post.demon.nl
	network 192.168.0.0

iface home-wireless-bare inet static
	address 192.168.0.2
	netmask 255.255.255.0
	network 192.168.0.0
	test-command /usr/share/guessnet/test-wifi-id $IFACE hubertnet
	broadcast 192.168.0.255

iface home-wireless inet static
	address 192.168.0.2
	netmask 255.255.255.0
	network 192.168.0.0
	gateway 192.168.0.254
	test-command /usr/share/guessnet/test-wifi-id $IFACE hubertnet
	dns-nameservers 192.168.0.254
	#cups-printers lassie
	mail-relay post.demon.nl
	broadcast 192.168.0.255

iface home-dhcp-bare inet dhcp

iface home-dhcp inet dhcp
	#cups-printers lassie
	mail-relay post.demon.nl
	up-timeout infinity

iface vt100 inet static
	address 172.16.1.252
	netmask 255.255.255.0
	gateway 172.16.1.1
	dns_nameservers 172.16.1.2
	broadcast 172.16.1.255
	network 172.16.1.0

#iface ppp0 inet wvdial
#	provider KPN-DenHaag LT-modem

iface ppp0 inet ppp
	device /dev/LT-modem
	provider KPN-DenHaag
	up-timeout 90

iface nowhere inet static
	address 192.168.0.98
	netmask 255.255.255.0
	test-command true
	broadcast 192.168.0.255
	network 192.168.0.0


--=-BAMbktjxLsCgXurvadd8
Content-Disposition: attachment; filename=interfaces_PRE_GST
Content-Type: text/plain; name=interfaces_PRE_GST; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit

auto lo

iface lo inet loopback

mapping hotplug
	script echo

mapping eth_* ethp_*
	script guessnet-ifupdown
	map verbose: true
	map home-wired
	map vt100
	map home-dhcp

mapping wlan_* wlanp_*
	script guessnet-ifupdown
	map home-wireless
	map home-dhcp

iface home-wired-bare inet static
	address 192.168.1.33
	netmask 255.255.255.0
	up true

iface home-wired inet static
	address 192.168.0.1
	netmask 255.255.255.0
	gateway 192.168.0.254
	dns-nameservers 192.168.0.254
	test-peer address 192.168.0.254 mac 00:60:B3:18:0F:5A source 192.168.0.1
	up true
	broadcast 192.168.0.255
	down true
	#cups-printers lassie
	mail-relay post.demon.nl

iface home-wireless-bare inet static
	address 192.168.0.2
	netmask 255.255.255.0
	network 192.168.0.0
	test-command /usr/share/guessnet/test-wifi-id $IFACE hubertnet

iface home-wireless inet static
	address 192.168.0.2
	netmask 255.255.255.0
	network 192.168.0.0
	gateway 192.168.0.254
	test-command /usr/share/guessnet/test-wifi-id $IFACE hubertnet
	dns-nameservers 192.168.0.254
	#cups-printers lassie
	mail-relay post.demon.nl

iface home-dhcp-bare inet dhcp

iface home-dhcp inet dhcp
	#cups-printers lassie
	mail-relay post.demon.nl
	up-timeout infinity

iface vt100 inet static
	address 172.16.1.252
	netmask 255.255.255.0
	gateway 172.16.1.1
	dns_nameservers 172.16.1.2

#iface ppp0 inet wvdial
#	provider KPN-DenHaag LT-modem

iface ppp0 inet ppp
	device /dev/LT-modem
	provider KPN-DenHaag
	up-timeout 90

iface nowhere inet static
	address 192.168.0.98
	netmask 255.255.255.0
	test-command true


--=-BAMbktjxLsCgXurvadd8--