fix dhcp not assigning ip

This commit is contained in:
Usama Abdul Sattar 2019-08-13 09:45:32 +05:00 committed by GitHub
parent 321b625939
commit 7246295795
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
} }