New answers tagged

0

The Raspberry Pi is a normal (small) computer running Raspbian what's just Debian compiled for the ARM processor and with some firmware for the RasPi. You find freeradius and tacacs+ in its repository. So just install and run it. Look at it and install it with: rpi ~$ apt show freeradius rpi ~$ apt show tacacs+ rpi ~$ sudo apt install freeradius rpi ~$ ...


0

The way to clear this issue is given here Addition information on this issue: The core problem appears to be that the position at which the cursor is displayed is out of sync with the position that the window api has it at. This can be demonstrated by opening a small window such as a terminal window, then: Placing the cursor on the title bar of the window ...


2

There are a few parameters you could tweak in /boot/cmdline.txt back in the day to make USB host more stable (dwc_otg.lpm_enable=0 and the like). These are mostly useless on modern kernels, as either the underlying causes got fixed or the safe values became the default ones. You can try them out but I wouldn't spend too much time on these, as these tweaks ...


0

You can try downloading the wheel file with wget https://www.piwheels.org/simple/tensorflow/tensorflow-1.13.1-cp37-none-linux_armv7l.whl and install it by pip3 install tensorflow-1.13.1-cp37-none-linux_armv7l.whl. Hopefully it works.


-1

Use hash: in front of the passphrase password=hash:d7XXXXXXXXXXXxXXXxce How to create hash code please follow the method 2 mentioned in the link : WiFi not working on fresh install Hope this help you. Cheers!


0

To crop the image in picamera use camera.resolution = (310,200) Try this Code: from time import sleep import picamera camera = picamera.PiCamera() camera.start_preview() #Normal Size of Image #camera.resolution = (1280,640) # Cropped Image camera.resolution = (310,200) sleep(2) camera.capture('image_test.jpg') camera.stop_preview camera.close() Hope ...


0

Check the little connector on the camera board between the camera and the board. I popped that back in and everything worked.


1

Nice puzzle... You should work toward discovering some more information to narrow this down: You've stated, "All works fine when run directly from /home/pi". From that statement, it would seem that something is different when cron starts your job instead of you (your user id). And indeed it is. Among other things, the environment is different. Once you've ...


3

There is a tool called ttybus created exactly for this purpose. Here's an example from their readme page: step 1: create a new tty bus called /tmp/ttyS0mux: tty_bus -s /tmp/ttyS0mux step 2: connect the real device to the bus using tty_attach: tty_attach -s /tmp/ttyS0mux /dev/ttyS0 step 3: create 2 fake ttyS0 devices, attached to the bus: tty_fake -s /...


1

There is no simple way to configure a static ip address at the first initial boot after flashing Raspbian to the SD Card. You have to boot at least one time, login and configure the static ip address. On the first boot there is a script running that expands the root partition to the size of the SD Card and do other essential initialization things. You will ...


2

You have many questions and as you see there are many answers. Btw. you cannot bridge a WiFi client connection. It is not supported by the on board WiFi chip. For further information about this issue you can look at Raspberry Pi WiFi to Ethernet Bridge for a server?. If you like to look at handmade solutions for Raspberry Pi you can look for Access Point ...


1

Here's a program that gets the MAC addr for every interface #!/usr/bin/python import fcntl, socket, struct from os import walk def getHwAddr(ifname): s = socket.socket(socket.AF_INET, socket.SOCK_DGRAM) info = fcntl.ioctl(s.fileno(), 0x8927, struct.pack('256s', ifname[:15])) return ''.join(['%02x:' % ord(char) for char in info[18:24]])[:-1] ...


0

Also be aware that if you are trying to connect to a non-capable network - e.g., the wnic is unable to connect to N-type networks, this connection will also fail. Running the wpa_connect on the command line will give you most of the answers you need.


2

The better answer is to read the NOTICE.md that's presented when you run the up to date version of rpi-update ############################################################# WARNING: 'rpi-update' updates to pre-releases of the linux kernel tree and Videocore firmware. 'rpi-update' should only be used if there is a specific reason to do so - for example, a ...


1

Rigth click on desktop → Desktop prefs → Desktop Tab → check the Wastebasket box


1

You are trying to use an old tutorial for an obsolete OS. You appear to have installed an (unspecified) Raspbian using an unusual tool, which appears to be designed to create bootable drives from an ISO image. I suggest you install a current Raspbian using one of the recommended tools. You can enable ssh headlessly as described in How to set up networking/...


