idiotSavant
Member
- Joined
- Aug 11, 2006
- Messages
- 9
- Reaction score
- 0
- Points
- 0
- Age
- 96
- My Satellite Setup
- dm500 Gemini 3
- My Location
- Oxfordshireshire
Firstly, apologies if you've seen this posted on another forum - I'm desperate!
I'm trying to mount a drive that works perfectly well when attaching from a PC or laptop.
In an attempt to get it working, I haven't set a password. It's a NAS box which has no way to set a user, although looking at ways of setting up CIFS, it shouldn't pose a problem.
The syntax I have tried is:
mount -t cifs //192.168.1.252/dreambox /hdd -o user=db,password=db
- this works fine mounting PC and laptop drives to the dreambox, but returns "mount: Mounting //192.168.1.252/dreambox on /hdd failed: Not a directory" when attempting the NAS box.
After a bit of searching, I discovered the smbmount command. Typing:
smbmount //192.168.1.252/dreambox -I 192.168.1.252 -N
then "mount /hdd" at the "smb: \>" prompt mounts the drive, as the mount command shows:
//192.168.1.252/DREAMBOX on /var/mnt/hdd type smbfs (rw,nodiratime,file_mode=0755,dir_mode=0755)
I've tried mounting //192.168.1.252/DREAMBOX as well - this also gives the "Not a directory" error (I guess that the capitalisation is a FAT32 thing).
Any ideas, or do I need to script the smbmount command ?
If anyone is interested, it's from Maplins. The first box I got didn't work, which is a common problem.
The box works OK when mounted - record and playback with little or no stutter, although the dreambox refuses to record some channels - I think that this may be related to the names that the box gives the recordings.
But for 35 quid + disk I really can't complain.
I'm trying to mount a drive that works perfectly well when attaching from a PC or laptop.
In an attempt to get it working, I haven't set a password. It's a NAS box which has no way to set a user, although looking at ways of setting up CIFS, it shouldn't pose a problem.
The syntax I have tried is:
mount -t cifs //192.168.1.252/dreambox /hdd -o user=db,password=db
- this works fine mounting PC and laptop drives to the dreambox, but returns "mount: Mounting //192.168.1.252/dreambox on /hdd failed: Not a directory" when attempting the NAS box.
After a bit of searching, I discovered the smbmount command. Typing:
smbmount //192.168.1.252/dreambox -I 192.168.1.252 -N
then "mount /hdd" at the "smb: \>" prompt mounts the drive, as the mount command shows:
//192.168.1.252/DREAMBOX on /var/mnt/hdd type smbfs (rw,nodiratime,file_mode=0755,dir_mode=0755)
I've tried mounting //192.168.1.252/DREAMBOX as well - this also gives the "Not a directory" error (I guess that the capitalisation is a FAT32 thing).
Any ideas, or do I need to script the smbmount command ?
If anyone is interested, it's from Maplins. The first box I got didn't work, which is a common problem.
The box works OK when mounted - record and playback with little or no stutter, although the dreambox refuses to record some channels - I think that this may be related to the names that the box gives the recordings.
But for 35 quid + disk I really can't complain.