Friday, 27 April 2012

use Samba Client to connect to Network Shared Folders

On RHEL images:
If  Alt+F2   smb:// is not working…

Restart samba server   once again:

/etc/init.d/smb stop
/etc/init.d/smb start
/etc/init.d/smb status

Command to use:

smbclient   // –U ARL
Password: Ness1234

Will open  smb: \> prompt  . 

If you see the smb:\> prompt, you have successfully logged in. Once you are logged in, type “help” for a list of commands. If you wish to browse the contents of your home directory, replace sharename with your username. If the -U switch is not used, the username of the current user is passed to the Samba server.
Use   “cd “  to  change  to the  directory where you have  the software,  and  do  “get    <software> “  . It will get downloaded on to your linux machine.

To exit smbclient, type exit at the smb:\> prompt.

No comments:

Post a Comment

Tweets by @sriramperumalla