mirror of
https://github.com/RoganDawes/P4wnP1_aloa.git
synced 2025-03-18 05:41:55 +01:00
Fix in startup DHCP config for usbeth
This commit is contained in:
parent
0c31069c6c
commit
28a5638f31
2
dist/scripts/servicestart.sh
vendored
2
dist/scripts/servicestart.sh
vendored
@ -8,7 +8,7 @@ P4wnP1_cli USB set --rndis 1 --cdc-ecm 1
|
||||
# - disable DHCP option 3 (router) by passing an empty value
|
||||
# - disable DHCP option 6 (DNS) by passing an empty value
|
||||
# - add a DHCP range from 172.16.0.2 to 172.16.0.2 (single IP) with a lease time of 1 minute
|
||||
P4wnP1_cli NET set server -i usbeth -a 172.16.0.1 -m 255.255.255.252 -o "3:" -o "6:" -r "172.16.0.2|172.16.0.2|1m"
|
||||
P4wnP1_cli NET set server -i usbeth -a 172.16.0.1 -m 255.255.255.248 -o "3:" -o "6:" -r "172.16.0.2|172.16.0.2|1m"
|
||||
|
||||
# Enable WiFi AP (reg US, channel 6, SSID/AP name: "P4wnP1", pre shared key: "MaMe82-P4wnP1", don't use nexmon firmware)
|
||||
# Note: As a pre-shared key is given, P4wnP1 assume the AP should use WPA2-PSK
|
||||
|
@ -1,3 +1,5 @@
|
||||
// +build linux
|
||||
|
||||
package service
|
||||
|
||||
import (
|
||||
|
Loading…
x
Reference in New Issue
Block a user