smbclient / smbmount / gftp

Nov 29, 2005
160
0
0
hello all.. I've been using this LIVE-CD as my main tool for all of my linux maintenance and recovery http://www.inside-security.de/applicationlist.html

I use it primarily for:
1) Partimage - disk image save and restore
2) Gparted - create and resize partitions

There are 3 extra function that I want to use ( smbclient / smbmount / gftp ). My goal is to be able to read/write files on my neighboring winXP machine. But I don't know how to use the above commands.
Could anybody be so kind to provide an example for me ? It is so much easier to learn from examples than list of arguments or parameters.

Thanks.
 

n0cmonkey

Elite Member
Jun 10, 2001
42,936
1
0
man smbmount
man smbclient
man gftp

If they're properly written there should be examples in the manual pages.
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Yea, both SMB apps have decent man pages and if you type them without any parameters they spit out a help text. And gftp is a GUI FTP client, I'm not sure what help you could need with that.

Is there a specific problem you're having?
 
Nov 29, 2005
160
0
0
hello.. thank you guys for your help :)

Nothinman Lifer.. I don't have a specific problem.. except that i'm just trying to make my task simpler and easier if possible..

on my linux-installed box... this is how easy it is to do file read/write access from another machine..
http://geocities.com/alexanderangnj/blag-samba.png

but on LIVE-CD.. I have to key-in commands which is a big hazzle. I wish my favorite LIVE-CD http://www.inside-security.de/applicationlist.html will add something like smb4k or linneighborhood on their next version !!

this is the sequence that I do after installing / customizing and configuring any linux to suit my taste..

1) boot with my favorite LIVE-CD to save disk image via partimage , and also the mbr via the dd command. I usually save it to hda3.
2) remove LIVD-CD and boot to the installed linux (i.e. BLAG). Then I simply do network file transfer (the disk image + mbr) to the neighboring win XP ..
i.e. http://geocities.com/alexanderangnj/blag-samba.png

then if I want to install the same disk image + mbr on a FRESH blank harddrive.. I do this..

1) boot with my favorite LIVE-CD to parition the new harddrive via GPARTED
2) boot with Kanotix LIVE-CD just to use its network-file-transfer to copy the diskimage + mbr into hda3
3) boot up again my favorite LIVE-CD to do image restore from hda3 to /dev/hda

I'm basically trying to eliminate the need for Kanotix LIVE-CD to do the remote file transfer. Does anyone know of any LIVE-CD that is "light" and have the following:
1) PARTIMAGE
2) GPARTED
3) Linneighborhood or smb4k or such ?

Thanks for listening and all of our help Smile
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
I have to key-in commands which is a big hazzle. I wish my favorite LIVE-CD http://www.inside-security.de/applicationlist.html will add something like smb4k or linneighborhood on their next version !!

All you have to do is fine a LiveCD that has Gnome or KDE, both Nautilus and Konquerer do SMB without much of a problem. I don't know what's so special about the one you linked to, but Knoppix and the Ubuntu LiveCDs are both based on Debian and should do what you want without messing with smbmount.

I'm basically trying to eliminate the need for Kanotix LIVE-CD to do the remote file transfer. Does anyone know of any LIVE-CD that is "light" and have the following:

Personally I think you'd be better off eliminating the other LiveCD since the Kanotix one can do everything you need. Another option might be to see if the inside-security.de people have any docs, scripts, etc to let you remaster their CD with new applications so you could add the ones you want; I know it's possible with Knoppix.

But yea, as Brazen said the smb* commands generally take a UNC path just like in Windows only with the slashes switched. You can use backslashes but since they're special characters you have to escape them so you need twice as many, i.e. \\\\server\\sharename. The only difference is that smbclient expects '-U <username'> instead of '-o username=<username>' like smbmount.

 
Nov 29, 2005
160
0
0
oh thank yoou so much guys for your suggestions and help :)
what i like about the inside-security is that its super light.. the bootup time is under 40 seconds :)