Search found 50 matches

by baggins
Wed Apr 29, 2020 8:04 am
Forum: Bug Reports
Topic: Running low on diskspace on root partition
Replies: 2
Views: 1091

Running low on diskspace on root partition

Today I received a warning that on my NEMS (1.4.1) host the root partition was running low on diskspace. I ssh'd in and found a wtmp file of 1.1G! I also noticed that apparently no log rotation was taking place. As a matter of fact, 'logrotate' is not installed. Is there some other service that shou...
by baggins
Mon Dec 31, 2018 3:34 am
Forum: Help and Support
Topic: NEMS 1.4.1 Static IP address
Replies: 26
Views: 37901

RE: NEMS 1.4.1 Static IP address

Hi, Since my router is owned by my ISP, I also have no option to tinker with it to get a fixed IP address. So I did the following: sudo su cd /etc/network nano interfaces => add                           auto eth0                      iface eth0 inet static                                address XX....
by baggins
Mon Dec 17, 2018 11:43 am
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

Fixed indeed!

Thanks Robbie.

As I have only one NEMS server, I always gave you the results of that one and only...
Could it be that after a reboot the system had switched to IPv6?
by baggins
Mon Dec 17, 2018 3:45 am
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

Yes, this is 1.4.1 on a Pi. However, I had a closer look at the output of the nems-info  script. host_ip=$(getent ahosts "$host" | awk '{print $1; exit}') returns:  2a00:1450:400e:806::200e so, this is an IPV6 address... interface=`ip route get "$host_ip"` returns: 2a00:1450:400e:806::200e from :: v...
by baggins
Sun Dec 16, 2018 4:58 pm
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

Code: Select all

$ cat /usr/local/bin/nems-info | grep proto
  interface=`ip route get "$host_ip" | grep -Po '(?<=(dev )).*(?= src| proto)'`
BR
by baggins
Tue Dec 11, 2018 5:14 pm
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

Robbie Ferguson wrote: Thanks.
What is the full output of this command? ip route get "172.217.10.142"

Code: Select all

ip route get "172.217.10.142"
172.217.10.142 via 192.168.0.1 dev eth0 src 192.168.0.28 
    cache 
by baggins
Tue Dec 11, 2018 11:24 am
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

Robbie Ferguson wrote: How interesting. Are you using some kind of dongle for networking or something?

What does this output: sudo nems-info nic
No, NEMS is connected directly to a switch by cable...

Code: Select all

$ sudo nems-info nic
 
eth0 proto ra
by baggins
Tue Dec 11, 2018 10:53 am
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

It sounds to me as though your nems-scripts installation is corrupt. Please reinstall nems-scripts: sudo rm -rf /usr/local/share/nems/nems-scripts && cd /usr/local/share/nems && sudo git clone https://github.com/Cat5TV/nems-scripts Then try nems-info ip again. Let me know. Robbie No luck... [email protected]...
by baggins
Thu Dec 06, 2018 4:21 am
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

Glad Telegram is working out of the box for you now. Let me know if you spot anything else or need me to look at it further. Your issue with MOTD was already patched. It happens when you have both Ethernet and WiFi enabled: nems-info can't figure out which is the IP address. Run sudo nems-update to...
by baggins
Sun Dec 02, 2018 10:21 am
Forum: User Contributions
Topic: [1.3] Telegram Push notifications
Replies: 51
Views: 76603

RE: Telegram Push notifications

I has some spare time and did the following: reflashed SD card nems-init nems-update entered data in SST tested mail and telegram notifications from command line added host that I knew would generate notifications Both mail and telegram notifications work... If I have some more spare time I will add...