2/21/2023 0 Comments Sharing internet via lanPaste this code and edit the ssid (wifi name) and psk (wifi password) ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdevĬheck if your Wifi is connected and has internet connection sudo apt-get update Set the Wifi password sudo nano /etc/wpa_supplicant/wpa_nf Useful tip: You can just copy codes from your browser and paste it to putty by pressing right click of your mouse inside the putty window. In this step, we will configure the Wifi setting for the Raspberry to be able to connect to a wifi network. Your Laptop should get IP address assigned by your Raspberry Pi. Plug your Ethernet cable to your Raspberry Pi and the other end to your Laptop Ethernet port. STEP 4: USING PUTTY TO CONFIGURE RASPBERRYĮnsure your Laptop Ethernet adapter setting is set to auto obtain IP address. Lets install Open SSH so we can use Putty in step 4. We will install & configure the DHCP service so your Raspberry Pi will automatically assign IP for every device plugged in the Ethernet Port. STEP 2: INSTALL & CONFIGURING DHCP service (dnsmasq) Open interfaces by typing: sudo nano /etc/network/interfaces Save and exit (Press ctrl + o to save and ctrl +x to exit) To do this, open your terminal and type: sudo nano /etc/nfĪdd this on the last line denyinterfaces eth0 We have to assign a static IP 192.168.1.1 for Raspberry Pi Ethernet adapter.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |