Our forums are currently in maintenance mode and the ability to post is disabled. We will be back up and running as soon as possible. Thanks for your patience!



Mounting windows 95 share

By angeln186 ·
Hi all,

I am using a linux box to mount a windows 95 share. I can mount it via windows by specifying the password only by executing the command:

net use \\\users password

I would like to be able to do the same from the terminal in linux, where I have been using:

mount -o username=xxx,password=yyy // /mnt/

to mount shares from windows NT and XP. So I know the commands ought to work, but I must be missing something when it comes to how win 95 configures its shares (especially the fact that no user name is required)

I thank you all for your time in thinking about this problem.
Lemme know


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Answers

Collapse -

Use Samba to mount Windows 95 to share to/with Linux..


To mount a Windows 95 share, we use a program called SAMBA. SAMBA is a program that allows Linux to talk to computers running Windows for Workgroups, Windows 95, Windows NT, Mac OS and Novel Netware. SAMBA even allows you to share a printer between computers using these different operating systems. SAMBA comes with most distributions of Linux, but if you do not have it installed, you can download it from the SAMBA home page at
Mounting Windows 95 Shares

The first thing to do is check to see which directories are shared on the computer you are using. To do this, type:

smbclient -L

This command lists all of the shared directories. To mount the desired directory, use the command smbmount, which can be a bit tricky. I have created a script, named smb, that allows users to mount drives using smbmount with relative ease. That script is shown in Listing 1. smb Script

To execute this script you simply type smb followed by the name of your computer and the directory you wish to mount (for example, smb workstation files). If you are root, the script creates a directory in /mnt with the same name as the computer and mounts the directory in that location. For any other user, the script creates a directory in the users home directory named /mnt. In that directory, smb creates another directory with the same name as the computer and mounts the shared directory there.
Sharing files with Windows 95

Sharing a file is not too difficult. To share a directory you need to edit the /etc/smb.conf file. By default, Samba shares users' home directories, but they are only visible (and accessible) to the owner. This means the person accessing the shared files must be logged into Windows 95 with the same login ID as he used to log into the Linux box.

In order to let the user bob and only the user bob access the directory /shares/files, add the following lines to your /etc/smb.conf file:

1 [bobsfiles]
2 comment = files for bob
3 path = /shares/files
4 valid users = bob
5 public = no
6 writable = yes
7 printable = no

Here's a line by line look at this example.


Specifies the name to be used for the shared directories.

Specifies a comment to be displayed in the Windows 95 Network Neighborhood.

Specifies the name of the directory on your computer to be shared.

Sets bob as the only valid user.

Specifies no public access. When set to yes, users are allowed to access the directory with guest privileges.

Indicates whether or not the user has write permissions to the shared directory.

Specifies that file cannot be printed. When set to yes, users are allowed to spool print jobs from the shared directory.

More examples on sharing files can be found in the default smb.conf file. For more help on setting up this file, see the Samba web page or type:

man smb.conf

Another cool Samba Option

If a Windows 95 user on your network is running winpopup (an instant messaging program), you can send them a winpopup message using Samba. To do this just type:

smbclient -M

and the contents of message_text will be displayed in a message window on computername.

Please post back if you have any more problems or questions.

Collapse -

Mounting windows 95 share on linux

by angeln186 In reply to Mounting windows 95 share

Just to make it clear, smbmount has now been replaced by mount.cifs in many linux distros which is what I am using.

And the mount command works when i try to mount xp and NT shares. I just want to know why it does not work for a win95 share. There have obviously been changes in the way the sharing works in 95 and the way it works in winXP and NT.

I just need a way to mount that win95 share on my linux box. As i have told you, i know the correct share name and server name since i can mount it from another windows machine, using the "net use" command.
But win95 shares do not require a username apparently and only a password. I dont know if that is an issue.

Collapse -

Don't know if this is relevent but

by 1bn0 In reply to Mounting windows 95 share ...

I seem to recall in changing from W95 to W98 one of the issues we had was that W95 used plain text passwords and W98 encrypted them.

Forget the details on how this works, it just needed a registry change in 98 to send plain text.

We next enabled encrypted passwords on the server (Red Hat 6.0 with SAMBA) and the W95 boxes dis-appeared rather quickly through attrition.

Related Discussions

Related Forums