Wednesday, April 12, 2023

Jetson Wifi issues

#Alternative to wpa_supplicant

Creating connection(important don't remove --):

$ nmcli connection add type wifi con-name "myconname" ifname wlan0 ssid "eduroam" -- wifi-sec.key-mgmt wpa-eap 802-1x.eap ttls
 802-1x.phase2-auth mschapv2 802-1x.identity "USERNAME" 
$ sudo --ask nmcli c up myconname 
 

 

 

$ ls /etc/NetworkManager/system-connections  #show connections
$ cat /etc/NetworkManager/system-connections/myconname #show file connection 
$ nmcli con show myconname  #show connection detailed

Error 1:

password for '802-1x.identity' not given in 'passwd-file' 

Solution 1:

$ vi mypassfile  #add next line with pass value
802-11-wireless-security.psk:mypassvalue

$ nmcli con up <myconname> passwd-file <mypassfile>



References:

[1] Single connection https://www.linuxfordevices.com/tutorials/ubuntu/connect-wifi-terminal-command-line

[2] https://vessokolev.blogspot.com/2018/08/using-nmcli-to-create-8021x-eap-ttls.html

 




 

 

Monday, April 10, 2023

Python - Creating virtual environments

Install pip if it doesn't exist


$curl -O https://bootstrap.pypa.io/get-pip.py

$python3 get-pip.py --user

$python3 -m pip list

$python3 -m pip install tensorflow --no-cache-dir  #for space issue
 

Error during execution of: python3.8 -m venv myenv

Error: Command '['/path/to/desired/env/bin/python3.8', '-Im', 'ensurepip', '--upgrade', '--default-pip']' returned non-zero exit status 1.

Solution: Create a virtual environment using a especific python version

$virtualenv --python=$(which python3.7) envtf4p37


 

Thursday, April 06, 2023

Proxy list and tools

 

 

Tools:

[1] https://hidemy.name/en/proxy-checker

[2] Listing proxies by country https://www.proxynova.com/proxy-server-list/country-us

Monday, April 03, 2023

FAPESP Brazil

References

[1] https://fapesp.br/valores/bolsasnopais

Firefox open multiple private window

    /opt/firefox/firefox-bin --profile $(mktemp -d) --private-window www.google.com www.bing.com