DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Raspberry Pi - more woes!  (Read 5,098 times)

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Raspberry Pi - more woes!
« on: June 02, 2012, 03:54 PM »
Finally got the thing working - had to buy another USB keyboard and a USB powered hub. Very limited power ability for the USB ports. Don't know about cheap computing all the accessories you need really work out quite expensive!

Anyway I setup the preferred Debian Linux on an SDHC card and it boots. I login and type StartX and get to a desktop.

All good except:

1) There is no RTC on the board so the time and date are wrong - how the heck do you set the time and date?

2) Can't find anywhere to setup connection details and consequently I can't connect to the internet. How do I specify my DHCP server/DNS server in Debian? I did notice it aquired and IP address during the LInux boot (192.168.1.24) but when I run a browser it can't resolve the addresses of websites so I presume I need to manually specify a DNS server.

Not exactly lacking frustration - though it does look pretty with its flashing lights!

tomos

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 11,970
    • Gathering Badge
    • Participated in NANY Challenge Once
Re: Raspberry Pi - more woes!
« Reply #1 on: June 02, 2012, 08:41 PM »
Not exactly lacking frustration - though it does look pretty with its flashing lights!

some compensation :)
Tom

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • Plugin Coding Medal
    • Participated in NANY Challenge Three Times
Re: Raspberry Pi - more woes!
« Reply #2 on: June 03, 2012, 03:04 AM »
Which Debian are you using (squeeze, wheezy, sid, or something else?) and what is the content of your /etc/resolv.conf?

4wd

  • Pedantic Old Bastard
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,652
    • Coding Snacks
Re: Raspberry Pi - more woes!
« Reply #3 on: June 03, 2012, 05:01 AM »
1) There is no RTC on the board so the time and date are wrong - how the heck do you set the time and date?

Perhaps grab one of the many Arduino I2C RTC modules, (like this one on ebay), and interface it to the GPIO?

If nothing else, it'll be an opportunity to enhance your programming skills :)
"I will not follow where the path may lead, but I will go where there is no path, and I will leave a trail." - Muriel Strode, 1903

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,073
    • Cody Award
    • Furry Fandom Badge - Furry Fandom
Re: Raspberry Pi - more woes!
« Reply #4 on: June 03, 2012, 12:01 PM »
Sorted - for some reason it detected my DNS server on 192.168.1.2 (which is correct) but didn't actually seem able to use it. Strange because it works on all my other computers whether they are workgroup or domain based. I just added another DNS 8.8.8.8 (Google DNS service) and it works fine.

Once connected with a working DNS it automatically grabs real time from the internet so no RTC required after all.

Not sure how it knows I am in the UK though ???

Original address: https://www.donationcoder.com/forum/index.php?topic=31202.0