I am trying to setup reverse tethering between Sony Xperia 4.0.4(rooted) and Linux 12.04. I'm following steps from Matthew Read's answer on this post, How to set up reverse tethering over USB?
All steps work but when I execute "su netcfg usb0 dhcp" in root shell of phone then I get message "Unknown id: netcfg".
130|root@android:/ # su netcfg usb0 dhcp
Unknown id: netcfg
I'm not sure what this message means and how to fix it. I could not find anything related in Google search. Can anyone please guide me about it.
netcfgcommand was renamed/removed meanwhile. Try replacing it byifconfig(i.e.su ifconfig usb0 dhcpand see if that works (pointer taken from here). In the worst case, that might throw another error message. You could also check whether there's a similarly named executable (e.g. by typingnetfollowed by a "/system/bin,/system/xbinetc. directories).su -c "netcfg usb0 dhcp"(first non-option parameter tosuis the user to switch to; with-cyou rather advice it to execute the command). – Izzy May 26 '15 at 10:46