Editing
Android
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Adding a network i/f === This link may also be useful [http://www.anddev.org/advanced_networking_with_android-linux-t155.html Advanced Networking] A Cisco/Linksys USB300M will install as eth0. The drivers for this device are in the kernel apparently. <pre> netcfg eth0 dhcp setprop net.dns1 <dns server ip> </pre> From the following link [http://groups.google.com/group/rowboat/browse_thread/thread/5787b9bf8618e38d google_groups] Add the following at the end of init.rc file. Do not add oneshot option. <pre> service startEth0 /system/bin/starteth0.sh </pre> Create the file /system/bin/starteth0.sh. <pre> #!/system/bin/sh #next line just needed if you want to use adb by ethernet setprop service.adb.tcp.port 5555 netcfg eth0 dhcp setprop net.dns1 <dns server ip> </pre> That should be enough. I only have one issue with the dns server that sometimes it does not set and I have to enter the command manually. If you want to connect adb by ethernet: <pre> export ADBHOST=xx.xx.xx.xx //Beagle IP adb kill-server adb start-server </pre> if you want to configure a static ip address: <pre> ifconfig eth0 192.168.1.1 netmask 255.255.255.0 route add default gw 192.168.1.1 </pre> ---- [[Main_Page]] Main [[Thermo]] Previous (Thermo)
Summary:
Please note that all contributions to SoftwareGuy may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
SoftwareGuy:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
Edit source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information