Hot answers tagged

5

You do not need to setup a bridge but it depends on what you want. In general there are two possibilities to connect to your internet router (or any other network gateway). You can use routing or bridging. With routing you route traffic from one separated subnet to a neighbor subnet. This means you have different ip address ranges, e.g. 192.168.1.0/24 and ...


5

In general, every I2C device has its own address, and one can connect many devices to the same port e.g. of the PI. Individual communication is possible via those addresses. (This is something you set in your program code) Now, it should be clear that this only works if each device has its own, unique address on the port. If you buy a hand full of those ...


3

For USB devices you can use lsusb. It should be installed by default in your Pi - if not do: sudo apt-get update sudo apt-get install usbutils later you can run the command lsusb and you should see all the devices connected via USB


2

The filesystem on the SD card is FAT on the /boot/partition that windows can read and the rest is ext4 that Windows cant read without a filesystem driver. There are several ext filesystem driver and filesystem readers out there: Ext2Fsd http://www.ext2fsd.com/ Is a Windows file system driver for the Ext2, Ext3, and Ext4 file systems. It support both read ...


2

1) Backup your SD To backup the SD, I suggest taking an image of the SD card. This can be done using Win32 Disk Imager on Windows, diskutils on OSX or dd on linux machines. The process is explained in detail on this PiHut blog post. Once you have a backup, you can flash a clean image back to the SD card and fingers crossed the Pi will boot. 2) Recovering ...


2

I figured this out after doing some more research, but if anyone has the same problem, download Disk Internals Linux Reader. It is a really useful tool to see inside the RaspberryPi files and save your files. Afterwards, you can format it and re-image.


2

I did the exact same thing: Shortened the 5V and 3V3 rail by accident (with a probe). In my case it was sufficient to replace the Power-Management-Chip, which is indeed available. I used aliexpress to order it (MXL7704-R3). You will however need a hot air rework station. A cheap one as in my case will do, but a simple hot air blower from the hardware ...


2

There are some things mixed up or unclear why do you use unfamiliar setups. Please note that old style Debian ifupdown networking (with /etc/network/interfaces) is deprecated at least since Raspbian Stretch and you should avoid using it. That may conflict with default used dhcpcd. You find a note in /etc/network/interfaces saying: # Please note that this ...


1

As far as I understand you want to have two client connections to two different remote hotspots, one access point for WORK and one access point for GUESTS. These are so called managed connections. On a Raspberry Pi you can look what interface combinations are possible with: rpi ~$ iw list --- snip --- valid interface combinations: * #{ managed } <= ...


1

Looks like you're using the physical pin numbers. All RPF documentation, settings and software (such as dtoverlay, gpiozero, etc) work with the BCM numbers. You can find these at pinout and elsewhere.


1

If you specify now to shutdown or call for reboot, then the command take immediate effect. Among other things it stops the ssh services and you can / will get cold-dropped like that. If you want to get a warning, then you need to specify a future time for the command to execute.


1

According to this Debian HowTo, the interfaces file should look like this: allow-hotplug wlan0 iface wlan0 inet dhcp wpa-ssid myssid wpa-psk ccb290fd4fe6b22935cbae31449e050edd02ad44627b16ce0151668f5f53c01b For static addresses you have to adapt the address configuration, but the wireless part is the same. allow-hotplug wlan0 iface wlan0 ...


1

Barring motorbikes, bicycles, and antique cars with manual cranks (of which the last two types don't have CAN buses), every "vehicle" has a battery, either as a primary source of energy, or as a source for combustion engine starter. All you have to do is find a way to connect your data logger directly to the battery, not to a secondary circuit which is ...


1

Outside of adding hardware to clean shutdown the system when the vehicle is turned off. One option is to mount the usb using the sync option of the mount command. From the manpage for mount: sync: All I/O to the filesystem should be done synchronously. In case of media with limited number of write cycles (e.g. some flash drives) "sync" may cause life-...


1

You'll need to add more info before you get any good answers. For example, is the pi currently connected to any type of network? If it is, it should be straightforward to access a video feed its producing. (check out dataplicity ). If it's not, then you'll have to create a network for it to connect to, which is a different type of problem (buy a wifi ...


1

To check the status of services you can use the power of systemctl. For example you can query for all active systemd units with: rpi ~$ systemctl --state=active --no-legend list-units systemd-* systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch systemd-ask-password-wall.path loaded active ...


1

As far i know this is because your rpi VNC server is not enabled. You can enable it using command sudo raspi-config, a interface will pop and here go to: Interfacing options->p4 VNC->enable. Im assuming your rpi is headless and also not connected to a network since you are using a ethernet cable. You probably need to connect a keyboard and monitor if u are ...


1

I solved that problem by using a netgear switch behind my ISP's router. The "Unitymedia ConnectBox" in my case generated about 15% packet loss. I experienced all the problems you described and it's really strange that the wifi connection runs just fine. Also RPi1 and 2 worked with my router as well (haven't bought the RPi3). Try to link your pi's network ...


Only top voted, non community-wiki answers of a minimum length are eligible