Skip to content

iimachines/pi-lip-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Wonder Media Productions - internal setup steps

  • VisualGDB notes

    • deploy to /home/pi/Desktop/PiLipClientNative
    • add the lib folder to the library path export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/pi/Desktop/PiLipClientNative/lib
  • Give each PI a unique network name

    • sudo nano /etc/hostname => change name
    • sudo nano /etc/hosts => change name
    • hostname => test name
    • I used rp3 for my PI
    • This worked in the office, but not at home, I had to install sambda on the PI to make it discoverable.
      • TODO: samba might also allow us to directly copy files to it without using SSH..
      • Editing the etc/sambda/smb.conf file and appending the lines below worked for me; however, xcopy was a lot slower than rsync
    [pi-desktop]
    path = /home/pi/Desktop/
    browsable = yes
    writable = yes
    read only = no
    force user = pi
    guest ok = yes
    security = user
    
  • Define your PI's name in Windows 10 by adding an environment variable TARGET_PI=<YOUR_PI_NAME>

  • Install .NET Core 2.2 on Windows 10

  • Install .NET Core 2.2 on Raspberry PI

  • Install remote debugging and deployment tools

    • On Windows, start plink once to register this private key
      • CD into the clone directory
      • Save your private key to usr\private-key.ppk
      • "c:\Program Files\PuTTY\plink.exe" -i usr\private-key.ppk pi@%TARGET_PI%
      • To synchronize files between the PI and Windows 10, I shared the PiLipClient\bin folder as pi-lip-client.
        • I had to create a non-Microsoft-account local user (I called it STS) to get this working
      • On the PI:
        • sudo apt-get install cifs-utils
        • sudo mkdir /mnt/pi-lip-client
        • sudo mount -t cifs //<WINDOWS_COMPUTER_NAME>/pi-lip-client /mnt/pi-lip-client -o username=STS,dir_mode=0777,file_mode=0777,serverino,sec=ntlmssp

Note that I was unable to start the debugger with Visual Studio 2017 as described in the article, so for now we have to use VSCODE. If you find a solution, please notify me

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages