..Raspberry Pi Internet, wiFi and email aFLoat




The recent Raspbian images have provided easy access to WiFi. Simply launch wpa_gui from the desktop.

Nano wifi USB dongles will work from the Pi's onboard USB; if you want to run an extender, such as an Alfa, you'll need a USB hub.

Select WiFi Config from the Desktop
If you see wlan0 in the adapter field then you're in business
Select Scan (in two windows)
Double-click the SSID to which you wish to connect
Enter the passkey, if required, in the PSK field. 
Add then Close.
Select File -> Save Configuration

.. and that's it!

If you have multiple conections defined you can select the active one from the Network dropdown.
Use Manage Networks to enable/disable conections. Make a note of the IP address if you want to connect remotely.



Launch a browser such as NetSurf, or Midori from the Pi's Desktop, if you want to browse the Internet, or check that a connection is available, for example for email.

Remote Access

If you want to log into your Pi remotely, for example from a laptop using your new wireles connection, you'll need other 'stuff' if you're not running a Linux box. On a PC, install an SSH client (PUTTY is perfect), and if you want to run the user interface then XMing is a good choice .. google for details.

Assuming your Rasperry Pi has connected to the access point/router, you should have seen an IP address in the wifi config window; you can now try connecting.

Default login is user name "pi" and password "raspberry"

Having logged in, if you want to do anything that requires any sort of privileges then the comand should be prefixed with "sudo ".

For example, to change the pi user's password:  sudo passwd pi

to sihutdown gracefully:

sudo shutdown -h now

to reboot:

sudo reboot

If you're lazy, and don't care about the security implications, you can set a password for the root user: sudo passwd root
If you then login as root you can do anything without requiring sudo, and you won't be prompted, no matter how stupid: rm -r /



If you are a dinosaur like me you don't trust these web-based, advertising-subsidised email services, and prefer to have control of your own emails and connections.  Although many conventional email providers have support for web based email, it suitd me to have a standard email client that lets me, for example, create emails offline and upload in a batch when there's an available connection.

Run the following:

sudo apt-get install claws-mail

Assuming you'd like an icon on your desktop:

cp /usr/share/applications/claws-mail.desktop  /home/pi/Desktop

run the application from the icon, or by running the command


The first time you run the application you may see some messages about files not being found, but that's only because you have still to create them.

A setup wizard is run the first time you launch the program, so have your connection details to hand (SMTP and POP3 logins, account names, and so on)

Configuration is similar to any other email clients, and you can set up multiple accounts. Remember to NOT delete mail from the remote server if you are only going to use the Pi occasionally; that way you won't 'lose' important emails that have been downloaded to the boat and so are not available to download at home :)





Another straightforward solution:

apt-get install claws-mail



Sorry about the adverts around the page, but the few coppers the clicks bring in help towards the upkeep of the site.






Copyright © 1997-2021