Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   Programming (http://www.chiefdelphi.com/forums/forumdisplay.php?f=51)
-   -   Well, this is getting a bit old, but here is round 3 (http://www.chiefdelphi.com/forums/showthread.php?t=153488)

MikePerreman 11-01-2017 19:30

Well, this is getting a bit old, but here is round 3
 
so, brand new laptop, i installed the update suite, cpp and java plugins, well, surprise surprise, the mdns doesn't work right, i can connect fine over usb and ethernet, if i set the roborio to a static 10.2.47.2, just put that in the ds, and dumping code seems to work ok. but i feel it more of a workaround, not a fix. i am running windows 10, and it would appear that, between windows and dell, its up to date. is there a mdns that im supposed to install as a worst case senerio, or what. this is the 3rd (unique) laptop that has this problem. what have i done wrong?

nevermind, dumping code doesnt work, it gets here:
get-target-ip:
[echo] Trying Target: roboRIO-247-FRC.local
Unknown host: roboRIO-247-FRC.local
[echo] roboRIO not found via mDNS, falling back to DNS
Unknown host: roboRIO-247-FRC.lan
[echo] roboRIO not found via DNS, falling back to static USB
[echo] roboRIO found via static USB
dependencies:
then stalls out, the bot is not connected via USB, only wireless

AustinShalit 12-01-2017 00:19

Re: Well, this is getting a bit old, but here is round 3
 
Using static IP addresses is perfectly fine and plenty of teams use them. If you want to continue troubleshooting the networking over mDNS, please make sure you have done the following:

Is your laptop able to obtain an IP address from the radio?

MikePerreman 12-01-2017 16:17

Re: Well, this is getting a bit old, but here is round 3
 
ok, everything has been updated, i am getting the ip 10.2.47.107, and everything has been restarted. still no mdns. (going to the ds and scanning tells me none found, however putting in 10.2.47.2 connects to the bot)

MikePerreman 13-01-2017 21:32

Re: Well, this is getting a bit old, but here is round 3
 
i dont approve of bumps, but this is urgent

frodobaggins05 14-01-2017 11:16

Re: Well, this is getting a bit old, but here is round 3
 
Do you have a roborio on your robot?

frodobaggins05 14-01-2017 11:17

Re: Well, this is getting a bit old, but here is round 3
 
If so, have you installed labview on your computer?

MikePerreman 14-01-2017 12:45

Re: Well, this is getting a bit old, but here is round 3
 
yes, we have the roborio on our bot, and i have not installed labveiw, we are a java team, so i havent even bothered with that. heres some more info on my situation:
So, our programming mentor and i cannot connect to the RIO over wireless, tethered works just fine, and infact, when tethered, one the tethered is disconnected, we keep wireless comms until you disconnect from the radio, and reconnect. in the DS the 'light' next to robot radio is on. pinging roborio-247-frc.local, on my laptop results in something to the extent of host name not found, and on the mentor's we get a destination host unreachable. however, on the other programming laptop, works first try, every try. ive disabled IPv6 and both mDNS and ni mDNS is allowed through the firewall of my laptop, if a model helps, its a dell inspiron 15.

here is the versions from the DS
DS: 17.0a11
RIO: FRC_roboRIO_2017_v8
Lib: Java 2017.1.1
PCM: 1.65
PDP: 1.40

MikePerreman 14-01-2017 12:47

Re: Well, this is getting a bit old, but here is round 3
 
is there a different board that this thread should be on?

frodobaggins05 14-01-2017 13:01

Re: Well, this is getting a bit old, but here is round 3
 
Try installing labview and using that.Roborio and Labview are both made by National Instruments and are made for each other

gbear605 14-01-2017 13:31

You definitely shouldn't need to install LabView (source: our team doesn't have this issue and doesn't have LabView installed).

Try the following fixes. Any one of them might solve your issue.

Have you tried reflashing the radio firmware (see ScreenSteps for instructions)?

Have you tried a different radio?

Have you tried a different roboRIO?

Have you tried reflashing the roboRIO firmware?


Sent from my iPhone using Tapatalk

frodobaggins05 14-01-2017 13:39

Re: Well, this is getting a bit old, but here is round 3
 
You dont need to use Labview but they work better together and can eliminate a lot of problems

Fletch1373 14-01-2017 14:55

Re: Well, this is getting a bit old, but here is round 3
 
Shot in the dark here... Have you checked whether Windows Firewall is disabled? That is strongly recommended. If you absolutely can't/won't disabled it, you can allow the NI mDNS Responder application through the firewall.

Quote:

Originally Posted by frodobaggins05 (Post 1631102)
Try installing labview and using that.Roborio and Labview are both made by National Instruments and are made for each other

No. Just no. The RoboRio was made by NI for FRC. It was made to support LabView, but most certainly does not require it. FIRST/WPI/et al. work in consultation with NI to get the C++/Java versions working equally as well.

nickmcski 14-01-2017 15:24

Re: Well, this is getting a bit old, but here is round 3
 
Check in your services to see if mDNS service is running (or if its listed), it should have been installed when you ran the FRC 2017 update suite.

Can confirm that your computer is properly connecting to the router? You should have an IP address like 10.TE.AM.x (You can see this by opening the command line and typing ipconfig)


As a last case scenario, you could try to install iTunes. (I know it sounds crazy) iTunes has apples Bonjor service, another mDNS responder. You shouldn't need to install this though, if you were to I would only use it as a temporary solution to ensure connectivity.

MikePerreman 14-01-2017 19:56

Re: Well, this is getting a bit old, but here is round 3
 
ok, i have installed labveiw, and the bot connects, so long as the rio is the first thing i connect to, however, once i connect to the internet, it can no longer connects to the rio. i do get my ip from the router (most often 10.2.47.107 most often) ive re-flashed the radio and the rio 3 times a piece, we dont have another radio/rio to test at the moment, the ni mdns responder is running and allowed through the firewall, and i have installed bonjior (or however its spells) from itunes.

MikePerreman 14-01-2017 20:07

Re: Well, this is getting a bit old, but here is round 3
 
Aha! if i disconect from wifi, disable my wifi chip, enable, then connect to the bot, it works, however if i disconnect and connect to the internet, i cant connect to the rio anymore.
just turning the wireless off and back on doesnt work


All times are GMT -5. The time now is 23:35.

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