1 (edited by mdrVB6 2015-05-22 22:11:02)

Topic: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

Sorry for posting this here because I know there are other forums for the raspberry pi but I know several people here have set this up successfully and other forums tend to be very heavy on jargon.  So I thought I would try here.

I got my raspberry pi and got it setup and navigated to octoprint successfully.  Wasn't too bad.  Then I shut it down and went to take it into the other room where my printer is.  Well, the wifi has totally stopped working after the first time.  The wap_gui says the status is scanning and the last message says WPS-AP-AVAILABLE.  I have quadruple checked all passwords and logins.  I can provide screen shots if needed.

It is seeing the wifi dongle because it picks it up under adapters (wlan0) and it changes if I take it out.  I can eliminate wifi dongle issues or power supply issues because I bought a full kit with lots of good reviews on amazon.  I have googled this A LOT and all the other issues seem to be someone dealing with obscure types of networks.  I just have a WPA2 home network, nothing fancy.  All other devices on it work fine.

The closest thing I have found is this page:
http://www.makeuseof.com/tag/setting-wi … pberry-pi/
where he talks about making sure you add a line of code to make sure it reconnects at startup, and I did add that line.  But it still did not work.  I really prefer to work thru the GUI but I can do it from the command line if needed.

My wifi adapter seems to just not know what to do and I don't know how to tell it.  I'm really feeling dumb right now because everyone says octoprint is super easy to setup and I can't even get the wifi to work.  Apparently, this was supposed to be child's play and I'm a grown man with an engineering degree and a professional engineer's license and I can't figure it out.  I have spent about 6 hours so far trying to google solutions.  Please help.  Thanks.

Edit: I also have a panel that I was going to try to get octopi panel setup on but now I'm dreading that part even more!

SD4 w/ RUMBA, E3D Volcano, all bearings, glass bed

2

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

I just had a similar problem. I just got a new router. When I tried to hook up the pi it would connect but it wouldnt actually communicate with the wlan. Ended up having to restart my router after I had the wlan connection setup on the pi already. Just an idea.

Sd4 #9080 with a glass bed. E3d chimera duel extruder. Paste extruder , duet wifi.
Lawsy carriages. linear bearings. Y axis direct drive, Kinect scanner
SD4#8188 glass bed, lawsly carriages, E3d v6, octoprint http://www.ustream.tv/channel/hotrod96z28
Filastruder/filawinder, Custom Delta 300mm x 600mm

3

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

Just tried restarting the router.  That wasn't it.  I think it needs to get an IP address.  I also read thru the wifi issues sticky guide on the raspberry pi forums and got to the end where it says it should be working and... its not working.  I might make a post over there but honestly even some of the stuff in the sticky post like is still too much jargon for me.  Really feeling dumb now.

SD4 w/ RUMBA, E3D Volcano, all bearings, glass bed

4 (edited by jagowilson 2015-05-23 00:53:11)

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

What is the output of ifconfig with the wifi dongle connected? You may need to be root, so try sudo ifconfig if the first try doesn't work.

I don't know the Pi Linux distribution but I know Linux in general. How are you initiating your wifi connection? A GUI? Is it timing out? Specific errors if possible.

5 (edited by jagowilson 2015-05-23 00:59:19)

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

Also relevant http://raspberrypi.stackexchange.com/qu … te-network

Edit: and http://askubuntu.com/questions/120367/h … hrough-wps should also apply, because I believe raspbian is similar to Debian and Ubuntu.

6

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

