Solved

linux/winxp/dlink/share files

Posted on 2004-09-18
11
799 Views
Last Modified: 2010-03-18
hi,

this site has been very helpful.

i have now a working router that shares my cable internet connection to a linux mandrake 10 computer and a windows xp laptop. I would like to be able to share files between the two.

what would be the first step to accomplishing this?

i've tried to plug in ip's into the address bar's of browsers and no dice.

i've tried to ftp over to my linux computer but  i get a username and password error tried all combinations that i know of

thanks in adv,

_mike_h
0
Comment
Question by:solodiver
  • 9
  • 2
11 Comments
 
LVL 10

Expert Comment

by:Luxana
ID: 12090787
mike you can share some files just copiing them usinf putty.exe that is the simples way or you cand rau samba servise which will alow you share linux resources for windows. but putty.exe is easy.
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090790
http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

sorry putty.exe is secure schell this allows you configure your system from windows for copy filese download pscp.exe

0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090816
copy file txt.txt from windows. Save file pscp.exe to c:\ or whre is that file which you want copy

pscp txt.txt root@192.168.2.200:/root    

you schould by ask for yes answer:))
hre you copied file to yur root directory.

copy file from linux.txt from your linux box

pscp root@192.168.2.200:/root/linux.txt c:\

here you copied file from linux root directory to c:\ on your windows

all this commands you will do form command promt from your windows make sure that pscp.exe is in your path otherwise command wil be not found.

also you can copy whole direcotries and you can use globing such us * to match everything.

 

0
 

Author Comment

by:solodiver
ID: 12090826
ok, got access to my linux computer from windows.

how do i copy a file from linux to winxp and how do i specify where i want to copy it to?

what do i type in putty.exe in order to take example_file.gif  to my winxp computer?

i know in linux you type

cp example_file.gif  /directory

and the file is copied

thx,

_mike
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090830
http://www.scs.carleton.ca/help/apex.shtml#SCP-INSTRUCTIONS

or use graphycal pscp if you like:)))
0
Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

 
LVL 10

Expert Comment

by:Luxana
ID: 12090845
see above I made mistake with putty.exe you are just administrating your linux box from everive on your network or if you have server on internet from everywhere from tho world(thats why is goot no rely on command promt not on GUI)

see my small manual regarding pscp.exe above for copy files between windows and linux
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090868
here is syntax:

PuTTY Secure Copy client
Release 0.55
Usage: pscp [options] [user@]host:source target
       pscp [options] source [source...] [user@]host:target
       pscp [options] -ls [user@]host:filespec
Options:
  -p        preserve file attributes
  -q        quiet, don't show statistics
  -r        copy directories recursively
  -v        show verbose messages
  -load sessname  Load settings from saved session
  -P port   connect to specified port
  -l user   connect with specified username
  -pw passw login with specified password
  -1 -2     force use of particular SSH protocol version
  -C        enable compression
  -i key    private key file for authentication
  -batch    disable all interactive prompts
  -unsafe   allow server-side wildcards (DANGEROUS)
  -V        print version information
  -sftp     force use of SFTP protocol
  -scp      force use of SCP protocol

so for copy copy whole directories use -r option

lubos
0
 

Author Comment

by:solodiver
ID: 12090881
plz give an example of what i would type exactly?

like cp example_filename.gif /whatevr comes next

i would like to , for example, take a file from one directory on linux and put it on c:\

what would i type exactly?
you see my problem, windows has one set of commands and linux another

if i were to do it in windows i would just type :

copy file.txt c:/windows

or whatever but now we are using two different sets of commands

so i can't mix them up, right? i can't just type cp file.txt c:\windows ?
thanks
0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090901
ok

now instead copy you ar using pscp command :
 syntax is simple command what and where
command:
pscp
what:
txt.txt
where:
root@192.168.2.200:/root/           ->now it is root directory but you can modify it.
so whole command is:
pscp txt.txt root@192.168.2.200:/root/
here you copy file from windows to linux
oposite now:
syntax is same  command what where
command:
pscp
what:
root@192.168.2.200:/root/linux.txt
where:
c:\
so whole command is:
pspc root@192.168.2.200:/root/linux.txt c:\
here you copy file from linux /root to c:\ on windows

this is just exmaple you can change what and where depends of your needs.

0
 
LVL 10

Expert Comment

by:Luxana
ID: 12090925
in case I need to say that now do not use putty.exe it has nothing to do with things what we are doing now.

0
 
LVL 10

Accepted Solution

by:
Luxana earned 500 total points
ID: 12090963
also have a look here:

http://winscp.sourceforge.net/eng/download.php

I must go now....

Lubos
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

943 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now