View Full Version : Server IP
TekZonz
March 17th, 2005, 04:59 PM
Hello,
I was looking around but was not able to find an answer to my simple (at least I hope) question.
What command will tell me the server IP on the only network it's connected.
And secondly, how do I manually set IP/DNS on my ubuntu server?
Thank you in advance for your help,
TekZone
diebels
March 17th, 2005, 06:04 PM
What command will tell me the server IP on the only network it's connected.
route -n
And secondly, how do I manually set IP/DNS on my ubuntu server?
Hoary has a bunch of gnome-admin tools for this, don't remember how that was on warty. Anyway, you can set ip adress of network interfaces like a ethernet card, with ifconfig. See man ifconfig for details. DNS is set up in /etc/resolv.conf with "nameserver $ipofnameserver" lines. To run your own DNS server, you install somehting like bind9.
Myles3
March 17th, 2005, 08:22 PM
And secondly, how do I manually set IP/DNS on my ubuntu server?
TekZone
Just use the gnome network manager located in computer -> sys confg -> networking
then in the network box go to Properties
That should do it
And if you want to see you ip use Network Tools located in App -> sys tools -> network tools
TekZonz
March 18th, 2005, 03:47 AM
Thank your for your help, I shall check all this out.
@Myles3, this is going to pretty difficult since it's a "custom" install and does not have Gnome installed.
vBulletin® v3.8.1, Copyright ©2000-2009, Jelsoft Enterprises Ltd.