What Wifi dongle are you using?  (I've read elsewhere that the Pi is sometimes particular)  What version of OctoPi are you using?  What version of Pi are you using?

I'm using a slightly out-of-date version of OctoPi, because that's what I could get working with the Adafruit TFT touchscreen.  I'm sure we can figure this out.

7

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

jagowilson wrote:

What is the output of ifconfig with the wifi dongle connected? You may need to be root, so try sudo ifconfig if the first try doesn't work.

I don't know the Pi Linux distribution but I know Linux in general. How are you initiating your wifi connection? A GUI? Is it timing out? Specific errors if possible.

I am seeing wlan0 in ifconfig.  It is reading the wifi dongle, its just not connecting.  I am using the GUI.  It is not timing out, just stuck in scanning.

Also relevant http://raspberrypi.stackexchange.com/qu … te-network
Edit: and http://askubuntu.com/questions/120367/h … hrough-wps should also apply, because I believe raspbian is similar to Debian and Ubuntu.

Mine is doing exactly as described in your first link, but I am not attempting to use a hidden network.  Just a standard home wifi with WPA2.

SD4 w/ RUMBA, E3D Volcano, all bearings, glass bed

8

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

knowack wrote:

What Wifi dongle are you using?  (I've read elsewhere that the Pi is sometimes particular)  What version of OctoPi are you using?  What version of Pi are you using?

I'm using a slightly out-of-date version of OctoPi, because that's what I could get working with the Adafruit TFT touchscreen.  I'm sure we can figure this out.

I'm using a pi 2 model with all these components:
http://www.amazon.com/Guide--Clear-Case … i+2+bundle

So the wifi dongle is "Wireless Wifi Adapter Realtek 8188CU Same Chip used by the Edimax EW-7811Un"

Latest octopi build.  The key here is that the first time I set it up, it worked great.  Then I shut it down and I can't get it back.  I'm still stumped, and I'll be back tomorrow afternoon to try again.  Thanks to those who posted so far!

SD4 w/ RUMBA, E3D Volcano, all bearings, glass bed

9

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

I couldn't get mine to connect with wifi at first with the rasbian build that came on my canakit pi 2.  As soon as i flashed the octopi build it worked fine.  Try reflashing the SD with octopi again.  I went through all the same gates you did previous to flashing to no avail.

Bowden SD3, Rumba, E3D hotend, Mk5 with RtRyder changes, Direct drive Y axis and bearings, GT2 pulleys and braided fishing line, Lawsy linear bearing conversion, M3 Z screw.

10

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

I can't wait to get this set up on my printer!

I don't want to take on too much all at once. I already have a lot I'm learning.

RoVa3D with five nozzles (first nozzle down, four to go)
Slic3r and Pronterface
Filastruder and Filawinder - soon enough
Current hurdles - humidity, offsets

11

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

Okay, I had some time to get back on this and I'm still stuck!

I formatted my SDcard and installed a brand new octoprint image, so I'm starting from scratch.  It is still stuck in scanning and "WPS-AP-AVAILABLE".  I did some more googling and came across these exact instructions for my wifi dongle:

http://www.savagehomeautomation.com/pro … dapte.html

So I'm trying to do it from the command prompt like this example.  I can follow the guide perfectly until the last screen shot (black background).  Mine looks just like his, except I do not have the second line under wlan0 that says "inet address: ...".  So I interpret this to mean that my pi is still not getting an IP address.  There are others mentioning this in the comments that they are having the same issue and it is still unresolved as far as I can tell. 

There are some others who changed the "proto=RSN" to "proto=WPA" but this does not seem to do anything for me.  Also others had a COMPLETELY different looking wpa_supplicant.conf file from what I am seeing. 

I'm so lost!  HELP!

SD4 w/ RUMBA, E3D Volcano, all bearings, glass bed

12

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

Still haven't given up on this.  Can someone who has a working pi 2 with octoprint tell me what wifi adapter they are using?  I have read some post indicating possible compatibility issues with different operating systems.  Yes, octoprint is based on raspbian but you never know.  Thanks.

SD4 w/ RUMBA, E3D Volcano, all bearings, glass bed

13

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

https://www.vilros.com/raspberry-pi/wifi-adapter.html
i use this one. My setup worked from the start

Sd4 #9080 with a glass bed. E3d chimera duel extruder. Paste extruder , duet wifi.
Lawsy carriages. linear bearings. Y axis direct drive, Kinect scanner
SD4#8188 glass bed, lawsly carriages, E3d v6, octoprint http://www.ustream.tv/channel/hotrod96z28
Filastruder/filawinder, Custom Delta 300mm x 600mm

14

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

I use the EdiMax WiFi adapter.  I've had such good luck with them, that I use them in 4 out of 5 Pi's at my house.

15

Re: 6 hours in and I still can't get octoprint working (pi 2 wifi issue)

Thanks guys.  I am currently using the edimax, thats the one that I can't get to work.  I might try the one kronic posted.

SD4 w/ RUMBA, E3D Volcano, all bearings, glass bed