Debian :: Frequent Lan Connection Timeouts

Jun 9, 2015

I run a Laptop (Mint 17.1), which is connected to a Debian 8.1 server over a LAN. The systems are connected through a router. Both of them show no problems when working independently and when doing work on the internet. Also, ping works fine (no lost packets, no delays!) from Debian to Mint. However when doing a ping from the Laptop (Mint) to the Debian server, I experience frequent packet losses and timeouts. In fact, a "first" ping may lose the first 20 to 30 "tries". Thereafter, if I repeat pings immediately and quickly one after the other, they might in geral not lose packages or show delays. Ping to and from the router also works perfectly in either direction!

Of course, functions such as ssh or samba-sharing are hampered as well by this behaviour. Also, if I DO in fact manage to connect to the Debian server via ssh, my console (KDE 14) is freuqently "locked" (i.e. - doesn't show my input for a while) but in the end DOES show the characters entered and gets processed o.k. (eg. when doing an "ls"-command). Both systems are at the latest software-level and I just finished installing Debian 8.1. The situation was the same on Debian Wheezy, however.

View 3 Replies


ADVERTISEMENT

Networking :: Double NAT & HTTPS Connection Timeouts?

Feb 2, 2011

I am having a problem with HTTPs in a double NAT'd network configuration. The scenario is like this..

[Code]...

Machines on these LANs can talk to each other no problem. There is also a NAT rule configured for traffic going from LAN A via LAN C out to the Internet. The Nokia is also doing NAT'ing. Normal web browsing works fine with this setup, but whenever I try to access HTTPS sites, it just hangs and eventually times out.Packet captures have showed lots of TCP Retransmission messages. If I logon directly to the Linux Router and fire up a browser, I am able to access HTTPS sites without any problems. This appears to be something to do with the traffic being NAT'd twice. Is there a way I can get around this without changing the config of the Nokia?

View 1 Replies View Related

Server :: Frequent Broken Pipes From SSH Connection After Power Loss?

Apr 19, 2011

I have three machines networked to my desktop which run a bunch of simulations in parallel. As they're running, I connect to them via SSH and screen to keep an eye on the runs and look at the output. They stay usually connected for days at a time. The SSH servers and client are running Fedora 14. Yesterday one of my coworkers accidentally yanked the plug on one of the servers while it was running. When I powered it up again, I started getting some odd connection problems. I couldn't connect to it via SSH initially because I got the Remote Host Identification Changed (RSA host key changed) error. I deleted the key in .ssh/known_hosts, which allowed me to connect, but it denied my password. I then logged into that machine locally, restarted sshd, and removed .ssh/known_hosts again. Now I can log in via SSH without problems. However, the connection dies with a "Write failed: Broken pipe" error every few minutes (as opposed to the other two machines, which stay connected indefinitely).

So my questions are:
1.) why would a power loss affect the behavior of the SSH server?
2.) why do I keep getting broken pipes now?

View 4 Replies View Related

Debian :: Where Does Gdm3 Get Its Default DPMS Timeouts

Feb 9, 2016

There's a short version at the bottom.

I just installed jessie with gdm3 and use xfce.

I like my monitor to turn off when I'm not at the computer for more than 10 or 20 minutes or so and it wasn't doing that. I haven't used Linux for years and was used to xorg.conf/x11.conf and xinitrc and such.

So I rediscovered xset is responsible for DPMS settings. xset -q revealed DPMS was off. So I used it and put it in ~/.xinitrc. It didn't work. After some canoodling around I found out about xfce's Session and Startup gui thing. I was using that to run ~/.xinitrc.

When I got to my desktop and did a check with xfce4-terminal by running xset -q it would show DPMS enabled but the values were wrong. 600, 0, 900 to be exact.

After some searching I came across the information that xscreensaver will override DPMS settings as it manages DPMS too. So after more canoodling I found out about xfce's Screensaver preferences dialogue and used that to set my values. The values would immediately be set but the problem is that they are not persistent. If I reboot or log out the values will revert to 600, 0, 900. They will only reset to what I want them to be by running xfce's Screensaver preferences dialogue manually.

