Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing chrony on the MiR #131

Closed
matchRos opened this issue Jul 25, 2023 · 1 comment
Closed

Installing chrony on the MiR #131

matchRos opened this issue Jul 25, 2023 · 1 comment

Comments

@matchRos
Copy link

Thanks for the idea to install chrony via the chroot environment with a bootstick. We were able to reproduce the process successfully, but had some difficulties. Maybe you could include some additional details.

What was missing in our opinion:

  • before you can chroot into the MiR-PC you need to mount the SSD:
sudo mkdir -p /media/mir
sudo mount /media/mir/ /dev/sda3
sudo mount --bind /dev/ /media/mir/@/dev
sudo mount --bind /run/ /media/mir/@/run
  • After you install chrony you need to configure it to accept connections from 192.168.12.0/24. We were not able to get the laser scanners to run otherwise.

Also we found it easier to just add a second root user and use this user to do everything over SSH:

adduser USERNAME
usermod -aG sudo USERNAME

Also for us it was simpler to just install chrony using apt. Maybe this is dangerous?

sudo apt update
sudo apt -f install
sudo apt install chrony
@mintar
Copy link
Member

mintar commented Jul 26, 2023

Yes, I've seen PR #130 which is also from your group. Thanks for that, I think it's worth adding this to the README.

before you can chroot into the MiR-PC you need to mount the SSD

Yep, I was too lazy to spell it all out since there are already lots of tutorials on how to chroot into a rescue system, but I think it's good to add these instructions.

After you install chrony you need to configure it to accept connections from 192.168.12.0/24. We were not able to get the laser scanners to run otherwise.

Thanks for fixing this! I didn't have this problem on the MiR100, but the MiR600 has different laser scanners.

Also we found it easier to just add a second root user and use this user to do everything over SSH

Yep, I've done the same, just didn't include this in the README. Thanks.

Also for us it was simpler to just install chrony using apt. Maybe this is dangerous?

No, this is fine, but it requires that the MiR PC has an internet connection.

Let's continue this discussion over at #130! :)

@mintar mintar closed this as completed Jul 26, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants