Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
08-15-2009, 09:11 PM
|
#1
|
Member
Registered: Jul 2007
Distribution: Ubuntu, Windows, Freenas
Posts: 96
Rep:
|
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
|
|
|
08-15-2009, 09:26 PM
|
#2
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
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
Last edited by micxz; 08-15-2009 at 09:28 PM.
|
|
|
08-15-2009, 11:23 PM
|
#3
|
Member
Registered: Jul 2007
Distribution: Ubuntu, Windows, Freenas
Posts: 96
Original Poster
Rep:
|
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)
|
|
|
08-15-2009, 11:59 PM
|
#4
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
I would try:
address 192.168.0.2
It looks like your gateway is the same IP as your interface'
|
|
|
08-16-2009, 12:08 AM
|
#5
|
Senior Member
Registered: Sep 2002
Location: CA
Distribution: openSuSE, Cent OS, Slackware
Posts: 1,131
Rep:
|
Quote:
Originally Posted by Silver565
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 10:58 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|