樹莓派 raspbian 常用命令筆記

2021-09-10 07:50:06 字數 816 閱讀 2774

raspbian 類似ubantu

網路設定檔案:  /etc/wpa_supplicant/wpa_supplicant.conf

重啟網路

systemctl restart networking
檢視網路: wpa_cli status

時區設定:dpkg-reconfigure tzdata

docker sh安裝後啟動失敗。這樣之後啟動成功 :

解除安裝doker: apt-get purge docker-ce 

自動解除安裝不需要的依賴:  apt autoremove

安裝乙個合適raspbian版本的docker  apt-get install docker-ce=18.06.1~ce~3-0~raspbian

類 ubantu下安裝ssl : 

apt install openssl-devel

apt-get install python3-setuptools

乙個修改過的網路配置檔案:  /etc/network/inte***ces

開啟i2c 

/etc/modprobe.d/raspi-blacklist.conf

/etc/modules

raspi-config

i2cdetect -y 1

i2cget -y 1 0x68

dos下查詢區域網路由表

for /l %i in (1,1,254) do ping -n 1 -w 2  192.168.0.%i

arp -a | findstr b8

樹莓派 raspbian 系統常用命令

本帖最後由 000 於 2016 1 24 16 34 編輯 樹莓派 raspbian 常用的操作命令 sudo reboot 重啟 sudo halt 關機 sudo rpi update 樹莓派更新 sudo apt get update 更新軟體資訊資料庫 sudo apt get upgra...

(二)樹莓派常用命令

常用命令 1 sudo raspi config 初始化配置 2 startx 啟 形化介面 3 sudo rpi update 公升級系統 4 sudo reboot 重啟 5 sudo shutdown h now 立即關機 6 sudo apt get update 更新軟體源 7 sudo ...

樹莓派Raspbian 玩耍

準備一根網線,一台電腦 實現外網訪問需要聯網 插入sd卡,用網線把樹莓派和電腦相連,然後接通電源 查詢樹莓派的ip位址 執行cmd 輸入命令arp a 得到樹莓派的ip 或者通過網路管理找到介面卡 未識別網路檢視ip 5.通過xshell連線到樹莓派 樹莓派預設賬號 pi 密碼 raspberry ...