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

    Ubuntu Ethernet before WiFi

    IT Discussion
    5
    24
    2.0k
    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.
    • scottalanmillerS
      scottalanmiller @hobbit666
      last edited by

      @hobbit666 said in Ubuntu Ethernet before WiFi:

      @scottalanmiller said in Ubuntu Ethernet before WiFi:

      @hobbit666 said in Ubuntu Ethernet before WiFi:

      Or even disable the WiFi during boot and only bring it up after fully boot, or delayed say 5mins after

      I've not played with this configuration. But my thought would be maybe do...

      1. Disable Wifi on boot completely
      2. make sure Ethernet is good on boot
      3. Make an "@boot" cronjob with a short delay (1 minute should be fine) and have that enable the wifi

      If the cron job enables the WiFi would it still be enabled if I rebooted the machine?

      The point of the cron job is that it starts wifi at boot time.

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        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
        • scottalanmillerS
          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
          • hobbit666H
            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?

            travisdh1T scottalanmillerS 2 Replies Last reply Reply Quote 0
            • travisdh1T
              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

              hobbit666H 1 Reply Last reply Reply Quote 0
              • hobbit666H
                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

                scottalanmillerS 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  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
                  • scottalanmillerS
                    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.

                    hobbit666H 1 Reply Last reply Reply Quote 0
                    • hobbit666H
                      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

                      scottalanmillerS 1 Reply Last reply Reply Quote 0
                      • scottalanmillerS
                        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.

                        JaredBuschJ 1 2 Replies Last reply Reply Quote 0
                        • JaredBuschJ
                          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