mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

[RESOLVED] Mount and windows 98 Recyc PC

Mon Dec 22, 2014 2:16 am

Well, I was able to mount the shares from my other XP machine, but this one's a real relic (windows 98SE). Quite a few in the shop here to use. All good.
I saw something somewhere about umask=0,0,0 but I don't know how to deploy that line. Also an exfat parameter. These are for the fstabs file. But it was for an older version of linux.
I get the expected "host is down" error 112.
It's not.
I'm running raspian with all of the updates (250MB) and samba tools and all. Using the RPi B+
Last edited by mikorians on Mon Dec 22, 2014 8:41 pm, edited 1 time in total.

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 8:43 am

Try this in your fstab :

Code: Select all

IP-ADDRESS /mnt/cifs  cifs  username=****,password=****,rw,file_mode=0777,dir_mode=0777,noperm 0 0
mount.cifs does not allow Windows share names , but only IPs.
It does not care which filesystem the server uses (FAT , NTFS
or even a Linux ext4 harddisk) because this is transparently
handled over CIFS.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 12:35 pm

Thank you for your reply, but I put this line in fstab:
//11.nn.nn.nn/g /mnt/admin cifs username=****,password=****,rw,file_mode=0777,dir_mode=0777,noperm 0 0

As you suggested and did: sudo mount -a

Still comes up error 112.

I'm also getting an I/O error (5) on a samba NAS I have.

It seems all I can attach to IS the XP machine... :(

(You did mean ****, right? There's no user/pw, and I've tried the 'guest' option instead of un/pw)
Last edited by mikorians on Mon Dec 22, 2014 8:40 pm, edited 1 time in total.

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 1:53 pm

Where did that 11.xx.xx.xx IP address come from? Home networks are normally in 10.xx.xx.xx/8, 172.[16-31].xx.xx/16 or 192.168.xx.xx/24 blocks (or the link-local 169.254.xx.xx/16 block).

The 11.xx.xx.xx/8 block belongs to the United States Department of Defense (and I bet they won't like you stealing it).
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 2:06 pm

He he.
I was using 10. But it wasn't valid for something or other.
The network is seldom connected to the internet and goes through so many router and remapping points when it IS plugged in that I'm sure it doesn't matter.
No probs in 30 years.

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 2:23 pm

mikorians wrote: The network is seldom connected to the internet and goes through so many router and remapping points when it IS plugged in that I'm sure it doesn't matter.
Until you break something.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 2:31 pm

IP address aside...

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 2:36 pm

Does the /mnt/admin directory exist before you attempt to mount the cifs filesystem?

Error (5) means you've either got the username or password wrong. Rather than putting credentials in clear text in /etc/fstab take a look at using a CIFS credentials file (which you can better protect from prying eyes).

Also since you have a NAS, have a look whether it can do NFS (network file system), because that's a whole lot easier to use with Linux systems.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 6:06 pm

OK, the cheap old NAS has a web manger at the IP address, that DOES require a un/pw, but I'm supposed to be able to access the /Public dir without one, and it's samba only I think. Maybe it's because I'm not calling it by name instead of IP number? Naw...

I might have bad settings in my smb.conf file.

I don't want to confuse myself with ANOTHER configuration file yet. I'd like to go BACK to using temporary mount at the command line even.

mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 7:54 pm

I am wondering if ncpfs is the type of filesystem I should use for a windows 98 share???

User avatar
DougieLawson
Posts: 38883
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 8:03 pm

mikorians wrote:I am wondering if ncpfs is the type of filesystem I should use for a windows 98 share???
Hold one while I program the DeLorean's flux capacitor for the mid 1990's.









Steer well away from the thing.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

mikorians
Posts: 33
Joined: Sun Dec 07, 2014 3:43 am

Re: Mount and windows 98 Recyc PC

Mon Dec 22, 2014 8:38 pm

Ha! Enough permutations -no thanks- and access GRANTED.
FEI:

sudo mount //PCNAME/SHARE /mnt/diryoumade -o servern=PCNAME ,ip=nnn.nnn.nnn.nnn,workgroup=WORKGROUP,guest

Note entries MUST be in UPPER-CASE!!!!!!

Return to “Beginners”