Upgrade netifd at your own peril in 18.06.2

Steps to hose your dsl modem and require a reset to recover.

  1. Flash netgear_dgn3500-squashfs-sysupgrade-na.bin 18.06.02 firmware image on your DGN3500
  2. Put in your PPPoE login information and get connected to internet.
  3. opkg update && opkg upgrade netifd
  4. Profit. Went back to the new 17.01.07 build on both my DGN3500 and WNDR3800 as 18.06.02 is pants on older hardware. Much less stable than in the past as find forced to reboot router and modem frequently.

Ok looks like there was some nasty vulnerability found in the linux kernel which explains all the recent build activity and probably why things are in flux. Will be patient.

2 Likes

And there are several posts around here about not upgrading packages.

1 Like

From my diary:

-ko- bulk-update got stuck at                                                                                                                 
                                                                                                                                                  
	netifd - 2018-11-19-4b83102d-2 - 2019-06-15-9932ed02-1                                                                                
                                                                                                                                                  
	... Failesafe mode, Soft Factory Reset ...                                                                                            
                                                                                                                                                  
-ko- single update (except netifd) partially ok, partially with lots of errors                                                                
e.g.                                                                                                                                          
	root@oparch:~# opkg upgrade firewall                                                                                                  
	Upgrading firewall on root from 2018-08-13-1c4d5bcd-1 to 2019-01-02-70f8785b-2...                                                     
	Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mips_24kc/base/firewall_2019-01-02-70f8785b-2_mips_24kc.ipk        
	Warning: Unable to locate ipset utility, disabling ipset support                                                                      
	Warning: Section @zone[1] (wan) cannot resolve device of network 'SpeedPort_2GHz'                                                     
	Warning: Section @zone[1] (wan) cannot resolve device of network 'SpeedPort_5GHz'                                                     
	Warning: Section @zone[1] (wan) cannot resolve device of network 'SpeedPort'                                                          
	Warning: Section @zone[1] (wan) cannot resolve device of network 'SpeedPort2GHz'                                                      
	Warning: Section @zone[1] (wan) cannot resolve device of network 'wwan'                                                               
	:                                                                                                                                     
                                                                                                                                                  
	Upgrading luci-base on root from git-19.020.41695-6f6641d-1 to git-19.170.32094-4d6d8bc-1...                                          
	Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mips_24kc/luci/luci-base_git-19.170.32094-4d6d8bc-1_mips_24kc.ipk  
	Error loading shared library libjson-c.so.2: No such file or directory (needed by /usr/bin/jshn)                                      
	Error loading shared library libjson-c.so.2: No such file or directory (needed by /lib/libblobmsg_json.so)                            
	Error relocating /lib/libblobmsg_json.so: array_list_length: symbol not found                                                         
	Error relocating /lib/libblobmsg_json.so: json_object_get_array: symbol not found                                                     
	Error relocating /lib/libblobmsg_json.so: json_object_put: symbol not found                                                           
	Error relocating /lib/libblobmsg_json.so: array_list_get_idx: symbol not found                                                        
	:                                                                                                                                     
                                                                                                                                                  
	root@oparch:~# opkg upgrade logd                                                                                                      
	Upgrading logd on root from 2018-02-14-128bc35f-2 to 2019-06-16-4df34a4d-2...                                                         
	Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mips_24kc/base/logd_2019-06-16-4df34a4d-2_mips_24kc.ipk            
	Error loading shared library libjson-c.so.2: No such file or directory (needed by /usr/bin/jshn)                                      
	Error loading shared library libjson-c.so.2: No such file or directory (needed by /lib/libblobmsg_json.so)                            
	Error relocating /lib/libblobmsg_json.so: array_list_length: symbol not found                                                         
	Error relocating /lib/libblobmsg_json.so: json_object_get_array: symbol not found                                                     
	Error relocating /lib/libblobmsg_json.so: json_object_put: symbol not found                                                           
	Error relocating /lib/libblobmsg_json.so: array_list_get_idx: symbol not found                                                        
	Error relocating /lib/libblobmsg_json.so: json_object_get_string: symbol not found                                                    
	Error relocating /lib/libblobmsg_json.so: json_object_get_type: symbol not found                                                      
	:                                                                                                                                     
	                                                                                                                                      
	root@oparch:~# opkg upgrade uhttpd                                                                                                    
	Upgrading uhttpd on root from 2018-11-28-cdfc902a-2 to 2019-06-16-91fcac34-3...                                                       
	Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mips_24kc/base/uhttpd_2019-06-16-91fcac34-3_mips_24kc.ipk          
	Error loading shared library libjson-c.so.2: No such file or directory (needed by /bin/ubus)                                          
	Configuring uhttpd.                                                                                                                   
	Error loading shared library libjson-c.so.2: No such file or directory (needed by /bin/ubus)                                          
	:                                                                                                                                     
                                                                                                                                                  
	reboot                                                                                                                                
	... Failesafe mode, Soft Factory Reset ...                                                                                            
                                                                                                                                                  
-ko- Midnight Commander is not installable any more                                                                          
                                                                                                                                                  
	root@oparch:~# opkg install mc                                                                                                        
	Installing mc (4.8.20-2) to root...                                                                                                   
	Downloading http://downloads.openwrt.org/releases/18.06.2/packages/mips_24kc/packages/mc_4.8.20-2_mips_24kc.ipk                       
	Collected errors:                                                                                                                     
	 * satisfy_dependencies_for: Cannot satisfy the following dependencies for mc:                                                        
	 *      librpc                                                                                                                        
	 * opkg_install_cmd: Cannot install package mc.                                                                                       

The God of OpenWrt probably suffers the heat ?!

True but not everyone comes on here. Guess having a daily upgrade script in general is a bad idea. Gotten away with it until 18.06. Always a balance between staying patched and staying stable. Love OpenWRT and what devs give me for free so more a warning for others than complaining.

(edit: doh recommendation is not opkg upgrade ever. Ok news to me but so be it. Now I know.

1 Like