retitle 565187 please provide a user-friendly init script to set networking on 
or off
thanks

>I just came across that deprecated message, too. Besides this bug report,  
>Google found 940.000 results (2.770 when put in parentheses), so I guess  
>some bytes of text leading the user to a solution (or simply stating what  
>to use instead) would make life easier for a lot of people and  
>additionally reduce the amount of support requests.

I still get this error message, the problem is still here.

Seems to me there is no solution apart from using ifup/ifdown by hand for each 
interface (hum, 2012? Great. I understand why someone would not advertise 
killing /etc/init.d/networking with such "alternative").

The fact that Debian tries to bring up interfaces whenever they are plugged in 
is good. It is quite obvious it should not require any configuration of any 
kind to fire up an ethernet card that can find an IP with DHCP. So I guess the 
following should always be assumed for any available interface:
  allow-hotplug ethX
  iface ethX inet dhcp

I'm however concerned by the fact it would bring interfaces even if 
/etc/init.d/networking was never started, though. Does this mean now Debian is 
connected to the web with no immediate way for the use to shut it down?

Considering there's no replacement for /etc/init.d/networking I guess we could 
all agree that a way to handle this (now closed) bug (that's a regression, 
something that used to work that no longer works, so it's a bug) would be to 
improve the script so it would, at least, list active interface before bringing 
them down and attempt afterwards to bring them up?

( Or are we supposed to use stuff like NetworkManager that reinvent it's very 
broken way /etc/network/interfaces and poorly handle 
pre-up/post-up/pre-down/post-down scripts as described 
http://yeupou.wordpress.com/2011/09/15/automounting-nfs-shares-using-if-up-dif-down-d/
 ?)

Don't you think it would be useful to keep providing a switch on/off for 
networking? We can surely unplug the cable whenever we want immediate  
disconnect, but cannot we have something a bit more user-friendly?

If you really do not want to, then you should consider removing completely the 
/etc/init.d/networking script from your package. Then maybe another package 
will provide it. 
e problem is still here.

Seems to me there is no solution apart from using ifup/ifdown by hand for each 
interface (hum, 2012? Great. I understand why someone would not advertise 
killing /etc/init.d/networking with such "alternative").

The fact that Debian tries to bring up interfaces whenever they are plugged in 
is good. It is quite obvious it should not require any configuration of any 
kind to fire up an ethernet card that can find an IP with DHCP. So I guess the 
following should always be assumed for any available interface:
  allow-hotplug ethX
  iface ethX inet dhcp

I'm however concerned by the fact it would bring interfaces even if 
/etc/init.d/networking was never started, though. Does this mean now Debian is 
connected to the web with no immediate way for the use to shut it down?

Considering there's no replacement for /etc/init.d/networking I guess we could 
all agree that a way to handle this (now closed) bug (that's a regression, 
something that used to work that no longer works, so it's a bug) would be to 
improve the script so it would, at least, list active interface before bringing 
them down and attempt afterwards to bring them up?

( Or are we supposed to use stuff like NetworkManager that reinvent it's very 
broken way /etc/network/interfaces and poorly handle 
pre-up/post-up/pre-down/post-down scripts as described 
http://yeupou.wordpress.com/2011/09/15/automounting-nfs-shares-using-if-up-dif-down-d/
 ?)

Don't you think it would be useful to keep providing a switch on/off for 
networking? We can surely unplug the cable whenever we want immediate  
disconnect, but cannot we have something a bit more user-friendly?

If you really do not want to, then you should consider removing completely the 
/etc/init.d/networking script from your package. Then maybe another package 
will provide it. 




-- 
Mathieu Roy


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to