android


Connect Android emulateur to internet


I build a goldfish Android arm, but when I launch the emulator with the command:
$ ./emulator -avd myavd -verbose -debug init -dns-server 10.0.0.1 -kernel ~/build/goldfish/arch/arm/boot/zImage
the emulator there is no internet neither from the root shell neither from the navigator.
Anyone can help please, thank you
Edit:
I edit the iptables rules:
Chain INPUT (policy ACCEPT)
target prot opt source destination
bw_INPUT all -- anywhere anywhere
fw_INPUT all -- anywhere anywhere
Chain FORWARD (policy ACCEPT)
target prot opt source destination
oem_fwd all -- anywhere anywhere
fw_FORWARD all -- anywhere anywhere
bw_FORWARD all -- anywhere anywhere
natctrl_FORWARD all -- anywhere anywhere
Chain OUTPUT (policy ACCEPT)
target prot opt source destination
oem_out all -- anywhere anywhere
fw_OUTPUT all -- anywhere anywhere
st_OUTPUT all -- anywhere anywhere
bw_OUTPUT all -- anywhere anywhere
Chain bw_FORWARD (1 references)
target prot opt source destination
bw_costly_eth0 all -- anywhere anywhere
Chain bw_INPUT (1 references)
target prot opt source destination
all -- anywhere anywhere ! quota globalAlert: 2097152 bytes
bw_costly_eth0 all -- anywhere anywhere
all -- anywhere anywhere owner socket exists
Chain bw_OUTPUT (1 references)
target prot opt source destination
all -- anywhere anywhere ! quota globalAlert: 2097152 bytes
bw_costly_eth0 all -- anywhere anywhere
all -- anywhere anywhere owner socket exists
Chain bw_costly_eth0 (3 references)
target prot opt source destination
bw_penalty_box all -- anywhere anywhere
REJECT all -- anywhere anywhere ! quota eth0: 9223372036854775807 bytes reject-with icmp-port-unreachable
Chain bw_costly_shared (0 references)
target prot opt source destination
bw_penalty_box all -- anywhere anywhere
Chain bw_data_saver (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere
Chain bw_happy_box (1 references)
target prot opt source destination
RETURN all -- anywhere anywhere owner UID match u0_a8
RETURN all -- anywhere anywhere owner UID match 0-9999
bw_data_saver all -- anywhere anywhere
Chain bw_penalty_box (2 references)
target prot opt source destination
bw_happy_box all -- anywhere anywhere
Chain fw_FORWARD (1 references)
target prot opt source destination
Chain fw_INPUT (1 references)
target prot opt source destination
fw_standby all -- anywhere anywhere
Chain fw_OUTPUT (1 references)
target prot opt source destination
fw_standby all -- anywhere anywhere
Chain fw_dozable (0 references)
target prot opt source destination
RETURN tcp -- anywhere anywhere tcp flags:RST/RST
RETURN all -- anywhere anywhere owner UID match 0-9999
DROP all -- anywhere anywhere
Chain fw_powersave (0 references)
target prot opt source destination
RETURN tcp -- anywhere anywhere tcp flags:RST/RST
RETURN all -- anywhere anywhere owner UID match 0-9999
DROP all -- anywhere anywhere
Chain fw_standby (2 references)
target prot opt source destination
RETURN tcp -- anywhere anywhere tcp flags:RST/RST
Chain natctrl_FORWARD (1 references)
target prot opt source destination
DROP all -- anywhere anywhere
Chain oem_fwd (1 references)
target prot opt source destination
Chain oem_out (1 references)
target prot opt source destination
Chain st_OUTPUT (1 references)
target prot opt source destination
Chain st_clear_caught (2 references)
target prot opt source destination
Chain st_clear_detect (0 references)
target prot opt source destination
REJECT all -- anywhere anywhere connmark match 0x2000000/0x2000000 reject-with icmp-port-unreachable
RETURN all -- anywhere anywhere connmark match 0x1000000/0x1000000
CONNMARK tcp -- anywhere anywhere u32 "0x0>>0x16&0x3c#0xc>>0x1a&0x3c#0x0&0xffff0000=0x16030000&&0x0>>0x16&0x3c#0xc>>0x1a&0x3c#0x4&0xff0000=0x10000" CONNMARK or 0x1000000
CONNMARK udp -- anywhere anywhere u32 "0x0>>0x16&0x3c#0x8&0xffff0000=0x16fe0000&&0x0>>0x16&0x3c#0x14&0xff0000=0x10000" CONNMARK or 0x1000000
RETURN all -- anywhere anywhere connmark match 0x1000000/0x1000000
st_clear_caught tcp -- anywhere anywhere state ESTABLISHED u32 "0x0>>0x16&0x3c#0xc>>0x1a&0x3c#0x0&0x0=0x0"
st_clear_caught udp -- anywhere anywhere
Chain st_penalty_log (0 references)
target prot opt source destination
CONNMARK all -- anywhere anywhere CONNMARK or 0x1000000
NFLOG all -- anywhere anywhere
Chain st_penalty_reject (0 references)
target prot opt source destination
CONNMARK all -- anywhere anywhere CONNMARK or 0x2000000
NFLOG all -- anywhere anywhere
REJECT all -- anywhere anywhere reject-with icmp-port-unreachable
But still have no connection.

Related Links

WebRTC on Android Chrome beta in IMS network
Active MQ security and scalability
How can I get the same drawerLayout on multiple types of activities without using fragments?
custom spinner with last item as a link
How can I interface an Android app with SQL Server?
How to compile android goldfish 3.4 kernel on 32-bit linux
Change OnMylocationButtonClick zoom in Google Maps v2 Android
How Android ListView add item don't use notifyDataSetChanged?
GreenDroid ActionBar error
ARM NEON optimization for image processing, diagonal 2 tap filter
How to add a line at the bottom of spinner as like edittext in android
android:Elevation not respected across FragmentTransactions
Retrieve memory of Bitmap/Drawable
Extracting Timed Metadata from HLS stream ios
Asynctask: onCancelled() doesnt get called after cancel(true)
How to set android app version by number of build in Jenkins?

Categories

HOME
url-redirection
microsoftgraph
adal
paraview
dns
jax-rs
oracle-apex-5
solver
sublimetext
replace
scripting
gembox-spreadsheet
lanczos
special-characters
joomla3.0
little-proxy
commonjs
dkim
vimdiff
why3
datastage
supervisor
code-generation
do-while
dimensional-modeling
asp.net-core-webapi
hta
moses
jackson-modules
underscore.js
corenlp-server
openalpr
modernizr
password-protection
metaprogramming
google-data-api
android-softkeyboard
http-request
wc
monkey-testing
optimizely
yii2-user
dt
mach-o
django-1.10
shinobi
docpad
hadoop-2.7.2
seek
vulcanize
watch-os-2
scaffolding
jclouds
freepbx
hadoop-partitioning
nullable
blitline
jaunt-api
vhosts
dllimport
fiware-monitoring
wiredep
include-guards
google-books
coda
.bash-profile
canalyzer
dulwich
nutiteq
aspectj-maven-plugin
delayed-execution
android-cookiemanager
big-ip
contrast
teaspoon
strawberry-perl
rmysql
mobility
codeplex
parallel-testing
grails-plugin-rabbitmq
authlogic
twitter-bootstrap-rails
qscrollarea
spring-3
jeromq
apache-abdera
nokia-s40
monotouch.dialog
jquery-blockui
uimanageddocument
cuda-gdb
predicatebuilder
jquery-address
landscape-portrait
update-statement
entitydatasource
jqote
drawtobitmap
timthumb
http-daemon
squishit
drupal-fivestar
binomial-heap
scrollbars
fault-tolerance
java1.4
change-management
commercial-application

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App