Comments (9)
Have you tried another network? Other than a bad password or weak wifi signal there is not a lot to the connection part of the process since that is handed off to wap_supplicant.
from iotwifi.
i tried two networks which i already was able to connect to before (the new raspbian stretch way by copying the connection config file on the sd.
country=DE
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="<my_ssid>"
psk="<my_passwd>"
}
For testing i used a complete clean raspbian stretch (tried both full version and lite)
Connected via ssh over lan cable and followed your "Getting Started" instructions step by step.
Only thing i noticed was an small error when installing docker via:
curl -sSL https://get.docker.com | sh
# Executing docker install script, commit: 8e87f31
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
+ sudo -E sh -c curl -fsSL "https://download.docker.com/linux/raspbian/gpg" | apt-key add -qq - >/dev/null
Warning: apt-key output should not be parsed (stdout is not a terminal)
+ sudo -E sh -c echo "deb [arch=armhf] https://download.docker.com/linux/raspbian stretch edge" > /etc/apt/sources.list.d/docker.list
+ [ raspbian = debian ]
+ sudo -E sh -c apt-get update -qq >/dev/null
+ sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
E: Sub-process /usr/bin/dpkg returned an error code (1)
pi@raspberrypi:~ $
But docker run --rm hello-world
was successful and the only missing part is connecting as client.
Do I have to unmask/re-enable wpa_supplicant.service
or do I have to copy the wifi config in /etc/wpa_supplicant/wpa_supplicant.conf
too? (I did not change the standard wpa_supplicant.conf
file.)
I did not configure any wifi at all and stayed connected over Lan cable all the time.
from iotwifi.
Same issue here - Tried 3 different WiFi all with simple WPA2 and PSK and although i can connect to the device's AP and list the wifi, any attempt fails with same message. No issue doing this manually on same type of RPI (also Raspian Stretch 2018-03-13m with RPI 3 Model B (no plus)...
I get messages like EAPOL - EAP Session-Id is not available
from iotwifi.
@opgbaudouin thanks for the report. It seems there is a circumstance where the interface gets into a bad state. I have not been able to reproduce this on my devices.
I need to write up some debugging steps this weekend to help me find the issue.
from iotwifi.
Same here. Attaching logfile just in case that it helps.
iotwifi.log
from iotwifi.
@Elpiojo83 are you sure wpa_supplicant is not running on the host device?
from iotwifi.
@cjimti i rearealized that i have to execute these commands after every startup, even if wpa_supplicant status says that itΒ΄s masked and inactive
$ sudo systemctl mask wpa_supplicant.service
$ sudo pkill wpa_supplicant
from iotwifi.
@Elpiojo83 strange, you must have some other package starting it up. you could disable it in your startup scripts or just remove it completely.
from iotwifi.
Hi, I have the sam problem. Can't find the reason to it.
{"status":"OK","message":"Connection","payload":{"ssid":"","state":"FAIL","ip":"","message":"Unable to connection to "}}
EDIT: I realised the problem was that i have to run:
$ sudo systemctl mask wpa_supplicant.service
$ sudo pkill wpa_supplicant
every time I restart
from iotwifi.
Related Issues (20)
- Raspberry Pi Zero W compatibility HOT 5
- Container keeps crashing HOT 11
- Raspberry Pi Zero W HOT 1
- localhost:8080/connect api issue from iOS Device HOT 4
- Addditional info in README.md
- Add Docker Hub auto-builder HOT 1
- How do I set a default WiFi network for station mode? HOT 5
- Clients lose connection from AP HOT 2
- Could you add WEP support?
- Bridge/repeater mode? HOT 4
- "post wifi credentials" ,this part can't work on openwrt with shadowsocks HOT 1
- Raspberry Pi 3B+ support? HOT 4
- Troubleshooting when uap0 isn't created HOT 8
- Raspberry Pi 3 B+ HOT 1
- Unable to assign custom SSID HOT 1
- Can uap0 and wlan0 be bridged ? HOT 1
- Cannot save connected WIFI information into wpa_supplicant.conf HOT 1
- Cool but why do I need Ethernet HOT 1
- dnsmasq resolves any query to IP of uap0 HOT 1
- Hide the SSID HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iotwifi.