Signed-off-by: Jeroen Oudshoorn <oudshoorn.jeroen@gmail.com>
This commit is contained in:
Jeroen Oudshoorn
2023-10-20 07:52:44 +02:00
parent a440fcdf1e
commit 23681e9cdc
4 changed files with 10 additions and 5 deletions

View File

@ -51,13 +51,13 @@ interface eth0
static domain_name_servers=8.8.8.8 1.1.1.1
metric=202
interface bnep0
metric 203
interface usb0
static ip_address=10.0.0.2/24
static routers=10.0.0.1
static domain_name_servers=10.0.0.1 8.8.8.8 1.1.1.1
metric=203
interface bnep0
metric=204
interface lo

View File

@ -37,7 +37,6 @@ reload_brcm() {
# starts mon0
start_monitor_interface() {
rfkill unblock all
ifconfig wlan0 up
iw dev wlan0 set power_save off
airmon-ng check kill

View File

@ -460,6 +460,12 @@
regexp: '(.*)$'
line: '\1 modules-load=dwc2,g_ether'
- name: rfkill unblock all at boot
lineinfile:
dest: /boot/cmdline.txt
insertafter: EOF
line: "systemd.restore_state=0 rfkill.default_state=1"
- name: Add pwnlog alias
lineinfile:
dest: /home/pi/.bashrc

View File

@ -1 +1 @@
__version__ = '2.4.9'
__version__ = '2.5.0'