Problem with using ethernet and wifi at same time.

283 views
Skip to first unread message

Changyeon Shim

unread,
May 10, 2010, 12:27:13 AM5/10/10
to Android-x86
Hi,

I've add some files to use ethernet and succeed to make it work.
But there are some problems withint it.

When my machine already connected a AP with wlan0 and bring up eth0
with static ip configuration, it works well.
But in case of eth0 has dhcp configuration not good.
Although getting a ip from router and dns address (net.dns1 and
net.dns2 show me correct values same as router' them) was succeed, But
resolving url is failed.
ping www.google.com
=> unknown host....
I wonder there are some consideration about configure dhcpcd for eth0.
I added below in init.rc
service dhcpcdwlan0 /system/bin/dhcpcd -BKLA -f/system/etc/dhcpcd/
dhcpcd.conf wlan0
disabled
oneshot
service dhcpcdeth0 /system/bin/dhcpcd -d eth0
disabled
oneshot
First is for wlan0 and second is for eth0

Could you help me about aboves...

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.

Yi Sun

unread,
May 11, 2010, 2:38:43 AM5/11/10
to andro...@googlegroups.com
The original code does not support to turn on both eth and wifi. You
will need to look at the connection manager since it may only allow one
connection at a time.

Changyeon Shim

unread,
May 11, 2010, 3:20:54 AM5/11/10
to andro...@googlegroups.com
I see. If ethernet is connected, Wifi shall be tear drop.
As though wifi had gone drop already and ethernet was connected, still dns has a problem.

Yi Sun

unread,
May 11, 2010, 1:22:12 PM5/11/10
to andro...@googlegroups.com
I think only dns1 is used and it should not be called net.dns1, it should be something like dhcp.eth0.dns1

Changyeon Shim

unread,
May 12, 2010, 10:04:42 PM5/12/10
to andro...@googlegroups.com
Thank you for your comment.
net.dns1 would be copied from dhcp.eth0.dns1 after dhcp configuration was done.
So both values are same.

Hiệp Phạm

unread,
Jul 21, 2021, 6:13:23 AM7/21/21
to Android-x86
@Changyeon Shim,
May I know have you fixed the issue? we're having the same problem but don't know how to fix. 
My issue is once the wifi is enabled the Eth will drop even it's working well before. Actually, we want both work the same time.
Thanks.
Reply all
Reply to author
Forward
0 new messages