🥰3.1 Network
Download driver for TP-Link router
sudo apt install build-essential dkms git
git clone https://github.com/clnhub/rtl8192eu-linux.git
cd rtl8192eu-linux
./install_wifi.sh
Driver for TP-Link PCI is successfully installed.
netplan configuration for TP-Link PCI Router
Here is sample configuration file, name is : ==02-network-for-tplink.yaml==
network:
version: 2
renderer: NetworkManager
wifis:
wlxac15a217911f:
dhcp4: no
addresses: [192.168.1.50/24]
nameservers:
addresses: [192.168.1.1]
access-points:
"deepblueIntern":
password: "p@ssw0rd"
# Define the default route using the 'routes' section
# Replace '192.168.1.1' with your actual gateway IP
routes:
- to: 0.0.0.0/0
via: 192.168.1.1
wlxac15a217911f
- နေရာမှာ TP-Link ရဲ့ NIC name ပါ။ ဒါကိုတော့ပြောင်းစရာမလိုပါဘူး။ TP-Link PCI အတွက်က ဒါပါပဲ။ addresses: [192.168.1.50/24]
- နေရာကတော့ Gateway Router မှာ Devices အတွက် သတ်မှတ်ပေးထားတဲ့ Static IP (or) Devices အတွက်ပေးထားချင်တဲ့ Static IP addresses: [192.168.1.1]
- Gateway Address, ချိတ်ထားတဲ့ ဝိုင်ဖိုင်ရဲ့ Gateway ```
access-points:
"deepblueIntern":
password: "p@ssw0rd"
ချိတ်မယ့် ဝိုင်ဖိုင်ရဲ့ name(SSID)နဲ့ password
routes:
- to: 0.0.0.0/0
via: 192.168.1.1
to ကို ဒီအတိုင်းပဲထားပါ။ via
နေရာမှာ ဝိုင်ဖိုင်ရဲ့ Gateway Address ကိုပဲထည့်ပါ။
sudo cp 02-network-for-tplink.yaml /etc/netplan/
Generate Netplan sudo netplan generate
sudo netpaln apply
reboot devices and test Thank You!
Last updated