Firefly开源社区

标题: 方便携带你的 Firefly-RK3399 :屏幕共享、文件共享、WiFi 配置 [打印本页]

作者: eevee    时间: 2017-5-17 12:30
标题: 方便携带你的 Firefly-RK3399 :屏幕共享、文件共享、WiFi 配置
本帖最后由 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


作者: 牛头    时间: 2017-5-17 15:44
很好,感谢分享。
作者: 003399    时间: 2022-8-2 17:33
不错
作者: 蒙奇D    时间: 2022-8-17 19:25
天线怎安装




欢迎光临 Firefly开源社区 (https://dev.t-firefly.com/) Powered by Discuz! X3.1