Quantcast
Channel: openSUSE Forums
Viewing all articles
Browse latest Browse all 40713

Network is unreachable

$
0
0
Had something strange happen. Didn't touch the network settings for a long time and no need to. But tried connecting the the Internet and in Firefox it said it couldn't find www.yahoo.com and to try again. Also had problems checking for email saying it couldn't find the server. Checked the router, checked the wires, and checked the idiot lights on the router and NIC and all was supposed to be. Tried pinging the machine next to me. Rebooted the machine and the same thing. The only thing I could see what changed is put on some maintenance very recently.

So I found a couple of commands to try:
ifconfig eth0 192.168.1.9
route add -net 0.0.0.0 netmask 0.0.0.0 gw 192.168.1.254

The address was different than what this machine is supposed to have.
After these commands no problem!

I then changed the address on the first line to what this machine should have and entered it Again no problem.

Any ideas?

Tomorrow I will reboot and see if things fall apart. If so, I have the commands to enter to get things back working.

Viewing all articles
Browse latest Browse all 40713

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>