Software :: Reconnecting To TCP Server ?

Jul 19, 2010

In my tcp client application i am trying to reconnect to server immediately after that connection closes..

But how can i wait for FIN_WAIT time out n after that time only i should try to reconnect to server...

View 1 Replies


ADVERTISEMENT

Networking :: Reconnecting To Server From Putty?

Feb 10, 2011

I am access my linux box remotely using putty. I ran some build process on the remote machine. I lost my connection and now I had to re login using putty. I dont know if my process has finished or not. How will I check that.

View 2 Replies View Related

Ubuntu :: Force The Automount Without Reconnecting The Device?

Apr 15, 2010

In Ubuntu Karmic conencting a USB device causes OS to automatically mount its partitions to /media/LABEL, automatically creating proper directories which are later automatically destroyed immediately after unmounting. But what if If I manually unmount a specific partition and I would like the OS to try doing automount another time, without reconnecting the whole device (it can have other partitions in active use)? I know I can mount manually, but then I have to create a directory for the mount point and I have to remember later to remove it manually.I'd like to be done as before, with the mount point directory being automatically destroyed after unmounting - can this be done in a terminal?

View 2 Replies View Related

Ubuntu Networking :: Ethernet Keeps Disconnecting And Reconnecting?

Oct 26, 2010

I installed 10.10 for some days ago, networking was working smooth back then. I use a ethernet cable to connect to the internet.But yesterday when I installed 10.10 on my brothers laptop(he connects through wireless), I began to get these disconnects and reconnects.They just seem to happen random.

View 2 Replies View Related

Fedora Networking :: F13 Dropping Internet Connection And Not Reconnecting

Sep 26, 2010

I am running F13 on my Desktop (with a Ralink RT2870 wireless card) and also on my Laptop (Acer Aspire 5738Z) and am connecting to the internet via a NetGear router. On my Laptop I can connect to the internet fine with no problems. However on my Desktop when I turn my computer on it connects to the internet fine, and works, however after some time (maybe 5-10 minutes) it disconnects and the box asking for the password reappears, then I click connect but no joy.

The connection box just keeps reappearing and it won't connect again until I restart the computer (although sometimes it takes more than 1 restart!). This is not a signal issue, as my Desktop also has a Windows partition and that connects to the internet fine and does not drop off. I have installed the RT2870 driver through rpmfusion, which didn't fix the problem, although uninstalling the driver didn't stop the card from working.

View 1 Replies View Related

OpenSUSE Hardware :: Huawei Usb Modem Not Reconnecting In NetworkManager?

Jul 9, 2011

I am running OpenSUSE 11.4 on an HP 625 laptop and uses a Huawei EC1260 USB modem to connect to the internet. The configuration on NetworkManager worked prefect and the there is no problem connecting. The problem is when I disconnect the modem manually, I am unable to reconnect it via NetworkManager. I have to physically unplug the modem and insert it again, then only I can connect to the internet again

View 3 Replies View Related

Ubuntu Networking :: Windows 7 Not Reconnecting To Samba Shares?

Jul 9, 2010

Been trying to deal with this one for some time, and still not sure it's more or an issue on the Samba or Win 7 side.

Running Ubuntu 10.04 with Samba 3.4.7, using Windows clients from 2000 on up to access shares.

2000 and XP have no trouble both connecting initially to shares, but upon reboot the shares are disconnected and do not automatically reconnect unless one of them is double-clicked on. Passwords and mappings are saved such that Windows tries to reconnect upon restart. When manually reconnected in this way, shares remain open as they should. This isn't a big issue, but it would be preferable to have these shares reconnect so that links and shortcuts across the LAN work right from bootup.

The bigger issue is with Vista/Windows 7 - When shares are set up with appropriate passwords and such on the clients, they work as expected, until the client is rebooted. After signing into windows 2 things are observable:

- Black screen for 2-5 minutes before desktop appears

- error message appears when you try to double-click on a mapped share (even with a saved password) that the connection cannot be restored.

If you go into credentials manager and delete the saved password for the share(s) on the samba server, you are prompted for the password when you try to open any of the shares - reenter it and you're then fine until the next reboot.

There must be some issue with the persistence of the saved password, but not sure if this a Windows-side issue or not. Read some other info on this, and had to make the following changes earlier to even get Win 7 clients to connect to samba at all:

[URL]

It appears that when Win 7 starts up, it simply can't connect using the saved password, and the desktop doesn't come up until the reconnecting action(s) time out (if you disconnect your win 7 machine from the network the delay is not present).

It's not a game-breaker, but really annoying when rebooting having the delay and reentering the network share password(s).

View 9 Replies View Related

Ubuntu Networking :: Hamachi Hub Dropping And Reconnecting Connection

Jan 10, 2011

I've just loaded the new Hamachi2 Linux beta with Haguichi for a GUI. Everything installed & connects OK, but the connection at the hub is dropping & reconnecting every minute or so. I tried adding a line to the sshd_config file to keep it alaive but it didn't make a difference.

