DSM-G600, DNS-3xx and NSA-220 Hack Forum

Unfortunately no one can be told what fun_plug is - you have to see it for yourself.

You are not logged in.

Announcement

#1 2012-07-15 15:36:46

Marijom
Member
From: Sweden
Registered: 2007-07-06
Posts: 54

Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

The old ffp 0.5 had samba-3 included under extra-packages
Is there any chance of having samba-3 included in ffp 0.7

Best regards
Marijo

Offline

 

#2 2012-07-15 20:49:02

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

arm or oabi? I have samba for 0.7/arm here. Only executables, no configurations files or startscripts.

Offline

 

#3 2012-07-16 17:34:04

Marijom
Member
From: Sweden
Registered: 2007-07-06
Posts: 54

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

Sorry only stated it in the title
I like samba-3 compiled for ffp 0.7 oabi
I have an old DNS-323 rev A

the corresponding oabi files to your link isn't working  i suspect its because they all have oarm instead of oabi in there names

Last edited by Marijom (2012-07-16 17:38:44)

Offline

 

#4 2012-07-17 23:32:30

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

I've added an oabi package. Beats me why it's much bigger than the arm version.

Marijom wrote:

]the corresponding oabi files to your link isn't working  i suspect its because they all have oarm instead of oabi in there names

No, it's normal that they are 'oarm'. Why do you think it's not working?

Offline

 

#5 2012-07-18 11:45:05

Marijom
Member
From: Sweden
Registered: 2007-07-06
Posts: 54

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

Mijzelf wrote:

I've added an oabi package. Beats me why it's much bigger than the arm version.

Marijom wrote:

]the corresponding oabi files to your link isn't working  i suspect its because they all have oarm instead of oabi in there names

No, it's normal that they are 'oarm'. Why do you think it's not working?

This is the replay i receive from slacker

sh-4.1# slacker -U
Updating package lists...
fetch: rsync -q 'rsync://ffp.inreto.de/ffp/0.7/oabi/packages/CHECKSUMS.md5' '/ffp/funpkg/cache/s'
fetch: (cd '/ffp/funpkg/cache/kylek'; wget -Nnv 'http://kylek.is-a-geek.org:31337/files/ffp/0.7-oabi/CHECKSUMS.md5')
fetch: (cd '/ffp/funpkg/cache/mz'; wget -Nnv 'http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/oabi/CHECKSUMS.md5')
http://downloads.zyxel.nas-central.org/ … KSUMS.md5:
2012-07-18 10:41:12 ERROR 404: Not Found.
FATAL: mz: No CHECKSUMS.md5

Note md5 for samba is not included in CHECKSUMS.md5

Last edited by Marijom (2012-07-18 12:07:40)


Attachments:
Attachment Icon sites, Size: 188 bytes, Downloads: 419

Offline

 

#6 2012-07-18 14:17:49

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

2012-07-18 10:41:12 ERROR 404: Not Found.
FATAL: mz: No CHECKSUMS.md5

Strange. The file is definitely there. Manually downloading works.

Code:

 wget -Nnv 'http://downloads.zyxel.nas-central.org/Users/Mijzelf/FFP-Stick/packages/0.7/oabi/CHECKSUMS.md5'

I saw the file was damaged (last 2 md5sums were on one line), but I suppose a parse error wouldn't give a 404. Anyway, solved that.

Note md5 for samba is not included in CHECKSUMS.md5

No, I know. As you requested it, it seems opportune to wait until you said it works.

Offline

 

#7 2012-07-20 12:54:54

Marijom
Member
From: Sweden
Registered: 2007-07-06
Posts: 54

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

Sorry for the delay

Can i use the same configuration files as for ffp 0.5
located in /ffp/etc/samba

[2012/07/20 11:19:11,  0] nmbd/nmbd.c:861(main)
  nmbd version 3.6.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/07/20 11:19:11,  0] nmbd/nmbd.c:865(main)
  error opening config file

[2012/07/20 11:19:10,  0] smbd/server.c:1053(main)
  smbd version 3.6.6 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2011
[2012/07/20 11:19:10,  0] smbd/server.c:1068(main)
  error opening config file


Attachments:
Attachment Icon samba.7z, Size: 2,132 bytes, Downloads: 443

Offline

 

#8 2012-07-20 21:33:58

Mijzelf
Member / Developer
Registered: 2008-07-05
Posts: 709

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

Having a look using strace, I found that nmbd expects its configuration file on a weird place: /ffp/lib/smb.conf. Beats me why. You can get samba running by changing /ffp/start/samba.sh:

Code:

#!/ffp/bin/sh

# PROVIDE: samba
# REQUIRE: LOGIN

. /ffp/etc/ffp.subr

name="samba"
start_cmd="samba_start"
stop_cmd="samba_stop"
status_cmd="samba_status"

smbd_flags="-D"
nmbd_flags="-D"

required_files="/ffp/etc/samba/smb.conf"

export SMB_CONF_PATH=/ffp/etc/samba/smb.conf

samba_start()
{
        proc_start /ffp/sbin/smbd
        proc_start /ffp/sbin/nmbd
}

samba_stop()
{
        proc_stop smbd
        proc_stop nmbd
}

samba_status()
{
        proc_status smbd
        proc_status nmbd
}

run_rc_command "$1"

Offline

 

#9 2012-07-22 16:39:18

Marijom
Member
From: Sweden
Registered: 2007-07-06
Posts: 54

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

Sorry for the delay

Samba now starts without problems and everything seams to work

Thanks for the help

Offline

 

#10 2012-12-05 05:17:09

Berengodo
New member
Registered: 2012-12-05
Posts: 2

Re: Any chance of getting samba-3.3.2-1 compiled for ffp 0.7 oabi

Using DNS-323 with FP07 I'm trying to get samba 3.6.6 running.    Downloaded with slacker -i, everything OK.  Then I try to start daemon and I get:

/start# sh samba.sh start
/ffp/etc/samba/smb.conf: Required file not found or not readable

I´ve checked of course, the file smb.conf at /ffp/etc/samba/  and it IS there...  so, what am I doing wrong...?   anyone...   thanks

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB