树莓派相关配置

树莓派配置记录

1、网络配置

系统为ubuntu 16.04,配置wifi 连接固定wifi 网络,以及配置静态IP方便ssh登录,配置步骤:

sudo vim  /etc/network/interfaces
添加以下内容:
auto wlan0
allow-hotplug wlan0
iface wlan0 inet static 
address 192.168.x.xx
netmask 255.255.255.0
gateway 192.168.x.1
wpa-ssid "TP-LINK_2.4GHz-xxx"
wpa-psk "xxxxxxxxx"
dns-nameservers 8.8.8.8 #Ali server ; Google 8.8.8.8 ; Baidu 180.76.76.76

2、缺少 GLIBC_2.28 库

sudo apt update
wget http://ftp.gnu.org/gnu/glibc/glibc-2.28.tar.gz
tar zxvf glibc-2.28.tar.gz
cd glibc-2.28
mkdir build
cd build
../configure --prefix=/usr/local/glibc-2.28
make -j4
sudo make install
export LD_LIBRARY_PATH=/usr/local/glibc-2.28/lib:$LD_LIBRARY_PATH

config 过程中报错: *** These critical programs are missing or too old: bison:

sudo apt install bison

之后再执行。

 
posted @ 2024-02-12 22:32  数星星的猫  阅读(46)  评论(0)    收藏  举报