|
方便携带你的 Firefly-RK3399 :屏幕共享、文件共享、WiFi 配置
发表于 2017-5-17 12:30:06
浏览:12707
|
回复:3
打印
只看该作者
[复制链接]
楼主
本帖最后由 eevee 于 2017-5-17 12:31 编辑
刚开始用 Firefly-RK3399 ,像我一样天天背个笔记本的,如果想不用外接设备(鼠标、键盘、显示器),可以这样配置:
OS:官方固件 Xubuntu 16.04
1)屏幕共享 Screen Share
1. Connect the Wi-Fi
2. Enable SSH server
- Detect SSH server, `ps aux | grep sshd`
- Otherwise, `sudo apt-get install openssh-server` and `sudo /etc/init.d/ssh start`
- Get ip address, `ifconfig | grep "inet "`
- SSH from remote pc, `ssh firefly@<ip>`
3. Screen Sharing from Firefly
- Install, `sudo apt-get install vino`
- Config, `vino-preferences`
- Start, `/usr/lib/vino/vino-server --sm-disable`
- Autostart, open "Session and Startup" and check "Desktop Sharing",
4. Remote access from Ubuntu
- Open "Remmina Remote Desktop Client" and add connection,
- Or, remote access from Mac, plz see here.
2)文件共享 File Share
1. Install Samba on Firefly,
```
# samba
sudo apt-get install samba samba-common-bin
# config samba
sudo vi /etc/samba/smb.conf
[homes]
read only = no
# restart
sudo /etc/init.d/samba restart
# add user
sudo smbpasswd -a firefly
```
2. Open "Finder" on Mac,
- "Go > Connect to Server"
- Then, select "firefly" volume
3)WiFi 配置 WiFi Configuration
1. Add a WiFi connection,
- Run `nmtui`, then "Edit a connection > Add > Wi-Fi"
- Field "Device" is "wlan0 mac address", run `ip addr` to get
- Enter "OK", done
2. Connection file is created here,
```
$ ll /etc/NetworkManager/system-connections/
```
3. Connect a WiFi with SSID found nearby,
```
$ nmcli device wifi con "ssid" password "password"
```
参考:Headless Firefly-RK3399 Setup
|
|