Dombo 71 Posted July 6, 2017 Posted July 6, 2017 Dear all.problem with my Xu4My router is a bit buggy..[ i think or my isp ]When my isp has a hick in the wan lineMy Xu4 does not automatic reconnect with my lanIs 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
Igor Posted July 6, 2017 Posted July 6, 2017 We are not clairvoyant or mind readers 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.
Dombo 71 Posted July 8, 2017 Author Posted July 8, 2017 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.
Igor Posted July 8, 2017 Posted July 8, 2017 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.
Dombo 71 Posted July 9, 2017 Author Posted July 9, 2017 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.
Dombo 71 Posted July 11, 2017 Author Posted July 11, 2017 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.
Igor Posted July 11, 2017 Posted July 11, 2017 29 minutes ago, Dombo 71 said: Is it some thing to make the ip static? https://www.howtoforge.com/debian-static-ip-address But I am not sure this will change anything. Network manager should be able to reconnect on lost connection ... also try with old kernel, to pin point where the problem come from.
Dombo 71 Posted July 12, 2017 Author Posted July 12, 2017 mmm After a hick i connect with putty... So there is lan connection... Only no internet... IIs it possible that this correct? Or should there be a other problem?
martinayotte Posted July 12, 2017 Posted July 12, 2017 In your static IP settings, did you provided "default gateway" and "dns-nameservers" ?
Dombo 71 Posted July 12, 2017 Author Posted July 12, 2017 Cannot create the static document... I did remove all this documents..:-(
Dombo 71 Posted July 12, 2017 Author Posted July 12, 2017 Did what igor says.. Remove the files in that map
Igor Posted July 12, 2017 Posted July 12, 2017 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?
Dombo 71 Posted July 12, 2017 Author Posted July 12, 2017 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??
Dombo 71 Posted August 20, 2017 Author Posted August 20, 2017 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
Igor Posted August 20, 2017 Posted August 20, 2017 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.
Dombo 71 Posted August 20, 2017 Author Posted August 20, 2017 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?
Igor Posted August 20, 2017 Posted August 20, 2017 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.
Dombo 71 Posted August 20, 2017 Author Posted August 20, 2017 i did set a static in my router? What can i do with pre up??
Igor Posted August 21, 2017 Posted August 21, 2017 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.
Dombo 71 Posted August 22, 2017 Author Posted August 22, 2017 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?
debianxfce Posted August 24, 2017 Posted August 24, 2017 Networkmanager is a piece of redhat shit. It relies on notifications from below and user has no control to hw. Install wicd and remove networkmanager. Configre you /etc/network files as: https://wiki.debian.org/WiFi/HowToUse#Wicd
Dombo 71 Posted August 27, 2017 Author Posted August 27, 2017 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??
Sergius Triticum Aestivum Posted November 1, 2017 Posted November 1, 2017 I have the same issue in the last armbian (I did a fresh install Armbian_5.30_Orangepiplus_Ubuntu_xenial_default_3.4.113_desktop and run it on an OPI ONE) The ethernet works only one-two minutes after reboot.
tkaiser Posted November 2, 2017 Posted November 2, 2017 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?
Recommended Posts