![]() ![]() |
#1
|
||||
|
||||
![]()
Hi there!
How colud I configure a sntp server in my SCBE port well cad ? Thanks |
#2
|
||||
|
||||
![]()
SSH to the management interface and login as the ipcs user. Escalate to root via sudo su. Use vi (or nano) to edit the ntp.conf file: vi /etc/ntp.conf
Add an entry for your NTP source: server x.x.x.x Bounce the NTP service: service ntpd restart |
#3
|
||||
|
||||
![]()
Hi there! Thnks you
But, what do I bad? Attach the results. I have tried change the IP management, change de server NTP, to access to directory vi /etc/ntp.conf or nao/etc/ntp.conf and all time shows command not found or No such file or directory The ASBCE is a Portwell CAD0208. Best reggards EMSUNICOL [root@pts/0] /etc # SBCEConfigurator.py change-ip-gw-mask 192.168.153.201 192.168.153.1 255.255.255.0 bash: SBCEConfigurator.py: command not found EMSUNICOL [root@pts/0] /etc # cd /commands bash: cd: /commands: No such file or directory EMSUNICOL [root@pts/0] /etc # cd /command bash: cd: /command: No such file or directory EMSUNICOL [root@pts/0] /etc # cd vi /etc/ntp.conf bash: cd: vi: No such file or directory EMSUNICOL [root@pts/0] /etc # cd nano/etc/ntp.conf bash: cd: nano/etc/ntp.conf: No such file or directory EMSUNICOL [root@pts/0] /etc # cd vi/etc/ntp.conf bash: cd: vi/etc/ntp.conf: No such file or directory EMSUNICOL [root@pts/0] /etc # SBCEConfigurator.py change-ntp-ip bash: SBCEConfigurator.py: command not found EMSUNICOL [root@pts/0] /etc # SBCEConfigurator.py change-ntp-ip 172.16.16.1 bash: SBCEConfigurator.py: command not found Last edited by oiduran; 09-23-2015 at 07:37 AM. |
#4
|
||||
|
||||
![]()
Remove the "cd" from the commands. cd = change directory.
|
#5
|
||||
|
||||
![]()
Excuseme, I don't understand. See how I'm doing without cd
EMSUNICOL [ipcs@pts/0] ~ $ sudo us sudo: us: command not found EMSUNICOL [ipcs@pts/0] ~ $ sudo su EMSUNICOL [root@pts/0] /home/ipcs # /vi/etc/ntp.conf bash: /vi/etc/ntp.conf: No such file or directory EMSUNICOL [root@pts/0] /home/ipcs # nano/etc/ntp.conf bash: nano/etc/ntp.conf: No such file or directory EMSUNICOL [root@pts/0] /home/ipcs # /nano/etc/ntp.conf bash: /nano/etc/ntp.conf: No such file or directory EMSUNICOL [root@pts/0] /home/ipcs # /etc bash: /etc: is a directory EMSUNICOL [root@pts/0] /home/ipcs # /etc/ bash: /etc/: is a directory EMSUNICOL [root@pts/0] /home/ipcs # -SBCEConfigurator.py change-ntp-ip 172.16.16.1 bash: -SBCEConfigurator.py: command not found |
#6
|
|||
|
|||
![]()
You should probably not be editing these files without a little understanding of what you're doing.
nano and vi are text editors, /etc/ntp.conf is a file Think of the command line as the run dialog in windows, you're running the program nano (or vi if you're feeling ambitious) and you're editing the file /etc/ntp.conf So - sudo su Then - nano /etc/ntp.conf |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|