Ubuntu Networking :: Ssh Gives Message "network Is Unreachable"
Jul 12, 2010
I have recently installed 10.04 on an old box I have sitting around and wanted to include it in my home network. After struggling with Network Manager I went in and set up the files manually.
/etc/hosts reads:
127.0.0.1 localhost
10.0.0.01 one.network one
10.0.0.02 two.network two
[code]....
then the IPv6 stuff
/etc/network/interfaces reads:
auto lo
iface lo inet loopback
auto eth0
[code]...
Now I can access the internet from this machine, but when I attempt to ssh to another machine in the network I get the message "Port 22 network is unreachable" Checking with google I found that there should be some ssh config files. I have one ssh_config but no sshd_config. I don't know if this is relevant. Also "network" is not the name of my network. Changed for anonymity.
I've been having a lot of trouble with getting wireless networking devices to work. I guess I have a lot of company, since mfrs don't seem to be very interested in supporting Linux.It seems that one common symptom is that, when I try to "Ping" using the Terminal, I get "network is unreachable".Does this mean anything specific, or is it a general output whenever the network is not carrying on two way communications? Does it mean that the wireless interface is down? Does it mean that the wireless hardware is not transmitting? Not receiving?
My ubuntu installation was running fine with the Belkin F7D1101 v1 after using this install method:[URL]..But, after allowing ubuntu to autoupdate many programs (don't remember which ones), the device stopped working. I checked all of the commands in the link above. They are all still functioning. dmesg throws no errors, but it terminates with
<code>ADDRCONF (NETDEV_UP): wlan0: link is not ready</code> Are there any network files which may have been overridden from autoupdate? iwconfig wlan0 shows "Access Point: Not-Associated" What output can I show you to help me find the problem?
# Generated by iptables-save v1.4.5 on Mon Jan 11 12:22:25 2010 *raw :PREROUTING ACCEPT [1038480:666298388]
[code]....
somehow iptables -t nat -A PREROUTING -i eth2 -d x.y.z.a -j DNAT --to-destination 192.168.1.1 helps, but imho there should be some other solution. kernel is 2.6.31.6, architecture is x86_64.
P.S. i've also tried iptables -A POSTROUTING ! -d x.y.z.a -s 192.168.1.0/24 -j MASQUERADE that didn't help either.
I have two linux servers, I tried to ping from one linux box to another and vice versa but error message is "connect: Network is unreachable" Where as If I tried from windows machine I am getting the reply from both the servers. C:Documents and Settings>ping bnkprod
Pinging bnkprod.softtech.com [172.20.40.141] with 32 bytes of data: Reply from 172.20.40.141: bytes=32 time=16ms TTL=64 Reply from 172.20.40.141: bytes=32 time<1ms TTL=64 Reply from 172.20.40.141: bytes=32 time<1ms TTL=64 Reply from 172.20.40.141: bytes=32 time<1ms TTL=64
Ping statistics for 172.20.40.141: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 0ms, Maximum = 16ms, Average = 4ms
I have a network printer directly connected via ethernet cable to an Ubuntu netbook, but pinging the printer fails, giving "Host Unreachable". The network light on the ethernet socket is lit green, and there is nothing else cable-connected to the network - just a simple cable connection between the netbook ethernet socket and the Network printer (a HP Laserjet 4200n). Ping works fine if I plug the cable into a different machine (a Win XP box) and ping from there, so it's not a cable or IP address problem.
This sounds simple enough and should work, but I'm stumped. Clues, anyone?
I'm experiencing massive latency/unreachable problems on my Linux machine. It's true for all network connections, here's an example of me trying to ping my router:
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_req=1 ttl=64 time=15115 ms 64 bytes from 192.168.0.1: icmp_req=2 ttl=64 time=14107 ms 64 bytes from 192.168.0.1: icmp_req=3 ttl=64 time=13107 ms 64 bytes from 192.168.0.1: icmp_req=4 ttl=64 time=12107 ms 64 bytes from 192.168.0.1: icmp_req=5 ttl=64 time=11108 ms
[Code]...
I've tried now with both the maverick default kernel and 2.6.37-rc5 kernel (both 64 bit), same result. If I take the card up and down (ifup, ifdown) performance is restored for a little while, then it's back. I've tried changing cable, network card and router port but no luck.
I am plagued by the following error when attempting port forwarded connections to my minecraft server. Port forwarding is good and test ok on router based firewall. No iptables entries. Natty N, all updates current.
[INFO] Disconnecting CascadianNW [/184.100.247.218:57787]: Failed to verify username! [internal error java.net.NoRouteToHostException: Network is unreachable] java.net.NoRouteToHostException: Network is unreachable
Some discussion indicate jvm network connection issues related to ipv6, but they are old posts.
I recently installed Fedora 10 and I'm trying to install a driver for my HP Deskjet F4200 Series All in One printer. I downloaded the proper hplip file and when i go to install it in the terminal it gets to the very end where it is trying to install the missing required dependencies. When it checks for the network connection it comes back saying "error: The network appears to be unreachable. Installation cannot complete without access to error: distribution repositories. Please check the network and try again."I am connected to the internet through hardwire cable (also tried it through wifi) and have no trouble accessing internet through mozilla or downloading packages elsewhere. Any ideas on why my terminal won't recognize my internet connection??
I installed Fedora 10 and are using KDE. I struggled to get my network up and running - error for ping was "network is unreachable". I eventually got it right by modifying my ifcfg-eth0 file manually.
Now I'm trying to install with yum, but yum fails to connect, probably because of the proxy. I've set the proxy in <System Settings><Network Settings><Proxy> but it doesn't allow me to also add the authorization - greyed out. I've chosen the manual configuration of proxy.
1. How can I enable or allow the adding of authorization in the proxy dialogs or
2. Where is the proxy file which I can modify from command line (and how)?
I am building a v2.6 kernel floppy disk distro to run on a 1992 computer. FWIW The specs on the computer are
* 66 MHZ processor * 12 MB ram * 400 MB HD * EGA monochrome video card
It runs Linux quite nice actually. I want to get it online with a null modem cable and use the other Linux box as a gateway to the internet. I have networking, TCP and slip support in the kernel. I do now know if I have all the needed network configuration files. I am able to ping 127.0.0.1. If I try to ping the other computer, I get a "network is unreachable" error. Tell me any commands to run on either box and I will attempt to do so. Remember the old computer is running a stripped down toolset since its only two floppies worth.
I installed openSUSE on one of my work system. The network port wasn't working when I was installing, but works fine now (checked in Windows). But for some reason, I am not able to configure the network. I used both Dynamic and Static IPs (both work fine in Windows) but still no go. I am using Yast Control Center for this purpose. I can't even ping the default gateway when I am using custom settings. When I use dynamic settings, it says Unreachable Network.
setup my static network connection Here are my details :
IP : 172.16.152.137 Subnet : 255.255.255.192 Gateway : 172.16.152.191 Primary DNS : 172.16.0.1
[code]....
but after this setup when i restart my network #service network restart while bringing up the eth0 the following message is displayed before [OK] - RTNETLINK answers : Invalid Argument now it seems either this setup is wrong or not sufficient to set up the connection, whenever i try to ping 172.16.0.1 it showing connect : Network is Unreachable
eth0: 192.168.0.0/24 - local lan A eth1: 200.1.2.3 - internet link - default route eth2: 192.168.10.0/24 - local lan B eth3: 192.168.20.0/24 - local lan C Lan A - Default routing to eth0 Lan B - Default routing to eth2 Lan c - Default routing to another server but the workstations has static routing to this server too.
Everything is working fine on Opensuse 11.1 until I upgrade this sever to Opensuse 11.2 ( Reinstall, not update at all ). After upgrade to 11.2 the routing across local lan interfaces simply not work, if you try to ping lan-to-lan you got the message: Network unreachable, even with the IP Forward enable, but the default route is working fine trough the SNAT.
I've come back to Opensuse 11.1 and everything become normal, does anyone have an problem like this? Maybe a bug? PS: I do not try to disable the AppArmor, next weekend I will try Opensuse 11.2 without the AppArmor and post here anyway.
Flashed bios lastnight on 13.0 desktop. all winblow$ are fine. lspci shows ehthernet card did 'netconfig' and 'route -n' shows default settings as if /etc/rc.d/rc.inetd1.conf were never set. oh yes, i manually edited this too. mv'd and netconfig'd.
I use DNS on my server as a chasing DNS so its not fully configured. I seem to be having trouble with IPV6 addresses. I'm guessing this is linked to the 6to4 tunnel I have set up to my windows box, but I'm not really sure.
We have a ubuntu machine on the network with number of users in it. Basically, when other users connect via telnet i want then to get particular messages depending on the user. The message will be set by the administrator or a particular user with privs. Similarly we also need a to-do app via which users can update their work and see each others progress . Its all in a local network. Do tell what would be the best way to do it!
I'm using debian lenny.When I boot with kernel 2.6.36, ping always respond with Network is Unreachable. But when I boot with kernel 2.6.26 it works. I can't even ping the dafault router of 2.6.26 kernel when I am at 2.6.36. Also, system/administration/network does not show any connections while it shows something at the other kernel.
I installed centos 5.3 x86 at vrtualbox on windows 7 x64 as host. The ping answers "network is unreachable", ifconfig has an ip "192,168,51,100". At control panel, I seleted intel PRO/1000MT Desktop Host only. Is this centos's problem?
This is on Ubuntu 10.04 Server Edition. The ethernet cord was disconnected one day. I plugged it back in to find I can ssh to and from that machine, but I cannot update or browse the web (elinks) on it. I tried "ifconfig eth0 up" which did nothing. Why is it that only local connections work?
language-pack-en, language-pack-en-base, language-pack-kde-en, language-pack-kde-en-base, libsoup2.4-1, libsoup-gnome2.4-1, pm-utils today on my laptop. Some hours later, I had to force the computer to shut down by pressing the power button, since it got totally lagged when I started it after an automatic sleep due to no power left. I started it, logged in and saw that the network manager was unmanaged. I got that message when I clicked the icon at the right-bottom bar.
So, I tried with "ifconfig" in a Terminal, as root.Therefor, I did "sudo ifconfig eth1 up", and the same with eth0. The network manager did not work anyways. I killed it using "sudo killall -9 knetworkmanager" and started it with "knetworkmanager" from the Terminal. The icon got removed and it appeared again, but nothing changed - it said "network manager disables", as before.I logged off and select "Restart X server" from the login screen. I logged in again and tried. Didn't work. When I restarted my computer I saw that eth0 and eth1 was down again. I took them up and then I checked the hardware settings. I saw that I could use either KNetworkManager, Fake Net or Wicd. I tried to locate if I had Wicd or Fake Net installed, but I hadn't.
Neither the wireless or the wired connection works now. I'd like to know how to fix the Network Manager, or whatever is wrong. Also, I'd like to know if I can install Wicd using a CD or something. Maybe Wicd works better, I have no idea. I'm using Kubuntu 10.04, the final release.
I have a ubuntu desktop 9.10 that is used as a file server and occasionally as a desktop. My problem is after about 15 min of idle the server can not be accessed by other computers. I attempted to disable power management but Im not sure if i did that correctly. Where should i look for problems?
I dont even know where to start looking on Google.Just in case this matters, for completeness.I've an inactive eth0 (wired ethernet link) with static IP.Other possibly relevant details:I'm using an old 802.11b card. Cant imagine this is relevant, because the internet is working fine as far as pinging anything outside the local network goes.
I all, I 've two computer with Ubuntu 9.10 (desktop version)connected by cross over cable. I try to connect this computers in LAN with the following command:
ifconfig eth0 [address] netmask [netmask] up
When I ping from first computer to second the output is "Network is unreachable"
I have 5 1955 blades in an enclosure for an custom application cluster.All were running Centos 4.4 no problem.We wanted to start upgrading them cleanly to 5.5 so two of them got fresh installs of 5.5.The installs went well enough, no glaring errors.However they can only ping each other! The network settings are fine, no firewall or selinux. I'd run the info script but I can neither download it to them nor paste it in via kvm.Standard static entries, virtually identical to their 4.4 brethren. They ping each other so network drivers are fine, no built in switch configuration changes. It has to be some kind of network configuration issue that i'm just not seeing.
Edit* When i try and ping anything else, including the other blades, I get Destination Host Unreachable.
i have a problem with my internet connection in ubuntu 8.04 server edition. if i ping to: [URL]... i get: Destination Host Unreachable but when i ping to my gateway or other pc's in my network no problems occur.