基本設定 -> 區域網路 -> 進階設定... (at bottom right) -> 啟用 UPnP IGD: 關閉
2023年1月12日 星期四
2022年10月13日 星期四
Disable "wake on pattern match"
Disable "wake on pattern match" to prevent my vmware on kpchiao9600k to wake up win10 on kpchiaoamd.
2022年10月6日 星期四
Set network interface priority
cf: https://forums.raspberrypi.com/viewtopic.php?t=278033
For linux:
First run the command:
route -n
It will show the metrics of the interface.
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.2.1 0.0.0.0 UG 202 0 0 eth1
0.0.0.0 192.168.1.12 0.0.0.0 UG 303 0 0 wlan0
The lower the route priority first. So eth0 is higher than wlan0.
Edit /etc/dpchcd.conf:
interface wlan0 metric 100 And run route -n, it will then show:
Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.12 0.0.0.0 UG 100 0 0 wlan0 0.0.0.0 192.168.2.1 0.0.0.0 UG 204 0 0 eth1 Thus, wlan0 will is higher than eth1. Becuase wlan0 is the external interface, while eth1 is for internal interface, the wlan0 priority need to be higher than eth1. Otherwise, the outside internet can not be reached. For windows:The following image shows the NIC is set to metric 5.
訂閱:
文章 (Atom)
-
cf: https://ubuntuhandbook.org/index.php/2022/01/default-torrent-app-magnet-links-ubuntu/ Set “QBittorrent” as default app for magnet link,...
-
cf: https://stackoverflow.com/questions/54184707/warning-continue-targeting-switch-is-equivalent-to-break-did-you-mean-to-u Error while...
-
Put the lines at the first: #!/usr/bin/env python # coding: utf-8

