1

Topic: WiFi not working

I just put together my Atlas 3D and everything seems to be working so far except for WiFi. Following the instructions in an earlier post, I added my SSID and pw in double quotes to /etc/wpa_supplicant/wpa_supplicant.conf. However, the wifi interface does not show up in ifconfig. Looking at lsusb, the dongle seems to be detected.

Any suggestions? Thanks.

--Dave

2

Re: WiFi not working

Dave, try placing the scanner closer to the Wifi access point to test if it is a signal strength issue.  If it still doesn't work, attach a monitor to the HDMI port, login and type "startx" to start the graphical user interface.  Use the wlan configuration tool to configure the wifi from there.

- Uriah

3 (edited by Vinoh 2015-09-03 00:17:55)

Re: WiFi not working

hairu526 wrote:

Dave, try placing the scanner closer to the Wifi access point to test if it is a signal strength issue.  If it still doesn't work, attach a monitor to the HDMI port, login and type "startx" to start the graphical user interface.  Use the wlan configuration tool to configure the wifi from there.

- Uriah

Thanks, Uriah. My scanner is right next to my router. I've spent hours in the GUI and elsewhere with no success. The wlan config tool does not see the dongle and that is obviously part of the problem.

I have not been able to get the dongle working with my Octoprint setup either. In that case, the software does not even see the dongle with lsusb unless I use a powered hub. When I do so, it sees the card but does create wlan0. For some reason, I don't have quite this issue with the Atlas setup, but it still won't create wlan0.

I'm wondering if this Ourlink card is incompatible with the RPi 2. I've seen complaints of dropped network connections but nothing that indicates it won't work at all.

--Dave

4

Re: WiFi not working

I finally got WiFi working, at least on a new Raspian install that I'm using to try to get freelss going with octoprint. I suspect the issues are the same though.

There were 2 problems to solve. First, the RPi is limited to 100 ma which is not enough to drive the OurLink module shipped with the Atlas 3D. A powered hub solved this.

Second, there was a firmware file missing that apparently used to be included with Raspian. I was able to download rtl8188eufw.bin from https://github.com/lwfinger/rtl8188eu/b … 88eufw.bin and copy it into /lib/firmware/rtlwifi to get it working. It set up fine using the network menu item in the Raspian desktop GUI.

--Dave

5

Re: WiFi not working

Vinoh wrote:

...First, the RPi is limited to 100 ma which is not enough to drive the OurLink module shipped with the Atlas 3D. A powered hub solved this...

Whoops. I just tried plugging the dongle in directly and it is still working. Hopefully it will stay that way.

6

Re: WiFi not working

Dave, I interpreted your early statement as you were using the official SD card image that came with your ATLAS 3D.  Is this true?  It already has that driver installed and setup.

7

Re: WiFi not working

It's me again with hopefully one last comment here. smile

After all that effort getting the wifi working, it turns out not to be worth the effort. The speed is so slow and flakey that it is unusable. From what I read about the OurLink dongle, this is to be expected. Ethernet works fine so I'm sticking with that. Not a big deal.

--Dave

8

Re: WiFi not working

(OK, maybe one last comment.) Has anyone been successful in getting usable wifi speeds out of the dongle included in the Atlas 3D kit? Not a big deal for me, but I just wanted to know if I should keep trying. Thanks.

9

Re: WiFi not working

hairu526 wrote:

Dave, I interpreted your early statement as you were using the official SD card image that came with your ATLAS 3D.  Is this true?  It already has that driver installed and setup.

Whoops, I had missed this earlier question from you, Uriah. Yes, I was using the official SD card and no, it did not work. The symptoms were the same as with the card I set up myself. I fixed it by installing the missing firmware file (rtl8188eufw.bin) which apparently was also missing on your card (/lib/firmware/rtlwifi) , although I didn't check to make sure.

That said, I found this fix by goggling around. I can't say for sure that this is the correct and most recent file. All I can say is that it got the card working. However, as I said before, the speed is unusably slow. You might want to try it out with your card image and take it from there. Maybe you could look and see what firmware file you use for this dongle?

--Dave

10

Re: WiFi not working

Did you run "sudo apt-get upgrade" or any other command that may have installed updates and upgraded the kernel?

11

Re: WiFi not working

I did so when I installed Raspian and FreeLSS a couple of weeks ago. I think I also tried that when I first noticed the problem with the preconfigured card.

12

Re: WiFi not working

Another user posted a link about installing the right driver for the dongle and I'm pleased to report that it works. Not quite as fast as wired but completely usable. The instructions seem complicated at first but it is just a matter of finding the right driver version and executing a few commands to install it. I suspect my earlier fix was old and the instructions talked about this driver disabling the firmware one which is probably what the file I had mentioned contained. Here is the link:

https://www.raspberrypi.org/forums/view … 300fd61b5d

I only tried this on the card I configured with a new Raspian installation but I suspect it would work as well on the preconfigured card if needed.

--Dave

13 (edited by pirvan 2015-09-16 14:13:45)

Re: WiFi not working

I guess I'll toss my 2 cents in here. 

