You are not logged in.

#1 2016-11-20 21:14:46

grafalex
Member
Registered: 2016-11-19
Posts: 18

RPI stops responding over network when nanodlp starts

Hi All,

I am trying to install nanodlp on my raspi 3. When I run nanodlp from console I see this:
2016/11/20 21:05:40.055305 {"Layer":"0","module":"JSON","level":"Warning","msg":"Skipping db/plates.json file. stat db/plates.json: no such file or directory"}
2016/11/20 21:05:40.055651 {"Layer":"0","module":"JSON","level":"Warning","msg":"Skipping db/buttons.json file. stat db/buttons.json: no such file or directory"}
2016/11/20 21:05:40.055886 {"Layer":"0","module":"JSON","level":"Warning","msg":"Skipping db/custom-inputs.json file. stat db/custom-inputs.json: no such file or directory"}
2016/11/20 21:05:40.056041 {"Layer":"0","module":"Hardware","level":"Notice","msg":"Initializing build # 1261 - generic"}
2016/11/20 21:05:40.076859 {"Layer":"0","module":"SLAVE","level":"Error","msg":"Serial port could not be activated open /dev/ttyACM0: no such file or directory"}
2016/11/20 21:05:40.077103 {"Layer":"0","module":"Shutter","level":"Error","msg":"Pipe Access Problem open /dev/pigpio: no such file or directory"}
2016/11/20 21:05:40.085210 {"Layer":"0","module":"Terminal","level":"Notice","msg":"Terminal Reader Activated"}
2016/11/20 21:05:40.168273 {"Layer":"0","module":"WIFI","level":"Warning","msg":"WIFI interface wlan0 detected"}

But then raspi stops responding over the network. It does not respond on ping, I can't connect to any of the network ports.
I tried wifi and ethernet connections - same thing.

At the same time I am pretty sure it continues working (does not hang or crash). I have FDM printer connected and run under octopi - it continues printing fine even I can no longer control it over web interface.

I tried to flash nanodlp raspi image, but seems to get same thing - it boots, but then just turns off the monitor and does not respond on network requests.

I both cases I followed installing instructions from http://www.nanodlp.com/download/

Any thoughts?

Offline

#2 2016-11-20 22:45:30

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,536

Re: RPI stops responding over network when nanodlp starts

It does not turn off your monitor. It will use it to display layers so it should connected to your projector.

If you want to run nanodlp, use sudo ./printer
Turn off the wifi (terminate it) maybe it is an issue with wifi connection.

Offline

#3 2016-11-21 06:29:03

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: RPI stops responding over network when nanodlp starts

ok, then why ethernet stops responding as well?

Offline

#4 2016-11-21 09:08:44

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,536

Re: RPI stops responding over network when nanodlp starts

I have experienced same kind of routing issue when both WIFI and ethernet connected to the same network.

Offline

#5 2016-11-21 09:21:02

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: RPI stops responding over network when nanodlp starts

As I said the board works fine, no routing or network issues until I start nanodlp.

Is there any way to turn on a verbose mode?

Offline

#6 2016-11-21 18:11:13

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,536

Re: RPI stops responding over network when nanodlp starts

nanodlp only setup wifi connection through bash commands. If you are sure it is a nanodlp issue. Terminate the wifi connection through nanodlp.
Setup wifi connection manually through bash, nanodlp would not interfere with wifi connection if you have not setup any AP.

Offline

#7 2016-11-21 21:12:19

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: RPI stops responding over network when nanodlp starts

I cant start nanodlp. Well, I can, but then I can do nothing with the board.

I tested these scenarios:
1) regular raspbian (fresh version), nanodlp downloaded from http://www.nanodlp.com/nanodlp.tar.gz and set up according instructions. Board connected via WiFi. I am on ssh terminal session.
When I run 'sudo ./printer' it displays few messages in console, then stop responding over the network.
Board does not accept local keyboard inputs
2) Same thing, but the board is connected over ethernet. WiFi is off.
3) Board is booted into GUI session. WiFi is off, no ethernet connection.
Commands are executed in local terminal session. I can switch between several local consoles using Ctrl-Alt-F1 (F2, F3, ...)
After monitor goes black I tried to switch to other consoles, but no luck.
4) Flashed nanodlp OS image
After OS boots monitor goes black, no response on keyboard, no response on WiFi or Ethernet

Unfortunately there are no information in logs, neighter in system logs, nor in printer logs.

Is there a verbose mode in nanodlp?

Offline

#8 2016-11-21 21:57:58

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,536

Re: RPI stops responding over network when nanodlp starts

Use raspian lite. Maybe it is the issue.

As mentioned before on the correct installation HDMI output should goes black. HDMI should be connected to the projector.
You can access complete log through a web browser http://printer_ip/log

Offline

#9 2016-11-29 06:44:43

grafalex
Member
Registered: 2016-11-19
Posts: 18

Re: RPI stops responding over network when nanodlp starts

It stops responding on network request, including web browser ones.

I tried raspbian lite as you suggested. I also tried another board (Rapberry2 this time) and other power supply (3A current) - still same result.

Any other suggestions? Does it store printer logs locally? Do you mean /var/log/printer?

Offline

#10 2016-11-29 09:16:06

Shahin
Administrator
Registered: 2016-02-17
Posts: 3,536

Re: RPI stops responding over network when nanodlp starts

Follow muve3d guide (available on download page) if you have not.

Only warning level and higher level errors stored on /var/log/printer.log, remaining is memory only accessible through http://printer_ip/log

Offline

Board footer

Powered by FluxBB