LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 10-02-2006, 03:33 AM   #1
Normal
LQ Newbie
 
Registered: Oct 2006
Posts: 11

Rep: Reputation: 0
Can I transfer files from win to linux?(Noob)


Hey all! My 1st brand new computer ever will be here tomorrow and I've been trying to figure out how to get what files I need off of my Windows laptop to my soon-to-be Ubuntu machine. I don't have a cd burner in my (very)old pc, so I was thinking: maybe I can use their ethernet ports and just a cable between'em.......Is this possible? Or is this completely wrong? I'll greatly appreciate any help, advice, links,or handholding.
 
Old 10-02-2006, 03:54 AM   #2
musicman_ace
Senior Member
 
Registered: May 2001
Location: Indiana
Distribution: Gentoo, Debian, RHEL, Slack
Posts: 1,555

Rep: Reputation: 46
Samba, or the smbmount utility can mount shared folders.
Samba can create the share on linux and allow the WinXP laptop to connect to it.
smbmount allows the linux to mount the XP share to a linux folder you create.

I'm not sure if Ubuntu contains either by default, but apt-get install samba should get you the samba packages you need for Samba.
 
Old 10-02-2006, 04:54 AM   #3
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
If you don't have a hub or switch, I would assume that you'll need a cross-over cable for the connection rather than a standard ethernet patch
 
Old 10-02-2006, 12:09 PM   #4
Normal
LQ Newbie
 
Registered: Oct 2006
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks for the help!
 
Old 10-03-2006, 03:24 PM   #5
basileus
Member
 
Registered: Nov 2004
Location: Turku, Finland
Distribution: Debian, Ubuntu, Gentoo
Posts: 388

Rep: Reputation: 30
Another possibility is starting SSH server on Linux and connecting to it from Windows box. In my opininion using SSH is much easier than setting up Samba - especially if Nautilus (Gnome filemanager) can't for some reason see the Windows shares automatically.

If you wish to use the SSH approach, install "openssh-server" with Synaptic. If it is a plain Ubuntu install (no firewall) you should be ready to go. You'll need a SSH client on Windows - take a look at Putty. Then connect to the SSH server and copy the files you need.

You'll have to set up your networking first, unless you have router that does DHCP (automatic IP assigment). Simple static settings like this should work:

IP addr 192.168.0.1 (linux), 192.168.0.2 (windows)
Netmask 255.255.255.0 (both)
broadcast 192.168.0.255 (if required)
gateway (not required)
 
Old 10-24-2006, 08:12 AM   #6
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Rep: Reputation: 15
The ssh is an interesting approach, did anyone try it?

I'm going to try it tonight I think thanks for the inspiration!
 
Old 10-25-2006, 01:24 AM   #7
saudoi
Member
 
Registered: Aug 2004
Location: VietNam
Distribution: Sun Solaris 10
Posts: 117

Rep: Reputation: 15
Yeah, i think the fastest way that you could install a software name WinSCP onto your Windows box, then use it to transfer file between Win-box and Ubuntu-box via SSH link. It's very easy, same as use FTP.
 
Old 10-25-2006, 07:43 AM   #8
ncsuapex
Member
 
Registered: Dec 2004
Location: Raleigh, NC
Distribution: CentOS 2.6.18-53.1.4.el5
Posts: 770

Rep: Reputation: 44
Secure Shell has a "File Transfer" window, which you can transfer files from a windows pc to a linux pc.

http://www.ssh.com/
 
Old 10-25-2006, 09:24 AM   #9
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
For ssh file transfer winscp is good but i find it very slow in fle transfer between win and linux.. another one is this which free for personal use...

http://www.bitvise.com/tunnelier.html
 
Old 10-27-2006, 09:44 AM   #10
daveoily
Member
 
Registered: Mar 2005
Distribution: ubuntu
Posts: 74

Rep: Reputation: 15
I haven't quite got around to trying this just yet, I'm attempting an lfs build for the first time, which is taking some time...

Anyway, I wondered, because this seems like one way traffic here, presumably there's a program that turns windows into an ssh server, and I know at least in ubuntu there's an ssh client included, could this file transfer be made to work the other way?

If so, which software would be needed on the windows box?
 
Old 10-27-2006, 10:03 PM   #11
~=gr3p=~
Member
 
Registered: Feb 2005
Location: ~h3av3n~
Distribution: RHEL 4, Fedora Core 3,6,7 Centos 5, Ubuntu 7.04
Posts: 227

Rep: Reputation: 30
I use freesshd:

http://freesshd.com/

also for openssh on linux have a look at this:

http://www.psc.edu/networking/projects/hpn-ssh/
 
Old 09-09-2007, 12:45 AM   #12
UhhMaybe
Member
 
Registered: Jul 2004
Location: Salt Lake City, Utah
Distribution: Absolute 12.0 Studio 64 1.3.0
Posts: 470

Rep: Reputation: 30
Cool

http://www.windowsnetworking.com/ and the best is http://www.tldp.org/HOWTO/Networking...iew-HOWTO.html Hope this helps.
 
Old 09-09-2007, 01:38 AM   #13
sunils1973
Member
 
Registered: Jan 2007
Location: INDIA
Distribution: Ubuntu, Debian
Posts: 340

Rep: Reputation: 30
Quote:
Originally Posted by basileus View Post
Another possibility is starting SSH server on Linux and connecting to it from Windows box. In my opininion using SSH is much easier than setting up Samba - especially if Nautilus (Gnome filemanager) can't for some reason see the Windows shares automatically.

If you wish to use the SSH approach, install "openssh-server" with Synaptic. If it is a plain Ubuntu install (no firewall) you should be ready to go. You'll need a SSH client on Windows - take a look at Putty. Then connect to the SSH server and copy the files you need.

You'll have to set up your networking first, unless you have router that does DHCP (automatic IP assigment). Simple static settings like this should work:

IP addr 192.168.0.1 (linux), 192.168.0.2 (windows)
Netmask 255.255.255.0 (both)
broadcast 192.168.0.255 (if required)
gateway (not required)
sshd is running in my suse linux box
network details

netmask 255.255.255.192
gateway 10.101.63.126
IP nos 10.101.63.66 (win XP)
10.101.63.105 (linux)

Putty on Xp

I tried to connect from Xp But failure

I am able to ping all machines in my network

I am also able to connect to the linux machine through ssh localhost
pls help
 
Old 09-09-2007, 01:58 AM   #14
soroccoheaven
Member
 
Registered: Jul 2007
Distribution: mandrake Mandriva Redhat CentOS Slackware
Posts: 221

Rep: Reputation: 30
recheck your sshd and see the firewall setting winxp/linux
 
Old 09-10-2007, 12:39 AM   #15
billymayday
LQ Guru
 
Registered: Mar 2006
Location: Sydney, Australia
Distribution: Fedora, CentOS, OpenSuse, Slack, Gentoo, Debian, Arch, PCBSD
Posts: 6,678

Rep: Reputation: 122Reputation: 122
Two things here:

1. Did anyone posting recently notice that this was a 2006 thread?

2. Don't hijack threads - start a new one of your own.

That said, sounds like a firewall issue on the ssh front
 
  


Reply



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
Recommendation for win xp software to access and transfer files to Redhat 4 pref gui jalluttar Linux - Software 1 11-29-2005 10:28 PM
I can’t transfer files from my Windows machine to my Linux box. kingkongadp64 SUSE / openSUSE 10 11-04-2005 12:16 PM
How to transfer files from Linux to Windows SentralOrigin Linux - General 7 10-31-2005 04:29 PM
Software to transfer files from windows to linux b123coder Linux - Software 12 01-30-2005 02:48 PM
how to transfer files from NTFS to EXt3 linux BartekPL Linux - Newbie 4 02-05-2004 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:46 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration