Open JeremiahZhang opened 6 years ago
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:
lspci -nn -d 14e4:
(是:14e4:4315 rev 01
)sudo apt install firmware-b43-installer
题示无依赖包sudo apt install -f
sudo apt install firmware-b43-installer
requesting bridge (meek)验证图片无法加载出来。尝试 视窗 也失败。
https://www.how2shout.com/how-to/how-to-login-into-ubuntu-using-ssh-from-windows-10-8-7.html https://www.linuxbabe.com/linux-server/ssh-windows
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地址)
打开 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.
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
Reference
Practicing is the most important thing.