Network Problem in Android x86 I dual booted Android x86 8.1 iso in PC. Everything went nice but when I set it up it was not getting network. I am using USB device for internet connection. Can anyone please tell how to fix it?
What do you mean by USB device for internet connection? Are you using a dongle with a SIM card? If so then those dongles need their respective software to connect to PC which are (in most cases) only available for Windows.

If that is not the case, try these steps.

In a terminal, type:

sudo vi /etc/init.sh


add 4 lines below to init.sh

netcfg eth0 dhcp
echo nameserver &lt;ip&gt; &gt; /etc/resolv.conf
dnsmasq 
setprop net.dns1 8.8.8.8