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 2009-09-15 16:01:33

gegtik
Member
Registered: 2009-09-15
Posts: 14

Understanding chroot / funplug

Hi everyone;

I'm still a relative linux newbie, and I've installed fun_plug according to the directions provided in the wiki, but I want to better understand what I've actually accomplished here, so I have a few questions. I'm going to pick on samba in particular:

* Does fun_plug pre-empt or stop all of the running services that the 323 firmware normally executes? eg, Samba?
* Once the fun_plug script executes, is the samba client that is running on my 323 the client which is provided by the 323 firmware, or by fun_plug's chrooted debian? If it is debian's, how is this accomplished? Which smb.conf is being referenced by samba?



I have the same question about any running service... where does the 323 firmware 'stop' being relevant to the running of my 323 and where does the fun_plug linux distro start?

If I understand correctly, the nature of the debian install is simply to provide a set of programs which I can run after the whole system's booted up; thus, if I want to kill any pre-existing service I'll have to write a script to do it myself, and if I wanted to replace 323's samba with debian's samba then I have to kill the former and start the latter (which should reference the chroot's /etc/smb.conf ie. /linux/etc/smb.conf).

Does this make sense?

Offline

 

#2 2009-09-16 19:45:22

fonz
Member / Developer
From: Berlin
Registered: 2007-02-06
Posts: 1716
Website

Re: Understanding chroot / funplug

gegtik wrote:

If I understand correctly, the nature of the debian install is simply to provide a set of programs which I can run after the whole system's booted up; thus, if I want to kill any pre-existing service I'll have to write a script to do it myself, and if I wanted to replace 323's samba with debian's samba then I have to kill the former and start the latter (which should reference the chroot's /etc/smb.conf ie. /linux/etc/smb.conf).

Does this make sense?

It's basically the same with fun_plug and/or ffp. A notable difference is that Debian runs shut in separate directory tree (called chroot), while ffp runs without chroot.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2010 PunBB