LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-24-2012, 10:10 AM   #1
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Rep: Reputation: 83
Can't transfer a file to a server


Hi!

I'm trying to get a tgz from my host to a remote server. Both are linux boxes... the server has a rather dated ubuntu but it's been running fine.

Methods I have tried:
- scp from my host to the server
- scp from the server to my host
- ftp from my host to the server (passive, active)
- ftp from the server to my host (passive, active)
- I just tried netcat

I only get to transfer a small part of the file and then I see no more advance in the process.... this is rather unusual, if you ask me. What could be the problem?

Thanks in advance.
 
Old 08-24-2012, 10:23 AM   #2
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Well.... this is the first time ever I've had to do this.... just as an easy attempt, I changed the MTU of the interface from 1500 to 1000 and the file is moving forward.... let's see if the files does go up completely.

Code:
ifconfig eth0 mtu 1000

Last edited by eantoranz; 08-24-2012 at 10:24 AM. Reason: typo
 
Old 08-24-2012, 10:39 AM   #3
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 1,919

Rep: Reputation: Disabled
If you have to reduce the MTU to transfer a file, there's something wrong with a router, switch, NIC or driver.

Are these systems on the same network?
 
Old 08-24-2012, 10:42 AM   #4
szboardstretcher
Senior Member
 
Registered: Aug 2006
Location: Detroit, MI
Distribution: GNU/Linux
Posts: 2,838
Blog Entries: 1

Rep: Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897Reputation: 897
I was going to suggest checking the NIC. But Ser Olmy is correct. It could be any device between you and it.

If you are in an emergency, and have access, it might help to use a USB stick for the moment.

Alternately, you could break the file up into pieces and send it that way.
 
Old 08-24-2012, 10:55 AM   #5
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
It's a VPN so not in the same network geographically.
 
Old 08-24-2012, 11:02 AM   #6
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Just told local network admin... let's see what goes on with that. Thanks for your help.
 
Old 08-24-2012, 11:10 AM   #7
eantoranz
Senior Member
 
Registered: Apr 2003
Location: Colombia
Distribution: Kubuntu, Debian, Knoppix
Posts: 1,982
Blog Entries: 1

Original Poster
Rep: Reputation: 83
Is it possible to set the mtu with sysctl? Or how can I set the default mtu for a given interface (so that when the box starts, the interface has the mtu set correctly)?
 
  


Reply

Tags
ftp, halt, nc, scp, transfer


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Transfer file from one server to other Muhammad Awais Linux - Networking 37 04-19-2012 10:37 PM
Cilent to transfer file through NFS to server Alck Linux - Server 2 07-23-2009 08:40 PM
file transfer server required ltodd2 Linux - Software 3 06-19-2009 03:48 AM
a simple file transfer server.. sachitha Programming 2 09-09-2006 08:08 PM
Transfer file from slack to school server mustangfanatic01 Slackware 2 11-27-2005 02:58 AM


All times are GMT -5. The time now is 08:13 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration