SlideShare ist ein Scribd-Unternehmen logo
1 von 7
Aim:
To Setting up of Raspberry Pi and connect to a network
Procedure:
There are three ways to configure WiFi on your Raspberry Pi with both Raspberry Pi OS desktop and
server.
Wired Ethernet Connection
To set up a wired internet connection, simply connect your Raspberry Pito the back of your network router
with an ethernet or RJ45 cable. Once plugged in, you should observe the network LED blinking on your
Raspberry Pi.
In most cases,your wired internet connection will now be up and ready for use, provided that your router
has DHCP enabled. DHCP stands for Dynamic Host Configuration Protocol, and basically assigns IP
addresses to devices that connect to your router.
To enable DHCP,access your home router’s management console with another computer that has already
been connected. You can typically do this by entering your router’s IP address into the address bar of any
internet browser.
Wireless Connection – WiFi Hardware
To set up a WiFi connection, we will first need a WiFi module for our Raspberry Pi. Fortunately, all
Raspberry Pi models from the Raspberry Pi 3 Model B (2016) and later ship with on-board WiFi. If you
have an older model on hand, or if your on-board WiFi module is not functioning, you will need to use an
external USB WiFi adapter.
When choosing a WiFi adapter, ensure that there is driver support. For example, WiFi adapters with the
RTL8192cu chipset will work readily since there is Raspberry Pi OS support built in.
Another consideration is the power draw. WiFi can require a lot of power, especially if a heavy amount of
data is being transmitted. For older Raspberry Pi in particular, you may require an external power supply
like a powered USB hub to power the WiFi adapter.
Ex.No:1
Setting up of Raspberry Pi and connect to a network
Date:
Method 1:
Step 1: Install the latest version of the Raspberry Pi Imager for your operating system
Step 2: Open the Raspberry Pi Imager. You should be greeted with the same screen as always.
Step 3: Press Ctrl + Shift + x to open the advanced menu (CMD + Shift + x for Mac OSX).
Step 4: Scroll down to Configure wifi, check the box and enter your WiFi credentials.
Note: Be sure to change your Wifi country according to your country code!
Step 5: Click SAVE and flash your OS to your microSD card for your Raspberry Pi!
Method 2: Configure WiFi with Raspberry Pi OS GUI
For users running Raspberry Pi OS Desktop on their Raspberry Pi, you can simply use the provided GUI
to set up your WiFi connection.
Method 3: Configure WiFi from Command Line with Raspi-Config
If you are running a server distribution of Raspberry Pi OS without a GUI, you will have to use Raspi-
Config instead. This method works in Raspberry Pi OS Desktop as well.
Raspi-Config is a console based application used to configure various settings on the Raspberry Pi. It can
be used for network configuration, setting up remote access, boot options etc.
To open Raspi-Config n the command line, type the command:
sudo raspi-config
Using the arrow keys on your keyboard, navigate to “Network Options” and press Enter.
Select Wi-fi, then follow the on-screen instructions to enter your network’s SSID and password. When
you’re done, select “Finish” on the main menu to close Raspi-Config.
Finally, reboot the Raspberry Pi to apply the settings we’ve just changed. Your WiFi connection should
then be good to go!
Configuring WiFi on a Headless Raspberry Pi
A headless Raspberry Pi is one that we would like to run without a monitor, keyboard, or mouse. As you
can imagine, it won’t be as straightforward to apply the methods we’ve covered so far.
Enable SSH (Secure Shell)
For this section, we will first want to enable SSH on our Raspberry Pi. This is something that you’ll want
to do if you’re running your raspberry pi headless anyway.
With SSH, you can use an internet connection to remotely run terminal commands on the Raspberry Pi
from your primary computer through an internet connection.
To enable SSH on a headless Raspberry Pi, simply place a file named “ssh”, without any extension, onto
the boot partition of the SD card from another computer. This will tell Raspberry Pi to enable SSH when
booting. The content of the file does not matter.
Note: Do not connect your Raspberry Pi directly to a public network if you have not yet set up secure
passwords for all users. Your device may be compromised by hackers.
Method 1: Enable WiFi Via Ethernet Cable
This method involves using an ethernet connection to utilise SSH for setting up our WiFi.
Once our ethernet connection is established via wired connection with our router, refer to the DHCP
allocation table on your router management console to obtain the IP address of your Raspberry Pi.
Once we have obtained the IP address, we can use any SSH client such as PuTTY on Windows to access
the Raspberry Pi. Linux and MacOS users can utilise SSH without any additional software.
On Linux or MacOS, simply enter the following command with the <IP> for your device.
ssh pi@<IP>
Once the connection is successful, we can simply use:
sudo raspi-config
to configure our WiFi connection like we covered before!
Method 2: Enable Wifi via wpa_supplicant
This method involves replacing the wpa_supplicant.conf file on our Raspberry Pi to provide our WiFi
configuration.
First, you’ll want to create a wpa_supplicant.conf file with the following content. You can do this with
any text editor.
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=<Country Code>
network={
ssid="<SSID>"
psk="<PASSWORD>"
scan_ssid=1
}
Rememberto replace <CountryCode>,<SSID>,and <PASSWORD> with your own country code,WiFi
SSID and password.
Then, mount your SD card with Raspberry Pi OS onto your computer and copy the wpa_supplicant.conf
file to the root of the /boot partition of your SD card. Similar to how we enabled SSH, the file will be used
on boot to apply our new WiFi settings to our Raspberry Pi.
Since we are going entirely headless, it can be difficult to troubleshoot this method of Wifi configuration.
If it doesn’t work the first time, check and ensure that the name of your wpa_supplicant.conf file and its
contents are correct before trying again.
Once we successfully configure our WiFi connection using either method above, we can now use SSH over
WiFi to interface with our Raspberry Pi’s command line!
Test Your WiFi Connection
Check IP Address
To ensure that our WiFi connection has been established correctly, first unplug your ethernet cable. We can
check our IP address through the command line with:
ifconfig wlan0
Next to “inet”, we should see our IP address, which indicates a successful connection.
Ping a Website
Next, we can check if our WiFi connection successfully allows us to send and retrieve data to and from our
favourite websites. Try ping google.com to see if you can reach it!

