cifs module for enigma 2

k2k2000

Registered
Messages
727
Common Internet File System (CIFS).

copy module to /lib/modules/
or
/var/lib for flash version
from telnet run
Code:
insmod /lib/modules/cifs.ko
Code:
mount -t cifs -o username=root,password=relook //[B]192.168.0.1[/B]/[B]winxp[/B] /media/cifs
192.168.0.1 = you pc ip;server_ip
winxp = sharefolder on your pc.

to make enigma2 mount server automatically after reboot.
edit /etc/init.d/mountall
and add
Code:
insmod /lib/modules/cifs.ko
wait 2
mount -t cifs //192.168.0.1/winxp /media/cifs -o username=root,password=relook
just over the line
: exit 0
 

veskop

Registered
Messages
95
Common Internet File System (CIFS).

copy module to /lib/modules/
or
/var/lib for flash version
from telnet run
Code:
insmod /lib/modules/cifs.ko
Code:
mount -t cifs -o username=root,password=relook //[B]192.168.0.1[/B]/[B]winxp[/B] /media/cifs
192.168.0.1 = you pc ip;server_ip
winxp = sharefolder on your pc.

to make enigma2 mount server automatically after reboot.
edit /etc/init.d/mountall
and add
Code:
insmod /lib/modules/cifs.ko
wait 2
mount -t cifs //192.168.0.1/winxp /media/cifs -o username=root,password=relook
just over the line
: exit 0

i get this error :

mount: mounting \\192.168.1.101\Relook on /media/cifs failed: Permission denied
 

veskop

Registered
Messages
95
veskop
create a new directory /media/cifs
and try again.


now I get this :


cuberevo login: root


BusyBox v1.11.0 (2008-06-26 14:04:20 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

cuberevo:~# mount -t cifs //192.168.1.101//VESKO /Relook /media/cifs -o username
=Vesko,password=panov
BusyBox v1.11.0 (2008-06-26 14:04:20 CEST) multi-call binary

Usage: mount [flags] DEVICE NODE [-o options,more-options]

Mount a filesystem. Filesystem autodetection requires /proc be mounted.

Options:
-a Mount all filesystems in fstab
-f don't mount
-r Read-only mount
-t fs-type Filesystem type
-w Read-write mount (default)
-o option:
loop Ignored (loop devices are autodetected)
[a]sync Writes are asynchronous / synchronous
[no]atime Disable / enable updates to inode access times
[no]diratime Disable / enable atime updates to directories
[no]dev Allow use of special device files / disallow them
[no]exec Allow use of executable files / disallow them
[no]suid Allow set-user-id-root programs / disallow them
[r]shared Convert [recursively] to a shared subtree
[r]slave Convert [recursively] to a slave subtree
[r]private Convert [recursively] to a private subtree
[un]bindable Make mount point [un]able to be bind mounted
bind Bind a directory to an additional location
move Relocate an existing mount point
remount Remount a mounted filesystem, changing its flags
ro/rw Mount for read-only / read-write

There are EVEN MORE flags that are specific to each filesystem
You'll have to see the written documentation for those filesystems

cuberevo:~#
 

k2k2000

Registered
Messages
727
cifs 4 enigma2

cuberevo:~# mount -t cifs //192.168.1.101//VESKO /Relook /media/cifs -o username
=Vesko,password=panov

what is your network share name? VESKO or Relook ?

try
Code:
insmod /lib/modules/cifs.ko
mount -t cifs //192.168.1.101/VESKO /media/cifs -o username=Vesko,password=panov
 

veskop

Registered
Messages
95
what is your network share name? VESKO or Relook ?

try
Code:
insmod /lib/modules/cifs.ko
mount -t cifs //192.168.1.101/VESKO /media/cifs -o username=Vesko,password=panov

I get this :

cuberevo:~# insmod /lib/modules/cifs.ko
insmod: cannot insert '/lib/modules/cifs.ko': File exists
cuberevo:~#

shared folder is Relook
 

k2k2000

Registered
Messages
727
insmod: cannot insert '/lib/modules/cifs.ko': File exists
module already loaded. GOOD

just remplace VESKO by Relook

mount -t cifs //192.168.1.101/Relook /media/cifs -o username=Vesko,password=panov
 
Last edited:

veskop

Registered
Messages
95
nsmod: cannot insert '/lib/modules/cifs.ko': File exists
module already loaded. GOOD

just remplace VESKO by Relook

mount -t cifs //192.168.1.101/Relook /media/cifs -o username=Vesko,password=panov


Permission denied

again .... :(

May be its because I use Windows 7....?
 

veskop

Registered
Messages
95
Permission denied

again .... :(

May be its because I use Windows 7....?


OK,I try on my second laptop with Win XP

I load module succesfull,and when I try to mount,putty hangs :(


cuberevo login: root


BusyBox v1.11.0 (2008-06-26 14:04:20 CEST) built-in shell (ash)
Enter 'help' for a list of built-in commands.

cuberevo:~# insmod /lib/modules/cifs.ko
cuberevo:~# mount -t cifs -o username=Daniela,password=getsova //192.168.1.100/Downloads /var/dm

...and nothing happens :)
 

k2k2000

Registered
Messages
727
Which enigma2 version you have?

why you have old busybox version ?
BusyBox v1.11.0 (2008-06-26 14:04:20 CEST)
 

k2k2000

Registered
Messages
727
how do you make share on you pc xp ?
46119499c564b2d5f0.jpg


maybe router or firewall is blocking cifs port 445.
 

k2k2000

Registered
Messages
727
i have sifteam +updated PKT on USB
Code:
cuberevo mini login: root

[B]BusyBox v1.11.2 (2009-01-04[/B] 18:57:44 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

cuberevo mini:~#
 

veskop

Registered
Messages
95
i have sifteam +updated PKT on USB
Code:
cuberevo mini login: root

[B]BusyBox v1.11.2 (2009-01-04[/B] 18:57:44 CET) built-in shell (ash)
Enter 'help' for a list of built-in commands.

cuberevo mini:~#

mine is edited PKT version,its more stable than Sif team + PKT
 
Top