Initial software install

18 posts / 0 new
Last post
Walter
Walter's picture
Initial software install

I found instructions in the wiki that show step by step how to install the image from Linux and Windows but no instructions for Mac. This is my first experience with RPi. Don't have the kit I ordered yet (I knew that would take a while), but figured I could go ahead and get started with the setup of the new RPi 3.

Found Apple Pi Baker (http://www.tweaking4all.com/hardware/raspberry-pi/macosx-apple-pi-baker/) that I can use to install the image onto the sd card. Looked at the Windows instructions and it appears that once I install the sd card into the Pi I just need to connect the pi to my LAN and I'll be able to connect via vnc to complete the setup. Is that really all there is to it, or have I missed something? Also not sure which image to download and install? The wiki shows two. Hivetool and hivecontool.

wwfoste
Install on Mac

I just went through this. I just used the terminal to load it up following general instructions found here: http://elinux.org/RPi_Easy_SD_Card_Setup. I'm at work for the rest of the night, but if you need it I can post what I did tomorrow as I wrote it down. After it's loaded, I used ITerm ssh to work on the PI and to set up VNC on it. I used TightVNC for remote access. See here for VNC info: http://gettingstartedwithraspberrypi.tumblr.com/post/24142374137/setting.... I'm currently only using the 0.7.3 Hivetool version.

Walter
Walter's picture
Would be great if you could

Would be great if you could post the step by step. No rush though, I want to at least get the pi mounted in my enclosure before I start installing software.

Adrian
Which version to install

Hivetool is the basic Hivetool 0.7.3 RC3 while HiveConTool also includes HiveControl an alternate package which may also be downloaded from GitHub as a standalone. The nice thing about HiveConTool is one may easily switch between the two using links.

Consider PiWriter2 for writing images to the SD card under newer Mac IOS https://sourceforge.net/projects/piwriter/files/PiWriter-2.x/

Adrian Ogden

Walter
Walter's picture
PiWriter2

Saw recommendations for this app in the install guide that wwfoste linked to. They reported that it no longer worked though. Maybe the guide just needs an update. Same thing for ApplePiBaker.

Thanks for the info on HiveConTool.

wwfoste
Mac install

Here's what I did. After downloading the file, check the MD5 sum and unzip the file. I saved the file to my user folder. Then using Terminal, I did the following: diskutil unmountDisk /dev/disk1 (or whatever your disk is called). Then, sudo dd bs=1m if=hivetool073.img of=/dev/rdisk1 to install to the sd card.

Walter
Walter's picture
Thanks

Thanks wwfoste. Couldn't get PiWriter2 to work (failed to unmount disk) but manual via command line worked great.

Walter
Walter's picture
I have everything connected

I have everything connected on my pi3. When I connect the ac power I see red and green led's blinking, but no network activity via lan. My ethernet switch is also showing no activity on that port. I tried 2 different cat6 cables just to be sure it's not a bad cable, but no luck. Is there something that must be configured to get ethernet working?

Adrian
Booting Hivetool up for the first time

When you first boot up you will need to establish a local terminal session. Connect an HDMI monitor and USB keyboard & mouse or Bluetooth keypad with dongle. Attach the WiFi dongle or with Pi3 use onboard WFi. Once you have a terminal session and see the despot you can configure the Pi for wired or wireless connectivity. Since the Hivetool image 0.7.3 is somewhat old it's best to expand the image then install all the OS updates. Once the WiFi is connected you can operate headless to complete the configuration.

In my opinion the Hivetool 0.7.3 should not be used, HiveControl or the soon to be released 0.7.4 image are the more current software. Hivetool 0.7.3 has problems that will require fixing manually. https://github.com/rcrum003/HiveControl

Adrian Ogden

Adrian
First Boot Headless WiFi PreConfiguration - no monitor needed!

The Raspian unfortunately included in the current images are not capable of preconfiguring WiF security authentication.
The forthcoming (latest) will be, as follows.
"If a wpa_supplicant.conf file is placed into the /boot/ directory, this will be moved to the /etc/wpa_supplicant/ directory the next time the system is booted, overwriting the network settings; this allows a Wifi configuration to be preloaded onto a card from a Windows or other machine that can only see the boot partition."

Adrian Ogden

Walter
Walter's picture
That's unfortunate. Didn't

That's unfortunate. Didn't realize I would need to purchase a monitor.

I'm actually using hivecontool. Will that work?

Paul
Paul's picture
Shouldn't have to have a monitor

I'll expand on this later, but you shouldn't HAVE to purchase a monitor. I use a terminal to connect to the serial console and use the command line interface for trouble shooting. If you know the IP of the Pi, you should also be able to ssh in or use a browser to hit the Pi's web server. Also note that you can use an HDMI TV or HDMI to VGA converter and connect to the Pi's video output.

When the Pi is configured and working, you definitely don't need a monitor at the hive!

Walter
Walter's picture
No active network

Not sure what you mean about connect a terminal to the serial console, but the pi doesn't have any active Ethernet port or wifi as far as I can tell. It definatly doesn't have an assigned ip. I checked that.

I believe that's going to eliminate the possibility of telnet vnc or ssh connections.

The only activity I see is the red and green led's located next to the microusb power port. I'll do some hunting and see if I can find something cheap that I can connect to the HDMI port just to see if it's active.

Is there any documentation on how to do the initial setup? I had thought it was done through a graphic interface but now it looks like it's all done through Terminal? I can cu and paste commands but don't really know what I'm doing or the proper commands to use.

Walter
Walter's picture
Found a dvi to HDMI adapter

Found a dvi to HDMI adapter cheap so hopefully this will allow me to connect an existing monitor/keyboard. Not sure what the next step is though. My goal would be to activate the Ethernet port and be able to connect via vnc. Could use some advice or documentation on what steps are required to get there in either hive tool or hive control. I've got the most recent hivecontool image loaded on the microsd chip.

Walter
Walter's picture
Errors

I'm not done setting up, but am getting errors. Did I miss something?

Image: 
Adrian
Getting errors at startup

I failed to disable the sensors before making the image so you will need to turn off devices that are not connected. The same holds true for Hivetool. Pay attention to the installation document on the download site, it should help answer some of your questions. If you find omissions let me know so I can fix for others. Apologies for non-windows users I don't have experience installing under other OS. Welcome aboard!

Adrian Ogden

Walter
Walter's picture
Actually, I have all sensors

Actually, I have all sensors installed except rain gauge and camera.

Installation has been fairly easy so far. I used the Raspberry documentation (https://www.raspberrypi.org/documentation/) and did most of the initial setup from the command line. VNC was the only thing that took a little extra researching, but it's working also. Now just need to get HiveControl specific settings correct.

Adrian
contact for startup assistance

If you would additional startup assistance you can email me at napaogden at gmail.com or you can call me at 707 two 8 7 35 fourty.
Bear in mind I am not a programmer.
Regards,
Adrian

Adrian Ogden

Log in to post comments