
編輯 logind.conf
# vi /etc/systemd/logind.conf找到 HandleLidSwitch 關鍵字
把前面的註解拿掉
並修改為
HandleLidSwitch=ignore
helloworld 發表在
痞客邦
留言(0)
人氣()
情境:
1. ubuntu server 20.04 僅提供 AP (access poing ) 存取
2. client 透過 ubuntu sever 向 core router 提出 dhcp 請求
首先確認 ubuntu 的 有線和無線網卡均可正常運作
安裝以下必要套件
# apt -y install hostapd
# apt -y install bridge-utils
helloworld 發表在
痞客邦
留言(0)
人氣()

Ubuntu Linux 20.04 網路設定由 netplan 管理
如果一開始設定是 dhcp client 的話,/etc/netplan/00-installer-config.yaml 設定類似如下
helloworld 發表在
痞客邦
留言(0)
人氣()

作業系統環境: ubuntu-20.04.2.0-desktop-amd64
無線網卡: 【EDIMAX 訊舟】EW-7822UAD AC1200 雙頻 長距離USB 3.0無線網路卡
1. 至官方網站下載 driver
https://www.edimax.com/edimax/download/download/data/edimax/global/download/product/wireless_adapters/wireless_adapters_ac1200_dual-band/ew-7822uad/
helloworld 發表在
痞客邦
留言(0)
人氣()
執行 wifi up
root@OpenWrt:/etc/config# wifi up
wifi status 觀察是否啟用,但"up": false,
root@OpenWrt:/etc/config# wifi status
{
"radio0": {
"up": false,
"pending": false,
"autostart": true,
"disabled": false,
"retry_setup_failed": true,
"config": {
"channel": "11",
"hwmode": "11g",
"path": "pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0",
"htmode": "HT20"
},
"interfaces": [
{
"section": "default_radio0",
"config": {
"mode": "ap",
"encryption": "psk-mixed",
"ifname": "wlan0",
"wds": true,
"ssid": "aptest",
"key": "password",
"network": [
"lan"
],
"mode": "ap"
}
}
]
}
}
helloworld 發表在
痞客邦
留言(0)
人氣()
1. 首先找一台linux ,並提升至 root 權限,至 https://www.finnix.org/Download 下載最新版的 iso
目前最新版本為 122
# cd /workdir/
# wget https://www.finnix.org/releases/122/finnix-122.iso
helloworld 發表在
痞客邦
留言(0)
人氣()

1. 安裝 haproxy
# cd /usr/ports/net/haproxy
# make install clean
2. 安裝完後不會自動產生預設的設定檔,所以要自己建立
# vi /usr/local/etc/haproxy.conf
helloworld 發表在
痞客邦
留言(0)
人氣()
Linux mount windows 分享的資料匣指令如下
1. 建立 Linux 本機目錄
mkdir /mnt/windir
helloworld 發表在
痞客邦
留言(0)
人氣()
linux server 跑久了之後,系統時間難免會有誤差
以前的習慣是執行 ntpdate [ntp-server]
發現 CentOS 沒有這個 ntp client 的指令
[root@example ~]# ntpdate time.stdtime.gov.tw
-bash: ntpdate: command not found
helloworld 發表在
痞客邦
留言(0)
人氣()

1. 建立帳號密碼檔
1.1 初次建立,或是想清空之前紀錄,請加參數 -c
htpasswd -c /etc/httpd/.htpasswd user1New password: <輸入user1的密碼>
Re-type new password: <確認密碼>
Adding password for user user1
helloworld 發表在
痞客邦
留言(0)
人氣()

google workspace 成員使用gmail 要新增其他email 寄件者時出現以下錯誤訊息
Functionality not enabled.解決方式
系統管理員登入 https://admin.google.com/
應用程式 -> google workspace -> gmail -> 使用者存取 -> 允許視每位使用者情況開放外送閘道
[打勾]如果使用者設定的代管「寄件者」地址不屬於您的郵件網域,則允許使用者透過外部 SMTP 伺服器傳送郵件。
儲存
helloworld 發表在
痞客邦
留言(0)
人氣()

1. 登入 pfsense 管理介面
2. System -> Package Manager
3. Available Packages 搜尋 vmware 關鍵字 -> install
4. Confirm
5. 開始安裝
6. 安裝成功
7. 進到 vmware 管理介面查看是否成功
helloworld 發表在
痞客邦
留言(0)
人氣()