This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
username <username> priv 15 secret <your password> | |
aaa new-model | |
aaa authentication login default local | |
aaa authorization exec default local |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for device in sdb3 sdc1 sdd1 sde1; do | |
dev=/dev/$device | |
ovl=/home/ubuntu/$device-overlay | |
truncate -s200M $ovl | |
newdevname=$device | |
size=$(blockdev --getsize "$dev") | |
loop=$(losetup -f --show -- "$ovl") | |
printf '%s\n' "0 $size snapshot $dev $loop P 8" | dmsetup create "$newdevname" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
johnf@carbon:~/personal/projects/openwrt/trunk$ make | |
make[1] world | |
make[2] target/compile | |
make[3] -C target/linux compile | |
make[2] package/cleanup | |
make[2] package/compile | |
make[3] -C package/libs/toolchain compile | |
make[3] -C package/libs/libnl-tiny compile | |
make[3] -C package/libs/libjson-c compile | |
make -r world: build failed. Please re-run make with V=s to see what's going on |