使用Ubuntu

  1. Ubuntu使用手册
  2. 换源: 替换 /etc/apt/sources.list 文件即可
  3. Ubuntu设置代理
  4. Ubuntu搭建TinyProxy代理

faq

  1. 安装python3.7后报错No module named ufw 将python3的软链接从python3.7换成之前的3.6或3.5

     sudo rm /usr/bin/python3
     sudo ln -s /usr/bin/python3.6 /usr/bin/python3
    
  2. 判断当前已经连接网线的网卡

    ethtool 网卡名
    

    看 Link detected 字段,如

    # ethtool eno1
     Settings for eno1:
             Supported ports: [ Backplane ]
             Supported link modes:   1000baseKX/Full 
                                     10000baseKR/Full 
             Supported pause frame use: Symmetric
             Supports auto-negotiation: Yes
             Supported FEC modes: Not reported
             Advertised link modes:  1000baseKX/Full 
                                     10000baseKR/Full 
             Advertised pause frame use: No
             Advertised auto-negotiation: Yes
             Advertised FEC modes: Not reported
             Speed: 10000Mb/s
             Duplex: Full
             Port: None
             PHYAD: 0
             Transceiver: internal
             Auto-negotiation: on
             Supports Wake-on: g
             Wake-on: g
             Current message level: 0x00000007 (7)
                                 drv probe link
             Link detected: yes
    

results matching ""

    No results matching ""