|
networkhowto
config networking in LiveAndroid
Introductionconfig networking via console CommandsIPifconfig eth0 yourip netmask yourip's mask ifconfig eth0 192.168.1.10 netmask 255.255.255.0 not ipconfig!!! Gatewayroute add default gw yourgateway dev eth0 route add default gw 192.168.1.1 dev eth0 DNSsetprop net.eth0.dns1 yourDNS setprop net.eth0.dns1 208.67.222.222 Proxy ServerSorry, I find a way to config proxy http://www.cnblogs.com/DesignPatterns/archive/2008/10/10/1307898.html. |
Sign in to add a comment
No dhcp support?
still not, we'll add it soon. thanks!
I'm confused. How exactly do we do this? I've looked at these commands, but I am utterly baffeled.
i got into terminal. input my information. and im getting a "permission denied"
liveandroid v0.2 dncp support, so you dont need configure it
The instructions as printed above won't work because 'ipconfig' is not a command provided in the Android terminal. A second problem is that you don't have root access in the terminal that you reach through the DEV tools folder. However, you can get a root access terminal by typing Alt-F1 (at least, on a Windows PC). Still that doesn't give you an ipconfig command. It may be possible to do the same thing with the 'ip' command but I'm unable to do it at this time.
I'm looking forward to v.3 with DHCP networking enabled, since obviously a live CD with internet access is quite a bit more useful than one without it! :-) . Maybe check out how user kinneko has accomplished this in his LiveDroid? LIVE CD listed in the user comments on the Downloads page.
hi, command is ifconfig, not ipconfig. liveandroid v0.2 with dhcp support now
well if v0.2 has dhcp support, does that mean internet conection will be configured automatically? because calling dhclient does not work... and i have no internet conection
Tried again in a Parallels virtual machine... When I run ifconfig specifying eth0 (sorry, not ipconfig!), I get an error message: ifconfig: SIOCSIFADDR no such device Looking in /system/etc/dhcpcd/dhcpcd.conf shows only a tiwlan0 interface. If I run ifconfig with this interface, I get the same error message.
Looking the livedroid CD mentioned on the downloads page, the developer there does have networking working. If I type 'ifconfig' I get a response showing the eth0 interface. I notice that in his boot sequence he runs a netcfg command. Hope this helps.
reply stewart.midwinter: you can use vitrualbox :)
on dhcp: # mkdir /data/misc/dhcp # dhcpcd eth0
sweet dhcp work with your tip ;)
I'm running latest virtualbox on windows 7 RC the same way network-wise as VB ubuntu 9.04, which works fine btw, i.e.using bridged network mode in setup, but I can't get internet to work on LiveAndroid?. Tried everything above ref ifconfig and dhcpcd without luck :(
What network settings work for you in virtualbox anyone?
I'm running Virtualbox 3.0.0 under Windows XP, I think my virtual machines work pretty well in general, I am able to get several versions of Ubuntu to work fine, networking and all. But I can not get networking working in Android 0.2 live CD. At the console, there is no eth0 under /dev, and if I do mkdir /data/misc/dhcp then dhcpcd eth0, I get "eth0: dhcpcd 4.0.1 starting" and "eth0: read_interface: No such device". I'm reasonably comfortable at the Linux command line; anybody have any ideas?
Yes that's exactly what I got.. but then I saw a post about using PCnet-Fast III and blow me its working! :)
Running VirtualBox?-2.2.2,it works fine.It can connect to the network automatically,no need to extras work.
is flash supported in the browser? Can I browse Youtube and Hulu?
trying type setprop net.eth0.dns1 192.168.1.11(this is our dns looking to forwarders) and after nslookup mail.ru it can't doing any thing... Give me this: Server: 0.0.0.0 Address1 0.0.0.0 nslookup^ can't resolve 'mail.ru'
how fix?
Avter make some /etc/resolv.conf (like any unix) with nameserver 192.168.1.11, and type nslookup mail.ru liveandroid say me about: Server: 192.168.1.11 Address1: 192.168.1.11 nslookup^ can't resolve 'mail.ru'
so... nothing happens after make some tuning...
:)
I just published a blog post on how to enable networking in VMWare Workstation (the defaults did not work for me, like many commenters above).
LiveAndroid 0.2 network eth0 in VMWare Workstation
I boot my computer up with liveandroidv0.2.iso; but when I open the Browser, I get "Webpage is not available". I did this: ifconfig eth0 192.168.1.10 netmask 255.255.255.0 route add default gw 192.168.1.1 dev eth0 setprop net.eth0.dns1 4.2.2.4 and still I have the problem. Also I used: ping 4.2.2.4 and I got: PING 4.2.2.4 (4.2.2.4):56 data bytes ping: sendto: Network is unreachable What can I do and how can I solve the problem?
confirmed virtualbox 3.02 on windows xp for the VM: 512 ram 128mb video PCnet-FAST III either NAT or Bridged
Cant do a proxy server so getting browser issues but I get an IP address from eth0 via DHCP on my LAN.
Anybody tried to do this using a xen virtual machine? My networking section in the config file reads:
vif = 'type=ioemu, bridge=eth0'
I try to run "ifconfig eth0 192.168.1.10 netmask 255.255.255.0" and I get "ifconfig: SIOCSIFADDR no such device". The eth0 device just isn't there when I open the virtual machine. Any ideas?
Result. The line was supposed to read:
vif = 'type=ioemu, bridge=eth0, model=pcnet'
eth0 appears under ifconfig after that.
The eth0 interface is not at all listed in 'ifconfig'. When running "ifconfig eth0 192.168.1.10 netmask 255.255.255.0" , I get ifconfig: SIOCSIFADDR no such device error. Any idea how to resolve this ?
Make : Lenovo T60
Should I run all the above codes? ps: Can I browse websites without configuring anything when I run Android LiveCD in VMware Workstation for the first time?
When running in VmWare? with LiveAndroid0?.3, how can I figure out what the host IP address is? I want to access a server running on the host from the Android browser.
Just make it work from within VMWare Player - no need to configure anything inside Android, only configuring the network interface on vmware:
Please try Android-x86 1.6, http://www.android-x86.org/. Both wifi and ethernet work, and configurable via GUI.