Ths might be a silly question, but asking those is how i learn sometimes. I’m trying to install my first Linux distro to set up a Plex server and one of the few things I know is you need a wired internet connection. My intended server location is across the house from my router, and there isnt much room there to set up temporarily. It would be possible, just a bitch and a half. Is it instead possible to connect my SSD via SATA to USB to a laptop, install Ubuntu and wireless adapter drivers on it while connected to ethernet, then put the SSD in the server to boot? Or do I need to do all this through my intended setup?

Thanks for the help, just trying to make my first Linux install as painless as possible.

  • rufus@discuss.tchncs.de
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    1 year ago

    I’m not sure if Ubuntu requires a wired internet connection. I’ve installed a different distro yesterday and wifi worked fine during the installation. The installer asked me to connect to network and I used the wifi. I’ve never plugged a network cable into the machine. Maybe it’s the same with Ubuntu. But sure, there are other possibilities. Offline installers and/or you can install Linux on a different machine and then swap the harddisk/ssd. Just take care not to overwrite the internal disk of your laptop. Make sure it writes to the correct disk (or unplug other ones).

    • ursakhiin@beehaw.org
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I believe the answer is no. I think it installs over Wi-Fi, fine, so long as the adapter isn’t a weird of brand or something.

      • fauntleroy@discuss.tchncs.de
        link
        fedilink
        arrow-up
        0
        ·
        edit-2
        1 year ago

        That’s it. I have installed Ubuntu many times connected over Wi-Fi without any problems, except one special case many years ago. In that case, the system had some brand new Wi-Fi adapter, so I had to install the driver over Ethernet. But in almost any case it just should work and you can simply try to get a wireless connection in a live sytem to find out. And as mentioned above, internet connection is not necessary while installing from USB stick with the usual image. Its just recommended to save time and install the latest updates of some components during the initial system installation. But of course, you can do it later and of course you can do it over Wi-Fi (except some very rare special cases as mentioned at the beginning).

  • -> @jrgd@lemmy.zip@lemm.ee
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Yes, just make sure that the boot setup for the distro install is compatible with what you intend to install it onto (I.E. if your server is going to be using EFI to boot an OS, install your Ubuntu instance as GPT, EFI onto the SSD). Depending on what wireless modules you are using and where you are sourcing them and how you are installing them, you might need to ensure Secure Boot is disabled in the BIOS of your server. This will be the case if the kernel module package you are installing doesn’t sign the wireless adapter driver you intend to use. Otherwise, most drivers you could possibly need should be baked into the kernel and you should be good to go.

    (One further sidenote coming from someone who has not used Ubuntu in a long time (since 16.04’s release), it would be good to check in the /etc/fstab file that the filesystem references are using either UUID or PARTUUID. Depending upon the drive layout of the server you are mounting the intended drive into, traditionally labeled references such as sda or nvme0n1 can change depending upon the slots each drive is seated. Using UUID or PARTUUID in the fstab reference alleviates any potential complications from this scenario where fstab might reference the wrong drive in mounting partitions. I do believe Ubuntu would likely do this by default nowadays, but it can’t hurt to check.)

    • Hazmatastic@lemm.eeOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      Thanks for all the info. I have no comment since I need to watch like 3 youtube videos and spend another hour reading before I really understand that second paragraph, but I will definitely be referring back to it.

      What I did pick up was that the kernel actually comes with basic hardware drivers, which is a huge relief. I have pretty standard wifi hardware on standby, so I can try that.

  • Yes you can do that, make sure you are on the same CPU infrastructure (ie, don’t try to install linux on an SSD from an intel laptop if you’re going to be running it on an arm based processor or something).

  • CameronDev@programming.dev
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    Since when do you need a wired internet connection? You need it to get updates, but it should install offline just fine. Just use the dvd installer?

    • Hazmatastic@lemm.eeOP
      link
      fedilink
      arrow-up
      0
      ·
      1 year ago

      I think i just misunderstood how “DIY” Linux was and thought it came with essentially no drivers. I thought it was kind of like rooting an Android, you get more control in exchange for having to do everything yourself. I mistakenly lumped all drivers under “everything”

  • CosmicApe@kbin.social
    link
    fedilink
    arrow-up
    0
    ·
    1 year ago

    If you’re going to be using it as a Plex server, aren’t you going to need some sort of network connection anyways?

    • I think the premise was the plex server will be running off of wifi and they didn’t think they would have wifi drivers available to them during install so they wanted to install hard wired.

      No how wise it is to run a plex server off of wifi is another discussion all together but maybe for a different time.

      • Hazmatastic@lemm.eeOP
        link
        fedilink
        arrow-up
        0
        ·
        1 year ago

        This is exactly what u was asking. I would be interested in hearing why wifi isn’t a good idea though. I didn’t think bandwidth would be too much of a problem, so is this a security concern?

        • alteropen@noc.social
          link
          fedilink
          arrow-up
          0
          ·
          1 year ago

          @Hazmatastic @theredcaps I think it is a bandwidth concern, especially if multiple people will be streaming from the server. WiFi is unstable too its part in parcel, wired is just required if you need something that’s stable

        • Mostly for bandwidth and connection stability reasons… if the plex server is only serving your own home then likely not much to worry about but if you are serving plex content for ppl outside your home it can be troublesome if your wifi starts acting up and they don’t know why they suddenly start buffering.

          Nothing about plex itself is limited by wifi it’s just a potentially a high bandwidth / throughput service and typically you wouldn’t want that on wifi.

          • Hazmatastic@lemm.eeOP
            link
            fedilink
            arrow-up
            0
            ·
            1 year ago

            Yeah I want to do wired eventually, wifi is just a stopgap so I can phase out paid streaming asap without completely interrupting service for other people on my plans