Go to advanced search

by davef
Sun Nov 03, 2019 6:36 pm
Forum: Networking and servers
Topic: 3B+, Buster and 3G dongle unwanted data usage
Replies: 2
Views: 413

Re: 3B+, Buster and 3G dongle unwanted data usage

I can't see how it is the Pi either, but was hoping that someone here may have experienced a similar problem.

Cheers,
Dave
by davef
Sun Nov 03, 2019 8:38 am
Forum: Networking and servers
Topic: 3B+, Buster and 3G dongle unwanted data usage
Replies: 2
Views: 413

3B+, Buster and 3G dongle unwanted data usage

I run a Pi with a Huawei E8231 3g dongle. Once a day, at a specific time I connect to the internet, send a100KB data file and then disconnect. It will go for weeks using about 100kB a day on a 500MB/month data plan. Then one day 500MB of data disappears during the 24 hour off-internet period. Lookin...
by davef
Fri Sep 27, 2019 7:13 am
Forum: Troubleshooting
Topic: Cron stops on swapping HDMI or keyboard
Replies: 5
Views: 235

Re: Cron stops on swapping HDMI or keyboard

RaTTus, I am guessing you mean sudo service cron status With the system running normally this is what I get: ● cron.service - Regular background program processing daemon Loaded: loaded (/lib/systemd/system/cron.service; enabled) Active: active (running) since Sun 2019-09-22 15:18:27 NZST; 5 days ag...
by davef
Wed Sep 25, 2019 12:50 am
Forum: Troubleshooting
Topic: Cron stops on swapping HDMI or keyboard
Replies: 5
Views: 235

Re: Cron stops on swapping HDMI or keyboard

As I have never heard of systemd-cron Google led me to this HowTo: https://www.putorius.net/using-systemd-timers.html What I couldn't determine was why using systemd-timers might be better in my situation. Is it more robust? Also, I would need to work out how to stop multiple instances of this timer...
by davef
Tue Sep 24, 2019 12:48 am
Forum: Troubleshooting
Topic: Cron stops on swapping HDMI or keyboard
Replies: 5
Views: 235

Re: Cron stops on swapping HDMI or keyboard

Thank you for the suggestions ... will have to wait until the weekend as the devices are at a remote location. I recall looking into syslog and still see that cron apparently runs every minute, but the bash script that cron calls does not get executed. Perhaps should mention that cron is a one line ...
by davef
Mon Sep 23, 2019 8:38 am
Forum: Troubleshooting
Topic: Cron stops on swapping HDMI or keyboard
Replies: 5
Views: 235

Cron stops on swapping HDMI or keyboard

I run a cron job every minute. As I have two Model 3B+ and only one HDMI monitor I have noticed that when I swap the monitor and/or USB keyboard between units that the Pi running Jessie sometimes stops running. Maybe, 1 in 10 swap-overs. sudo service --status-all shows a [+] against cron but it just...
by davef
Wed Sep 04, 2019 12:59 am
Forum: Networking and servers
Topic: Internet data usage, Jessie versus Stretch
Replies: 3
Views: 298

Re: Internet data usage, Jessie versus Stretch

I am NOT about to bin ALL the work I have done getting to this stage. The only logical conclusion to your brief statement, that I can see, is that maybe Stretch has to go and I revert to Jessie on both units. However, I am quite keen to figure out what is actually not working on the Stretch install....
by davef
Mon Sep 02, 2019 7:32 am
Forum: Networking and servers
Topic: Internet data usage, Jessie versus Stretch
Replies: 3
Views: 298

Internet data usage, Jessie versus Stretch

I have two Pi B+, one running Jessie and the other Stretch. They both have 3G USB dongles attached which I use for remote data collection. Once a day I bring up an internet connection, send 50-100KB worth of data and then take down the internet connection. The unit running Jessie has worked well for...
by davef
Thu Jul 04, 2019 12:55 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: I2C ignorating decimal points. MPPT solar
Replies: 2
Views: 516

Re: I2C ignorating decimal points. MPPT solar

I use the ADS1115 and one thing I had to do was keep the I2C lines quite short, ie 25-50mm. Also, the ADSD1115 breakout board I used had some pull-up resistors, which I had to remove. Just to clarify 31,345V - 32,542 V, 31456 V, 32,567 I assume you mean: 31.345V, 32.542 V, 31456 V, 32.567, ie no min...
by davef
Thu May 16, 2019 12:31 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Adding an I2C device via sysfs -- how to specify parameters?
Replies: 3
Views: 551

Re: Adding an I2C device via sysfs -- how to specify parameters?

If I recall correctly, doing this years ago, that in /sys/bus/i2c/devices/i2c-1/new_device or /sys/bus/i2c/devices/i2c-1/ there should be a list of parameters that you are allowed to change. Again, I think something like echo some number to that location How you might add new ones I never tried.
by davef
Wed Mar 27, 2019 7:17 pm
Forum: Networking and servers
Topic: Losing connection after setting up hotspot and connecting back to wifi
Replies: 4
Views: 526

Re: Losing connection after setting up hotspot and connecting back to wifi

I get <502 Bad Gateway> when I try to look at the file.
by davef
Tue Mar 26, 2019 9:34 am
Forum: Networking and servers
Topic: Losing connection after setting up hotspot and connecting back to wifi
Replies: 4
Views: 526

Re: Losing connection after setting up hotspot and connecting back to wifi

Don't know if this will be of much help, but I see similarities with a problem I was having. https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=229968&p=1413254&hilit=static+dhcpcd#p1413254 Are you using Stretch or Jessie? Since I got rid of dchpcd and using a static interface on one of the wla...
by davef
Tue Mar 26, 2019 4:02 am
Forum: Networking and servers
Topic: Huawei GSM dongle used both as network adapter AND GSM
Replies: 1
Views: 208

