New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
For RPi 4, sfdisk command not found #7
Comments
Hi @dhogaivannan , you need to have $ sudo apt-get install fdisk |
Well, that issue was solved as running in sudo fixed it, what about the second part of code, that seems new |
Running with |
Still no clue
Same error again, any idea? |
That's very odd, as I just checked the latest base Raspberry Pi OS image and Can you share the output of the following commands (one by one)?: lsb_release -a
dpkg -l fdisk | grep sfdisk
which sfdisk
echo $PATH |
Yeah sure thing! lsb_release -a
dpkg -l fdisk | grep sfdisk
|
Same here, it's not a sfdisk problem for me, rather the image does not mount, even when I tried manually with the proper offset. The pi4 image does not mount |
Ok, I Was able to troubleshoot this. But now I'm having
Edit: The issue here is that the pi4 openwrt image has 64bit kernel; which the standard raspberry pi 4 os does not comes with... |
Hey, that's pretty good!
|
I Booted the beta for raspberry pi os 64 bit; I Got the same error as u, I guess there aren't any upgradable packages? I removed that part from the Dockerfile.rpi
|
Hi @hllhll, thanks for looking in to this! I don't have a RPi 4 to test with unfortunately, so I can't be of much help here. I'm considering setting up a build server to automate building these RPi images since it can be a real challenge given the variations in software and hardware on the RPi platform. |
You're getting this error because there is no Wi-Fi device called I suspect the default Wi-Fi device name here is |
Ok, I needed to further understand the configuration file
|
@hllhll that's great news 🥳 I'm glad to hear you got it working. I should improve the documentation in the config file to better explain what each option does. I'd be interested to hear more about your experience running OpenWrt in Docker on the RPi 4. And please feel free to open a PR to fix the build script so that it works with the RPi 4 image! |
@Antexa Yeah, everything worked eventually; used the pi4 64 bit beta image, fixed the .img file change the filesystem. occational problems with the docker cmd that update the packages so I removed id. Under And yeah, it's not very clear from the documentation, the configuration file is a mix of some magic to set up the container networking properly (macvaln etc) + setting up the configuration files inside OpenWRT. @oofnikj, I Might... hopefully... when I'll have time... @ALL: I have a 500mbit optical link and it usually ~480; However, with the docker-wrt as router I get ~250mbit; Any ideas why? (in a peculiar way this is somehow 50% of my downlink speed); While native users reports 850Mbit |
@hllhll re: speed difference, it could be due to the optimizations present in the OpenWrt kernel that are not enabled in the kernel you are currently running. I don't have an RPi 4 otherwise I'd be interested in investigating further. In other news, I've added some automated builds for the RPi. Images are available on Docker Hub, and I'd be happy to get some feedback whether they work. More info in the RPi readme. |
As I tried to build using make build-rpi, i faced this error
While trying to skip that issue by running either in sudo or sudo -s, I ended up facing this -
Is this error related somewhat related to snapshot builds or not related to it?
The text was updated successfully, but these errors were encountered: