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 - serval or insmod in c code.
⇒ learn to write app in c/c++
⇒ execute external binary as root (insmod..):
Auto detect firmware.
network profiles.
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.