Expert Setup

billnot

billnot

Growing Old Disgracefully
Messages
242
My Satellite Setup
Famaval 3,1, IP9000HD plus other FTA and Linux boxes - Astra 1&2, Hotbird, Hispasat
My Location
Benitachell, Alicante, Spain
This may seem like a silly question (and it probably is).
I bought a Dreambox 7025 a week ago, and I've learnt a lot about it.

However, many times, stuff I've researched on the web says "go into Menu->Setup->Expert Setup "

I have NO "expert setup" option.

I have (so far) tried with two images - the Dreambox official image and gemini2-230-dm7025-200704191601.

What I want to do as a priority is to get the Dreambox to be able to use shares on my LAN for which I need the communications menu.

I know what to do - I just can't find the ruddy menu concerned!

Thanks.
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
If it's the same as Geminii 3.1 then

Menu > 6 > Expert Setup > communication setup

You can also do it by telnetting into your box doing it using command line "stuff".

Try a search on "mount"; you're looking for some "mount -t " examples (if that makes sense).

If no-one else helps or you don't find it I'll have a look later (busy now).

Hope that helps. Or maybe a 7025 owner will help :)
 
billnot

billnot

Growing Old Disgracefully
Messages
242
My Satellite Setup
Famaval 3,1, IP9000HD plus other FTA and Linux boxes - Astra 1&2, Hotbird, Hispasat
My Location
Benitachell, Alicante, Spain
Thanks for the very quick reply, but if I press Menu and then 6 absolutely nothing happens!

I'm familiar with Linux, (I have a box running SuSE) and I can mount the share by Telnet, but it doesn't work as the box isn't a member of my workgroup - I assume the communication menu which I can't get at should let me input the correct workgroup.

I can confirm I have CIFs enabled
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
It's not a workgroup issue - it's a user issue.

You need to create a user called dream on the PC, give it rw rights and then use that user/ password when creating the mount on the Dreambox.

these give the general format (case sensitive):

mount -t cifs -o rw,nolock xxx.xxx.xxx.xxx:/ppppp /ddddd

or,

mount -t cifs -o user=dream,password=dream//192.168.0.1/ppppp /ddddd

xxx.xxx.xxx.xxx is the ip of the pc
ppppp is the shared folder on the pc
ddddd is the point where you want it mounted

the Dreambox folder may be /hdd or /mnt

some other posts that have the odd bit of related info:

http://www.satellites.co.uk/satellite/7020/88127-problem-configuring-samba-7020-a.html
 
billnot

billnot

Growing Old Disgracefully
Messages
242
My Satellite Setup
Famaval 3,1, IP9000HD plus other FTA and Linux boxes - Astra 1&2, Hotbird, Hispasat
My Location
Benitachell, Alicante, Spain
Although it doesn't answer my original question, you have shown me the way forward - I shall report back.

Thanks.
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
That method allows you to mount folders anywhere on your LAN.
 
billnot

billnot

Growing Old Disgracefully
Messages
242
My Satellite Setup
Famaval 3,1, IP9000HD plus other FTA and Linux boxes - Astra 1&2, Hotbird, Hispasat
My Location
Benitachell, Alicante, Spain
I've got it working through Telnet - thanks.

Can I assume that if I just edit /etc/fstab in the normal (Linux) way I can automount it?

I'm still a bit wary about treating it like an normal Linux setup.
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
There is an easier way (possibly)- Firefox. Open it up to your Dreambox IP address > COnfig > Mount Manager

Not sure how it deals with user/ passwords though.

Make a backup of fstab, edit it and see what happens. Man should show you what's around (or is it Help for Dreambox). For example, cron works on the Dreambox.
 
billnot

billnot

Growing Old Disgracefully
Messages
242
My Satellite Setup
Famaval 3,1, IP9000HD plus other FTA and Linux boxes - Astra 1&2, Hotbird, Hispasat
My Location
Benitachell, Alicante, Spain
mhku said:
There is an easier way (possibly)- Firefox. Open it up to your Dreambox IP address > COnfig > Mount Manager

Not sure how it deals with user/ passwords though.

