Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
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.
I have difficulty accessing windows shares on my Lan.
When I type smb://compname,,the cursor gives a waiting sign and nothing happens even after a long time...i use suse 9.1 professional........also I can see the shares bu the command line "smbclinet -L machinename"
Can someone tell me how to fix this,,
And also how to copy the windows shares from the command line>?
Use the mount command. Lets say your share is 'test' on the computer 'testbed'. To mount it on /mnt/test, you'd do this:
mkdir /mnt/test
mount -t smbfs -o username=[your_username_on_testbed] \\\\testbed\\test /mnt/test
Then it would ask you for your password (on testbed) and it would mount. Note: you might have to do that as root, depending on how your system works. Hope That Helps.
Because it needs to access an actual share, not just browse the computer. You would just use smbclient -L <ipaddress_or_compname> to see what a specific computer shares.
I had been searching and reading and could not understand or get either the share or the printer on a WinXP desktop to be seen or used by my Suse 9.1 laptop - until I tried your simple smbclient -L command - which showed the shares (I had been listing them incorrectly the whole time) and now....
I can see the files on both machines, I can print from the laptop to the desktop.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.