User Tools

Site Tools


namespace:networking

Loginning In

open this in new terminals in order.

  1. ssh -Y galadriel pswd: 'In Notes'
  2. spyder ; open spyder
  3. top -o %MEM : for memory checking
  4. nautilus : For File searching

commands: vi test.py # create a python file to vim into

nautilus #open the files windows

run top -o %MEM to see memory/ram being used

to get a python package installed pip3 install name while ssh in Galadriel, but cd home

ssh -Y Galadriel

added shh key to Git hub(vali.git.com)

cd Galadriel

Spyder # should have worked but didn't

did conda activate /home/sedlikr/galadriel/envs/galadriel to conda into it, said bad interpreter

tried ./manage_env create gave error report

Austin did some stuff on his end and Spyder now works

Notes

I was logged into galadriel, when I accidentally pressed my power button. When I started it back up I was getting errors, not allowing my to get into Cybele.

first Error was Connecting to linux virtual desktop on : 1594
second Error was Error is 108: connection reset by peer
third Error was Error: Cannot disconnect session with id ’#########’

During all this I could log into NoMachine

It started works as soon as I join a zoom call with Fernando. He mention this has been an issue. But something that helps is changing

  • in NoMachine Right-click on Cybele Linux
  • click Edit Connection
  • switch NX to SSH
  • and PORT to 2039
  • this is temporary fix

other help is https://diii-d.gat.com/diii-d/Computing/NoMachine-cybele

SSHing with Claude Code

Worked with Mitchell and Austin to Get Claude connected to the Galadriel database

here are the step to ssh in:

  1. In a new command prompt window run:ssh -L 8765:localhost:8765 galadriel -N
  2. In a 2nd new command prompt window run:ssh -L 27017:localhost:27017 galadriel -N
  3. In a 3rd new command prompt window run:claude in the Claude directory

getting ssh key

in galadriel and in home

  • cd .ssh
  • ssh-keygen
  • Press ENTER until you get Key finger print.
  • add to you vali.git setting under SSH Keys

Devices

  • Teledyne_0 = Espec (3k), S/N: XXXXXX0712
  • Teledyne_1 = JBP (3k), S/N: XXXXXX0269
  • Teledyne_2 = IDK (1k), S/N: XXXXXX
  • Teledyne_3 = OffBrem/Magnetic Quads (1k), S/N: XXXXXX

Git Pull From New Repo

when a new device gets added to the mirror or when Austin improves something. You might need to Pull from the New Repo. Here are the steps

  1. make sure files are saved, and you closed out of Spyder and file reader/editor app.
  2. You always have a MASTER branch, to check,
  3. cd galadriel
  4. git branch
  5. If is says MASTER, then you're fine, if not, you're in a side branch
  6. to switch, git checkout master
  7. then you need to check files that your might lose
  8. git status
  9. it will list files that are “tracked' and 'untracked'
  10. take a picture of the “tracked' files and make copies
  11. I created a folder called ”/galadriel/galadriel/Temp_For_Git/” add copies here if needed
  12. now for each file, run git restore /home/sedlikr/galadriel/galadriel/control/control.config
  13. that was an examples file, but do this for each “tracked” file
  14. run again, git status and all “tracked' files should be gone.
  15. run git pull
  16. then go into your side branch, git checkout RS_branch
  17. finally run, git merge master
  18. reopen everything you need

to make a branch run git branch <branch name>

If a pip library is needed, Austin will add it to the yaml. I will need to update my environment
by running manage_env update
what I don't know how to do it run the resultant conda command

namespace/networking.txt · Last modified: by 12.144.223.107

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki