Welcome!

Welcome to Satlover forums, full of great people, ideas and excitement.

Please register if you would like to take part. link..

Register Now

Alert: Don't Use Hotmail Email Accounts for registration

Collapse

Before Access to all Forums and Trial accounts you must need to activate your account Email address

DM500s - How to Network Mount?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts

  • gianni253
    replied
    Re: DM500s - How to Network Mount?

    In openpli /var/etc/init should be a file, not a directory !

    Try adding your command at the end of this file.
    This file is executed just after network boot but, to be safe, I would add a "sleep 30" before the mount command so we are sure that network boot is complete.

    Leave a comment:


  • smsmstreet
    replied
    Re: DM500s - How to Network Mount?

    thanks for ur time gianni i appreciate ur help .. here is what happened .. in /var/etc/ there is no init.d .. i only have init .. .. so i tired both directories i put my script once in the init but it didn't work after reboot ..and so i created the init.d directory in the /var/etc and put my script there and same effect no change while rebooting the receiver ... i tried on my other dm which have OpenPli too still same effect ..

    Leave a comment:


  • gianni253
    replied
    Re: DM500s - How to Network Mount?

    Originally posted by smsmstreet
    ... i found in the etc/init.d some srcipts i tried to edit them to put my own but it hit me with this ""cannot create myScript: Read-only file system
    Try inside var/etc/init.d (note the var at the beginning of the path).

    Leave a comment:


  • smsmstreet
    replied
    Re: DM500s - How to Network Mount?

    Originally posted by gianni253
    Ok, so now you only have to find out where your image keeps the S* (autostart) scripts.
    If you tell us what is your image we can give you an help ...

    OpenPLi image for the dm500 based on 1.09 ...
    i did another test .. i found in the etc/init.d some srcipts i tried to edit them to put my own but it hit me with this ""cannot create myScript: Read-only file system

    Leave a comment:


  • gpaolobvt
    replied
    Re: DM500s - How to Network Mount?

    Originally posted by gianni253
    If you have a micro$oft windows based pc you have to use cifs file system to exchange files between the two systems.
    Provided you have already a Windows share whose name is "my_win_share" and pc's ip address is 192.168.1.15, on your dm500 you have to issue the following commands:

    this is to create the mount directory (do it only once !)
    Code:
    mkdir /mnt/netpc
    this is to mount the network share:
    Code:
    mount -t cifs -o user=administrator,password=your_admin_password //192.168.1.15/my_win_share /mnt/netpc
    That's all mate !

    Great.
    in the past, i executed the same on an old decoder Dm6520, but using different protocol on PC.
    On my old windows system i installed SAMBA to let share its folder, then using telnet i executed the mount procedure on the decoder to connect the external device to the decoder.
    I used this to record movie from the decoder directly to the PC

    The power of Linux.

    Leave a comment:


  • gianni253
    replied
    Re: DM500s - How to Network Mount?

    Ok, so now you only have to find out where your image keeps the S* (autostart) scripts.
    If you tell us what is your image we can give you an help ...

    Leave a comment:


  • smsmstreet
    replied
    Re: DM500s - How to Network Mount?

    Originally posted by peremacedonia
    Here som tutorial with pictures i hope will help.
    thanks for the file alot but it was taking about mounting from the interface and i need to do it from the shell but thanks again

    Originally posted by gianni253
    We need informations about your image (E1, E2 ???).
    Anyway, assuming you have a dm500 (enigma1) you can write a user script, example "S81mount.sh", write the mount command inside it and save in /var/etc/rcS.d directory.
    Don't forget to chmod 755.
    Your mount command will be executed at every reboot .
    thanks alot gianni . for ur time and ur answers ..
    my sys info is like this .. its dm 500 with enigma 1 installed

    i followed ur guide but nothing happened .. First i didn't find any rcS.d dir in the /var/etc so i made it and made a script as u told me and named it S81mount.sh and put my mount as this" mount -t nfs4 nfsserver-name-or-ip:/data2 /mnt/nfs " command there .. but after restart nothing happened . ..

    i did test the script alone as i run it worked and mounted the shared forlder till i rebooted the dm only .. after the reboot it didnt auto mount and i had to reRun it again ..

    Leave a comment:


  • peremacedonia
    replied
    Re: DM500s - How to Network Mount?

    Here som tutorial with pictures i hope will help.
    Attached Files

    Leave a comment:


  • gianni253
    replied
    Re: DM500s - How to Network Mount?

    Originally posted by smsmstreet
    .. how to make the share Automount everytime from telnet "shell"
    We need informations about your image (E1, E2 ???).
    Anyway, assuming you have a dm500 (enigma1) you can write a user script, example "S81mount.sh", write the mount command inside it and save in /var/etc/rcS.d directory.
    Don't forget to chmod 755.
    Your mount command will be executed at every reboot .

    Leave a comment:


  • smsmstreet
    replied
    Re: DM500s - How to Network Mount?

    thanks BM300 for ur answer ... but this is not what i want .. i know i can make the share from many other tools .. what i need is .. how to make the share Automount everytime from telnet "shell"

    Leave a comment:


  • BM300
    replied
    Re: DM500s - How to Network Mount?

    Try using FlashWizard Pro 6.3, it has an option of PC disk sharing.

    Just ****** the name for many sites to download from.

    Leave a comment:


  • smsmstreet
    replied
    Re: DM500s - How to Network Mount?

    Hi all .. thanks for the lovely forum here .. ...
    i have got a question .. i can mount a nfs share successfully from the telnet with the mount command no problem .. my problem is how can i mange to auto mount it every time i do a restart (p.s i want to use the telnet to do it .. not the web interface ) .. i tried to put it in the /etc/fstab but it didn't do the trick .. so can anyone help me .. thanks

    Leave a comment:


  • kalpikos
    replied
    Re: DM500s - How to Network Mount?

    Is it nesesary to set a username and password on my pc ?
    Because I don't have any username or pass.
    Im running win7 and I enter to win directly without any pass having administrator's rights.
    Should I set some special username or pass in order to mount my hdd?

    Leave a comment:


  • gianni253
    replied
    Re: DM500s - How to Network Mount?

    Originally posted by kalpikos
    Thanks for your answer mate
    These commands , how can I give them?
    Telnet?
    Also , after that, how can I create a link for the folder "var/tuxbox/config/enigma/picon" ?
    Yes, all command from telnet and, when everything is working fine, you can put the command in a shell script so that you can run it with a button from remote control.

    If your mount point is "/mnt/netpc" you can create a "soft" symlink with the following command:
    Code:
    ln -s /mnt/netpc/ /var/tuxbox/config/enigma/picon

    Leave a comment:


  • luk4asz
    replied
    Re: DM500s - How to Network Mount?

    These commands , how can I give them?
    Telnet? < Yes, Telnet or SSH
    Also , after that, how can I create a link for the folder "var/tuxbox/config/enigma/picon" ? < maybe ln

    Code:
    http://en.wikipedia.org/wiki/Ln_(Unix)

    Leave a comment:

Working...