LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 08-05-2003, 08:59 AM   #1
broadsoft
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane
Distribution: Linux 9
Posts: 4

Rep: Reputation: 0
Mounting a share on a Windows Client Machine


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.

Any assistence would be greatly appreciated.

Last edited by broadsoft; 08-05-2003 at 09:00 AM.
 
Old 08-05-2003, 09:17 AM   #2
pawanrana
LQ Newbie
 
Registered: Jul 2003
Location: india
Posts: 3

Rep: Reputation: 0
look the help of mount command
u will get the answer
 
Old 08-05-2003, 09:18 AM   #3
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
mount -t smbfs -o username=<user's name>, password=<password> //192.168.0.10/audio /mnt/windows
 
Old 08-05-2003, 03:15 PM   #4
broadsoft
LQ Newbie
 
Registered: Aug 2003
Location: Brisbane
Distribution: Linux 9
Posts: 4

Original Poster
Rep: Reputation: 0
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.

Any ideas anyone???
 
Old 08-05-2003, 05:32 PM   #5
tangle
Senior Member
 
Registered: Apr 2002
Location: Smithville, TN
Distribution: Slackware
Posts: 1,744

Rep: Reputation: 71
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble mounting a Windows share lowpro2k3 Slackware 2 10-17-2005 04:38 AM
Mounting NFS Share To Another Machine mijohnst Linux - Networking 8 06-24-2005 10:30 AM
write access to share on windows machine Delphinusnz Mandriva 0 11-16-2004 02:24 AM
Trying to share files on my Windows machine. jbraum Linux - Networking 6 01-07-2004 01:15 PM
mounting a windows network share? graystarr Linux - Networking 2 11-09-2002 05:57 PM


All times are GMT -5. The time now is 07:01 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration