OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › From where to begin ?
- This topic is empty.
-
AuthorPosts
-
July 30, 2014 at 3:11 pm #23079
ChaoscripTMemberHi,
I bought RPi, bought the OSPi, bought power source,
I know how to assemble all.
But please need your help from where to download the latest program to SD card?
What need to install before install the program ?Regards.
July 30, 2014 at 6:21 pm #27676
scottshParticipantCheck out the wiki for the basics – it will get you going. http://rayshobby.net/mediawiki/index.php?title=OpenSprinkler_Pi
Scott
July 31, 2014 at 8:59 pm #27677
rederikusParticipantThe direct download link for the pre-configured SD card image is here http://rayshobby.net/?p=7606 as are the links to the instructions as to how to get the image onto a microSDcard.
If you get stuck, come back here.
August 1, 2014 at 5:19 am #27678
RayKeymasterI assume you have OSPi 1.4. Have you checked the OSPi 1.4 user manual:
http://rayshobby.net/docs/ospi14_manual.pdf
it has all the information you need, from hardware setup to software setup.August 1, 2014 at 5:37 am #27679
ChaoscripTMemberAnd which program to install?
The interval? Or the other?Regards
August 1, 2014 at 5:19 pm #27680
rederikusParticipantOnce you have a microSD Card with the image on it as per my earlier post, you just stick the card in Ray’s adapter and then into the Pi and power it up. OSPi is designed to work headless i.e. without a screen but if you have your Pi connected to a screen and keyboard/mouse then you can login to the Pi (Username: pi, Password: raspberry) and play with the Pi.
To manage OSPi it will be better to use PuTTY http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html to access the OSPI once it is installed. You will need to find the IP address of your OSPi and this can be done in several ways.
– If you have a screen and keyboard connected, just typeifconfig
at the command line. This will display the IP addresses of the wired (eth0) and wireless (wlan0) interfaces.
– on an Android phone please download Fing from GooglePlay
– in Windows try Advanced IP Scanner here http://www.advanced-ip-scanner.com/Both the above utilities will reveal the current IP address of the Pi so that you can use PuTTY. You will also need the IP address when you install and configure salbahra’s OpenSprinkler program or to access OSPi’s internal web pages using :8080
Once you can access the Pi, and the web pages please come back here and we can help you along further. All this is a little bit daunting at first and if, like me you are not a Linux guru it seems even harder. However learning is about stumbling about an banging into things until you learn enough to ask the right questions. Even then the folk in here will guide you towards the right questions.
It is worth it because once it works, OSPi is brilliant.
August 3, 2014 at 11:12 am #27681
ChaoscripTMemberOK,
So I burn the microSD card with the OSPi pre-configured 2.0 (from Manual 1.4 PDF),
Mount the card to RPi, connect to TV with Keyboard and WIFI dongle,
I got this screen,
http://imgur.com/UKy5NZkHow can I to configure the WIFI connection ?
Regards.
August 3, 2014 at 2:19 pm #27682
richpuchParticipantChaoscripT,
Check out:
I set mine up similar to “/etc/network/interfaces method “
post if you get stumped.
Rich
August 3, 2014 at 3:50 pm #27683
ChaoscripTMember@Rich,
Thanks, works good now.Regards.
August 3, 2014 at 4:00 pm #27684
rederikusParticipantWell done. From looking at your pic, it works. If you want to set up your WiFi and to use a fixed IP address (most useful ‘cuz that way it will always stay the same) try this.
You need to change two files on your system, /etc/network/interfaces and /etc/wpa_supplicant/wpa_supplicant.conf. Edit both files to match the samples from my working system. Obviously you will need to insert your IP address into interfaces and the name (ssid) of your wireless system and its encryption type (WPA, etc.) and your wireless key or password in wpa_supplicant.conf.
You can use a number of text editors to edit your files. There is vi, nano or pico. I use pico. To edit a file type sudo pico /path/filename.ext So to edit interfaces, type
sudo pico /etc/network/interfaces. You need to command sudo (Super User Do) to allow you to edit and save system files./etc/network/interfaces [/color
#File /etc/network/interfaces
# This file will setup your wireless network (wlan0) to have a fixed IP address
#
auto lo
iface lo inet loopback
# If you wish a fixd IP on your wired LAN (eth0) replace wlan0 with eth0 and vice versa in the line below
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
# Put your network (IP-address etc.) here
# If you wish a fixd IP on your wired LAN (eth0) replace wla0 with eth0 and vice versa in the line below
iface wlan0 inet static
address 192.168.1.50
netmask 255.255.255.0
gateway 192.168.1.1
# The file wpa_supplicant.conf defines your wireless network login parameters and will not be needed if you are using eth0
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
#File: /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="your_wireless_network_name"
scan_ssid=1
psk="your_wireless_network_key_or_password"
# key_mgnt is the type of wireless encryption mine is WPA_PSK
key_mgmt=WPA-PSK
id_str="home"
priority=15
}
I hope this helps.
-
AuthorPosts
- You must be logged in to reply to this topic.
OpenSprinkler › Forums › Hardware Questions › OpenSprinkler Pi (OSPi) › From where to begin ?