Getting message "Unknown id: netcfg" while setting up usb0 interface for reverse tethering 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.
There's a slight syntax error in your statement: the first non-option parameter to su (which stands for "Switch User") is the user to switch to (if omitted, root is assumed). So your su netcfg usb0 dhcp basically advises su to "switch to the user netcfg – but there is no such user.

To fix it up, just use su -c "netcfg usb0 dhcp" – which would, due to the non-existent "first non-option argument", would advise su to switch to root and then, by the -c parameter, execute the Command netcfg usb0 dhcp. Further note the command is quoted: this is required as it contains (white) spaces.