Weitere Àhnliche Inhalte

Was ist angesagt?

Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisktutorialsruby
 
Fundamental networking concepts
Fundamental networking conceptsFundamental networking concepts
Fundamental networking conceptsreachsrirams
 
AusNOG 2019 - Getting IPv6 Private Addressing Right
AusNOG 2019 - Getting IPv6 Private Addressing RightAusNOG 2019 - Getting IPv6 Private Addressing Right
AusNOG 2019 - Getting IPv6 Private Addressing RightMark Smith
 
NZNOG 2020 - Getting IPv6 Private Addressing Right
NZNOG 2020 - Getting IPv6 Private Addressing RightNZNOG 2020 - Getting IPv6 Private Addressing Right
NZNOG 2020 - Getting IPv6 Private Addressing RightMark Smith
 
How to configure static nat on cisco routers
How to configure static nat on cisco routersHow to configure static nat on cisco routers
How to configure static nat on cisco routersIT Tech
 
Raspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issuesRaspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issuesyeokm1
 
Raspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 updateRaspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 updateKevin Hooke
 
Configuring a gns3 ethernet nio cloud free ccna workbook
Configuring a gns3 ethernet nio cloud   free ccna workbookConfiguring a gns3 ethernet nio cloud   free ccna workbook
Configuring a gns3 ethernet nio cloud free ccna workbookDare Tintin
 
Telephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk PlatformTelephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk PlatformHamid Fadishei
 
How To Default Gateway
How To Default GatewayHow To Default Gateway
How To Default GatewayJamel Thomas
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxjasembo
 
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet DevicesIETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet DevicesMark Smith
 
CAHs Using Health Information Technology
CAHs Using Health Information TechnologyCAHs Using Health Information Technology
CAHs Using Health Information Technologywebhostingguy
 
From Kernel Space to User Heaven #NDH2k13
From Kernel Space to User Heaven #NDH2k13From Kernel Space to User Heaven #NDH2k13
From Kernel Space to User Heaven #NDH2k13Jaime SĂĄnchez
 
IPV6 Under the Hood
IPV6 Under the HoodIPV6 Under the Hood
IPV6 Under the Hoodamiable_indian
 
Feb-8-2012-Breaking-Wireless-Security
Feb-8-2012-Breaking-Wireless-SecurityFeb-8-2012-Breaking-Wireless-Security
Feb-8-2012-Breaking-Wireless-SecurityCasey Dunham
 
Ad-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with AvahiAd-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with Avahisinchume
 

Was ist angesagt? (20)

Jonny_Martin-Asterisk
Jonny_Martin-AsteriskJonny_Martin-Asterisk
Jonny_Martin-Asterisk
 
Fundamental networking concepts
Fundamental networking conceptsFundamental networking concepts
Fundamental networking concepts
 
AusNOG 2019 - Getting IPv6 Private Addressing Right
AusNOG 2019 - Getting IPv6 Private Addressing RightAusNOG 2019 - Getting IPv6 Private Addressing Right
AusNOG 2019 - Getting IPv6 Private Addressing Right
 
NZNOG 2020 - Getting IPv6 Private Addressing Right
NZNOG 2020 - Getting IPv6 Private Addressing RightNZNOG 2020 - Getting IPv6 Private Addressing Right
NZNOG 2020 - Getting IPv6 Private Addressing Right
 
Spec00359
Spec00359Spec00359
Spec00359
 
How to configure static nat on cisco routers
How to configure static nat on cisco routersHow to configure static nat on cisco routers
How to configure static nat on cisco routers
 
Raspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issuesRaspberry Pi 3 + UART/Bluetooth issues
Raspberry Pi 3 + UART/Bluetooth issues
 
Asterisk Complete Training
Asterisk Complete TrainingAsterisk Complete Training
Asterisk Complete Training
 
Raspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 updateRaspberry Pi and Amateur Radio - 2020 update
Raspberry Pi and Amateur Radio - 2020 update
 
Configuring a gns3 ethernet nio cloud free ccna workbook
Configuring a gns3 ethernet nio cloud   free ccna workbookConfiguring a gns3 ethernet nio cloud   free ccna workbook
Configuring a gns3 ethernet nio cloud free ccna workbook
 
Telephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk PlatformTelephony Service Development on Asterisk Platform
Telephony Service Development on Asterisk Platform
 
How To Default Gateway
How To Default GatewayHow To Default Gateway
How To Default Gateway
 
Sharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linuxSharing your-internet-connection-on-linux
Sharing your-internet-connection-on-linux
 
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet DevicesIETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
IETF 106 - Default IPv6 Local Only Addressing for Non-Internet Devices
 
CAHs Using Health Information Technology
CAHs Using Health Information TechnologyCAHs Using Health Information Technology
CAHs Using Health Information Technology
 
From Kernel Space to User Heaven #NDH2k13
From Kernel Space to User Heaven #NDH2k13From Kernel Space to User Heaven #NDH2k13
From Kernel Space to User Heaven #NDH2k13
 
IPV6 Under the Hood
IPV6 Under the HoodIPV6 Under the Hood
IPV6 Under the Hood
 
Feb-8-2012-Breaking-Wireless-Security
Feb-8-2012-Breaking-Wireless-SecurityFeb-8-2012-Breaking-Wireless-Security
Feb-8-2012-Breaking-Wireless-Security
 
Ad-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with AvahiAd-Hoc Networking in Linux with Avahi
Ad-Hoc Networking in Linux with Avahi
 
Beagle board
Beagle boardBeagle board
Beagle board
 

Ähnlich wie Ex.no1

Virtual networking computing via raspberry pi and nexus installation and conf...
Virtual networking computing via raspberry pi and nexus installation and conf...Virtual networking computing via raspberry pi and nexus installation and conf...
Virtual networking computing via raspberry pi and nexus installation and conf...abukky52
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIEnablex io
 
Project-make a public website server using raspberry pi
Project-make a public website server using raspberry piProject-make a public website server using raspberry pi
Project-make a public website server using raspberry piFahim Hossain
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshTE4P
 
Raspberry-Pi
Raspberry-PiRaspberry-Pi
Raspberry-PiRehan Fazal
 
How to connect raspberry pi to laptop display: 4 steps
How to connect raspberry pi to laptop display: 4 stepsHow to connect raspberry pi to laptop display: 4 steps
How to connect raspberry pi to laptop display: 4 stepsArvind Arasu
 
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdfJayanthi Kannan MK
 
Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab fileNitesh Dubey
 
Building your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry PiBuilding your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry PiJeff Prestes
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRANAALIMAJEEDRAJPUT
 
Raspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry Pi - Lecture 6 Working on Raspberry PiRaspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry Pi - Lecture 6 Working on Raspberry PiMohamed Abdallah
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Mandeesh Singh
 
Raspberry pi tutorial
Raspberry pi tutorialRaspberry pi tutorial
Raspberry pi tutorialImad Rhali
 
Automation of pheromone traps
Automation of pheromone trapsAutomation of pheromone traps
Automation of pheromone trapssarvan k
 
manual_2020_Cyber Physical System.pdf
manual_2020_Cyber Physical System.pdfmanual_2020_Cyber Physical System.pdf
manual_2020_Cyber Physical System.pdfssuserc5ee4c
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Mandeesh Singh
 

Ähnlich wie Ex.no1 (20)

embedded report
embedded reportembedded report
embedded report
 
Virtual networking computing via raspberry pi and nexus installation and conf...
Virtual networking computing via raspberry pi and nexus installation and conf...Virtual networking computing via raspberry pi and nexus installation and conf...
Virtual networking computing via raspberry pi and nexus installation and conf...
 
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video APIDevelop Smart Solutions with Raspberry Pi and EnableX Live Video API
Develop Smart Solutions with Raspberry Pi and EnableX Live Video API
 
Project-make a public website server using raspberry pi
Project-make a public website server using raspberry piProject-make a public website server using raspberry pi
Project-make a public website server using raspberry pi
 
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick NeshRaspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
Raspberry JAM 1 - Setup Raspberry Pi with Raspbian -Vick Nesh
 
Video conferincing
Video conferincingVideo conferincing
Video conferincing
 
Raspberry-Pi
Raspberry-PiRaspberry-Pi
Raspberry-Pi
 
How to connect raspberry pi to laptop display: 4 steps
How to connect raspberry pi to laptop display: 4 stepsHow to connect raspberry pi to laptop display: 4 steps
How to connect raspberry pi to laptop display: 4 steps
 
Iot lab manual new
Iot lab manual newIot lab manual new
Iot lab manual new
 
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
5 IOT MODULE 5 RaspberryPi Programming using Python.pdf
 
Internet of things aktu lab file
Internet of things  aktu lab fileInternet of things  aktu lab file
Internet of things aktu lab file
 
Building your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry PiBuilding your own RC Car with Raspberry Pi
Building your own RC Car with Raspberry Pi
 
Raspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software SetupRaspberry pi Board Hardware & Software Setup
Raspberry pi Board Hardware & Software Setup
 
Raspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry Pi - Lecture 6 Working on Raspberry PiRaspberry Pi - Lecture 6 Working on Raspberry Pi
Raspberry Pi - Lecture 6 Working on Raspberry Pi
 
Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014Raspberry Pi Free Session - 20_09_2014
Raspberry Pi Free Session - 20_09_2014
 
Raspberry pi tutorial
Raspberry pi tutorialRaspberry pi tutorial
Raspberry pi tutorial
 
Automation of pheromone traps
Automation of pheromone trapsAutomation of pheromone traps
Automation of pheromone traps
 
