Page 1 of 1
[RESOLVED] Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 2:16 am
by mikorians
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+
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 8:43 am
by ghans
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
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 12:35 pm
by mikorians
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)
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 1:53 pm
by DougieLawson
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).
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 2:06 pm
by mikorians
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.
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 2:23 pm
by DougieLawson
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.
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 2:31 pm
by mikorians
IP address aside...
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 2:36 pm
by DougieLawson
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.
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 6:06 pm
by mikorians
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.
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 7:54 pm
by mikorians
I am wondering if ncpfs is the type of filesystem I should use for a windows 98 share???
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 8:03 pm
by DougieLawson
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.
Re: Mount and windows 98 Recyc PC
Posted: Mon Dec 22, 2014 8:38 pm
by mikorians
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!!!!!!