[Bug 223498] New: Test Internet Connection does not show Network Interface name in case of VNC installation
https://bugzilla.novell.com/show_bug.cgi?id=223498 Summary: Test Internet Connection does not show Network Interface name in case of VNC installation Product: openSUSE 10.2 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Installation AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: locilka@novell.com QAContact: jsrain@novell.com CC: kmachalkova@novell.com I've installed the computer over VNC and now the interface, which was used for the installation, doesn't show any Device Name during the Internet Connection Test. It's because the ifcfg file doesn't contain this information. Why this file doesn't contain that information? My secret information source told me, that this is a special case of creating ifcfg file at the end of the installation (just to make possible to continue the installation after reboot). It's create by a special script called from installation/network_finish.ycp and the script name is: '/sbin/create_interface'. It's neither part of the yast2-installation nor yast2-network. This ifcfg file contains only these keys: BOOTPRO, UNIQUE, STARTMODE at least network needs key NAME with Interface Name from hwinfo. This is nothing critical and it's a special case... -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 mhorvath@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team- |kmachalkova@novell.com |screening@forge.provo.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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 kmachalkova@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED ------- Comment #1 from kmachalkova@novell.com 2007-01-16 02:46 MST ------- /sbin/create_interface takes data from /etc/install.inf and there is no information about Device Name in install.inf (at least not in network installation) What I can do from y2-network point of view is that some generic string will be displayed if NAME cannot be read from ifcfg file for whatever reason .. and leave the rest up to installation-images maintainer -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 kmachalkova@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|kmachalkova@novell.com |snwint@novell.com Status|ASSIGNED |NEW ------- Comment #2 from kmachalkova@novell.com 2007-01-16 05:52 MST ------- Done in y2-network 2.13.89 (2.15.9) Steffen, can Device Name (i.e. the one under NAME key in ifcfg file) be added to install.inf, or obtained from hwinfo in create_interface script ? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kmachalkova@novell.com ------- Comment #3 from snwint@novell.com 2007-01-23 07:42 MST ------- I'm sorry, I've no idea what this is about. Why on earth would VNC be a special case? I see no reason why yast should have problems showing the card name if it can do so in other cases. And I haven't written a single byte of create_interface, so don't ask me about 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 kmachalkova@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mzugec@novell.com Status|NEEDINFO |NEW Info Provider|kmachalkova@novell.com | ------- Comment #4 from kmachalkova@novell.com 2007-01-23 08:44 MST -------
Why on earth would VNC be a special case? I see no reason why yast should have problems showing the card name if it can do so in other cases.
Yuck ... both VNC and SSH installation are special cases with regards to the fact that once 2nd stage of installation starts, network must be already set up - so that remote machine can connect to ssh daemon or to VNC session. And since network proposal turns up later on in the installation, some minimal network setup (ifcfg files) must exist already at the beginning of 2nd stage. That's why create_interface script is called, to do this minimal setup.
And I haven't written a single byte of create_interface, so don't ask me about it.
Alright, this is probably really a job of y2-network maintainers. Since I don't think I have write access to installation-images svn, I'll attach a patch to this bug, once the fix is done. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |kmachalkova@novell.com ------- Comment #5 from snwint@novell.com 2007-01-23 09:09 MST ------- Well yes, and why again can't yast show the network card's name? -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 kmachalkova@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|kmachalkova@novell.com | ------- Comment #6 from kmachalkova@novell.com 2007-01-24 03:23 MST ------- (In reply to comment #5)
Well yes, and why again can't yast show the network card's name?
It is because network card's name is read from /etc/sysconfig/network/ifcfg-* file. There you have (among others) key such as NAME='Realtek RT8139'. This ifcfg file is created by create_interface script at the beginning of 2nd stage and the NAME key is not there simply because create_interface does not put it there. create_interface only dumps BOOTPROTO, UNIQUE and STARTMODE keys to ifcfg file (see initial bugreport), since these are easily readable from install.inf. This is the very minimum for succesful network start. If NAME key is not there, network starts, but in Internet test dialog, an user sees generic string "Unknown device" instead of real name of his/hers NIC or modem. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 ------- Comment #7 from snwint@novell.com 2007-01-24 03:45 MST ------- The name is not always available at install time (e.g. for a manual install). I can't guarantee that it will be there. I still think yast should simply look the name up if it wants to display 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498 snwint@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|snwint@novell.com |kmachalkova@novell.com Component|Installation |Installation Product|openSUSE 10.2 |openSUSE 10.3 Version|RC 1 |Alpha 1 ------- Comment #8 from snwint@novell.com 2007-01-26 06:12 MST ------- linuxrc now adds NetCardName: foo super card to install.inf. The entry might be missing in some cases. -- 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, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=223498#c9 Katarina Machalkova <kmachalkova@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #9 from Katarina Machalkova <kmachalkova@novell.com> 2007-10-03 11:27:16 MST --- create_interface has been migrated from installation-images to y2-network and rewritten to YCP as save_network.ycp. This script now appends NAME= to ifcfg- file it creates at all times. So I believe this should be long ago fixed. -- 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