how to network mount

ellie1998

Inactive User
Joined
May 7, 2005
Messages
5,744
Reaction score
927
Location
here
https://rapidshare.com/files/1920920600/S99dw.sh.tar.gz
extract the S99dw.sh file and edit the last line to suit your share.
put it into /etc/init.d and chmod 755
after a reboot the box will go to 107%, if it doesn't then you havn't chmod 755

this is not for use on a dw modified image just ur or iq images, this is also a temporary fix and as said only for non dw modified images.

my internet is iffy so if I don't answer questions it doesn't mean i'm ignoring just that i can't get on.
 
Do you want me to add this to the Ppanel m8?

i only havent added it before, as people would ask about booting to 107%, but, with the new advanced Ppanel, i can include an on screen writeup to explain about it
 
yes please but they need to change the last line to suit their share.
I will do another one over the weekend with the last line hash out and some info on what does what in the line.
could always get the iq boys to include it but then ur never did bother so why should they.
 
Hi when i click on the link i see 0mb size and i cant download it, please digi add this to the Ppanel thanks to both u guys for ur hard work
 
it's not 0byte it's 175bytes :)
make a file called S99dw.sh
put this in it
Code:
You don't have permission to view the code content. Log in or register now.
must have something in the username even if your share has nothing
//192.168.1.35/films is my server
/media/share is created by this script.
don't forget to chmod 755 or it won't run
 
downloaded fine for me raju3 although when it finished it shows Download: S99dw.sh.tar.gz (0.00 MB) at top of the page :err: but un rarred fine
 
Removed the last line but still cant get this to work, should it just load when you press media button?
 
Will this work
Code:
You don't have permission to view the code content. Log in or register now.

Is there a user on the PC by the name of w with permissions on the folder?

It might be worth putting a password on the share folder at first in case it doesn't like it - like some ftp clients for example

Stick to lower case single word folder or use _ if necessary just while you double check it's working

From media player you still need to browse to internal flash/media/share....

You can press menu in media player and select edit settings to change this permanently
 
Is there a user on the PC by the name of w with permissions on the folder?

It might be worth putting a password on the share folder at first in case it doesn't like it - like some ftp clients for example

Stick to lower case single word folder or use _ if necessary just while you double check it's working

From media player you still need to browse to internal flash/media/share....

You can press menu in media player and select edit settings to change this permanently

Permission is set to everyone using win7 guess i can put my windows login details right?
 
you can't mount 2 locations to /media/share
check your mount lines
try
#!/bin/sh
eval insmod /lib/modules/2.6.24.7_nxp.full.dev/kernel/fs/cifs/cifs.ko
mkdir /media/share
#mount -t cifs -o rw,username=w,password= //192.168.1.48/Videos /media/share
#mount -t cifs -o rw,username=w,password= //192.168.1.48/Newsleecher Downloads /media/share
reboot the box and telnet in then try the mount lines without the #
I think for 2 mounts it would need to be something like
#!/bin/sh
eval insmod /lib/modules/2.6.24.7_nxp.full.dev/kernel/fs/cifs/cifs.ko
mkdir /media/share
mkdir /media/share/1
mkdir /media/share/2
mount -t cifs -o rw,username=w,password= //192.168.1.48/Videos /media/share/1
mount -t cifs -o rw,username=w,password= //192.168.1.48/Newsleecher Downloads /media/share/2
but I havn't tested it and you need to test your mount lines in a telnet session 1st

I don't understand why you would name a share Newsleecher Downloads ?

@vectorz if you don't have a password then you still need to put in something or the mount will fail, don't know why but it does. I don't have passwords on my home computer I don't allow people I don't trust into my house and I have nothing to hide from my family.
 
you can't mount 2 locations to /media/share
check your mount lines
try

reboot the box and telnet in then try the mount lines without the #
I think for 2 mounts it would need to be something like

but I havn't tested it and you need to test your mount lines in a telnet session 1st

I don't understand why you would name a share Newsleecher Downloads ?

@vectorz if you don't have a password then you still need to put in something or the mount will fail, don't know why but it does. I don't have passwords on my home computer I don't allow people I don't trust into my house and I have nothing to hide from my family.

Because that what the folder was call and it just easier as everyone on network knows exactly whats in that folder. So if I dont setup username & pass the it wont mount?
 
I use the following in my script:

mkdir media/watch
mkdir media/watch/tv
mkdir media/watch/tv2
mkdir media/watch/films
mkdir media/watch/films2
mkdir media/watch/kids_film
mkdir media/watch/kids_tv
mkdir media/watch/music

mount -t cifs -o ro,username=*****,password=****** //192.168.0.2/tv /media/watch/tv
mount -t cifs -o ro,username=*****,password=****** //192.168.0.2/tv2 /media/watch/tv2
mount -t cifs -o ro,username=*****,password=****** //192.168.0.2/film /media/watch/films
mount -t cifs -o ro,username=*****,password=****** //192.168.0.2/film2 /media/watch/films2
mount -t cifs -o ro,username=*****,password=****** //192.168.0.2/kids_film /media/watch/kids_film
mount -t cifs -o ro,username=*****,password=****** //192.168.0.2/kids_tv /media/watch/kids_tv
mount -t cifs -o ro,username=*****,password=****** //192.168.0.2/music /media/watch/music

I would've thought if trying to mount to existing place then it'd error but first mount would still work
 
Because that what the folder was call and it just easier as everyone on network knows exactly whats in that folder. So if I dont setup username & pass the it wont mount?

I'm not sure if Ellie is saying pc share doesn't need password but need to put something in password on script, and it will mount anyway

As for user, just use username and password for any existing user on the pc that has permission on share. You can even create a new user that'll never be used if you're worried about putting sensitive username/password in box.

The share doesn't have to have the same name as the folder being shared
 
Last edited:
Just created a test share to see if it works
Code:
You don't have permission to view the code content. Log in or register now.

Didnt work for me, might be a windows7 thing?
 
Last edited:
what was the error in the telnet session for the mount line ?
the w for if you have no password for your computer login, the mount line wants to see something.
As i said earlir I don't understand why home users have a password on their computers.
 
As i said earlir I don't understand why home users have a password on their computers.

I don't want my 2 young girls seeing my documents relating to resedency court case, amongst others, and also I don't want them getting access to adult rated films or screwing up a 10 year mp3 collection
 
what was the error in the telnet session for the mount line ?
the w for if you have no password for your computer login, the mount line wants to see something.
As i said earlir I don't understand why home users have a password on their computers.

What OS are you running? I have the folder shared with everyone but still cant get it to work
 
Back
Top