Bug 402934

Summary: Can not set DNS
Product: [openSUSE] openSUSE 11.0 Reporter: Markku Siipola <msas>
Component: NetworkAssignee: Michal Zugec <mzugec>
Status: RESOLVED DUPLICATE QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: benjamin.j.mccann, msas
Version: Final   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Customer Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Markku Siipola 2008-06-23 19:47:25 UTC
I'm using Swedish menus in GNOME desktop, so everything below is a translation of the Swedish texts.

- I opened YAST-Network Settings
- Selected DNS tab
Typed:
- Hostname: linux
- Domain: mydomain
- Ticked: (greyed out:)Change hostname via DHCP  No interface with dhcp
- Not ticked: Write hostname to /etc/hosts
- Not ticked: Change /etc/resolv.conf manually
Nameserver 1: 195.67.199.9
Nameserver 2: 195.67.199.10
Domain serching filed: (blank)
Ticked: (grayed out:)Update DNS data via DHCP No interface with dhcp

----------------
When I push the Finish button, a new window open, where "ticks" are set in a list which begins with: "Write drive routine information" etc.
When the "ticks" comes to the line "Activate network services", an error popup is shown with the text: "Cannot access installation media (Medium1)."

The "show details" line shows following URL:
download.opensuse.org/distribution/11.0/repo/non-oss

"Download (curl) error for 'http://download.opensuse.org/distribution/11.0/repo/non-oss/repodata/repomd.xml':
Error code:
Error message: Couldn't resolve host 'download.opensuse.org'"

--------------
After that file "/etc/resolv.conf" is cleared and the DNS service has stopped. In order to get the DNS the work again, I had to edit "resolv.conf" manually.
Comment 1 Markku Siipola 2008-06-24 15:33:38 UTC
When boot my computer file "/etc/resolv.conf" is always cleared.
On the first tab in "Network Settings" the alternative "traditional method with ifup" is NOT selected.
Comment 2 Markku Siipola 2008-06-24 15:41:13 UTC
If I activate "traditional method with ifup" it looks like the DNS is setup correctly and resolv.conf is NOT cleared.
Comment 3 Benjamin McCann 2008-07-01 02:19:27 UTC
Are you using a static IP?
I could not get my DNS info to be saved while using a static IP.  To workaround, I switched my network card back to DHCP and then assigned the name servers and then set the card to use a static address again.
Comment 4 Michal Zugec 2008-07-01 06:55:37 UTC

*** This bug has been marked as a duplicate of bug 393046 ***
Comment 5 Markku Siipola 2008-07-01 16:02:01 UTC
Yes, I'm using static IP-adresses and not DHCP.

I have a Netgear router connect to ADSL, set to 192.168.1.1.
The default gateway also set to this address.
/etc/resolv.conf is set to 192.168.1.1.

Everything is workning now, but I have to select "traditional method with ifup"
in the Network settings.