My only issue with the WiFi dongle was the configuration.  Once I was able to modify the config file to input the SSID and password, it worked just fine. 

With regard to speed, yes, it's pretty slow, but then again, for using it to control the Pi it's adequate.  The only time it becomes an issue, is when you try to download or view the scans.  Depending on your connection quality and the size of the file, you could be waiting for a long time.

For that reason, I too use it wired to my ethernet.

To print or, 3D print, that is the question...
SD3 printer w/too many mods,  Printrbot Simple Maker Ed.,  FormLabs Form 1+
AnyCubic Photon, Shining 3D EinScan-S & Atlas 3D scanners...
...and too much time on my hands.

14

Re: WiFi not working

Interesting, pirvan. Are you on an RPi 1 or 2? The drivers are different for the 2 versions.

15

Re: WiFi not working

I used to have the original  Pi that came with my kit, which was a Pi1 model B.  I have since installed a Pi2, but I never bothered to plug the WiFi module back in.

The comments above are based on the original model.

To print or, 3D print, that is the question...
SD3 printer w/too many mods,  Printrbot Simple Maker Ed.,  FormLabs Form 1+
AnyCubic Photon, Shining 3D EinScan-S & Atlas 3D scanners...
...and too much time on my hands.

16

Re: WiFi not working

Thanks for this thread. I have a V2 Pi and the WiFi dongle wasn't working for me. I was pulling my hair out trying to compile the module and having no success - and I'm a Linux admin...

The info provided by Vinoh was the trick:

https://www.raspberrypi.org/forums/view … 300fd61b5d

17

Re: WiFi not working

yeah my WIFI was worthless too. never connected even with correct PW etc. always had to replug in both the dongle and usb drive 2X for them to run a few secs. PW never saved in the Atlas and when connected direct I saw even the place selecting to connect through wireless was not checked. seems it just dont want to work as intended from the getgo. and never saves Password of wifi just name. also the power drain of everything running is at the limits already things try to shut down at the slightest power fluctuation like Motor whines, Pi lights for connections flicker etc. had to twist prongs on the wall wart so it made better contact in outlet to prevent this enough to do a 2 hour scan completely. cant reviw or preview any video or watch anything while scanning and clicking refresh does same thing as clicking the back button (which is bad during scan :^O) imagine how this would be through WIFI. much less transferring any data and if WIFI died while scanning that would make you have to start over same as power failure since control is through computer. lag is bad enough. kinda like driving the Mars rover lol

Solidoodle 2 with Deluxe kit cover & glass bed with heater. and 2nd board SD2 used not 3rd and alum platform not installed yet still wood. also need cooling fan installed to board. use Repetier Host couple vers. Slic3r also have all free ware STL programs

18

Re: WiFi not working

also my default browser is Firefox but Atlas only uses IE when connecting still as if its embedded into startup command or something and no icon for the start file looks like Monopoly deed for Boardwalk default DOS type icon, is that how they all are?

Solidoodle 2 with Deluxe kit cover & glass bed with heater. and 2nd board SD2 used not 3rd and alum platform not installed yet still wood. also need cooling fan installed to board. use Repetier Host couple vers. Slic3r also have all free ware STL programs

19

Re: WiFi not working

also my default browser is Firefox but Atlas only uses IE when connecting still as if its embedded into startup command or something and no icon for the start file looks like Monopoly deed for Boardwalk default DOS type icon, is that how they all are?
I'm sorry... WHAT ???!?!?!?!

Explain to me HOW can Atlas 3D scanner force you to use use IE.  How in the heck does a device connected via a network (Ethernet or WiFi) manage to start your Internet Explorer? 

When you connect the scanner to your computer, either via Ethernet or WiFi, IT DOES ABSOLUTELY NOTHING until YOU personally start the web browser to connect to it's start page. 

How do you know the power consumption is at it's limits? 

The Raspberry Pi with a WiFi dongle draws about 500mA.  The RaspiCam, another 300mA, and the 2 lasers 25mA each.  That's less than 1A.  A NEMA 17 stepper motor like the one used to drive the turntable is about 1-1.5A.  all this adds up to less than the power supply rating of 3A

A complete scan shouldn't take 2 hours to complete, even if you scan at 5Mpixels, and 1600 steps per revolution, it will only take about 50-60 minutes.  The type of connection you have (or how fast or slow it is) is not relevant to the scan time.  The scan process happens inside the RPI, and is not dependent on your PC or your connection the PC.

If you can't preview the scan, it's because your browser is not setup to support WebGL.  There are many posts regarding this, search for them.

To print or, 3D print, that is the question...
SD3 printer w/too many mods,  Printrbot Simple Maker Ed.,  FormLabs Form 1+
AnyCubic Photon, Shining 3D EinScan-S & Atlas 3D scanners...
...and too much time on my hands.

20

Re: WiFi not working

the file that came with it is one my desktop and when opened if Atlas is connected to router a box opens saying 'connect to Atlas' when clicked it opens Atlas in IE. and there is no place in that file to set how it picks browser, my PC has default browser as FF so must be some other filetype or something because I find no way to choose this.

