Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
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.
It just tells me that the connection has been refused, which is odd, since that drive is mapped to all the computers on my network. This is the only linux box however.
Distribution: Debian (Testing/Stable), Slackware current
Posts: 27
Rep:
You can try out a more cool option. Find out your UID, for example, by viewing the
/etc/passwd
file. And then enter
mount -t smbfs -o username=[Username on the remote WinNT],uid=[your linux UID]//[WinNT computers IP or name]/ [the shared dir on the WinNT] /[an empty dir on your slack machine]
This way you won't need to be root to change into the dir.
You can also try to create an entry in /etc/fstab, but actualy I know only how to add a NFS or local filesystem in the /etc/fstab.
I got it working now, it turns out that the problem was with my network cards. I have two in my box, eth0 and eth1, it was trying to use eth1, which is ment for somthing totally different that what i was trying to use it for. Anyways, it was a simple fix of changing what card samba talked to in the conf file. Thanks for your help.
Originally posted by Finlay Try this, if it works you don't need to download anything:
mount -t smbfs -o username=user,password=pass //server/share /mnt/share
NOTE: need to mkdir /mnt/share
I'm having a similar problem mounting a shared drive, I have done exactly what you have typed above, but I get a timeout error. I also get this error when using smbclient <server> <pass>, but I manage to connect (or at least, the smb: \> prompt comes up)
Any help anyone could offer, I would be most grateful
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.