setting static ip address
Charlie Kravetz
cjk at teamcharliesangels.com
Wed Mar 18 22:04:26 UTC 2009
On Wed, 18 Mar 2009 12:14:44 -0400
Bart Silverstrim <bsilver at chrononomicon.com> wrote:
> Unreal Root wrote:
> > Donald Raikes wrote:
> >> Hello,
> >>
> >> When I installed my intrepid system, it didn't give me the
> >> opportunity to configure the ethernet card to set a static ip
> >> address.
> >>
> >> How do I configure the ip address to switch from dhcp to static?
> >>
> >>
> > Open a terminal and type the following:
> >
> > sudo gedit /etc/network/interfaces
> >
> > You will see lines similar to this:
> >
> > auto eth0
> > iface eth0 inet dhcp
> >
> > Change that to the following filling in the correct information for
> > your network:
> >
> > auto eth0
> > iface eth0 inet static
> > address 192.168.1.50
> > netmask 255.255.255.0
> > network 192.168.1.0
> > broadcast 192.168.1.255
> > gateway 192.168.1.1
> >
> > Hope this helps.
>
> Network manager, in my experiences on recent Ubuntu releases. has
> sucked.
>
> Manual editing of that file can interfere with tools later on,
> though...
>
> My best experiences have been from advice here to install wicd.
> Google "wicd install ubuntu" and you should find the homepage for the
> project that includes directions on adding it to your repo list for
> your Ubuntu release, then install that and you can set it for a
> static IP and not have it magically disappear or lose the connection
> altogether the way network manager has done to me before.
>
Nice change coming. Wicd is included in universe for jaunty!
--
Charlie Kravetz
Linux Registered User Number 425914 [http://counter.li.org/]
Never let anyone steal your DREAM. [http://keepingdreams.com]
More information about the ubuntu-users
mailing list