fullerms wrote: 
> Yes! Thats it. I have blocked Google's public DNS servers.
> 
> Thanks Greg. I cannot unblock Google's public DNS servers, how do change
> this IP in the code?

You would have to edit ~/www/cgi-bin/pcp-functions
One way to do it would be to change the 8.8.8.8 that is in there to an
external IP address that you know that you can reach (if you want it to
be a real test of Internet being reachable) or make it an internal
address (e.g. your router) if you want to check that you are connected
to something.

so ssh into pCP (login as tc with whatever you have changed the password
to) and then vi www/cgi-bin/pcp-functions
then move down to the line with 8.8.8.8 in it (type /8.8.8.8)
then remove the 8.8.8.8 (type x a few times)
then insert your new one (type i and then your replacement IP address)
then
ESC Key
then
:wq

(vi is not a great editor to use if your are not familiar with it but I
have not checked to see which other editors are in pCP).

probably need to do a pCP backup to make that survive a reboot (but I
have not checked)
type
pcp bu

Maybe pCP team could put that 8.8.8.8 into the pCP config so that it
could be modified from web UI.



Paul Webster
http://dabdig.blogspot.com
------------------------------------------------------------------------
Paul Webster's Profile: http://forums.slimdevices.com/member.php?userid=105
View this thread: http://forums.slimdevices.com/showthread.php?t=105997

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to