Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-03-06 Thread Diana Eichert
Sebastian While I can't see any files on the mounted file system I can use squash_ls and squash_extract to access files on the squashfs image file. diana On Thu, Feb 28, 2019 at 11:17 AM Diana Eichert wrote: > > I built squashfuse, mounted squashfs image, ls on mount point shows nothing. > >

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-28 Thread Diana Eichert
I built squashfuse, mounted squashfs image, ls on mount point shows nothing. squashfuse -o debug,allow_other /home/deeiche/tmp/squashfs.img /mnt_deeiche On Mon, Feb 25, 2019 at 6:24 PM Stuart Henderson wrote: > > I may be doing it wrong, but if I download an old fedora squash.img or > open

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-25 Thread Stuart Henderson
I may be doing it wrong, but if I download an old fedora squash.img or openwrt's openwrt-x86-generic-rootfs-squashfs.img and attempt to mount it using this on amd64, it gives me an empty directory. Other supposedly squashfs image files that I tried were mostly rejected with "This doesn't look like

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-25 Thread Diana Eichert
I'm going to build the updated version Stuart posted. Will be awhile as USG aren't the fastest build platform. thanks On Mon, Feb 25, 2019 at 10:56 AM Sebastian Benoit wrote: > > Diana Eichert(deich...@wrench.com) on 2019.02.24 13:42:34 -0700: > > thanks everyone for their feedback. > > > > I

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-25 Thread Sebastian Benoit
Diana Eichert(deich...@wrench.com) on 2019.02.24 13:42:34 -0700: > thanks everyone for their feedback. > > I ended up backing up internal emmc drive and disklabel > dd if=/dev/rsd1c of=emmc_4G_backup/factory_linux.img bs=8225280 count=481 > > next step is install on internal drive. > > New quest

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-24 Thread Diana Eichert
thanks everyone for their feedback. I ended up backing up internal emmc drive and disklabel dd if=/dev/rsd1c of=emmc_4G_backup/factory_linux.img bs=8225280 count=481 next step is install on internal drive. New question, is there a way to mount Squashfs filesystem on OpenBSD? file /mnt/squashfs.

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-13 Thread Aaron Bieber
Diana Eichert writes: > I've been running OpenBSD 6.4 on a USG PRO-4 using external SSD drive > in USB enclosure. > > The platform page states "OpenBSD/octeon can be installed on all > machines which have local Compact Flash or USB storage". > > The USG PRO-4 uses emmc storage. According to com

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-12 Thread Ted Unangst
Diana Eichert wrote: > If so, is there a good way to dump existing factory firmware from emmc > before I install OpenBSD? At some point I may have to restore to > factory. Assuming you netboot bsd.rd, there's dd on the ramdisk. Alas, no netcat, but it does have the nfs client, so you can save the

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-12 Thread Jordan Geoghegan
On 2/12/19 3:10 PM, Diana Eichert wrote: I've been running OpenBSD 6.4 on a USG PRO-4 using external SSD drive in USB enclosure. The platform page states "OpenBSD/octeon can be installed on all machines which have local Compact Flash or USB storage". The USG PRO-4 uses emmc storage. Accordin

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-12 Thread Tom Smyth
Hi Diana, you could try to do the recovery procedure listed here it is for another branch of ubnt products but they are generally similar https://help.ubnt.com/hc/en-us/articles/204911324-airMAX-How-to-reset-your-device-with-TFTP-firmware-recovery if you have a tftp daemon on your laptop and the

Re: emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-12 Thread Tom Smyth
Hi Diana, Ill ask a few engineers I know who use the ubnt gear quite a bit ... and get back to you.. ubnt may have a utility for it ... On Tue, 12 Feb 2019 at 23:17, Diana Eichert wrote: > > I've been running OpenBSD 6.4 on a USG PRO-4 using external SSD drive > in USB enclosure. > > The platform

emmc support on Ubiquiti Networks UniFi Security Gateway PRO-4

2019-02-12 Thread Diana Eichert
I've been running OpenBSD 6.4 on a USG PRO-4 using external SSD drive in USB enclosure. The platform page states "OpenBSD/octeon can be installed on all machines which have local Compact Flash or USB storage". The USG PRO-4 uses emmc storage. According to commit 1.28 of RAMDISK config " Add a d