Unwapping presence

Phoebe did her job beautifully at the Cotswold Jam on Saturday, so I’m giving her a rest, and going to play a bit more with Chloe. First step is to get her on the internet and update her software, firmware and kernel hence I need to convert her back from being a wireless access point (WAP). Luckily, it’s not as complicated as making her a WAP was in the first place, but I’ve had a Post-It note floating around the office for months with the 7 simple steps. Before I accidentally throw the critical Post-It away, I’m blogging it for perpetuity.

These are the settings for WAP and the instructions what to do to regain internet access.

  1. /etc/default/ifplugd – swap the commented and uncommented lines for internet access
    INTERFACES=""
    HOTPLUG_INTERFACES=""
    
    # INTERFACES="all"
    # HOTPLUG_INTERFACES="auto"
  2. /etc/default/udhcpd – uncomment this line for internet access
    # DHCPD_ENABLED="no"
    
  3. /etc/default/hostapd – comment this line out for internet access
    DAEMON_CONF="/etc/hostapd/hostapd.conf"
    
  4. /etc/network/interfaces – swap the commented and uncommented lines
    # auto wlan0
    # allow-hotplug wlan0
    # iface wlan0 inet manual
    # wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
    
    iface wlan0 inet static
    address 192.168.42.1
    netmask 255.255.255.0
    
  5. /etc/resolve.conf – I use to swap domain from “home” to “local” here but it no longer seems necessay
  6. /etc/hosts – remove this line for internet access
    192.168.42.1	hog hog.local
    
  7. /etc/hostname – remove “.local” for internet access
    hog.local
    

But this time, after a

sudo apt-get update
sudo apt-get dist-upgrade
sudo apt-get raspberrypi-net-mods

and undoing the above changes, WAP didn’t resume.  After digging around and swearing, it turned out I had to configure the static IP address for the WAP using the new GUI app as well as just in /etc/network/interfaces.  I need to find out where the GUI app has stored it.  But anyway Chloe’s up to date, and is now flying well, and showing the same increasing drift as Phoebe did as the battery charge reduces.  I do need to cough up for 4S batteries after the next pay day to see if they last longer.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.