Boblight for Fritzbox?

Anhänge

  • boblight_r_417.patch.txt
    4.4 KB · Aufrufe: 14
  • info_boblight.txt
    1.5 KB · Aufrufe: 12
Zuletzt bearbeitet:
wow, that was fast :) i simply have to add it with patch -p0?
thx for your work.
 
Zuletzt bearbeitet:
ok, that worked, thanks. is it now integrated in the firmware image?
will it autostart when i restart the router?
 
Code:
make boblight-precompiled
Does only compile the binary, you will first have to execute
Code:
make menuconfig
, select the Package in the Package list and finally execute
Code:
make
to create an new image that you can flash to your fritzbox. And it seems that in sf's package isnt an webinterface or init script, that means that you will have configure it by yourself and than execute it from the console.
Finally no, it will not start automatically, you will have to do it by the console every time the box reboots or you can create an little script (add it to your rc.custom) that will start boblight for you
 
Zuletzt bearbeitet:
I cannot find the package, went through all categories, but no success.
or does it have a cryptic name?
 
No, you have to add the Package to the menu file.
Can't remember the name right now (Config.in or Makefile.in, i think), but it's a very easy task.
 
it shows nothing.

btw, what´s the best way to transfer files to the fritzbox? or will i have to use vi?

thanks for all your help
 
Add this line
Code:
 source make/boblight/Config.in
in the section "Testing" of file "make/Config.in" and this line
Code:
 source make/boblight/external.in
in the section "packages" of file "make/external.in"
 
ok, after building the binaries are in build/modified/filesystem/usr/bin, so that seems to be ok.
how can i copy the boblight.conf now to the /etc directory and place a script in init.d ?
can i edit the filesystem before compiling? using telnet?

EDIT: is the "addon" directory what i want?
 
Zuletzt bearbeitet:
ok i put the boblight.conf under /packages/.../boblight-r417/root/etc/
how do i put the init.d script there? also by creating a file in packages/.../boblight-r417/root/etc/init.d?
i´d have to make it executable then, right?

a simple

Code:
/usr/bin/boblightd -f &

is enough as startup script?


seems as I´m doing something wrong... the compiled image has exactly the same size than the one before..
 
Zuletzt bearbeitet:
do i have to edit /make/boblight/external.files ?

EDIT: tried to start boblightd via telnet, the config file is there after i inserted it before compiling.
but i get an error:

Code:
root@fritz:/var/mod/root/etc# boblightd -c /etc/boblight.conf
(InitLog)                       start of log /mod/root/.boblight/boblightd.log
(PrintFlags)                    starting boblightd -c /etc/boblight.conf
(CConfig::LoadConfigFromFile)   opening /etc/boblight.conf
(CConfig::CheckConfig)          checking config lines
(CConfig::CheckDeviceConfig)    ERROR: /etc/boblight.conf no devices defined
(CConfig::CheckColorConfig)     ERROR: /etc/boblight.conf no colors defined
(CConfig::CheckLightConfig)     ERROR: /etc/boblight.conf no lights defined

the .conf file is correct, i can see that with vi.

btw will i have to use ttyACM0 oder ttyS0 to access the usb port?
 
Zuletzt bearbeitet:
I´m confused now... what´s the right place for boblight.conf?

/etc?
/mod/root/etc?
/var/mod/root/etc/?
/var/mod/etc?
 
The right place is:
Code:
 /var/tmp/boblight
 
The right place is:
Code:
 /var/tmp/boblight

ok, i logged into my router via telnet and copied /etc/boblight.conf to /var/tmp/boblight/
that should be correct?
still getting the same output when executing boblightd...
 
i even get those errors when running boblightd with the sample config.
Code:
root@fritz:/var/tmp/boblight# boblightd -f -c /var/tmp/boblight/sample_boblight.conf
(InitLog)                       start of log /mod/root/.boblight/boblightd.log
(PrintFlags)                    starting boblightd -f -c /var/tmp/boblight/sample_boblight.conf
(CConfig::LoadConfigFromFile)   opening /var/tmp/boblight/sample_boblight.conf
(CConfig::CheckConfig)          checking config lines
(CConfig::CheckDeviceConfig)    ERROR: /var/tmp/boblight/sample_boblight.conf no devices defined
(CConfig::CheckColorConfig)     ERROR: /var/tmp/boblight/sample_boblight.conf no colors defined
(CConfig::CheckLightConfig)     ERROR: /var/tmp/boblight/sample_boblight.conf no lights defined
 
Zuletzt bearbeitet:
Holen Sie sich 3CX - völlig kostenlos!
Verbinden Sie Ihr Team und Ihre Kunden Telefonie Livechat Videokonferenzen

Gehostet oder selbst-verwaltet. Für bis zu 10 Nutzer dauerhaft kostenlos. Keine Kreditkartendetails erforderlich. Ohne Risiko testen.

3CX
Für diese E-Mail-Adresse besteht bereits ein 3CX-Konto. Sie werden zum Kundenportal weitergeleitet, wo Sie sich anmelden oder Ihr Passwort zurücksetzen können, falls Sie dieses vergessen haben.