man gdm3, info gdm3, grep -r DPMS in /etc/gdm3, grep -r dpms in /etc/gdm3 reveal nothing related to DPMS. I've done some searching and nothing useful.

there is an /etc/X11/app-defaults/XScreenSaver-nogl which has some DPMS settings but the times are too large (2 hours); the only thing that matches is the off setting which is specified there.

xscreensaver -no-splash is present in the output of ps so it is xscreensaver and not gnome-screensaver.

The weird thing is that I re-enabled my ~/.xinitrc in xfce's Session and Startup gui thing and it is being run, but the numbers are getting set wrong after it is run. (I put an echo command after xset dpms 900 1200 1500, and the file is appearing in ~)

Where does 600, 0, 900 come from? Mystified on how to proceed from here. I don't remember enough on how to see what's doing what. Is there some sys thing or proc thing I can monitor to find out what's setting these values?

Short version: my xset dpms values are getting reset to 600, 0, 900 every time I logout or reboot. They revert to 600, 0, 900 every time I get to my desktop. I use gdm3 and xfce. Where are these coming from?

View 2 Replies View Related

Debian Configuration :: Timeouts And Dependency Failures On Boot - Crypto Related

Mar 27, 2016

I've got this weird problem: when I reboot my Debian 8.3 server, I have to run through the crypto unlocking processes for my encrypted volumes a few times before I actually get to a login screen. The operation times out 85% of the time, leaving me to reboot and try over and over until the system is happy.

Here's my partitioning setup (manually partitioned at install):
/boot: 500 MB, EXT2, nodev, nosuid, noexec
/tmp: 2 GB, EXT2, AES-256/xts-plain64 with RANDOM KEY
swap: 2.5 GB, AES-256/xts-plain 64 with RANDOM KEY
/: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE
/var: 35 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE
/home: 45 GB, EXT4, AES-256/xts-plain 64 with PASSPHRASE

Here's the output from journalctl -b -p 3:
Code: Select allDate and time | server name | systemd[1]: Timed out waiting for device dev-sda5.device
Date and time | server name | systemd[1]: Dependency failed for Cryptography Setup for sda5_crypt
Date and time | server name | systemd[1]: Dependency failed for Encrypted Volumes
Date and time | server name | systemd[1]: Dependency failed for dev-mapper-sda5_crypt.device
Date and time | server name | systemd[1]: Dependency failed for /tmp

[Code] ....

I had the same problem in previous builds where I chose Twofish instead of AES, and I was hoping that the timeouts would be fixed by switching to AES as my CPU has the AES instruction set. Obviously that didn't make a damn bit of difference.

What am I doing wrong, or what should I change in my setup? The encryption is a requirement. Could the problem be caused by something as stupid as using a RANDOM KEY instead of a PASSPHRASE on /tmp and swap?

Debian 8.3 as OS version.

View 1 Replies View Related

Debian Installation :: Frequent Hanging After Installation Of Debian Squeeze

Apr 15, 2011

I have and old PC and for last years i had Debian Lenny on that and it was working great but after the Squeeze release, i downloaded the first CD image and did a fresh installation but after this it boots up with no problem (i must say since in Squeeze installation the option of creating a floppy diskette was not working properly i use SuperGrubDisk2 to boot the Debian), but few seconds after logging in, the system hangs (or maybe only the X11 since i use a historic nVidia TNT2 Riva graphic card!).

View 3 Replies View Related

Ubuntu :: Sudo Permissions And Timeouts?

Feb 3, 2010

I want to make a script for something, but I'm worried the timeouts on sudo permissions (how you can't got more than 5/10 minutes between sudo commands before needing your password again). Basically, I don't want my script to be redundant and require overseeing for password inputs.

Code:
sudo echo Hello.
sleep 6000
sudo echo This is text. This shows the basis of the problem. I will need to enter my password twice.

Would allowing it to run uninterrupted be as easy as running this theoretical shell script his sudo to begin with?

View 1 Replies View Related

General :: SuSE Nfs Client RPC Timeouts

Jan 5, 2010

i'm new to linux so bear with me.we have two servers running in a cluster mode. i disable the cluster so that we could install a new os kernel that was provided by our vendor tumbleweed.So the active server which does not have the upgraded os kernel the version is Linux version 2.6.5-7.283-smp (geeko@buildhost) (gcc version 3.3.3 (SuSE Linux)) #1 SMP Wed Nov 29 16:55:53 UTC 2006 for the server which does not have the kernel upgrade, i can mount to netapp mount. however from the server which has it's kernel upgraded, i get a rpc timeout error when i try to mount the drive.

somehow the server which has got the kernel upgrade is trying to use udp. the server goes through a firewall before getting to the netapp server and upd is not allowed.in the fstab entries, i specified tcp,proto=tcp but no matter what values i put in, it's trying to use upd.

View 7 Replies View Related

Server :: Preventing SSH Timeouts - Some Clarification?

Jun 8, 2010

We are seeing some dropped SSH connections because of which some of the process are failing . The main likely reason for the connection drops is that both the client and server remains 100% busy during a certain time interval and during that time interval we see those occassional connection closed by the server.

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Sporadic Timeouts - Access Via No IP

Apr 24, 2011

I was having a problem where my server would go unresponsive to it's No-IP redirected name while access via local net IP was unaffected. Access via the No-IP name would usually be restored within 5 minutes or so.

View 1 Replies View Related

Ubuntu Networking :: Wifi Timeouts Constantly Since 9.10 / Stop It To Do So?

Feb 19, 2010

I'm using the linksys wmp300n with ndiswrapper to connect to a belkin wireless router with a static ip (192.168.2.3). The rest of the PCs in the house have .2, .4, and .5 only running windows XP and 7. This one won't stay connected during large file transfers within the network or over the internet in Ubuntu. I made a script to restart ndiswrapper but I have to do it every 2 or 3 min during a file transfer. I can't play online games at all. No ssh sessions for more than a few min... so on and so forth. None of these issues happen in Windows 7 but when it was first installed it had to do something with dhcp before it would stay connected. Windows wouldn't tell me what was going on though. code...

View 2 Replies View Related

CentOS 5 Hardware :: ATA Command Timeouts After Disk Has Gone Sleeping?

Jul 3, 2010

configured myself a NAS, which is infrequently accessed, so I set the standby timer of the disks to 241 (30 minutes) using hdparm.

for i in /dev/sd?; do
hdparm -S 241 $i > /dev/null
done

[code]....

View 2 Replies View Related

Programming :: Python / Sqlite - Database Locked Despite Large Timeouts?

Apr 8, 2010

I'm sure I'm missing something pretty obvious, but I can't for the life of me stop my pysqlite scripts crashing out with a database is locked error. I have two scripts, one to load data into the database, and one to read data out, but both will frequently, and instantly, crash depending on what the other is doing with the database at any given time.I've got the timeout on both scripts set to 30 seconds: cx = sqlite.connect("database.sql", timeout=30.0)and think I can see some evidence of the timeouts in that i get what appears to be a timing stamp (e.g 0.12343827e10 1) dumped occasionally in the middle of my curses formatted output screen, but no delay that ever gets remotely near the 30 second timeout, but still one of the other keeps crashing again and again from this. I'm running RHEL5.4 on a 64 bit HS21 IBM blade, and have heard some mention about issues about multi-threading and am not sure if this might be relevant.

Packages in use are sqlite-3.3.6-5 and python-sqlite-1.1.7-1.2.1, and upgrading to newer versions outside of RedHat's official provisions is not a great option for me. Possible, but not desirable due to the environment in general.I have had autocommit=1 on previously on both scripts, but have since disabled on both, and am now cx.commit()ing on the inserting script and not committing on the select script. Ultimately as I only ever have one script actually making any modifications, I don't really see why this locking should ever ever happen

View 3 Replies View Related

Fedora :: Frequent X Crashes With KDE 4.3.x

Sep 12, 2009

Every since updating to kde 4.3, I have been experiencing frequent X crashes (1-2 times a day) whenever compositing is turned on (nvidia card). I was hoping that kde 4.3.1 would fix the issue for me, but no luck. So, I'd like to figure out what the nature of the problem is so that I can report it to the appropriate (ahem) authorities, but am not exactly sure how to dig up any useful information. The Xorg log didn't *seem* to have anything particularly informative to say about it (just a few lines about nvidia_drv.so).

