Ubuntu Servers :: Using Gpsd To Be NTP Stratum 1 Server?
Feb 9, 2010
I'm interesting in hearing if anyone has any experience to share with using a budget GPS device and gpsd to be an NTP stratum 1 server.I can find USB GPS dongles for $25 USD online. What I'd like to know is if it's worth the effort.Please do not reply with "you should just get your time over the network" because I'm in a location where that is not possible.
Currently setting up a stratum 1 server - what is the typical setup for the ntp.conf file. For instance, I understand I need to include
server 127.127.20.0 minpoll 4 maxpoll 4
to read my gps receiver and set the polling parameters. But, is the gps receiver the only device the stratum 1 server gets its time from, or should other stratum 1 servers be listed as peers to help further refine and improve my stratum 1's time?
Things I have tried so far:Followed tutorials found here at [url] and [url] None of which worked.
Some output from what appears to be a valid connection: I have run sdptool browse and found my device I have used hcitool scan and found my device I have done a cat of /dev/rfcomm0 and seen data streaming I have seen a process id for gpsd as well as seen a listneing port for gpsd I have been unable to get either gpsdrive / xgps / tangogps to see gpsd. All report it as not running.
Using a Python scipt by balint of Spench.net I can set my iPhone as a gpsd device (using mobile Safari and the tether connection)
Quote:
ryank@kayleeslaptop:~$ sudo python iPhone-gpsd.py Current directory: /home/ryank gpsd: Can't bind to port 2947 gpsd: Maybe gpsd is already running! gpsd: Can't bind to port 2947
[Code]....
It sets the device as /dev/pts/1 but GPSDrive (and any other program for that matter) shows that there is not GPS...
Configuring gpsd with Wheezy was a breeze. Just had to run "sudo dpkg-reconfigure gpsd", answer a few questions, and it worked like a charm. With Debian Jessie the following happens:
tsi@sxf-tsi:~$ sudo dpkg-reconfigure gpsd Warning: Stopping gpsd.service, but it can still be activated by: gpsd.socket Creating/updating gpsd user account... tsi@sxf-tsi:~$
How does one bring up the gpsd configuration dialog with Jessie?
i'm tryin to get a GPS dongale to work with debian testing on start up gpsd starts under nobody, (ps -C gpsd -fww) so i pkill it. i want it to start under my login so i try gpsd -N -n -D 2 /dev/ttyUSB0 this gives bash: gpsd: command not found if i tey (gpsd -N -n -D 2 /dev/ttyUSB0) in a root terminal or with sudo it launches,
[Code]....
i'm following a method i used on ubuntu to get this working so i think that launching gpsd under my username is the key
I'm trying to configure gpsd 2.96 to start automatically from udev rule on a Slack 13.37 box.1. I've compiled and installed gpsd from sources and made sure it starts manually.2. I've copied the /lib/udev/gpsd.hotplug and /lib/udev/gpsd.hotplug.wrapper scripts in their places from the source tree and made them executable.3. I've copied the gpsd.rules file from sources into /etc/udev/rules.d4. I renamed it 99-persistent-gpsd.rules to run late in the bootup process.5. I've copied the /etc/default/gpsd file from sources and made sure it has the right settings inside.
Now, for the results. If I plug the gps usb dongle in while the system runs, it starts gpsd if it is not started, and it connects to it just as it should. But if I start the system with the dongle in, gpsd doesn't get started during boot. I can't find any relevant message in /var/log/syslog or /var/log/messages for boot time. There is stuff there from when I plug the dongle in while the system is running though. It's like udev ignores the rules for it at boot time.Is there something in the Slackware boot scripts that would prevent running those scriptssd.hotplug.wrapper which in turn runs /lib/udev/gpsd.hotplug which is a Python script)?Here is the contents of 99-persistent-gpsd.rules (ignore the comments referring to Debian, it was meant for a Debian box). My usb gps adapter is the first one - the Prolific chipset one:
I'm trying to use the gps gt-730F usb dongle to work on fedora 12, but I don't know what to do exept plug it and launch tangogps but when I do it tangogps tell me no gpsd found ...
I'm curious if anybody can shed some light for me in this department. We're in a large environment with a Windows DHCP Server. We have been tinkering with LTSP on Edubuntu as thin and fat clients. It works great, but right now we just have 1 server handling the lab, which works fine unless we want to expand, which may be very possible.
These are the instructions I received: Login to your windows server and load the DHCP configuration screen Create a DHCP reservation for the MAC address you obtained Add the configuration options below to enable the machine to boot from the LTSP server 017 Root Path: /opt/ltsp/i386 066 Boot Server Host Name: <ip address> 067 Bootfile Name: ltsp/arch/pxelinux.0 # Specify CPU architecture in place of 'arch', for instance 'i386'
From: [url]
I'm curious, what if I want to have multiple Ubuntu servers on the network that I want to have bootable? For example, let's say I have 3 labs, and 3 servers. Server A to Lab A, Server B to Lab B, and Server C to Lab C. I want all C's computers to boot to C, and B to B, A to A, etc.
1 - How would I add multiple entries on the Windows DHCP Server to allow all 3 (A B C) servers to boot?
2 - How would I be able to isolate the clients so ONLY Lab A clients boot to Server A, etc?
I own a rather large website/forum devoted to Scuba utilizing vBulletin. The problem is that its become INCREDIBLY slow as of late. I have three Ubuntu web servers under a single Ubuntu load balancer and they draw from a CentOS 5 DB server running MYSQL. Here are my concerns:
-I am thinking that they are all 32 bit rather than 64 bit. -I am thinking that the problem is an IO issue.
Last weekend i've set up my first headless ubuntu home file server and torrent downloader with ubuntu 9.10.Very cool but CPU is way too fast for a home server: P4 HT 2.8Ghz, unfortunatly it has only 256Mb of ram, so no X server and no VNC (old HP office pc) At the moment memory usage is only 40Mb without X server. Besides SSH works just fine Few questions i can't seem to find answers to on google:What is a good CL network monitoring program?mething similar to htopUbuntu 9.10 has a lot, about 20-30, console-kit deamon instanses running after boot each using some memory that i can't spare.
I want to install a DLNA server on my ubuntu home server. It will primarily be used for photo browsing on my PS3, but general media support would be nice. (I use Squeezebox server for music.) What are my options, and what are the main difference between them.
I am merely trying to change the port for my ssh server.However it isn't changing.I edited my ssh_config file to:
Code:
# This is the ssh client system-wide configuration file. See # ssh_config(5) for more information. This file provides defaults for[code]...
When i try to connect to my server via port 443 i get a connection refused error. However when i try to connect via port 22 it connects. Since that didn't work, i tried restarting the entire server.To restate, i changed the config file and restarted ssh then the computer, however the port didn't change.Ohh and yes my router is set to port forwarding on port 443, though it doesn't matter since I'm inside the network.
Does anyone have some material about statistics using ubuntu / linux server, or a text which generally describes the ubuntu server?I need urgent, i'm writing specialization work about administration apache and ftp server on ubuntu 10:10 server, so I need something for the conclusion.
I and setting up a home web server using Ubuntu 10.04 server (local only). I am currently using Webmin 1.53 to access it remotely all is going great very easy to use. Webmin - Check, ftps-fileZilla - Check, Apache -It Works BUT I cant seam to set up Apache as a named server using Bind DSN. Tried most of the help in the fourms and ..... I think my problems is in the master server selection, do i have to use [URL]... or can i just use myservername. I have tryed both with no luck. First time with the server addition.
In trying to help our office modernize its IT infrastructure, one of the key components is maintaing our server. We have around 50-60 people who need access to a local server primarily for secure general file storage. These employees are geographically dispersed. We currently use some(?) version of Windows Server which is maintained and updated by a IT company we keep on retainer. After doing some very basic research on Ubuntu Server, I would like to try and incorporate a pilot program utilizing the Ubuntu Server software.I was successful in installing Ubuntu Server on an unused PC that I put a clean hard drive in. I have been following the direction of the Official Ubuntu Server manual to assist in the server setup, and this has progressed my cause up to a point.
Can I run an Ubuntu Server alongside our current Windows server without bring everything to a screeching halt? Additionally, I am the only mac computer in an office filled with varying version of windows. I have begun to configure samba but need some direction from the community as to updating the workgroup so my mac can connect to the Ubuntu Server. What do I need to put in the workgroup part of the /etc/samba/smb.conf directory?I have no doubt there will be face palms by the community after reading this thread, but I am trying my best to teach myself the Ubuntu way.
I've just made my old, dusty computer into an Ubuntu Server. So far, i have installed a well functioned LAMP server, to host my Website. I have also installed a FTP-Server (proftpd) and i was wondering if i could manage my FTP accounts in MySQL so i could make an account creation page for it? If yes, how?
I support a small business which runs a headless Ubuntu Server (10.04 32bit) as a file server which is accessed by Windows machines.Although the company has it's own back-up procedure they have decided to back-up some (none sensitive) files online. The have chosen FileFactory (http://www.filefactory.com/) as the host for this. FileFactory allows files to be uploaded to their server by FTP however I do not know how to set this up on the server.
The idea, if it is possible, is to connect to FileFactory through FTP and then synchronise the data using an Rsync command.I normally access the server through Webmin and it has vsFTP installed. I can access the company's server by FTP from inside and outside of the network so I know that vsFTP is working for incomming connections however I cannot work out how to configure it to connect to the FileFactory server.
i have been interested in starting up a website of my own, but i want to host it on my own personal server. unfortunately i have absolutely no experience with servers, and i dont even know where to begin.i have done some reading up and i think my choice will be a LAMP server.now to the question, lets assume that i know nothing but html, css, JS, etc. where would be the best place to start learning about servers, how to operate within a server, and the such? and which ubuntu server OS would be the best choice? i will also post my email address for an alternate method of communication.
There is a tool appeared in repository called ktune; The purpose is to adjust some sysctl.conf settings to improve server speed on servers with heavy load. What is this tool for if one can achieve the same with the configuration file added to system startup? Or ktune is just such file?
Currently I use FreeNAS, which is a FreeBSD-based NAS distribution for my home server. However, I would like to move to a Linux-based home server with the ability for new software packages to be installed, which is a problem with FreeNAS. I use Lucid beta on my Dell Mini 10v, and have two Windows 7 and one Windows XP desktop(s), with all of them connected via Gigabit ethernet and Wifi N.
The home server would act as a file server (SMB and whatever the best one is for my Ubuntu netbook), a media server (UPnP, MT-DAAPD/iTunes and DLNA for my PS3), as a webserver and as a VirtualBox server just to experiment with. The server itself has a 160GB PATA drive which will be for the OS, and a 1TB SATA drive to be for the data; Gigabit ethernet; an AMD Athlon 64 2.2GHz (with AMD-V) and 1GB RAM.Are there any things you would recommend for me to install? I think that having a window manager would be nice, even if just for initial setup since I am not very experienced with command-line Linux. I'm planning on installing Webmin and a VNC/SSH server so I can configure it remotely. I don't need any firewall or VPN services as these will be provided by a pfSense box separate from this.
After days and days spent in reading guides, how-to, forum post and much more, I still have some doubts regarding the possibility of developing a personal mail server having a fully functional ubuntu server. ( of course this is due to my lack of knowledge...hehe )
First thing I wish to understand is the focal point "Can I have my private mail server pointing to mymail@myinventeddomain.whatever ONLY IF I have previously registered ( bought ) myinventeddomain.whatever?"
Second thing is: " Could it be a work-around setting up a free dynamic name server ( pointing to my server, where a LAMP stack is already fully functional ) and then use this "name" to create my email? "(*) Example: using my own server, already accessible from outside my lan using a free dyndns name, I'm able to access and manage some web-based services. Is it possible to apply concept two at this situation? The base idea is to have my own email service, with my own domain like neomod@thenameiwant.xxx , so I can create email-based notification between my server and some other email addresses without relying onto some public service ( let's say google or my own isp mail server ).
I have read about the common solution in theese cases ( Postfix ) but in each guide, tutorial, faq or similar I could have read there is no explanation about " How to choose/obtain your own domain name".Reading forum discussion situation isn't better, because some one clearly states that I need to by a domain name ( ex. godaddy, aruba, etc. ) while some others say that I can realize it on my own just using dinamic dns name and a few other things.So beg my pardon if this question might seems stupid, but since I already own a domain name+webhost I reallu wish to understand before spending other money.
I am connecting servers using NFS4 the shared directories are on servers running Debian 4 while the one who read from them is Debian 5.0.3. The problem is one of these shared servers suddenly stop responding and you cannot list it from Debian 5 server, also df hang, and the web application that is using it does not respond to requests that use this shared directory since it is blocked. Then the load on the server start to increase until the server cannot respond (over 90). I have found many entries in the syslog that refer to this like:
ma25555 kernel: [1200285.732919] nfs: server 10.xxx.xxx.xxx not responding, still trying Dec 31 08:16:33 ma25555 kernel: [1200289.815378] INFO: task java:9702 blocked for more than 120 seconds. Dec 31 08:16:33 ma25555 kernel: [1200289.835249] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. code....
I have tried the connection between the 2 servers using ping for one day and all are OK (zero lost)
There are 3 other servers that are running Debian 4 and are working fine.
I'm new to send mail. I have a server with a public address and domain name. But I only want to implement a small sendmail network on our 20-user LAN. Can I turn my public server into a sendmail server? Are there any simple step-by-step instructions for this?
Setup1: Two rack mounted servers with a common storage device serving as the home directories for users on the servers. The storage device is a gfs partition mounted on the servers as the home directory using SAS cables. These servers have RHEL 5.4 as the installed operating system.
Setup2: A standard tower server with Debian 6 as the operating system used for tape backups. This has a tape drive connected to it.
Question: How to mount the storage device of setup1 using NFS on the server in setup2.
I have a script that works fine on a commercial server and my CentOs Box at home but doeasn't work with another commercial server (Where we need it to).I have pulled the PHPINFO.PHP from both and wondering if someone could tell me which parameters to compare when the following happens:The script seems to do the HTML/Java and outputs the PHP script on the page , but this site has many other PHP scripts working fine: