0 https://www.youtube.com/watch?v=9-hPhWHWnvs
https://www.youtube.com/watch?v=VXYLsdVrq7E
1 connexion réseau
2 carte memoire
extroot configuration :
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration?s[]=extroot
https://wiki.openwrt.org/doc/howto/extroot
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration
System /mount Points
3 install nodejs
( nxhack : https://wiki.openwrt.org/doc/devel/feeds
custom feeds : src-git node https://github.com/nxhack/openwrt-node-packages.git;master )
sinon update liste node -> V6
opkg install node node-npm
install socket.io
opkg install node-socket.io --force-overwrite ( conflit de fichiers avec node-ws)
https://www.youtube.com/watch?v=VXYLsdVrq7E
1 connexion réseau
2 carte memoire
extroot configuration :
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration?s[]=extroot
https://wiki.openwrt.org/doc/howto/extroot
https://openwrt.org/docs/guide-user/additional-software/extroot_configuration
opkg update && opkg install block-mount kmod-fs-ext4 kmod-usb-storage e2fsprogs kmod-usb-ohci kmod-usb-uhci fdisk
block info /dev/mtdblock2: UUID="9fd43c61-c3f2c38f-13440ce7-53f0d42d" VERSION="4.0" MOUNT="/rom" TYPE="squashfs" /dev/mtdblock3: MOUNT="/overlay" TYPE="jffs2" /dev/sda1: UUID="fdacc9f1-0e0e-45ab-acee-9cb9cc8d7d49" VERSION="1.4" TYPE="f2fs"
For f2fs:
mkfs.f2fs /dev/sda1
For ext4:
mkfs.ext4 /dev/sda1
mount /dev/sda1 /mnt ; tar -C /overlay -cvf - . | tar -C /mnt -xf - ; umount /mntreboot
System /mount Points
Notes
opkg Status
Saving
opkg
status in the extroot, instead of in RAM, saves some RAM and keeps package lists available after a reboot.- Generate the new folder on the extroot:
mkdir /opkg-lists
- Edit
/etc/opkg.conf
, changing: lists_dir ext /var/opkg-lists
intolists_dir ext /opkg-lists
update list
rm -r /var/opkg-lists
3 install nodejs
( nxhack : https://wiki.openwrt.org/doc/devel/feeds
custom feeds : src-git node https://github.com/nxhack/openwrt-node-packages.git;master )
sinon update liste node -> V6
opkg install node node-npm
install socket.io
opkg install node-socket.io --force-overwrite ( conflit de fichiers avec node-ws)
Aucun commentaire:
Enregistrer un commentaire