Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Engineering & Systems > Marine Electronics
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 21-10-2014, 03:11   #16
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Multiplexing NMEA on a router (NMEA over WiFi redux)

Quote:
Originally Posted by Mollymawk View Post
One scenario I haven't tackled yet is connecting the USB serial adaptors after startup. By declaring the serial interfaces as optional in the kplex config file, kplex will load even if the adaptors are not plugged in, but I don't think it will start reading data from them when they are connected. The simple workaround is to reboot the router after connecting the adaptors, if they weren't connected at startup, but ideally I'd like to be able to (re)start kplex when a USB serial adaptor is plugged in.
On Linux (I'm not familiar with OpenWRT) you can re-start kplex when a usb device is plugged in using udev:
Writing udev rules

I'd look at doing something with udev, hotplug2 or whatever covers that functionality on the version of OpenWRT that you're using
muttnik is offline   Reply With Quote
Old 21-10-2014, 05:18   #17
Registered User
 
Mollymawk's Avatar

Join Date: Nov 2009
Location: on the high seas
Boat: "Mollymawk" 50ft Steel Ketch
Posts: 149
Re: Multiplexing NMEA on a router (NMEA over WiFi redux)

Quote:
Originally Posted by muttnik View Post
On Linux (I'm not familiar with OpenWRT) you can re-start kplex when a usb device is plugged in using udev:
Writing udev rules

I'd look at doing something with udev, hotplug2 or whatever covers that functionality on the version of OpenWRT that you're using

Thanks Keith, I'll play with that and see what solution I cone up with.

It occurred to me that a nice feature for kplex would be an option to start up even if certain interfaces did not exist, and then to keep polling for them until they did exist. Likewise, if an interface was disconnected it could begin polling for it until it was reconnected.
I think this option would be useful on the desktop, too, not just on routers.

Cheers, Caesar
__________________
www.yachtmollymawk.com
Mollymawk is offline   Reply With Quote
Reply

Tags
nmea, route


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Wifi Router Configuration Question Dockhead Marine Electronics 5 01-04-2014 02:59
3G/Wifi: Locomarine Yacht Router Micro Reviews? Emerald Sea Product or Service Reviews & Evaluations 16 12-02-2014 10:07
Need WiFi Router, Coax and Antenna David M Marine Electronics 16 31-01-2012 16:52
Does a Wireless 3G AND Wifi Input Router Exist ? Fuss Marine Electronics 12 21-02-2011 19:37
WiFi Bullet and Linksys Router Config Meck Marine Electronics 1 17-10-2009 08:03

Advertise Here


All times are GMT -7. The time now is 00:08.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.