JeremiahZhang/Linux4Fun

How to have fun with Linux?

Opened this issue · 9 comments

installed Linux Mint 18.1 Cinnamon可使用iPhone USB 共享网络 安装无线网卡
installed Puppy Linux
installed Debian 10 可使用iPhone USB 共享网络 安装无线网卡
installed Lubuntu(16.04.2 Desktop) 离线无法直接使用iPhone USB共享网络

Lubuntu(16.04) 离线无法直接使用iPhone USB共享网络
选用安卓手机共享网络,上网,下载无线网卡. Steps:

  1. 查看网卡:lspci -nn -d 14e4: (是:14e4:4315 rev 01)
  2. 参考 安装Broadcom无线驱动程序 安装
  3. sudo apt install firmware-b43-installer 题示无依赖包
  4. sudo apt install -f
  5. sudo apt install firmware-b43-installer
  6. reboot 安装完成

Install browser

requesting bridge (meek)验证图片无法加载出来。尝试 视窗 也失败。

apt update vs upgrade

https://linuxconfig.org/apt-update-vs-apt-upgrade

APT(Advanced Package Tool)

Win10 远程 ssh 连接操控 ubuntu 16.04

ubuntu 端

https://ubuntu.com/server/docs/service-openssh

$sudo apt install openssh-client #ssh 客户端
$sudo apt install openssh-server #ssh 服务端
$sudo cp /etc/ssh/sshd_config /etc/ssh/sshd_config.original
$sudo chmod a-w /etc/ssh/sshd_config.original
$sudo sshd -t -f /etc/ssh/sshd_config

$lsb_release -a # 查看系统版本

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 16.04.7 LTS
Release:	16.04
Codename:	xenial

$ sudo service ssh start
$if config #查看ip(wlan0 下的ip地址)

Windows 端

打开 Win10 的 powershell,登录 ubuntu 服务器

PS C:\Users\Jeremy> ssh jeremy@192.168.XX.XXX
jeremy@192.168.XX.XXX's password:
Welcome to Ubuntu 16.04.7 LTS (GNU/Linux 4.15.0-142-generic i686)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/advantage

UA Infra: Extended Security Maintenance (ESM) is not enabled.

0 updates can be applied immediately.

77 additional security updates can be applied with UA Infra: ESM
Learn more about enabling UA Infra: ESM service for Ubuntu 16.04 at
https://ubuntu.com/16-04

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

ubuntu端

See status of OpenSSH server

$sudo service ssh status

10月 08 13:20:10 cq35 sshd[12976]: pam_unix(sshd:auth): check pass; user unknown
10月 08 13:20:10 cq35 sshd[12976]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ru
10月 08 13:20:12 cq35 sshd[12976]: Failed password for invalid user cq35 from 192.168.31.16 port 57086 ssh2
10月 08 13:20:50 cq35 sshd[12976]: Failed password for invalid user cq35 from 192.168.31.16 port 57086 ssh2
10月 08 13:20:55 cq35 sshd[12976]: pam_unix(sshd:auth): check pass; user unknown
10月 08 13:20:57 cq35 sshd[12976]: Failed password for invalid user cq35 from 192.168.31.16 port 57086 ssh2
10月 08 13:20:57 cq35 sshd[12976]: Connection reset by 192.168.31.16 port 57086 [preauth]
10月 08 13:20:57 cq35 sshd[12976]: PAM 1 more authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost
10月 08 13:21:11 cq35 sshd[12988]: Accepted password for jeremy from 192.168.31.16 port 57132 ssh2
10月 08 13:21:11 cq35 sshd[12988]: pam_unix(sshd:session): session opened for user jeremy by (uid=0)

停止服务器

$ sudo service ssh stop