[Bug 413214] New: NetworkManager does not honour static IP configuration or " Activate Device Manually" configurations in Yast
https://bugzilla.novell.com/show_bug.cgi?id=413214 Summary: NetworkManager does not honour static IP configuration or "Activate Device Manually" configurations in Yast Product: openSUSE 11.0 Version: Final Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Network AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: listuser@peternixon.net QAContact: qa@suse.de Found By: --- I have a Belkin external USB ethernet/serial/parallel/usb expander device which I connect my notebook to while in the office. I use its ethernet port to connect directly to devices under test (We produce ADSL Modems and Access Points) that I cant connect to the office LAN. My wireless interface stays connected to the general purpose office LAN (with DHCP enabled) and my inbuilt interface is generally connected to a separate R&D network (with DHCP enabled). I need my USB ethernet interface to have a static IP address and to be always up (ie. Do no cable/hotplug detection at all) as the test devices I connect it to may not have working DHCP etc (Even if they do have DHCPD I still want to use a static IP and NOT to inherit a default route through the test device). Unfortunately it doesn't matter how I configure this interface it ALWAYS requests a DHCP IP on cable plug! I have tried every config combination I can think of, however NetworkManager always ignores it and merrily trys to run the DHCP client. This is particularly annoying when trying to run "recovery" utilities that need to send magic packets to the device immediately after reboot as even a manually configured IP (with ifconfig) is blown away by NetworkManager as soon as it detects link on the ethernet cable... -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 Cyril Hrubis <chrubis@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.provo.novell.com |hschaa@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 Helmut Schaa <hschaa@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|hschaa@novell.com |tambet@novell.com -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 Federico Mena Quintero <federico@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Severity|Normal |Major Priority|P5 - None |P3 - Medium -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User masterpatricko@gmail.com added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c1 Tejas Guruswamy <masterpatricko@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |masterpatricko@gmail.com --- Comment #1 from Tejas Guruswamy <masterpatricko@gmail.com> 2008-08-09 15:37:18 MDT --- I'm experiencing a similar problem. Even with NM_CONTROLLED='no' in /etc/sysconfig/network/ifcfg-{interface} it just won't leave it alone! /sbin/ifstatus {interface} does not say Managed by NetworkManager but viewing the NetworkManager log clearly shows that it is being modified. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c2 Tambet Ingo <tambet@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #2 from Tambet Ingo <tambet@novell.com> 2008-11-17 06:57:35 MST --- NetworkManager in 11.1 does not support reading yast configuration anymore at all (because it never worked correctly and the two methods are just too incompatible to work together). The static IP configuration can be configured from NM's connection editor (accessible from control center and the applet's right-click menu). In order to make NetworkManager totally ignore a device, add the following lines to /etc/NetworkManager/nm-system-settings.conf: [keyfile] unmanaged-devices=$UDI where $UDi is the HAL UDI of the device, which can be found from the output of 'lshal' command. That is not very user friendly, but at the same time, it's not a very common thing to do. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User listuser@peternixon.net added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c3 --- Comment #3 from Peter Nixon <listuser@peternixon.net> 2008-11-17 09:15:54 MST --- So I didn't quite understand if it is now possible to configure NetworkManager to have a static IP on a device and do no link detection or not.. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c4 --- Comment #4 from Tambet Ingo <tambet@novell.com> 2008-11-17 23:52:18 MST --- It is not possible to configure a device in NetworkManager to ignore link detection. It is possible to assign a static IP to a device and it'll be activated every time the cable is plugged in. It is possible to make NM totally ignore a device, configure it manually with ifconfig, and NM will not touch it. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User listuser@peternixon.net added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c5 --- Comment #5 from Peter Nixon <listuser@peternixon.net> 2008-11-18 02:15:15 MST --- OK, but if I understand correctly, it will then also not be configurable with yast which means that I would then have to write my own init script to get the behaviour I am looking for.. Is this correct? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c6 --- Comment #6 from Tambet Ingo <tambet@novell.com> 2008-11-18 02:44:24 MST --- Yes, that is correct. By your own script, you mean "ifconfig xxx.xxx.xxx.xxx"? -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User listuser@peternixon.net added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c7 --- Comment #7 from Peter Nixon <listuser@peternixon.net> 2009-01-05 04:24:16 MST --- I am re-opening this bug as there is definitely still an issue with using static IPs configured via network manager. I have just booted my notebook with an ethernet cable connected to both ethernet interfaces. NetworkManager autoconnected to the wifi interface to my office AP, and received a DHCP IP address from the eth0 interface connected to the same network, (Hence the 2x 10.11.12.x IP addresses) however it will not allow me to connect the other eth1 interface to my management network. I have created a manual IP config, and I am selecting it from the systray menu, but it never assigns the IP to the interface. (ethtool shows that the interface is physically up) # ifconfig eth0 Link encap:Ethernet HWaddr 00:16:D3:BF:5F:AB inet addr:10.11.12.58 Bcast:10.11.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2836 errors:0 dropped:0 overruns:0 frame:0 TX packets:2378 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:1197582 (1.1 Mb) TX bytes:344029 (335.9 Kb) Interrupt:17 eth1 Link encap:Ethernet HWaddr 00:80:00:00:5C:15 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:5 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:1710 (1.6 Kb) lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:84 errors:0 dropped:0 overruns:0 frame:0 TX packets:84 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:6024 (5.8 Kb) TX bytes:6024 (5.8 Kb) wlan0 Link encap:Ethernet HWaddr 00:1D:E0:0A:E3:29 inet addr:10.11.12.14 Bcast:10.11.255.255 Mask:255.255.0.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1133 errors:0 dropped:0 overruns:0 frame:0 TX packets:51 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:137052 (133.8 Kb) TX bytes:9587 (9.3 Kb) wmaster0 Link encap:UNSPEC HWaddr 00-1D-E0-0A-E3-29-00-00-00-00-00-00-00-00-00-00 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:0 (0.0 b) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=413214 User tambet@novell.com added comment https://bugzilla.novell.com/show_bug.cgi?id=413214#c8 --- Comment #8 from Tambet Ingo <tambet@novell.com> 2009-01-05 04:49:18 MST --- Please attach your /var/log/NetworkManager log file here and let me know the time when you attempt to manually activate the ethernet device that fails. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com