Evening.
I’m trying to follow the build a minecraft server in issue 120, page 48.
I’m new to Linux and git.
I’m at stage 5 - “Build the console tool”
git clone https://github.com/Tiiffi/Marconi.git
However when I execute this it asks for a username and then a password (not shown in the tutorial)
I have a username, but it didn’t like the correct password. An error came up with a link suggesting I needed a different way of authentication.
Did a bit of research and created a token on the GitHub site, tried entering this at the password request prompt but although I’ve got a step closer, it still fails - now with unrecognised username / password.
I’m 99.9% certain im entering the long token correctly, tried it numerous times (with help).
My GitHub username contains upper and lower case, I’ve even tried all lowercase just in case that was the issue (as I said I’m new to both Linux and git).
I’m stuck !
Any help greatly appreciated, please ?
TIA
-
- Posts: 6
- Joined: Sun Aug 07, 2022 8:00 pm
-
- Posts: 6
- Joined: Sun Aug 07, 2022 8:00 pm
Re: MagPi 120 - Minecraft Server
Hunted around ….Should I be :-
“Caching your GitHub credentials in Git”
https://docs.github.com/en/get-started/ ... als-in-git
And then installing GitHub CLI:-
https://github.com/cli/cli/blob/trunk/d ... l_linux.md
curl -fsSL https://cli.github.com/packages/githubc ... eyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh
And if I do are there any security implications if I make the server visible to the outside world should the player get access to the command line ?
Why can’t I just enter the token at the password prompt ?
I seem to have gone down a rabbit hole.
Also can I do this from the Minecraft additional user we setup earlier in the tutorial.. that doesn’t appear to have Sudo access or should I do it before switching user ?
“Caching your GitHub credentials in Git”
https://docs.github.com/en/get-started/ ... als-in-git
And then installing GitHub CLI:-
https://github.com/cli/cli/blob/trunk/d ... l_linux.md
curl -fsSL https://cli.github.com/packages/githubc ... eyring.gpg | sudo dd of=/usr/share/keyrings/githubcli-archive-keyring.gpg
sudo chmod go+r /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh
And if I do are there any security implications if I make the server visible to the outside world should the player get access to the command line ?
Why can’t I just enter the token at the password prompt ?
I seem to have gone down a rabbit hole.
Also can I do this from the Minecraft additional user we setup earlier in the tutorial.. that doesn’t appear to have Sudo access or should I do it before switching user ?
Re: MagPi 120 - Minecraft Server
It is working for me but using mcrcon not Marconi
Code: Select all
git clone https://github.com/Tiiffi/mcrcon.git
Cloning into 'mcrcon'...
remote: Enumerating objects: 527, done.
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 100% (24/24), done.
remote: Total 527 (delta 19), reused 20 (delta 12), pack-reused 491
Receiving objects: 100% (527/527), 116.04 KiB | 2.23 MiB/s, done.
Resolving deltas: 100% (311/311), done.
-
- Posts: 47
- Joined: Tue Aug 04, 2015 5:05 pm
Re: MagPi 120 - Minecraft Server
Good spot neilgl
Looks like a typo to me. I'll check in with the author to confirm and add errata to the issues page.
Sorry about this OP.
Just checked P49 in the magazine and it looks like PJ's instructions are correct after all. User error perhaps? Glad it's solved TIA
Sorry about this OP.
Just checked P49 in the magazine and it looks like PJ's instructions are correct after all. User error perhaps? Glad it's solved TIA
-
- Posts: 6
- Joined: Sun Aug 07, 2022 8:00 pm
Re: MagPi 120 - Minecraft Server
Ok. What is difference between the two please ?
Also did you have git setup ? Username and token ?
Thanks for replying
Also did you have git setup ? Username and token ?
Thanks for replying
Re: MagPi 120 - Minecraft Server
The difference between the two is that Marconi is the man who invented radio, mcrcon is the name of the repository on github. My ipad autocorrects mcrcon to Marconi !
Although I do have a username and token for github, it was not needed.
Although I do have a username and token for github, it was not needed.
-
- Posts: 6
- Joined: Sun Aug 07, 2022 8:00 pm
Re: MagPi 120 - Minecraft Server
Sorry the typo was in the forum only not actually in the code I typed (typing in an iPhone never good!)
Screen shot enclosed
Forcing me to enter username and password
Screen shot enclosed
Forcing me to enter username and password
- Attachments
-
- A1AA4C8B-22CF-4291-AEE0-F717511A9A55.jpeg (89.89 KiB) Viewed 2570 times
Re: MagPi 120 - Minecraft Server
You still have the wrong name it is mcrcon not mcron
-
- Posts: 6
- Joined: Sun Aug 07, 2022 8:00 pm
Re: MagPi 120 - Minecraft Server
You are 100% correct and I’m a twit.
Sorry to have wasted your time on this.
Moving forward again now I’ve typed the instructions correctly !
Cheers
Sorry to have wasted your time on this.
Moving forward again now I’ve typed the instructions correctly !
Cheers
Re: MagPi 120 - Minecraft Server
Yeah but at least we now know who invented radio.
Re: MagPi 120 - Minecraft Server
Living where I do, I'd be very surprised if I didn't know that one.
Unreadable squiggle
-
- Posts: 6
- Joined: Sun Aug 07, 2022 8:00 pm
Re: MagPi 120 - Minecraft Server
Must have been a top bloke to get a type of pasta names after him ! 
