Sunday, May 5, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 1527  / 2 Years ago, tue, february 8, 2022, 7:26:14

I'm using Ubuntu 12.04 Desktop edition. I'm not overly familiar with the unix side, but I'm learning.



From a fresh install, I basically only installed XAMPP. My webserver now works fine (although with dynamic IP).



I'm at a university, so the IT office gave me a static IP and all the accompanying info to set it up.



My subdomain with the university works (although, IP dynamic)



In an attempt to apply static IP, I then modified my /etc/network/interfaces file to the effect of:



auto lo eth0
iface lo inet loopback
iface eth0 inet static
address 192.168.1.101
netmask 255.255.255.0
gateway 192.168.1.1


This killed my network connection: I can't even ping the computer (or ping any other systems from the computer). It seems pretty straightforward, but something obviously went wrong. I'm not sure where to even begin debugging?


More From » webserver

 Answers
6

If you are using Ubuntu Desktop, then it is running its own network manager (conveniently called NetworkManager) and will override the /etc/network/interfaces file. You either need to setup static ip's through NetworkManager, or disable it.


[#28979] Wednesday, February 9, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
bunsistent

Total Points: 198
Total Questions: 108
Total Answers: 121

Location: Monaco
Member since Sun, Jan 16, 2022
2 Years ago
;