Hi,
Thanks to Adam I now have a working network between my Linux machine and my Acorn Risc PC but in trying to mount the Risc PC discs I have created a problem. I have put some lines in the /etc/fstab file to mount -smbfs the 4 drives on the PC but I see errors when I boot the Linux box, presumably because at that point SMB is not running. What can I do to overcome the errors? I would ask you to bear in mind that I am likely to need a lot of help if the instructions are difficult.
On Tue, 3 Jul 2001, linux user stuff wrote:
problem. I have put some lines in the /etc/fstab file to mount -smbfs the 4 drives on the PC but I see errors when I boot the Linux box, presumably because at that point SMB is not running. What can I do to overcome the
Ok, I just want to clarify what you are trying to do.
You have a Acorn computer and a pc on a network, the Acorn is sharing its hard disks using SMB, you are then trying to mount the Acorns disks onto the PC using Samba?
Or is it the other way around and you are exporting the hard-disks with Samba and want to mount them on the Acorn so you can access them?
Also is the Acorn running Linux or that other OS that I can't remember the name of! I do remember the Acorn from school days, we used to play a 3d clone of the classic game Virus (where you flew a kind of UFO thing) and also some kind of 3d game where you had a tank.
Also can you tell us what the error messages are? I will also give you a hint for mounting SMB filesystems with linux, you want to use the program smbmount which I believe is part of the standard Samba distribution but I cant check properly as I don't really want to download 4Mb of files to find out!
HTH Adam
On Wed 04 Jul, Adam Bower wrote:
On Tue, 3 Jul 2001, linux user stuff wrote:
problem. I have put some lines in the /etc/fstab file to mount -smbfs the 4 drives on the PC but I see errors when I boot the Linux box, presumably because at that point SMB is not running. What can I do to overcome the
Ok, I just want to clarify what you are trying to do.
You have a Acorn computer and a pc on a network, the Acorn is sharing its hard disks using SMB, you are then trying to mount the Acorns disks onto the PC using Samba?
I have !Samba running on the Acorn machine and it's discs are all shared and I can see all of them from Windows (when the PC is running in that mode). I can also see the Windows disc from the Acorn using some software called !LanMan98.
Or is it the other way around and you are exporting the hard-disks with Samba and want to mount them on the Acorn so you can access them?
I'm also trying to access the Linux drive from Risc OS using !LanMan98 but haven't managed that bit yet. I'm not too worried about that at this stage.
Also is the Acorn running Linux or that other OS that I can't remember the name of! I do remember the Acorn from school days, we used to play a 3d clone of the classic game Virus (where you flew a kind of UFO thing) and also some kind of 3d game where you had a tank.
I'm a bit too old to be playing computer games but I think it was called Lander, or Elite or Air Supremacy and 'that other OS' is called Risc OS and is still very much alive. Pace now own the OS and use it in some of their set-top boxes.
Also can you tell us what the error messages are? I will also give you a hint for mounting SMB filesystems with linux, you want to use the program smbmount which I believe is part of the standard Samba distribution but I cant check properly as I don't really want to download 4Mb of files to find out!
I am using smb on the Linux box but as I said above, I think the errors are because the system is trying to mount the Acorn discs before smb is running on the Linux box. The errors btw are like this - [mntent]: line 10 in /etc/fstab is bad with the line being repeated with different line numbers for each of the drives.
linux user stuff wrote:
You may want to change the name you gave your email client :-)
I have !Samba running on the Acorn machine and it's discs are all shared and I can see all of them from Windows (when the PC is running in that mode). I can also see the Windows disc from the Acorn using some software called !LanMan98.
I'm also trying to access the Linux drive from Risc OS using !LanMan98 but haven't managed that bit yet. I'm not too worried about that at this stage.
I'm a bit too old to be playing computer games but I think it was called Lander, or Elite or Air Supremacy and 'that other OS' is called Risc OS and is still very much alive. Pace now own the OS and use it in some of their set-top boxes.
Lander. As I recall, Acorn did a bit of an Apple and created something technically rather good, but then made a bit of a hash of the marketing/sales. Lots of schools (inc. mine) bought the Archimedes, but no one else.
I am using smb on the Linux box but as I said above, I think the errors are because the system is trying to mount the Acorn discs before smb is running on the Linux box. The errors btw are like this - [mntent]: line 10 in /etc/fstab is bad with the line being repeated with different line numbers for each of the drives.
Samba is a creature of two parts. Smbd serves drives; that is, it lets another machine see your Linux drives. The other part of Samba is smbmount, which is a wrapper to mount.smb, and which you don't especially need. All I needed to do to get a NetBIOS (Samba-style) share mounted from a PC was to add this to my /etc/fstab:
//Richard/R\040Cooke /mnt/share smbfs auto,guest,rw,exec 0 0
(remember to mkdir /mnt/share; apologies if that is below your noddy level) The \040 is an escape sequence for space. Mount automagically realises it needs to use mount.smb to mount smbfs, calls it for you, and everything is happy. In the boot sequence you should see 'Mounting SMB filesystems [ OK ]', but if it fails, try:
# mount /mnt/share
Everything to do with the share has to be done as root; I haven't figured out how to get it mounted with generous permissions.
You can add 'gid=ZZZ' to the options bit (with auto &c) to change the group id the share is mounted as, but the group doesn't have write permission. Anyone got any ideas as to how to get around this properly? You could always hack something into your init scripts (/etc/rc.d/init.d/local on Mandrake 8, as I recall) to change the permissions on the mount.
Hope this helps, Alexis