Tristan Sweeney

← Back to blog

Apt install on a Disconnected Wireless System

Published on 2018-6-8 by Tristan Sweeney

photo by Google
I just was installing ubuntu on a platform that only has wireless capabilities, and decided to install the server edition to minimize overhead / avoid having an X server + desktop environment to disable. Woe, the server edition of Ubuntu ships with no wireless utilities, because nobody in their right mind would run a wireless server.

I just was installing ubuntu on a platform that only has wireless capabilities, and decided to install the server edition to minimize overhead / avoid having an X server + desktop environment to disable. After the installation, I realized one fatal oversight: this platform only has a wifi antenna and no wired ethernet to install packages through. The server edition of Ubuntu ships with no wireless utilities, because nobody in their right mind would run a wireless server.

This was quite the conundrum. I have an Ethernet->USB adapter back home, but that’s a long bike ride. Instead, I found the tool with the most minimal set of dependencies that suited my needs (wpa_supplicant, which I’ve used before on my laptop), copied it’s package and it’s dependencies packages to a USB drive, mounted that drive, and installed it to the drone. After that, I was able to use wpa_supplicant and dhclient to connect to my phone (as a hotspot) and install network-manager to use nmcli to connect to my universities enterprise wifi (which I’ve never figured out in wpa_supplicant).

So if you’re ever stuck needing to connect to the internet like me, just remember that package installations are only a USB away.

Written by Tristan Sweeney

← Back to blog
  • Favicon Fun

    9/17/2024
    Favicon Fun
    photo by Astro

    I love the Astro homepage favicon effect, and replicated it on my site.

  • Ransom Note

    5/3/2020
    Ransom Note
    photo by Jamie Eckle

    Given the text for a ransom note, determine if enough letters exist in a magazine to create it.

  • Breaking down Subsum Equals K

    4/29/2020
    Breaking down Subsum Equals K
    photo by Meghan Vestal

    given an array of integers, find the number of continuous subarrays equal to `k`.

  • Revivifying the Blog

    4/11/2020
    Revivifying the Blog

    I recently had a friend come across my blog, and was promptly shamed for having a certificate more out of date than the VCR. Such an embarrassment couldn't rest, and so I cleaned up my act a bit.

  • Apt install on a Disconnected Wireless System

    6/8/2018
    Apt install on a Disconnected Wireless System
    photo by Google

    I just was installing ubuntu on a platform that only has wireless capabilities, and decided to install the server edition to minimize overhead / avoid having an X server + desktop environment to disable. Woe, the server edition of Ubuntu ships with no wireless utilities, because nobody in their right mind would run a wireless server.

  • Let's Encrypt HTTPS on DD-WRT

    6/5/2018
    Let's Encrypt HTTPS on DD-WRT
    photo by DD-WRT

    I run a DD-WRT router on a Netgear WNDR4500 router. It's been in my life since I can remember, and came along with me to college. A while back I loaded the DD-WRT firmware onto it, and it's been serving like a champ ever since.