Go to advanced search

by topguy
Tue Jan 28, 2020 11:50 am
Forum: Advanced users
Topic: Viewing my Camera and controlling it through the Raspberry Pi 3B+
Replies: 6
Views: 410

Re: Viewing my Camera and controlling it through the Raspberry Pi 3B+

The camera is sitting in front of me to record YT Videos with.
Sorry, my crystal ball is in the shop, could you enlighten us to the Make/Model of your camera.
by topguy
Tue Jan 28, 2020 11:24 am
Forum: Raspberry Pi OS
Topic: Apache2 website permissions???
Replies: 4
Views: 380

Re: Apache2 website permissions???

Does Apache2 run as root in Raspbian rather than as www-data?
I'm quite sure it should use www-data unless configured otherwise.

The command "ps -ef" ( or "ps aux" ) will list all processes on your system and show which user runs them in the first column.
by topguy
Tue Jan 28, 2020 10:18 am
Forum: Networking and servers
Topic: Wifi direct or p2p programming
Replies: 6
Views: 508

Re: Wifi direct or p2p programming

Using the boot partition is mainly for initialing connection to a AP/Router on first boot if you dont have a monitor/ethernet connected. After you have control over your pi (not via Wifi) you should find another way of enabling ad-hoc. But an ad-hoc network is a bit insecure ( IMO ), maybe you shoul...
by topguy
Mon Jan 27, 2020 1:40 pm
Forum: Beginners
Topic: Oh dear, what have I done to this directory...?
Replies: 4
Views: 276

Re: Oh dear, what have I done to this directory...?

I believe the "/dev" folder is created by the kernel on every boot so I think you are pretty safe.
by topguy
Mon Jan 27, 2020 11:22 am
Forum: Raspberry Pi OS
Topic: [SOLVED but ...] notify-send command or similar ?
Replies: 6
Views: 849

Re: notify-send command or similar ?

Could be because the Desktop doesnt have a notification deamon ? ( idk )
https://wiki.archlinux.org/index.php/De ... s#Built-in
by topguy
Fri Jan 24, 2020 5:08 pm
Forum: Troubleshooting
Topic: Setting IP in cmdline.txt doesn't work
Replies: 11
Views: 713

Re: Setting IP in cmdline.txt doesn't work

iandk wrote:
Fri Jan 24, 2020 5:04 pm
I did set up the wpa_supplicant config so it should pair with my router
Then your router assigned it an IP and you can find that IP or use "raspberrypi.local" to log in, and then set the static IP the proper way if you still need it.
by topguy
Fri Jan 24, 2020 4:59 pm
Forum: Troubleshooting
Topic: Setting IP in cmdline.txt doesn't work
Replies: 11
Views: 713

Re: Setting IP in cmdline.txt doesn't work

There's no per se reason why you can't set a static IP on a WiFi device. My reasoning is that you have to logically pair/peer your Pi with another device, an Access Point or a Router before you can talk to other devices on your LAN/WLAN. You can not just turn on Wifi and say "here I am" and expect ...
by topguy
Fri Jan 24, 2020 3:25 pm
Forum: Troubleshooting
Topic: .desktop shortcut with GUI
Replies: 7
Views: 359

Re: .desktop shortcut with GUI

Note that the python 3 its import tkinter
For python 2 its import Tkinter
Fixed your typo.
by topguy
Fri Jan 24, 2020 3:18 pm
Forum: Troubleshooting
Topic: Setting IP in cmdline.txt doesn't work
Replies: 11
Views: 713

Re: Setting IP in cmdline.txt doesn't work

You can not just set the IP on Wifi and think it works just like wired ethernet.
https://www.raspberrypi.org/documentati ... eadless.md

After setting up SSID and password you can probably check your router for the IP address or just use "raspberrypi.local" name to connect.
by topguy
Fri Jan 24, 2020 3:13 pm
Forum: Networking and servers
Topic: Mount the drive from DOS computer(Static IP) to Raspberry PI4
Replies: 12
Views: 895

Re: Mount the drive from DOS computer(Static IP) to Raspberry PI4

I really wish there was a good official guide for static IP I could link to, because this is asked so frequently. II just know that you should not do it in /etc/network/interfaces anymore and should use "dhcpcd.conf" instead. Put that filename in the search box on the forum and see what you find. Fo...
by topguy
Fri Jan 24, 2020 3:00 pm
Forum: Raspberry Pi OS
Topic: [SOLVED but ...] notify-send command or similar ?
Replies: 6
Views: 849

Re: notify-send command or similar ?

If you go here: https://www.debian.org/distrib/packages and enter the command name you are looking for ( in the last searchbox ) it usually tells you which package you need to install since Raspbian contain mostly the same packages as Debian. In this case the command is hiding in the "libnotify-bin"...
by topguy
Fri Jan 24, 2020 1:39 pm
Forum: Troubleshooting
Topic: .desktop shortcut with GUI
Replies: 7
Views: 359

Re: .desktop shortcut with GUI

I'm thinking you might have a Python2 vs. Python3 conflict, because I dont think Thonny have its own libraries.
by topguy
Fri Jan 24, 2020 11:24 am
Forum: General discussion
Topic: Display media on RP screen from Windows 10 shared folder (so it's updated every time Windows folder is updated)
Replies: 4
Views: 258

Re: Display media on RP screen from Windows 10 shared folder (so it's updated every time Windows folder is updated)

Is there a way so that it mounts the shared folder automatically on startup? You can add an entry in "/etc/fstab" for your mount or you can put the mount command in "/etc/rc.local", its the behavior in case of no connection to the windows machine that might be different. Also can it cache the conte...
by topguy
Fri Jan 24, 2020 11:06 am
Forum: General discussion
Topic: No /dev/ttyUSB0 after power on
Replies: 6
Views: 505

Re: No /dev/ttyUSB0 after power on

Does the Arduino also loose power together with the Pi ? Is it powered with the USB or does it have its own power ?
by topguy
Fri Jan 24, 2020 11:02 am
Forum: Advanced users
Topic: Using RasPi to transmit videos over the internet
Replies: 4
Views: 280

Re: Using RasPi to transmit videos over the internet

Is this something feasible... There are many solutions out there that support very smart forms of content deliveries. Many cloud storage solutions have ways of efficiently sync content to many clients and making sure the content is uncorrupted. ... or is the issue the technology has just not been i...
by topguy
Thu Jan 23, 2020 3:29 pm
Forum: Troubleshooting
Topic: .desktop shortcut with GUI
Replies: 7
Views: 359

Re: .desktop shortcut with GUI

With a GUI code and Terminal=false I am not able to see the Interface
And what about GUI script and "Terminal=true" then ? what happens ?
by topguy
Thu Jan 23, 2020 2:21 pm
Forum: Advanced users
Topic: Using RasPi to transmit videos over the internet
Replies: 4
Views: 280

Re: Using RasPi to transmit videos over the internet

Techinally I dont see a problem with this. - There are implementation details about how to make sure that you don't waste time/bandwidth by downloading the same videos repeatedly. - .. and making sure that videos are not corrupted by aborted transfer or bad network. But you havent said anything abou...
by topguy
Thu Jan 23, 2020 1:40 pm
Forum: Troubleshooting
Topic: Rpi can't connect to internet using eth0
Replies: 2
Views: 111

Re: Rpi can't connect to internet using eth0

- when rebooted the Rpi is given an ip-adres 192.163.1.14
Are you 100% you wrote that address correctly ?

There is a possibility that you have a second DHCP server on your network that you dont know about.
by topguy
Wed Jan 22, 2020 5:40 pm
Forum: Bare metal, Assembly language
Topic: Updating a custom Raspberry pi OS to include pi4
Replies: 3
Views: 756

Re: Updating a custom Raspberry pi OS to include pi4

You only extracted what is in the boot folder and that is not the only partition on the card. The main operating system is on the other partition which is not readable from a Windows computer.

Your best bet is still to talk to these guys: https://www.masjidbox.com/ ;-)
by topguy
Wed Jan 22, 2020 5:18 pm
Forum: Raspberry Pi OS
Topic: How to install self created software in Raspbian?
Replies: 4
Views: 304

Re: How to install self created software in Raspbian?

What build system do you use for your application "make" "CMake" something else ? Will the program run as root ? The most used method is to create a .deb package that can be installed ( and uninstalled ) the same way as all the other software on the system. It is maybe not the easiest method but pro...
by topguy
Wed Jan 22, 2020 4:04 pm
Forum: Beginners
Topic: Multiple Serial ports on the RPi
Replies: 4
Views: 400

Re: Multiple Serial ports on the RPi

How much is price an issue ? I would suggest maybe using some network2serial boxes from Moxa maybe to handle all the serialports in a good way. Reasons: - There was a limit on how many usb-tty endpoints that could be created on the Pi once. I dont know if that limit has been raised. - Linux still en...
by topguy
Wed Jan 22, 2020 1:16 pm
Forum: Troubleshooting
Topic: Cannot access Raspberry pi's server through local network
Replies: 1
Views: 216

Re: Cannot access Raspberry pi's server through local network

If the IP has not changed and you can not connect to the service on the LAN I would say that the service is not running properly.
- Check the server-logs and that you have enough free space on the SD card.
by topguy
Wed Jan 22, 2020 1:13 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: How to check raspberry pi 0 USB communication (tx, rx)
Replies: 2
Views: 376

Re: How to check raspberry pi 0 USB communication (tx, rx)

I dont think the driver actually stores the counters you are looking for.

There are other ways of sniffing/logging the data going over the tty. What exactly do you want to "check" ?
by topguy
Wed Jan 22, 2020 12:49 pm
Forum: Bare metal, Assembly language
Topic: Updating a custom Raspberry pi OS to include pi4
Replies: 3
Views: 756

Re: Updating a custom Raspberry pi OS to include pi4

It would be useful to know if the custom image is based on Raspbian ( and which release ) or if its completely built from scratch. If you link us to where the "image" came from that is also helpful. In general I think its going to be quite hard to do, so you should ask the supplier of the image real...
by topguy
Tue Jan 21, 2020 3:46 pm
Forum: Beginners
Topic: Can I access SSH on a new Pi 4B with no monitor?
Replies: 3
Views: 245

Re: Can I access SSH on a new Pi 4B with no monitor?

You can, if you read the documentation: ( specifially point 3 )
https://www.raspberrypi.org/documentati ... /README.md

Go to advanced search