How To Connect A Raspberry Pi To The Internet On A Microsoft Moonstone 2 (Microsoft) Microsoft Powerbook 2 (Powerbook 2) (Powerboard 2) And Powerbook 3 (Powerstation 2)



Similar documents
Adafruit's Raspberry Pi Lesson 3. Network Setup

CONNECTING THE RASPBERRY PI TO A NETWORK

Setting up a Raspberry Pi as a WiFi access point

Using pcduino's WiFi Dongle With the Pi a

Setup Wireless LAN (WLAN) on the Raspberry Pi

Adafruit's Raspberry Pi Lesson 7. Remote Control with VNC

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Raspberry Pi Android Projects. Raspberry Pi Android Projects. Gökhan Kurt. Create exciting projects by connecting Raspberry Pi to your Android phone

Raspberry Pi Setup Tutorial

Adafruit's Raspberry Pi Lesson 1. Preparing an SD Card for your Raspberry Pi

Movie Cube. User s Guide to Wireless Function

What is a Home Network? A home network is a collection of two or more home computers connected together through a wired or wireless connection.

How To. Simply Connected. XWR-1750 Basic Configuration INTRODUCTION

MFC7840W Windows Network Connection Repair Instructions

9 Simple steps to secure your Wi-Fi Network.

D-Link DAP-1360 Repeater Mode Configuration

P-2612HNU-Fx n ADSL2+ VoIP IAD DEFAULT LOGIN DETAILS. Firmware V3.00 Edition 1, 1/2010. Password: 1234 User Name: admin Password: 1234

How to configure your Thomson SpeedTouch 780WL for ADSL2+

MFC6490CW Windows Network Connection Repair Instructions

PiFace Control & Display

HI-SPEED INTERNET USER GUIDE

RASPBERRY PI BAT PROJEKT News and Add ons WLAN connection and UMTS (SMS transmission)

Hello Modem. Today I would like

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable. Created by Simon Monk

Home Station ADSL. You may also use the following address (regardless of whether you have changed the primary address or not):

Networking. General networking. Networking overview. Common home network configurations. Wired network example. Wireless network examples

Powerwifi USB Router in combination with the Powerwifi USB outdoor antenna

Connections and wiring Diagram

Quick Installation Guide DAP Wireless N 300 Access Point & Router

Quick Installation Guide DIR-620. Multifunction Wireless Router Supporting GSM, CDMA, WiMAX with Built-in 4-port Switch

SATO Network Interface Card Configuration Instructions

Setting up a WiFi Network (WLAN)

A6210 WiFi USB Adapter ac USB 3.0 Dual Band User Manual

DATA PROJECTOR XJ-A146/XJ-A246/XJ-A256

NETVIGATOR Wireless Modem Setup Guide. (TG789Pvn)

Adafruit's Raspberry Pi Lesson 5. Using a Console Cable

Network User s Guide

WiFi-SB-L3 300M WiFi Router WiFi Bridge WiFi Repeater. WiFi Router WiFi Repeater WiFi Bridge WiFi-SB-L3 Quick Setting Guide

Linksys Wireless G WRT54G

Building a Penetration Testing Virtual Computer Laboratory

Quick Installation Guide

N600 WiFi USB Adapter

VERIFONE CLOUD POS SETTING UP YOUR SYSTEM

How To Set up and Configure the WNA-100 Wireless Network Adapter

What is a Home Network? A home network is a collection of two or more home computers connected together through a wired or wireless connection.

NETWORK USER S GUIDE. Multi-Protocol On-board Ethernet Multi-function Print Server and Wireless Ethernet Multi-function Print Server

DATA PROJECTOR XJ-A135/XJ-A145/XJ-A235/ XJ-A245

Internet Guide. Prepared for 55 John Street

TE100-P21/TEW-P21G Windows 7 Installation Instruction

Create a virtual machine at your assigned virtual server. Use the following specs

StarMOBILE Network Configuration Guide. A guide to configuring your StarMOBILE system for networking

3.5 EXTERNAL NETWORK HDD. User s Manual

Using LAN Wi-Fi (WLAN) 3-2 Connecting Wi-Fi Devices via Wi-Fi (WLAN) 3-3 Connecting Windows 3-5 Connecting Mac 3-8

Table of Contents. P a g e 2

Internet User Guide. For the ZTE H298N routers. LAN4 LAN3 LAN2 LAN1 WAN Phone USB2 USB2 WAN WLAN WLAN WLAN

Configuring the wireless security of your Linksys Wireless-N router through the web-based setup page

Business Broadband Kit Quick Installation Guide

A quick Guide to your Super Hub 2ac

NETWORK USER S GUIDE. Multi-Protocol On-board Ethernet Multi-function Print Server and Wireless Ethernet Multi-function Print Server

Self Help Guide. Please read the following carefully; Synopsis: Requirements: A Computer with a working RJ45 LAN Port All Belkin Modem Routers

DATA PROJECTOR XJ-A147/XJ-A247/XJ-A257 XJ-M146/XJ-M156 XJ-M246/XJ-M256. XJ-A Series. XJ-M Series. Network Function Guide

wireless broadband information

Configuring a Trimble Sps 461 using the Ethernet Connection GETTING THE GPS ON THE NETWORK HTTP PORT. By Bob Glover

Setting Up Your Wireless Network

How to convert a wireless router to be a wireless. access point

TECHNICAL BULLETIN. Configuring Wireless Settings in an i-stat 1 Wireless Analyzer

Network Projector Operation Guide

Intel vpro. Technology-based PCs SETUP & CONFIGURATION GUIDE FOR

ALL0237R. Wireless N 300Mbit Access Point/Repeater. User s Manual

WLAN Outdoor CPE For 2.4G. Quick Installation Guide

N300 WiFi Range Extender WN2000RPT User Manual

Fibe Internet Connection Hub Reference Guide

by using the Setup Wizard in CD Disk

Wireless Presentation Adaptor User s Manual

Universal Mobile Print Server On the Cheap, and Cloud-free. What You Will Need. Configuring your Pi as a Print Server

Ralink Utility User Guide/PC/MAC

integration tools setup guide SIM 3 Remote Guide to controlling a SIM 3 Audio Analyzer remotely over a network connection from a laptop

Adafruit's Raspberry Pi Lesson 6. Using SSH

Configuring the WT-4 for ftp (Infrastructure Mode)

MANUAL FOR CONNECTING TO VIVACOM NET WI-FI NETWORK HIDDEN ENCRYPTED WI-FI NETWORK

Wireless Presentation System User s Manual

Question How do I access the router s web-based setup page? Answer

Quick Installation Guide

Network User s Guide

7inch HDMI LCD (B) User Manual

AdRadionet to IBM Bluemix Connectivity Quickstart User Guide

P-660HWP-Dx. Quick Start Guide g HomePlug AV ADSL2+ Gateway. Version /2007 Edition 1. Copyright All rights reserved.

AC1900, N900, and N450 WiFi Cable Data Gateways

BASIC INSTRUCTIONS TO CONFIGURE ZYXEL P8701T CPE USING THE WEB INTERFACE

Network Installation Guide

PePWave Surf Series PePWave Surf Indoor Series: Surf 200, AP 200, AP 400

How to Set Up a Wireless Router in a Dorm

c. Securely insert the Ethernet cable from your cable or DSL modem into the Internet port (B) on the WGT634U. Broadband modem

Setting up Wireless ipad Control of your DEWETRON Computer-based System

Setting up VNC, SAMBA and SSH on Ubuntu Linux PCs Getting More Benefit out of Your Local Area Network

RAPID BROADBAND INSTALLATION RAPID BROADBAND SUPPORT CONTACT DETAILS. AND TROUBLESHOOTING GUIDE. Tel:

Home Wi-Fi Gateway Instructions

OpenCPN Garmin Radar Plugin

PIXMA MX920. series. Setup Guide

Transcription:

Adafruit's Raspberry Pi Lesson 3. Network Setup Created by Simon Monk Last updated on 2013-11-06 11:45:18 AM EST

Guide Contents Guide Contents Overview Using a Wired Network Buying a USB WiFi Adapter Setting up Wifi with the Graphic Interface Setting up Wifi with the Command Line Finding Your Pi's IP Address Test and Configure Fixing WiFI Dropout Issues 2 3 4 6 7 12 16 17 17 Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 2 of 17

Overview One of the first things that you will want to do is to get your Raspberry Pi connected up to the Internet. In this lesson, you will learn how to: Connect using an Ethernet cable Use a WiFi adapter with both Raspbian and Occidentalis Find out the IP address of your Raspberry Pi Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 3 of 17

Using a Wired Network The quickest way to get your Raspberry Pi connected is to use an Ethernet patch cable and just plug it into the back of your home network router. As soon as you plug your Pi in, you should see the network LEDs start to flicker. For most home networks, you should also be able to connect to the Internet without any further configuration. For this to work, your router should be configured for DHCP (Dynamic Host Configuration Protocol). This service runs on your home network router, dishing out IP addresses to any device that connects to it either through WiFi or by cable. If DHCP is not turned on, on your home network router, then connect to its management console using a different computer that is already connected. You should be able to find a setting somewhere that turns it on. Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 4 of 17

Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 5 of 17

Buying a USB WiFi Adapter Look for a WiFi adapter that supports the RTL8192cu chipset, as both the latest Raspbian and Occidentalis distributions both have support for this built-in and we've found its much faster than the Ralink chipsets If you already have a WiFi adapter, just give it a go, even a lot of the very low cost budget adapters will work without any trouble. WiFi does however use quite a lot of power, so check the power rating of your power supply. Some WiFi adapters require an external power supply to work well. We suggest the 5V 1A power adapter in our shop if this is the case (http://adafru.it/501). All of the WiFi adapters we have in the Adafruit shop will work just fine this way. If you have a WiFi adapter plugged in, then you no longer have two free USB sockets available for your keyboard and mouse, so you may also need a powered USB hub. (http://adafru.it/961) Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 6 of 17

