Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: smbtree and smbclient, transfering files to/from hosts disk< Next Oldest | Next Newest >
Missouri Bushwacker Offline





Group: Members
Posts: 6
Joined: Mar. 2006
Posted: April 11 2006,20:59 QUOTE

Can someone tell me if smbtree and smbclient will function in
the embedded DSL environment?  If they can, will someone
write up a short "how to" on using these?  I know a little about
using FTP.  Trying to run these, they ask for a password.  What password do they want?  A password I create on the DSL
"guest" side, or one on the Windows XP "host" side?
   
(BTW, I currently have DSL 2.3 Embedded running as guest on a Windows XP host and I am using DILLO to browse this
site and enter these texts.  Works great.)
Back to top
Profile PM 
desnotes Offline





Group: Members
Posts: 120
Joined: Dec. 2005
Posted: April 11 2006,21:56 QUOTE

I would recommend using LinNeighborhood (Samba.dsl) when using the embedded configuration. Once it is setup you can tansfer files between DSL embeeded and the host easily.

desNotes
Back to top
Profile PM 
clacker Offline





Group: Members
Posts: 570
Joined: June 2004
Posted: April 11 2006,23:12 QUOTE

Missouri Bushwacker, the password and username are from the Windows side.  What it wants depends on how you have your windows machine setup, but here's what I did on my XP system to transfer files:

open My Documents and create a new folder called WatershipDown

right click on the new directory, choose "Sharing and security," and choose "share this folder on the network."  I named the share Watership in the "Share Name."  I'd say avoid spaces and long names.  If you want to be able to move files from dsl to windows uncheck the "read only" box.

Still in Windows, from the "Run" menu, run CMD and then type ipconfig to find your computer's address.

Then from your embeded dsl open an xterminal.  Type:

smbclient "//69.162.84.201/Watership" -U Hyzenthlay

Now, Hyzenthlay is a great name, and it works for me, but if you have other permissions on your windows system, you might need to create a user named this.  Or use your own name.  On some machines username and password didn't matter.  On some machines they do.  If in doubt try a random name and password and if that doesn't work, then use your Windows login name and password.  You'll want to use the IP address you got from ipconfig instead of the one above as well.  If you need to connect through a particular workgroup, put that after an additional -W switch.

When I do the above there is a long pause after the "creating lame lowcase table" line, almost like everything is frozen.  I get these error messages and then the prompt for a password:

Code Sample
creating lame upcase table
creating lame lowcase table
timeout connecting to 69.162.84.201:445
session request to 69.162.84.201 failed (Called name not present)
timeout connecting to 69.162.84.201:445
session request to 69 failed (Called name not present)
timeout connecting to 69.162.84.201:445
Password:


I entered the password and I was treated to the following prompt:

smb: \>

You can use get to get a file from the windows machine, and put to put a file into that directory.  ls and cd work just like in linux.  help prints out a collection of possible commands.

Code Sample
smb: \> help
?              altname        archive        blocksize      cancel        
cd             chmod          chown          del            dir            
du             exit           get            help           history        
lcd            link           lowercase      ls             mask          
md             mget           mkdir          more           mput          
newer          open           print          printmode      prompt        
put            pwd            q              queue          quit          
rd             recurse        reget          rename         reput          
rm             rmdir          setmode        symlink        tar            
tarmode        translate      !              
smb: \>
Back to top
Profile PM 
2 replies since April 11 2006,20:59 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: smbtree and smbclient

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code