设置 IP
如果不能自动分配IP,则:
How to change MAC address
netcfg <interface> hwaddr <MAC> e.g. netcfg eth0 hwaddr 00:11:22:33:44:55
How to enable networking
Network should be automatically configured during startup. If it does not, try the following command.
# netcfg eth0 dhcp & # sleep 1 # netcfg # check if address has been received
How to enable lab networking
On Android console:
# setprop net.gprs.local-ip <target_IP_address> # IP address to be obtained by calling 'netcfg'