Keyboard Shortcuts
ctrl + shift + ? :
Show all keyboard shortcuts
ctrl + g :
Navigate to a group
ctrl + shift + f :
Find
ctrl + / :
Quick actions
esc to dismiss
Likes
Search
Locked JMRI Web Server and multiple IP addresses
Hello all,
In a multiple IP address environment, where the computer has multiple connections and multiple IP addresses, I would like to know when one launches the JMRI Web Server and/or the WIThrottle server, how does it know which IP address to choose, is it random, first found, smaller number? etc. The house I am in there is one main router for all computers. We also run a wifi tablet to run a tower panel for one turnout and a couple of train order boards and one signal. The wifi in the train room is very feeble. I installed a second router in the train room with its own wifi, and this one is used mostly for wifi throttles, and this one tablet. The issue is that in order to make it work, I have to disable the ethernet connection, have the wifi up to the train room router, launch JMRI, start the web server and withrottle server, then enable the ethernet. At this point all is well but one thing. We also share the roster from one computer, so it could be accessed from others around the layout. But JMRI having started with that share off (being the ethernet connection disabled), cannot see the share, even after reenabling the ethernet connection and refreshing explorer to see the share contents. Catch 22. In the Preferences, for both servers, there are entries to select the port to be used. Would it be possible to add which IP to use? (as a new feature) Thank you Leo P |
Randall Wood
The web server works on all IPv4 and IPv6 addresses. Same for the WiThrottle even though it shows only one address in its window.
Randall On Mar 6, 2018, at 15:15, leo pesce lpescester@... [jmriusers] <jmriusers@...> wrote: [Non-text portions of this message have been removed] |
Jim Albanowski
Leo:
Testing a control system that is one it's own WiFi system and series of IP addresses. Do you want to have the "house" system share data with the "railroad" system? Not sure how to do that a the moment... bridging between the two... But I have my house on Broadband to a primary Wifi router that services my "home" then over wire I go to a second WiFi, "railroad", router with it's own address range. All the the RR devices are then configured to that IP range. Since the second router is wired to the first it has Internet access but I haven't made any attempt to bridge in real time to the home system. Through the WiFi manager on the host RR system I can flip it's computer between the two. Host is not wired in. Let's try this... Command Station-wired-WiFi router-wired-main system-Wifi RR host So when you bring up WiThrottle server you get the IP that's been assigned by the router that it's talking to. Jim Albanowski <snip> |
Leo,
toggle quoted message
Show quoted text
Sounds like your process is similar to mine. The Quaker Valley RR has a Dlink wifi router in the train room which is not connected to the internet. I pull the plug on the connection to the house (cable modem and internet) and then start the railroad PC and JMRI. Being it only sees the wifi railroad router, that is where the Withrottle and Webserver connect. If needed, I can then reconnect the cable and get outside internet connection. Operators in the railroad room have connection to the JMRI servers, but no internet. I only have the one PC, so do not have the roster share issue you are describing. I do have the two routers on separate IP address. I think they are 192.168.0.100 and 192.168.1.100, but could be wrong. Don't go under the hood too often. Bob Bucklew ----- Original Message -----
From: "JMRI users yahoo" <jmriusers@...> To: "JMRI users yahoo" <jmriusers@...> Sent: Tuesday, March 6, 2018 3:15:46 PM Subject: [jmriusers] JMRI Web Server and multiple IP addresses Hello all, In a multiple IP address environment, where the computer has multiple connections and multiple IP addresses, I would like to know when one launches the JMRI Web Server and/or the WIThrottle server, how does it know which IP address to choose, is it random, first found, smaller number? etc. The house I am in there is one main router for all computers. We also run a wifi tablet to run a tower panel for one turnout and a couple of train order boards and one signal. The wifi in the train room is very feeble. I installed a second router in the train room with its own wifi, and this one is used mostly for wifi throttles, and this one tablet. The issue is that in order to make it work, I have to disable the ethernet connection, have the wifi up to the train room router, launch JMRI, start the web server and withrottle server, then enable the ethernet. At this point all is well but one thing. We also share the roster from one computer, so it could be accessed from others around the layout. But JMRI having started with that share off (being the ethernet connection disabled), cannot see the share, even after reenabling the ethernet connection and refreshing explorer to see the share contents. Catch 22. In the Preferences, for both servers, there are entries to select the port to be used. Would it be possible to add which IP to use? (as a new feature) Thank you Leo P |
To all,
first, thank you for all the responses. Tonight, during our monthly session, after I sent the email and while running a bunch of stuff, I got a java error which deteriorated the virtual throttle, to run warrants, and during dinner, I restarted JMRI. Following the email from Randall, I did not go through the procedure I described earlier, but instead just launched JMRI, then the Web Server. I then loaded the panel file, and when all was up, I went and checked the tablet (which was still connected to the same IP:port as earlier). To my surprise, the tablet worked, throwing the turnout, signal and TOB. So it looks like that indeed the server connected to both IP (unless of course I got lucky, 50 50) Anyway, for now we will finish the session (10pm west coast), with still lots of trains to be run. Cheers LeoP On Tue, Mar 6, 2018 at 4:52 PM, rbucklew rbucklew@... [jmriusers] < jmriusers@...> wrote:
[Non-text portions of this message have been removed] |
to navigate to use esc to dismiss