Ubuntu 16.04 - Wi-fi , IP is on a network different than my gateway
Sophia Terry
I have a partitioned Lenovo pc. One partition with Ubuntu desktop 16.04, one with Windows 10. Windows has internet connection, Ubuntu does not. It is on a different network.
I tried gathering some info:
etc network interfaces , route
ifconfig -a , iwconfig , ping gw
Worked fine until about a week ago. I cannot figure out what I did wrong, nor why I am not on the same network as my router/gateway (10.0.0.x).
And why I cannot change it via cmd.
Tried:
dhclient -r
route del default
route add default gw myrouterip
iptables -F
service networking stop/reload/start/restart
I believe I've mostly used NetworkManager to connect so far. I've tried playing around with /etc/network/interfaces to solve this, without much success (you can see an empty "#net interface" on one of the pics).
Can anybody help me figure this out?
Output cat syslog grep etwork tail20.png
31 Answer
Finally managed to figure it out, feeling pretty dumb.
nmcli devicegave as result: wlp2s0 Unmanaged.
Either:
sudo nmcli device set wlp2s0 managed yes
sudo nmcli device set wlp2s0 managed on
sudo nmcli device set wlp2s0 managed trueI don't know which one did the trick, but it works now.