thof Posted October 22, 2011 Report Share Posted October 22, 2011 Skąd wiesz, że działa? Wygląda właśnie na to, że nie działa lub coś z DNSem. Zobacz opis funkcji gethostbyname http://linux.die.net/man/3/gethostbyname Możesz spróbować wykorzystać skrypt, który podałem w linku wyżej. Zmień google.com na update.no-ip.pl. Oczywiście musiałbyś go trochę przerobić, bo Ciebie nie interesuje restart sieci tylko odpalenie skryptu, kiedy połączenie z podanym serwerem no-ip.pl na pewno istnieje. Czyli warunek tu jest odwrotny. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now