0

I'm not really sure current Java versions are supported on this older Pi-board. Just to make sure, open a terminal, and type "java -version" to make sure Java can run. You should get something like: $ java -version openjdk version "11.0.3" 2019-04-16 OpenJDK Runtime Environment (build 11.0.3+7-post-Raspbian-5) OpenJDK Server VM (build 11.0.3+7-post-Raspbian-...


3

Ok, as it is a windows executable, I need to use the mono cmd: sudo mono MyPath.exe And it works! Of course, you need to install mono before on your raspberry: sudo apt-get install mono-complete


1

I suggest you get a USB to UART dongle and set up your RPi to produce boot messages to serial port. This usually involves editing cmdline.txt to make sure there is a serial console (console=serial0,115200) and there's no quiet parameter. You should be able to collect boot messages on a laptop using Putty or a similar terminal program. Get this working ...


1

I was facing the same problem with the Raspberry pi 4 but without the touch screen. When I studied and searched I found that OS was corrupted or was not compatible to run with the Raspberry pi due to the wrong alteration. I think you are also facing a similar issue. Please follow this link: https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=258526 ...


0

Based on your description, you have installed a fresh copy of Raspbian. Openssh-server is not enabled by default, so you will not be able to ssh to it until you do. Also, you need to do "ssh pi@raspberrypi.local", unless you are logging in from a "pi" account from your linux box. Now, what do you see on your monitor right after you attach power to the Pi? ...


2

Assuming you have correctly written your image on your SD card, here is schematic about how zeroconf work (as specified by @tpack) if you want contact your raspberry with raspberry.local name. Maybe this can help you better understand. Normally if the OS is correctly written and started RPi must obtain an ip addr on her ethernet interface when you plug your ...


4

Based on your answer that there wasn't a boot partition, your report that the display doesn't work, and an experiment that I've just conducted, I suspect that UNetbootin doesn't do a proper job of installing Raspbian. Since you're just getting started, please try this: Get a copy of balenaEtcher and use it to re-flash your microSD card. Try the boot ...


1

The tutorial you reference only enables ssh it does not enable the avahi-daemon (zeroconf) which is what you need if you want to connect via a hostname instead of an IP address. So you'll need the IP address in order to ssh to the pi. Since you are on Linux Mint, try installing nmap and then scanning your network to find the pi. Substitute the appropriate ...


1

To automount your USB drives to a directory of your choosing: In accordance w/ man fstab: The second field (fs_file). This field describes the mount point (target) for the filesystem. For swap partitions, this field should be specified as none. If the name of the mount point contains spaces these can be escaped as \...


0

I was testing a fileserver in a part of the house without easy access to a monitor when I ran into the same issue. The following worked for me, assuming your pi is booting to the default GUI environment: Plug in a keyboard (if not already done). Hit Alt-F2 to open a Run dialog. Type the following and hit Enter to start a Terminal window: lxterminal Wait ...


0

you will need to do a filesystem check & repair: Start the Raspberry holding the Shift key. Once NOOBS loads, press Alt-F2 to access the recovery command line... I had the same problem but with unknown-block(179.7) and the first solution worked fine, just replacing this: sudo fsck.ext4 -y /dev/mmcblk0p6 with this: ...


1

If there is any error while running this on startup, you can’t see the error message. To check this, press ctrl+alt+F1. Here you can check the output of background processes. You can return to graphical display by ctrl+alt+F7. This is the way you can ensure whether there is any error while running the code or not. Now come to your solution, if there is any ...


2

I managed to find the issue; It seems I had a specific service enabled on my pi that was messing with the serial output, namely getty@ttyGS0.service This service is indeed intended to provide console over serial. I fixed the issue by simply disabling and stopping it sudo systemctl disable getty@ttyGS0.service sudo systemctl stop getty@ttyGS0.service


3

⠠⠞⠗⠽ this tutorial: Start with a clean install of the latest release of Raspbian (currently Buster). Raspbian Buster Lite is recommended. Update Raspbian, including the kernel and firmware, followed by a reboot: sudo apt-get update sudo apt-get dist-upgrade sudo reboot Set the WiFi country in raspi-config’s Localisation Options: sudo raspi-config If you ...


2

