![]() |
2010-05-21
, 12:03
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#2
|
#!/bin/sh mount -t cifs //192.168.0.2/multimedia /home/user/MyDocs/tmp/ -o username=Lippivan,MYUSERNAME=MYPASSWORD,iocharset=utf8,file_mode=0777,dir_mode=0777
chmod 755 smb_mount.sh
The Following User Says Thank You to Joorin For This Useful Post: | ||
![]() |
2010-05-21
, 12:12
|
Posts: 74 |
Thanked: 19 times |
Joined on Dec 2009
|
#3
|
![]() |
2010-05-21
, 14:07
|
Posts: 692 |
Thanked: 264 times |
Joined on Dec 2009
|
#4
|
![]() |
2010-05-21
, 14:15
|
Posts: 726 |
Thanked: 345 times |
Joined on Apr 2010
@ Sweden
|
#5
|
thx Joorin, I've already tried the way with the script, i always geht a "Permission denied" when i want to start it out of x-terminal. and yes, i did make it executeable.
![]() |
2010-05-21
, 14:21
|
|
Posts: 844 |
Thanked: 521 times |
Joined on Jan 2009
@ UK southampton
|
#6
|
![]() |
2010-05-21
, 14:22
|
Posts: 692 |
Thanked: 264 times |
Joined on Dec 2009
|
#7
|
Mounting requires root bits. So, become root and call the script or make it suid root as suggested above.
EDIT: suid root wasn't suggested so I suggest that now.
![]() |
2010-05-21
, 16:42
|
Posts: 74 |
Thanked: 19 times |
Joined on Dec 2009
|
#8
|
with titan's kernel the smb shares are working really great (i can finally stream my movie collection from my fileserver without the need of the lacking upnp support)
i mounted my shares to a tmp directory with the following command
i don't want to type the code everytime i restart my phone, so i tried to modify the /etc/fstab. as it seems, the fstab gets autogenerated everytime i reboot the phone.
is there any other way to permanetly mount my samba shares? (i've already tried wizard mounter, but streaming videos does only work very laggy with it)
thx in advance!
Last edited by LippiVan; 2010-05-21 at 11:58. Reason: Typo