sirexeclp / pi-setup Goto Github PK
View Code? Open in Web Editor NEWA simple tool for automated headless setup of raspberry pis
A simple tool for automated headless setup of raspberry pis
Maybe rerun lsblk again after mounting instead of parsing the output of udiskctl
If there are 2,4 and 5GHz wifi on the same ssid and the host ist connected to 5G it triggers the assertion!
We need to find out if the same ssid can be used on the 2.4 GHz band
e.g. by checking /etc/os-release
add the option to clone a git repo to the pi's home directory
Block device output (excerpt):
{"name":"sdc", "kname":"sdc", "path":"/dev/sdc", "maj:min":"8:32", "fsavail":null, "fssize":null, "fstype":null, "fsused":null, "fsuse%":null, "mountpoint":null, "label":null, "uuid":null, "ptuuid":"5e3da3da", "pttype":"dos", "parttype":null, "partlabel":null, "partuuid":null, "partflags":null, "ra":128, "ro":false, "rm":true, "hotplug":true, "model":"SD_Transcend", "serial":"000000000037", "size":"14,9G", "state":"running", "owner":"root", "group":"disk", "mode":"brw-rw----", "alignment":0, "min-io":512, "opt-io":0, "phy-sec":512, "log-sec":512, "rota":true, "sched":"mq-deadline", "rq-size":2, "type":"disk", "disc-aln":0, "disc-gran":"0B", "disc-max":"0B", "disc-zero":false, "wsame":"0B", "wwn":null, "rand":true, "pkname":null, "hctl":"2:0:0:0", "tran":"usb", "subsystems":"block:scsi:usb:pci", "rev":"TS3A", "vendor":"TS-RDF5 ", "zoned":"none",
"children": [
{"name":"sdc1", "kname":"sdc1", "path":"/dev/sdc1", "maj:min":"8:33", "fsavail":null, "fssize":null, "fstype":"vfat", "fsused":null, "fsuse%":null, "mountpoint":null, "label":"boot", "uuid":"9F2D-0578", "ptuuid":"5e3da3da", "pttype":"dos", "parttype":"0xc", "partlabel":null, "partuuid":"5e3da3da-01", "partflags":null, "ra":128, "ro":false, "rm":true, "hotplug":true, "model":null, "serial":null, "size":"256M", "state":null, "owner":"root", "group":"disk", "mode":"brw-rw----", "alignment":0, "min-io":512, "opt-io":0, "phy-sec":512, "log-sec":512, "rota":true, "sched":"mq-deadline", "rq-size":2, "type":"part", "disc-aln":0, "disc-gran":"0B", "disc-max":"0B", "disc-zero":false, "wsame":"0B", "wwn":null, "rand":true, "pkname":"sdc", "hctl":null, "tran":null, "subsystems":"block:scsi:usb:pci", "rev":null, "vendor":null, "zoned":"none"},
{"name":"sdc2", "kname":"sdc2", "path":"/dev/sdc2", "maj:min":"8:34", "fsavail":null, "fssize":null, "fstype":"ext4", "fsused":null, "fsuse%":null, "mountpoint":null, "label":"rootfs", "uuid":"efc2ea8b-042f-47f5-953e-577d8860de55", "ptuuid":"5e3da3da", "pttype":"dos", "parttype":"0x83", "partlabel":null, "partuuid":"5e3da3da-02", "partflags":null, "ra":128, "ro":false, "rm":true, "hotplug":true, "model":null, "serial":null, "size":"6,1G", "state":null, "owner":"root", "group":"disk", "mode":"brw-rw----", "alignment":0, "min-io":512, "opt-io":0, "phy-sec":512, "log-sec":512, "rota":true, "sched":"mq-deadline", "rq-size":2, "type":"part", "disc-aln":0, "disc-gran":"0B", "disc-max":"0B", "disc-zero":false, "wsame":"0B", "wwn":null, "rand":true, "pkname":"sdc", "hctl":null, "tran":null, "subsystems":"block:scsi:usb:pci", "rev":null, "vendor":null, "zoned":"none"}
]
},
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.