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
I just upgraded to 10.04 from 9.10 and I ran into few issues.
Laptop - Dell Vostro 1520 OS - Ubuntu 10.04 64 bit
Issue - My wifi connects to the network properly and shows connection established. But I am not able to browse. I tried ping and I didn't got any response. But I was able to get response when I use ethernet (wired connection) and I am able to browse. No issues with wifi card as my wifi is working properly from Windows and with the same network. I did a complete update again before posting this and it is yet to be resolved. Here are the output of some commonly asked outputs with wifi enabled and connected:
I'm setting up a loopback server for work related testing. I have a small program that needs to be executed through telnet from about 200 IP's on the same network. On the server, I have to set a static ip, enable telnet login, and place my 2 program files in the appropriate folders so it will run. I have been on this for 2-3 days and haven't got far.
My /etc/Network/interfaces file is this... Auto lo iface lo inet loopback
The rest of terminal is filled up with these, and it states that the file only has 32 characters. I don't know if this is a privilege issue or not. I've read several threads on telnet, and lots of arguments about ssh, but I can't run ssh, so I need to enable telnet. There is not a security issue. I run a private network where the only valuable resource would probably be the text file with my IP address on it. Its also accessed by people that have very limited networking knowledge and no linux knowledge...
So, Set static IP Setup telnet server... Any takers?
So I have an Ubuntu server setup but my modem from my ISP only has one ethernet port so I have to run my server behind a router. I have been able to get the sever viewable to everyone outside of my network but when someone is inside my network they have to view the server by the direct IP the web address doesnt work nor does the actual static IP. I believe this is something to do with my router not being able to loopback. It is a belkin N600 DB.
I'm running Ubuntu 11.04 and I've been unable to access any type of Internet service besides web browsing. When I check on Network Tools, it's always set on Loopback Interface, regardless of whether I've just switched it to Ethernet Interface. I haven't been able to download system updates through Update Manager. I'm not very experienced with Ubuntu.
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?
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.
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.
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].
I have been logging into a server remotely and trying to set up a mailing list on it. The server is the newest version of ubuntu server: uname -a: Linux Themis 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:48:10 UTC 2009 i686 GNU/Linux.I noticed I could not download packages with apt-get or ping domain names, and I can't even ping 127.0.0.1.And do you think there is something wrong with the network card?
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:
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.)
I've installed Ubuntu 10.04 32 bit version(dual OS) on my 64 bit Pentium core2 duo 2.2GHz processor. Everything seems to be working fine except it's not getting connected to wireless network, although it's detected the network .It was working fine(got connected to wireless network) when I had installed the same OS via virtual machine.
I upgraded to 10.10 the day it came out, and haven't had any problems with internet stuff. My wireless card works without any proprietary drivers. Last night, the computer stopped connecting to the internet. I am still connected to my wifi network, but I can't do anything online. I had assumed that my internet connection was just down in general, and tried resetting the computer, shutting down the computer and then turning it on again, and rebooting the modem, but then my Xbox connected, and my laptop running 10.04 connected, so I'm confused as to what is going in. Any ideas?
I am using BSNL broadband ISP and I am able to get network on windows os but not on my ubuntu.( I have a dual boot). I see Auto eth0 connected from the notification but when i am pinging [URL]... it says unknown host.
I have a liveusb running Fedora 11 on my hp laptop. I would like to use my T-Mobile Dash 3G unlimited data connection. I have seen many posts regarding wvdial, modem scripts, etc that are going a little over my head. I was able to connect my phone to the laptop, but when I tried to initiate internet sharing on the phone via Bluetooth PAN, nothing happened on the computer. I was connected but not able to do anything.
I saw some developer in a blog mention that he had put Bluetooth PAN support in Fedora 12. Is this not available in F11? Should I try moving to a F12 liveusb for this?
Has anybody had success getting a Tmobile 3G to work with F11?
I would rather use the USB connection so I could charge simulteously, but this looks a lot tricker.
The Wifi is connected to my router but it still will not let me access the Internet or any other Internet based operation. (I am running 10.04, I had just installed and and now am trying to get the internet connection running)
I have a Dell Mini 10v with a fresh install of latest Ubuntu Netbook Edition. I have enabled proprietary drivers in order to get the WiFi card to work and managed to connect at home, starbucks etc. Good stuff.
For some reason I can detect but not connect to the WiFi at work - I get prompted for the pword and after entering it the WiFi indicater will pulse for a while only to return to the pword prompt. yes, I have the right pword and can connect my iPhone and other laptops. I am really puzzled by this and really need to get on the WiFi at work - wired connection works.
my colleague has the same dell model with windows 7 installed and is able to connect fine - I really don't want that @@@@ installed just to get WiFi. I know password entry error is the obvious solution but I connect new windows devices to it routinely and had other people try too.
I have a WET54g bridge that I am trying to get connected to a wireless network that only allows DHCP. The idea behind it is that I would like to connect the Cat6 out of the bridge to a switch allowing multiple wired computers to connect to the wireless network. The bridge will easily connect to the network once I put the WEP key in, however, there is a kink after that. When I connect the Cat6 to my computer and request an IP for that computer, it self assigns. This tells me that it is not talking to the wireless network through the bridge.
I can not find which IP address the bridge was assigned so that I can talk to it. The sub net is 255.255.240.0 which leaves quite a few possibilities. I know that the bridge is, however talking to the wireless network because the light is steady on the front of it which indicates just that. One other thing to stack on is that I know that there is a "splash page" which comes up when any computer connects. You click on the agreement and then you are allowed onto the network. How can I get my computer to talk through the bridge to the wireless network?
Background infoMy laptop (MySN MG6.c) is dual-booted with Windows 7 and Ubuntu 9.10, and connected to the internet through a router (Digitus DN-11004-O), which is set-up to use DHCP. The internet connection works fine under Windows, and my previous laptop, which also ran Ubuntu 9.10, had no problems connecting to the internet through that router.The network adapter is an Atheros AR8131 PCI-E (also detected as Attansic under Ubuntu)stem infoResults from running various diagnostics (I have removed the output that relate to the wireless connection, as I don't use it):
Code: $ uname -a Linux valyria 2.6.31-14-generic-pae #48-Ubuntu SMP Fri Oct 16 15:22:42 UTC 2009 i686
I had Xubuntu 9.10 installed on my computer and everything worked fine, i could download and surf the net pretty fast, but all of a sudden i couldn't do this anymore. The adapter was still connected to the network but when i opened firefox it worked for 5 seconds and then it would not load any pages, and even synaptic couldn't download any packages, even though it was still connected to the network. So i tried to reinstall network manager but it didn't work, then something happened and i couldn't access my Xubuntu anymore so I decided to delete the partition and install Xubuntu 10.04. I still have the same problem. What should i do? I am sure it is not a problem with the adapter because it works on the Windows partition.
I just installed Ubuntu 10.04, 32 bit, yesterday on my Dell Latitude 6500E and I am new to Linux. I can't find my HP LaserJet 3015 on my home network, even though it is connected to a new Windows 7, 64 bit PC thru USB. The other Windows PCs find it fine, and all 4 PCs can see each other on the network. So, I installed the HP software (http://hplipopensource.com/hplip-web...all/index.html) and that went smoothly, but the printer is still invisible. I also added Samba and that works great like everything else. I plugged the printer in directly to my Ubuntu laptop's USB port and it printed instantly. Now, if I could just print to the LaserJet on the network. Anybody got this one figured out? Does Wine provide a way around this?
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?
configure a server with two network interfaces? This system is physically moved from one network to another every few days (different buildings but connected by a VPN). I'd like to be able to control the IP address of the system depending on which port I plug the network cable into with a static setting. Right now the system will connect to the local network, but any requests to go beyond the subnet get lost. The only way I can get the system to talk outside of its subnet is to comment out the second interface.
I had previously been having loads of problems getting my wireless printer to work with Linux [http://ubuntuforums.org/showthread.php?t=1453697]. Everything is working fine now. However, something that confused me is that whenever I tried to ping the printer _before_ I got it working, it would fail with a _different_ IP address. That is, the command 'ping x.y.z.3' would fail with a message saying it was unable to contact 'x.y.z.2'
Now I am looking at my router - for something unrelated - and I've noticed that rogue IP address shows up in the list of connected devices. It has a MAC address but for the device name it lists "<unknown>". Should I be concerned about this? how to figure out what this device is?
I am trying to boot my laptop in text mode while it is not connected to a network. A message keeps popping up " eth0 ... negotiating". Does anyboy know how to turn it off? I tried "ethtool -s eth0 autoneg off. It still won't stop. I had tried editing /etc/sysconfig/network and turning off networking by NETWORKING=no. Still the same.
When I boot in the graphic mode, this problem of pesky message does not come out. I want to use the text mode since I will use my computer for editing documents and will be using vi only. In the text mode, when I plug it to a network, the persistent message stops but returns the minute I unplug the network. I want to use it unplug to the network since I will not have access to a network all the time. By the way, I am using Fedora 11. I am using a wired DSL network. My computer can do wireless but i had it disabled or switched off.
I have installed Linux for the first time on an old Gateway purchased from work. The system seems up and running, but I can't get connected to my wireless or the wired network. I have tried using the network manager, but it isn't working. I have tried reinstalling Fedora 12 I have the following LSUSB and LSCPI output.
I just installed a dualboot win7/F15 on my laptop (dell XPS 15) and everything seems to be working fine except that when I connect to my network it is connected and the network is accessible (I can visit my gateway/ router) but when I try to visit a website it simply never ends loading it.Internet is working on win7 so it isn't my network's fault.Now I found somewhere that updating could help but since I dont have internet I can't update
got an asus wl500gp v2 and i just had to reflash it. Flashing went through fine, but while setting up the PPPoE connection I got stuck. Here is what the configuration looks like:ADSL Modem ---Ethernet--- Router ---Ethernet--- Laptop I set up OpenWRT to connect over PPPoE over the WAN port and the connection is established:
PAP authentication succeeded peer from calling number XX:XX:XX:XX authorized replacing old default route to br-lan
if i'm connected to my wireless network it only gives me internet acces for a few minutes. The connection with my network stays but i have to close it back of and reconnect before i get back online.
I desire to access a WD Netcenter network drive from Ubuntu 10.10 using NFS mounts.Several on line helps show how if you know the IP address of the drive. How can I discover the IP address of the drive. My Windows network is using DHCP, though I understand that the drive uses a static address. I know the MAC address of the drive. As a user (but not an administrator), I have much Unix experience.