Solidoodle 2 with Deluxe kit cover & glass bed with heater. and 2nd board SD2 used not 3rd and alum platform not installed yet still wood. also need cooling fan installed to board. use Repetier Host couple vers. Slic3r also have all free ware STL programs

21 (edited by n2ri 2016-02-23 22:36:36)

Re: WiFi not working

your power draw shows about 2.5amps so thats close to limit when figuring safety margins of power supplys and line voltage fed to primary which can very also.
the scans I done when started said 120mins left I think thats 2 hours and thats what they took. and if anything disrupts scan either connection or power all you got is partial scan file saved and you cant continue or restart it. have to start over. happened 3 times to me so far. WHY would I make this crap up?
the preview etc is why I want to open through FF instead of dumb IE which will no longer update on XP OS its stuck on IE8

Solidoodle 2 with Deluxe kit cover & glass bed with heater. and 2nd board SD2 used not 3rd and alum platform not installed yet still wood. also need cooling fan installed to board. use Repetier Host couple vers. Slic3r also have all free ware STL programs

22

Re: WiFi not working

n2ri wrote:

the file that came with it is one my desktop and when opened if Atlas is connected to router a box opens saying 'connect to Atlas' when clicked it opens Atlas in IE.

I really have no idea which file you speak of.  My scanner didn't come with any Windows based software, there was only the SD card which contains the Raspberry Pi and the FreeLSS software.

No additional software is required on the PC.  Just start your favorite browser (Firefox, IE, Chrome, Safari, etc) and connect to the scanner's IP address.

Maybe I'm behind the times, and there's some newfangled way of using the Atlas I'm not aware of.  Can some enlighten me as to what additional, PC based software the Atlas 3D includes now?

To print or, 3D print, that is the question...
SD3 printer w/too many mods,  Printrbot Simple Maker Ed.,  FormLabs Form 1+
AnyCubic Photon, Shining 3D EinScan-S & Atlas 3D scanners...
...and too much time on my hands.

23 (edited by pirvan 2016-02-24 00:07:06)

Re: WiFi not working

n2ri wrote:

your power draw shows about 2.5amps so that's close to limit when figuring safety margins of power supplys and line voltage fed to primary which can very also.

The 2.5A total power draw is a worst case scenario.  The largest single component draw is the stepper motor.  The NEMA-17 stepper motor would draw 1.5A only when it's trying to hold a position under torque, there's nothing in this design that puts undue load on the motor, so actual average draw for it should be less than 1A,  The lasers power draw is inconsequential, and is not continuous.  Last but not least the Pi and the camera together are less than 800mA.

So it's safe to say that total power consumption is probably less than 2A.  The Little 3A wall wart that came with it is more than adequate.

n2ri wrote:

the scans I done when started said 120mins left I think thats 2 hours and thats what they took. and if anything disrupts scan either connection or power all you got is partial scan file saved and you cant continue or restart it. have to start over. happened 3 times to me so far. WHY would I make this crap up?

The reason your scans are taking 2 hours is because you're scanning at hi resolution and 3200 steps.  You don't need to scan @ 3200 steps.  1600 is more than enough to get a good scan.  Additionally, I can tell you from personal experience that scanning a detailed model at 3200 steps will most likely fail at the end because the RPi doesn't have enough RAM to process the the scan.  I had to get a RPi 2 with 1GB RAM to be able to scan @ 3200 steps.

Before you start scanning stuff at 3200 or even 1600 steps, you should debug your system using faster scann like 800 steps which should take about 25 minutes or so.  Once you get those going OK, then you can move on to higher quality scans.

If you want to see detail on your small models then you will definitely need to refocus the camera.  Se the instructions I posted elsewhere in the forum.

n2ri wrote:

the preview etc is why I want to open through FF instead of dumb IE which will no longer update on XP OS its stuck on IE8

To see the preview during scan, you will need to make sure your browser is WebGL enabled.  The latest versions of Firefox  work OK, Chrome should be OK as well but you need to check, IExplorer 11 supports it, but I don't think earlier versions do.
Safari should work, but it's disabled by default.  Additionally WebGL requires a compatible display adapter.

To print or, 3D print, that is the question...
SD3 printer w/too many mods,  Printrbot Simple Maker Ed.,  FormLabs Form 1+
AnyCubic Photon, Shining 3D EinScan-S & Atlas 3D scanners...
...and too much time on my hands.

24

Re: WiFi not working

the file you get doing thumb drive transfers for wifi back and forth tween PC and Pi. I just saved page to desktop and opened with FF bookmarked it also named the HTM page/link Atlas now I can open with FF instead.

Solidoodle 2 with Deluxe kit cover & glass bed with heater. and 2nd board SD2 used not 3rd and alum platform not installed yet still wood. also need cooling fan installed to board. use Repetier Host couple vers. Slic3r also have all free ware STL programs

25

Re: WiFi not working

I'm sorry but I didn't understand what you just said. 

What is this file, and what does it do, exactly?

To print or, 3D print, that is the question...
SD3 printer w/too many mods,  Printrbot Simple Maker Ed.,  FormLabs Form 1+
AnyCubic Photon, Shining 3D EinScan-S & Atlas 3D scanners...
...and too much time on my hands.