Skip to content

Instantly share code, notes, and snippets.

View mahboobkarimian's full-sized avatar

Mahboob Karimian mahboobkarimian

View GitHub Profile
@mahboobkarimian
mahboobkarimian / tsduck-ubuntu-16.md
Created November 14, 2024 13:03
Install tsduck on Ubuntu 16.04 xenial
  1. clone tsduck git clone https://github.com/tsduck/tsduck.git
  2. Important checkout to older version of tsduck git checkout 761a21ed96ef66c609d031abd4667f6f37db348e
  3. You need Ruby version >3. Do the following:
wget http://ftp.ruby-lang.org/pub/ruby/3.3/ruby-3.3.6.tar.gz
tar -xzvf ruby-3.3.6.tar.gz
cd ruby-3.3.6
./configure --disable-install-doc
make -j
sudo make install
@mahboobkarimian
mahboobkarimian / connect peap using nmcli
Last active October 12, 2023 14:42 — forked from beomkm/connect peap using nmcli
Connect to PEAP access points in school using nmcli
In Linux, specially Ubuntu, sometimes there is problem with connecting to Enterprise networks using GUI NetworKManager.
This is the situation where nmcli is needed.
* In terminal:
nmcli con add type wifi ifname wlp3s0 con-name work-wifi ssid work-ssid
nmcli con edit id work-wifi
* Then enter the following:
nmcli> set ipv4.method auto
nmcli> set 802-1x.eap peap
nmcli> set 802-1x.phase2-auth mschapv2
nmcli> set 802-1x.identity myusername
@mahboobkarimian
mahboobkarimian / Raspbian_QEMU.md
Last active December 28, 2022 15:32
Run Raspbian OS in QEMU (add user to the image before running!)