Bug 132583

Summary: Set USB network iterfaces to hotplug
Product: [openSUSE] openSUSE 10.2 Reporter: Michael Stather <kontakt>
Component: YaST2Assignee: Michal Zugec <mzugec>
Status: RESOLVED FIXED QA Contact: Klaus Kämpf <kkaempf>
Severity: Enhancement    
Priority: P5 - None    
Version: RC 1   
Target Milestone: ---   
Hardware: Other   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Michael Stather 2005-11-07 16:58:37 UTC
When a network interface is added and it´s connected through usb, IMHO the starting mode should be set to "if hot-plugged" since it needn´t be attached at startup.
Comment 1 Michael Gross 2005-11-07 17:28:32 UTC
Please be more verbose, what exactly do you mean by that?
Comment 2 Michael Gross 2005-11-11 16:55:56 UTC
Closing this. If some information can be provided, reopening is possible.
Comment 3 Michael Stather 2005-11-13 18:32:48 UTC
What information do you need here? I´ve written everything I know about this above, and I think it should be enough. If you have an USB ethernet or wlan adapter it isn´t always present in your system, so the "if hot-plugged" mode is appropriate here.
Comment 4 Michael Stather 2005-11-14 12:44:45 UTC
Sorry I forgot to reopen the bug
Comment 5 Michael Gross 2005-11-14 17:37:58 UTC
Martin?
Comment 6 Martin Vidner 2005-11-15 09:26:26 UTC
Hmm, right. The same for PC cards.
Comment 7 Michael Stather 2006-01-19 16:51:22 UTC
Will this be in 10.1?
Anyway thanks that you implement so many suggestions from your users!
Comment 8 Martin Vidner 2006-08-28 11:52:29 UTC
Reassigning to the new maintainer of yast2-network.
Comment 9 Michal Zugec 2006-08-30 06:47:12 UTC
move to later
Comment 10 Michal Zugec 2007-11-21 12:42:41 UTC
reopen to solve
Comment 11 Michal Zugec 2007-11-21 12:46:04 UTC
from /etc/sysconfig/network/ifcfg.template :

## Type: list(auto,hotplug,ifplugd,nfsroot,manual,off,onboot)
## Default: auto
#
# STARTMODE tells ifup when a interface should be set up. Possible values are:
# - auto:    start it as soon as the interface is available. Either when booting
#            or when a device is plugged or initialized at runtime
# - hotplug: alias for auto, only difference is that configurations with that
#            startmode are not considered to be mandatory if list of mandatory
#            devices is derived automatically.
# - ifplugd: interface will be controlled by ifplugd daemon. (If you like to use
#            multiple interfaces mutually exclusive you have to set also
#            IFPLUGD_PRIORITY.)
# - nfsroot: Nearly like 'auto'. But interfaces with this startmode will never
#            be shut down via 'rcnetwork stop'. 'ifdown <iface>' still works.
#            Use this when you have a nfs root filesystem.
# - manual:  start it only when ifup is called manually
# - off:     will not be started at all
# - onboot:  alias for auto, deprecated, only for backward compliance

Christian, do you agree to set STARTMODE="hotplug" for hotplug (usb, pcmci) devices?
Comment 12 Christian Zoz 2007-11-21 14:03:48 UTC
Yes, do that.
Comment 13 Michal Zugec 2007-11-29 14:38:23 UTC
fixed in yast2-network-2.16.11