Skip to main content

All Questions

1 vote
0 answers
121 views

How to automatically reconnect to WiFi when 'limited' connectivity occurs?

I'm experiencing an issue with my school's WiFi where it stops working every 5 minutes or so. When this happens, nmcli monitor shows "Connectivity is now 'limited'". I have this short script ...
Alexandre Ramos's user avatar
2 votes
0 answers
49 views

How to detect "restrict background usage" with a BASH script?

I have a short bash script in my crontab to run a network-heavy rclone backup task. In psuedocode: #!/bin/bash if [ is_running ]; then exit 1; else rclone command; fi What service, program, or ...
PatKilg's user avatar
  • 1,035
1 vote
0 answers
5k views

How to fix airodump-ng continuously changing channels on Kali Linux?

I am running a Wifi adapter with the chipset AR8812AU on Kali Linux 2019.1. I am trying to run airmon-ng, targeted o a specific AP using command: airmon-ng --bssid $APmac -c $APchannel wlan0 The ...
Robert Andrei Draganoiu's user avatar
0 votes
1 answer
163 views

end child process on network timeout

I have a .NET program (Edit: using MONO), call it myfoo that resides on my remote ubuntu server. To access it, I ssh into my box (using wifi, not ethernet). My bash shell starts up as normal, I cd ...
Russell Uhl's user avatar
0 votes
0 answers
475 views

How to check via bash if your connection is wireless N/G/... on Linux?

iwlist scan shows me the available wireless connections. I can see Frequency:2.412 GHz for the channel I'm connected to. This article shows that a frequency of 2.412 GHz means that you are using ...
Bentley4's user avatar
  • 1,948
1 vote
3 answers
897 views

Continue SSH background task/jobs when closing SSH or when Shell is disconnected

I am running an MPI program with SSH secure shell. Due to Wi-Fi disconnection, my la[top looses connection with server and causes failure of running process at server. As per above suggested ...
Vishal's user avatar
  • 13
10 votes
2 answers
33k views

How to connect to a WiFi from command line under Ubuntu without .conf file?

I can connect to my WiFi out of the shell by doing: nano wireless-wpa.conf typing: ctrl_interface=/var/run/wpa_supplicant network={ ssid="my_router_id" scan_ssid=1 key_mgmt=WPA-PSK psk="...
JohnnyFromBF's user avatar
  • 4,988