WeeWx: Import of driver failed. (interceptor)

33 views
Skip to first unread message

Joerg Strobel

unread,
Mar 27, 2020, 8:07:41 PM3/27/20
to weewx-user
Hi, 

i have the following problem with WeeWx. I have to use the interceptor driver, because of sniffing.
At the first start after installation everyhing worked fine. So i think the weewx.conf is fine.My RPI got all the packages and the html file was fine.
After installing a new weewx skin and deleting all the files in the /var/www/html folders wait for the new files, but nothing came in. So i checked the log.

Does someone has an idea what to do?

Starting weewx weather system: weewx.

Mär 28 00:42:59 3bplus-ap1.f1linux.com systemd[1]: Started LSB: weewx weather system.

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]: interceptor: MainThread: driver version is 0.53

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]: interceptor: MainThread: device type: observer

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]: interceptor: MainThread: mode is sniff

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]: interceptor: MainThread: sniff iface=wlan0 promiscuous=0

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]: interceptor: MainThread: sniff filter '192.168.XXX.Y and dst port 80'

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]: engine: Import of driver failed: ('syntax error in filter expression: syntax error', 'pcap_compile') (<class '_pcap.er

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]: engine: Unable to load driver: ('syntax error in filter expression: syntax error', 'pcap_compile')

Mär 28 00:42:59 3bplus-ap1.f1linux.com weewx[652]:     ****  Exiting...




[Interceptor]

    # This section is for the network traffic interceptor driver.


    # The driver to use:

    driver = user.interceptor


    # Specify the hardware device to capture.  Options include:

    #   acurite-bridge - acurite internet bridge, smarthub, or access

    #   observer - fine offset WH2600/HP1000/HP1003, ambient WS2902

    #   lw30x - oregon scientific LW301/LW302

    #   lacrosse-bridge - lacrosse GW1000U/C84612 internet bridge

    #   ecowitt-client - any hardware that uses the ecowitt protocol

    #   wu-client - any hardware that uses the weather underground protocol

    device_type = observer

    mode = sniff

    iface = wlan0

    pcap_filter = 192.168.xxx.y and dst port 80


Reply all
Reply to author
Forward
0 new messages