View 5 Replies View Related

OpenSUSE :: 11.3 KDE - Frequent Flicker On Screen

Oct 7, 2010

openSUSE 11.3 KDE There is a frequent flicker on my screen. Some application OR notification just pops and disappears( giving an impression of a flicker ). How do i find out which application OR notification is it.

View 9 Replies View Related

Ubuntu :: Frequent Segfaults In Various Programs

May 31, 2010

In LMMS, pretty much any time where pressing a key or button is supposed to do something, it can crash. Regardless of what made it crash, it always dies in the exact same way: The window just disappears, and I get the line "Segmentation fault" in the console. Usually it crashes within 15 minutes of normal use. Not even 6 hours after I downloaded the program, I had given up trying to use it. Over the next week, a couple other programs crashed with segfaults.

Most of them only crashed once (among those was Firefox). So, of course, I'm now beginning to think that maybe the problem is not with LMMS, but rather with Ubuntu. I've had very little luck getting most of these programs to crash a second time, but I did find reliable ways to reproduce the crash in LMMS and Golly, so I got debug logs of those (with backtraces and steps I took to reproduce):

Code:
What I did to make LMMS Crash:
1. After starting LMMS, created an instrument track using the Oh Synth preset (under LB302)
2. Opened the tool window for the track.
3. Dragged my cursor back and forth across the keys on the virtual piano at the bottom of said window to play them.
4. Within 3 seconds, it crashed.

Starting program: /usr/bin/lmms
[Thread debugging using libthread_db enabled]
[New Thread 0xb7d62b70 (LWP 4674)]
[New Thread 0xb2c18b70 (LWP 4677)]
[New Thread 0xb2417b70 (LWP 4678)]
[New Thread 0xb195ab70 (LWP 4680)]
[New Thread 0xb1159b70 (LWP 4681)] .....

Code:
What I Did to make Golly Crash:
1. After starting Golly, loaded the example file "Still-Lifes/eaters.rle".
2. Alternated between Space (Next Generation) and Ctrl+Z (Undo), holding each for about 1 second.
3. Within 15 seconds, it crashed.

Starting program: /usr/games/golly
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
0x080fd47c in UndoRedo::RememberGenFinish() ()
#0 0x080fd47c in UndoRedo::RememberGenFinish() ()
#1 0x080f855c in MainFrame::NextGeneration(bool) ()
#2 0x081124f5 in MainFrame::OnMenu(wxCommandEvent&) ()
#3 0x00621a9f in wxAppConsole::HandleEvent(wxEvtHandler*, void (wxEvtHandler::*)(wxEvent&), wxEvent&) const () from /usr/lib/libwx_baseu-2.8.so.0
#4 0x006c0379 in wxEvtHandler::ProcessEventIfMatches(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) () from /usr/lib/libwx_baseu-2.8.so.0 .....

I've tried using different governors for CPU (Conservative, Ondemand, etc.), and these crashes continued to occur. I also tried using a different kernel to no avail; the crashes occur both on 2.6.32-21-generic and 2.6.31-17-generic. How to fix whatever's causing these segfaults.

View 4 Replies View Related

General :: Frequent Crashing On Ubuntu 10.10 / Fix It?

Jan 17, 2011

First post here, some really useful information on the site especially for a Linux newbie like myself.

I installed Ubuntu 10.10 after Vista on a Compaq desktop not dual boot and with a completely blanked HDD, which although not the most powerful of desktops has an intel pentium dual core processor and a decent enough graphics card, enough to surpas the system requirements for linux anyway. After installing there has been alot of freezing, particularly when loading alot of programmes. It either freezes the screen completely so I cant do anything whatsoever and have to turn the computer off manually, or flashes a blank screen then goes back to the page I was previously on. However when it does this, the mouse works, but nothing responds, no keyboard shortcuts or anything. I have a feeling it may be the computer not the OS.

View 5 Replies View Related

General :: Desktop With Less Frequent Release Schedule?

Sep 13, 2010

I just want to know the distribution which is supported for longer time ex: Ubuntu will be supported for 18 months fedora for 14months. I repeat,I want a distribution which is stable,which I can leave without upgrading to next version for atleast 2 or 3 years. tell me other than Ubuntu LTS version

View 5 Replies View Related

Slackware :: Frequent Unexpected (and Not Logged) Reboots

Mar 22, 2010

I'm running a gateway - router pc with slack13 32bit on a pIII PC. I am using huge.s kernel. Apart from a firewall script, I have installed ulog deamon. I am also using the pc as a transparent proxy, a dns cache and a vpn server. So I haven't installed weird stuff. I have not installed X or any desktop environment. I get unexpected reboots however, and /var/log/messages does not state anything, not dmesg does. I am thinking of running a disk test on each disk ( one OS disk and one disk for the squid cache) and a memory test. I am not sure its a hardware issue (like the PSU, disk or RAM) because I used to let this pc ON for several weeks even before I started configuring it... and I couldn't hear anything wrong. Now I get to hear disks spinning down and up again, and even that very first boot sound you hear when you switch on the PC.

View 4 Replies View Related

General :: Find Directory With Frequent Writes And / Or Deletes?

Jun 20, 2011

Is there a way under linux to find out directory with frequent writes and/or deletes?

I'm using Ubuntu and recently bought SSD. I moved /tmp to ramdisk and did some other tweaks to avoid wear. But I was wondering if there's a way to pinpoint hotspots in filesystem where files are often written. For example webserver's log directory with many appends every minute or user's download directory where he downloads gigabytes of stuff only to be moved elsewhere soon after finishing.

I came across inotify which could probably do the trick but it seems it'd require lot of scripting which I'm not very familiar with

View 4 Replies View Related

Ubuntu / Apple :: MacBook Pro 3.1 Frequent Appletouch USB Disconnects?

Jan 20, 2010

I have an MacBook Pro 3,1 running Karmic ( 9.10 ) 64bit. The kernel is 2.6.32 patched to use the BFS scheduler. I am having issues with the touchpad and the keyboard. On occasion they stop working. It is possible that I have damaged hardware. However I would like to see if any other users report similar issues before blaming the HW. At the end of this message is what dmesg reports when this occurs.Often, before the touchpad and keyboard completely stop working they appear to stutter. They work fine then stop responding briefly then start working again.

View 2 Replies View Related

Ubuntu :: Frequent X Server Crashes Without Any Reason Or Pattern

Mar 31, 2010

I experience X crashes on a frequent level. First it happened with the current stable nvidia 180 driver, and the nonfree flash player (....., vimeo, etc). I replaced the stable nvidia driver with the 180-dev driver which fixed the flash problem. However it still happens that the X chashes without any reason or pattern. One time it crashed the moment I wanted to save a PDF file to my HDD downloading it with Firefox, another time it crashed while idling. I use an Alienware M15x with a nvidia 260M. Compiz is installed and active. Which other data or logs do you need?

View 4 Replies View Related

Ubuntu :: Disable Frequent Disk Checks In Lucid?

May 11, 2010

Since upgrading (fresh install) to Lucid, I've been having to go through disk checks about once or twice a week on boot. I'm not sure why Lucid thinks it needs to check my disk so often. I looked into it a bit, and found a command that was supposed to stop disk checks happening so often.

Code: sudo tune2fs -i 2w `mount | awk '$3 == "/" {print $1}'` is supposed to set it to 2 weeks. I used "/home" too as I have home on a separate partition and didn't want that to be checked too. All was fine until I booted up to find another disk check today. It can sometimes take over half an hour to finish and C to cancel doesn't always work either.

I always shutdown cleanly, unless Ubuntu completely locks up, which happens maybe once every six months (although it did happen yesterday, but I have rebooted it a few times since then with no checks happening until just now). Is there a way to just disable checks completely? I wouldn't mind running them manually every now and then, I just don't want to do it as often as Lucid does.

View 6 Replies View Related

Ubuntu Networking :: Frequent Disconnects From WPA Wireless Router

Jun 18, 2011

I'm having issue with my wireless connection. I'm not sure if it is the WPA security causing the issue, but I randomly lose connection to the router. The network manager then scans for available wireless routers for a bit before trying to reconnect to my router and asking for my wireless password again.

