IP/DNS Setup on Kubuntu - Solutions & Tips

  • Thread starter Thread starter assed
  • Start date Start date
Click For Summary

Discussion Overview

The discussion revolves around setting up IP and DNS configurations on Kubuntu, focusing on how to enable DHCP for network interfaces. Participants share various methods and troubleshooting steps related to network connectivity issues, with a mix of technical advice and personal experiences.

Discussion Character

  • Technical explanation
  • Debate/contested
  • Exploratory

Main Points Raised

  • One participant suggests setting the network to "Obtain IP/DNS address automatically" but is unsure how to do this on Kubuntu.
  • Another participant advises modifying the /etc/network/interfaces file to set the interface to use DHCP, providing specific code to add for the eth0 interface.
  • A different participant reports issues with connecting to wired and wireless networks after attempting the suggested configuration changes, expressing confusion over the expected behavior.
  • One participant recommends testing the hardware by using a Ubuntu live CD to determine if the issue is related to software configuration or hardware failure.
  • Another participant points out that Network Manager should be accessible through "System Settings" in KDE and suggests checking for its installation, noting the variability in setups.

Areas of Agreement / Disagreement

Participants express differing views on the effectiveness of the suggested solutions, with some reporting success while others encounter ongoing connectivity issues. There is no consensus on the root cause of the problems being discussed.

Contextual Notes

Participants mention various configurations and setups, indicating that solutions may depend on specific system configurations and versions of Kubuntu. There are also references to potential hardware issues that remain unresolved.

assed
Messages
26
Reaction score
1
Some suggestions ot solve my problem include set the network to " Obtain IP/DNS address automatically ". I've seen that in other operational systems this setting is pretty easy to find, but I can't find a way to do it on kubuntu. Can someone tell me how its done. Thanks.
 
Computer science news on Phys.org
You need to set the interface to use DHCP. This is the default setting as far as I know.

To set an interface to use DHCP, you'll need to modify your /etc/network/interfaces
(I am assuming that eth0 is the interface that you are using. If not, you will need to change that to whatever interface you're on)

first make a copy of the file, in case we break something else

then add the following code
Code:
auto eth0
iface eth0 inet dhcp

then restart the network manager so that it uses the new settings with the following command
Code:
service network-manager restart

EDIT: Given your other post, I would also suggest that you check with the Univeristy's IT department first. There may be a specific reason why you're not able to connect to your network. They will likely be able to tell you why. Once you have that, it is a lot easier to solve.
 
Thanks for the reply.
Didn't have time to check with the IT department and as sometimes they recquire you to leave your computer there for some time with them and I am currently in need of using it I am postponing it and trying some suggestions to solve this, and using other connections when I need.
By the way, I have already tried what you suggested and when I set "eth0" (the way you recommended), I cannot connect to any wired connection. Same way, when I set "wlan0" (which I think is my wireless interface) my computer doesn't detect any wireless connection. Do you know a reason why this is happening? I find it strange because many people suggest it as if it were usual/default.
Thanks again.
 
I'd start off by trying to narrow down if the problem was hardware or a software configuration. Download a Ubuntu live CD from another system and try booting your computer from that. If you are able to use the NIC to connect to a network, then we know the problem is some configuration (works on LiveCD but not when you boot from the HDD). If it still doesn't work, then we may possibly be looking at a hardware issue.

I'd also post on the kubuntu support forums.
 
Last edited:
Greetings
Since you have the KDE desktop, you should find Network Manager in "System Settings" and it is quite intuitive to set. If by chance your version didn't include Network Manager, you can use Synaptic or your Software Manager to download and add it. On most distros "System Settings" is on the Favorites (first page) of the Kicker Menu. If not for you, look in "Settings" or "System". Sorry for so many "ifs" but there are so many possibilities depending on how you setup KDE to suit you.

Just for the record, in Unix Land (still in use in BSD and some Linux distros) most configuration scripts are routinely in "/etc/rc.d". Unfortunately many have dispensed with the easy text way in the interest of "convenience". You can check to see if yours still has such scripts but the GUI in KDE works well too.
 

Similar threads

  • · Replies 35 ·
2
Replies
35
Views
7K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
4
Views
3K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 1 ·
Replies
1
Views
5K
Replies
2
Views
2K
Replies
4
Views
4K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 3 ·
Replies
3
Views
4K