Re: Huawei GSM dongle used both as network adapter AND GSM

I would suggest going to https://community.hologram.io/ and searching through their forum. Many guys there seem to use at AT commands to talk to their modems, IE Huawei E3531 etc. I just use one of their Python scripts.

Good luck,
Dave
by davef
Tue Jan 22, 2019 10:02 pm
Forum: Networking and servers
Topic: Some dhcpcd stuff still runs after a purge
Replies: 5
Views: 592

Re: Some dhcpcd stuff still runs after a purge

Thanks Dougie. Looks like after the last session of removing dhcpcd5/dhcpcd I didn't reboot.

Now, all that remains is:

Code: Select all

./etc/systemd/system/dhcpcd.service.d/wait.conf
./etc/dhcpcd.secret
./etc/dhcpcd.duid
and it doesn't run. Gr8

Dave
by davef
Fri Jan 18, 2019 6:41 pm
Forum: Networking and servers
Topic: Some dhcpcd stuff still runs after a purge
Replies: 5
Views: 592

Re: Some dhcpcd stuff still runs after a purge

I will try that and report back in about a week. The Pi is in a remote location.

Thanks,
Dave
by davef
Fri Jan 18, 2019 2:20 am
Forum: Networking and servers
Topic: Some dhcpcd stuff still runs after a purge
Replies: 5
Views: 592

Re: Some dhcpcd stuff still runs after a purge

Pretty sure I rebooted several times, but will try again.

Thanks,
Dave
by davef
Thu Jan 17, 2019 8:26 pm
Forum: Networking and servers
Topic: Some dhcpcd stuff still runs after a purge
Replies: 5
Views: 592

Some dhcpcd stuff still runs after a purge

Even though I have done a: sudo apt-get purge dhcpcd I still get a lot of dhcpcd-related entries in syslog. Doing a : sudo find -name dhcpcd* -print The following files still remain: ./etc/systemd/system/dhcpcd.service.d/wait.conf ./etc/dhcpcd.secret ./etc/dhcpcd.duid ./run/dhcpcd ./run/dhcpcd.unpri...
by davef
Mon Jan 07, 2019 10:16 pm
Forum: Networking and servers
Topic: Switching wlan0 connections takes a long time
Replies: 12
Views: 820

Re: Switching wlan0 connections takes a long time

bzt, Had a look at "sysctl -a" and thought I don't want to mess around at this level. The suggestion of using "watch 1 ip addr sh" ... at the moment I don't know how to run the 2nd terminal on my hardware. I hope it would give similar clues as looking at syslog. epoch1970, Using your suggestions for...
by davef
Sun Jan 06, 2019 7:23 pm
Forum: Networking and servers
Topic: Switching wlan0 connections takes a long time
Replies: 12
Views: 820

Re: Switching wlan0 connections takes a long time

Thanks both for further suggestions. I will digest the comments, there is quite a bit of new content in them that I have to get my head around. Progress after the dhcpcd.conf timeout to 1 second suggestion by epoch 1970: Changed timeout in dhcpcd.conf to 1 second. All I can tell at this stage is tha...
by davef
Fri Jan 04, 2019 10:30 pm
Forum: Networking and servers
Topic: Switching wlan0 connections takes a long time
Replies: 12
Views: 820

Re: Switching wlan0 connections takes a long time

Hi epoch 1970, 1) Jessie latest upgrades applied 2) Yes 3) Yes 4) Yes, that is my understanding 5) I guess so, I am not confident how this part works. I won't be back at the remote site for a few days to try your suggestion, regarding timeout in dhcpcd.conf I will also read this page carefully: http...
by davef
Fri Jan 04, 2019 3:02 am
Forum: Networking and servers
Topic: Switching wlan0 connections takes a long time
Replies: 12
Views: 820

Re: Switching wlan0 connections takes a long time

No apologies necessary. As I do not understand the dhcp/dhcpcd network acquisition process I will likely post incorrect clues to help solving it! Maybe some more information on the ESP8266. My understanding it is operating in "beacon mode" and is operating "open" key_management.. It is part of a sol...
by davef
Thu Jan 03, 2019 11:08 pm
Forum: Networking and servers
Topic: Switching wlan0 connections takes a long time
Replies: 12
Views: 820

Re: Switching wlan0 connections takes a long time

Hi epoch1970, Thanks for the added information. After your comments, I think the snippet I have included is not pointing to the real problem. I saw Association request to the driver failed as the likely issue, possibly an incorrect assumption. The Android AP8362 is on the dhcp managed network and co...
by davef
Wed Jan 02, 2019 6:41 pm
Forum: Networking and servers
Topic: Switching wlan0 connections takes a long time
Replies: 12
Views: 820

Re: Switching wlan0 connections takes a long time

epoch1970, Thank you for your response. Here is a snippet of syslog Jan 2 23:59:14 raspberrypi networking[31505]: DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 17 Jan 2 23:59:16 raspberrypi wpa_supplicant[31558]: wlan0: Trying to associate with 1c:af:05:39:1a:93 (SSID='AndroidAP8362' fre...
by davef
Fri Dec 28, 2018 7:50 pm
Forum: Networking and servers
Topic: Switching wlan0 connections takes a long time
Replies: 12
Views: 820

Switching wlan0 connections takes a long time

On a RaspPi 3 with an up to date Jessie distro. I have one network (wlan0) which the Pi uses dhcp to connect to a hotspot and on the same network (wlan0) where I use a static IP to connect to a ESP8266. As per tutorials on modifying the dhcpcd.conf file. When I switch from the dhcp managed connectio...

Go to advanced search