topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday April 23, 2024, 9:04 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: Raspberry Pi - more woes!  (Read 3463 times)

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,066
    • View Profile
    • Donate to Member
Raspberry Pi - more woes!
« on: June 02, 2012, 10:54 AM »
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,961
    • View Profile
    • Donate to Member
Re: Raspberry Pi - more woes!
« Reply #1 on: June 02, 2012, 03:41 PM »
Not exactly lacking frustration - though it does look pretty with its flashing lights!
-Carol Haynes (June 02, 2012, 10:54 AM)

some compensation :)
Tom

ewemoa

  • Honorary Member
  • Joined in 2008
  • **
  • Posts: 2,922
    • View Profile
    • Donate to Member
Re: Raspberry Pi - more woes!
« Reply #2 on: June 02, 2012, 10:04 PM »
Which Debian are you using (squeeze, wheezy, sid, or something else?) and what is the content of your /etc/resolv.conf?

4wd

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 5,643
    • View Profile
    • Donate to Member
Re: Raspberry Pi - more woes!
« Reply #3 on: June 03, 2012, 12: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?
-Carol Haynes (June 02, 2012, 10:54 AM)

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 :)

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,066
    • View Profile
    • Donate to Member
Re: Raspberry Pi - more woes!
« Reply #4 on: June 03, 2012, 07:01 AM »
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 ???