Install Ubuntu Version 20.04.3 From: http://mirrors.aliyun.com/ubuntu-releases *** Boot *** In Windows open universal-usb-installer Use file "ubuntu-22.04.3-desktop-amd64.iso" Make Start Image Start Computer Press F8 Select USB start At ubunt start menu Select start safe graph( or press shift provirsly virsion) *** Auto Mount Disk *** Edit File : "/etc/fstab" Add following line ----------------------------------------------------------------------- tmpfs /home/bge/0 tmpfs defaults,size=48G 0 0 tmpfs /tftpboot tmpfs defaults,size=8G 0 0 UUID=bf1d2490-0712-40f0-8990-e97a261fadef /home/bge/1 ext4 defaults 0 2 UUID=02310577-9058-4c52-8a18-f48b388f6a01 /home/bge/2 ext4 defaults 0 2 UUID=fe648a23-ff96-4d40-ac24-e7f48e4726b3 /home/bge/3 ext4 defaults 0 2 ------------------------------------------------------------------------ *** Make User becoming sudo USER *** cd /etc sudo chmod 660 sudoers sudo vim sudoers ------------------------------- # User privilege specification root ALL=(ALL:ALL) ALL ------------------------------- Add a line above lines for user which username is ------------------------------- # User privilege specification root ALL=(ALL:ALL) ALL ALL=(ALL:ALL) ALL ------------------------------- *** Windows Time Syncronize *** #sudo apt install util-linux-extra sudo apt-get install ntpdate sudo ntpdate time.windows.com sudo hwclock --localtime --systohc *** *** Install Net Tools *** $ sudo apt install net-tools *** Install Romote Desktop *** $ sudo apt update $ sudo apt install xrdp $ sudo systemctl status xrdp If install is OK. It will be seen that "listening to port 3389 mode 1 \ xrdp_listen_pp done" at last twoline Press [Q] key quit $ sudo adduser xrdp ssl-cert $ sudo systemctl restart xrdp *** Install Remmina *** $sudo snap install remmina *** Install Goolge Chrome *** $ wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb $ sudo dpkg -i google-chrome-stable_current_amd64.deb $ rm google-chrome-stable_current_amd64.deb *** Install TFTP *** $ sudo apt install tftp $ sudo apt install tftp-hpa $ sudo apt install tftpd-hpa $ sudo vi /etc/default/tftpd-hpa Modify file From ---------------------------- TFTP_USERNAME="tftp" TFTP_DIRECTORY="/srv/tftp" TFTP_ADDRESS=":69 TFTP_OPTIONS="--secure" ---------------------------- To ---------------------------- TFTP_USERNAME="bge" TFTP_DIRECTORY="/tftpboot" TFTP_ADDRESS=":69" TFTP_OPTIONS="-l -c -s" --------------------------- $sudo service tftpd-hpa restart *** Install ssh server *** $ sudo apt install openssh-server Config SSH Idle Overtime $ sudo vim /etc/ssh/sshd_config -------------------------- #ClientAliveInterval 0 #ClientAliveCountMax 3 -------------------------- Change two lines Above and delete the "#" -------------------------- ClientAliveInterval 60 ClientAliveCountMax 3 -------------------------- -------------------------- #PubkeyAuthentication yes -------------------------- Change the line Above and delete the "#" -------------------------- PubkeyAuthentication yes -------------------------- + Config SSH Key Pair Login Generate RSA Key Pair at Client Home ~$ ssh-keygen -t rsa press [Entry] at every prompt Output ------------------------------------------------------------ Generating public/private rsa key pair. Enter file in which to save the key (/home/bge/.ssh/id_rsa): Enter passphrase (empty for no passphrase): Enter same passphrase again: Your identification has been saved in /home/bge/.ssh/id_rsa Your public key has been saved in /home/bge/.ssh/id_rsa.pub The key fingerprint is: SHA256:OC5bioUPbTEB4skPnkbI+xE54vf9g+0M5B0G2glWXi4 bge@u2 The key's randomart image is: +---[RSA 3072]----+ |. . . . | |=.... o o | |.O +.o E . | |+ * +.+.+ | | * +o.o+So | |. ooo++.o . | | o.=.o+o. | | * = .+o | | . + .+. | +----[SHA256]-----+ ------------------------------------------------------------- This will generate files "id_rsa" and "id_rsa.pub" Copy the "is_rsa.put" to the "/Home//.ssh/authorized_keys" file of Server Restart sshd $ service sshd restart Configure Client Host copy the "is_rsa" to "/home/xxx/.ssh/" of client host At client terminal type $ ssh -i id_rsa 192.168.0.88 *** Install Sogou Shurufa *** $ sudo apt install fcitx $ sudo cp /usr/share/applications/fcitx.desktop /etc/xdg/autostart/ from "ttps://shurufa.sogou.com/linux" Dowload $ wget https://ime-sec.gtimg.com/202402181951/94cba0562bcd9c4e656d0d86720c01b0/pc/dl/gzindex/1680521603/sogoupinyin_4.2.1.145_amd64.deb $ sudo dpkg -i sogoupinyin_4.2.1.145_amd64.deb $ sudo apt install libqt5qml5 libqt5quick5 libqt5quickwidgets5 qml-module-qtquick2 $ sudo apt install libgsettings-qt1 Enter [Setting] -- [Lagnuage Support] Select "Fcitx 4" at [Keybord input method system] Press [Apply System Wide] $ Restart Ubuntu ##Enter "Input Method Configuration" Dialog ##Type left-bottom button "+", and Select List "Sogou Shurufa" press "OK" you can see "keyboard" Iamge at top right of screen click it enter [Configure] item click "+" at the popuped dialog Select "Sogou Shurufa" press "OK" Relogin *** Install VS code *** download from "https://code.visualstudio.com/docs/?dv=linux64_deb" get file: "code_1.87.0-1709078641_amd64.deb" $ sudo dpkg -i code_1.87.0-1709078641_amd64.deb *** Install Baidu Net Desk *** Download Debian Package from Baidu $ sudo dpkg -i baidunetdisk_4.3.0_amd64.deb $ sudo apt install pip *** *** Install Git *** $ sudo apt install git *** Install cmake *** $ sudo apt install cmake *** Install *** $ sudo apt install vlc *** Install Gnu Radio Companion *** $sudo apt install xterm $sudo apt install python3-packaging $sudo add-apt-repository ppa:gnuradio/gnuradio-releases $sudo apt-get update $sudo apt-get install gnuradio *** *** Install OSMO fro GnuRadio $ sudo apt-get install gr-osmosdr *** *** Install HackRF *** $ sudo apt install hackrf Connmect device to USB $ hackrf_info --- We will see ------------------------------- hackrf_info version: unknown libhackrf version: unknown (0.6) Found HackRF Index: 0 Serial number: 0000000000000000010961dc2b3a814f Board ID Number: 2 (HackRF One) Firmware Version: 2018.01.1 (API:1.02) Part ID Number: 0xa000cb3c 0x0061475a Found HackRF Index: 1 Serial number: 0000000000000000f77c60dc294183c3 Board ID Number: 2 (HackRF One) Firmware Version: 2023.01.1 (API:1.07) Part ID Number: 0xa000cb3c 0x00664f66 ----------------------------------------------- $ sudo apt install libhackrf-dev *** *** Install gqrx *** sudo apt install gqrx-sdr *** *** Install USRP *** $ sudo apt install libuhd-dev uhd-host $ sudo uhd_images_downloader We can see ---------------------------------------------------------------------------------------------- [INFO] Using base URL: https://files.ettus.com/binaries/cache/ [INFO] Images destination: /usr/share/uhd/images [INFO] No inventory file found at /usr/share/uhd/images/inventory.json. Creating an empty one. 09146 kB / 09146 kB (100%) x4xx_x410_fpga_default-g26793b8.zip ... ---------------------------------------------------------------------------------------------- + $ sudo uhd_find_devices [INFO] [UHD] linux; GNU C++ version 11.2.0; Boost_107400; UHD_4.1.0.5-3 [INFO] [B200] Loading firmware image: /usr/share/uhd/images/usrp_b200_fw.hex... [INFO] [B200] Loading firmware image: /usr/share/uhd/images/usrp_b200_fw.hex... +------------------------------------------------- +- UHD Device 0 +------------------------------------------------- Device Address: serial: 171065 name: MyB210 product: B210 type: b200 + + +------------------------------------------------- +- UHD Device 1 +------------------------------------------------- Device Address: serial: 180024 name: MyB210 product: B210 type: b200 + + *** *** Install GTK *** $ sudo apt install libgtk2.0* $ sudo apt install libgtk3.0* $ sudo apt install libgtk-4* $ sudo apt install libcairo* $ sudo apt install devhelp *** Install libiio From Source *** $ sudo apt install libusb-1.0* $ git clone https://github.com/analogdevicesinc/libiio.git $ cd libiio $ code . Open file "README_BUILD.md Following it's step to do *** Install iio-oscilloscope *** &ref "https://wiki.analog.com/resources/tools-software/linux-software/iio_oscilloscope#installation" *** Install IIO Oscilloscope *** install dependencies: $sudo apt-get -y install libglib2.0-dev libgtk-3-dev libgtkdatabox-dev libmatio-dev libfftw3-dev libxml2 libxml2-dev bison flex libavahi-common-dev libavahi-client-dev libcurl4-openssl-dev libjansson-dev cmake libaio-dev libserialport-dev $ sudo apt install libosc* $ git clone https://github.com/analogdevicesinc/libiio.git $ cd iio-oscilloscope/ $ git checkout origin/master OR (optional) #$ wget https://github.com/analogdevicesinc/iio-oscilloscope/archive/master.zip #$ unzip master.zip or $ wget https://codeload.github.com/analogdevicesinc/iio-oscilloscope/tar.gz/refs/tags/v0.17-master $ tar -xf iio-oscilloscope-0.17-master.tar.gz There will be directory of 'iio-oscilloscope-0.17-master' $ cd iio-oscilloscope-0.17-master $ mkdir build && cd build $ cmake ../ && make -j $(nproc) $ sudo make install This will report following dependencies $ sudo apt install libiio-dev* $ sudo apt install libad9361* In Show Applications will see iio-oscilloscop app image !!! If before install the iio-oscilloscope have not install GTK(see above) will can not start iio-oscilloscpe. *** sudo apt install libosc* *** Install picocom *** $ sudo apt install picocom *** *** Install SunloginClient *** Dowload from : "https://sunlogin.oray.com/download/linux?type=personal" Geting file "SunloginClient_11.0.1.44968_amd64.deb" $ sudo dpkg -i SunloginClient_11.0.1.44968_amd64.deb *** *** Install Gnu Plot *** $ sudo apt install gnuplot $ sudo apt install gnuplot-x11 *** *** Install OpenCV for Python *** $ sudo pip3 install opencv-python *** *** Install Maple *** Extract file "Maplesoft Maple 2019.0 Linux.zip" to "." $ cd ./Maplesoft Maple 2019.0 Linux $ chmod +x Maple2019.0LinuxX64Installer.run $ ./Maple2019.0LinuxX64Installer.run Chose default install directory "~/maple2019" cd Crack $ chmod +x crack.pl $ hostidho ---------- 68bf4e0e ---------- Copy hostid output 5256ac88 to clipboard $ vi crack.pl from 79 column -------------------------------------------------------- sub get_host_id { my $lmutil = "$base_path/bin.X86_64_LINUX/lmutil"; my ( $wtr, $rdr, $err ); use Symbol 'gensym'; $err = gensym; open3( $wtr, $rdr, $err, "$lmutil lmhostid -n" ); chomp( my $output = <$rdr> ); my @errors = <$err>; return $output; } --------------------------------------------------------- Modify function get_host_id to past the "68bf4e0e" to reutrn "" --------------------------------------------------------- sub get_host_id { return "68bf4e0e"; } --------------------------------------------------------- $./crack.pl /home/bge/maple2019 $ cp license.dat /home/bge/maple2019/license/ OK./