Setting up Wifi with the Graphic Interface Setting up WiFi requires that your router is broadcasting the SSID. Make sure you have "Broadcast SSID" set up on your router! This will not work with "private" SSID setups Raspbian releases after 2012-10-28 include a WiFi configuration utility. You will find the shortcut for this on the Desktop. If you are using command-line tools or are logging in over Ethernet, check the next page for how to edit /etc/netwo rk/interfaces by hand Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 7 of 17

Step 1. Double-click the icon and this is what you will see. Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 8 of 17

Step 2. Click on the Scan button and a second window will open. Find your Wireless access point in the list and double click on it. This will open another window. Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 9 of 17

Step 3. Enter your password in the PSK field and then click Add. When you look at the first window, you should see that the connection is all set up for use. You can connect or disconnect using the buttons. Notice also the IP address of the Pi is shown at the bottom of the window. Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 10 of 17

Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 11 of 17

Setting up Wifi with the Command Line This tutorial works best if your router is broadcasting the SSID. Make sure you have "Broadcast SSID" set up on your router! This may not work with "private" SSID setups Setting up WiFi in Occidentalis, is also pretty straight forward. You just need to add the name of your wireless network (its SSID) and your password to a configuration file. Step 1. Boot the Raspberry Pi without the WiFi adapter plugged in. Step 2. Open a Terminal session by clicking on the LXTerminal icon, and enter the following command into it: sudo nano /etc/network/interfaces auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 auto wlan0 Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 12 of 17

auto wlan0 iface wlan0 inet dhcp wpa-ssid "ssid" wpa-psk "password" If you are using a 'hidden' SSID, try the following (hat-tip to http://www.dafinga.net/2013/01/how-to-setup-raspberry-pi-withhidden.html (http://adafru.it/cfm)) auto lo iface lo inet loopback iface eth0 inet dhcp auto wlan0 allow-hotplug wlan0 iface wlan0 inet dhcp wpa-scan-ssid 1 wpa-ap-scan 1 wpa-key-mgmt WPA-PSK wpa-proto RSN WPA wpa-pairwise CCMP TKIP wpa-group CCMP TKIP wpa-ssid "My Secret SSID" wpa-psk "My SSID PSK" iface default inet dhcp Step 3. This opens an editor screen of the wifi configuration file you need to change. The two places where you need to make a change are on the last two lines. Change the file so that it looks like this: Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 13 of 17

Of course, you should put in yo ur network and password! Note that you need to keep the double-quote characters around your wireless network name and password. This kind of editor does not let you use the mouse. Instead, use the cursor keys to move around the file. Step 4. When you have finished press [ctrl]x. This will ask if you want to save the modified files. Press 'Y' and then Return to save the file with the same name. Step 5. Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 14 of 17

Shut down your Raspberry Pi, plug the WiFi adapter in and start it up again. You should find that the Raspberry Pi connects using the WiFi adapter as it boots up. Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 15 of 17

Finding Your Pi's IP Address You can find the IP address of your computer, either by opening the WiFi setup tool again. The IP address will appear at the bottom of the Window. If you are using Occidentals, or you want to do this over a command line terminal. Open up a LXTerminal window and type the following command: sudo ifconfig Next to the wlan0 entry you will see inet addr: 192.168.1.10 which is the IP address of the Raspberry Pi. Remember! If your IP address starts with 192.168 or 10.0 then its an internal address - that means you can get OUT to the Internet but you cannot have someone outside your home or network reach your Pi via the IP address. This is important if you want to have a webserver running on a Pi that outside people can reach. In general, its much safer to keep your Pi on an internal network so it can't be hacked as easily! Adafruit Industries http://learn.adafruit.com/adafruits-raspberry-pi-lesson-3-network-setup Page 16 of 17

Test and Configure If you have X running, open the Midori web browser and navigate to the URL of your favourite electronics supplier. If you are using a command line, the ping command can be used to see if you are reaching the internet. Try ping google.com or ping adafruit.com to check if you can reach those sites! Fixing WiFI Dropout Issues If you find your module 'drops out' from time to time, you can fix it fairly easily with a command line fix (thanks perseus286 (http://adafru.it/cl5)!) Create and edit a new file in /etc/modprobe.d/8192cu.conf sudo nano /etc/mo dpro be.d/8192cu.co nf and paste the following in # Disable power saving options 8192cu rtw_power_mgnt=0 rtw_enusbss=1 rtw_ips_mode=1 Then reboot with sudo reboot Click Here for the Next Lesson http://adafru.it/ath Adafruit Industries Last Updated: 2013-11-06 11:45:20 AM EST Page 17 of 17