Jump to content

SSH to Orange Pi Zero stops working after a few minutes


Stoffel

Recommended Posts

Hi,

i have a problem with my two Orange Pi Zero´s

The Orange Pi Zero´s are installed with the latest Armbian_5.59_Orangepizero_Ubuntu_xenial_default_3.4.113

Both Opis are only connected to 5V2A over the microUSB Port and the LAN Port (not WLAN) and use a recommended Sandisk 16GB microSD Card.

Both Pi´s are not reachable over SSH maybe 15 Minutes after boot. Direct after the boot SSH is working.

Other Services like ping and the installed snmp deamon are working pretty well. Only SSH access stops working after maybe 15 Minutes.

There is nothing connected to the OPIS. Is there a known problem with SSH deamon?

 

Greets and thx for help

Stoffel

Link to comment
Share on other sites

Hi Werner,

 

thx for your reply. If it helps i will try another image. But where can i find it? On armbian.com page are three supported images for Orange Pi Zero to choose:

https://dl.armbian.com/orangepizero/Debian_buster_next.7z

https://dl.armbian.com/orangepizero/Ubuntu_bionic_next.7z

https://dl.armbian.com/orangepizero/Ubuntu_xenial_default.7z

The default is the one i use right now. If you tell what image i should try i will do that.

I am new to Opi and Pi images.

 

Greets

Stoffel

Link to comment
Share on other sites

Hi martinayotte, Hi Werner,

thank you for the tipp with the other image. i tried the other image on both Opis and now the SSH Connection is still available after one hour. So it looks good

I hope there is no difference for the snmp service and the 1Wire Connection with this image so i can get my snmp temp sensor to work like in the tutorial ;-)

So there is a problem with the image i used first i think.

 

Greets

Stoffel

Link to comment
Share on other sites

Hello again,

 

i tried to setup the Opis like the setups with the image where ssh didnt work. Now i have the problem that in file /etc/modules-load.d/modules.conf only the entry g_serial exists.

i changed the file to the following and bootet the device:

w1-sunxi

w1-gpio

w1-therm

#sunxi-cir

#xradio_wlan

g_serial

#xradio_wlan

 

Normally i should find a file /sys/devices/w1_bus_master1/w1_master_slave_count now but with this image this file dont exist now. So i cannot configure the temp sensor.

Differs that image in the configuration for the 1-WIRE support?

 

Greets

Christoph

Link to comment
Share on other sites

10 minutes ago, Stoffel said:

Differs that image in the configuration for the 1-WIRE support?

Sure ! The OneWire is provided by using overlays ...

Add this to /boot/armbianEnv.txt and then reboot :

overlays=w1-gpio
param_w1_pin=PA10

PA10 can be another GPIO too ...

Link to comment
Share on other sites

Hi martinayotte,

 

that was it :) Thank you very mutch for your help.

You was also right with the used GPIO. This is the one i use :D

Nice Forum with big help here. I hope i dont have to disturb you again :beer:

 

Greets

Stoffel

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines