Todos
Tue Oct 25 16:47:01 CEST 2011
== set static ip
* ip/ ifconfig/ iwconfig (busybox): command doesn't work properly and only have some effect when 'static ip' is activated from NetworkManager.
- <del>iwconfig can't set Ad-Hoc mode or ssid (unknown command). wrong param essid!.
these binary doesn't work properly in cm 7?? compile new?- test on normal rom??</del>
- set static ip from app: (all information must be filled including dns1 dns2). When using static ip is choosen from app, nexus s seems to use the configured static ip but network brocks immediately after ip is applied and return to searching.
- investigate dhcpcd for support of ip4ll.
== adhoc
cm 7 sees available ad-hoc network. but has ip problem when associating. Someone has successful connect to an Adhoc network with a dhcp node.- ⇒ successful manually load firmware and start ad-hoc with ip/iwconfig.
- write app to setup ad-hoc bypassing android framework.
edify - servalor insmod in c code.- ⇒ learn to write app in c/c++
- ⇒ compile c++ for android.
- ⇒ execute external command from c++ binary.
- ⇒ execute external binary as root (insmod..):
- ⇒ create a su-wrapper script: http://code.google.com/p/android-scripting/issues/detail?id=184
start a separated binary executoras root (init.rc) with a socket to receive request for execution of a command. –> try this c code that executes insmod.
- Auto detect firmware.
- directory structure/ configuration files to store device specific firmware data.
- network profiles.
- data structure.
- implement add wifi networks.
- start/stop network.
- ⇒ wifi button triggers load/unload Driver.
- — enable adhoc network: get current adhoc network settings from system prop.
- ⇒ run dhcpcd to get zeroconf IP.
- handle intent Wifichangedstate_action to apply IP configuration.
Watch list
– adhoc – ip4/6 – olsrd