Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Eclipse can't find RoboRIO (http://www.chiefdelphi.com/forums/showthread.php?t=132442)

1452-Leo 08-01-2015 20:52

Eclipse can't find RoboRIO
 
We have been having trouble uploading code to the RoboRIO when connected over wifi. It works fine through ethernet, but wifi gives this error:
Code:

get-target-ip:
        [echo] Trying Target: roboRIO-1452.local
Unknown host: roboRIO-1452.local
        [echo]  roboRIO not found via mDNS, falling back to static USB
        [echo] roboRIO not found via USB, falling back to static address of 10.14.52.2

BUILD FAILED
/Users/*****/wpilib/cpp/current/ant/build.xml:45: Assertion failed boolean test.
roboRIO not found, please check that the roboRIO is connected, imaged and that the team number is set properly in Eclipse

Does anyone know what could be causing this? We've had the same result with two different Macs. We also tried pinging roboRIO-1452.local and nothing came up. Thanks!

kylelanman 08-01-2015 21:03

Re: Eclipse can't find RoboRIO
 
From the sounds of it you are probably running into this.
http://www.chiefdelphi.com/forums/sh...hreadid=132337

Check the IP address of the Wireless Network Adapter on your computer.
System Preferences -> Network -> Wifi. Most likely it will not be 1.14.25.x.

As far as I know the only work around is to manually configure an IP address on your laptop.

IP: 1.14.25.6
Subnet: 255.255.255.0

Setting a manual IP on a mac.
http://www.macinstruct.com/node/550

Team3266Spencer 08-01-2015 21:08

Re: Eclipse can't find RoboRIO
 
If you used the Router Configuration Tool the DHCP should set the ip to 10.x.y.20 - 99, x.y being your team number and the last part ranging from 20 to 99. Make sure the DHCP server is setup on your DLink.

1452-Leo 08-01-2015 21:09

Re: Eclipse can't find RoboRIO
 
Unfortunately I'm no longer with the robot, but I ran an "arp -a" while I was there and here are the results:
Code:

? (10.14.52.255) at ff:ff:ff:ff:ff:ff on en1 ifscope [ethernet]
? (17.173.254.222) at (incomplete) on en1 ifscope [ethernet]
? (17.173.254.223) at (incomplete) on en1 ifscope [ethernet]
? (224.0.0.251) at 1:0:5e:0:0:fb on en1 ifscope permanent [ethernet]

I'll try both of the suggestions above and get back with results tomorrow. Thanks for the help!

EDIT: I changed the dLink to DHCP mode and it works! Does anyone know why this doesn't happen by default?


All times are GMT -5. The time now is 02:38.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi