I want to be able to plug my Keyspan USB to Serial adapter into my router and control a RS232 deivice over the WiFi using a Windows laptop.
I'm using a GL-iNET router running the current 3.203
I found and installed kmod-usb-serial-keyspan plugin from the repository and it seems to have automatically installed other plugins that I assume it relies on.
Now when I plug it into the router, if I'm in the "Internet" tab, it seems to get detected as a 3G/4G Modem? Not sure if that's right but if I go to manual settup it seems mounted as /dev/ttyUSB0 which I think is right for a serial device??
Then under service, I can only choose LTE/UMTS/GPRS or CDMA/EVDO. I would assume neither of these are correct because it not actually a 3G/4G modem....
I've done lots of Googling and tried searching the forums but I'm just not getting the next step, the most similar I found was this;
But it seemed more about getting the adapter to mount, plus I have no idea how to open a terminal window on the router anyway, I tried via the browser and also using putty.
I also would assume for my laptop to find the adapter via the WiFi I'd need some software running on my laptop to mount it as a device?
Okay, slightly embarrassed as I bricked it when trying to put openwrt on it from this website. I recovered it with uboot, got it back to where I was and when I log in via ssh i see it’s running OpenWrt 19.07.7
I still can get my head around how even once the router has mounted the adapter, how does the windows laptop see the RS232 device over the network?
I’ve had USB network servers in the past that need software running on the laptop to detect and mount the USB device as if it’s locally connected.
You are expecting to plug in a device into a Linux router and then that device to automatically appear in Device Manager on a Windows laptop? That would be the biggest security / privacy / usability / ownership / control issue in all computing history!
But I guess you are at least partially correct. That's where we're heading, seeing how dbus & systemd connects everything in Linux and Windows integrates Linux.
Sorry to dissapoint, we're not there yet. Just wait 10 more years... OpenWRT will have this "feature" too.
There are various different pieces of equipment that I want to connect to via their own specific control software, all different manufacturers and software from Dolby equipment to Sony equipment that needs null modem adapters etc.
The USB adapter locally works fine with these devices but I want to use the adapter via the USB port in the router.
I was hoping these drivers would somehow allow this.