View 3 Replies View Related

Ubuntu Networking :: Reconnecting Wifi After Power Outage?

Feb 10, 2011

I am using ubuntu 9.10. in my area there are frequent power outage. So my wifi get disonnected as the router stops. And it asks for security code. So when power comes the router starts but i have to manually write the security code and connect to wifi again. how i can make the computer to auto connect to wifi after power comes.

View 3 Replies View Related

Debian Hardware :: Reconnecting USB-Serial Converter Creates New TtyUSBn

Jan 2, 2015

I have some USB-Serial converters and when I connect any of them for the first time a /dev/ttyUSB0 node is created.
If I disconnect the device and then reconnect it then a /dev/ttyUSB1 node is created y I do the same again (reconnect) a /dev/ttyUSB2 node is created...

This is annoying because if mostly use only one converter at a time and because of the device node changing I have to reconfigure my software.

To reset the numbering of the device node I can force the reload of the usbserial module but before (I don't know when before) this was not necessary.

I have also checked if the device is being in use before disconnecting it (with lsof) and the device is not being used.

I'm running Debian Testing amd64 with KDE.

View 1 Replies View Related

OpenSUSE Network :: Automatically Reconnecting Samba Shares (from Fstab)

Mar 16, 2010

Since OpenSuse 11.2 doesn't reconnect samba shares upon a resume from suspend, I wrote a small, ugly script to do so. It's placed in /etc/pm/sleep.d/66samba-remount

#!/bin/bash
case $1 in
hibernate)
echo "Hey guy, we are going to suspend to disk!"
/etc/init.d/smbfs stop ;;
suspend)
/etc/init.d/smbfs stop ;;
thaw)
echo "oh, suspend to disk is over, we are resuming..."
sleep 15
/etc/init.d/smbfs restart ;;
resume)
sleep 15
/etc/init.d/smbfs restart ;;
*) echo "somebody is calling me totally wrong." ;;
esac

and made it executable
(as root)
chmod +x /etc/pm/sleep.d/66samba-remount

The 15 seconds sleep time is useful to me to postpone the remount after WiFi is back online. Perhaps there are way more elegant ways to do so (check for x times if WiFi is on, for example), but I'm no good at bash, and this serves me well. How do I file a wishlist for 11.3? If someone puts a samba share in fstab, I'd assume he wants it connected mostly everytime (at startup for sure... so why not over a standby?) I hope 11.3 just reconnects in-fstab samba shares in a polished way, out of the box.

View 1 Replies View Related

General :: Auto-reconnecting SSH Connections With A Specific 'screen' Session

Sep 13, 2010

I typically have several terminal windows each of which is connected via ssh to a remote server. In each window I work using the gnu screen program, to ensure persistence of the interactive processes in case of a disconnection.

Currently, whenever the ssh connection drops (such as when I put my client computer to sleep overnight) I have to manually and tediously restart the ssh session inside each window, and then in each window tediously resume the specific screen session (e.g. "screen -r 3453" in one window, "screen -r 3462" in the other etc.)

Is there an elegant way to automate this? Specifically:

reconnect the ssh session if it drops, as soon as an Internet connection is detected run the specific screen instance for the terminal window as soon as ssh reconnects

View 2 Replies View Related

Ubuntu Networking :: How To Stop Network Manager From Auto-reconnecting

Apr 11, 2011

I am running openVPN to secure my wireless network traffic right now. Everything works great except every once in a while, my Internet connection will drop out for about a minute or so. Ubuntu very nicely tries to reconnect, and most of the time successfully does. The issue is that if I don't catch it every time this happens, I am now running without my VPN.

I want to know if there is any way to DISABLE auto-reconnect to a wireless network if connection is lost or signal fades.

Im running ubuntu 10.10 by the way

View 3 Replies View Related

Ubuntu Networking :: Wireless Network Continually Dropping And Reconnecting?

Apr 13, 2011

Within the last couple of days or so, my wireless has been on the fritz. It keeps disconnecting and reconnecting every minute or so, which is annoying to say the least. The information relating to my wireless network is:

Laptop model: Toshiba Satellite L350
Wireless interface: Atheros AR5001 Wireless Network Adapter
Interface:

[code]...

View 3 Replies View Related

Fedora :: Sound Breakup In 12 - WARNING: Connection Failed Reconnecting

Apr 2, 2010

I have serious sound breakup with fedora 12. When I try I get: gnome-volume-control: WARNING **: Connection failed, reconnecting over and over. I know there is a price to be paid in terms of time and effort to run Linux. But I don't really want to have to fiddle with my sound system each time I upgrade. Every time I get my hopes up that Linux is easy enough to attract wide appeal, something comes along to show me I'm wrong. Most people don't want to live with the hassle. I will continue whether I get an answer or not. I will figure this out one way or another. But if more people were attracted to use Linux it would be easier for all of us.

View 4 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

Fedora Networking :: Wireless Connection Has Begun Dropping Every Few Hours And Not Reconnecting ?

Mar 9, 2010

I have a Dell Inspiron 6000 laptop running Fedora 12. Recently my wireless connection has begun dropping every few hours and not reconnecting. After trying for about 30-45 seconds, the WPA password prompt comes up but still doesn't connect.

Fedora release 12 (Constantine)
Kernel Linux 2.6.32.9-67.fc12.i686
GNOME 2.28.2
Memory: 2.0 GB
Processor: Intel Pentium R 1.60 GHz

View 14 Replies View Related

General :: Creating Stable, Automatically Reconnecting PPTP Connection In Ubuntu

Aug 13, 2010

I've been using network-manager-pptp to create a PPTP VPN connection in my Ubuntu virtual machine for a while now, but I have constant problems with random disconnects. I don't know what the cause of the problem is, but I suspect that network-manager-pptp is not the most well-written piece of software around...

Is there another way of instantiating PPTP connections in a more robust manner? The same PPTP server works reasonably OK with Windows 7 (some disconnects, fewer than in Ubuntu, and Windows has an auto-reconnect feature).

I read some guides on using the pptp command, but they all seemed pretty low-level, messing around with ppp. I never found the time to figure out how it all was supposed to fit together. Has anyone accomplished what I'm trying and is willing to share the knowledge?

EDIT: Tried kvpnc, and it seems the stability is more or less the same as network-manager-pptp. The error message is "Modem hangup".

To clarify, I understand that the connection can go down, but I want to be able to reconnect automatically when disconnected.

View 1 Replies View Related

Ubuntu Networking :: Wifi Speed Drops Periodically And Will Not Increase Without Reconnecting?

Jan 25, 2011

after maybe half an hour, the wireless download rate drops to about 110ks (and runs happily at up to 20x this until then). At that point, it will never pick back up above that rate unless i disconnect and reconnect. Once the problem occurs once, its like to reoccur about every 5 to 10 minutes until the machine has rebooted.

[Code]...

View 2 Replies View Related

Server :: Server Configuration For Small Office Server, Which Smtp, Pop Imap Server And Backup?

Apr 2, 2010

I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.

I have installed Ubuntu 9.10 server x64 and have got apache running.

I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.

View 4 Replies View Related

Server :: Create A Webhost On An Running Fedora Server Which Runs Multiple Webpages + A Coldfusion Server?

Sep 29, 2010

have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet

View 1 Replies View Related

Server :: Minimum Partition Size Required In Redhat Linux Server For DNS Server Configuration?

May 5, 2011

Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?

i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB

if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..

View 3 Replies View Related

Server :: Server Slow : Apache Mysql Fine Tuning Server For Faster And More Responsive?

Apr 21, 2011

I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram

The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?

Httpd.conf

Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....

View 2 Replies View Related

Server :: Sync File Server Data Into Backup Server Machine By Command- Rsync -avu?

Jun 21, 2011

iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.

View 14 Replies View Related

Debian Configuration :: Install A Multi-core System And Configure It To Run Several VMs, One Each For A Firewall, A Caching Proxy Server, A Mail Server, A Web Server?

Jan 25, 2011

I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.

In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).

View 14 Replies View Related

Server :: Configure Internal Zimbra Server To Use External Server To Send Mails?

Feb 16, 2010

I have got a running mail server on CentOS5.4 Final using Zimbra free edition. . Assume that domain is organization.com.local And it is running fine with users created and bugzilla running on the same machine can send mails using this server. But it can obviously send messages to the internal users. There is this option to configure it to use external mail server to send mails outside the network but my external smtp server needs an authentication.Is it possible to configure it this way to use my external server to send mails from internal domain to say gmail?

View 15 Replies View Related

Server :: Phpsite Not Showing Images (buttons) Home Server For Game Server?

Jan 6, 2011

i recently installed apache2 mysql php exc. to run a realtime stat site for my servers.the only thing is that the buttons/ images are not showing up.i checked that my GD was up to date and installed perl5 GD. dont know what else to check.my site with problems go to:http://24.20.177.228/stats_public

View 2 Replies View Related

Server :: Server Status Command Output Getting Dumped To Smtp Server Instead Of A File?

May 24, 2010

I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.

View 2 Replies View Related

CentOS 5 Server :: Automation Of Ftp Server \ Configure A FTP Server Where Upload And Download Files?

Jan 8, 2011

i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)

View 5 Replies View Related

Networking :: Hide The IP Of Y Server Want X Server To Be As VNC Proxy And Redirect All VNC Sessions To Y Server

Aug 21, 2010

I've two internet based server ( xx.xx.xx.xx and yy.yy.yy.yy ) The Y server is running VNC server and is responsible for answering to VNC sessions. But I need to hide the IP of Y server so I want X server to be as VNC Proxy and redirect all VNC sessions to Y server.

I guess the best way is to use iptables but actually I can't get it working so

View 4 Replies View Related







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