Jump to content

Connection Timeout

Go to solution Solved by MaPh,

#yes just

fdisk

mkdir /mountfolder

#find your device

#in my case sdc1

mount /dev/sdc1 /mountfolder/

cd mountfolder

cp kali.iso /home

unmount /dev/sdc1

#that it from the terminal

Sorry I am a complete newbie in here so my problem is when I try to send a file(~50gb) to my server(only terminal no gui) over various methods it failed and it said connection time out.

What i am guessing is that it has to do with my router tcp-timeout setting. The funny thing is i believe so that i do not have this setting on my router.

So my question is do have any tips how i could transfer my file over there.

I tried so far via ssh

wget/curl and an apache server

smb

ftp

 

error.png

Link to comment
https://linustechtips.com/topic/788052-connection-timeout/
Share on other sites

Link to post
Share on other sites

I haven't tried something like this myself, but I'm thinking if you send intermittent packets during the transfer it'll prevent a timeout.  You could probably script something like this on your server or you could ping your server every couple of minutes.

Link to comment
https://linustechtips.com/topic/788052-connection-timeout/#findComment-9928751
Share on other sites

Link to post
Share on other sites

53 minutes ago, MaPh said:

you mean just keep on pinging it? and then it should work

Maybe.  Timeout error codes don't always mean it's actually an idling timeout, but it's one of the basic things you can try.  If every protocol you've tried times out around the same time, I'd assume changing your FTP SSH or Apache timeout settings won't fix it (but you could look into that as well). 

Link to comment
https://linustechtips.com/topic/788052-connection-timeout/#findComment-9928948
Share on other sites

Link to post
Share on other sites

I would try sending from a different OS or machine if it's available to you, or you could troubleshoot by changing registry values for TCP timeouts.

 

https://serverfault.com/questions/735515/tcp-timeout-for-established-connections-in-windows

 

If you can confirm that the issue is neither the server or client you might have to try another router (you can also make your own linux based router).  Maybe somebody else with more experience could tell you something I'm not thinking of.

 

EDIT: I also just thought, is both your server and sender static IP?

Link to comment
https://linustechtips.com/topic/788052-connection-timeout/#findComment-9929082
Share on other sites

Link to post
Share on other sites

2 minutes ago, MaPh said:

what now tried was with usb because it was terminal based it was kinda weird but it worked out

Oh cool.  I'm curious, did you still use a networking protocol or did you just copy the iso right from the USB via terminal?

Link to comment
https://linustechtips.com/topic/788052-connection-timeout/#findComment-9929130
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×