Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Config
Commits
a4e58559
Commit
a4e58559
authored
May 03, 2018
by
Igor Pecovnik
Browse files
iperf3 fix
parent
94f62976
Changes
2
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
a4e58559
...
...
@@ -55,7 +55,7 @@ Login as root and type:
**Running this utility on 3rd party Debian based distributions**
# Install dependencies
apt install git qrencode psmisc curl bc expect rcconf dialog network-manager sunxi-tools iptables resolvconf debconf-utils unzip build-essential html2text apt-transport-https html2text dirmngr software-properties-common libpam-google-authenticator qrencode
apt install git
iperf3
qrencode psmisc curl bc expect rcconf dialog network-manager sunxi-tools iptables resolvconf debconf-utils unzip build-essential html2text apt-transport-https html2text dirmngr software-properties-common libpam-google-authenticator qrencode
git clone https://github.com/armbian/config
cd config
...
...
debian-config-submenu
View file @
a4e58559
...
...
@@ -127,7 +127,10 @@ while true; do
DIALOG_CANCEL
=
1
DIALOG_ESC
=
255
# edit ip
LIST+
=(
"IP"
"Select dynamic or edit static IP address"
)
# hostapd
HOSTAPDBRIDGE
=
$(
cat
/etc/hostapd.conf 2> /dev/null |
grep
-w
"^bridge=br0"
)
HOSTAPDSTATUS
=
$(
service hostapd status 2> /dev/null |
grep
-w
active |
grep
-w
running
)
if
[[
-n
"
$HOSTAPDSTATUS
"
]]
;
then
...
...
@@ -139,14 +142,16 @@ while true; do
fi
if
pgrep
-x
"iperf3"
>
/dev/null
then
LIST+
=(
"Iperf3"
"Disable network throughput tests daemon"
)
else
LIST+
=(
"Iperf3"
"Enable network throughput tests daemon"
)
# network throughput test
if
check_if_installed iperf3
;
then
if
pgrep
-x
"iperf3"
>
/dev/null
then
LIST+
=(
"Iperf3"
"Disable network throughput tests daemon"
)
else
LIST+
=(
"Iperf3"
"Enable network throughput tests daemon"
)
fi
fi
if
[[
-n
$(
LC_ALL
=
C nmcli device status |
grep
wifi |
grep
-v
unavailable |
grep
-v
unmanaged
)
]]
;
then
LIST+
=(
"WiFi"
"Manage wireless networking"
)
else
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment