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.
I am looking for advice on how one might be able to mount a share on a windows xp client machine using the client machine's IP address as the reference in the mount command. I can achieve this using file type smbfs but I was really wondering if it could be done using nfs somehow.
On my netwok I have an xp machine at 192.168.0.10 host name apollo and I want to mount the share \\apollo\audio on my linxu box at /mnt/windows. I need this to be done using a method that gives a good level of security if possible.
I tried as suggested mount -t smbfs -o user=<user>,password=<password> //192.168.0.10/audio /mnt/windows
and got two reply messages
3143:session request to 192.168.0.10 failed (Called name not present)
3143:sessino request to 192 failed (Called name not present)
on the terminal then the terminal hung until ctl-c was entered.
Strangely I could then see the windows files at /mnt/windows.
I also tried mount -t smbfs -o user=<user>,password=<password> //apollo/audio /mnt/windows
and got the following error
wins_svr_died(): Could not ,ark WINS server 127.0.0.1 down
Address not found in server list
This also crashed nmbd and reported nothing in the log.nmb file. I then restarted smb and things seemed normal again. This sequence happens every time i use the above mount command.
Add apollo to your /etc/hosts so you can ping it by name. Then your should be able to use the mount command like this: mount -t smbfs -o user=<user>,password=<password> //apollo/audio /mnt/windows.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.