Hi,
I have an Emlid reach kit, and am trying to get it to work.
It had the older firmware (0.4.9). I flashed the newer V2.3. It comes up, I can
see it create a hotspot, but I’ve had trouble having it connect to a network to
do the auto-update.
It was able to auto-update before with the older firmware, and used to be
able to link to my wifi router. So the hardware should be OK I think.
Today I tried to do something ultra-simple that should have worked. I plugged my macbook pro (OSX version 10.8.5) into my internet router via ethernet cable and shared my internet connection from the network via wifi, on an open network, after setting up the emlid reach using its hotspot and the web-based tool to set up the wifi. I also tested the internet sharing with another wireless computer to confirm I could get to the internet. I also connected to the emlid reach via ssh and confirmed the wpa_supplicant.conf.
Everything looked like it should have worked but I couldn’t get to the reach:
setup emlid reach via hotspot:
root@reach[/etc/wpa_supplicant]# cat wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
config_methods=virtual_push_button virtual_display push_button keypad
update_config=1
fast_reauth=1
device_name=Edison
manufacturer=Intel
model_name=Edison
network={
ssid="fox"
key_mgmt=NONE
}
Plugged ethernet cable into my mac.
shared ethernet over wifi, with ssid ‘fox’ from my macbook pro
-tried using the wifi from a different machine, which got IP address 192.168.2.4 successfully
and could successfully get out to the internet.
Figured out how to see what IP addresses were being served by my DHCP server:
Aug 9 09:55:51 fox.local bootpd[3498]: ACK sent 6506040ndreward 192.168.2.4 pktsize 300
Aug 9 09:55:51 fox.local bootpd[3498]: service time 0.001029 seconds
Aug 9 09:55:51 fox.local bootpd[3498]: service time 0.000002 seconds
Turned on the reach (mac address ending :34:9b):
Aug 9 09:57:06 fox.local bootpd[3498]: DHCP DISCOVER [bridge0]: 1,90:b6:86:3:34:9b
Aug 9 09:57:06 fox.local bootpd[3498]: OFFER sent 192.168.2.3 pktsize 300
Aug 9 09:57:06 fox.local bootpd[3498]: service time 0.001648 seconds
Aug 9 09:57:06 fox.local bootpd[3498]: service time 0.000002 seconds
Aug 9 09:57:06 fox.local bootpd[3498]: DHCP REQUEST [bridge0]: 1,90:b6:86:3:34:9b
Aug 9 09:57:06 fox.local bootpd[3498]: ACK sent 192.168.2.3 pktsize 300
Aug 9 09:57:06 fox.local bootpd[3498]: service time 0.001407 seconds
Aug 9 09:57:06 fox.local bootpd[3498]: service time 0.000003 seconds
Aug 9 09:58:22 fox.local bootpd[3498]: service time 0.000015 seconds
So I see that it tried to connect. An IP address was offered. An ack was received. So
it should have address 192.168.2.3. However, ping fails, and I cant get to it via a web
browser either. So I can’t kick off the update ever.
fox$ ping 192.168.2.3
PING 192.168.2.3 (192.168.2.3): 56 data bytes
Request timeout for icmp_seq 0
Request timeout for icmp_seq 1
Request timeout for icmp_seq 2
Request timeout for icmp_seq 3
Any ideas on how to further proceed?
I wouldn’t mind just updating the software by hand if there is a way to do so. What I mean is, can I download the file onto a computer with internet access and then scp and put them onto the reach?
End goal: use it as a DGPS with a pixhawk to have cm level precision while flying a mission. I plan to accomplish that first via separate telemetry radios to send the base correction directly to the rover onboard the aircraft. I would like to configure the rover to send the output as NMEA serial hooked into the GPS port of the pixhawk. I’ll be using arducopter 3.3.3 firmware to start with since I’ve made some custom changes to support other project goals.
For now I am just trying to get it to work as a ‘single’ rover as the first step.
thanks!