Access to win98 from samba server

Posted on 2000-03-13
Last Modified: 2010-03-18
Right I'm back and not seeing something here.   I have my Samba server up and running and have set up shares to view from Win98 via smb.conf.   This is fine and I can drop files into the shares and pick them up in Linux.    What I can not see is how to view the files on win98 drive from my Samba server on Linux.   Do I need to set up shares for the files on the Windoze PC and if so what should the path= be?   I know how to mount shares using smbclient.     I need to be guided here(thick or what?)
Question by:cliffhanger121599
  • 3
  • 2
LVL 17

Accepted Solution

psimation earned 10 total points
ID: 2620278
You need to mount the Windows PC. First create a mount point for the windows pc. ( create a directory) Use smbmount/smbumount to mouhnt the pc.
If the windows pc is called pc1 and the share is c, and the directory you created as mount point is /home/samba then you mount as follow
smbmount //pc1/c /home/samba
You will be prompted for a password , just type enter if your windows share is public.
To unmount
smbumount /home/samba
PS, make sure that your workgroup name in smb.conf is the same as you windows workgroup name.

Author Comment

ID: 2621556
Many thanks I think I've got it now.

Author Comment

ID: 2655161
Let's be clear, the mount point must be on the Windows C drive.   If this is the case could one use an existing directory on the Windows C drive.   I'm asking because I still can not mount the windows drive, despite the fact that I have access to my linux drive from Windows.   Sorry about the delay - been away.
LVL 17

Expert Comment

ID: 2656098
No, the mount point will be on the Linux box. You must create a directory on the Linux box, let say /home/windows.
Now you will mount your windows pc using the command smbmount //windowspcname/sharename /home/windows

where windowspcname is the name of your windows pc ( as in the identification tab in network neighbourhood)
sharename is the name of the drive on the windows pc you want to access ( usually c)
and the /home/windows is the directory you crreated on the linux box ( mount point)

after you mounted the windows pc, all the files of the windows share will be under the directory /home/windows on the Linux box ( as if it were part of the Linux file system)
There is no "network neighborhood" under Linux.
LVL 17

Expert Comment

ID: 2659827
wow, 4 minutes, something is definately wrong, I think you should post another question in that regard, at the moment, I am the only person looking at this question ( other people won't be too interested to help, since this question is already marked as answered)
Unfortunately, i don't know what could be wrong. It could be hardware or software. In your new question, you should post a description of your hardware as well, ie. cable type, (hub?), network cards etc. as well as your current network settings under netconf.

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question