LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

Reply
 
Search this Thread
Old 12-08-2012, 06:54 PM   #1
Red Bull
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu Server 12.04
Posts: 23

Rep: Reputation: 0
Ubuntu server network issues


I've been trying to configure my Ubuntu 12.04 network settings using the howtoforge guide and I've ran into a problem with the hostname. All of my network setting seemed fine and I could ping google and everything until I tried to configure the hostname. Right when I did that I could not ping websites, but I can ping LAN devices. I'm guessing it's a DNS error, but I'm new to Ubuntu server so I'm not sure. Any help would be much appricaited, I can provide any information as needed. I'm trying to use this server as a file server and I would like to run a minecraft server as well. Thank you.
 
Old 12-10-2012, 04:07 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,396

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
well if you think it's a DNS issue then that's very tirivial to diagnose. If you do a "ping google.com" does it convert it to an IP address on screen or not? If it does, then it's not a DNS problem.
 
Old 12-10-2012, 05:17 AM   #3
Red Bull
LQ Newbie
 
Registered: Jan 2011
Distribution: Ubuntu Server 12.04
Posts: 23

Original Poster
Rep: Reputation: 0
Here's the error
Code:
frank@server1:~$ ping www.google.com
ping: unknown host www.google.com
frank@server1:~$ hostname
server1.example.com
frank@server1:~$ hostname -f
server1.example.com
frank@server1:~$ nano /etc/hosts
  GNU nano 2.2.6              File: /etc/hosts

127.0.0.1       localhost.localdomain    localhost
192.168.1.100   server1.example.com      server1

# The following lines are desirable for IPv6 capable hosts
::1     ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts#
I'm honestly not sure what's going on, I was just following the guide.
 
Old 12-10-2012, 11:31 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,396

Rep: Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963Reputation: 1963
ok so name servers will be defined in /etc/resolv.conf check there for DNS server entries
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Help with Ubuntu server remote ssh and local network ssh issues using putty. scottpops Linux - Server 8 05-17-2012 05:07 PM
Ubuntu 11.10 Network Manager issues connecting to wireless network after restart depam Linux - Software 2 01-22-2012 08:39 PM
Slackware Samba Server + Windows Network Permissions Issues gankoji Slackware 5 09-20-2011 05:05 PM
[SOLVED] Network issues - need a temporary graphic display on Ubuntu Server (8.10) emmalg Linux - Server 2 11-23-2010 07:26 AM
Dell m1210 Linux issues (having issues getting network working under Ubuntu) thebert Linux - Newbie 4 03-14-2008 03:47 PM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration