当前位置:网站首页>BeagleBoneBlack 上手记
BeagleBoneBlack 上手记
2022-07-06 12:16:00 【safirst】
1、USB上网
用本地连接给BBB的那个网口做Internet共享,一点确定就蓝屏,蓝屏了十次以后我打算放弃了,期间还想着重装系统。后来试了试交叉网线,居然成功了,也因此发现了问题所在。
享受Internet共享的那个网口,它在被提供服务时IP会被迫变成192.168.137.1,而BBB的那个网口可不允许你做这种事情,它的默认IP必须是192.168.7.1。所以,这种改动直接让驱动程序崩溃了,导致了蓝屏。
所以,用多增一个新的网口来做这个事情是可行的。但是,但是,但是,应该也有人可以直接用BBB的那个USB网口来通过Internet连接访问互联网,因为从各种教程来看,确实看起来可行,只是我这里做不到。
2、时区时钟
tzselect命令选一通就差不多了,剩下的是调成24小时制的问题。
网上看到说在/etc/default/locale里添加LC_TIME=en_DK.UTF-8,这当然可以搞定,
但是en_DK不觉得看着难受么。我试了试就用中国的zh_CN,也可以达到目的。
,毕竟AM和PM不是中国的,所以就想了这招,直接修改LC_TIME=zh_CN.UTF-8,
实测可以,这样心里舒服一点。
另外,ntpdate命令没有就安装ntpdate包。
3、root用户shell没有颜色
拷贝有颜色用户的.bashrc文件即可。
4、Linux关机时提示A stop job is running for ..导致关机慢。
/etc/systemd/system.conf
DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s
systemctl daemon-reload
5、Linux分区的讲究
HOWTO: Multi Disk System Tuning: Introduction
6、设置登录root用户桌面(图形界面)
vim /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf
在最后一行添加greeter-show-manual-login=true
修改root用户配置文件 vim /root/.profile
修改mesg n 所在行为 tty -s && mesg n || true
7、文件占用空间
du -h --max-depth=1
8、
边栏推荐
- logstash高速入口
- POJ1149 PIGS 【最大流量】
- Learn to explore - use pseudo elements to clear the high collapse caused by floating elements
- Tencent T3 teaches you hand in hand. It's really delicious
- After solving 2961 user feedback, I made such a change
- PowerPivot - DAX (first time)
- [network planning] Chapter 3 data link layer (4) LAN, Ethernet, WLAN, VLAN
- Qinglong panel white screen one key repair
- 青龙面板白屏一键修复
- 《数字经济全景白皮书》保险数字化篇 重磅发布
猜你喜欢
Standardized QCI characteristics
【云原生与5G】微服务加持5G核心网
5. 无线体内纳米网:十大“可行吗?”问题
2022年6月语音合成(TTS)和语音识别(ASR)论文月报
Node. Js: express + MySQL realizes registration, login and identity authentication
腾讯Android面试必问,10年Android开发经验
The "white paper on the panorama of the digital economy" has been released with great emphasis on the digitalization of insurance
22-07-05 七牛云存储图片、用户头像上传
腾讯字节阿里小米京东大厂Offer拿到手软,老师讲的真棒
Social recruitment interview experience, 2022 latest Android high-frequency selected interview questions sharing
随机推荐
logstash高速入口
Technology sharing | packet capturing analysis TCP protocol
青龙面板白屏一键修复
Linear distance between two points of cesium
Guangzhou's first data security summit will open in Baiyun District
AddressSanitizer 技术初体验
5. 无线体内纳米网:十大“可行吗?”问题
广州首个数据安全峰会将在白云区开幕
【计网】第三章 数据链路层(4)局域网、以太网、无线局域网、VLAN
Chic Lang: attributeerror: partially initialized module 'CV2' has no attribute 'GAPI_ wip_ gst_ GStreamerPipe
部门树递归实现
[infrastructure] deployment and configuration of Flink / Flink CDC (MySQL / es)
腾讯字节等大厂面试真题汇总,网易架构师深入讲解Android开发
Configuration and simple usage of the EXE backdoor generation tool quasar
PHP and excel phpexcel
案例 ①|主机安全建设:3个层级,11大能力的最佳实践
Social recruitment interview experience, 2022 latest Android high-frequency selected interview questions sharing
JVM_常见【面试题】
golang的超时处理使用技巧
Blue Bridge Cup microbial proliferation C language