Ubuntu Networking :: Can't Ping Localhost When Not Connected To Network

Jul 8, 2010

I'm having trouble pinging localhost, specifically, pinging localhost when I'm not connected to a network. When I try it keeps telling me the operation is not permitted:

Code:

matt@mubuntu:~$ ping localhost
PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted

if I connect to the network, start pinging then disconnect it continues pinging. Google seems to think it could be something to do with my iptables setup:

Code:

matt@mubuntu:~$ sudo iptables -L
Chain INPUT (policy ACCEPT)
target prot opt source destination

[code]....

When not connected to network

Code:

matt@mubuntu:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo

But as far as I can tell there isn't anything in there which would stop me connecting to the localhost (I also can't connect to my local apache instance when offline)... (It's worth mentioning that a couple of weeks ago I had the pc setup to share it's internet connection with a laptop, ala this guide, however I've since disabled the iptables rules and disabled ip forwarding.)

View 4 Replies


ADVERTISEMENT

Networking :: Ping Windows Machine Connected To An Open Network?

Jul 9, 2011

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.

View 1 Replies View Related

CentOS 5 Networking :: Ping Localhost Not Working?

Mar 13, 2009

it was not working and ping is not reply me and I add ifconfig lo 127.0.0.1 it is working and getting ping but when reboot it is lost setting how can I set it for always ping working.

PING localhost (127.0.0.1) 56(84) bytes of data.
ping: sendmsg: Operation not permitted
ping: sendmsg: Operation not permitted
ifconfig lo 127.0.0.1 later

[Code]....

now working but IWant reboot later working about same. how can I setting it boot start this .

View 7 Replies View Related

Networking :: RHEL 5.4 Can't Reach Any External Host Or Even Ping Localhost

May 27, 2010

This is a RHEL 5.4 install. I did a fairly routine install setting up a static IP address of 10.5.96.10, a subnet mask of 255.255.254.0, and a gateway of 10.5.96.1 with the standard DNS setup for this network. These are all standard network setting for this network and otherwise work fine on other systems. The IP, gateway, and subnetmask all appear correctly on all relevant configuration files. This server can not ping any other system on the network and can not ping its default gateway. No other systems can ping this one either. Also this system can not ping "localhost" or its own hostname. The hosts file contains the line:

[code]...

I can ping 127.0.0.1 and 10.5.96.10 and it works fine. Also the firewall is disabled. I know I probably can't get a straight forward fix with the information I have on hand right now, I'm more of a Debian guy, so there might be some Red Hat intricacies I'm not familiar with. I think I had a CentOS install some months back that had this issue and I don't remember how I fixed it, or if I even did. I might have just replaced it with Debian. That's unfortunately not an option this time around since it's not my box.

View 4 Replies View Related

Ubuntu Networking :: Connected But No Ping?

Feb 28, 2011

I'm having a problem with my computer connecting to a speficic wifi. The problem seems to be between my computer and this wifi, because I can connect to other networks and other computers can connect to this wifi. I do manage to get a connection, but I can't ping any website, I always get an unknown host error.I have managed to connect to this network only once: it wasn't pinging and then it eventually started working, but I don't recall doing anything that made it work.

[Code]...

View 1 Replies View Related

Networking :: Ping Hangs When Connected Over VPN?

Mar 13, 2011

I've configured an FC14 installation and have been able to do everything over the internet as needed. Then I added a VPN client and can connect to the VPN. I can't ping a server I know is available on the VPN. Ping hangs, not getting any response (including timing out).My other Linux box (running all of the same software) can get to the server on the other side of the VPN so I know everything is okay except for my configuration.I had the same problem when I originally configured the other system and remember that I had to manually edit some setting in a file but don't remember what it was.

View 4 Replies View Related

Ubuntu Networking :: Connected To Internet But Can't Ping Systems On LAN?

Oct 5, 2010

I've got Ubuntu 10.04 on my laptop and have recently (within the last 72 hours) started having trouble connecting to other machines on my local network. I'm unable to ping both my router and a server set up in the room beside me.

1. I have tried pinging my server and router from other machines and it works fine. Accessing the server via HTTP works from all machines except for my laptop.

2. I am, however, connected to my router via wireless and can access the internet. Also, if I connect via an ethernet cable I am able to ping both my server and router, although I'd love to be able to go wireless.

3. I assume something's wrong with my wireless setup, but I really can't figure out what. Possibly related note: my wireless has been disconnecting unpredictably on my home network (WPA).

Let me know if you'd like to see any command output and I'll get it to you asap! I've got a Dell Studio 1558 w/ the dreaded Broadcom BCM4312 wireless controller.

Code:
user@blue-skies:~$ cat /etc/network/interfaces
auto lo
iface lo inet loopback

[Code]......

View 2 Replies View Related

Ubuntu Networking :: Can't Ping Or Ssh When Connected To Cisco VPN Using Vpnc

Jan 21, 2011

When I connect to my company's VPN (it's a Cisco), it connects just fine and displays the broadcast message, but once connected I can't ping anything or ssh anywhere. Not on the private network, not on the Internet [URL], nothing. I can still browse the web without difficulties when connected to the VPN, but no ssh or ping. With ping, it properly resolves the host name, but I get 100% packet loss.