manual_2020_Cyber Physical System.pdf
manual_2020_Cyber Physical System.pdfmanual_2020_Cyber Physical System.pdf
manual_2020_Cyber Physical System.pdf
 
Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014Raspberry Pi Session - 22_11_2014
Raspberry Pi Session - 22_11_2014
 
Raspbery pi commands
Raspbery pi commandsRaspbery pi commands
Raspbery pi commands
 

KĂŒrzlich hochgeladen

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProduct Anonymous
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...apidays
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...apidays
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsNanddeep Nachan
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingEdi Saputra
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodJuan lago vĂĄzquez
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...Zilliz
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FMESafe Software
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxRustici Software
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamUiPathCommunity
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Angeliki Cooney
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfsudhanshuwaghmare1
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherRemote DBA Services
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...apidays
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businesspanagenda
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdfSandro Moreira
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWERMadyBayot
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Bhuvaneswari Subramani
 

KĂŒrzlich hochgeladen (20)

TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data DiscoveryTrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
TrustArc Webinar - Unlock the Power of AI-Driven Data Discovery
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
Apidays New York 2024 - The Good, the Bad and the Governed by David O'Neill, ...
 
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
Apidays New York 2024 - Passkeys: Developing APIs to enable passwordless auth...
 
MS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectorsMS Copilot expands with MS Graph connectors
MS Copilot expands with MS Graph connectors
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 AmsterdamDEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
DEV meet-up UiPath Document Understanding May 7 2024 Amsterdam
 
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
Biography Of Angeliki Cooney | Senior Vice President Life Sciences | Albany, ...
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...Apidays New York 2024 - The value of a flexible API Management solution for O...
Apidays New York 2024 - The value of a flexible API Management solution for O...
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf[BuildWithAI] Introduction to Gemini.pdf
[BuildWithAI] Introduction to Gemini.pdf
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​Elevate Developer Efficiency & build GenAI Application with Amazon Q​
Elevate Developer Efficiency & build GenAI Application with Amazon Q​
 

