Giter VIP home page Giter VIP logo

Comments (2)

bguster320 avatar bguster320 commented on July 24, 2024

Is there any update on this? Im experiencing similar problems.

from rpi-wireless-hotspot.

StargazerDMan10 avatar StargazerDMan10 commented on July 24, 2024

Hello. I've just had the same problem. From doing some reading a found out this: (Follow italics in terminal)
cd /etc/network
sudo cp interfaces interfaces.BAK
sudo nano interfaces

Replace lines in the interfaces file with:
auto lo
iface lo inet loopback

iface eth0 inet manual

allow-hotplug wlan0
iface wlan0 inet manual
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf

_ctrl+x
y
(enter button)

cd ..
cd wpa_supplicant
sudo cp wpa_supplicant.conf wpa_supplicant.conf.BAK
sudo nano wpa_supplicant.conf_

Replace lines with these (Most of this should be already there. For me RPI Wireless Gotspot did not alter this file but it is still worth checking):

ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1

network={
ssid="YourRouter"
psk="YourRouter'sPassword"
}

ctrl+x
y
(enter button)
sudo reboot

That's it!

Optional:
For a static ip do the following:

sudo cp dhcpcd.conf dhcpcd.conf.BAK
sudo nano dhcpcd.conf

Replace with these lines:

interface eth0
static ip_address=IP you want*
static routers=router's ip**

interface wlan0
static ip_address=IP you want*
static routers=router's ip**

ctrl+x
y
(enter button)
sudo reboot

OR

You can set a static ip by right-clicking the wi-fi icon in your taskbar then selecting "Wireless & Wired Network Settings"

A few notes:
*IP you want - just select an ip for your raspberry pi within your router
**Router's IP - You can find this on the bottom or back of your router. You can also using a windows machine open the command prompt and type in "ipconfig" Look for a line that says "Default Gateway"
I assume you can do similar on Mac but am not familiar with the apple terminal.

Hope this helps!

from rpi-wireless-hotspot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.