wylacz wi-fi , uruchom allshare kliknij ok zeby allshare wlaczylo wifi i dziala , wlaczenie reczne nie dziala , zatrzymuje sie na pobieraniu adresu ip , wlaczenie przez allshare dziala ot taka ciekawostka jak by sie komus nie chcialo orac wszystkiego , ale szukam dalej przyczyn takiego stanu rzeczy stalo sie to samo po kilku dniach dzialania wifi bez problemu pewnego dnia juz sie nie chcialo polaczyc , oczywisci po polaczeniu mozna normalnie allshare zamknac
Połączone: Marzec 06, 2011, 19:45:55
Dobra jest rozwiazanie
"It seems to come from the fact that the phone requests its previous IP address to the access point, without any discover message, whereas the lease has expired from the AP point of view...
The previous leases are stored in /data/misc/dhcp/dhcpcd-eth0.lease and /data/misc/dhcp/dhcp_list. You just have to remove the second file (dhcp_list) to force the phone to start a new dhcp negociation.
This can be easely automated with dhcpcd user scripts, you just have to create a file named dhcpcd.exit-hook in /system/etc/dhcpcd (as root, with rw acces to /system), and place this in it:
if [ -f /data/misc/dhcp/dhcp_list ] ; then
rm /data/misc/dhcp/dhcp_list
fi
And the problem should be gone!"
Dla nie szprechajacych
potrzebujemy roota i root explorera
wchodzimy do /system/etc/dhcpcd
tam tworzymy plik dhcpcd.exit-hook
do niego wpisujemy
if [ -f /data/misc/dhcp/dhcp_list ] ; then
rm /data/misc/dhcp/dhcp_list
fi
i problemy z nie pobieranie adresu z dhcp rozwiazane