Comments (3)
Had the same problem and did a few things to troubleshoot and then gave up and put my wireless info in manually. I'll tell you about what I did:
Be sure that your computer is getting a dhcp IP address by pinging 192.168.1.1. If you can't ping then dhcp might not be working. Watch the rPi during startup and/or check /var/log/syslog for errors.
I also thought it was strange that /etc/dhcp/dhcpd.conf refers to 192.168.1.1 while etc/udhcpd.conf refers to 192.168.42.X so I changed them both to 192.168.42.X.
If all else fails you can also manually fill in wireless details into networks.yml, ~/jasper/boot/connect.txt, and /etc/network/interfaces.
~/jasper/boot/networks.yml should look like this:
SSID : your_wireless_network_name
KEY: your_wireless_network_password
[]
And ~/jasper/boot/connect.txt should look like this:
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-ssid "your_wireless_network_name"
wpa-psk "you_wireless_network_password"
Then copy ~/jasper/boot/connect.txt to /etc/network/interfaces using the following command:
sudo cp ~/jasper/boot/connect.txt /etc/network/interfaces
And reboot and Jasper will work!
from jasper-client.
Thanks for that alternative suggestion. I'm not sure what could be the original problem, but this work-around should configure the wireless for now.
from jasper-client.
I managed to get the 192.168.1.1 up and running and it spat out this, I tried a clean install too...:
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/home/pi/jasper/boot/app/cgi-bin/index.cgi in ()
18 if not network:
19
=> 20 wifi = Wifi()
21
22 networks = [x.replace("\n","") for x in wifi.access_points if x.replace("\n","") != "Jasper"]
wifi undefined, Wifi =
/home/pi/jasper/boot/app/cgi-bin/wifi.py in init(self=<wifi.Wifi instance>)
9
10 subprocess.call("iwlist wlan0 scan > temp.txt", shell = True)
=> 11 output = open("temp.txt")
12 lines = output.readlines()
13
output undefined, builtin open =
<type 'exceptions.IOError'>: [Errno 2] No such file or directory: 'temp.txt'
args = (2, 'No such file or directory')
errno = 2
filename = 'temp.txt'
message = ''
strerror = 'No such file or directory'
from jasper-client.
Related Issues (20)
- Error while launching jasper.py HOT 1
- "Quick start" image for any Raspberry Pi B model working (1/2/3)? HOT 1
- ALSA unable to open slave HOT 1
- MPD Server startup failed: [Errno 98] Adress already in use (Cant get mopidy to work correctly) HOT 1
- IndexError: list index out of range HOT 2
- __init__() got an unexpected keyword argument 'hmm' and path issues with pocketsphinx HOT 16
- ERROR Jasper Not Running HOT 1
- please delete this. Wrong repo.
- jasper does not run HOT 1
- unable to configure Phonetisaurus HOT 3
- Google TTS Engine not available HOT 4
- the error when I run jasper.py HOT 3
- what's the status of this project?
- install issues HOT 1
- Google STT does not accept an API key HOT 1
- Error after running jasper.py HOT 8
- Running Jasper for the first time - could not find expected ':'
- jasper migration to python3 HOT 4
- Project Maintenance HOT 2
- Whisper: integration with new offline Speech-To-Text HOT 1
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 jasper-client.