Hello all,
I have recently purchased the WiFi (814) adapter
http://www.adafruit.com/products/814 from Adafruit for my RaspBerry Pi on the Wheezy Raspbian distribution of Linux at raspberrypi.org
http://downloads.raspberrypi.org/images/raspbian/2012-10-28-wheezy-raspbian/2012-10-28-wheezy-raspbian.zip and happen to get WiFi to work successfully, however when I use the HDMI cable for my monitor and reboot the Pi the WiFi adapter stops working (conflicting). My intent is to create projects which uses Java 8 and JavaFX 8 on a Raspberry Pi having a WiFi adapter.
Below are my steps to get WiFi working:
1) Install or obtain Raspbian linux onto an SD card (link above).
2) Connect using Ethernet to your router and Pi.
3) Connect power 5v 1amp or 2amp mini usb to Rpi.
4) Follow Stephen Chin's steps:
http://javafx.steveonjava.com/javafx-on ... asy-steps/ This will help you install Raspbian and Java8/JavaFX 8.
5) setup your network interface file settings like below.
On another machine on the network ssh into the Rpi and edit the interfaces file. (assuming you backed up the file)
* Note: To locate your raspberry pi on your home network go to your (gateway) router web admin interface and look at the computers connected on the network. You should see the raspberry pi and its ip address (w/ mac address). You may want to make the raspberry pi a static ip (reserved ip) on the router (via dhcp) so you won't have to look up the ip address in the later steps.
Once the ip is located ssh into the machine:
$ ssh 10.0.0.23 -l pi
pi@10.0.0.23's password:
Linux raspberrypi 3.2.27+ #250 PREEMPT Thu Oct 18 19:03:02 BST 2012 armv6l
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Mon Dec 17 06:29:51 2012
pi@raspberrypi ~ $ sudo nano /etc/network/interfaces
Next, enter the following into the file then save and exit.
auto lo
iface lo inet loopback
iface eth0 inet dhcp
allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
wpa-scan-ssid 1
wpa-ssid mysid
wpa-psk passphrase
6) Unplug power supply, Unplug Ethernet
7) Plug in the WiFi adapter
8 ) Reconnect usb power (let it boot and wait for awhile 1-3 minutes).
9) Locate the ip and ssh into your Rpi.
Once confirmed that you can login the Pi, You should be ready to compile and run Java 8 applications!
The next steps is how to reproduce my problem when Wifi and the HDMI are plugged into the RaspBerryPi.
1) Unplug power supply
2) Connect usb keyboard, WiFi Adapter and hdmi cable to the Pi and monitor (hdmi to dvi adapter).
3) Select monitor to DVI-D to view the Rpi booting up.
4) Replug power supply to restart Rpi.
5) Observe messages relating to setting up and initializing the WiFi adapter.
6) Follow step 9 above on another computer on the same network (domain). Here is were I am unable to ssh into the Rpi.
I hope others can assist or have advice to give. Much is appreciated.
Thanks,
Carl
References:
http://javafx.steveonjava.com/javafx-on ... asy-steps/https://blogs.oracle.com/javajungle/ent ... rry_pi_forhttp://harmoniccode.blogspot.de/2012/11 ... art-i.htmlhttp://fxexperience.com/2012/12/javafx-on-raspberry-pi/http://jdk8.java.net/fxarmpreview/javaf ... eview.htmlhttp://www.savagehomeautomation.com/pro ... velop.htmlhttp://jdk8.java.net/fxarmpreview/javaf ... eview.html