ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Ubuntu Ethernet before WiFi

    IT Discussion
    5
    24
    2.1k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      scottalanmiller @hobbit666
      last edited by

      @hobbit666 said in Ubuntu Ethernet before WiFi:

      @Pete-S said in Ubuntu Ethernet before WiFi:

      @Pete-S said in Ubuntu Ethernet before WiFi:

      So I would look at:

      changing the NIC the software binds to (configuration files?)

      A quick search seems to indicate that Minecraft Server have config file called server.properties .

      Inside that there is a setting called server-ip.

      Set that to the static IP of the computer's IP on the LAN and I'm guessing it will bind to your LAN port every time.

      Yeah will give that a try.
      For some reason you can't "bind" to a specific port. It's been a requested feature with M$ for a while now.

      Port is a different issue. Would be nice to have but would also cause a lot of end user confusion as it would break certain mechanisms.

      1 Reply Last reply Reply Quote 0
      • S
        scottalanmiller @hobbit666
        last edited by

        @hobbit666 said in Ubuntu Ethernet before WiFi:

        Yes i mean it can't bind to a specific NIC,

        That's a much harder thing to do in the configs because it's crazy hard and constantly variable. If you had that feature, and any hardware changed, it would just stop working and people would be confused.

        You CAN also fix this by running it in a VM and controlling things at the VM level.

        1 Reply Last reply Reply Quote 0
        • H
          hobbit666
          last edited by

          OK silly question slightly off topic.

          If i'm setting up SSH keys between my Windows machine and the ubuntu server does my windows username need to be the same as the ubuntu server?

          i.e. windows user is hobbit, but ubuntu only has a user minecraft? Do i need to create a user called hobbit on ubuntu?

          T S 2 Replies Last reply Reply Quote 0
          • T
            travisdh1 @hobbit666
            last edited by

            @hobbit666 said in Ubuntu Ethernet before WiFi:

            OK silly question slightly off topic.

            If i'm setting up SSH keys between my Windows machine and the ubuntu server does my windows username need to be the same as the ubuntu server?

            i.e. windows user is hobbit, but ubuntu only has a user minecraft? Do i need to create a user called hobbit on ubuntu?

            No, you just need to pass the correct user to the ubuntu server when connecting with ssh/scp. IE ssh minecraft@ubuntuip

            H 1 Reply Last reply Reply Quote 0
            • H
              hobbit666 @travisdh1
              last edited by hobbit666

              @travisdh1 said in Ubuntu Ethernet before WiFi:

              No, you just need to pass the correct user to the ubuntu server when connecting with ssh/scp. IE ssh minecraft@ubuntuip

              Thought so, must be doing something wrong 😄 still asking for the minecraft password not "SSH Key" password
              Edit - Think it's just Terminal in Win11 - Putty seems to work

              S 1 Reply Last reply Reply Quote 0
              • S
                scottalanmiller @hobbit666
                last edited by

                @hobbit666 said in Ubuntu Ethernet before WiFi:

                If i'm setting up SSH keys between my Windows machine and the ubuntu server does my windows username need to be the same as the ubuntu server?

                Nope, no need to match. Are you using the Windows built in SSH system from PowerShell (that's what I do.)

                1 Reply Last reply Reply Quote 0
                • S
                  scottalanmiller @hobbit666
                  last edited by

                  @hobbit666 said in Ubuntu Ethernet before WiFi:

                  @travisdh1 said in Ubuntu Ethernet before WiFi:

                  No, you just need to pass the correct user to the ubuntu server when connecting with ssh/scp. IE ssh minecraft@ubuntuip

                  Thought so, must be doing something wrong 😄 still asking for the minecraft password not "SSH Key" password
                  Edit - Think it's just Terminal in Win11 - Putty seems to work

                  Terminal should just be using OpenSSH.

                  H 1 Reply Last reply Reply Quote 0
                  • H
                    hobbit666 @scottalanmiller
                    last edited by

                    @scottalanmiller said in Ubuntu Ethernet before WiFi:

                    Terminal should just be using OpenSSH.

                    This might be the issue. Will have a play after my holidays

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      scottalanmiller @hobbit666
                      last edited by

                      @hobbit666 said in Ubuntu Ethernet before WiFi:

                      @scottalanmiller said in Ubuntu Ethernet before WiFi:

                      Terminal should just be using OpenSSH.

                      This might be the issue. Will have a play after my holidays

                      In theory, Window's OpenSSH implementation is completely identical to the one on Linux and BSD. I can't way I've tested much in Windows 11, but on 10, it's definitely identical.

                      J 1 2 Replies Last reply Reply Quote 0
                      • J
                        JaredBusch @scottalanmiller
                        last edited by

                        @scottalanmiller said in Ubuntu Ethernet before WiFi:

                        @hobbit666 said in Ubuntu Ethernet before WiFi:

                        @scottalanmiller said in Ubuntu Ethernet before WiFi:

                        Terminal should just be using OpenSSH.

                        This might be the issue. Will have a play after my holidays

                        In theory, Window's OpenSSH implementation is completely identical to the one on Linux and BSD. I can't way I've tested much in Windows 11, but on 10, it's definitely identical.

                        I've not had any issues with it.

                        1 Reply Last reply Reply Quote 0
                        • 1
                          1337 @scottalanmiller
                          last edited by 1337

                          @scottalanmiller said in Ubuntu Ethernet before WiFi:

                          @hobbit666 said in Ubuntu Ethernet before WiFi:

                          @scottalanmiller said in Ubuntu Ethernet before WiFi:

                          Terminal should just be using OpenSSH.

                          This might be the issue. Will have a play after my holidays

                          In theory, Window's OpenSSH implementation is completely identical to the one on Linux and BSD. I can't way I've tested much in Windows 11, but on 10, it's definitely identical.

                          "Completely identical" is a bit of a stretch since it's a fork, so it has additions and changes and might not support everything the main project does. It's likely lagging behind the main project too.

                          But "works the same" or "practically the same" or "has the same code base"...

                          Microsoft only has one fork, so windows version shouldn't make any noticeable difference.
                          https://github.com/PowerShell/openssh-portable

                          PS. In OP's case he has probably hasn't the right key in openssh. OpenSSH and Putty don't share their ssh keys. They are in different folders.

                          1 Reply Last reply Reply Quote 1
                          • 1
                          • 2
                          • 2 / 2
                          • First post
                            Last post