Once I disconnect from the VPN, a ping of [URL] works exactly as expected.

I don't have any firewalls set up on this host that I'm aware of (unless something is installed and configured by default).

I'm using Ubuntu 10.10, amd64 build.

View 5 Replies View Related

Ubuntu Networking :: Connected To Wireless But Cannot Browse Or Ping

Feb 1, 2011

I have a edimax USB wireless and as soon as I plugged it in it worked i.e., it is able to connect to a wireless.

[Code]....

View 5 Replies View Related

Ubuntu Networking :: Router Can Ping - Connected Machines Can't

Feb 16, 2011

I'm running into a curious networking hiccup with my router setup. I have a D-Link DIR-628 wireless router connected to our modem, and a wire running from that to a Linksys WRT-54G (v1.1) in our basement. This setup worked great for a few days, but then suddenly the Linksys stopped routing us to the internet. I can connect to the router page on the Linksys and using the diagnostic tools I can ping the web from there, but none of the computers connected to it can. Everything is fine when connected to the D-Link.

After fiddling around with just about every setting on the Linksys I finally gave up and tried resetting it to factory defaults--and it worked! Everyone could access the internet again. But then, every day or two it locks up again and I have to reset factory defaults again.

View 2 Replies View Related

Ubuntu Networking :: 10.04 Auto Ethernet Says It Connected But Can't Ping Out

Jul 19, 2011

I am unable to connect to the internet at work through the ethernet, previously working. I am not sure of the origin of this problem -- the result of an update or something that I did to the network settings.

In the NetworkManager applet is says Auto Ethernet is connected but I can't ping anything by name or ip address.

The wireless still works without any problem.

I have tried following some of the other threads on similar issues but the fixes proposed on them have not helped to date. And I may have mangled some of the settings files somewhat.

View 9 Replies View Related

Ubuntu Networking :: Wireless Router Connected - Can Ping But No Internet

Mar 1, 2011

This morning my Ubuntu 10.10 Meerkat desktop suddenly lost internet connection, but stayed connected to my netgear router. After the usual "tried turning it off and on again" methods didn't work, I booted into my Win Vista partition to find that connected no problem. I have another Ubuntu netbook and a Windows 7 laptop in the house as well as an Android. These all connect fine. It appears to be just the desktop Ubuntu.

I can ping my router 192.168.0.1 and log into it's UI via browser. I can also ssh to the box. My router does not do any filtering or blocking. I've tried disabling the firewall and changing the nameservers in /etc/network/interfaces and dhclient.conf as well as the network manager. The network card is a Belkin 54g but I can't remember the exact model no. it was bought years ago.

Code:
$ping www.google.com
PING www.l.google.com (74.125.230.115) 56(84) bytes of data.
^C
--- www.l.google.com ping statistics ---
30 packets transmitted, 0 received, 100% packet loss, time 29004ms

Code:
$traceroute 74.125.45.100
traceroute to 74.125.45.100 (74.125.45.100), 30 hops max, 60 byte packets
1 * * *
...continues to...
30 * * *

When I do a restart of the networking service it spits out the error:
Code:
Ignoring unknown interface wlan0=wlan0
However, as I said the wireless itself works.
/etc/network/interfaces:

Code:
auto lo
iface lo inet loopback
iwconfig:

Code:
lo no wireless extensions.
eth0 no wireless extensions.
wlan0 IEEE 802.11bg ESSID:"haters gonna hate" .....

View 1 Replies View Related

Ubuntu Networking :: Wireless Shows Connected, But No Internet/Can't Ping Router?

Sep 14, 2010

So I installed 10.4 on a new Toshiba Satellite L645DWhen I connect to my wireless at home, the Network Manager shows that I am connected but I can't reach any websites via ping or firefox. I also can't ping my router. I also don't have wired access working at all.iwconfig shows connected to correct ESSIDI can ping localhostcan't ping google:

Code:
ping: unknown host www.google.com
can't ping my router (192.168.2.1):

[code]....

View 8 Replies View Related

Fedora Networking :: Wireless Shows Connected Won't Browse Won't Ping?

Nov 22, 2010

new installation of fedora 14 intel pro/wireless 29251abgeverything ppears to be workingbut ping doesn't workand firefox doesn't workping resolves names but doesn't ping??

View 2 Replies View Related

Networking :: Cannot Ping With Command - Ping IP - Address But Can Ping With - Ping IP -I Eth0

Jul 15, 2011

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.

View 2 Replies View Related

General :: Networking - Network Card - Connected To Network - Given Access Point - No Connection?

Apr 3, 2010

I installed the driver for my network card. iwconfig and ifconfig are all responsive to connecting to the network, I'm given an access point address. Then, I try to connect to a website and no dice. ping www.google.com yields no result. What gives?

View 2 Replies View Related

Ubuntu Servers :: Apache2: Localhost Responds Only When Connected To Internet?

May 12, 2010

I am on Ubuntu 10.04 LTS. Installed LAMP yesterday using:

Code:
sudo tasksel install lamp-server
Tested Apache, PHP, MySQL then, all worked fine.

[code]....

View 1 Replies View Related

Ubuntu Networking :: Apache2 And Localhost - Network Manager Kept On Messing Around And Disconnecting

Mar 14, 2010

a while ago, Network manager kept on messing around and disconnecting me etc. I attempted to setup a static network (wired) and since then, everything worked fine. I also have apache running and have had no problems with that. I know there were some apache auto updates this week but I have been doing no dev work. I went to check out one of my local sites to do some work yesterday and there was just nothing happening.

I checked everything with apache, it is all running etc. I have stripped back the conf files to be clean and fresh and netstat is showing apache as listening on 127.0.0.1:80 as it should for a single default site that I have on there now. BUT if I try to ping localhost by name or by 127.0.0.1 I am getting "Destination Port Unreachable" Since I have been trying to fix this, I have been trawling the internet to try and clean up my network setup from scratch (I have also had problems with https sites that has turned up to be the MTU setting on my eth0 interface) but to be honest I am not sure exactly what should be set between ifconfig, route, netstat and apache. should I be able to ping localhost independantly of running apache2 (i.e if it is stopped) or would a successful ping rely on apache working correctly.

View 6 Replies View Related

Ubuntu Networking :: Can't Ping Outside Of Network

Apr 30, 2011

I can ping the router, but I cannot ping anything outside of the network. The ping just sits there and eventually times out, no error message. I cannot download updates and it is the only box inside the network having any issues accessing the internet. I am running 10.10 server. I can get a list of packages on the update server, but not download them, it appears to be in an incoming issue. I'm using a motorola Netopia router in bridge mode with a netgear SRXN3205 as a router. Again every other system can download fine. I have tried running on one nic, no help dhcp, static again does nothing. I can pulls host [URL].. and I get

[code]...

It may be worth noting that I set the box up at home on a dlink router and it worked fine, however I am confused why it is the only system on the network having these issues every other box can ping just fine.

View 2 Replies View Related

Ubuntu Networking :: Can't Ping Outside Network

Jul 14, 2011

i have problem ubuntu server network! internet works but #cant ping [URL]... and outside ip?

View 9 Replies View Related

Fedora Networking :: Telnet Works Localhost But Not Network / Firewall Disabled

Jun 3, 2011

I'm working on setting up access for our developer via Telnet, we are on a local network behind a physical firewall. I set up the standard Telnet service for Fedora15 and from localhost I can login via any user and root.... However I cannot login from another terminal on the LAN, even though I can ping and FTP to the fedora15 box. I added the firewall rules for telnet, that did not work, so I disabled the firewall, still cannot get a connection via port 25. I feel either port 25 is closed in another manor or the telnet is restricted to the localhost.

Also I cannot login to root to configure the Firewall Desktop GUI, only standard users, is this an issue? I also cannot login to the console as root even though I use the correct password.I can only su to root and sometimes it is a PITA. There must be some settings to clear these issues up...

View 2 Replies View Related

Ubuntu Networking :: Cannot Ping/network To Host On 2nd Nic

Aug 11, 2010

I have a somewhat complicated network setup that I am testing on an internal network. I have the following route setup:

PC Client (192.168.2.100) --> Router (192.168.2.1) --> DSLAM (on our internal network) --> PPPOE Server (192.168.9.1) on Linux Ubuntu 8.04 on interface card eth2.

On the same Linux Ubuntu Machine on interface card eth1 (static IP 192.168.5.100), I have an Asterisk SIP server plugged into it. SIP Server = 192.168.5.101 (static) I need the PC client (192.168.2.100) to register via SIP soft phone to register on the SIP server (192.168.5.101). From the PC client I can ping as far as the eth1 interface (192.168.5.100)...but cannot ping the SIP Server (.101).

From the SIP server (192.156.5.101)...I can ping 192.168.5.100, I can ping 169.254.5.228 (Eth2:avahi), but not sure what that is. I cannot ping the pppoe default gateway (192.168.9.1), which I think you cannot anyway. No firewalls are running. My IPtables I cleaned out totally. I think it might be as simple as a route add, but I really have no clue. Tried building a virtual bridge using brctl LINUX betweeh eth1 and eth2, but that made things worse (could not ping anything after that)

Route table:

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.9.100 * 255.255.255.255 UH 0 0 0 ppp0
192.168.5.0 * 255.255.255.0 U 0 0 0 eth1

[code]...

View 1 Replies View Related

Ubuntu Networking :: Unable To Ping On Network

Jan 11, 2011

I have ubuntu 10.4 running on both my desktop and laptop. Both machines are connected to the router in wireless mode with Wifi.I can access internet from both machines without any issues, however I cant ping one machine from another. (and vice versa)

View 4 Replies View Related

OpenSUSE Network :: Nmblookup Resolves But Cannot Ping Netbios Names Or Ping FQDN

Feb 23, 2011

This applies to my 2 opensuse PC's, my Windows PC is fine.I can ping a hostname, say "PC1" but I can not ping PC1.domain.local (even the host PC can not ping it's own FQDN). When I ping just the hostname the ping stats even list the FQDN.Onto the next issue, since all my PC's, have the domain prefix domain.local, my Synology can not. I can ping it's IP and that is it. I can resolve it's name with nmblookup just fine tho and that is what is killing me. How is this not resolving.Even weirder, I can browse to "Synology" in Network Servers under places on the slab.

View 3 Replies View Related

Ubuntu Networking :: Connected To Network But No Internet / Get That?

Feb 24, 2011

On the 25th of January, one of my computers randomly stopped being able to connect to the Internet. It was running a dual boot (Ubuntu 10.04.1 LTS & Windows XP SP2), and is connected to the network via an ethernet cable (no wireless). According to the Network Manager, everything is working okay (there was no change from when I was able to access the Internet).

When I would use Firefox, I would get the message "Waiting for (page)...". However, this is not a Firefox only problem, as every program requiring Internet access (e.g. Evolution) is unable to connect to the Internet.

I compared the Internet settings to those of my father's Windows XP SP1 computer, which is able to connect to the Internet. There was no difference, except for the IP Address and Hardware Address. Because of this, I incorrectly deduced that either the actual Ethernet cable or the wall plug was faulty. I tried using a different cable and connecting to the Ethernet wall plug used by the aforementioned computer. Nothing changed. I was still unable to connect.

