Code Monkey home page Code Monkey logo

Comments (3)

soothslayer avatar soothslayer commented on June 30, 2024

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.

shbhrsaha avatar shbhrsaha commented on June 30, 2024

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.

PJBentham avatar PJBentham commented on June 30, 2024

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)

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.