Firefly开源社区

方便携带你的 Firefly-RK3399 :屏幕共享、文件共享、WiFi 配置

115

积分

3

威望

0

贡献

技术小白

积分
115
发表于 2017-5-17 12:30:06     
本帖最后由 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`
         vino-preferences.png
    - Start, `/usr/lib/vino/vino-server --sm-disable`
    - Autostart, open "Session and Startup" and check "Desktop Sharing",
         startup.png
4. Remote access from Ubuntu
    - Open "Remmina Remote Desktop Client" and add connection,
         remote-desktop-client.png
    - 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"
         smb-connect.png
    - Then, select "firefly" volume
         smb-access.png


3)WiFi 配置 WiFi Configuration

1. Add a WiFi connection,
    - Run `nmtui`, then "Edit a connection > Add > Wi-Fi"
         nmtui.png
    - 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

回复

使用道具 举报

923

积分

86

威望

63

贡献

超级版主

Rank: 8Rank: 8

积分
923
发表于 2017-5-17 15:44:39     
很好,感谢分享。
回复

使用道具 举报

*滑块验证:
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

友情链接 : 爱板网 电子发烧友论坛 云汉电子社区 粤ICP备14022046号-2
快速回复 返回顶部 返回列表