Jump to content


transferring files between xp and mandrake 10.0 using a router

  • Please log in to reply
4 replies to this topic

#1 dadhad2323



  • Members
  • 2 posts

Posted 10 July 2004 - 10:42 AM

I have an xp machine and a machine that has mandrake 10.0 connected through a netgear router. I am a newbie to mandrake and networking and my question is how to transfer files between the two machines?
Thank you in advance,

[Edited by dadhad2323 on 2004-07-10 05:37:56]

#2 martouf



  • Members
  • 338 posts

Posted 11 July 2004 - 04:21 AM

Enable filesharing on the XP machine, and then use either 'smbclient' or Konqueror (using the 'smb://' protocol).


#3 dadhad2323



  • Members
  • 2 posts

Posted 11 July 2004 - 06:56 AM

Hey Martouf,
Thank you for your response.
I know how to set up the file share on the xp machine, but how do I configure it on the mandrake machine. I read what you said, although it was over my head being a newbie and all.
It is funny...
I troubleshoot DSL conductivity at my work at a call center and sometimes when troubleshooting I ask customers to 'right click' or type something in the 'address bar', and they have no idea what I am saying. Likewise, I feel like I am in the same boat when it comes to my question. I was wondering if you could give me a more detailed explanation on configuring the mandrake machine and how do I use it after I configure it.

Thank you in advance,

#4 fantom5497



  • Members
  • 13 posts

Posted 11 July 2004 - 06:15 PM

I'm not gonna help you here, i'm just here to say that i'm in the same boat!
I work on Windows PC's and i think i'm fairly good at both HW and SW on all windows based apps and hardware.
Since i put on linux i feel like i did when i got my first new PC 10 years ago. I plugged it in, turned it on and sat clicking on things for 10 mins and then switched it off and went down to watch telly!
Its hard to be on the other end. When you said things like "go into control panel" and the guy hadn't a clue what you were on about and now other people are saying to you "just install kernel 2.4.25" and you're frantically replying "could you gimme that step-by-step!!!"

So the newbies aren't just dumb, were 'Selectively VERY Dumb!'

Good luck with the rest of linux

#5 martouf



  • Members
  • 338 posts

Posted 11 July 2004 - 09:46 PM

I'm guessing your first order of business is to be able to grab files from your XP host
so you can work with them on your Mandrake host.

Check your list of installed packages to be certain you have both 'samba-client' and
'kdeaddons3-konqueror' installed. OK, maybe don't check, but put it on your list
of things you should learn how to do. In the meantime, expect them to be installed
since my quick look at mandrakesoft.com indicates they are both part of the
standard/core/base install (matters not if you've got the 'Discovery',
'PowerPack', or 'PowerPack+' flavors Mandrake 10.

You can grab files from your XP host with either a command line utility 'smbclient'
or a GUI much like using Windows Explorer. Your choice.

Actually, get used to the idea you not only have choices to make but also TMTOWTDI.

Oh, don't know that one? "There's More Than One Way To Do It"
Figure a thing is broke only when you've exhausted all the ways you can do a thing.

Getting back to choices: try both ways and go with whichever seems most appropriate
for your goal. Note you probably should know about both since one is not always
the most appropriate for your immediate goal.

I'll wager you'll think I'm just making it more of a challenge if I start with the
command line method first.

In truth, I'm lazy (as much as the fine folks who created the bits and pieces which
go into making a thing like Mandrake 10) so it's GUI first.

Fire up Konqueror. Yeah, the 'web browser' initiated by clicking on the crystal ball
gumdrop earth with the protruding gear teeth icon. OK, maybe you didn't need me
explaning it like that to you. Bear with me, please. I can't tell if your eyes
are glazing over or not.

Open Location (part of the Location drop-down menu) "smb:/" (without the quotes).
Note that's one less '/' char than in my first post. My bad.

If you'd rather type that in to the location bar instead of seeing what's
in the Location menu, go right ahead. Just be aware you'll need to add menu
exploration to your list of things to do.

A networky icon (a picture giving an artistic impression of network data
transmission) with the name of your workgroup underneath should appear.

Click it. A host icon with the computer name of your XP host should appear.

Click it. Icons with the names of your fileshares should appear.

Pick one, and click it. Icons representing the files and directories in
your fileshare should now appear.

At this point you should know very well what to do, since it's designed to work
like Windows Explorer (as far as the file manipulation user interface goes).

As for the command line utilities, remember this: the manual pages are
your friends. They may be inscrutable at times, but they really are your own
very loyal and expert friends.

Try out "findsmb" first. If you're familiar with Windows networking and the
"net view" command, then you'll think the output of 'findsmb' is quite familiar.
What's up with it? Well, if nothing else it's to confirm your Mandrake host can 'see'
the XP host and add a bit to your confidence.

Oh, manual page? Try "man findsmb" (I'm going to stop mentioning the quotes caveat).

Next try "smbclient -N --list //computernameofXPhost". If you skip the '-N' parameter
you'll get a 'Password:' prompt. Just hit Enter.

Yes, you could skip the '//' chars but you ought to get into the habit of typing them.
You'll see why soon enough.

The smbclient output should provide you with a list of all shares being offered by your
XP host. Note it's a list of what's being offered and not necessarily everything
you can access without a valid username and password.

Assuming your as lazy as everyone else on the planet, you've put a couple of files
in the 'SharedDocs' fileshare on your XP host. If you know how to set up fileshares
then you know why you can access that share without a username or password.

Let's do it now: "smbclient -N //computernameofXPhost/shareddocs"
You'll be presented with a smbclient command prompt "smb: /> ".

Type "dir" then type "quit". Voila! You've used smbclient on your MDK host to list
the files on the SharedDocs fileshare on your XP host.

Note you can type "help help" and "help get" as smbclient commands to get help
from smbclient itself. You'll make good use of the "get" and "put" commands.

Oh, manual page? Sure, that's "man smbclient".

Try all this stuff out, read up on the commands, and chug along. That's chug like
steam train, but it you're certain beer helps - then by all means!


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

IPB Skin By Virteq