Friday, April 19, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 4669  / 3 Years ago, thu, june 10, 2021, 11:16:20

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?


More From » networking

 Answers
1

You will need to remove Network Manager altogether:



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


Then do:



sudo -H 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!


[#44966] Friday, June 11, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
anatta

Total Points: 326
Total Questions: 128
Total Answers: 96

Location: Jordan
Member since Sun, Jun 26, 2022
2 Years ago
anatta questions
Sun, Jul 17, 22, 07:13, 2 Years ago
Sun, Jun 6, 21, 12:17, 3 Years ago
Sat, Jun 12, 21, 20:43, 3 Years ago
Thu, Jan 13, 22, 20:49, 2 Years ago
Sat, Jun 5, 21, 05:39, 3 Years ago
;