Hi
Does anyone know how to connect to the internet via Ethernet?
Hardware: iMX53 QSB
Software: Kernel ver: 2.6.35.3
Android ver: 2.3.3
I've tried typing netcfg into the serial console & get the following ouput (only relevant part shown):
lo UP 127.0.0.1 255.0.0.0 0x00000049
eth0 UP 10.150.224.243 255.255.0.0 0x00001043
When I open a browser & try to access a website, I get the error: Web page not available.
I've enabled Settings->Wireless & networks ->Ethernet - & it shows that its connected.
Does anyone know how to fix this problem...
Many thanks
Jayson
Hey Eric,
Thanks, i got it working.
I looked for the right DNS server IP address using 'getprop' :)
Jayson
Hi Jayson,
Do you know what your DNS server address(es) should be? My example was just a guess.
I also thought 'getprop net.eth0' would show you all of the net.eth0.x variables,
but apparently not. If you run 'getprop' by itself, you can scan the list, or you can
use an ADB connection to allow you to grep on your development machine:
adb shell getprop | grep net.eth0
Regards,
Eric
Hey Eric,
Thanks for your reply.
I still couldn't get it to work - here's the output:
/************************************************/
# getprop net.eth0.dns1
# getprop net.eth0
# netcfg
lo UP 127.0.0.1 255.0.0.0 0x00000049
eth0 UP 10.150.224.235 255.255.0.0 0x00001043
usb0 DOWN 0.0.0.0 0.0.0.0 0x00001002
tunl0 DOWN 0.0.0.0 0.0.0.0 0x00000080
gre0 DOWN 0.0.0.0 0.0.0.0 0x00000080
sit0 DOWN 0.0.0.0 0.0.0.0 0x00000080
# setprop net.dns1 10.150.224.1
# getprop net.eth0.dns1
# gepro
gepro: not found
# getprop net.eth0
# setprop net.eth0.dns1 10.150.224.1
# getprop net.eth0.dns1
10.150.224.1
# getprop net.dns1
10.150.224.1
/************************************************/
Have I made any mistakes?
Thanks,
Jayson
Hi Jason,
Try 'setprop net.dns1 10.150.224.1' to configure your Domain Name Server.
Take a look at the output of 'getprop net.eth0' for the appropriate value.
At least in R10.1, the scripts in /etc/dhcpcd/dhcpcd-hooks were setting the
property net.eth0.dns1-4 instead of net.dns1-4.
Eric