Ex.no1

  • 1. Aim: To Setting up of Raspberry Pi and connect to a network Procedure: There are three ways to configure WiFi on your Raspberry Pi with both Raspberry Pi OS desktop and server. Wired Ethernet Connection To set up a wired internet connection, simply connect your Raspberry Pito the back of your network router with an ethernet or RJ45 cable. Once plugged in, you should observe the network LED blinking on your Raspberry Pi. In most cases,your wired internet connection will now be up and ready for use, provided that your router has DHCP enabled. DHCP stands for Dynamic Host Configuration Protocol, and basically assigns IP addresses to devices that connect to your router. To enable DHCP,access your home router’s management console with another computer that has already been connected. You can typically do this by entering your router’s IP address into the address bar of any internet browser. Wireless Connection – WiFi Hardware To set up a WiFi connection, we will first need a WiFi module for our Raspberry Pi. Fortunately, all Raspberry Pi models from the Raspberry Pi 3 Model B (2016) and later ship with on-board WiFi. If you have an older model on hand, or if your on-board WiFi module is not functioning, you will need to use an external USB WiFi adapter. When choosing a WiFi adapter, ensure that there is driver support. For example, WiFi adapters with the RTL8192cu chipset will work readily since there is Raspberry Pi OS support built in. Another consideration is the power draw. WiFi can require a lot of power, especially if a heavy amount of data is being transmitted. For older Raspberry Pi in particular, you may require an external power supply like a powered USB hub to power the WiFi adapter. Ex.No:1 Setting up of Raspberry Pi and connect to a network Date:
  • 2. Method 1: Step 1: Install the latest version of the Raspberry Pi Imager for your operating system Step 2: Open the Raspberry Pi Imager. You should be greeted with the same screen as always. Step 3: Press Ctrl + Shift + x to open the advanced menu (CMD + Shift + x for Mac OSX).
  • 3. Step 4: Scroll down to Configure wifi, check the box and enter your WiFi credentials. Note: Be sure to change your Wifi country according to your country code! Step 5: Click SAVE and flash your OS to your microSD card for your Raspberry Pi! Method 2: Configure WiFi with Raspberry Pi OS GUI For users running Raspberry Pi OS Desktop on their Raspberry Pi, you can simply use the provided GUI to set up your WiFi connection.
  • 4. Method 3: Configure WiFi from Command Line with Raspi-Config If you are running a server distribution of Raspberry Pi OS without a GUI, you will have to use Raspi- Config instead. This method works in Raspberry Pi OS Desktop as well. Raspi-Config is a console based application used to configure various settings on the Raspberry Pi. It can be used for network configuration, setting up remote access, boot options etc. To open Raspi-Config n the command line, type the command: sudo raspi-config Using the arrow keys on your keyboard, navigate to “Network Options” and press Enter. Select Wi-fi, then follow the on-screen instructions to enter your network’s SSID and password. When you’re done, select “Finish” on the main menu to close Raspi-Config. Finally, reboot the Raspberry Pi to apply the settings we’ve just changed. Your WiFi connection should then be good to go!
  • 5. Configuring WiFi on a Headless Raspberry Pi A headless Raspberry Pi is one that we would like to run without a monitor, keyboard, or mouse. As you can imagine, it won’t be as straightforward to apply the methods we’ve covered so far. Enable SSH (Secure Shell) For this section, we will first want to enable SSH on our Raspberry Pi. This is something that you’ll want to do if you’re running your raspberry pi headless anyway. With SSH, you can use an internet connection to remotely run terminal commands on the Raspberry Pi from your primary computer through an internet connection. To enable SSH on a headless Raspberry Pi, simply place a file named “ssh”, without any extension, onto the boot partition of the SD card from another computer. This will tell Raspberry Pi to enable SSH when booting. The content of the file does not matter. Note: Do not connect your Raspberry Pi directly to a public network if you have not yet set up secure passwords for all users. Your device may be compromised by hackers. Method 1: Enable WiFi Via Ethernet Cable This method involves using an ethernet connection to utilise SSH for setting up our WiFi. Once our ethernet connection is established via wired connection with our router, refer to the DHCP allocation table on your router management console to obtain the IP address of your Raspberry Pi.
  • 6. Once we have obtained the IP address, we can use any SSH client such as PuTTY on Windows to access the Raspberry Pi. Linux and MacOS users can utilise SSH without any additional software. On Linux or MacOS, simply enter the following command with the <IP> for your device. ssh pi@<IP> Once the connection is successful, we can simply use: sudo raspi-config to configure our WiFi connection like we covered before! Method 2: Enable Wifi via wpa_supplicant This method involves replacing the wpa_supplicant.conf file on our Raspberry Pi to provide our WiFi configuration. First, you’ll want to create a wpa_supplicant.conf file with the following content. You can do this with any text editor. ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 country=<Country Code> network={ ssid="<SSID>" psk="<PASSWORD>" scan_ssid=1 } Rememberto replace <CountryCode>,<SSID>,and <PASSWORD> with your own country code,WiFi SSID and password.
  • 7. Then, mount your SD card with Raspberry Pi OS onto your computer and copy the wpa_supplicant.conf file to the root of the /boot partition of your SD card. Similar to how we enabled SSH, the file will be used on boot to apply our new WiFi settings to our Raspberry Pi. Since we are going entirely headless, it can be difficult to troubleshoot this method of Wifi configuration. If it doesn’t work the first time, check and ensure that the name of your wpa_supplicant.conf file and its contents are correct before trying again. Once we successfully configure our WiFi connection using either method above, we can now use SSH over WiFi to interface with our Raspberry Pi’s command line! Test Your WiFi Connection Check IP Address To ensure that our WiFi connection has been established correctly, first unplug your ethernet cable. We can check our IP address through the command line with: ifconfig wlan0 Next to “inet”, we should see our IP address, which indicates a successful connection. Ping a Website Next, we can check if our WiFi connection successfully allows us to send and retrieve data to and from our favourite websites. Try ping google.com to see if you can reach it!