Go to advanced search

by thagrol
Mon Jul 15, 2019 11:02 pm
Forum: Networking and servers
Topic: Howto: ethernet gadget on Pi4B USB C
Replies: 2
Views: 83

Re: Howto: ethernet gadget on Pi4B USB C

ejolson wrote:
Mon Jul 15, 2019 10:47 pm
Did you need to cut any power wires in the USB C cable to prevent backpowering from the Pi up to the host port?
I haven't done so but see my post here: https://www.raspberrypi.org/forums/view ... 8#p1500930
by thagrol
Mon Jul 15, 2019 10:55 pm
Forum: Troubleshooting
Topic: PI4 USB Boot
Replies: 10
Views: 620

Re: PI4 USB Boot

... Which isn't old school at all. It's how every linux system with separate /boot and / partitions does it. Good point! I was referring to the way people used to boot older models from USB before the Pi3 and bootcode.bin method were available... Sorry. Didn't mean to imply that you were old school...
by thagrol
Mon Jul 15, 2019 9:50 pm
Forum: Advanced users
Topic: usb and direct power
Replies: 2
Views: 79

Re: usb and direct power

What drgeoff said. However I currently have a 4B and 1B connected via the 4B's USB C port and both are being powered via their GPIO headers. Probably not ideal if each have their own PSU (differing ground levels, output voltage variences etc) but in my case both Pi are bieng powered by the same ATX ...
by thagrol
Mon Jul 15, 2019 9:40 pm
Forum: Troubleshooting
Topic: PI4 USB Boot
Replies: 10
Views: 620

Re: PI4 USB Boot

I'm very surprised that this hasn't been included on Pi 4 - USB boot is a critical feature because SD Cards are so stupidly fragile - a single power supply interrupt can completely destroy a card. Not this again :roll: HDD, SSD, USB flash storage, etc are also "stupidly fragile". A "single power su...
by thagrol
Mon Jul 15, 2019 3:04 pm
Forum: Networking and servers
Topic: Howto: ethernet gadget on Pi4B USB C
Replies: 2
Views: 83

Howto: ethernet gadget on Pi4B USB C

In case anyone wants to try it, here's how I got a 4B running as a USB ethenet gadget. Firstly, this only works on the USB C port not on the USB 2 or USB 3 ports. Because of this you may have to find another way to get power into the 4B. Requirements: Raspberry Pi 4B (any RAM size) and asociated cab...
by thagrol
Mon Jul 15, 2019 12:27 pm
Forum: Troubleshooting
Topic: Tell Raspbian to use SD Card for /boot and USB for /
Replies: 9
Views: 208

Re: Tell Raspbian to use SD Card for /boot and USB for /

I thought about putting only the bin file on the SD but then decided against it as if any updates come out you would have to manually copy the file over to the SD card as it’s not mounted anywhere. Going on a limb here: but why bother updating bootcode.bin? It's an early stage boot loader and won't...
by thagrol
Mon Jul 15, 2019 12:24 pm
Forum: Troubleshooting
Topic: Tell Raspbian to use SD Card for /boot and USB for /
Replies: 9
Views: 208

Re: Tell Raspbian to use SD Card for /boot and USB for /

Actually, with the older models you don't even need /boot on the card any longer. Just write a Raspbian image to your USB drive and copy the bootcode.bin file from the USB "boot" partition to a FAT32 SD card. Plug the bootcode.bin-only SD card and Raspbian imaged USB drive into the system and it sh...
by thagrol
Mon Jul 15, 2019 12:12 pm
Forum: Troubleshooting
Topic: SSH over USB with Raspberry Pi 3B?
Replies: 5
Views: 3428

Re: SSH over USB with Raspberry Pi 3B?

