STATIC IP for eth0

463 views
Skip to first unread message

Ali Razavi

unread,
Apr 14, 2015, 2:24:39 PM4/14/15
to andro...@googlegroups.com
Hi
how I can set a static ip for eth0 in android x86 4.4.4 ?? my router does not support DHCP reservation, and I need set a static IP for my android x86.
thanks

midi jari

unread,
Apr 14, 2015, 2:45:02 PM4/14/15
to andro...@googlegroups.com
you need to go through command line, google "static ip command line linux"

Ali Razavi

unread,
Apr 15, 2015, 1:48:37 AM4/15/15
to andro...@googlegroups.com
thanks, I can set static IP with following commands:

- su

- ifconfig eth0 192.168.1.213 netmask 255.255.255.0 up

- route add default gw 192.168.1.1 dev eth0

but after restart, Android get IP from DHCP server again!

midi jari

unread,
Apr 15, 2015, 5:08:08 AM4/15/15
to andro...@googlegroups.com
Well, make a script then, and download Tasker (can't remember its name) and make it at boot. Hope this works, even tho I never tried it.

Scali

unread,
May 28, 2016, 12:35:32 PM5/28/16
to Android-x86
I’ve installed the brand new version 4.4 R5 from android-x86 site directly on my desktop.
So, I don’t have wifi and at my work I need to access without DHCP (Fixed IP only).
I get access to internet using this tutorial (hxxp://allskyee.blogspot.com.br/2014/09/setting-up-network-for-android-x86.html) but I cant download anything and google service does not recognize I’m online.
Surfing on the web I’ve found an ethernet patch, but I don’t know how to install, neither where can I download it (https://goo.gl/QX8DOS). But I found it at google's cache (http://web.archive.org/web/20120210162716/http://www.buildroid.org/Download/android-x86-vm-20120130.iso.gz)
This is the maximum that I can help you.
I would that someone help us making a modified iso with ethernet patch.
Sorry.
Reply all
Reply to author
Forward
0 new messages