Jump to content

Does not auto reconnect after connection lost


Dombo 71

Recommended Posts

Dear all.
problem with my Xu4
My router is a bit buggy..[ i think or my isp ]
When my isp has a hick in the wan line
My Xu4 does not automatic reconnect with my lan
Is there a option to auto reconnect when there is a connection lose 

Now i reboot the xu4 manually and then is working everything fine'
I use the latest armbian on my Xu4

Link to comment
Share on other sites

We are not clairvoyant or mind readers :P Please describe your setup as best as possible so we know what your operating environment is like.

 

1. Logs, when you can boot the board: armbianmonitor -u (paste URL to your forum post)

2. If your board does not boot, provide a log from serial console or at least make and attach a picture, where it stops.

3. Describe the problem the best you can and provide all necessary info that we can reproduce the problem.

Link to comment
Share on other sites

sorry...

Only i do not the way to do this search this log files in my Xu4.

I am just a builder, with a digital hobby...:-) [ build houses ] :-)

 

Perhaps this?:

http://sprunge.us/DSVX

 

Like i say.

The when my isp have a hick in his line.

The board does not reconnect automatically with my lan.

 

 

Link to comment
Share on other sites

34 minutes ago, Dombo 71 said:

sorry...

Only i do not the way to do this search this log files in my Xu4.


No problem. That's why we made application armbianmonitor :)


Nothing suspicious from quick look on logs. I heard about similar network problems, but it never occurred to me. Kernel, that you use (4.9) might have still some rough edges, which manifest this way ... don't know. We need to investigate deeper and that will take some time ... Does the driver hangs or it's problem on higher level. You can try one simple trick - I assume you are using standard setup with DHCP (you don't set IP address, but it's acquired automatically). Remove content of /etc/network/interfaces and reboot.

 

Changing cables won't make any damage.

Link to comment
Share on other sites

source /etc/network/interfaces.d/*

# Wired adapter #1
allow-hotplug eth0
no-auto-down eth0
iface eth0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#	hwaddress ether # if you want to set MAC manually
#	pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838


# Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
# 
#allow-hotplug wlan0
#iface wlan0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off

# Local loopback
auto lo
iface lo inet loopback

This is my .interfaces

 

so delete this. and reboot.

will send after some days report if this solve the problem.

Link to comment
Share on other sites

To remove the file does not do the job..

A hick in my line and the Xu4 los the connection ... [ 3 days test ]

 

Is it some thing to make the ip static?

Only i do not now how...

 

 

Or other tips.

 

Link to comment
Share on other sites

50 minutes ago, Igor said:

In this case network manager should kick. I assume you have our latest install? What if you start with a clean image on one spare SD card? What do you get?

 

is there a sudo apt get install ? or something.. i do not understand Linux very well..:-( 

To install this network manager??

Link to comment
Share on other sites

On 12-7-2017 at 7:01 PM, Igor said:

In this case network manager should kick. I assume you have our latest install? What if you start with a clean image on one spare SD card? What do you get?

 

 

Some one have experience with network manager??

Hope there is some one that will help me with a step by step....

 

Thanks

Link to comment
Share on other sites

Network manager is installed by default and works more or less ok, at least on Ubuntu builds. When adapters are defined in /etc/network/interfaces (classic way) he does not use them. Reboot or network-manager service restart is needed. That's all.

Link to comment
Share on other sites

mm

I found the settings [ :-) ] [ and change here in this code what i think i need to do.. ]

In my Xu4 i did change no thing...[ not yet :-) ]

# Wired adapter #1   ?
allow-hotplug eth0   ?
no-auto-down eth0    ?
iface eth0 inet dhcp ?
address 192.168.5.70
netmask 255.255.255.0
gateway 192.168.5.1
dns-nameservers 8.8.8.8 8.8.4.4
#	hwaddress ether # if you want to set MAC manually  ? 
#	pre-up /sbin/ifconfig eth0 mtu 3838 # setting MTU for DHCP, static just: mtu 3838  ? 


# Wireless adapter #1
# Armbian ships with network-manager installed by default. To save you time
# and hassles consider using 'sudo nmtui' instead of configuring Wi-Fi settings
# manually. The below lines are only meant as an example how configuration could
# be done in an anachronistic way:
# 
#allow-hotplug wlan0
#iface wlan0 inet dhcp
#address 192.168.0.100
#netmask 255.255.255.0
#gateway 192.168.0.1
#dns-nameservers 8.8.8.8 8.8.4.4
#   wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# Disable power saving on compatible chipsets (prevents SSH/connection dropouts over WiFi)
#wireless-mode Managed
#wireless-power off

# Local loopback
auto lo
iface lo inet loopbac

MM

 

Where the ? I do not now what i must set there...

Perhaps a example setting from someone??

 

 

Edit:

Dio i need to set here a thing to?

 

ScreenShot129.png

Link to comment
Share on other sites

Change this:

iface eth0 inet dhcp ?

To:

iface eth0 inet static

 

And you will have fixed IP. Leave network manager alone then and see if it works ok.

Link to comment
Share on other sites

10 hours ago, Dombo 71 said:

i did set a static in my router?

 

What can i do with pre up??


Does it work now? 

Usually, that's all you need to do. 

Link to comment
Share on other sites

Sorry busy with work..:-(

 

What is the best thing to do first...

The static is always in my router, only that is no solution.

 

So i need to change the document?

with my static ip and netmask and gateway and the change of the dhcp to static?

 

Link to comment
Share on other sites

On 20-8-2017 at 9:40 PM, Igor said:

Change this:

iface eth0 inet dhcp ?

To:

iface eth0 inet static

 

And you will have fixed IP. Leave network manager alone then and see if it works ok.

 

 

mmm Give it a try..

Not working...

 

More options perhaps??

 

Link to comment
Share on other sites

On 1.11.2017 at 9:32 AM, Sergius Triticum Aestivum said:

I did a fresh install Armbian_5.30_Orangepiplus_Ubuntu_xenial_default_3.4.113_desktop and run it on an OPI ONE

 

This is a great recipe to get no Ethernet at all (since OS images for the Plus result in working Ethernet only on Gigabit Ethernet equipped H3 boards with external PHY while Orange Pi One uses the chip's internal Fast Ethernet PHY). Maybe things improve if you use OS images for Orange Pi One on an Orange Pi One?

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