Hi, Shall You share the steps required for communicating Raspberry Pi 3 B+ with an Ubuntu Laptop, through SSH, with USBNET cable? I think USBNET cable need to be connected to one of the USB Host ports of Raspberry Pi 3 B+(not in USB slave port). Right? Neither RPi3B nor RPi3B+ has a USB slave port....
by thagrol
Sun Jul 14, 2019 5:30 pm
Forum: Troubleshooting
Topic: Mounted USB stick owned by root when console autologin, pi when desktop autologin
Replies: 6
Views: 110

Re: Mounted USB stick owned by root when console autologin, pi when desktop autologin

I think there is something more going on. I have only two entries in fstab for the two usb sticks I'm using. I've been renaming the mount point in fstab in order to see what is going on and despite there only being two entries in fstab I'm seeing all the old name under /media after a reboot, even p...
by thagrol
Sat Jul 13, 2019 11:57 pm
Forum: Other projects
Topic: Pi Zero W as USB dongle for a Tesla
Replies: 11
Views: 234

Re: Pi Zero W as USB dongle for a Tesla

zwieblum wrote:
Sat Jul 13, 2019 10:36 pm
CoW works on blocks, not files. And it's the bauty of snapshots that they are transparent to conumers.
Fair enough. I stand corrected though I still have doubts of the benefit of the added complexity.
by thagrol
Sat Jul 13, 2019 11:54 pm
Forum: Troubleshooting
Topic: Mounted USB stick owned by root when console autologin, pi when desktop autologin
Replies: 6
Views: 110

Re: Mounted USB stick owned by root when console autologin, pi when desktop autologin

"If you just want the stick mounted at boot time, you need to use either /etc/fstab or a systemd mount unit." Ok, thanks for the reply. I'll try that. It is pathetic that such a step is necessary in 2019. No, not at all. At least not when you consider where linux has come from (derived in many ways...
by thagrol
Sat Jul 13, 2019 11:20 pm
Forum: Troubleshooting
Topic: Setting up RPi Zero W as USB Gadget doesn't seem to be working properly
Replies: 2
Views: 48

Re: Setting up RPi Zero W as USB Gadget doesn't seem to be working properly

Need more information I'm afraid. Which USB gadget(s) are you trying to use? What USB cable are you using and which ports have you connected it to? And which way around? Can you post the following (use code tags) from the zero: /boot/config.txt /boot/cmdline.txt Your config script for the USB gadget...
by thagrol
Sat Jul 13, 2019 11:15 pm
Forum: Troubleshooting
Topic: Mounted USB stick owned by root when console autologin, pi when desktop autologin
Replies: 6
Views: 110

Re: Mounted USB stick owned by root when console autologin, pi when desktop autologin

Unless you've made changes to /etc/fstab the USB stick isn't being mounted when you (auto)login to the command line. What youre'see is the details for the mountpoint with nothing mounted on it. A mount point is just a directory, usualy empty somewhere in the file system. As such it has one set of pr...
by thagrol
Sat Jul 13, 2019 11:01 pm
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 3428

Re: I can´t boot from usb in pi 4

Just don't want to use a uSD card. That's not an unreasonable desire. I want to flash an OS to an USB drive, boot on it directly just out of the box like the pi3b+ without having to do it manually. Sadly that's currently not possible as was known before you joined this thread. The way you've gone a...
by thagrol
Sat Jul 13, 2019 10:56 pm
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 3428

Re: I can´t boot from usb in pi 4

When PC manufacturers stopped including floppy drives did you take the same attitude or did you apply a workaround buy providing your own? I'm assuming here, you're old enough to have been around during that time but given your obvious immaturity I doubt that's the case. Comparing end of life of fl...
by thagrol
Sat Jul 13, 2019 10:42 pm
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 3428

Re: I can´t boot from usb in pi 4

Concerning all other people, just responding to make fun on me, well you just giving the proof I was right concerning your mindset. As I said above, nobody is making fun of you. Some of us have commented on how you are coming across to us which is not the same thing at all. And the quote above just...
by thagrol
Sat Jul 13, 2019 10:23 pm
Forum: Other projects
Topic: Pi Zero W as USB dongle for a Tesla
Replies: 11
Views: 234

