Sponsored links


Go Back   Sat Industry Forums > Dreambox > DB Images > Gemini images
Register FAQ Members List Calendar Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-12-2006
Registered User
 
Join Date: Oct 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
avatar69008 is on a distinguished road
Samba Server on 7020 with Gemini 3.1

Hi,
I looking about informations for configure, start and use samba on gemini 3.1 (for share the hdd on a lan)
It's seems that samba 3.0 is include but i'm not sure.
If files smb.conf and user.map are right like samba v2.0 where put them ?
Reply With Quote
Sponsored links
  #2 (permalink)  
Old 11-12-2006
papoulis's Avatar
Banned
 
Join Date: Oct 2005
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
papoulis is on a distinguished road
Re: Samba Server on 7020 with Gemini 3.1

after you intsall the samba for 7020 plugin you must go into /etc/rc2.d and correct the link S90samba to point to ../init.d/samba and not /etc/init.d/S90samba (which doesnt exist)
just go into /etc/rc2.d and give
rm S90samba
ln -sf ../init.d/samba S90samba
this is an error of the Samba plugin not Gemini

then, if there is no error in smb.conf samba should work

In my case IT DOESNT start on boot as it should (THIS is a Gemini error)
so i have to give /etc/init.d/samba start after every reboot
Reply With Quote
  #3 (permalink)  
Old 11-13-2006
Registered User
 
Join Date: Oct 2004
Posts: 32
Thanks: 0
Thanked 0 Times in 0 Posts
avatar69008 is on a distinguished road
Re: Samba Server on 7020 with Gemini 3.1

Hi,

Thanks for your reply.
After few tests and search that works.

For start samba , you right it doens't start at boot...so i have put a small user script for start it with remote control, more easy than a telnet command...
But i'll do the change that you indicate, it's better.

Do you know where i can get information about all configuration for smb.conf ?
Reply With Quote
  #4 (permalink)  
Old 11-13-2006
papoulis's Avatar
Banned
 
Join Date: Oct 2005
Posts: 130
Thanks: 0
Thanked 0 Times in 0 Posts
papoulis is on a distinguished road
Re: Samba Server on 7020 with Gemini 3.1

no i dont ... its common in all unix and linux systems

also i discovered that if i put the image on the internal flash and not on CF
with flashwizzard it works fine and autostarts after you correct the wrong link

I thought that with flashwizzard its as if you were runing the image from internal flash but apparently there are some issues
Reply With Quote
  #5 (permalink)  
Old 12-25-2006
vcp vcp is offline
Registered User
 
Join Date: Dec 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
vcp is on a distinguished road
Re: Samba Server on 7020 with Gemini

When trying to access dream from my pc, using samba, I got error "You do not have access to \\Dreambox ... may be you do not have enough rithgs .. host not found...

Samba is working, because if I change name of dream on "server string" parameter, it is reflected of the name that appears on the lan.

It seems that I must edit smb.conf. Can anyone put an working example of smb.conf . (The one that I have has comments in german and I can not completely understand it)



This is the log of operation from smb.log with log level = 5
Added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Added interface ip=192.168.255.33 bcast=192.168.255.255 nmask=255.255.255.0
load_client_codepage: loading codepage 850.
load_client_codepage: filename /lib/codepages/codepage.850 does not exist.
2006/12/24 20:34:54 loaded services
standard input is not a socket, assuming -D option
2006/12/24 20:34:54 becoming a daemon
bind succeeded on port 139
waiting for a connection
Trying sysv shmem open of size 102400
shm_initialize : initializing shmem size 102400
Initialised IPC area of size 102400
2006/12/24 20:34:59 changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 1037, oplock_port = 1079
priming nmbd
sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
Serverzone is -3600
Gethostbyaddr failed for 192.168.255.179
2006/12/24 20:34:59 Connection denied from 192.168.255.179
Closing connections
2006/12/24 20:34:59 Server exit (connection denied)
got SIGCLD
Trying sysv shmem open of size 102400
shm_initialize : initializing shmem size 102400
Initialised IPC area of size 102400
2006/12/24 20:34:59 changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 1038, oplock_port = 1080
priming nmbd
sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
Serverzone is -3600
Gethostbyaddr failed for 192.168.255.179
2006/12/24 20:34:59 Connection denied from 192.168.255.179
Closing connections
2006/12/24 20:34:59 Server exit (connection denied)
got SIGCLD
Trying sysv shmem open of size 102400
shm_initialize : initializing shmem size 102400
Initialised IPC area of size 102400
2006/12/24 20:34:59 changed root to /
open_oplock_ipc: opening loopback UDP socket.
bind succeeded on port 0
open_oplock ipc: pid = 1039, oplock_port = 1081
priming nmbd
sending a packet of len 1 to (127.0.0.1) on port 137 of type DGRAM
Serverzone is -3600
Gethostbyaddr failed for 192.168.255.179
2006/12/24 20:34:59 Connection denied from 192.168.255.179
Closing connections
2006/12/24 20:34:59 Server exit (connection denied)

And this is my sbm.conf
# DIESESmboxmbox
# FILE NUR MIT LINUXKONFORMEN EDITOR BEARBEITEN!
[global]
load printers = no
guest account = root
log file = /var/tmp/smb.log
log level = 5
security = share
encrypt passwords = yes
server string = dm7020_Salon
workgroup = workgroup
#Dieser namen erscheint in der Netzwerkumgebeung
#er muss auch in die hosts eingetragen werden
netbios name = dreambox
os level = 0
preferred master = no
local master = no
domain master = no
#Hier statt 192.168.1.3 die IP der BOX eingeben
interfaces = 127.0.0.1 192.168.255.33
hosts deny = all
#Hier statt 192.168.1 die ersten drei Stellen + Subnet eures Netzwerks eingeben
hosts allow = 192.168.255.1 192.168.255.254
name resolve order = lmhosts host bcast
client code page=850
character set=iso8859-1
case sensitive=no
preserve case=yes
short preserve case=yes
[Harddisk]
comment = Harddisk
path = /hdd
read only = no
public = yes
guest ok = yes
[Bilder]
comment = Bilder
path = /hdd/picture
read only = no
public = yes
guest ok = yes
[Filme]
comment = Filme
path = /hdd/movie
read only = no
public = yes
guest ok = yes
[Musik]
comment = Musik
path = /hdd/music
read only = no
public = yes
guest ok = yes


dream has ip addres of 12.168.255.33
pc has ip address of 192.168.255.179

Regards
Vicente

Last edited by vcp : 12-25-2006 at 05:41 AM.
Reply With Quote
  #6 (permalink)  
Old 12-26-2006
ZX ZX is offline
Registered User
 
Join Date: Dec 2006
Posts: 21
Thanks: 0
Thanked 0 Times in 0 Posts
ZX is on a distinguished road
Re: Samba Server on 7020 with Gemini 3.1

for debugging samba problems very useful are the files smb.log and nmb.log in
/tmp
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
ruDREAM 20040904 and samba server question piraeus RuDream Images 6 09-26-2004 08:45 PM
Cannot login to samba Server johnyb Plugins 10 12-14-2003 10:21 PM
Samba Server DJChristos Plugins 9 11-30-2003 05:19 PM
Samba server Maverick669 Plugins 5 11-21-2003 08:57 PM
Samba Server - File access for Dreambox MrBandwidth Plugins 31 09-10-2003 01:44 PM


All times are GMT +10. The time now is 12:47 PM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Page generated in 0.26426 seconds with 10 queries