Go to advanced search

by epoch1970
Tue Jun 18, 2019 8:36 pm
Forum: Python
Topic: Setting real time priority level on python app
Replies: 5
Views: 102

Re: Setting real time priority level on python app

I modified my answer, I think the root cause is a problem w/ sudo and the python env. Of course any good launcher will stash the PID of a service somewhere in something like /var/run/progname.pid The shell variable "$!" contains the PID of the last launched process, so something as simple as python3...
by epoch1970
Tue Jun 18, 2019 8:23 pm
Forum: Python
Topic: Setting real time priority level on python app
Replies: 5
Views: 102

Re: Setting real time priority level on python app

What if you launch the code and chrt its PID number instead?
(actually I think the problem comes from sudo, with root not having the right python env to launch the program properly.)
by epoch1970
Tue Jun 18, 2019 5:01 pm
Forum: General discussion
Topic: Raspberry pi(1) usb and network not working
Replies: 1
Views: 52

Re: Raspberry pi(1) usb and network not working

Try a fresh Raspbian install and if you still get the same results then I'd say the USB hub departed somehow.
Google for the error, it doesn't hurt.
by epoch1970
Tue Jun 18, 2019 2:09 pm
Forum: Troubleshooting
Topic: Wifi not working properly on raspberry pi 3
Replies: 3
Views: 69

Re: Wifi not working properly on raspberry pi 3

Which OS are you using?
by epoch1970
Tue Jun 18, 2019 12:10 am
Forum: Advanced users
Topic: Cannot bridge eth0 and tap0 for SIMH - can't ping default gateway or beyond?
Replies: 4
Views: 85

Re: Cannot bridge eth0 and tap0 for SIMH - can't ping default gateway or beyond?

The bridge looks like it is working since eth is working. Could be user access rights on tap. Try -u root with tunctl. Using something less complicated than an emulator to validate that network setup could be an idea, also. (tunctl and ifconfig and brctl are antiquated by "ip" commands -although brc...
by epoch1970
Mon Jun 17, 2019 10:31 pm
Forum: General discussion
Topic: Issue "Network Error : Connection refused"
Replies: 12
Views: 262

Re: Issue "Network Error : Connection refused"

At this point I think I would recommend a USB-serial adapter, e.g.
https://www.adafruit.com/product/954

That will give you a keyboard and a screen. Working with the Pi without any local access is challenging.
by epoch1970
Mon Jun 17, 2019 2:54 pm
Forum: Beginners
Topic: Rapsberry - Github - Port 443
Replies: 1
Views: 40

Re: Rapsberry - Github - Port 443

Looks like something is blocking the resolution to the github.com domain, or the site is down.
Check the DNS server you're using (the ones in /etc/resolv.conf)
by epoch1970
Mon Jun 17, 2019 2:03 pm
Forum: Networking and servers
Topic: port forwarding not working
Replies: 1
Views: 60

Re: port forwarding not working

Port forwarding just does not care about the IP config, as long as it is correct. I suggest you use ipcalc to check your configs on the router and the Pi. You can install it on the Pi or use one online http://jodies.de/ipcalc?host=10.13.0.1&mask1=22&mask2= Then check the usual suspects on the Pi, /e...
by epoch1970
Sun Jun 16, 2019 8:47 pm
Forum: Troubleshooting
Topic: Wifi - Inbound connectivity issue
Replies: 7
Views: 222

Re: Wifi - Inbound connectivity issue

I looked at the MotionEyesOS repo on github, but it is almost the whole buildroot tree with some additions here and there so it's not too easy to see what's going on just by navigating directories. I have noticed the OS seems to enable bluetooth, not a positive for wifi reliability, but wifi+BT norm...
by epoch1970
Sun Jun 16, 2019 5:26 pm
Forum: Français
Topic: Rasberry Pi CM3
Replies: 2
Views: 111

Re: Rasberry Pi CM3

Question pour le forum en anglais je pense.
viewtopic.php?t=172406 me fait penser que le lecteur SD n'est peut être pas câblé comme tu le crois. Ou alors il faut zapper l'eMMC pour que la SD se mette à fonctionner ?
by epoch1970
Sun Jun 16, 2019 12:16 pm
Forum: Troubleshooting
Topic: Rpi 3B+ WiFi Intermittent Slowdown/Stall
Replies: 2
Views: 86

Re: Rpi 3B+ WiFi Intermittent Slowdown/Stall

If it is not wifi it could be - the file/streaming protocol you're using to transfer data - CPU activity spikes due to some application - IO activity limit reached due to the transfer and/or other applications (a class 10 SD or better -U-3?- is recommended) To confirm this is a pure networking issue...
by epoch1970
Sun Jun 16, 2019 10:20 am
Forum: Troubleshooting
Topic: Wifi - Inbound connectivity issue
Replies: 7
Views: 222

Re: Wifi - Inbound connectivity issue

Also, pinging the router does not resolve the issue. I need the ping from the pi the host that I want accept incoming traffic from. I do not know how "motioneyes OS" works. It looks to me like client isolation in the AP. Or a misconfigured firewall on the Pi that would drop pings and "unsollicited ...
by epoch1970
Sat Jun 15, 2019 10:50 pm
Forum: Other programming languages
Topic: Issues comparing arguments of bash script
Replies: 2
Views: 102

Re: Issues comparing arguments of bash script

I can't help you much with bash-isms, but the following would work with the regular Bourne shell #!/bin/sh # Check if argument is present [ "$#" -eq 0 ] && printf "\n Input Bitrate\n\n" && exit 3 # Check if argument is within range using the test built-in, '-o' OR, '-a' AND [ "$1" -lt 0 -o "$1" -gt ...
by epoch1970
Sat Jun 15, 2019 7:11 pm
Forum: Français
Topic: Raspberry démarrage aléatoire
Replies: 2
Views: 93

Re: Raspberry démarrage aléatoire

Un faux contact ??
by epoch1970
Sat Jun 15, 2019 3:57 pm
Forum: Beginners
Topic: Using a Pi 2B for remotely Audio Recording
Replies: 1
Views: 52

Re: Using a Pi 2B for remotely Audio Recording

Well for starters you need to add an audio capture device, there is no microphone on a Pi. After that is it certainly possibly to stream over the network what the microphone captures, like streaming audio from a file. Which means the Pi needs to be on a network somehow, a LAN or Internet. Once this ...
by epoch1970
Sat Jun 15, 2019 12:10 pm
Forum: Networking and servers
Topic: SSH with OpenVPN running
Replies: 1
Views: 87

Re: SSH with OpenVPN running

SSH and OpenVPN are unrelated services, you can use any of these at any time. That OpenVPN is a client I suppose? In this case if "redirect-gateway" is in use, all outgoing traffic from the point of view of the Pi goes to the tunnel, arrives at the VPN server and goes to its destination from there. ...
by epoch1970
Sat Jun 15, 2019 11:43 am
Forum: General discussion
Topic: Temporary Router
Replies: 6
Views: 204

Re: Temporary Router

I'd rather suggest adding a bridge (possibly anonymous = sans IP address), in other words turn the Pi into a 2-port ethernet switch, that will see all the traffic pass through it without changing anything to the network setup. For ethernet: Install on the Pi the software packages you want to use, Ad...
by epoch1970
Fri Jun 14, 2019 7:42 pm
Forum: Networking and servers
Topic: Simplified DHCPD and DNS server database configuration manager
Replies: 5
Views: 238

Re: Simplified DHCPD and DNS server database configuration manager

bls wrote:
Fri Jun 14, 2019 7:24 pm
The easily-changed default is '.local'
Not the best choice on Pi where mDNS is enabled by default. ".0" (urgh) or ".lan" (dubious) perhaps?
by epoch1970
Fri Jun 14, 2019 7:18 pm
Forum: Français
Topic: Aide projet transmission vidéo direct via cpl et picapture hd
Replies: 1
Views: 75

Re: Aide projet transmission vidéo direct via cpl et picapture hd

Bienvenue. Il n'y a pas de MP sur ce forum, politique de la maison (cf. protection de l'enfance). Le côté CPL est super simple. Tellement simple qu'il est tout à fait possible de commencer par des câbles ethernet entre le Pi, le Mac, le routeur. Lorsque le projet sera un peu avancé, il suffira de dé...
by epoch1970
Fri Jun 14, 2019 6:53 pm
Forum: Beginners
Topic: Pi3B temperature between 70-75 ° C
Replies: 3
Views: 99

Re: Pi3B temperature between 70-75 ° C

CPU temp or temp in the case?
CPU temp => no problem
Ambient temp => could cause problems w/ accessory cables, eg ethernet, USB.
by epoch1970
Fri Jun 14, 2019 6:50 pm
Forum: Raspbian
Topic: kernel process suddenly taking a lot of cpu usage
Replies: 2
Views: 90

Re: kernel process suddenly taking a lot of cpu usage

This guy looks greedy:

Code: Select all

478 root      20   0  221596 104772  12408 S 195,0 10,5   1707:52 Main
it is not the kernel, it is an executable called "Main" (?) that was launched rather early, PID number is a smallish one (478).
by epoch1970
Fri Jun 14, 2019 3:04 pm
Forum: Networking and servers
Topic: DHCP-HELPER ... not helping
Replies: 4
Views: 143

Re: DHCP-HELPER ... not helping

I have no idea what pivpn is. If you're using a bridged tunnel there is no question about installing a VPN client or whatsoever on the machines. There is a single network spanning 2 "sites", machines "see" each other normally. I found back my post: https://www.raspberrypi.org/forums/viewtopic.php?t=...
by epoch1970
Fri Jun 14, 2019 12:11 pm
Forum: Advanced users
Topic: RPI connectivity to internet via different interfaces and SSIDs
Replies: 5
Views: 153

Re: RPI connectivity to internet via different interfaces and SSIDs

The ethernet connectivity is provided via a DSL router. The WiFi can be provided via the same router1 (SSID1) but another SSID (SSID2) via another router2 is also available "on demand" If the ethernet switch, wifi AP, dhcp server, router are colocated, I don't see why eth0 could enter into zombie m...
by epoch1970
Fri Jun 14, 2019 11:04 am
Forum: Advanced users
Topic: RPI connectivity to internet via different interfaces and SSIDs
Replies: 5
Views: 153

Re: RPI connectivity to internet via different interfaces and SSIDs

But what about switching between Ethernet cable NIC and WiFI NIC? Is there a similar cli command available? I'm unclear about the concern. By default on Raspbian and I imagine other systems if both interfaces are connected to the same network, eth has priority over wifi. This is done via route metr...
by epoch1970
Fri Jun 14, 2019 9:37 am
Forum: Advanced users
Topic: RPI connectivity to internet via different interfaces and SSIDs
Replies: 5
Views: 153

Re: RPI connectivity to internet via different interfaces and SSIDs

The fact google.com or any other site is not responding only matters to the application, you'll need to switch configs yourself from your python program. I am not good (at all) at python but I know what the program has to do: get a hold of wpa_supplicant and steer it to connect to the alternate AP. ...

Go to advanced search