Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I would love to know how to configure Kubuntu to not use the NetworkManager so that I can go back to the old way of configuring a static IP in /etc/network/interfaces.
Can anyone help me with this?

I find the userspace plasma widget for configuring the network completely useless. I don't want to have to log into KDE in order for the network to come up, I just want a system wide, wired connection.

Can anyone help with a little advice please?

share|improve this question

1 Answer 1

up vote 1 down vote accepted

You will need to remove Network Manager altogether:

sudo apt-get remove --purge network-manag*

Then do:

sudo gedit /etc/network/interfaces

Below the loopback stanza, add something like:

auto wlan0
iface wlan0 inet static
address 192.168.1.108
netmask 255.255.255.0
gateway 192.168.1.1
wireless-essid myrouter
wireless-key 0123456789

Substitute your details and use an IP address outside the range assigned by the DHCP server in the router. Proofread carefully, save and close gedit.

For WPA encryption, it's:

auto wlan0
iface wlan0 inet static
address 192.168.1.108
netmask 255.255.255.0
gateway 192.168.1.1
wpa-essid myrouter
wpa-psk mysecretkey

Reboot and enjoy!

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.