Quack Quack Quack Logo

Shiawassee Amateur Radio Association [SARA]

Established: January, 1958  an ARRL Affiliated Club since 1961

"Whiskey 8 Quack Quack Quack"

Meets at: James P. Capitan Center, Lower Level; 149 E. Corunna Ave.; Corunna, MI 48817

Club station located in the James P. Capitan Center - Lower Level.
Grid Square EN72wx   Latitude: 42.9819 N   Longitude: -84.1164 W   Alitude: 760 ft.



Go to footer ↓


Raspberry Pi2 [RPi 2] ~ Initial Startup (or a RPi 3 or Pi Zero).

A Step-by-Step Guide and Initial View

Before Power Application

The configuration before first power application:

Coax that connects things! topic divider

Go back to top ↑

 

Power On

As this is the first time your Raspberry Pi and NOOBS SD card has been used, then you will have to select an operating system and configure it and before you can get there you will need to "configure the RPi". You will be booted into the raspi-config screen. Hint: Remember you can come back to the config screen by entering that code unto a command line. The eLinux organization has a very good explanation of the raspi-config here: eLinuix RPi raspi-config documentation. Go there and read or printout the information. Complete that first thing, then come back here. Now check the NOOBS guide to do select a distro. If uncertain, use the Raspian OS until you gain some further knowledge.

As the RPi boots wait as things proceed to a prompt on your screen {raspberrypi1 login:} waiting for your user ID, enter: pi and then the request for a password: raspberry, enter the password and wait until you will see the standard prompt pi@raspberrypi1 ~ $. Note: If you enter the id and then wait for more than 60 seconds, it resets requiring you to enter the id another time. Also, note that the entering of your password does NOT show anything on screen - this is normal.

There are multiple paths you can take from here, but the following is a pretty straight forward approach. We will install from the command line the WIFI adapter, set the date/time, install updates and upgrades and then we will go to the GUI side of things for bit and play around. Finally we will come back to command level (bash) and do a little investigation of the system.

Coax that connects things! topic divider

Go back to top ↑

 

Installing the WIFI dongle and use the Network

Assumes you have a wireless network within range of the RPi.

We will use the command line to install using the WIFI dongle. Plug in the WIFI dongle (adapter) and at the the terminal prompt type:

sudo iwliat wlan0 scan

Hit 'Enter' at the end of your typing and the command will execute immediately. The sudo places you in as a 'super user' status. The command and is used to insure the command is 'approved system wide'. This command line will list all the available WIFI networks, along with some other useful information. Watch your screen for: {As "sudo" you can change 'anything' in the system, stuff that can crash your system, so be a little careful.}

  1. ESSID:"netname" where "netname" is the name of the WIFI network.
  2. IE: IEEE 802.11i/WPA2 Version 1. This is the authentication used; in this case it's WPA2, the newer and more secure wireless standard which replaces WPA. This guide should work for WPA or WPA2, but may not work for WPA2 enterprise; for WEP hex keys, see the last example here. You'll also need the password for the WiFi network. For most home routers this is located on a sticker on the back of the router. The ESSID (ssid) for the network in this case is netname and the password will be the "netnamepassword".

Add in Network Details for RPi

Use the following to open the "wpa-supplicant" configuration file in nano [nano is a text editor]:

sudo nano /etc/wpa_supplicant/wpa_supplicant.conf

Go to the bottom of the file (arrow keys) and add the following:

network={
    ssid="The_ESSID_from_earlier"
    psk="Your_wifi_password"
}

In the case of the example network, we would enter:

network={
    ssid="netname"
    psk="netnamepassword"
}

Now save the file by pressing Ctrl+X then Y, then finally press Enter.

At this point, wpa-supplicant will normally notice a change has occurred within a few seconds, and it will try and connect to the network. If it does not, either manually restart the interface with sudo ifdown wlan0 and sudo ifup wlan0, or reboot your Raspberry Pi with sudo reboot.

You can verify if it has successfully connected using ifconfig wlan0. If the inet addr field has an address beside it, the Pi has connected to the network. If not, check your password and ESSID are correct. You need to make sure you get this to work before you can do "update" and "upgrade" operations. If you have major issues, you may need to connect an Ethernet cable directly (search the internet for help). It is reported that some WIFI adapters will not work. See the www.raspberrypi.org. Look in the help and documentation areas.

Coax that connects things! topic divider

Go back to top ↑

 

Set Date/Time

Date and Time are used in the system to 'order' copy/replace/save file infomation. You need to be sure they are setup properly or things can go wrong, such as writing old informatio over the top of newer information... these will cause loss of data and perhaps system crashes. Just insure they are 'current and you can protect yourself from doing "bad things".

If you type date at the prompt, the system should respond with:

Mon Mar 21 11:12:53 EST 20196

or a similar formated type line.

To set the date and time you use a format of: MMDDhhmmssYYYY where:

su date 03221230102019

Which is time for Mar 22 12:30:10 EST 2019 Just type date again at the prompt to see that you did it correctly.

Coax that connects things! topic divider

Go back to top ↑

 

Get Software Updates and Upgrades

If you type sudo apt-get update followed by 'Enter' at the prompt, the system should go and get software updates. This process may take a few minutes, but you can watch it scroll by on the monitor. Upgrading is just as easy, sudo apt-get upgrade 'Enter' and you will be prompted to respond 'Yes', and the process will start. Wait a few minutes and the prompt will return. It is a good pratice to do an 'upgrade' before installing new software on your RPi. New software usually may require the latest upgrades to other programs to run properly {It is a Linuix thing and is because Linux OS builds upon "other software", so you need to have the proper software to support your new program.

If we had taken time initially to go looking at the file/directory structure of the Raspian as installed, there were only two directories, "desktop" and "python-games". We will look around from the GUI interface file manager, as these views will look more familar to you assumming you have seen Windows or Apple operating system structures on other computers.

Coax that connects things! topic divider

Go back to top ↑

 

Lets Go Graphical ~ GUI

For a large number of users, the GUI offers an easier way to operate a computer system when compared to the terse, strict methods of the command line. Linux systems have GUI that are as impressive and clean as the popular commercial OS in use. Also, application programs rival those that available. Cost is usually substantially below the other popular OS applications (many are free). So lets get started!

startx will start the GUI.

You are now setting at the RPi GUI screen...

Summary

The RPi looks like a great platform to launch many amateur radio projects. It can do fully developed computer applications, abeit at a speed cost. However, it is not designed for this type of computer system usage. Small, stand alone computer system applications are what it really all about. Initial looks are very favorable to do this type of work. A few amateur radio concepts I have thought might interest others and serve purposes in my amateur radio hobby follow:

Do you have many ideas you would share? Let us know, Web Site Contact email information is at bottom to every page in the footer.

Coax that connects things! topic divider

Go to page top ↑