树莓派 raspbian 常用命令笔记

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/interfaces

 

打开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

 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值