当前位置:网站首页>Notes on beagleboneblack

Notes on beagleboneblack

2022-07-06 20:07:00 safirst

1、USB surf the internet

 

Use local connection to BBB The Internet port of Internet share , A little certainty is blue , After ten times of blue screen, I plan to give up , During this period, I also want to reinstall the system . Later, I tried the cross network cable , It's a success , Therefore, we found the problem .

enjoy Internet The shared Internet port , When it is served IP Will be forced to become 192.168.137.1, and BBB You are not allowed to do such things at the Internet port of , Its default IP Must be 192.168.7.1. therefore , This change directly caused the driver to crash , Led to the blue screen .

therefore , It is feasible to add a new Internet port to do this . however , however , however , Someone should be able to use it directly BBB the USB Through the Internet port Internet Connect to the Internet , Because from various tutorials , It does seem feasible , It's just that I can't do it here .

2、 Timezone Clock

tzselect Just choose one command , The rest is adjusted to 24 The question of the hour system .

I saw it on the Internet and said it was /etc/default/locale Add in LC_TIME=en_DK.UTF-8, Of course it can be done ,

however en_DK Don't you feel uncomfortable . I tried Chinese zh_CN, It can also achieve the goal .

, After all AM and PM It's not Chinese , So I thought of this move , Directly modifying LC_TIME=zh_CN.UTF-8,

The actual measurement can , This makes me feel better .

in addition ,ntpdate Install without command ntpdate package .

3、root user shell No color

Copy users with colors .bashrc File can .

4、Linux Prompt when shutdown A stop job is running for .. Cause slow shutdown .

/etc/systemd/system.conf

DefaultTimeoutStartSec=10s
DefaultTimeoutStopSec=10s

systemctl daemon-reload

5、Linux Stress on zoning

HOWTO: Multi Disk System Tuning: Introduction

6、 Set the login root User desktop ( The graphical interface )

  • vim  /usr/share/lightdm/lightdm.conf.d/50-ubuntu.conf

Add on last line greeter-show-manual-login=true

  • modify root User profile vim /root/.profile

  • modify mesg n The act tty -s && mesg n || true

7、 Files take up space

du -h --max-depth=1

8、

原网站

版权声明
本文为[safirst]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/187/202207061216447062.html