Tag: pi

  • Configure WLAN0 on Raspberry Pi

    I  don’t know how I did it.  I lost wireless connectivity, so I was forced to plugin my Raspberry Pi to the Lan.  Once, plugged in I could find it via the DHCP table on my router.

    I first checked the iwlist wlan0 scan to see if my home network was listed.  The home network was listed.  It was.

    I checked the wpa_supplicant configuration ~ $ sudo vi /etc/wpa_supplicant/wpa_supplicant.conf  and confirmed it pointed to the right network. I also checked dmesg to see if there were any hints for wpa_supplicant.

    I looked at the /etc/network/interfaces and found

    iface wlan0 inet manual

    which I converted to

    iface wlan0 inet dhcp

     Also wpa-debug-level 3 was very helpful and must proceed the wpa-roam statement in the interfaces.

    Also running the wpa_supplicant command can result in some good details

    pi@seconds ~ $ sudo wpa_supplicant -B -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf

    I also found this link helpful. https://wiki.debian.org/WiFi/HowToUse It showed how to reset manual to dhcp in the /etc/network/interfaces file

    Finally, I used http://weworkweplay.com/play/automatically-connect-a-raspberry-pi-to-a-wifi-network/ to finally review, and finally I broke down and set a static ip. Not sure why it won’t automatically take a dhcp configuration.

  • Raspberry Pi – Initial Thoughts

    Thanks To Ada Fruit  I picked up a first version Raspberry Pi B+.   The experience brings me back to building my first computer and modifying it.

    I picked up an B+ Kit from Ada Fruit (based on the fact they have awesome tutorials).  I also picked up a Motor Controller, a Bread Board to hook up peripherals, and a Touch Screen Display.  The touch screen display wasn’t actually compatible with the kit I purchased.  Lesson learned – check the Male and Female connectors for the Displays and PIN (IN/OUT) counts.

    I laid out all the components on the bubble wrap, and I started assembling the components into one computer. The experience was rather like assembling a jigsaw puzzle.

    Easy As Pi
    Easy As Pi

    I used the 4G microSD card that came with the B+ kit.  I used it to immediately configure Debian and setup SSH. I got it on the wireless using the USB dongle for wireless, and I ran the updates for aptitude update and aptitude full-upgrade.  It’s nice that it persists all these changes.

    Now, that I am on the wireless, I can unplug the Raspberry Pi from the monitor, and connect to it via SSH.  It’s fantastic stuff. I am now going to work on my motor controller.

    Running Debian
    Running Debian