View 3 Replies View Related

Debian Configuration :: Connection WPA Personal Says Connected To Wl Network But No Internet Connection

Apr 15, 2011

1 linksys router: gets the net from PPPOE and give the network DHCP. The router IP is 192.168.1.1. 1 windows laptop that work wireless and wired. 1 debian desktop that work wired and not working wireless. THe problem with the debian desktop is like this: I have a TP-Link TL-WN321G installed and found by lsusb command. I make a wireless connection WPA Personal (just like the router settings) it says i am connected to the wl network but no internet connection. the route command give me this:

[code]....

I tryed with wicd who said that the connection is WEP (and it's not, it is setup to WPA on the router and the network-manager conncetion) and when i try to connect i get bad password. I tryed with network-manager uninstalled and no chance.

View 4 Replies View Related

General :: Debian - Gnome: Wireless Connection List Missing Connection?

Nov 12, 2009

Each time I start up debian -lenny, the network-manager does not automatically connect me to my wireless network. The connection list shows a lot of networks available, but mine is always absent from the list. This means I each time have to go to "Connect to other Wireless Network" in and write in my network name (SSID) and password (PWA2 Personal). Then is connects nicely and everything works fine until next time I boot

View 5 Replies View Related

OpenSUSE :: Frequent Crashes On Browsers - Flash Videos Hangs

Mar 19, 2010

I am experiencing frequent crashes for my browsers (FireFox, Opera, Konquerer). It doesn't seem to be related to the amount of tabs I have open, sometimes it will crash on 1 tab, and sometimes it is fine to have 20 tabs up. In addition to this, some flash videos hang after 3 secs.

PC spec:
OS: SuSE 11.2 (x86_64)
GUI : XFCE (KDE 4.0 back up)
Intel Q6600, 2GB Ram DDR2, 9800GX2

View 9 Replies View Related

Ubuntu :: Frequent Freezes With Nouveau, No Longer Booting With Nvidia?

Oct 13, 2010

I made a fresh installation of Ubuntu 10.10 (64 bit) on a Sony PCG-81112M, the graphic cards is identified by lspci as "nVidia Corporation GT216 [GeForce FT 330M]". Quite frequently everything but the mouse pointer freezed on the screen, I found no way to recover from these situations but to restart the computer using the power button.

I decided to install the proprietary driver (as this is the recommended driver, I was confident this would solve the problem). As a consequence the system now hangs on boot after showing the Ubuntu 10.10 inial logo/text. I could start in recovery mode, but I'm not sure to which driver I should try to change to. I really need no fancy 3d stuff, just a robust computer to which I can attach and detach an external screen.

View 9 Replies View Related

Server :: RedHat 5.5 - Frequent Freezes Resulting In Force Restart

Jan 10, 2011

I m running redhat 5.5 server on dell poweredge R910 on which we have Kvm running with 3 virtual machines. Now the server gets freeze's up frequently making us to force restart the server again. We have gone through the logs and browsed on several forums with the related errors but couldn't find any solution and also have checked on redhat site but was of no help.

View 2 Replies View Related

Slackware :: Frequent X Crashes Into Command Line With Error Messages

Nov 26, 2010

I'm having, oddly enough, stability problems on my main slackware desktop. Whenever I try to do certain things, for instance going fullscreen on a flash video, starting regnum online or open arena, it drops out of X into the command line with a few error messages (next time it crashes I'll post the messages). On occasion, it'll do that without any input. Now, there's a few major changes I've had on the desktop since yesterday, chiefly that I've been able to connect it to the net for the first time in a few months. Now because of this, I've been installing plenty of software from slackbuilds, plus flash from adobe (necessary evil). I'm using xfce with some compositing on a geforce Ti 4200 AGP 8x 64Mb with nvidia drivers installed and dual monitors, each now set to 1280x1024 and in twinview, pentium 4 2.8Ghz, 1 GB ram. HDD has a 70GB ext3 slack partition, triple booting with 80GB ext4 ubuntu lucid partition and 40GB ext4 mint isadora.

View 10 Replies View Related







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