mirror of
https://github.com/jayofelony/pwnagotchi.git
synced 2025-07-01 18:37:27 -04:00
@ -10,7 +10,7 @@
|
|||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
chdir: /usr/local/src/nexmon/
|
chdir: /usr/local/src/nexmon/
|
||||||
|
|
||||||
- name: make firmware patch
|
- name: "make firmware patch ({{ item.patch }})"
|
||||||
shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/{{ item.patch }}/nexmon/ && make"
|
shell: "source ./setup_env.sh && cd /usr/local/src/nexmon/patches/{{ item.patch }}/nexmon/ && make"
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
@ -19,7 +19,7 @@
|
|||||||
QEMU_UNAME: "{{ item.kernel }}"
|
QEMU_UNAME: "{{ item.kernel }}"
|
||||||
ARCHFLAGS: "{{ item.arch_flags }}"
|
ARCHFLAGS: "{{ item.arch_flags }}"
|
||||||
|
|
||||||
- name: install new firmware (bcm43455c0)
|
- name: install new firmware
|
||||||
copy:
|
copy:
|
||||||
src: "/usr/local/src/nexmon/patches/{{ item.patch }}/nexmon/{{ item.firmware }}"
|
src: "/usr/local/src/nexmon/patches/{{ item.patch }}/nexmon/{{ item.firmware }}"
|
||||||
dest: "/usr/lib/firmware/brcm/{{ item.firmware }}"
|
dest: "/usr/lib/firmware/brcm/{{ item.firmware }}"
|
||||||
@ -37,4 +37,4 @@
|
|||||||
dest: "/usr/lib/modules/{{ item.kernel }}/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko"
|
dest: "/usr/lib/modules/{{ item.kernel }}/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko"
|
||||||
|
|
||||||
- name : load brcmfmac drivers
|
- name : load brcmfmac drivers
|
||||||
command: "/sbin/depmod -a {{ item.kernel}}"
|
command: "/sbin/depmod -a {{ item.kernel }}"
|
||||||
|
@ -396,13 +396,20 @@
|
|||||||
register: pwngrid
|
register: pwngrid
|
||||||
|
|
||||||
- name: install pwngrid 1.10.4
|
- name: install pwngrid 1.10.4
|
||||||
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make && make install"
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make "
|
||||||
|
retries: 7
|
||||||
|
delay: 60
|
||||||
|
args:
|
||||||
|
executable: /bin/bash
|
||||||
|
chdir: /usr/local/src/pwngrid
|
||||||
|
|
||||||
|
- name: install pwngrid 1.10.4
|
||||||
|
shell: "export GOPATH=$HOME/go && export PATH=/usr/local/go/bin:$PATH:$GOPATH/bin && make install"
|
||||||
retries: 7
|
retries: 7
|
||||||
delay: 60
|
delay: 60
|
||||||
args:
|
args:
|
||||||
executable: /bin/bash
|
executable: /bin/bash
|
||||||
chdir: /usr/local/src/pwngrid
|
chdir: /usr/local/src/pwngrid
|
||||||
when: pwngrid.changed
|
|
||||||
|
|
||||||
- name: remove pwngrid folder
|
- name: remove pwngrid folder
|
||||||
file:
|
file:
|
||||||
|
Reference in New Issue
Block a user