Ubuntu :: Machine Can Ping Another But In Terminal Get 100% Packet Lost
Jul 15, 2010
how a ubuntu machine can ping another (I can see the ICMP request and response in wireshark) but in the terminal I get 100 % packet lost ? Same with the DNS requests ( I see the query to the DNS and the DNS is giving me the IP of the site) and internet connections at all. this machine is sharing it's internet connection and machines behind it have no problem with the internet. I tried to flush the iptables - same result. This thing occurred after a restart
I am trying to get an arp packet from my wireless wifi router (access point), to which I am not connected. I simply tried ping 192.168.0.1, but the answer was connect: network is unreachable. What can I do about that?
I have an ubuntu kk laptop connected via wireless to my mixed network (xp, win7, other ubuntu), but i can not ping said machine or connect via ssh. Internet and smb-browsing ON this machine work, as does pinging FROM it. If this was a windows machine, I'd say a firewall is in the way, but since it's a vanilla karmic install, this should not be the case (or should it?).
I have two machines, one has XP service pack2, second one has CentOS 5.3 (Linux), they are connected through crossover cable. I have configured everything fine but don't know why till now can't ping!
A. Windows machine settings as follows:
IP Address: 192.168.1.3 Subnet Mask: 255.255.255.0 Default Gatway: 192.168.1.1 + Firewall is turned OFF.
B. For Linux machine, I will list everything stored in network files, logged as [root@localhost ~]# :
I mean I assigned the IP: 192.168.1.4 to Linux machine (Eth0). I did everything above and can't ping till now, when pinging from windows or Linux I get a message "destination host unreachable" restarted Linux many times but same result. NETWORK CABLE is working fine I tested it.
Linux-goers. I did some research on this, but I am still fairly new to Linux. In Ubuntu 10.10 (Maverick), I accidentally overwrote my "/bin/bash" file. Dude, using "sudo" with a small typo can work disasters. Bash is now broken in the Terminal (gnome-terminal). Terminal itself still works fine, technically, but bash is still hosed/broken. Here is what I did to try to fix it: Booted from Ubuntu 10.10 live CD. Mounted my Ubuntu partition and manually copied the good/fresh "bash" file onto my hard drive. Verified copy was successful. Didn't help, as you see. Reinstalled "gnome-terminal" using synaptic package manager. Tried to reinstall bash via synaptic, it failed with error, "E: /var/cache/apt/archives/bash_4.1-2ubuntu4_i386.deb: subprocess new pre-removal script returned error exit status 2"
In Terminal, all basic commands work as far as I can tell. ("ls", "pwd", navigation, etc.) Here are some problems:My "username@computername" does not display in the prompt; only the $ sign. Bash keyboard shortcuts such as uparrow and tab do not work. Instead, each inserts a key code. I can't even move the cursor left/right. Aliases (a function of bash and .bashrc) are broken, of course. My sanity level decreases when I use Terminal now. For what it's worth, even with "sudo" I get a "permission denied" error when trying to run Google Chrome! I read something about a ".bashrc" file being a possible problem, but I don't know how to make it work, or the file's proper locations in Ubuntu 10.10. Is there something I can do with a "make" or "apt-get install" command or something?? Could this simply be a permissions problem? Is the link to "/bin/bash", "/bin/sh", or a ".bashrc" file broken? Guide me, oh Linux gurus.
P.S. I always wondered what exactly bash was and how it was different from the basic terminal. LoL, this is an excellent way to demonstrate the difference, and I WANT IT BACK!
I am using an virtual machine. where I need to ping from one machine to another. earlier I was able to ping. But after going to google.com once, I cannot ping back to this machine.
But if I gave ping -I eth1 <IP> then I can ping.
I cannot install any package, so tell me solution which includes not installing any package.
i m not able to help any software due to my proxy settings. my proxy block all the download links. not able to install software from terminal or synaptic packet manager
I am running ubuntu 10.04 on a VMWare Server virtual machine. I have assigned the ubuntu machine an ip address of 192.168.17.101. The ip address of my Windows machine hosting the Ubuntu VM is 192.168.17.100.
From the Ubuntu machine, I can ping all other machines on the local subnet. But when I try to ping the ubuntu machine, it does not get a reply.
I have a clean, plain install and the only software I have installed is Nagios.
I am setting up Ubuntu to be a firewall type device for a windows computer. (I later want to use Internet sharing or something like that.) The Ubuntu machine has two NICs. The internet NIC works but one light is always orange (even when there is no patch cable connected to it). I can access the Internet fine from the Ubuntu machine. I have a cross over cable connected to the second NIC. This cable connects to the Windows laptop. The windows laptop can ping the Ubuntu machine. But I cannot ping the windows machine from the Ubuntu machine. When I try to telnet to the Ubuntu machine from the Windows machine (over port 23 or 80) it says "cannot connect."
From the Ubuntu machine I issued this command:
# iptables -A INPUT -p tcp --dport 80 -j ACCEPT
I used ufw status and found that the firewall was not enabled on the Ubuntu machine. The default gateway of the second NIC is the IP address of the Windows machine. The default gateway of the Windows machine is the IP address of the Ubuntu machine.
Some time yesterday, I lost the ability to ssh my remote server, or even visit any webpages it hosts.
I've explored hosts.deny, /var/log/secure and even turned iptables off to see if it would fix anything. To no avail. Here's what my ssh login attempt looks like:
$ uname -rsmi Linux 2.6.33.8-149.fc13.i686.PAE i686 i386
I am using a dhcp network. Problem is I can SSH/ping to my machine but can't SSH/ping to my machine from the remote one(In internal network of my lab). What to do? I understand this is very little information....but I dont know what to provide.
Have installed fedora 14 on a HyperV virtual machine, have added a Legacy network adapter in the Hyper-V settings for this virtual machine that fedore pics up as eth0. I'm pretty sure this card is able to pick up an IP address from a DHCP server on our network but I'm unable to ping any boxes from this fedora virtual machine or ping the fedora machine from another box on the network. I have tried to disable the firewall and SELinux incase it was that stopping the pinging each way but that didn't help.
i have two linux machines(machine1(rhel client) and machine2(rhel server)) i am able to login the machine2 from machine1 but i am unable to ping machine1 from machine2 fire wall is stoped in both machine
I installed apache2 on my Ubuntu machine and I am trying to access the server from another subnet. The server is connected using ethernet and has a static ip address. I can ping from the server to any machine in the other subnet but non of the machine on that subnet can ping the server. iptables does not seem to be running
Code:
# service iptables status iptables: unrecognized service
I have a linux machine with 2 ethernet ports(eth0 and eth1). eth0 is connected to a router which assigns it an IP address 192.168.1.2. eth1 is connected to a switch and I assigned it an IP address 192.168.1.254 using "ifconfig eth1 192.168.1.254 netmask 255.255.255.0 up". How do I ping eth0 from eth1?
I am the new user to ns-2. I would like to know is it possible to send the keys or some value as the packet data (content of the packet) in ns-2 (for wireless environment).
I recently did a clean install of Debian 5, and a backup program called BackupPC. Both machines are on a small local network served by a router. Both machines have statically mapped IP addresses, done by the router via matching MAC addresses in a table of corresponding IP addresses (192.168.0.2 (HP-PC-XP), 192.168.0.3 (Debian). I configured Backup PC correctly (I think)...Upon running Backuppc, the first thing it tries to do when its time to run a backup is to ping the machine to be backed up. The name of the PC is stored in a backup pc config file. (I believe BackupPC does a DHCP request with the machine name to get the ip address, but not sure). Running the backup results in BackupPC tells me that it can't ping my xp machine. If I open up a terminal window in debian, i can successfully ping my xp machine when i use the ip address. 92.160.0.2 If I ping using the host name of the xp machine (e.g. HP-PC_XP), the ping command displays some ip address i've never seen...something like 63.123.155.104....how is it getting that and how can it be corrected?
I recall that nslookup looks at the local hosts file first to resolve the name....i look in my hosts file and found no such address (only contained localhost)....now what?
This is the scenario: gentoo box (distro shouldn't be relevant here) and win7 box. Gentoo box is dhcp and dns server, via dnsmasq. From win7, I can ping gentoo by both ip and name. No problem there. From Gentoo, I can ping win7 by ip, but not by name. The dnsmasq log seems to receive the name ok, it's "Tere-PC". I have been looking around for many hours now and I know there must be something simple I am not taking into account.
I've a weird problem about my honeypot project. All start from installation until running process is going smoothly but when I try to ping my honeyd vm from honeyd host it couldnt but it can be ping from other machine inside my local network. I am also usinng arpd for ARP request reply and standard honeyd config.
i have installed linux debian in my computer but i have aproblem , i have a ping only on my computer itself , not to gateway or other computers on my network .
Ip : 10.0.88.9 Gateway : 10.0.88.1 dns :10.0.88.7
note:when i have installed system i have no internet connection so it is not installed updates
When I try to ping with the terminal to check a website's availability, it always just keeps going on and on and on... How do I get it to stop after a set amount of pings? Is there some type of command?
I got a problem with my CentOS server. Somebody told me OpenVPN Requires different changes inside my firewall settings. That could be the problem why openvpn wont load..I receive this error on my CentOS panel when im trying to connect into the centos openvpn (with my winxp pc):
Running Fedora 10, I installed CentOS 5 in Virtualbox, but I can't ping the Virtual Machine...
From within CentOS, I can ping my laptop [known as the host?] but from the laptop I can't ping the CentOS Virtual Machine. I tried turning off the firewall on both too... CentOS was able to access the internet through my laptop right away without any configurations too.
Unless someone has an idea to resolve the above, I am also wondering about something else VirtualBox-related:
To see if it was possible to get around the above issue, I was going to install another CentOS virtual machine to see if I can get them to communicate both ways [if at all], but to do so, I think I have to install CentOS AGAIN on another allocated amount of hard disk space. This will take some time, so I was wondering if anyone knew if it was possible to just create a quick duplicate of the previous installation, if you wanted 2 different virtual installations of the same OS.
I am trying to ping my Windows machine connected to an open network (I'm at a internet caf) from my linux VM (also connected to the same network with a usb adapter), but I'm obtaining this output:
# ping 10.23.47.12 PING 10.23.47.12 (10.23.47.12) 56(84) bytes of data. From 10.128.128.1 icmp_seq=1 Packet filtered From 10.128.128.1 icmp_seq=2 Packet filtered
With high probability host 10.128.128.1 is a firewall or some router with packet filtering mechanism; but I don't understand how it can be possible to implement this kind of solution, with what kind of software or hardware? I also tried a nmap scan to my Windows machine but it returns me scan results from another host(the firewall or the router I suppose):
nmap -sS -O -P0 10.23.47.12 Starting Nmap 5.51 ( http://nmap.org ) at 2011-07-09 15:46 CDT Nmap scan report for 10.23.47.12 Host is up (0.097s latency). All 1000 scanned ports on 10.23.47.12 are filtered
[Code]...
So my questions is, how is technically possible to implement this kind of restriction within hosts connected on the same network? It's the first time I see this kind of configuration.
I just configured vhost server in my linux server. When trying to access the open source (SugarCRM) application running on it, its giving me the error message that i am not connected to internet. I have restarted apache by no luck.
I'm running xubuntu 10.04 LTS (upgraded from 8.04 LTS) on an old low power sempron machine as an always on 'internet machine' i.e. it does all my downloading email etc. and up until yesterday it has always performed flawlessly. Yesterday wasn't its fault, it was a BTI network problem that took out my internet service but while talking to tech support I realized that this machine has lost all ways to control the network cards. Network-manager and network-manager-gnome are installed according to synaptic but they have no menu or notification appearance. I've tried reinstalling them to no avail.
I lost my SD card and cant remember when it last came out. Is there a logging program or system app that can tell me when approximately it came out of my laptop? Im running GNOME on linux mint. Thanks guys! Any help would be greatly appreciated, as its my bosses SD card and he's expecting it for work tomorrow