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


ADVERTISEMENT

Ubuntu Networking :: Mobile Broadband Keeps Disconnecting, Network Manager Remains Silent?

Apr 18, 2010

I have a broadband mobile modem iCon 225 (Option) with SiMobil provider (Slovenia). I run ubuntu 9.10 (Karmic Koala). I connect to the internet without problem. After a few minutes, the modem lights start signaling that there is no connection, but the network manager shows connected status. I have to reconnect the network manager to regain connection. After about a dozen times of reconnecting like this, I have to reboot the system, as it won't connect, even if I unplug and replug the modem.

I've noticed these frequent disconnects have started a few days ago. I did experience disconnects in the past, but as nearly often as this. I can't attribute disconnects to activity/inactivity, as they seem to happen no matter what I do.

View 5 Replies View Related

Ubuntu Networking :: MSI Wind 100 Keeps Disconnecting From Network?

Jan 25, 2011

I have a MSI netbook, U100, on which I've installed Ubuntu 10.10. This keeps disconnecting from the network, though the applet shows me that the netbook found it. I mention that I have a wireless network and another laptop, with WIN 7, where I have no problems with the Internet connection. I also have a 3G USB modem, which let me connect without problem.

View 3 Replies View Related

Ubuntu :: Apache2 Localhost Not Available When No Internet Connection

Jun 12, 2010

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.

View 5 Replies View Related

Software :: Apache2 Won't Connect To Localhost Or 127.0.0.1

Mar 16, 2009

1. I use a cable modem with a specific IP address & a router with port 80 forwarded to my home Linux development machine. From outside my house (e. g., from my office), I can connect no problem.

2. My home development machine is IP 192.168.1.20- if I use this address in the browser (on the home development machine) it connects. However, on the same machine, neither localhost nor 127.0.0.1 connect.

Nothing shows up in the regular log (even with logging set to "debug"), but this shows up in the error log for both localhost and 127.0.0.1:

Quote:

[Mon Mar 16 19:05:28 2009] [error] [client 127.0.0.1] File does not exist: /htdocs

This is particularly odd, since I have NO reference to htdocs in any of my configuration files. I have grep'd all over the place, and the only reference that shows up is in the apache2 binary. When I do 192.168.1.20, I get this in the error log:

Quote:

[Mon Mar 16 19:10:24 2009] [error] [client 192.168.1.20] File does not exist: /var/www/localhost/scripts, referer: http://192.168.1.20/

Which should be OK, because in this initial, very immature test environment, I don't have the /scripts directory defined; I don't think it has anything to do with my problem. I get the web page. My sites-enabled/000-default (appropriately linked per convention to a file in sites-available) has been completely stripped down. I have exactly the same situation with the default sites-* file. Here's the minimal version:

Code:

NameVirtualHost *
<VirtualHost *>
ServerName localhost
DocumentRoot /var/www/localhost

[code]....

View 14 Replies View Related

Ubuntu Servers :: Firefox Can't Open Php File From Apache2 On Localhost

Mar 31, 2010

I've just moved on to 10.04 from 9.10. The program worked fine in 9.10. I *may* have overwritteen a conf file in the upgrade...

I now get the error as below:

My userdir.conf is like this:

<IfModule mod_userdir.c>
UserDir public_html
UserDir disabled root
<Directory /home/*/public_html>

[Code]....

and I have the PHP5 module installed. I vaguely recall that I may have had PHP4 installed - would the upgrade have removed it? Is there anywhere I can get it from to try? Anything else to do?

View 9 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 :: 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 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

Fedora Networking :: Fedora 13 X64 Keeps Disconnecting From Network

Sep 29, 2010

I've seen many threads of this type, but I didn't see anyone simply say what the problem is. There's got to be something happenning to make it disconnect, and then something else makes it so it can't re-connect.What I get is that it connects for some time (maybe a short time, maybe a longer time) but eventually it just disconnects. When I try to re-connect wpa_supplicat log says simply it's trying to associate with the AP; it's associated with the AP; and then it's disconnected: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys

It is a home-built with AMD64 and a D-Link DWA-160 A2 (Atheros AR9710) and Netgear extreme 300 router AP. The router log shows it is in fact connecting for a short while only to be disconnected at my computer's request.This is Fedora 13 out of the box (sort of!) except that I have the development repos and the updates repos and the RPM fusion repos installed. I have NM applet running. I use one called simply "network", and also one called "control network devices". but they all lead to the same result that it can't reconnect. If I play with it enough doing any variety of changes I can eventually get it to reconnect, but there's no telling what action was the successful one. I just think it reset whatever was bothering it. But, as I saw another thread describe, if I delete ALL network connection definitions and reboot, it will find the network and it will connect. But sooner or later I'll be back to where it disconnects.So, does anyone actually know what the major malfunction is? It should have been identified and qualified and quantified by now so that there's a simple write-up of cause and fix. But thru all my googling I can't find anything definite. If anyone has some good answer please post it so we all can benefit.

View 7 Replies View Related

Ubuntu Networking :: Network Manager Will Not Auto-connect To New Network After Resume?

Jul 1, 2010

I recently fixed an annoying problem and I thought it would be nice to share my solution here. The problem was that after a cycle of suspend/resume, Network Manager would only auto-connect to the same network as it was previously connected to. So, for example, if I suspended my laptop at home, and then I went to school and resumed it, it would try to connect to the home network, and then just give up. It would not connect to the school network unless I explicitly told it to.irst, I'll describe the fix. If you're having this problem, you can this. Copy the following:

Code:
#!/bin/sh
case "$1" in

[code]....

View 5 Replies View Related

Ubuntu Networking :: Network Manager Stopped Recognizing Wireless Network

Jan 24, 2011

I am a Windows refugee who discovered Ubuntu as a way to save my files from my virus-ravaged computer. Had no installation discs for Windows, so when I had to wipe my hard drive and start over, I decided to give Ubuntu a try. I've had mixed success, but that's another post...

Right now, the problem is that I installed 10.10 two weeks ago and was able to connect to the Internet with no problems - until yesterday. Suddenly, our wireless network (the only one in the vicinity) does not come up as available in Network Manager. In fact, the entire wireless option disappeared. I know there are many posts and threads on here about this, but weeding through them trying to find an answer is more frustrating than actually dealing with the problem. I know the router works because I can post on this forum from the Macbook. I really like Ubuntu and would like to keep using it, but not being able to connect to the Internet now on top of the other issues I've had is making me doubt I want to continue down this Linux road.

P.S. When I attempted an analysis through System Testing, it said something about there being no proprietary drivers?

View 2 Replies View Related

Ubuntu Networking :: Sudo Iwlist Scan Works But Cannot Connect To Network Using Network Manager

Jun 14, 2010

I have used ubuntu in the past but had a lot of hardware issues with it and unfortunately moved back to windows (( BUT i have tried Ubuntu again and all seems to work great except wifi My wifi connection is sort of working because when i run SUDO IWLIST SCAN it does pull up all available networks. But in the network manager icon on the panel i left click but i see no networks and can't connect to anything. I WOULD LOVE TO keep Ubuntu and use it permanently but I must get wifi working or else this won't be possible.

View 4 Replies View Related

Ubuntu Networking :: Network-Manager Tries Always To Autoconnect To Wired Network

Feb 18, 2010

I have the problem with my notebook, that, after I used it at work, the network-manager always tries to autoconnect after boot. He has no cable network and so I get the message "not connected" after a while.how to tell the network-manager, not to autoconnect each time?

View 4 Replies View Related

Ubuntu Networking :: Network-manager And Wicd Can See But Not Connect To Network

Jul 10, 2010

I recently put Linux on a Thinkpad T40 I got. The wireless card works out of the box--I can see nearby networks. However, I can't connect to mine. network-manager would try (spin spin spin), fail, ask for the password, and then go back to the beginning and repeat indefinitely. This happened to me on a different computer, and on that one all I had to do was use wicd instead of network-manager. So I installed wicd, but it's not working either--it hangs at "Obtaining IP address".

I've found many, many threads with people who had the same problem, but none of their fixed worked for me.

I also tried to get wifi going manually, using this guide, but that didn't work.

View 3 Replies View Related

General :: Keeps Disconnecting From Wireless Network?

Sep 12, 2011

I'm running Arch Linux on an Acer laptop and my wirless connection doesn't stay up. After a while it disconnects, and when I try to reconnect I get stuck with a "Waiting for authorization" message. I have to retry several times before getting the connection stay up for few minutes. This happens with both networkmanager and wicd. The strange thing is that the iMac that sits next to the laptop connects fine, and when I use my laptop within the university wireless network it works normally.

EDIT: I've tried to connect manually following the steps

iwlist wlan0 scan
wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf
dhcpcd wlan0

[Code].....

View 1 Replies View Related

Ubuntu Networking :: Way To Ban A Wifi Network In Network Manager

Oct 26, 2010

My wifi connection drops sometimes and, for some reason, Network Manager attempts to connect to my neighbor's network, which requires a password (which I don't know). Is there any way to blacklist a wireless network so that the Network Manager will never attempt to connect to it?

View 4 Replies View Related

Debian :: Wired Network Disconnecting When Idle

Jul 29, 2011

I am a newbie when it comes to linux, but know a little (the little bit of dangerous stuff).I have set up a home web server for when I am testing website using PHP, mysql and other funky stuff. This is a reflection of my production server as far as I can with my limited knowledge.I am also using this box to learn more about the Linux operating system and I doing this slowly. Before I installed the GUI (Gnome) I was using a text based server, this was working fine and running absolutey fine and never disconnecting. This has been fine and working 24/7 for around a month.

At the weekend (just gone) I ran the following at terminal
# apt-get install gnome

This gave me a GUI so I could try some other things.

When the computer is idle the network card seems to drop the connection, Im trying to see after how long it does this. I have seen this work fine after an hour, but after a night, the network has been dropped. This is a hard wired connection to the router.first time I thought the PC had froze so rebooted the PC, but the second time, I plugged a mouse into it and noticed the the network icon had changed, after right clicking on it, i noticed that It had dropped the connection. After clicking the "reconnect" option it is back up and running.

View 6 Replies View Related

OpenSUSE Network :: 11.2 - 3G USB Broadband Modem Keeps Disconnecting

Jan 23, 2010

I am running a 3-G wireless USB broadband modem, and connecting with Network Manager, but I keep getting disconnected when idle after 5-6 minutes. I am used to using Kinternet to connect with my 3-G wireless USB broadband modem, and setting it up in Yast / Network / Modems, but was not able to configure my modem there (for some mysterious reason) so ended up using Network Manager instead.

What's going on here regarding YAST being unable to configure my modem (even when Network Manger is disabled). But my main problem at this point is that my connection times out after about 6 minutes if I'm idle. This is a big problem for me because I type slow and frequently get disconnected while posting on message boards. Where are the idle time out settings are for Network Manager? I can't seem to find them.

View 3 Replies View Related

SUSE / Novell :: How To Switch Network Manager From YAST Back To Efault Network Manager?

Mar 2, 2010

I had trouble connecting to a wireless network with openSUSE, so I tried the YAST network manager to see if that fixed it. Not only did it not fix it, but now I cannot connect to any network, wired or wireless. I tried to open the default network manager and it said "Network management disabled". How do I re-enable it?I also have set YAST settings back to their originals with no luck.

View 7 Replies View Related

Debian Configuration :: Network - Command Which Is Equal To Disconnecting And Reconnecting Lan Cable

May 1, 2011

I want to know any command which is equal to disconnecting and reconnecting lan cable. actually sometimes my router takes some time to connect to internet and when this happens my desktop shows network disconnected. but when router is connected system does no detect it and i have to manually disconnect and reconnect the cable which is not convenient.

I have debian 6.0.1 (squeeze) with gnome 2.30.2

And i have already tried following commands:

View 10 Replies View Related

Ubuntu Networking :: Networking In 10.04 - In Network Manager There Is Not Way To Select My Modem In The First Step

May 3, 2010

I'm try to create a mobile broadband connection using my Huawei E 1550 medem. but in Network manager there is not way to select my modem in the first step ( device selection step ) the drop down menu is locked. what to do ? how to configure my modem with ubuntu ?

View 1 Replies View Related

Ubuntu Networking :: Network Manager Applet Enable Networking Unchecked

Apr 2, 2011

Whenever I start up my laptop i do not get a wireless connection automatically. I have to rightclick network manager applet and select enable networking. After that everything works fine untill i shutdown and restart my laptop. I would like a way to change this so that my wifi connection is working whithout having to click something first..

OS:Xubuntu 10.04 LTS!
hardware: dell inspiron 6000
nm applet: 0.8.?

View 6 Replies View Related

Ubuntu Networking :: Networking Connections Not Listed In Network Manager

Aug 23, 2010

Neither of my wired network connections are listed in the network manager applet. I know that networking seems to be functional since I can ping local devices on the network. I can't resolve DNS names however. I suppose this is because network manager usually handles DNS? I've posted the outputs of various configurations below.

Code:

/etc/NetworkManager/nm-system-settings.cfg
# This file is installed into /etc/NetworkManager, and is loaded by
# NetworkManager by default. To override, specify: '--config file'
# during NM startup. This can be done by appending to DAEMON_OPTS in

[code]....

View 4 Replies View Related

OpenSUSE :: Virtual Machine Manager - Can't Connect To Localhost Because Libvirtd Is Not Running

Sep 16, 2010

It complains that it can't connect to localhost because probably libvirtd is not running. Well it is running, so please share your wisdom with me. Here is error message:

[Code]....

View 5 Replies View Related

Ubuntu Networking :: Boot Computer And Network Manager Shos "no Network Devices Available"?

May 10, 2010

Loaded Ubuntu 10.4lucid on TransPort NX Mobile Pentium II, 328MiB,Using Netgear Rangemax wn511b. with Broadcom STA wirless driver. bcm43gx.Boot computer and network manager shos "no network devices available" Run system/administration/hardware drivers and the Broadcom STA driver shows up (only one that shows up) REMOVE and then ACTIVATE and the network manager sees it and connects fine. Shut down computer, restart and no device. I am forced to Remove and Activate each time I start the computer.Is there a way to set this driver to be found and run at computer start.

View 4 Replies View Related

Ubuntu Networking :: Wifi Keeps Disconnecting ?

Mar 9, 2010

Wifi seems to disconnect fairly requently, sometimes reconnecting automatically and sometimes requiring me to re-enter the wep password.

I would like to make it so it stays connected.

The router is not very close, but I think it's close enough. I even moved it closer. Other devices (such as my N900 mobile phone) hold the connection without issue.

One complication is that there are several devices all with the same SSID, though there should be one which is clearly stonger.

Details below.

1 ) Machine Brand and Model (PC/Laptop):

Code:

2 ) Wireless Brand, Model and Wireless Chipset:

Code:

3 ) check interface:

Code:

4 ) Check for modules:

Code:

5 ) Kernel boot messages

Code:

View 5 Replies View Related

Ubuntu Networking :: Wifi Keep Disconnecting In 10.04?

May 19, 2010

I never had this problem with Ubuntu before and I am now confused. This is a clean install and I have not change anything about my AP so don't why this is happening.

Every 5min or so my wifi keeps disconnecting and sometimes have problems reconnecting. I also have Windows on this machine and it does not do this at all. My AP is set to channel 9(changing it makes no difference), WPA2. Logs below

Code:
[ 15.668746] alloc irq_desc for 33 on node -1
[ 15.668748] alloc kstat_irqs on node -1
[ 15.668768] iwlagn 0000:02:00.0: irq 33 for MSI/MSI-X
[ 15.696615] alloc irq_desc for 22 on node -1

[Code].....

View 9 Replies View Related

Ubuntu Networking :: ZTE MF637 Keeps Disconnecting After A While?

Aug 13, 2010

I have recently purchased a cellular usb modem, a ZTE MF637. To my surprise and pleasure the device worked (almost) out of the box (almost, because I had to supply a user name and password to the wireless broadband connection properties).

Anyway, the problem is, that the connection work fine, but only for 20 minutes or so (I did not actually measure it), then I experience 0 network activity, and shortly after that the connection drops, and the device is no longer recognized as wireless broadband.

What I do is remove the device, replug it, and after a minute it reconnects. until the next drop.

I'm using Lucid on an Asus eee 1101HA.

Oh, one more thing, in lsusb, the device is listed as MF636, but the box reads MF637. I don't know if it matters, but there it is.

View 1 Replies View Related

Ubuntu Networking :: Wireless Keeps Disconnecting On 10.10?

Nov 8, 2010

I have always had trouble in the past getting wireless adapters and what not to start working on Ubuntu but with each 6-month upgrade most problems are fixed while new ones are made. Since Ubuntu 10.10 just came out I thought I'd give it a go and test it with my hardware.

Before 10.10 Ubuntu could not connect with my wireless device and I had to do many things with gedit and such to get it working. After I have upgraded to 10.10 Ubuntu now recognizes my wireless device and network and I can search the web...but wait here it comes.

Literally minutes after a fresh install and first connection to my network my wireless signal will drop and prompt me to reconnect. Of course the first thing comes to mind I reconnect which doesn't work so I unplug the device and replug it making it works...Two minutes later my connection drops again and so I so reboot, and if you really want to know what happens next just restart this paragraph.

Things you need to know Operating System - Ubuntu 10.10 64-Bit Wireless Adapter - Hawking HWUN3 Hi-Gain Wireless-N Network USB Adapter Router - Apple Airport (99% sure it has all updates)

View 8 Replies View Related







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