From 7246295795a6339281ab9a8975df89cf473d0ffd Mon Sep 17 00:00:00 2001 From: Usama Abdul Sattar Date: Tue, 13 Aug 2019 09:45:32 +0500 Subject: [PATCH] fix dhcp not assigning ip --- lib/ap/airbase-ng.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ap/airbase-ng.sh b/lib/ap/airbase-ng.sh index 397fada..805d6e2 100755 --- a/lib/ap/airbase-ng.sh +++ b/lib/ap/airbase-ng.sh @@ -72,7 +72,7 @@ function ap_service_start() { xterm $FLUXIONHoldXterm $TOP -bg "#000000" -fg "#FFFFFF" \ -title "FLUXION AP Service [airbase-ng]" -e \ - airbase-ng -P -e $APServiceSSID -c $APServiceChannel \ + airbase-ng -y -e $APServiceSSID -c $APServiceChannel \ -a $APServiceMAC $APServiceInterface & local parentPID=$! @@ -81,7 +81,7 @@ function ap_service_start() { sleep 1 APServicePID=$(pgrep -P $parentPID) done - + eval ifconfig at0 192.168.254.1 ap_service_route }