LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Setup static ip-address in kubuntu? (https://www.linuxquestions.org/questions/linux-newbie-8/setup-static-ip-address-in-kubuntu-747846/)

Silver565 08-15-2009 09:11 PM

Setup static ip-address in kubuntu?
 
I know how to do this in ubuntu, but i can't seem to find the settings/manager to change an ipaddress per connection under kubuntu.

I would like it so that eth1 is configured via dhcp, and eth0 has a static ipaddress of 192.168.0.1

Where is the network manager like the one in ubuntu?

Any help would be appreciated

Cheers

micxz 08-15-2009 09:26 PM

On my system in /etc/sysconfig/network/ifcfg-eth0 is the network setting for device eth0. I know redhat/centOS uses a similar setup but with the network folder called "network-scripts". I don't run kubuntu but it must be similar. Maybe /etc/network/interface

Silver565 08-15-2009 11:23 PM

Hmmm thats the problem..

I've set it up like

auto eth0
iface eth0 inet static
address 192.168.0.1
netmask 255.255.255.0
broadcast 192.168.0.254
gateway 192.168.0.10
and it says "failed to initialize eth0" (or something like that)

micxz 08-15-2009 11:59 PM

I would try:

address 192.168.0.2

It looks like your gateway is the same IP as your interface'

micxz 08-16-2009 12:08 AM

Quote:

Originally Posted by Silver565 (Post 3644924)
it says "failed to initialize eth0" (or something like that)

Sorry I missed this info. Please post what is says and what the log saying. "something like that" usually does not cut when trying to debug error messages.


All times are GMT -5. The time now is 06:02 PM.