Commit Graph

38 Commits

Author SHA1 Message Date
961b4250de Update update_pwnagotchi.sh 2019-10-03 00:58:23 -07:00
f108ed95a7 added hostname backup and restore
https://github.com/evilsocket/pwnagotchi/issues/69#issue-501710314

Couldn't decide if it should be a separate option by itself, but I personally think they do go hand in hand.
2019-10-02 23:12:57 -07:00
f6b3f705d3 Merge pull request #62 from massar/noSoptionneeded
The -S option does not exist, as it is automatically detected (OPT_SPARSE)
2019-10-02 19:05:38 +02:00
b948627bd5 Fix CRLF line endings...
Before:
```
bash: ./update_pwnagotchi.sh: /bin/bash^M: bad interpreter: No such file or directory
```

Thus:
```
scripts/update_pwnagotchi.sh: Bourne-Again shell script text executable, ASCII text, with CRLF line terminators

dos2unix: converting file scripts/update_pwnagotchi.sh to Unix format...

scripts/update_pwnagotchi.sh: Bourne-Again shell script text executable, ASCII text
```

Now it works :)
2019-10-02 19:03:50 +02:00
58edfd2a4b The -S option does not exist, as it is automatically detected (OPT_SPARSE) 2019-10-02 18:25:18 +02:00
96816d474c Default to 8GB images
Currently it's not possible to build images with 4GB, therefor 8GB should be default.
2019-10-02 14:49:39 +02:00
9504f46bd6 Merge pull request #38 from dadav/fix/add_rest_of_emotions
Add rest of emotions
2019-10-02 13:09:43 +02:00
505c616e1d Merge pull request #40 from justin-p/update_script
Update script
2019-10-02 13:09:30 +02:00
6bd4874d45 Merge pull request #41 from massar/bmap
Enable detection of bmaptool, and if present generate sparse files.
2019-10-02 13:08:45 +02:00
d86946813d Merge pull request #39 from strasharo/patch-1
Fix for the segmentation fault in qemu
2019-10-02 13:07:25 +02:00
4c20314c90 Update dependencies, as travis needs bmap-tools now to perform CI 2019-10-02 11:57:25 +02:00
4aa2665daf Add -A option so that one can pass in the URL of a APT Proxy (eg apt-cacher-ng) so that rebuilding is much faster 2019-10-02 11:53:18 +02:00
a4e2fe02b6 Enable detection of bmaptool, and if present generate sparse files.
This uses https://github.com/intel/bmap-tools to generate a .bmap file
which can be copied around. The bmaptool allows storing sparse files
onto for instance an SD card, thus avoiding having to transfer the full
disk image every time one burns one.
Thus saving lots of time (and SD card cycles).

This also adds some instructions for then transfering and copying the
sparse file.

bmaptool: info: discovered bmap file '/Users/jeroen/berry.img.bmap'
bmaptool: info: block map format version 2.0
bmaptool: info: 7324219 blocks of size 4096 (27.9 GiB), mapped 1539940 blocks (5.9 GiB or 21.0%)
bmaptool: info: copying image 'berry.img' to file 'rdisk4' using bmap file 'berry.img.bmap'
bmaptool: info: 100% copied
bmaptool: info: synchronizing '/dev/rdisk4'
bmaptool: info: copying time: 6m 49.7s, copying speed 14.7 MiB/sec

versus copying the whole 30G which would take forever...
2019-10-02 11:33:07 +02:00
bc2bca79b5 updated arguments to getopts. Added -m for restart mode. Moved prerequisites checks. 2019-10-02 10:40:16 +02:00
cd5be9c4cd Add /boot. Redo help. Replaced --commit/--branch with --version. Added --url to easly switch to other fork for testing 2019-10-02 10:14:26 +02:00
a495ffb136 Add update script 2019-10-02 00:29:14 +02:00
30744a8dd5 Fix for the segmentation fault in qemu
Without this I'm getting a constant segmentation fault when running go under qemu on Fedora 30:

+ export GOPATH=/root/go
+ GOPATH=/root/go
+ go get -u github.com/bettercap/bettercap
qemu: uncaught target signal 11 (Segmentation fault) - core dumped
bin/bash: line 52: 23146 Segmentation fault      (core dumped) go get -u github.com/bettercap/bettercap

https://bugs.launchpad.net/qemu/+bug/1696773
2019-10-01 23:52:59 +03:00
a004125bde Add rest of emotions 2019-10-01 21:52:35 +02:00
b502912d7f fixed preview script 2019-10-01 18:56:27 +02:00
33f9917b90 Exception handlers in preview script 2019-10-01 16:41:43 +00:00
2bc485023a Add pwnagotchi preview 2019-10-01 12:18:29 +02:00
21730a82cb Update create_sibling.sh
added ../ to help new users to find the .img after creation. command tested to work to burn image, though I use sudo
2019-10-01 00:05:04 -07:00
11501bed2f macos connection share script 2019-09-30 21:59:33 +02:00
4006e45704 Merge pull request #18 from alwayslivid/master
Changed hardcoded paths
2019-09-29 21:26:34 +02:00
742782f940 Merge pull request #21 from dadav/feature/languages
Add multilanguage support
2019-09-29 21:17:06 +02:00
8ba2ddcd88 Update usage 2019-09-29 16:03:42 +02:00
2935d9ccaf Add multilanguage support
Add german
2019-09-29 15:44:55 +02:00
feb80fc635 Changed hardcoded paths 2019-09-29 07:26:27 +00:00
83a6e3f45d services cleanup. powersave features and shellcheck fixes 2019-09-29 01:41:49 +01:00
8b9f8bf022 Add travis support 2019-09-28 19:52:45 +02:00
39d42716c7 adding resolv.conf for DNS resolution in chroot 2019-09-27 12:23:47 -05:00
4b16c4c946 Update create_sibling.sh
Fixed a getcwd() error
2019-09-27 18:03:44 +02:00
67c1206276 Fixed bugs and made the script work out-of-the-box for the first time 2019-09-27 13:11:02 +02:00
3b24d27d6b Added ability to provide path to raspbian.img
For people that are testing and don't want to download it again.
2019-09-26 17:15:26 +03:00
ed272f70bf Update create_sibling.sh
Fix for “dependencies checks” flag option.
2019-09-25 19:39:40 -04:00
c76c85b861 Script improvement and bugfixes 2019-09-24 21:32:27 +02:00
5bac6ba5c0 misc: small fix or general refactoring i did not bother commenting 2019-09-24 15:54:41 +02:00
fb3ddfe2ce scripts folder 2019-09-24 15:50:27 +02:00