It seems like your name resolver (DNS) may not be set up correctly. Try
something like "ping google.com". If that doesn't work, then look at
/etc/resolv.conf which should contain the IP addresses of your nameservers.
BTW sudo is only necessary to run a command that needs root privileges
from a non-root account. In your case it appears that you are running as
root (the "#" prompt).
HTH,
Dave.
On 01/02/2015 07:56 PM, rjc2827 wrote:
I'm new, so there's some early step that I've overlooked, but I can't
set the time, and I don't know why. I'm running the Ver C BBB with
Debian pre-installed. I have flashed the newest OS version, and have
found PuTTY to get me access to the SSH shell. I've even got a single
LED to light up with some sample code that I've found. I now want to
apt-get update and install, but I've been told to get my date set up
first so that the update/install goes smoothly, but ...
Both of:
root@beaglebone:~# ntpdate pool.ntp.org
root@beaglebone:~# sudo ntpdate pool.ntp.org
get me a response of:
Error resolving pool.ntp.org: Name or service not known (-2)
15 May 07:34:42 ntpdate[5292]: Can't find host pool.ntp.org: Name or
service not known (-2)
15 May 07:34:42 ntpdate[5292]: no servers can be used, exiting
While we're at it, when should sudo be used or avoided ... I'm really
not clear on this.
Thanks
rjc
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google
Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to [email protected]
<mailto:[email protected]>.
For more options, visit https://groups.google.com/d/optout.
--
For more options, visit http://beagleboard.org/discuss
---
You received this message because you are subscribed to the Google Groups "BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.