30.1.15

Raspberry Pi Day 2

Found out something interesting today.

When you reboot the Raspberry Pi is automatically changes the nameservers to be the ones your router provides. So, you need to have the secondary DNS set at the router level to ensure that you get a Google DNS server in the /etc/resolv.conf file, you have to edit that file after every reboot.

Also, I made the box into a case. I used the chipboard scraps from the power cable packaging to wrap a protective barrier around 4 bent paper clips. I marked and made holes in the box for the paper clips to go through. I bent one end to stop them from failing through. I then rolled up the chipboard bits and put them through the 4 mount holes in the Pi. I put the Pi into the original box, with the chipboard spacers/protectors in place.

Then, I pushed the paperclips through the box holes, and the chipboard. Next I bent the protruding paperclip bits back toward the box. I kept one end open, and used an Exact-O knife to cut a hole for the power cable. Next, I switched which end was open, and cut off one flap, and then made a hole for the Ethernet cable. Then I closed up the box, and cut a box-size piece of the foam padding from the tablet case packaging out to rest the box on. Next, I just plugged back in the two cables, and was good to go.

0 Comments:

Post a Comment

<< Home