Make a backup of fstab, edit it and see what happens.
It worked just fine! I'm a newbie to the Dreambox, but not to Linux, so I'm happier with conventional Linux ways.

I now have the whole gamut of multimedia files on my PC available to me on the Dreambox.

I have another problem which I'll start another thread for.

Thanks again.
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
Can you post a copy of your etc/fstab file (edited as needed) so we can add it to the knowledgebase of ways to mount drives?

Any comments would be great as well.

:)
 
billnot

billnot

Growing Old Disgracefully
Messages
242
My Satellite Setup
Famaval 3,1, IP9000HD plus other FTA and Linux boxes - Astra 1&2, Hotbird, Hispasat
My Location
Benitachell, Alicante, Spain
Here's my /etc/fstab.

It's not complicated, but it works - the last line is the relevant one.

rootfs / auto defaults 1 1
proc /proc proc defaults 0 0
devpts /dev/pts devpts mode=0620,gid=5 0 0
usbfs /proc/bus/usb usbfs defaults 0 0
/dev/mtdblock/2 /boot jffs2 ro 0 0
tmpfs /var tmpfs defaults 0 0
tmpfs /tmp tmpfs defaults 0 0
/dev/ide/host0/bus0/target0/lun0/part1 /media/hdd auto defaults 0 0
/dev/ide/host1/bus0/target0/lun0/part1 /media/cf auto defaults 0 0
//172.26.0.4/H /media/shares/H cifs rw,username=dream,auto, 0 0

Hope that helps somebody
 
mhku

mhku

Super Moderator
Staff member
Messages
4,712
My Satellite Setup
TM Nano ~ sg2100
My Location
Midlands
To break this down:

//172.26.0.4/H /media/shares/H cifs rw,username=dream,auto, 0 0
< 1st column: Device > = //172.26.0.4/H
< 2nd column: default mount point > = /media/shares/H
< 3rd column: Filesystem type > = cifs
< 4th column: Mount options > = rw,username=dream,auto,
< 5th and 6th columns: Dump and fsck options > = 0,0

where H is the shared folder on the PC, which is mounted as /media/shares/H
using a username (on the PC) of dream (and appears to have no password?) or might also be:

rw,username=dream,password=dream,auto,

? (or is it pwd= )?

For reference about fstab see:

_http://www.tuxfiles.org/linuxhelp/fstab.html
 
billnot

billnot

Growing Old Disgracefully
Messages
242
My Satellite Setup
Famaval 3,1, IP9000HD plus other FTA and Linux boxes - Astra 1&amp;2, Hotbird, Hispasat
My Location
Benitachell, Alicante, Spain
mhku said:
To break this down:




< 1st column: Device > = //172.26.0.4/H
< 2nd column: default mount point > = /media/shares/H
< 3rd column: Filesystem type > = cifs
< 4th column: Mount options > = rw,username=dream,auto,
< 5th and 6th columns: Dump and fsck options > = 0,0

where H is the shared folder on the PC, which is mounted as /media/shares/H
using a username (on the PC) of dream (and appears to have no password?) or might also be:

rw,username=dream,password=dream,auto,

? (or is it pwd= )?

For reference about fstab see:

_http://www.tuxfiles.org/linuxhelp/fstab.html
Yes, sorry about that - I should have commented this myself. You have it basically right.

The username and password are those that apply on the PC; I have (at your suggestion) created a user dream. However, it does not have a password. If the user you create on your PC has a password then you must include it in the options.

I made a directory share off /media, so that if I want more than one share in the future I can create them as necessary. I keep the directory name the same as the share name purely to make life easier.

If I give a fuller theoretical example, it may make things even clearer.

//192.168.x.x/sharename /media/shares/sharename cifs auto,owner,rw,username=dream,workgroup=wgname,password=passonpc,uid=xxx,gid=xxx 0 0

That hasn't formatted well in my preview - there's no space at all between auto, and gid=xxx inclusive.

Much as has been explained by you, but shows the correct format for adding username, password and workgroup, plus, should you need them (you shouldn't) uid and gid.


The link you gave is helpful for the basics of fstab, but the man page, useful but hard work, specifically for cifs is at

http://www.die.net/doc/linux/man/man8/mount.cifs.8.html
 
Top