Host name is at "/etc/hostname". Change it using sudo.

Is there a reason why you want a specific IP address ?  Dont you have
a DHCP server (or a router that has the service) ?
You can also request a specific IP address from your DHCP server, and
if available it will offer it to you.

If you want to get your hands dirty, checkout the file "/etc/network/
interfaces".  Just add the following to that file if you want a eth0
device to be static IP (make sure you insert your own IP addresses).
auto eth0
iface eth0 inet static
address 192.168.1.10
netmask 255.255.255.0
gateway 192.168.1.1


cheers
  Janaka


On Mar 3, 6:15 am, Adam Beneschan <[email protected]> wrote:
> On Mar 2, 10:42 am, Christopher Stamper <[email protected]>
> wrote:
>
>
>
> > On Mon, Mar 2, 2009 at 1:36 PM, Adam Beneschan <[email protected]> wrote:
>
> > > Hi, everyone,
>
> > > I'm new to Ubuntu, so my apologies if this is an idiot question.
>
> > > I'm trying to configure Ubuntu on a new machine (purchased with
> > > Windows Vista and used Wubi to install Ubuntu).  I will also need to
> > > set up some other Linux machines to talk to it.
>
> > > (1) In the Ubuntu help, I found "Change the name of your computer".
> > > The instructions say to go to System -> Administrator -> Network and
> > > press the Unlock button.  But under System -> Administrator, I see
> > > "Network Tools", not simply "Network"; and there's no Unlock button on
> > > the "Network Tools" display.  Am I missing something, do I need to
> > > install something else, or ???
>
> > I think it's under 'preferences' rather than 'administration' in 8.10. Just
> > look around; you could also use the notification icon I think (top right).
>
> > FWIW, changing the computer name prob won't do what you are expecting.
> > AFAIK, its the IP hostname, rather than the SMB (windows networking) name
> > that you'll be changing...
>
> > > (2) The system is connected to the network via a wired Ethernet
> > > connection.  Ubuntu automatically configured this connection and
> > > assigned an IP address to it.  Suppose that I have a reason to assign
> > > a different specific IP address (i.e. to the IP address that was
> > > assigned to a system we no longer have, in order to reduce the amount
> > > of configuration work I need to do on other systems).  Is there a way
> > > to do this, either via some application, or via running ifconfig
> > > manually?
>
> > You can do that easily from within the network preferences application.
>
> Thanks for your help; unfortunately, I still can't get the IP address
> changed.  I found Preferences -> Network Configuration, and in IPv4
> Addresses, changed "Method" from Automatic to Manual, then entered the
> IP address, subnet mask, and gateway addresses, plus a couple pieces
> of information in the DNS fields.  Then OK, Close, and reboot.  It
> didn't seem to have any effect, and when I went back to Network
> Configuration, the information I entered wasn't there.  I didn't see
> any Unlock button, either...
>
> Regarding the hostname: I think it *is* the IP hostname I want to
> change, but I didn't see a place to do that.  (I may be concerned
> about SMB later, but not right this moment...)  I'm not sure how
> important it is, since other hosts will probably get the hostname
> from /etc/hosts or NIS.  But the other Linux systems we have do seem
> to know their own names, so it seems like there should be a way to
> configure this on Ubuntu also.
>
>                              -- thanks, Adam
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Ubuntu Linux" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/ubuntulinux?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to