Re: Pi Zero W as USB dongle for a Tesla

We're getting off topic but hey. Define "inefficient". Sure: poor use of available space and reduced performance FS. If you want to access one filesystem accessable from 2 computers as actual filesystems, you have to live with what you can get. I never said otherwise. In the particular case of g_mas...
by thagrol
Sat Jul 13, 2019 8:26 pm
Forum: Other projects
Topic: Pi Zero W as USB dongle for a Tesla
Replies: 11
Views: 234

Re: Pi Zero W as USB dongle for a Tesla

Well, IMO in this example the Tesla is the USB-host, RPi is usb-device. So we're both on the same page there. RPi handles a bunch of byted over to host as storage device, e.g. by using modprobe g_mass_storage file=/a/file/of/1GB.img /a/file/of/1GB.img now lives on a filesystem that supports snapsho...
by thagrol
Sat Jul 13, 2019 7:10 pm
Forum: Other projects
Topic: Pi Zero W as USB dongle for a Tesla
Replies: 11
Views: 234

Re: Pi Zero W as USB dongle for a Tesla

USB host does not know on which filesystem the file that is presented as storage devise is on. Yes it does. The host (the device acting as the USB master i.e. the tesla) knows what the filesystem is and how to write correctly formatted data to it. Well unless it's writing raw data to the partition....
by thagrol
Sat Jul 13, 2019 4:36 pm
Forum: Other projects
Topic: Pi Zero W as USB dongle for a Tesla
Replies: 11
Views: 234

Re: Pi Zero W as USB dongle for a Tesla

On the other hand you might get around with a little trick: measure the io stats of the assigned device, if there is no traffic for e.g. 10 secs, then mount the device readonly, copy/rsync/whatever the contents to a different location, unmount the device again. This works as long as your gadgets fi...
by thagrol
Sat Jul 13, 2019 11:46 am
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 3428

Re: I can´t boot from usb in pi 4

Nice to see how some guys don't want to admit there's an issue. For every single customer complaining about the lack and regression of usb boot support OUT OF THE BOX as it is for the previous version, the pi 3b+, you're saying they are a minority, most of people don't care about usb booting blabla...
by thagrol
Fri Jul 12, 2019 11:51 pm
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 3428

Re: I can´t boot from usb in pi 4

Using a Micro SD as drive. Just the worst way to run an OS. Easy? Yes. Cheap? Yes Fast? No Reliable? No Something I left out earlier: You're forgetting that the primary purpose of the Pi was (and AFIK still is) providing cheap educational computers for kids to learn coding on. Not something that ca...
by thagrol
Fri Jul 12, 2019 11:46 pm
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 3428

Re: I can´t boot from usb in pi 4

Any new computer system has had issues - if you think things not working at the start is new to this industry you are sadly deluded - just look at Windows 3.1 and 3.1.1 to say nothing of versions of DOS or CP/M Not just new ones. I remeber working with a sysadmin back in the 90s whose rule was neve...
by thagrol
Fri Jul 12, 2019 11:36 pm
Forum: General discussion
Topic: Raspberry Pi 4 usb boot?
Replies: 107
Views: 9963

Re: Raspberry Pi 4 usb boot?

The Pi is an amazing device. Sure. But the devs should have held off and provided more testing before releasing into the Wild. How was the USB charging thing even missed? We’re they only testing with their official chargers? That’s mystifying... No, it's pragmatic. Have you any idea just how many d...
by thagrol
Fri Jul 12, 2019 10:59 pm
Forum: Troubleshooting
Topic: I can´t boot from usb in pi 4
Replies: 74
Views: 3428

Re: I can´t boot from usb in pi 4

The pi3b+ can boot from usb The pi4 can't If that's not a regression, what's a regression then? You're advertising the pi4 as desktop replacement... Using a Micro SD as drive. Just the worst way to run an OS. Easy? Yes. Cheap? Yes Fast? No Reliable? No I bought a Pi4 day one. Now I see another arti...

Go to advanced search