Debian :: Losing Connection With SSH And Webserver With Lenny
Aug 13, 2009
I'm not sure if it is the connection I'm losing or something else is happening and I just can't fathom it out.
I have set up Debian from netinstall. I installed openssh server and Apache. The server is connected to our local network with the IP address 192.168.0.51 and shares a physical port on a simple ethernet switch.
I can SSH into the server from Ubuntu but it takes around one minute to ask for a password and another 20 seconds or so to bring up the prompt. I have checked twice to make sure their are no conflicting IP addresses on the network (all static). The connection seems fine but if I am away from the secure shell for more than a couple of minutes or I minimize the terminal window I can no longer type anything at the remote machines prompt. Reconnection without restarting the server is impossible on most attempts and the terminal just hangs before the password prompt appears.
I have the same kind of issue with Apache. I can view Apaches test index.html using just the IP address from my browser but after a few minutes I get the 'connecting to 192.168.0.52' in the status bar and it never reconnects.
View 1 Replies
ADVERTISEMENT
Nov 1, 2010
I am having serious trouble getting Debian to install over our LAN using PXE/syslinux, a custom preseed.cfg, and the files from the DVD on a webserver. I think the problem is using the files from the DVD on the webserver instead of a mirror, but I believe this should be possible. I do not have enough space on the webserver to house an entire debian mirror.
[Code]...
View 10 Replies
View Related
May 9, 2010
Ive just installed debian-Lenny, and, with all other applications Ive installed therewith working well, I cannot get any kind of web connection to run.
I'll mention at the outset, I do use web from this same computer without problems via either live-CD or usb linux... this question concerns only my recent Lenny install, which will not connect whatever I try.
Any web address I try, and with whatever browser, gives me the same "cannot find address.html" or cannot connect screen...Ive tried the default browser, konqueror, and a lynx type text browser... none will connect to web.
Secondly I'll note, I have tried installing httpd apps...X11 seems to be there... this is installing with synaptic, so, I would think it should have picked up whatever was missing, web connect wise. At this point it looks like Lenny just doesnt work with my working internet connection...that in turn seems unreasonable(!).
View 2 Replies
View Related
Aug 2, 2010
I'm using debian lenny and I've created a vpn connection (client) to connect to a windows vpn server , my chap-secrets file looks like the following :
Code:
# Secrets for authentication using CHAP
# clientserversecretIP addresses
........
# added by pptpsetup for afa
afa afa "my_pass" *
and my settings for 'afa' vpn connection are :
Code:
# written by pptpsetup
pty "pptp 212.50.246.113 --nolaunchpppd"
lock
noauth
[code]....
View 3 Replies
View Related
Feb 23, 2011
I have a Dell PowerEdge 2900 on which I just installed from scratch Debian Lenny 5.0.7 AMD 64bit. I am having issues where when I ifup a second nic card the server will maintain connectivity for a period then all connectivity is lost and I have to ifdown all eth interfaces and bring them back up to regain connectivity. Here's how the server is laid out: I have 12gb or ram with 2 Xeon 5450s in the server, as I mentioned it's a Dell Poweredge 2900. It has a build in Perc6i raid controller with 2 drives in Raid 1 for the OS and 4 drives in Raid 5 for storage. It also has a Perc 5e card in it connected to 3x6TB raid arrays. I mention this because they are all sharing the PCI bus if that matters.
The nic cards I started with were the two builtin Broadcoms and lspci reports them both as:
Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12)
After I started experiencing the problem I added an inexpensive Trendnet based off the Realtek RTL-8169 chip rev(10). Debian sees this card without any need for additional drivers. The Broadcoms required the non-free network drivers provided by and built against the Debian kernel (no custom drivers). One nic card is configured with a public IP address and I use IP tables to reign in the traffic to http and https only. There is also an outbound openvpn tunnel from this machine back to our offices through this interface. The second nic card is hard wired to a mac mini directly and is assigned an 10.x.x.x address. I am able to see the mac mini from it.
The amount of time the network connection stays up doesn't seem to follow any set pattern. I have flood pinged the 10.x.x.x while running apt-get and one time it fails, the next time it doesn't. Sometimes the network connection degrades and I can do an nslookup one second and get nothing and the next I get a response. Finally though it fails and it requires me to ifdown the eth connections and ifup them to get them going again. I don't really see anything in the logs. I've looked in kern.log, messages, syslog and pretty much came up empty, but not 100% certain I'm looking for anything more subtle than obvious errors. The routes all look good too.
Naturally, as Murphy's Law would have it, this is a remote server at a colo so that doesn't make troubleshooting any easier. What I have done to temporarily prevent me from losing complete access to the server is setup a cron script that runs once a minute and pings something. If there is 100% packet loss, it restarts the nics and I'm going again for another arbitrary period of time. Lastly, this has no effect on the OS running. I don't have a hung system when this happens just a trashed network connection.
View 1 Replies
View Related
Aug 16, 2010
I've found that I need to use pppoeconf, but it doesn't work. I have default Debian kernel with PPPOE module. After looking for the modem it gives me the following message:"Sorry, I scanned 1 interface, but the Access Concentrator of you provider did not respond. Please check your network and modem cables. Another reason for the scan failure may also another pppoe process which controls the modem."pppoeconf detected the interface successfully (eth0, I have only one interface), but doesn't work. It does, however, work with my router connecting without any issues.
View 4 Replies
View Related
Jan 17, 2010
I recently bought a new Acer Aspire and installed Lenny, I can get a wired network/internet connection however not a wireless connection. I use wicd. Bluetooth doesn't work either though I suspect that it might be the same issue.
Don't know if it helps however when I tpye iwconfig I get:
ladb:/home/nigel# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
View 14 Replies
View Related
Feb 16, 2009
I'm using Xubuntu 8.10, network-manager, Atheros AR2413 802.11bg NIC, and Radeon Xpress 200M with open-source ati drivers.
My problem is that I'm frequently losing my internet connection--whether I'm wired or wireless. It happens most often when I'm watching a ..... video but it happens other times too. My cpu usage is high when watching ..... (70-100%), so that may have something to do with it but I'm here because I really don't know.
I started having this problem when I switched from the proprietary fglrx driver to the ati driver. I switched because my laptop was always freezing halfway through a movie using vlc/mplayer. The ati fixed this but gave me my current problem. I do not want to go back to fglrx.
Here's what I've done so far to try to fix it without success:
-tried using noapci boot option
-tried using a different router
-tried using wicd
When I lose the connection I still have a strong signal. My lshw and iwconfig outputs are the same as before I lose my connection. However, I cannot ping my router when I lose the connection. I have to reboot to reconnect.
View 5 Replies
View Related
Feb 11, 2009
I just installed fedora 10 on a machine with a netgear ga311 gigabyte Ethernet card. Usually when I start it up I have a connection but after 5 minutes I lose the connection.
View 4 Replies
View Related
Jun 14, 2010
My imac is connected on a wired connection and it keeps losing signal it will work fine for the first couple of minutes
View 3 Replies
View Related
Jul 6, 2010
A friend of mine is running Ubuntu. He used to run Windows XP, but he kept destroying it completely, and I soon got tired of fixing it for him. So I setup Ubuntu, and we're both happier people for it.BUT! The other day he asked me to setup a VPN (PPTP) connection to his workplace, which I promptly did. It also just works, except for one minor problem: When he fires up the VPN connection, I lose the ability to connect to his computer over SSH. As soon as he shutdown the VPN connection, I can once again log in over SSH.I use the SSH connection for basic maintenance and for tunneling port 5900 so I can assist him over VNC.
His nic is setup with DHCP. Gateway is 192.168.57.1. Port 22 is NAT'ed to 192.168.57.2, which is the IP his computer is assigned by the router (it's reserved to his MAC address).
When he connect the VPN, a new interface is created with the IP 192.168.1.32. I'm very much _not_ a network expert. I can manage the very basic stuff, but beyond that I'm quite lost.
View 1 Replies
View Related
Feb 17, 2011
I have standalone Suse 10 SP3 that when I run
Code: # hostname webserver but when I run host command
Code: # host webserver;; connection timed out; no servers could be reached I would like to get the IP when I issue
[Code]....
View 3 Replies
View Related
Sep 8, 2011
I have problem with my wireless GSM connection , my notebook has built-in Toshiba (in fact Ericsson) F5521gw wireless modem , it is detected and usable by default without installing additional software.Problem is that I can connect flawlessly only once after switching on notebookif I disconnect manually I'm not able to connect again, i have to reboot my computer or another solution which allows me to reconnect is closing and opening lid (putting notebook in suspended state)I'm using Toshiba Tecra r850, openSUSE 11.4 x64 on Gnome 2 DE, using NetworkManager and nm-applet /var/log/messages after using disconnect from nm-applet:
Code:
Sep 8 17:04:39 linux-b5nl pppd[9933]: Terminating on signal 15
Sep 8 17:04:39 linux-b5nl pppd[9933]: Connect time 243.2 minutes.
[code]....
View 5 Replies
View Related
Feb 2, 2010
I am running Karmic AMD64 on a homebrew desktop PC, but I also previously had this trouble on 32 bit with different hardware and on Ubuntu 9.04 and 8.10. The router is now an ADSL+ Thomson TG585n supplied by O2 and badged O2 Wireless box III. The PC has a direct ethernet connection. The router was replaced by O2 when the problem first appeared, as the Wireless box II was suspect. However, I still have the problem and it is getting more frequent.
The symptoms are these: I generally shut down the PC each night, and only fire it up again when needed, which is usually the following evening, but it remains on for most of the day at the weekend. Very often when started, I find I have no connectivity to the internet, and cannot retrieve my emails. Strangely though, the Skype connection is still present and works, although not every time. My wife's laptop is connected over the wireless link - and that STILL WORKS! Sometimes I can connect to the router interface, but sometimes I can't. I've never lost the connection while the PC is running.
I have tried everything I can find in the router (when I can connect) and also in the Systemreferences:Network Connections and also in System:Administration:Network Tools, but can't find anything that helps. A re-boot of the PC doesn't help. A re-boot of the router doesn't help. A hard reset of the router on it's own doesn't help. The only solution to restore the connection is a hard reset of the router (using the recessed reset switch in the back) followed by a re-boot of the PC.
Since the Skype service remains working, and the lights on the router remain normal and wireless service doesn't fail, I think this has to be a DNS server problem. In the previous release, Jaunty, I changed the DNS service to OpenDNS within Ubuntu, overriding the router's settings. That seemed to help a great deal, although there was still the occasional outage which might have been another cause. I can't find anything in the GUI interface in Karmic that will let me do this, and I can't now remember how I did that in Jaunty.
View 8 Replies
View Related
Sep 15, 2010
I have a Zotac MAG HD N01 desktop computer hooked up to my 40" LCD Samsung TV in the living room. On this machine, I have Ubuntu 9.10 minimal installed, and the system is configured using the XCI script (a customization script to configure the system as an HTPC with XBMC).
Now, since the original install, I've tweak it a little, and one of the things I have it doing is its booting into a minimal desktop using the NODM login manager and it goes into OpenBox. Everything works fine and dandy, however, when I leave it for a while, it looses its connection and says "Searching for Signal" on my TV. I can remedy the situation by just hitting a key on the keyboard (Ctrl for example).
This also happens if i'm watching, say a flash video in a web browser for a while (like a hockey game), and all of a sudden, the screen cuts out.I've checked in the openbox configuration, and screensaver is turned off, but I can't seem to find where to configure any sort of power management. Is there a way to turn off the, what I can only assume, is a power management feature?
View 1 Replies
View Related
Nov 1, 2010
I did a clean install of 10.10 just under a week ago and something is really wrong with my wired connection. I keep loosing all connectivity and have to connect again from the panel app. After that, every thing works again for about 30 to 60 seconds and the the connection goes again. No lost connection notification pop up or anything like that, but i cannot browse the web or download upgrades while the connection is gone.
Then the really weird part. Sometimes my connection works just fine. On some boots everything is fine for a long time (hours?) but then the problem comes back. My network card is an Intel 82567LF-2 and it uses the e1000e kernel module. I dual boot to Windows Server 2008 R2 and there I have full connectivity all the time.
View 1 Replies
View Related
Feb 11, 2009
I have a very strange problem with my Linux Router/Firewall machine where i keep losing my connection on the ethernet card.
I have installed a Debian 4 distro on a PC with 2 nics to create a router/firewall machine. On nic-1 i have connected the ADSL modem and on nic-2 a laptop for testing.
What i want is to build a DMZ with public IP addresses assigned to the servers in DMZ.
Schematic example:
Code:
We have a total of 16 Public IP's assigned to the ADSL modem from our ISP configured in routering mode. Unfortunately our new ISP does not support Bridge mode, otherwise i would not have this problem. (we had modem in bridge mode working fine with our old ISP, but they have stopped so we were forced to switch to another ISP. eth1 and eth2 both have public IP addresses from the modem set hardcoded in the /etc/network/interfaces on Linux pc and on my testlaptop in the DMZ (server-1) i have set another public IP (they all fall in the same network range) I have enabled IP forwarding on Linux router/firewall and for testing the firewall is set to allow all traffic.
When i try to ping the testlaptop in my DMZ from a remote machine outside in our datacenter i get no reply.
However when i run the following command: ip addr add xx.xx.xx.xx dev eth1 to assign the public IP i have chosen for the laptop to the inner nic (eth2) and then try to ping the testlaptop again from the remote machine it still does not reply ... but (and here is the most bizar thing)...
When i then run the following command: ip addr del xx.xx.xx.xx dev eth1 (where xx.xx.xx.xx is the ip of the testlaptop) and try to ping again from the remote machine then it seems to be working fine ... however only for a short time because then connection is lost somehow.
View 7 Replies
View Related
Dec 3, 2008
I have been using Open SUSE 10.3 for about a year now and have been very pleased. I am now trying Open SUSE 11, it seems good, loads a lot faster than 10.3 and seems to run a little faster. I have had a few probs but they have been resolved with help from these forums. But I have a big prob remaining and I have no idea what could cause it. For no apparent reason I will lose the connection to the net.It happens mostly when running aMule, it can be downloading fine for some while when suddenly the connection to the servers is lost and it won't reconnect, and then also I can not connect to the net with Google etc. The only way to solve it seems to be to shut down, wait awhile then reboot. It will be OK for a while then the problem re-occurs. There does not seem to be a problem with anything else on the system. I know that the Modem is OK as I have three HDD - 1 running Win XP, 2 - running Open Suse 10.3. 3 - running Open Suse 11 & the prob only occurs with SUSE 11, I do not get this problem with either of the other HDD. I have tried three versions of aMule, with SUSE 11,the one given on YAST - v2.2.2-0, & others from Packman v2.2.1-0, & vSVN, the problem occurs with each version so I think it must lie with SUSE 11. I have opened ports 4662 & 4672 on the firewall, & the setup I use is identical to the one on 10.3 which works faultlessly. I use a NTL Modem connected to the PC via Ethernet.
View 1 Replies
View Related
Dec 14, 2009
i was trying to use gnome and kde but i don't like them. I tried xfce and it seem to fit my needs but.My computer is used to be powered on for a weeks. While time passes, a process xfdesktop begin to use more and more memory and to free RAM i need to log out and log in again.
I tried squeeze yesterday on my virtual machine and it has 4.6 and seem not to have that bug, RAM usage is static(yes it still works when i write this and have memory usage 34492k, which is not changing for an hours of usage already), also 4.6 is MUCH better than 4.4.
i already tried adding squeeze to "sources.list" but i can see too many dependencies which should be upgraded if i install 4.6, i'm beginning to afraid it can crash entire GUI(or entire system, i can see there is libc6 required to be updated).
View 14 Replies
View Related
May 24, 2010
My wireless network is giving me a fit. Slow transfer speeds and then I lose connection and have to reboot.
greg@greg-computer:~$ /sbin/ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:92 errors:0 dropped:0 overruns:0 frame:0
TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:10214 (10.2 KB) TX bytes:10214 (10.2 KB)
wlan0 Link encap:Ethernet HWaddr 00:16:b6:5a:9c:a5
inet addr:192.168.1.3 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::216:b6ff:fe5a:9ca5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:13085 errors:0 dropped:0 overruns:0 frame:0
TX packets:9600 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:15268450 (15.2 MB) TX bytes:2704035 (2.7 MB)
wmaster0 Link encap:UNSPEC HWaddr 00-16-B6-5A-9C-A5-00-00-00-00-00-00-00-00-00-00
UP RUNNING MTU:0 Metric:1
RX packets: 0 errors:0 dropped:0 overruns:0 frame:0
TX packets: 0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes: 0 (0.0 B) TX bytes:0 (0.0 B)
greg@greg-computer:~$ netstat -rn
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 wlan0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 wlan0
greg@greg-computer:~$ cat /etc/resolv.conf
# Generated by NetworkManager
nameserver 192.168.1.1
greg@greg-computer:~$
View 1 Replies
View Related
Jun 30, 2011
Since I installed Ubuntu I've had this problem that makes me loose connection to the Internet. The wireless-icon on the panel starts loading, and after like 5 minutes, it works again.I had this problem when I had Mint 11, but it happened more often.Anyone know how to fix? Edit:Network: Card-1 Atheros AR9285 Wireless Network Adapter (PCI-Express) driver ath9k Card-2 Marvell 88E8040 PCI-E Fast Ethernet Controller driver sky2
View 2 Replies
View Related
Feb 17, 2011
I have Ubuntu 10.10 installed. I am very new to Linux. I am having a problem connecting to wireless network when I reboot to Vista OS. When I am using Ubuntu, it works fine. I have to plug in the LAN cable in order to connect to internet. When I try to connect to wireless network, I don't see any networks at all. My WiFi switch is ON. I keep switching back and forth between Vista OS and Linux.Narendra
View 1 Replies
View Related
Dec 18, 2009
Ok let's say I have Apache Webservers on 2 different machines within my network, I have http://outterABC.com setup at dyndns.org to point to my modem at home, and my router forwards Port 80 to the ServerA Machine (i.e. 192.168.0.3). I can access my webpage I setup for the Server A Machine.
But what I want to try and do is somehow access my ServerB machine's website that is on my same network. I tried something like this http://ServerB.outterABC.com and the apache page came up with something like the page wasn't available. I want to access the content of the ServerB website, but because I have only one router, i can only forward Port 80 site traffic to my ServerA machine's website. I'm sure it's a different syntax I should use but i'm just not sure what I should enter to bring up the apache root web page for the Server B website via http://outterABC.com
I tried setting up DNS A records on ServerA, but I don't think it will work with what i'm trying to do above.
View 1 Replies
View Related
Aug 8, 2011
Sorry if this has already been solved;answered anywhere else - I tried looking it up but to no avail. The problem persists & the hints I found around the forum did not provide a solution to the case, neither other net solutions i looked up I run Winblows at the lab and sometimes take my Ubuntu PC with me. There is an open Wireless network where they set MAC permission, and there's no pwd to access. It so should be fairly easy to change m MAC and access it, right! No. I run ifconfig and macchange, successfully change my MAC addr BUT the connection drops! Then if I change it back (MAC to my original address) it goes back online. And yes, I shut down the service -- "ifconfig wlan0 down" and then up..WHAT ON EARTH am I doing wrong??? No webpages touch this 'trouble-frigging-shooting instance!
View 2 Replies
View Related
Dec 12, 2010
Running 2.6.29-gentoo-r1 on a Sun Ultrasparc 10 with a Sun Happy Meal on eth0 connected directly to my cable modem. Intermittently, with a frequency between a few hours and a few days, I lose internet connectivity. Running ifconfig eth0 indicates all is well and I have a valid IP address but I cannot even ping the cable modem's management address; pings to 127.0.0.1 and eth0's IP address do get a reply but no other address I've tried does. I can 'fix' the problem by issuing
Code:
If I check the CM logs, it appears that it has rebooted itself prior to the loss of connectivity. The strange thing is that the incoming traffic doesn't seem to be affected by this, my PSAD log is full of incoming scans even during the periods when I can't connect to the net. I suspect this is an ISP problem (they own the CM);
View 2 Replies
View Related
Feb 21, 2011
I'm setting up a computer with xUbuntu installed and wan't to run it as a PPtP VPN server.
I'm using a mobile broadband for internet connection, with DynDNS wich updates the host with public IP-address.
I've managed to set up the connections and installed the needed packages. The problem appears when I connect to the VPN server through another computer;
When I get connected to the VPN server the remote computer recieves an IP-address from the server (xUbuntu) wich is great! But the server changes prefered network, from the mobile broadband to the wired network wich results in the remote computer losing it's connection to the server.
View 1 Replies
View Related
Dec 14, 2009
lost my internet connection on fedora 12 ? i try to assaing the ip address manual in the configruation part but no nothing happen I've tried googling for the problem
View 4 Replies
View Related
Feb 9, 2011
I have installed debian on my laptop and included during the installation the webserver version. Now I want to develop a page locally to test it before I put it on the web. I first had an old reflex, jumping straight away and installing xampp. But then I thought that I already all that it takes as I installed the webserver feature of debian. I installed phpmyadmin ( with the command #apt-get install phpmyadmin) as to be able to create and attribute databases but when I try to log in I have the following message:
"Error
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)"
I googled but I cannot find the mysql.conf (I searched using "find") but with no result. It is all very blury what is going on with this webserver option running on my laptop...
View 9 Replies
View Related
Mar 3, 2011
The server I'm running runs Debian Etch, Squid and Shorewall. Every 24 hours the server gets a new internet IP so I need to use dyndns to keep the dns pointing to the correct PC.
I have a webserver that is running behind the debian server and am having trouble with it. When I enter the web address, it gets a timeout.
View 3 Replies
View Related
May 26, 2011
I need to setup a web server with apache (worker) and php. What is the cleanest way to this with Debian Squeeze?
View 1 Replies
View Related