Fhem on moded Vodafone Station (Huawei HG553)

Begonnen von cybor, 04 November 2013, 23:30:24

Vorheriges Thema - Nächstes Thema

cybor

 Hi,

  greatings from Italy and sorry for my english.

I'm trying to setup, just for study, a domotic system using fhem and some arduino+cc1101 modules (panStamp)

The HG553 run a modified D-Link DVA-G3672B firmware, I can't write on root filesystem, of course, so I have all the software on an usb stick.

I crosscompiled perl 5.18.1 and I copied it whith the files and dirs from fhem package in the root of the usb stick then I create a startup script to launch all.

When I start fhem I have something running on the given port, 8083 ect but the browser is waiting data till timeout.
The root user is 'admin'.
Where can I start to find the problem, I tried to use the '-w' switch and '-d' but since I not a perl developer is very hard for me to understand the debug. I checked the FritzBox start script too but I didn't find any idea.


This is what I get on shell:
2000.01.05 04:59:55 1: Including fhem.cfg.demo
Subroutine main::sinh redefined at ./FHEM/99_Utils.pm line 7.
Subroutine main::tanh redefined at ./FHEM/99_Utils.pm line 7.
Subroutine main::asin redefined at ./FHEM/99_Utils.pm line 7.
Subroutine main::cosh redefined at ./FHEM/99_Utils.pm line 7.
Subroutine main::acos redefined at ./FHEM/99_Utils.pm line 7.
Subroutine main::atan redefined at ./FHEM/99_Utils.pm line 7.
Subroutine main::tan redefined at ./FHEM/99_Utils.pm line 7.
2000.01.05 04:59:57 3: telnetPort: port 7072 opened
2000.01.05 04:59:59 3: WEB: port 8083 opened
2000.01.05 04:59:59 3: WEBphone: port 8084 opened
2000.01.05 04:59:59 3: WEBtablet: port 8085 opened
2000.01.05 05:00:01 1: CUL_0 device is none, commands will be echoed only
2000.01.05 05:00:05 1: Including ./demolog/fhem.save
2000.01.05 05:00:06 2: FHEM demo version
2000.01.05 05:00:06 0: Server started with 33 defined entities (version $Id: fhem.pl 3872 2013-09-07 11:58:33Z rudolfkoenig $, os linux, user admin, pid 2633)

This is my start script:
#!/bin/ash
PERL_HOME=/mnt/usb/usb1_1
PATH=$PATH:${PERL_HOME}/bin/
export PATH
LD_LIBRARY_PATH=${PERL_HOME}/lib:${LD_LIBRARY_PATH}
export LD_LIBRARY_PATH
export PERL5LIB=${PERL_HOME}/lib/perl5/site_perl/5.18.1/mips-linux:${PERL_HOME}/lib/perl5/site_perl/5.18.1:${PERL_HOME}/lib/perl5/5.18.1/mips-linux:${PERL_HOME}/lib/perl5/5.18.1

/sbin/insmod /lib/modules/2.6.8.1/kernel/drivers/usb/serial/pl2303.ko

perl -w fhem.pl fhem.cfg.demo

/sbin/rmmod /lib/modules/2.6.8.1/kernel/drivers/usb/serial/pl2303.ko

Bye, Carlo.

rudolfkoenig

#1
> Subroutine main::sinh redefined at ./FHEM/99_Utils.pm line 7.

This sounds like your perl is not working perfectly yet.

cybor

Hi,
  thanks for the answer, since I'm not a perl developer I'll try to search on internet to fix that.

Carlo.

cybor

I checked and that warning occurs on a standard linux box but on it fhem work fine.

I think that I miss same configuration on perl or maybe on fhem too.
I tried to find docs for a manual configuration of fhem, but I fail.