Server :: Localhost Has Stopped Working / With Or Without Internet Connection Via An Ethernet Cable?
Apr 2, 2010
I have been using my laptop as a development machine for a few months now, developing php/mysql applications, and testing them offline via the same laptop by pointing the browser to url.
But a few days ago, my url stopped working and I discovered that it will now only work if I have an active internet connection plugged in. Why has this happened and how to I fix my test server so localhost works with or without an internet connection via an ethernet cable.
After using fedora 11 for a month or two now the ethernet gave out on me tonight. However if I switch to my ubuntu or windows XP install it runs fine. I made no recent changes to network connections, and no installed programs that should effect it.
I have tried, restarting, older kernel, restarting services, and clearing the DNS Cache. The specific error I get is that "Firefox can't find the server", and most other applications return similar. I can however ping websites still. All other computers on the network are running fine, and booting into another system the internet will work. Just not for fedora.
I just built my first pc, installed ubuntu 9.10 and tried connecting to the net through my ethernet cable and all that happens is it says cannot find server. Do I need to install network settings & if so what & where,or should it automatically detect them? As this is my first build I am a novice but am willing to listen & learn.
i have installed apache and php in my fedora 11 system and httpd works fine except that it doesnt have internet connection for example rapileech doesnt work it says "cannot connect via port 80" and if i put an rss feed collector in a website it doesnt work but everything else works fine , also when i put the same file in a shared web host it works fine
I am trying to run a cable from my wireless router over a 75ft cat6 cable to my bedroom. I don't get any connection on my end and I don't have any other ideas. I did setup a m0n0wall box just to try. I got the network led on my server to light up in my room but nothing more than that. Lastly, I tried adding a 5 port switch in my room and then connecting that to my server and nada.
My WiFi can connect to internet without any problem, until I plug my ethernet cable ...then I lose internet.
So the question is : how do I configure my ip/dns and stuff to still have internet when I'm plugged by cable at the same time! it was working on windows ;-)
I am using Ubuntu Server version 10.4, and am trying to connect to the internet via an ethernet cable. This may and probably is incredibly simple, however, I could not find anything that pertains to it.
OS: Maverick Ethernet driver: tested with sky2 an sk98lin This has been driving me crazy for the last few months: if I unplug ethernet cable while my laptop is on reconnecting it sometimes does not bring the connection back.
And once ethernet is gone nothing that I try seems to consistently bring it back. Rebooting, disabling/enabling the driver, disabling/enabling NIC in BIOS, changing driver from sky2 to sk98lin, deleting connection from Network Manager, resetting the router - nothing helps. It seems to come back randomly a few weeks later. Once I used live Ubuntu on a USB stick and ethernet came back not only on a live distro but then when I rebooted also on my main OS. But when I tried that trick next time ethernet was missing in the live distro as well.
Also once I was able to revive ethernet but compiling sk98lin driver, blacklisting sky2 and rebooting. Of course next time doing the same routine did not help. The thing is - ethernet works fine with either sky2 or sk98lin and I can unplug the cable and plug it back in most of the time without any issues. But then every so often - bang and I'm stuck with only wireless until ethernet suddenly starts working again.
I have a laptop, and the wireless and cable worked fine for a while, but one day, for some odd reason, the wireless and network cable just stopped working. I'd connect to the web, and I would get output using "ifconfig" and the GUI wireless signal. When I hook up the wire, it detects it. However, no matter what I can't load any web pages. The wire does work in another house, and my windows partition utilizes these devices well. Any ideas?Additionally, I am able to log into my wireless router and change configurations, but that's about it :/.
Just today I installed opensuse 11.3 on my Compaq CQ61. Even though I am able to connect to networks (both with an ethernet cable and wireless) I don't have internet access. I have used opensuse for a very brief period in the past and I had no such problem.
I have installed ubuntu 10.6.4 in my dell inspiron laptop but my ethernet card is not working when I connect my lan cable to it. But it is working well in windows vista. How to load drivers for it.
I used my computer this morning, but when I returned this evening, I am unable to reach the internet. Also the light on the mobo where the ethernet cable is plugged in is steady yellow.
My limited experience would tell me it is a hardware failure, but it seems so strange with nothing happening during the day. How might I best diagnose the problem?
how I could file share, or make the whole Hard Drive (HDD) accessible to another computer. The two other computers I have are a Toshiba Laptop with Ethernet and USB, and a iMac Intel with Firewire, USB, and Ethernet. Putting these to use along with:
Three Ethernet Cables Two Printer Peripheral USB Cables The Two Computers A 2GB Flash Drive
That is all I can think of right now. I do not want to use CDs. In a way, I would like to do a network boot. So, how do I get the whole HDD visible to the others computers (either/both) and be able to write to it? I want to put Xubuntu on it, and earse the rest of the Hard Drive. The computers getting this are the iMac G3s and the eMac G4. The eMac has 256MB RAM, 40GB HDD, and a 700MHz processor. Two iMacs have 128MB RAM, 40GB HDD, and a 600MHz Processor. The other iMac is the same as the rest but has a 500MHz processor.
I have a machine running with slackware64 13.1 and vnc servers is installed on it. It worked for months until yesterday, when I couldnt connect to the machine remotely.
I have 2 vnc "users" on this machine, root and "user". Each have their own desktop. Root has desktop :1 and user had desktop :2. Simple enough.
VNC servers is started via /etc/rc.d/rc.local with the command:
Code:
Code:
It worked flawlessly. I use the very same configuration on my home server, never had a glitch.
From the "distant" machine, I get this error when I try to connect:
Code:
Unable to connect to VNC server
What has changed so it no longer works? I assume its not a network problem since the machines are all located in my home network and there is no firewall or router in between them.
I recently installed ubuntu on my mom's computer but I can't get the mouse to move trough the touch pad and I suspect the USB is not working either, because I can't get anything to work trough the USB, and the Internet is not working trough the cable, and I think wireless as well. Her computer is an old acer aspire 3000
I would like to have all traffic from the ethernet connection out through the wireless (basically using the box as a router) however I am having some trouble doing this.
I have done this before on Windows however I am having some trouble doing this on linux, I have tried using Squid Proxy however I am having some trouble using configuring/using it.
I am using Yellow Dog Linux however I am willing to change to any other distro as long as it is compatable with PS3 (as this is what im using linux on)
I use Linux Mint 10 and have been on Linux for about a year now. I'm no expert, but I can sort of find my way around. My problem is that I am not able to set up a LAN and share my internet connection through a crossover cable. I have a USB 3G data card for my internet connection, and getting a router for it is a mite expensive. I have a crossover cable and searching on the net led me to believe that I could do what I want to. The only problem is that I am unable to.I've got two desktops both on the same Mint 10 and when I connect them assign an IP address and gateway, my network manager shows that the connection is up, but I'm not able to ping the other system. I've even exited my firestarter firewall in case that was what was causing the problem, but I've not found a solution as yet.My knowledge of networking is at that dangerous stage where I know very little, but think I know a lot. What I've learnt about networking I've learned over the past one month when looking around for solutions to my problem but my basic understanding leaves a lot to be desired.
I am running the version 10.4. As I am learning mySQL and PHP, I installed Apache2, mySQL and PHP, as discribed in this link. The problem is I have to have any sort of Network, either LAN, WiFi or Mobile Broadband to access my localhost. When I am connected to internet, my local host works fine, without any problem, but as soon as I get disconnected from internet, localhost is not available. I have googled a lot, but could not find a solution.
ethernet suddenly stopped working and can't get it back, says something about device not active but it works well with the Debian live dvd, what could be the problem?I'm using mobile internet now and this seems to have happened after setting up the mobile connection but I dont think it as anything to do with the wired problem.
my wired auto ethernet stopped working. It doesn't appear to be my machine or the hub as the connection is fine using windows on the computer.I'm a bit clueless on the Networking front in Ubuntu. I've brought up the Network Connections box and checked that the Mac address is correct (and it is). I've tried it on Lubuntu and Openbox, but still no luck. The only oddity I see is that the Network Connections box says that the auto ethernet connection has never been used .
I have a computer with grub installed, and nothing else. I'd like to install Debian on it without having to burn a CD. (and I don't have any flash disks.) It has a nice ethernet card, and I have another computer right next to it with an ethernet card. I also have an ethernet cable. However, I don't have any router free which I can mess with for these purposes. As I've looked up, apparently modern Ethernet cards don't need crossover cables, normal cables will work for this type of connection.
I've tried several different "tutorials" on how to set up a netboot server, but
None of them are complete. All of them assume that you understand how DHCP works, and that you can do things like set up a dnsmasq server. I don't understand the DHCP protocol, with submasks and whatnot (I know that it is the protocol for assigning computer network addresses, and that's it), and I don't think I should have to in order to simply connect two computers. All of the tutorials give you incomplete configuration files, and ask you to fill in things which I don't understand, and for me it doesn't make sense to customize these settings, as I just want to connect them and I really don't care what ip address the TFTP server has or whatnot. All of these assume that you are going through a router. I am not. When I try googling for ways to directly connect two linux computers with an ethernet cable, I can't even find instructions, just more references to "you need crossover cables".
So basically, I have two computers directly connected by ethernet cables. Tell me what packages I need to install, what the contents of my configuration files should look like, and what, if any, commands I need to run in order that when I turn on my second computer, and select network boot, it will start up a minimal debian system.
EDIT: Hmmm, it looks like I actually have a linux kernel installed too, but no root filesystem (so no other programs besides busybox).
Version: Ubuntu 10.04 Relavant hardware: P5QL Pro built-in ethernet, cable modem with linksys wireless-G router (although problem is with ethernet connection, not wireless)
One minute my ethernet was working, and the next it stopped working. The only thing that I did between it working and not working was install electricsheep from Synaptic and then I shut down the computer. When I restarted a bit later, no ethernet connection shows up.
I checked the cables, made sure they are in tight.
My laptop connects using the same ethernet cable fine. So its not the cable or the router.
I reset the router and the computer at the same time. Still doesn't work.
I don't know where to even start with troubleshooting this sort of problem. Everything to the extent of my computer knowledge seems to be working fine.
My computer wouldn't come out of sleep mode, so I had to shut it down improperly. Now there's no ethernet network connection. The NIC works as I can start the computer by wake-on-lan, but somehow Ubuntu no longer sets up a network connection on it.
The green light on the NIC is lit up and blinking. I have changed no settings. It used to get an IP address from the DHCP no problem, but ifconfig now only shows 127.0.0.1.
I recently installed Ubuntu (normal version) on to my netbook (Samsung N140) and I'm sharing my wireless connection over ethernet to my desktop using the method outlined in the Ubuntu wiki on ICS.
However, I do Ruby on Rails development, so run a local server on the netbook. I found out yesterday while working remotely that I cannot access 'localhost:3000' while I have no internet connection, and I get an error about 'sendmsg: operation not permitted' if I try to ping localhost. Likewise, I cannot access 127.0.0.1 the same way.
After some fiddling around, I have come to the conclusion my current wifi access point hates my other computer's Broadcom chip or the drivers thereof. So, my current idea is as follows. I would like to use my netbook to connect to the wireless network, and then connect my other computer to it through ethernet. My netbook is dual boot XP and Ubuntu (think Ubuntu is a version behind) and I would be fine to set up this sharing in either and just leave it on as a repeater station. My other computer is dual boot XP and Fedora and I would prefer this work to allow me to have network in both. I have a straight-through cable and have verified that my network card supports the automatic crossing over behavior.
I have installed ubuntu 10.10 on a hand me down computer and put a new network card in it (planet ENW 9503) i have managed to locate a linux driver for it from planet.com but i have no idea how to get it to work i have tried a few things it says to do in terminal. everything i have looked up needs an internet connection?
I have installed ubuntu 10.10 on a hand me down computer and put a new network card in it (planet ENW 9503) i have managed to locate a linux driver for it from planet.com but i have no idea how to get it to work i have tried a few things it says to do in terminal. everything i have looked up needs an internet connection?