LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 03-14-2010, 07:46 AM   #1
sir-lancealot
Member
 
Registered: Aug 2007
Posts: 346

Rep: Reputation: 31
xubuntu static NIC help


I have a project with a small device which is running xubuntu. Running DHCP all works fine, but we are sending this out to a client who gave us some specific IP settings.

There is nothing GUI wise, which is nothing tragic, so I updated the interfaces file with the static info as well as the /etc/resolv.conf file and rebooted. The static info worked but had no DNS, and all that was in that file was;
#SETUP by Network Manager (or something close as I am not at the office).

You can run via cli NetworkManager but does nothing. I installed I think it was called KNetworkManager which is a GUI to the app, but when started it shows the eth0 device as in use so I am assuming something else is managing.

So basically how can I get the DNS settings to stay either cli or gui..

Tnx
 
Old 03-14-2010, 08:39 AM   #2
mario.almeida
Member
 
Registered: May 2008
Location: India
Distribution: Ubuntu 10.04, CentOS, Manjaro
Posts: 179

Rep: Reputation: 27
Hi,

in /etc/network/interfaces

make sure you also have

dns-domain domainname
dns-search domainname 2domainname
dns-nameservers primarydns secondarydns
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
2 NIC with static and dynamic IP karthik167 Linux - Networking 2 10-20-2008 05:29 AM
NIC not functioning on old machine in xubuntu launchpadtt Linux - Hardware 7 02-25-2007 01:03 AM
Debian 3 NIC static routing table crashsystems Linux - Networking 3 11-09-2006 12:58 AM
Adding multiple static IPs to one NIC digihlp Linux - Networking 2 06-26-2003 07:13 PM
one NIC, DHCP and static IP Nevetsmik103081 Linux - Networking 2 10-29-2002 10:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration