- sudo ifconfig eth0 up (in order to logically enable the interface)
- sudo ifconfig eth0 192.168.0.4 (to set the ip since dhcp wasn't working)
- sudo ifup eth0 (this should have turned dhcp on for eth0)
- vi dns.txt
- enter "nameserver 4.2.2.2" and save and quit
- cat dns.txt | sudo resolvconf -a eth0
- And you should be live!
A technical journal of my experiences with computers. Whenever I hit a problem, I'll post it up here and document my solution for the good of mankind (and myself when I forget how to fix the same issue in 3 months). Additionally, if I find a technical story that is just too important to not mention, I might post up a link and synopsis of it.
Monday, September 30, 2013
Enabling Networking from Terminal in Lubuntu 12.04
I was running a "sudo do-release-upgrade" on my Lubuntu 12.01 laptop when durring a series of unfortunate events, I broke it. It rebooted and I was able to login, but no X session. Here is what I did to come back. I typed:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment