cant mount samba or nfs share!

t0m5k1

Member
Joined
Sep 1, 2009
Messages
7
Reaction score
0
Points
0
Age
50
My Satellite Setup
ipv4&6 lan
m0n0wall gateway
2x ubuntu servers web/media & test/mail
1x winXP/ubuntu desktop 3Ghz/3Gb ram/dual monitor(3000x1200)
1x D-Link DSM520 media player
DM500S ->28.2E via 1 minidish, 1 lnb (quad)
(2x slyboxes not owned by me tho! shared
My Location
United Kingdom
Hi there
firstly thnx for a great forum.

ok i have a dm500s running the darkstarII image
i seem to be having great issue's trying to mount my samba & nfs share
i know these share are setup correctly as i have 10 pc's (mix of windows/mac/linux) which can all access the shares fine except for my dreambox!

my dreambox has the correct ip address & it can access the web so it aint that

i have tried to setup the samba shares as NFS shares too & again everything on my lan canm access them but the dreambox refuses to and reports:

/var/mnt/Films > smbmount //192.168.1.1/data2 /mnt/Films PASSWORD -U tom
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Server time is Sun Sep 6 15:30:54 2009
Timezone is UTC+1.0
Session setup failed for username=tom myname=DREAMBOX destname=192.168.1.1 ERRDOS - ERRnoaccess (Access denied.)
You might find the -U, -W or -n options useful
Sometimes you have to use `-n USERNAME' (particularly with OS/2)
Some servers also insist on uppercase-only passwords

yes this is from a telnet session to my dreambox as enigma does not display the full error!

the local folder /mnt/Films is present (created via enigma & therefore it has the correct permissions)

the samba server is NOT locked to allow access to these shares from certain IP addresses as i trust my lan & firewwall so i know it is not that!

i have tried to use CIFS aswell but i get the same problem.
i have tried to add the share via enigma tv interface & web gui aswell as telnet and all have failed!

please can someone assit me in this.
 

mhku

Super Moderator
Staff member
Joined
Mar 8, 2005
Messages
4,712
Reaction score
20
Points
38
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
Sounds like you know what you're doing but

//192.168.1.1/data2

is the shared folder on your PC and the username is tom with a pwd of PASSWORD (no flag to signify pwd ?). Cases as written? Username tom has rw permissions?
 

LowNoiseBloke

Member
Joined
Jun 13, 2009
Messages
47
Reaction score
7
Points
8
Age
78
Location
S.Staffs., U.K.
My Satellite Setup
Force Frontier 90,2xEmp-Centauri P168(28.2,23.5,19.2,16,13,9,5E,5W)
Vu+Duo2 & Now TV, Amazon Fire TV & Droidbox X7,
Buffalo Linkstation,
Pace TDS850NB Sky+HD,
Ubuntu/Fedora servers,
Technisat AirStar/Freeview.
My Location
South Staffs. U.K.
This is probably a permissions problem or some obscure finger trouble typing the command into the dreambox, also make sure the servers and the DM500 are in the same sub net. I would avoid smbmount and use mount specifying either NFS or CIFS. The following commands work for me in user scripts resident on my DM7000. They mount shared directories on Ubuntu (SMB/CIFS) and Fedora (NFS) :

mount -t cifs -o username=whoever,password=passwd //192.168.0.2/Recordings /var/mnt/smb
mount -t nfs -o nolock 192.168.0.1://mnt/hdb2/Recordings /var/mnt/nfs

Just substitute your i/p address, directories,username and password
Hope this helps.
 

compufunk

Regular Member
Joined
May 7, 2008
Messages
1,658
Reaction score
1
Points
38
My Satellite Setup
DM 600-S, VU+ Duo,
Moteck SG2100, Fracarro Penta 85 dish, LG LH3000 42" TV + some computers
My Location
NW, Ireland
You'll find that some software compiled from sources that were not intended for the dreambox platform, just dont behave as you would expect.
t0m5k1 said:
/var/mnt/Films > smbmount //192.168.1.1/data2 /mnt/Films PASSWORD -U tom
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Whats unusual about the above is that you have put the password paramater in front of the username (in the case of most commands, its usually other way around).

I'd also wonder why its being specified that interface 127.0.0.1 has been added. If this loopback address is what is being set as your IP address, you'll only ever be able to connect to the dreambox itself.
 

t0m5k1

Member
Joined
Sep 1, 2009
Messages
7
Reaction score
0
Points
0
Age
50
My Satellite Setup
ipv4&6 lan
m0n0wall gateway
2x ubuntu servers web/media & test/mail
1x winXP/ubuntu desktop 3Ghz/3Gb ram/dual monitor(3000x1200)
1x D-Link DSM520 media player
DM500S ->28.2E via 1 minidish, 1 lnb (quad)
(2x slyboxes not owned by me tho! shared
My Location
United Kingdom
Hi guy's thnx for your responses :)


i ended up on command line as the enigma ui does not give a detailed enough error to figure out what is stopping it

i went through the 'normal' way to set this up & it failed regardless of weather i told it to use NFS CIFS or SNBFS

the image i run is the nabilosat darkstar2 which from what i read has smb capabilities.

i think the DM is binding the share to localhost as stated in the output from telnet cli

i constructed the command that way as it is how it says to do it when you run

smbmount --help


i will rerun the command with user & password the other way round & try the other suggestions :)

BUT this does not explain why this mount fails when i do it via enigma ui!

thanks again for all your advice on this when i get it working i'll drop the process here for reference.

also is there a way to install other codecs onto the dreambox?
 

LowNoiseBloke

Member
Joined
Jun 13, 2009
Messages
47
Reaction score
7
Points
8
Age
78
Location
S.Staffs., U.K.
My Satellite Setup
Force Frontier 90,2xEmp-Centauri P168(28.2,23.5,19.2,16,13,9,5E,5W)
Vu+Duo2 & Now TV, Amazon Fire TV & Droidbox X7,
Buffalo Linkstation,
Pace TDS850NB Sky+HD,
Ubuntu/Fedora servers,
Technisat AirStar/Freeview.
My Location
South Staffs. U.K.
I advise against smbmount because without clever Linux operators in the command line it goes into a dialog with the user which needs a second line to be entered at the smb prompt to complete the mount :

~ > smbmount //192.168.0.2/Recordings PASSWORD=whatever -U whoever
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Server time is Thu Sep 10 18:36:33 2009
Timezone is UTC+1.0
Domain=[XYZDOMAIN] OS=[Unix] Server=[Samba 3.0.28a]
security=share

smb: \> mount /var/mnt/cf

This sequence of commands entered to my DM7000 in a telnet session mounts a samba share from ubuntu that is accessible as /cf on the dreambox. However I can accomplish the same in a single line mounting the samba share as a CIFS volume (see previous post).

Still can't help thinking your problem is either permissions or finger trouble
CIFS should be bullet proof. If you're a real Linux guru you might get smbmount to work but remember you'll probably want to encapsulate it into some script that you can execute at start-up or as and when you need it rather than type in the command every time.
 

t0m5k1

Member
Joined
Sep 1, 2009
Messages
7
Reaction score
0
Points
0
Age
50
My Satellite Setup
ipv4&6 lan
m0n0wall gateway
2x ubuntu servers web/media & test/mail
1x winXP/ubuntu desktop 3Ghz/3Gb ram/dual monitor(3000x1200)
1x D-Link DSM520 media player
DM500S ->28.2E via 1 minidish, 1 lnb (quad)
(2x slyboxes not owned by me tho! shared
My Location
United Kingdom
mount -t cifs -o username=whoever,password=passwd //192.168.0.2/Recordings /var/mnt/smb

this worked & mounted the directory

but now it has progressed to a display problem

all my files are .avi files (divx,xvid & dvd files)

enigma wont display them in filemode

[just for reference im now running Gemini_0460_DM500_NObomb.img as this has a nice ui & big /var folder + no bomb :) ]

via telnet i can see the files when i run:
ls /var/mnt/Films

so i know the base os can see them

(damn i gotta turn logging on)

i was wondering if i need to install some libraries for divx play back or i may need to make enigma 'aware' of .avi files & how to handle them.
can anyone confirm this or suggest an image that has max /var & decent selection of codecs/libraries?
 

compufunk

Regular Member
Joined
May 7, 2008
Messages
1,658
Reaction score
1
Points
38
My Satellite Setup
DM 600-S, VU+ Duo,
Moteck SG2100, Fracarro Penta 85 dish, LG LH3000 42" TV + some computers
My Location
NW, Ireland
When you browse with using the file mode menu, you'll only see files that the DM500 can play, I'm afraid your out of luck because Divx, AVI, WMV....... are not files a DM500 can natively play.

It will only play MPEG2 files..... .MPG, .MPEG, .TS

You cant just install libraries/codecs because the processor would not be up to decoding non MPEG2 formated files. The MPEG2 files are decoded by a chip which is hard wired for decoding that standard.

If you really want to play your divx, etc files via the dreambox. Look into the VLCF plugin.

Using a combination of VLCF on the dreambox and VLC on a computer, you can stream these videos to the dreambox in a format it understands.

To be honest this can be iffy. Sometimes the stream keeps crashing and its not exactly easy to get back to where you left off, if you can be bothered.

I've taken to converting files before watching. That way you get uninterupted viewing.
 

t0m5k1

Member
Joined
Sep 1, 2009
Messages
7
Reaction score
0
Points
0
Age
50
My Satellite Setup
ipv4&6 lan
m0n0wall gateway
2x ubuntu servers web/media & test/mail
1x winXP/ubuntu desktop 3Ghz/3Gb ram/dual monitor(3000x1200)
1x D-Link DSM520 media player
DM500S ->28.2E via 1 minidish, 1 lnb (quad)
(2x slyboxes not owned by me tho! shared
My Location
United Kingdom
thnx Compufunk

i tell you i worry about myself sometimes
i get into the habbit of dumping my brain into threads which as you can see is a bad idea!!!

i realise now what i said & it is wrong i dont know why i wrote it coz i have a
D-LINK DSM520 to play my files lol

i'll be using the DM500S to record to the shared folder doh!

thnx for all your help here guy's

cant wait to get my second dish & disceq switch :)
 
Top