Path: csiph.com!usenet.pasdenom.info!news.redatomik.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!buffer1.nntp.ams1.giganews.com!local2.nntp.ams1.giganews.com!nntp.brightview.co.uk!news.brightview.co.uk.POSTED!not-for-mail NNTP-Posting-Date: Fri, 07 Aug 2015 15:17:34 -0500 Subject: Re: Logs Newsgroups: comp.sys.raspberry-pi From: T M Smith X-Editor: EmailEdit 6.00 Date: Fri, 07 Aug 2015 21:10:02 +0100 Message-ID: <70e693ef54.Broadband@tmsmith36.plus.com> References: <5df3fded54.Broadband@tmsmith36.plus.com> <98j89c-md6.ln1@myleafnode.oneyv.org> <74a49bee54.Broadband@tmsmith36.plus.com> User-Agent: Messenger-Pro/6.06 (MsgServe/6.04S) (RISC-OS/5.21) NewsHound/v1.52-32 Lines: 87 X-Usenet-Provider: http://www.giganews.com X-Trace: sv3-YicCwj05gdXPtoWyJSoqrwm2wAOdPwOH5/A2z8gV8bc31D3Te/yFT8br9zPc0sgocymPOuAbBqE8FMj!h3UgcheEEOCWOFTZ0zshzRFK5aQMQKJPsjozE6C9VzksvZAW5ZH4w88uHVql4QoDk9rwL4BWNbff!zSN9FrX5KcYAsg== X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 X-Original-Bytes: 4311 Xref: csiph.com comp.sys.raspberry-pi:9373 In message Dom wrote: > On 05/08/15 23:58, T M Smith wrote: >> In message <98j89c-md6.ln1@myleafnode.oneyv.org> >> JimR wrote: >> >>> On 08/04/2015 06:33 PM, T M Smith wrote: >>>> In message >>>> The Natural Philosopher wrote: >> >>>> One puzzle is that the date shown in the log was 15th May. >>>> This is a backup SD card I have just put in the Pi and I am now >>>> wondering the date must be wrong. I had expected it would have >>>> corrected date and time. >> >>> The RPi has no real-time clock on board. When you power it down, it >>> loses the correct time settings. Early in the boot-up sequence, it >>> connects to an NTP server and adjusts the time. If you inspect the >>> syslog right after a power-up, you will see the timestamp suddenly jump. >> >> >>>> However the WiFi works OK with WiFi config displaying normally. >>>> Another puzzle is that it gave the Pi as 192.168.1.95 >>>> Changing this to a static address of 192.168.1.90 has not worked, it >>>> still comes up as 192.168.1.95 >>>> >>>> Here is interfaces file >>>> >>>> auto lo >>>> >>>> iface lo inet loopback >>>> iface eth0 inet static >>>> >>>> address 192.168.1.90 >>>> netmask 255.255.255.0 >>>> gateway 192.168.1.254 >>>> >>>> allow-hotplug wlan0 >>>> iface wlan0 inet manual >>>> wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf >>>> iface default inet dhcp >>>> >> >>> My RPi runs as a headless server, and has a static IP address assigned. >>> I never had much luck with adjusting /etc/network/interfaces, in fact, >>> the only thing in mine right now is >> >>> auto lo >>> iface lo inet loopback >> >> >>> However, I *did* use wicd-curses when I first set up my rpi. In there, >>> under Config, you will find an option to set a static IP address. That >>> worked for me. You might find that wicd-curses is not installed by >>> default. If not, simply >>> sudo apt-get install wicd-curses >> >>> Best of luck >>> JimR >> What puzzles me is that while 192.168.1.90 is stored in the file above >> I can find no race of 192.168.1.95 which is actually used > There's nothing wrong with your /etc/network/interfaces file as it stands. > It should work fine - but for some reason the default dhcp client is now > dhcpcd5 which totally ignores the interfaces file and does it's own > thing. So what you are getting is the static address that you assigned > and a DHCP address that dhcpcd5 has picked up and allocated. > Remove dhcpcd5 and things should work the way they are supposed to. > If you want DCHP for another interface, just install dhcpcd (no "5") > instead and things will work properly. Dom, You have lost me here. Where is, and what is dhcpcd5. At one stage during my attempts to get things right it gave me a primary address of 192.168.1.90 and a secondary address of 192.168.1.95, My search for the 95 address is still running. Malcolm -- T M Smith Using an ARMX6 and RISC OS 5.21 in the North Riding of Yorkshire