Jump to content

Rc.Local Nie Otwiera Scryptu - Centos


tomas92
 Share

Recommended Posts

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...