New answers tagged

2

It's possible to make what you have work, but I'll warn you from experience it's tedious and time consuming. Remove the connector (carefully) and cut off the end of your cable taking special care that the cut is perpendicular to the cable. Using a single-edged razor blade or a knife with a thin, sharp blade, split apart each of the individual wires at the ...


1

Like @Milliways wrote, You should be able to power a USB hard disk from the Pi3B+ but it really depends on the drive (and the PSU of the Pi). Also, if the files you are working on are important, I suggest you to use a powered usb hub to prevent "bad things" from happening.


0

Forget Remote Desktop Connection and use the inbuilt RealVNC. Many Pi GUI applications directly access VideoCore (bypassing x interface) and are only usable with a physical screen or RealVNC which has proprietary access to VideoCore.


1

It seems that it is not possible with common ribbon assemblies. Instead i just made and an adaptor board as suggested by @tlfong01 This is currently its PCB footprint would look like and would use right angle female headers and ordinary male headers. The ribbon would attach to the male headers and the female headers will go to the bottom of the hat.


0

They way ribbon cables work is this... If you're connecting to the GPIO pins on the Pi, they're on the top of the PCB. A HAT which connects to it has pins on the bottom to mate with the Pi, and they are located to allow this to happen. It's hard to understand from your question, but I'm guessing you're trying to use the ribbon to connect to the female ...


0

The issue was resolved by sending *RST command. It seems that the signal generator wakes up in some strange mode (BUG). *RST fix it.


1

1) Open Terminal Click on the Terminal Window. 2) cd /usr/bin sets target directory (actually changes directory.) for cp (copy) command. 3) sudo cp lxterminal xterm It makes another copy of "lxterminal" and re-names it to "xterm" (old terminal) so you can use both lxterminal and xterm command to start terminal. Problem Solved Enjoy.


0

Use "pi-ap"- it will automate configuration of a Pi as Access Point with 802.11ac support: https://raspberrypi.stackexchange.com/a/104175/97613 It's been up on Github for about 5 months and folks seem to rate it-


0

Because the bands of 2,4 GHz also differ per country (see the list here https://en.wikipedia.org/wiki/List_of_WLAN_channels) it is true 1-11 are accepted everywhere, but 12, 13 are valid in Europe and Japan but not in the USA and 14 is only valid in Japan. So to connect to a wifi network operating on (in USA illegal) channel 12 or 13 the country code should ...


1

After two days, and a lot of work troubleshooting, I've fixed the problem by: a) Inserting my problematic disk into another computer b) Unmounting the directory (it was automatically mounted) by umount /dev/sda1 c) Running sudo fsck /dev/sda1 It turned out to be a bad bit, and now the problem is all fixed. For future reference, the problem wasn't LXDE, ...


6

The Run button allows you to enter Commands (ie mounting or unmounting drives - sudo mount -a or sudo umount /path/) instead of opening the command terminal. Like this...


0

I got this warning occasionally before I used an SSD instead of a micro SD-Card. After that, no matter what kind of power adapter and cable I use, this alarm always shows up. But the same SSD used with pi 2b+ was fine. I think maybe it's a design bug or the USB socket is damaged. Here's my solution: I connect another pair of power cables to 5V pins from the ...


1

After the helpful keyword from joan, it was indeed a contact bounce and after a few attempts, here's what my loop looks like now. while True: print("Started loop sequence") if static_button.is_pressed: print("Static Button Pressed") print(static_running) if static_running==False: static_display() ...


3

Follow the instructions: 1. Figure out what is the name of USB drive on /dev: ls -l /dev/disk/by-uuid/ It should be like sda1, sdb2, etc. Plug and unplug to making sure about that. 2. Create a mount point whichever you prefer: sudo mkdir /home/pi/drive 3. Give the permission for the mount point: sudo chown -R pi:pi /home/pi/drive Note ...


1

I had issues installing Kali to the USB too. I didn't have an SD card and so I had to fix it without one. It was getting stuck at the rainbow screen because it couldn't find the boot files. I fixed the issue by modifying cmdline.txt to point to my USB device partitions. I also had to change /etc/fstab to point to my USB device partitions. I've written a ...


0

Easy Fix: Update root in cmdline.txt to /dev/sda2 (the correct partition in your case) Eg: root=/dev/sda2 Update /etc/fstab to update the partitions from /dev/mmcblk0p1 and /dev/mmcblk0p2 to your usb device partitions Full guide to what worked for me to get Kali up and running from the USB drive: Make sure your pi board is USB bootable. Should work out ...


0

Answer Ah, let me see. I have the same problem connecting 5G WiFi. I am using a good brand WiFi router with 2G and 5G option. I set up at home both a 2G network, and called it my2Gnet, and another 5G network, my5Gnet. Problems Case 1 - Rpi connected to my2Gnet, with and without wired Ethernet connection. No problem at all. I always see the "Fan ...


4

You're blowing the power budget. You need an external power supply for your LED strip. You're lucky you haven't trashed your SDCard by losing the power supply when the system is busy.


2

Usually hardware is managed with options in /boot/config.txt. Available options can be found in /boot/overlays/README. I have searched there for .*usb.* without a match. So it seems there is no option for the kernel to disable the USB chip on boot up. You should use a systemd service to execute your command on boot up. Create a new service with: rpi ~$ sudo ...


1

I haven't used PiVPN before so I can't say much about it. But when I see your server.conf file it seems to be a very complex setup. Using tap interfaces is also not easy to setup. I don't believe that PiVPN can be made to configure a VPN in bridge mode by just doing some modifications to the configuration. The difference between bridging on OSI layer 2 and ...


0

You could specify that you want the PI to be given a static IP address via the router admin page if you have access to that.


2

Every process increases the current consumption of raspberry pi. If you are using Graphical interface, your consumption will be higher instead of command line interface. I've powered up the raspberry pi with USB 2.0 which provides just 500mA. But problem arises when used with heavy applications. So you can use your source without any worries. Raspberry Pi ...


2

I'd recommend to buy the official Raspberry Pi power supply and NOT use old phone chargers. The reason is simple: Phone chargers are intended to deliver a constant current for charging the battery. Hence the name. They are not suited for variable load like a Raspberry Pi that draws different amount of current depending on what it is doing right now. The ...


1

Based om your responses in comments, it looks like user pi is in the home directory. Try this: rm /var/www/html/index.html You shouldn't even need sudo for that because the index.html file is owned by user pi. Edit: What actually worked was sudo rm /var/www/html/index.html I guess, but am not certain, that sudo was required because the /var/ directory is ...


0

That should be fine. Try it and see. It will not harm the Pi. I invariably use my Pi's headless (no screen or keyboard) and quite often use wall warts rated at less than 2 amps without a problem.


1

From the pyinput documentation : The key parameter passed to callbacks is a pynput.keyboard.Key, for special keys, a pynput.keyboard.KeyCode for normal alphanumeric keys, or just None for unknown keys. 1) Is there any way to map the first key to something other than "None"? The type is : pynput.keyboard.Key. Key.media_volume_up and Key....


Top 50 recent answers are included