fix dhcp not assigning ip
This commit is contained in:
parent
321b625939
commit
7246295795
|
@ -72,7 +72,7 @@ function ap_service_start() {
|
||||||
|
|
||||||
xterm $FLUXIONHoldXterm $TOP -bg "#000000" -fg "#FFFFFF" \
|
xterm $FLUXIONHoldXterm $TOP -bg "#000000" -fg "#FFFFFF" \
|
||||||
-title "FLUXION AP Service [airbase-ng]" -e \
|
-title "FLUXION AP Service [airbase-ng]" -e \
|
||||||
airbase-ng -P -e $APServiceSSID -c $APServiceChannel \
|
airbase-ng -y -e $APServiceSSID -c $APServiceChannel \
|
||||||
-a $APServiceMAC $APServiceInterface &
|
-a $APServiceMAC $APServiceInterface &
|
||||||
local parentPID=$!
|
local parentPID=$!
|
||||||
|
|
||||||
|
@ -81,7 +81,7 @@ function ap_service_start() {
|
||||||
sleep 1
|
sleep 1
|
||||||
APServicePID=$(pgrep -P $parentPID)
|
APServicePID=$(pgrep -P $parentPID)
|
||||||
done
|
done
|
||||||
|
eval ifconfig at0 192.168.254.1
|
||||||
ap_service_route
|
ap_service_route
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue