Red Hat / Fedora :: Ssh No Route To Host After Running Dhclient
Jan 5, 2010
I used ssh to log into my sever that I had and I from there I ran the command dhclient eth by mistake on the server but the serve had an static IP address. Unfortunately I can't ssh back into the server anymore! It replies back with No route not host. Now my questions are. First of all how do I change it back into the previous setting? Secondly, can I do this remotely since the server is in another place and I don't have access to it right now or do I have to go there and sit behind it and play around with it there?
View 4 Replies
ADVERTISEMENT
Aug 10, 2010
I setup my old laptop for my mom with F13 and have sshd running. My dad set up their DD-WRT router so that it's forwarding port 22 to the laptop's ip address. Yet, I get "No route to host" when I try and ssh in from my house. Is there anything that would be preventing F13 from accepting the SSH connection?
View 9 Replies
View Related
May 24, 2010
How to disable dhclient on redhat host.
I have set static IP to one of my redhat host but I don't know how it changes to some other IP after few hours.
Here is the output from ifcfg-eth0 and rc.local
Code:
View 4 Replies
View Related
Feb 14, 2010
I have two system, an Intel Core2 Duo system running the 32-bit version of Fedora 12, and a MacBook Pro running the 64-bit version of Fedora 12. I'm using the Gnome desktop on each system. I have enabled all the services I believe are necessary to support NFS including nfs, rpcbind, rpcgssd, rpcidmapd, and rpcsvcgssd on each system. I have added an entry to my /etc/exports file to export my home on each system, and if I type this command:
$ showmount -e localhost
I get a result like this:
Export list for localhost:
/home/tron 192.168.200.101,192.168.200.100
However when I issue this type of command:
$ showmount -e <remote host name>
I get this kind of result: rpc mount export: RPC: Unable to receive; errno = No route to host Research on the Internet indicates this is usually due to a firewall problem. However, I use the Firewall Configuration application to the disable the firewall on both systems, and I continue to get the same result. What is needed so I can get this two machines to display their exported file shares remotely? It turns out I did not disable the firewall when I thought I had. Now that I'm certain the firewall is disabled on both systems, I'm able to get the showmount command to succeed.
View 5 Replies
View Related
Feb 13, 2010
I have two system, an Intel Core2 Duo system running the 32-bit version of Fedora 12, and a MacBook Pro running the 64-bit version of Fedora 12.
I'm using the Gnome desktop on each system. I have enabled all the services I believe are necessary to support NFS including nfs, rpcbind, rpcgssd, rpcidmapd, and rpcsvcgssd on each system.
I have added an entry to my /etc/exports file to export my home on each system, and if I type this command:
$ showmount -e localhost
I get a result like this: Export list for localhost: /home/tron 192.168.200.101,192.168.200.100
However when I issue this type of command: $ showmount -e <remote host name>
I get this kind of result: rpc mount export: RPC: Unable to receive; errno = No route to host
Research on the Internet indicates this is usually due to a firewall problem. However, I use the Firewall Configuration application to the disable the firewall on both systems, and I continue to get the same result.
What is needed so I can get this two machines to display their exported file shares remotely?
View 44 Replies
View Related
Mar 9, 2011
I'm trying to ssh from my laptop to my desktop (both fedora 14) over a local network. I can ping my desktop and get responses, but if I ssh to it, I receive
ssh: connect to host 192.168.100.xxx port 22: No route to host
I can ssh from the desktop to itself.
View 4 Replies
View Related
Sep 3, 2010
I am trying to share directories between two F12 machines on a local network with a router box doing DHCP because not all machines on all the time. Web access is fine and local ping and ssh works but telnet doesn't. I have never succeeded doing mounts. So I have been searching for things to fix the above and have just tried rpcinfo. If I do this :
rpcinfo -p 192.168.2.2 it gives rpcinfo: can't contact portmapper: RPC: Remote system error - No route to host. Does that suggest that actually there is an installation problem? So I tried "yum provides portmapper" and that gives "No Matches found".
View 14 Replies
View Related
Nov 17, 2010
I have recently set up two machines with F14 and on both, I am completely unable to make remote login via SSH work. openssh-server is installed and seems to work well:
I have already worked for hours on the problem now, using Google and trying numerous things, and still could not find any solution. On my other machine, which still uses F13, remote login works just fine. Is there any change in the default behaviour of the sshd I am not aware of? I would really appreciate your assistance!
View 14 Replies
View Related
Jun 22, 2011
I am trying to access a DVD mounted on a machine running Fedora12 (192.168.0.105). I thought this should be possible with NFS, but the above error message is what I keep getting, no matter what I try.
Here is my mount command:
Code:
mount 192.168.0.105:/mnt/dvd -t nfs /tmp/scaleo
The Fedora 12 machine has the NFS server running, and the corresponding entry in /etc/exports is
Code:
/mnt/dvd *(ro)
I thought this might be a firewall problem, but it persists even if I turn firewalls off on both machines (client as well as server.) Also, doing
Code:
ssh 192.168.0.105
is OK, so what is wrong with the route?
I am trying to access a DVD mounted on a machine running Fedora12 (192.168.0.105). I thought this should be possible with NFS, but the above error message is what I keep getting, no matter what I try. Here is my mount command:
Code:
mount 192.168.0.105:/mnt/dvd -t nfs /tmp/scaleo
I now tried
Code:
mount 192.168.0.105:/mnt/dvd -t nfs4 /tmp/scaleo
and it seems the mount succeeded. So, instead of nfs, one must write nfs4?
View 9 Replies
View Related
Nov 8, 2010
I have a simple server running Ubuntu Server. Usually the server connects to the network by Wifi, so there is usually no cable connected to the Ethernet port. I noticed that there is a dhclient3 running on eth0 anyway. It is causing undesirable disk activity. Obviously, it is never going to get a response as long as no cable is connected. I can kill the responsible process manually, but I wonder first what is starting the process and how I can prevent it from being started. If there is a way to get the server to boot without starting this process, I wonder whether this is the right solution. Connecting to the network by Ethernet is the failsafe when Wifi doesn't work. I guess what I would like to see would be a way for the server to detect when eth0 does not have a cable connected and not start dhclient in that case, but to activate dhclient when a cable is connected.
View 4 Replies
View Related
May 26, 2011
i've configured the machine to use a static ip yet dhclient still runs and obtains an ip. what needs to be done to stop this? it has to be something i can put in a script since i have written a setup script to run on several machines. this setup script creates/modifies several files with a few key ones shown below:
/etc/sysconfig/network
Quote:
HOSTNAME=csec7154
NETWORKING=yes
NISDOMAIN=csma
NTPSERVERARGS=iburst
[code]....
and the files, hosts, resolv.conf, network and ifcfg-eth0 in the /etc/sysconfig/networking/profiles/default directory all link to their respective files as does /etc/sysconfig/networking/devices/ifcfg-eth0. thanx!
View 1 Replies
View Related
Apr 26, 2011
I install and configure the vncserver following and reading 1000papers, but all of this present the same problem; when i try to connect to my vncserver,recive this mesage: unable connect to socket: No route to host (113) The OS version is Fedora Core 14 and tigervnc-server i try different solutions including:Allow TCP connection modifing files /etc/gdm/custom.conf and /usr/share/gdm/gdm.chemas Disable SELinux removing iptables Here follow the vncserver configuration:
[code].....
The ip address of the vncserver is correct because i can do ssh on it. Where or what can i do?
View 4 Replies
View Related
Mar 11, 2010
I have a dynamic Internet connection. My eth0 is configured to DHCP client. I need to rum one personalized command all time the dhclient renew the lease. I have a program that update the /etc/hosts with the new IP and I need to run this command when dhclient receive one lease update.
View 1 Replies
View Related
Aug 21, 2009
I use linux.
I have below error, no route to host.
View 6 Replies
View Related
Sep 25, 2009
Code:
Code:
Code:
Code:
Code:
Why can I not reach 192.168.1.1 ?
View 12 Replies
View Related
Jan 15, 2010
I have two machines: A.domain.com: (Old mail server): Red Hat 9 (Linux 2.4.20-30.9) B.domain.com: (New mail server): RHEL Client 5 (2.6.18-164.2.1.el5) (Both machines are in the same subnet and on the same switch). I wanted to test the new mail server by sending an E-mail message to it from the old one, but the maillog says
[code]...
I can ping from A.domain.com to B.domain.com and from B.domain.com to A.domain.com . I can traceroute -p 25 from A.domain.com to B.domain.com and from B.domain.com to A.domain.com. I can *telnet* on port 25 from B.domain.com to A.domain.com. BUT when I telnet on port 25 from A.domain.com to B.domain.com. I get "telnet: connect to address x.x.x.x: No route to host". The resolved IP x.x.x.x is correct by the way. So I see no reason why. it should fail to telnet on port 25 to A.domain.com.
View 7 Replies
View Related
Jan 8, 2011
I am using fedora 14..i wanna create webservice in fedora 14...i am able to create sevice in server machine...but the client not able to get service from the server.it shows an error an i/o error has occured.no route to host.....we checked the ip address and port...i am able to ping the server...its connecting ...but it shows this error...?
View 1 Replies
View Related
Apr 11, 2010
I have 3 computers on a local home network. Computer 1 is not receiving incoming anything from other computers on the network, and I don't know why. The regular internet works fine.
Computer 1 can ping and ssh into either 2 or 3. 2 can ping and ssh into 3 and vice versa. But nothing can ping OR ssh into 1. Trying to do so says "no route to host".
All computers are running Ubuntu Karmic.
View 7 Replies
View Related
May 9, 2011
I have a server that I can ping, and I can connect remotely with ssh to it. But when I try to connect to apache (port 80) I get "no route to host". But I can connect to localhost It's not just my client system that is having this problem but also systems that are on the same subnet There is no firewall running on the server route on the server
[Code]...
View 9 Replies
View Related
Feb 22, 2011
We have a Red Hat Linux server that sends email out daily. It points to and Exchange server for smtp. It works fine, however, at least once a day, an email will fail and in the maillog I see "No route to host". After a few minutes, everything is working fine. The Linux server and Exchange are on the same VLAN and IP subnet.
View 2 Replies
View Related
Jan 3, 2010
OpenSUSE version: 11.2 *and* 10.0 I am unable to send email. It appears I am being blocked by my ISP [URL]... A Wireshark trace shows ICMP type 3 Code 13 - "Administratively filtered". It's important to note that I don't know exactly when the problem started, because I seldom use my ISP email account, I use Yahoo web mail due to the "throwaway" nature if I get hit with spam. I only discovered the problem when testing the functionality of 11.2. I suspect the problem started several months ago: I restored openSUSE 10.0 and the problem exists there too. I wish I'd sent that last email via 10.0 before the upgrade.
The weird thing is that using Windows 2000 box I can get a successful connection using telnet (Telnet also fails on the openSUSE box.) It appears to me there is something in the Linux TCP stack that Teksavvy doesn't like. I am on dial up and I pointed this out to Teksavvy tech support, as I am probably the only person left on dialup and the reason no one else has reported the problem
View 9 Replies
View Related
Apr 11, 2010
I have 3 computers on a local home network. Computer 1 is not receiving incoming anything from other computers on the network, and I don't know why. The regular internet works fine. Computer 1 can ping and ssh into either 2 or 3. 2 can ping and ssh into 3 and vice versa. But nothing can ping OR ssh into 1. Trying to do so says "no route to host". All computers are running Ubuntu Karmic. I don't even know where to start figuring out what's causing this, but it's probably something simple. I'm using the IPs I found listed in my wireless router's web-based control panel.
View 9 Replies
View Related
Apr 22, 2010
so on the host i'm trying to connect to, i have installed ssh server and it was working fine until i changed the /etc/network/interfaces file to set a static IP and then ran Code: sudo /etc/init.d/networking restart but now when i try to connect with SSH using the new static IP i get Code: ssh: connect to host 192.168.2.10 port 22: No route to host
View 6 Replies
View Related
Apr 3, 2010
I am using Fedora-10 on 64-bit quad-core xeon processors. I ran ssh-keygen and established passwordless connection between host-client and created a host file named lamhosts as follows:
172.16.122.11 cpu=4
172.16.122.21 cpu=4
where 11 is the host server and 21 is one of the nodes. When I executed 'lamboot -v lamhosts', it failed to boot nodes ssi:boot:base:linear: Failed to boot n1 (172.16.122.21). By googling, I found the error but couldn't yet find a solution.
View 1 Replies
View Related
Feb 12, 2010
I've trying to add a route to a host to force traffic out of a clustered IP address...
IE I have a cluster and the IP address moves from host to host on failure of a resource. The IP address is just a simple alias of an interface so for example... bond0:0 192.168.1.1 and bond0 192.168.1.10
What I want to do is force a program that starts up on the cluster hosts which sends packets out to a listening server to only send out of the cluster ip address.
I did a route add -host 172.22.2.2 gw 192.168.1.1. But this doesn't seem to work if i try to send a ping the packets still go out the wrong address, and more and above that for some reason the ping doesn't work at all. If i remove the route the ping will work again.
View 6 Replies
View Related
Dec 1, 2010
At nfs client end unable to mount nfs server.
mount: mount to NFS server '10.7.70.178' failed: System Error: No route to host.
View 5 Replies
View Related
May 12, 2010
i wanaa to config tlenet server and did the steps to enable it
but when i try to connect to server this error show :
telnet : connect to address 10.0.0.100 : No route to host
telnet : Unable to connect to remote host : No route to host
[URL]
View 10 Replies
View Related
May 25, 2010
I installed ntop on our server, after installing it, i ran ntop as a daemon. shortly after we lost the ability to ssh into the server.tried restarting ssh, but it didn't work, so had to restart the entire server.Where should we look to find why ssh suddenly stopped?
the error ssh gave when we try to connect was like: ssh: no route to host what log files should i look at and what should i look for to find the cause of the error?
View 8 Replies
View Related
Feb 1, 2011
I'm setting up apache on centOS 5.5 and administering it from another host on my LAN(this web server has no Xorg). I can ping from the config host to the web server but not the other way. My network is quite a way from being set up so i'm just configuring the web server at the moment, the simplest way i can. It's just trying to get two LAN hosts both with 192.168.1.0/24 I.Ps to talk to each other using a router to connect them.
Here are the outputs of ifconfig and netstat -rn for the web server, the config host and the router:
The ifconfig -a and netstat -rn of the config host are:
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
[code]....
View 5 Replies
View Related
Aug 21, 2010
I am attempting to run apache on my linux router while connected to a VPN. My default route is set to the VPN endpoint and I cannot control port forwarding at that end. I cannot seem to connect to any service that i bind to the eth0 interface. I believe that my iptables rules and OpenVPN are the source of the problem.
/sbin/iptables -t nat -A POSTROUTING -o tun1 -j MASQUERADE
/sbin/iptables -A FORWARD -i tun1 -o eth1 -m state --state RELATED,ESTABLISHED -j ACCEPT
/sbin/iptables -A FORWARD -i eth1 -o tun1 -j ACCEPT
View 5 Replies
View Related