Recent content by hal_sk

  1. hal_sk

    Millions of lines of "dhcpcd[365]: received SIGPIPE" in syslog file

    I have already asked about this issue on that forum website. Based on that I guess my USB modem setup (without router providing static IP) is not supported in Openhab. As possible solution I am buying router for SIM cards and will try connect my Raspberry to that router with IP address set to be...
  2. hal_sk

    Millions of lines of "dhcpcd[365]: received SIGPIPE" in syslog file

    So it did not help. After 00:30 AM it still disconnects from internet and getting these logs bellow. Is there a way to disable "dhcpcd" service (or what is it?) ?
  3. hal_sk

    Millions of lines of "dhcpcd[365]: received SIGPIPE" in syslog file

    I have disabled "comitup-web.service". Will se if it helps and if it does not break the system.
  4. hal_sk

    Millions of lines of "dhcpcd[365]: received SIGPIPE" in syslog file

    Additional info: In syslog there is sometime also this segment of lines repeating in a loop: Dec 9 14:23:25 openhabian systemd[1]: comitup-web.service: Main process exited, code=exited, status=1/FAILURE Dec 9 14:23:25 openhabian systemd[1]: comitup-web.service: Failed with result 'exit-code'...
  5. hal_sk

    Millions of lines of "dhcpcd[365]: received SIGPIPE" in syslog file

    Hello, My Raspberry Pi with openhabian is connected to internet via USB GSM modem. Recently my modem disconnects from the internet from unknown reason at around 00:30 AM and then connects back online at around 06:00 AM. To my horror the syslog file is around 250 MB big in size and contains...
  6. hal_sk

    [Solved] Script does not run after reboot (systemd)

    It is working now. The problem was most likely "echo $(date) >>" in the script. I changed it to just "date >>" and it works now in both Mints on reboot and without errors. It was my mistake I have not much skills in shell. Thx to all.
  7. hal_sk

    [Solved] Script does not run after reboot (systemd)

    For full enclosure I have PC with 2 Linux Mints (boot selection). One of the Mint is running script fine after reboot and other Mint is not. Those paths are correct. Just the user name "hal" in paths is changed based on used OS. In next day or two I will try to test it again (for each OS) with...
  8. hal_sk

    [Solved] Script does not run after reboot (systemd)

    Well I have just tried to add "Type=oneshot" into service like this: [Unit] Description=Test service [Service] Type=oneshot ExecStart=/usr/local/bin/test.sh [Install] WantedBy=multi-user.target But did not work. And also I tried to add "/usr/bin/echo" as dcbrown73 mentioned but I don't...
  9. hal_sk

    [Solved] Script does not run after reboot (systemd)

    Hello, I have simple script /usr/local/bin/test.sh #!/bin/bash echo $(date) >> /home/hal/Desktop/log Then I have this service file: /etc/systemd/system/test.service [Unit] Description=Test service [Service] ExecStart=/usr/local/bin/test.sh [Install] WantedBy=multi-user.target Then I run...
  10. hal_sk

    Using command outputs in another scripts

    Most of above mentioned command were not know to me. Thanks. I will put them into use. And is there more reliable method to get system data in general? It would be nice if outputed data from commands: sensors or iw dev wlan0 station dump or similar... could be retrieved in JSON format, let's say...
  11. hal_sk

    [Solved] How to disable internet sharing in my access point

    The thing is solved. I have just used this tool: https://github.com/garywill/linux-router After installing it and all needed dependencies I simply use command: sudo lnxrouter -n --ap wlan0 MyAccessPoint -p MyPassPhrase Where "-n" flag means internet connection should not be shared for others...
  12. hal_sk

    Using command outputs in another scripts

    Hello, Sometime I need to extract specific value (or more values) from my system using command outputs (in order to use this values for conditional testing in scripts). For example: Get my CPU temperature and if it is above 60 °C then do something. For this scenario I use command "watch -n 2...
  13. hal_sk

    [Solved] How to disable internet sharing in my access point

    Hello, I have created wifi access point with my Raspberry Pi. I would like to stop sharing internet connection in that access point and only to allow using local network for devices connected to that AP. How can I do it? Thx.
  14. hal_sk

    Run script automatically when wifi/bluetooth detects my phone is nearby

    That's an action required from me every time I enter and leave garage. And because I am lazy I am trying to avoid it :cool: And also I just learned that phones are from privacy reasons automatically changing (spoofing?) their MAC address so it would not work. The solution might be creating...
Top