New answers tagged

2

It is quite common for two microSD cards of the same nominal size to have slightly different capacities. The "SD card copier" function that's part of the "Accessories" sub-menu will compensate for differences in card sizes provided the destination card has room for all the data on the source card. In your case, that should be no trouble at all. For ...


0

Raspbian / Debian Buster uses Python 3.7 by default. Installing idle3 should install the correct module for your Python 3 version.


0

Enterprise WiFi Networking is broken on Buster. You need to revert to an earlier version of WPA_supplicant. Try searching for pi4 PEAP authentication failure to find out how to revert to stretch version of wpasupplicant


1

Make sure Chromium knows to include graphics. Mine was off by default. Alternatively, use Ctrl+Shift+P and maybe you'll get better results.


1

So it turns out I had a lot of errors. This is what I ended up using. Aside from trying to check strings that didn't exist the string manipulation formatting was just wrong. I switched to just trimming the front and back of the string which contained'\r\n' and '~1 ' import serial with serial.Serial('/dev/ttyAMA0', 115200, timeout=1) as ser: while True: ...


1

ftp.harukasan.org is selected by the Raspbian mirror redirector (raspbian.raspberrypi.org, which is not a "real" mirror server). To speed up, you can specify the nearest mirror server in /etc/apt/sources.list, by replacing the raspbian.raspberrypi.org to the nearest server's "real" address. The nearest server could be found here: http://raspbian....


2

You tried 3 possibilities to start qjackctl on boot up. Using /etc/rc.local: I cannot suggest to use it because it's deprecated and known that it has limitations due to Compatibility with SysV. We have seen many problems here on this site using it. Following the recommendation of the developers from systemd you should avoid using it. Using crontab: The ...


1

To start something on boot from cron, your contab file should read @reboot <command> where <command> is the command you want to run.


1

Try adding @qjackctl to /home/pi/.config/lxsession/LXDE-pi/autostart and reboot. If that does not work, let me know.


0

Why readlines(None)? That does not appear to be a defined usage. I would get rid of None. If no lines were returned then lines will be empty. That's the error message you are getting, you are trying to index an empty list. You need to add a test after the readlines call, perhaps something like if len(lines) > 0: # process line


2

You have provided no evidence of any problem. I know of no way of blocking a mirror, but you can change the mirror used. Select a mirror from https://www.raspbian.org/RaspbianMirrors/ Then edit /etc/apt/sources.list substituting a local mirror for http://raspbian.raspberrypi.org/raspbian/ A more verbose set of instructions are in https://pimylifeup.com/...


1

There are important differences between the network setup of the RPi 3B and the RPi 4B. Seems you are using an additional VPN connection on the RPi 3B so it doesn't make sense to compare both setups. You also don't tell us how do you configure the network interfaces of the RPi 4B. Do you use a static ip address? I guess you use default dhcpcd because it ...


1

If you just want to prevent your Pi from going into sleep mode you could just change lightdm which manages sleep mode. Go into the config file: sudo nano /etc/lightdm/lightdm.conf and add the following line: xserver-command=X -s 0 dpms Edit: I just noticed you're probably following a guide for the Raspberry Pi 4 where indeed that directory and file ...


1

First of all: you cannot bridge the interface from the built-in wifi device on any Raspberry Pi including RPi 4B if you use it for a client connection (uplink) to a hotspot. This is due to a hardware limitation with WDS and 4addr. For further information look at Raspberry Pi WiFi to Ethernet Bridge for a server?. Fortunately there is a workaround with ...


1

After rethinking how this works I was able to install mysqldb with the following command. sudo apt-get install python3-mysqldb This works for my above script.


0

Late to the party, however I think I have solution for you. As Ingo mentioned, in this tutorial custom image is used for emulation. However it does not mean you can't emulate official one like raspbian-buster-lite image. This image also contains all necessary files for QEMU emulation, however they are named differently. Also you can only emulate this kernel ...


1

On a headless system you can install browsh: that's a text frontend to Firefox. It can display pretty much any page that Firefox can, but in text mode over SSH. Don't forget to install Firefox too. Another option is to set up X forwarding and use Firefox directly, with the graphical interface displayed on the computer which runs the SSH client. If you're ...


1

Or, is there another way to connect to such networks using the CLI? Perhaps by > assigning my mobile’s MAC address to wlan0, so that I can acknowledge the logon page on my mobile? Is that possible, and would it work? How would I do that? I've used the reverse to get around this issue in the past, simply because changing the MAC address on my laptop is ...


1

BE FORWARDED TO THE SPLASH PAGE Rather than trying to access the splash directly, try to get it to forward you to the splash page. $ lynx www.google.com You should be notified about loading an html file. Agreeing to the prompt will bring up the splash page in the terminal on your mobile device connected to the Pi on wlan1. The virtual keyboard may or ...


1

You need to create a Virtual Desktop. https://www.raspberrypi.org/documentation/remote-access/vnc/README.md explains how. Depending on the application this works for anything you run on the virtual desktop (i.e. using X11), but will not share other consoles so you would need to start your application in the GUI. RealVNC also displays some apps which write ...


1

Your comments suggest that you've tried using an @reboot command in your crontab. The syntax you've used might be an issue. You might try again using the following syntax: @reboot ( /bin/sleep 30; /full/path/to/your/app > /home/pi/cronjoblog 2>&1) See this answer if you need an explanation of this statement.


3

If the w3m text browser does not work you can try to use the classic text browser lynx. It is also available from the Raspbian repository. You can also use scripting for login. I have done it with curl but it has taken me some days of development. You have to analyze the HTML source pages from the login page to GET and PUT the right responses for username ...


2

I have not tried any of this myself, but this is how I would do it. Make sure to have backups and be ready to roll back if something goes wrong. First, add the Debian repo to your sources.list: deb http://deb.debian.org/debian buster main deb-src http://deb.debian.org/debian buster main deb http://deb.debian.org/debian-security/ buster/updates main deb-...


0

Am I wrong to assume that these Ubuntu instructions would work for other Debian like systems such as Raspbian? It's not the difference between Ubuntu and Debian and Raspbian; you can install Ubuntu or Debian on a Pi if you want, but those instructions will than not work any better then they did on Raspbian. The problem is the type of CPU. Executable code ...


0

This solved my problems or is this just my setup? With a prebuilt custom version of Raspbian Buster on Pi 3 the dhclient was a problem interfering with dhcpcd so first had to remove the isc-dhcp-common and isc-dhcp-client packages. Then /etc/network/interfaces with the wpa-conf for /etc/wpa_supplicant/wpa_supplicant.conf and desired /etc/dhcpcd.conf ...


1

If I follow your commands, first I get an error massage tar: /usr/bin/icecat/installed: Cannot open: No such file or directory. First I had to create it with before unpacking the archive: rpi ~$ sudo mkdir -p /usr/bin/icecat/installed rpi ~$ sudo tar -xvf icecat* -C /usr/bin/icecat/installed Now if I look at icecat with file I find: rpi ~$ file /usr/bin/...


3

There are many quirks with creating the virtual interface ap0. You have to follow exactly a sequence, otherwise it won't work. If other applications bind to the wifi port it cannot be set. create a virtual interface ap0 for the access point start access point daemon hostapd using interface ap0 start wpa_supplicant for wifi client using interface wlan0 Many ...


Top 50 recent answers are included