I didn't worry about it until Tuesday, when my other computer had exactly the same problem. It is running a triple boot between Ubuntu 10.04.1 LTS, Ubuntu 9.04 and Windows XP SP2, and I am unable to obtain Internet access using any partition. As with the previous case, my computer showed no change in the Internet settings, and the computer also shows it as being connected to the network. It is also connected via an Ethernet cable.

View 1 Replies View Related

Ubuntu Networking :: 10.10 Connected To Network But No Internet

Mar 13, 2011

I have a Toshiba Satellite L505D-GS6000, and I installed Ubuntu before and it worked flawlessly until I decided that I had to go back to Win7 because of certain program compatibility issues.I'm back here trying to set it up and am having no issues except for with my wireless. I can see all of the SSID's, I am able to connect to my wireless, and it displays that I have been assigned an IP and all of the other settings given by DHCP.

I have been trying to fix this for hours, googled, searched these forums, and have spent time with some people on the Ubuntu IRC channel and we are unable to come up with a fix.

Print out of sudo lshw -C network:

Quote:

*-network
description: Wireless interface
product: RTL8191SEvB Wireless LAN Controller
vendor: Realtek Semiconductor Co., Ltd.

[code]....

The strange thing is that although nothing will load when I try to visit facebook.com, google.com, or any other website... I opened the update manager and I noticed that it would download for 30ish seconds, stop and do nothing for 60ish seconds, resume for another 30, stop, resume, etc. until it finished. I am able to ping my router, and 8.8.8.8, but I am unable to ping [URL].

View 9 Replies View Related

Networking :: Cannot Ping Internal Network

Jan 28, 2009

cannot ping internal network

I am a new user to Linux but in the last couple of months gained some Idea about it,I am trying to set up a small network in my office having 3 windows xp PCs, two fedora10 PCsI have an adsl router with 4-port hub connecting to the internet, one switch (say sw1) and one linux PC (say linux1) is connected directly to the router, the three win xp PCs are connected to switch sw1.all the above is working fine, I am able to get connected to Internet In all the systems, and able to network among all the above four.Now I want to make the linux1 as a proxy server for, hence I added another network card into it connected it to another switch sw2, which is connected to another linux pc (say linux2).

I have tried a hundred things, and googled an equal no. and finally posting it here.In order to reduce confusion I have disabled DHCP in all machines, and given static ips insteadNetworkManager was not happy about it, hence to fix my static IP i disabled NetworkManager ('chkconfig NetworkManager off')

View 10 Replies View Related

Networking :: How To Disabled Ping In Network

Aug 27, 2010

Is there a way to disable ping in the network instead ping of IP addresses must be hostname or a name.

View 1 Replies View Related

Ubuntu Networking :: Can't Ping Machines On Local Network

Jun 23, 2010

So in an effort to increase the speed of my netbook, I removed Ubuntu and installed Lubuntu on it. When I tried to mount my samba share as I normally do, I noticed it wasn't able to connect - mount error(113): No route to host. Sensing something fishy, I attempted to ping the machine (both by name and by IP) - Destination Host Unreachable.The machine I'm trying to connect to is using Ubuntu 10.04 x64. I attempted to ping the other way and it was able to connect to the netbook just fine. When the netbook was using Ubuntu, it was connecting fine. My iptables check out ok, but here is the output of iptables -nvL:

Code:

Chain INPUT (policy ACCEPT 213 packets, 21635 bytes)
pkts bytes target prot opt in out source destination
Chain FORWARD (policy ACCEPT 0 packets, 0 bytes)

[code]....

Does lubuntu have some funky firewall built in to it that I can't find? (I've Googled for information on a Lubuntu default firewall and can't find any)

View 1 Replies View Related

Ubuntu Networking :: Loopback Won't Work When Not Connected To Any Network?

May 6, 2010

I'm using Wordpress on Apache localy to keep a diary (it's convenient because of the tags).
When I'm connected to any network (be it wired or wireless) my Apache (and Wordpress, of course) works just fine. But as soon as I go offline, I can't access the web server neither through browser nor by telneting to the 80th port. Pinging localhost works just fine.Here is my ifconfig when offline and when online:Online:

Code:
eth0 Link encap:Ethernet HWaddr 00:24:54:6f:07:aa
UP BROADCAST MULTICAST MTU:1500 Metric:1

[code]...

View 7 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved