Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
09-12-2005, 04:18 PM
|
#1
|
Member
Registered: Aug 2005
Posts: 30
Rep:
|
Sharing Files on Mandrake
I have an old HP that I switched over to Mandrake Linux when Win 98 was just too horrendous to bear any longer. I recently got a new computer though, and I am running Mandriva on it. The problem is I want to get about 9-10 gigs of info (music/papers) from my old computer to my new, but when I set the old one up on the network It won't allow me to share any files. I go through to configure the sharing and everything there seems to work fine, but when I right click again on the file it doesn't give me the option to share it like it should. I've tried rebooting and everything like that but I still can't get it to share. Any body that can help?
|
|
|
09-12-2005, 04:44 PM
|
#2
|
Member
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207
Rep:
|
I can't really help you with the GUI side of transmitting the file since I am not too familiar with the Mandrake distribution. Although, from a base Linux perspective, it might be best to start the ftp daemon service on your new box and just ftp in from your old one and send the data. You can also do the same with NFS if you want to. Does the old box show an IP in 'ifconfig' and are you able to see the remote PC?
|
|
|
09-12-2005, 04:47 PM
|
#3
|
Member
Registered: Aug 2005
Posts: 30
Original Poster
Rep:
|
^ i need help with exactly how I would ftp into the new computer from the old.
|
|
|
09-12-2005, 04:49 PM
|
#4
|
Member
Registered: Apr 2004
Distribution: Slackware 11.0, Gentoo
Posts: 252
Rep:
|
I would setup an ssh server on the box that is holding the information that you want. Then you can scp (secure copy) the files to your machine. The advantage of this method is you can copy any file you want in any direction. I would suggest you learn to use this utility.
Also, you can setup an ftp server on the box holding the files and use ftp to copy them down.
The scp syntax is
Code:
scp <source> <destination>
So for example, if you are trying to copy from a remote box, to the one you are sitting on now, you would do
Code:
scp user@remote_box:/directory/files/you/want /where/you/want_files_locally
The user has to be a user on the remote pc that has access to the files, however, when they are coming across, the local machine will use the current user you are logged on as, and that user will have to have write permissions for the directory where the files are being copied to.
Last edited by jonlake; 09-12-2005 at 04:51 PM.
|
|
|
09-12-2005, 05:15 PM
|
#5
|
LQ Guru
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
Quote:
but when I right click again on the file it doesn't give me the option to share it
|
Right click on the folder and not the files.
|
|
|
09-13-2005, 10:14 AM
|
#6
|
Member
Registered: Aug 2005
Posts: 30
Original Poster
Rep:
|
^I meant folder, i'm not that much of a n00b.
|
|
|
09-13-2005, 12:56 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207
Rep:
|
To ftp into the remote client, you need to verify that you are getting an IP on the old box. Run 'ifconfig -a' on the old box and put it in your reply. If you get an IP, then also include the results of 'ifconfig -a' on the new box.
|
|
|
09-14-2005, 03:25 PM
|
#8
|
Member
Registered: Aug 2005
Posts: 30
Original Poster
Rep:
|
It won't let me run ifconfig -a on my old computer.
|
|
|
09-14-2005, 06:45 PM
|
#9
|
Member
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207
Rep:
|
Are you root when you run it and what is the message you get?
|
|
|
09-14-2005, 07:05 PM
|
#10
|
Member
Registered: Aug 2005
Posts: 30
Original Poster
Rep:
|
nevermind
Last edited by n00bpenguin; 09-14-2005 at 07:50 PM.
|
|
|
09-14-2005, 07:49 PM
|
#11
|
Member
Registered: Aug 2005
Posts: 30
Original Poster
Rep:
|
ok, here's what it says.
Link encap:Ethernet HWaddr 00:10:B5:44:A4:77
inet addr:65.188.151.22 Bcast:255.255.255.255 Mask:255.255.248.0
inet6 addr: fe80::210:b5ff:fe44:a477/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:354069 errors:0 dropped:0 overruns:0 frame:0
TX packets:2298 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22189918 (21.1 Mb) TX bytes:337958 (330.0 Kb)
Interrupt:10 Base address:0x4000
eth1 Link encap:Ethernet HWaddr 00:09:5B:68:4D:6A
inet addr:192.168.1.1 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::209:5bff:fe68:4d6a/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:415 errors:0 dropped:0 overruns:0 frame:0
TX packets:543 errors:3 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36318 (35.4 Kb) TX bytes:114834 (112.1 Kb)
Interrupt:9 Base address:0x6000 Memory:e3800000-e3800fff
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:130 errors:0 dropped:0 overruns:0 frame:0
TX packets:130 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:8488 (8.2 Kb) TX bytes:8488 (8.2 Kb)
sit0 Link encap:IPv6-in-IPv4
NOARP MTU:1480 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
|
|
|
09-14-2005, 08:44 PM
|
#12
|
Member
Registered: Aug 2005
Posts: 30
Original Poster
Rep:
|
when i run scp user@address:/source/directory /destination/directory
it gives me this
ssh: connect to host 65.188.151.22 port 22: Connection refused
|
|
|
09-14-2005, 10:37 PM
|
#13
|
Member
Registered: Aug 2005
Posts: 30
Original Poster
Rep:
|
could it be my firewall?
|
|
|
All times are GMT -5. The time now is 05:31 AM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|