Try following this tutorial. I have something like this in my house to extend the WiFi coverage. I don't recall if I followed this exact tutorial, but these are the basic steps that I followed. I will paste the major steps from the tutorial here: Step 1: Install and update Raspbian Step 2: Install hostapd and dnsmasq Step 3: Configure a static IP for the ...


1

Assuming that your scripts all execute properly when run manually from the command line, this should get things moving forward: You will need two separate crontab entries for what you want to do. To start at reboot, try this: @reboot ( /bin/sleep 30; /bin/bash /home/pi/git/vthoang/cgminer/x1R606b.sh >> /home/pi/cronjoblog 2>&1) To start a ...


3

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

For NOOB you need copy config.txt with command disable_splash=1 to recovery partition. cd /boot sudo mkdir /media/recovery sudo mount /dev/mmcblk0p1 /media/recovery/ sudo cp config.txt /media/recovery/ sudo reboot Thats it, now no slpash screen show


0

That would be: @reboot /home/pi/git/vthoang/cgminer/x1R606b.sh 0 0,12 * * * /home/pi/git/vthoang/cgminer/x1R606b.sh Note that there are some issues with running @reboot if you are not root, so you probably want to do this as root. If you want to test if it works, you can just try to put @reboot /bin/date > /tmp/rebootproof in root's crontab and ...


0

PCManFM already has an option to set Folder View Mode to Thumbnail View


2

The topic has been discussed several times on Opensource.SE, e.g. here. In short: If you wrote an application, you can keep it closed source, provided it's compatible with all the libraries you have used. If you added kernel patches or drivers, you'll have to publish the source code for those. If you sell a product with an embedded GPL software (Linux) or ...


0

In the end this issue was caused by my Virgin Media "SuperHub 3.0" router with it's dynamic wifi channel switching. I disabled it about 11 days ago and not a blip of an issue since. This also explains why it occurred more often when I was using my laptop upstairs in my house, something which I thought was just my imagination, but obviously an action that ...


4

You want to use Raspbian, not NOOBS. As you see NOOBS is very error prone so most of us use the Raspbian image direct. You can get it from Raspbian Download. Please don't follow the link for NOOBS given on that side. Instead use the other given link installation guide. Don't worry about the shown partitions from the SD Card (I suppose you mean that) that ...


1

I solved it and thank you goldilocks for your answer. Android Side I installed the app Rsync Wrapper on my Samsung and configured it with the following parameters: Source: /storage/WXYZC-ABCD/DCIM/Camera/ Destination: username@192.168.2.4:~/userS8/ Option: -r --ignore-existing --progress -e "ssh -l username -i /data/user/0/net.letscorp.rsyncwrapper/...


1

If you are using a Raspberry Pi 3 then try this code: import RPi.GPIO as GPIO import time GPIO.setmode(GPIO.BCM) # Setting BCM mode GPIO.setup(4,GPIO.IN,pull_up_down = GPIO.PUD_DOWN) #Setting Button Input with Pull down Resistor notation GPIO.setup(17,GPIO.OUT) while True: try: if (GPIO.input(4)==0): # Cheking Button Condition print(...


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....


-1

sudo apt-get remove lirc sudo apt-get install lirc


0

If your router has bandwidth options you should try switching between 2.4 and 5ghz as my raspberry sometimes don't want to connect on one or the other.


0

I changed WiFi (from router to phone) and it started working fine


1

ntfs-3g has a limited support for journal: it will try to clear the existing entries before mounting (thus allowing you to mount a partition which was not unmounted cleanly), but it will not create new journal entries when you write on an already mounted volume. One more reason to always unmount NTFS disks before disconnecting them from the RPi.


1

The Raspberry PIXEL is a 32 bit window desktop manager. We have to wait for a 64 bit version. Until then you can try LXDE or Enlightenment 64 bit window managers supported by Ubuntu OS.


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/...


0

Open the terminal and type sudo raspi-config Select Advanced Options shown in fig Next Select the Expand File System as shown in fig Then hit Enter followed by hit Finish Now Reboot your machine. Kudos!!!, Your File system is expanded.


0

Method 1: Default Wifi Setting Press Ctrl+Alt+T and type sudo nano /etc/network/interfaces Edit the Interface file auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp Save the file. And type this command in terminal sudo nano /etc/...


Top 50 recent answers are included