These are chat archives for nebrius/raspi-io

13th
Jan 2016
KatieK
@KatieK2
Jan 13 2016 02:54 UTC
Hello! I'm trying to install and use raspi-io for the first time. I'm getting an error when I install raspi-io:
npm ERR! raspi-wiringpi@1.0.6 install: sh install-wiringpi.sh
npm ERR! Exit status 1
This occurs when doing npm install raspi-io. Can anyone thing of what I might be doing wrong?
Tiago Alves
@tralves
Jan 13 2016 02:57 UTC
did you try with sudo?
(i am just guessing here...)
KatieK
@KatieK2
Jan 13 2016 02:58 UTC
I'm using OSX El Cap, Node v4.2.2, npm 2.14.7, and a Rasberry Pi B with 2015-11-21-raspbian-jessie connected via USB.
Heh, yeah, I tried sudo npm install raspi-io and even npm install raspi-wiringpi
Tiago Alves
@tralves
Jan 13 2016 03:00 UTC
hum... usb? but can you open an ssh connection to the rpi?
KatieK
@KatieK2
Jan 13 2016 03:00 UTC
I dunno. How would I do that? Would that help get raspi-io installed on my computer?
Tiago Alves
@tralves
Jan 13 2016 03:00 UTC
because you can't install raspi-io on the mac. You have to connect to the rpi (through ssh) and run that command there
KatieK
@KatieK2
Jan 13 2016 03:01 UTC
Oh. Whoopsie!
Tiago Alves
@tralves
Jan 13 2016 03:02 UTC
I think with an ethernet cable would be easier
or connect a monitor and a keyboard in the rpi :)
KatieK
@KatieK2
Jan 13 2016 03:03 UTC
I have a wifi dongle for the Pi.
Tiago Alves
@tralves
Jan 13 2016 03:04 UTC
that's good. is it configured? you need to connect a keyboard and a monitor, at least for the first time, to configure that.
KatieK
@KatieK2
Jan 13 2016 03:05 UTC
Nope, not configured. I guess I'll have to do that stuff
Tiago Alves
@tralves
Jan 13 2016 03:06 UTC
you do... with an ethernet cable you could do it too. But the monitor and keyboard is waaay easier.
KatieK
@KatieK2
Jan 13 2016 03:08 UTC
I think it'll be easier for me to hunt down an ethernet cable and such. Thanks for setting me on the right path!
Tiago Alves
@tralves
Jan 13 2016 03:08 UTC
no problem!
Bryan Hughes
@nebrius
Jan 13 2016 03:19 UTC
hi @KatieK2! :wave:
Here’s a command for OS X that’s very helpful if you’re going to connect for the first time without a mouse and keyboard: cat /var/db/dhcpd_leases
this will show you the IP address of all systems that you are sharing your Mac’s internet connection with
so, for example, if you’re sharing your Wifi to an ethernet dongle that is then connected to your RPi, this will show you the IP of your RPi
KatieK
@KatieK2
Jan 13 2016 03:45 UTC
Cool, thanks @nebrius !