Giter VIP home page Giter VIP logo

Comments (17)

vanderblugen avatar vanderblugen commented on July 24, 2024 2

I'm having the same issue. Not sure what's causing it. I'm basically following Know-How 301 and having no luck. I think that I'm going to abandon it for now cause I don't want to spend tons of time on it. @T-minus, I did a fresh installation and installed it before any updates were done, and it breaks the internet connection. I tried to pull up the browser via the Raspberry Pi browser and attached a device to the hotspot to try to pull up the internet. Neither worked. I also checked to see if it is able to pull websites via the IP address, to see if just DNS is broken, and cannot do that either.

from rpi-wireless-hotspot.

T-minus avatar T-minus commented on July 24, 2024

I have the same problem. The only thing I haven't tried is to install this and restart prior to running apt-get update. Its habit to update right out of the box.

from rpi-wireless-hotspot.

clem9669 avatar clem9669 commented on July 24, 2024

Similar issue ... 👍

from rpi-wireless-hotspot.

T-minus avatar T-minus commented on July 24, 2024

Yea, I tried several times and also abandoned this one. I did several searches and found other scripts that do in fact work with Jesse. @vanderblugen I was also following the same tutorial. I screwed up on tor after I found a different wifi hotspot script and have not tried to redo it since. Once I get a little more time I will re-attempt it.

from rpi-wireless-hotspot.

vanderblugen avatar vanderblugen commented on July 24, 2024

@T-minus, I just opened another issue that technically does fit this, but wanted to bring more attention to it and outline exactly the flow that I was following.

from rpi-wireless-hotspot.

unixabg avatar unixabg commented on July 24, 2024

Greetings,
Sorry for long delay on response. I setup a small test today to examine the issue on Stretch, have not tested on Jessie, however it should still be all good on Jessie. Now for your issue: What happens if you run:

sudo ifup eth0

and or add the below line to in /etc/network/interfaces (perhaps above auto wlan0 entry)

auto eth0

then reboot.

from rpi-wireless-hotspot.

vanderblugen avatar vanderblugen commented on July 24, 2024

I actually just did a fresh install. I don't see that anyone updated the files, I may have missed it though. I am able to pull internet on the Raspberry after installing fresh and reinstalling the hotspot, but this time I'm not getting an IP address for the connecting device.

Oh @unixabg, I checked that "auto eth0" is in the /etc/network/interfaces. And it is in there.

from rpi-wireless-hotspot.

vanderblugen avatar vanderblugen commented on July 24, 2024

Quick update... I know the next question is going to be to check the dhcp service.
I did check the service service udhcpd status and it showed "active exited".
So if I restart the service sudo service udhcpd restart and I pull up the status again it shows "active (running)". I can add a delay to the service starting by modifying the /etc/udhcpd.conf file and adding sleep 10 after the comments but after a reboot the service is "active exited" and won't assign the IP.
Suggestions?

from rpi-wireless-hotspot.

unixabg avatar unixabg commented on July 24, 2024

Greetings,
I think vanderblugen is on the right track and I am confident it is a race condition with udhcpd service starting before the wlan0 interface is ready. Try running:
journalctl -xl | grep udhcpd
and look for something like:
raspberrypi udhcpd[378]: is interface wlan0 up and configured?: Cannot assign requested address
I am working on a least intrusive and clean way to address the delaying the startup of udhcpd. Ideas are also welcome.

from rpi-wireless-hotspot.

vanderblugen avatar vanderblugen commented on July 24, 2024

I actually ran a full reimage and reinstall again. This time everything worked. I made sure to note my exact flow of events.
Fresh install of 2017-09-07-raspbian-stretch.img, Paired Bluetooth Mouse, Changed default password, Updated hostname, Updated keyboard layout, Expanded file system, Rebooted.
Then cloned the RPI Hotspot and installed it. Then rebooted. After that it seems to work without issue.
Could possibly be a reboot in the middle. But I am not sure.

from rpi-wireless-hotspot.

shortphaselabs avatar shortphaselabs commented on July 24, 2024

What's the process to get this working again? Still having trouble here with pi zero w and USB WiFi dongle.

from rpi-wireless-hotspot.

uilfut avatar uilfut commented on July 24, 2024

Yeah once this install is run it doesn't appear on the router (ethernet) anymore, and you can't connect to it's wireless network it created. Wish I'd read here before trying!

Fresh stretch install on Pi3B.

from rpi-wireless-hotspot.

unixabg avatar unixabg commented on July 24, 2024

Greetings,
Could you clone and try this repository
https://github.com/unixabg/RPI-Wireless-Hotspot
and see if all works for you? ty

from rpi-wireless-hotspot.

uilfut avatar uilfut commented on July 24, 2024

Thanks, no luck. I'll try setting it up manually. Thanks for reaching out.

I'm not sure if it's a wireless driver issue. I'm using the built-in wifi on the 3B. Some of the documentation has mentioned different drivers for each card, specified in hostapd.conf.

from rpi-wireless-hotspot.

unixabg avatar unixabg commented on July 24, 2024

Greetings,
The link to the repo I pointed to has been tested and should work with the 3B. I have a 3B+ coming and will be testing against that soon as well. Did you do a pristine latest raspbian install + the my repo?

from rpi-wireless-hotspot.

unixabg avatar unixabg commented on July 24, 2024

Greetings,
Ok just tested 3B and 3B+ with pristine stretch 2018-03-13-raspbian-stretch-lite.img and https://github.com/unixabg/RPI-Wireless-Hotspot. The 3B all works as it should. However on 3B+ all installed but would not launch hostapd. The solution appears to be to run:
sudo rfkill unblock wifi
Then reboot. After reboot all seems well on my test environment. The above information was found here https://www.raspberrypi.org/forums/viewtopic.php?t=208597

from rpi-wireless-hotspot.

DracoDruid avatar DracoDruid commented on July 24, 2024

I just tried to get this going on a freshly installed Raspbian stretch lite (2018-06-27) and my new Pi 3 B+.
After the reboot, I had to failure messages concerning "dhcpcd" and "Raise Network Interfaces".
Your last hint didn't work for me either, sadly.
I am now reflashing Raspbian and try again.
Have you had any new insight into this problem?

EDIT:
Okay. The problem was the predictable interface names.
It changed the eth0 and thus it could no longer be used.

I still have a failure message concerning dhcpcd though.

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.