This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo modprobe -r rtl8723be | |
sudo modprobe rtl8723be ant_sel=1 | |
iwlist scan | egrep -i 'SSID|level' | |
sudo modprobe -r rtl8723be | |
sudo modprobe rtl8723be ant_sel=2 | |
iwlist scan | egrep -i 'SSID|level' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install git build-essential | |
git clone https://github.com/ulli-kroll/mt7612u.git | |
cd mt7612u | |
make | |
sudo make installfw | |
sudo cp mt7612u.ko /lib/modules/$(uname -r)/kernel/drivers/net/wireless/ | |
sudo depmod -a |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /mnt/boot/efi | |
sudo mount /dev/sda6 /mnt | |
sudo mount /dev/nvme0n1p1 /mnt/boot/efi | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
sudo chroot /mnt | |
sudo apt-get update | |
sudo apt-get install ubuntu-system-adjustments | |
apt install --reinstall grub-efi-amd64-signed | |
sudo update-grub | |
exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# D-Link DWM-222 | |
TargetVendor=0x2001 | |
TargetProduct=0x7e35 | |
StandardEject=1 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#DWM 222 | |
ATTR{idVendor}=="2001", ATTR{idProduct}=="ab00", RUN+="usb_modeswitch '%b/%k'" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /mnt/boot/efi | |
sudo mount /dev/sda7 /mnt | |
sudo mount /dev/sda1 /mnt/boot/efi | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt $i; done | |
sudo chroot /mnt | |
sudo apt-get update | |
sudo apt-get install ubuntu-system-adjustments | |
apt list ubuntu-system-adjustments | |
apt install --reinstall grub-efi-amd64 grub-efi-amd64-signed | |
sudo update-grub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /mnt/boot/efi | |
sudo mount /dev/nvme1n1p5 /mnt | |
sudo mount /dev/nvme1n1p1 /mnt/boot/efi | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
sudo chroot /mnt | |
sudo apt-get update | |
sudo apt-get install ubuntu-system-adjustments | |
apt install --reinstall grub-efi-amd64-signed | |
sudo os-prober | |
sudo update-grub |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /mnt/boot/efi | |
sudo mount /dev/sda2 /mnt | |
sudo mount /dev/sda1 /mnt/boot/efi | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt$i; done | |
sudo chroot /mnt | |
apt-get update | |
apt-get install --reinstall grub-efi grub-efi-amd64 grub-efi-amd64-signed | |
update-grub | |
exit |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /mnt/boot/efi | |
sudo mount /dev/sda8 /mnt | |
sudo mount /dev/sda1 /mnt/boot/efi | |
for i in /dev /dev/pts /proc /sys /run; do sudo mount -B $i /mnt $i; done | |
sudo chroot /mnt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo modprobe -r rtl8723be | |
sudo modprobe rtl8723be ant_sel=1 | |
iwlist scan | egrep -i 'SSID|level' | |
sudo modprobe -r rtl8723be | |
sudo modprobe rtl8723be ant_sel=2 | |
iwlist scan | egrep -i 'SSID|level' |