Load balancing router required for two 4G dongle based ISP [closed] - load-balancing

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I have internet connection at my home using a 4G wifi USB dongle, providing the hotspot. Since the service is not always good, I also use a second 4G USB dongle (with sim of a different service provider), when the first connection is down.
I, ideally, want a wifi router, which would take two 4G USB sticks as input, and in turn provide one single wifi network, with the two 4G connections as the backend. The objective is to get seamless internet connectivity (without having to discover internet failure the hard way and without manually switching to the second network).
Are such dual WAN (or whatever they may be called) routers available in the market? Would a Cisco RV320 be a close match to my requirement? In case, there are dual WAN routers available, but with ethernet port instead of USB port, is there an easy way to convert 4G USB dongle to ethernet RJ45 and then use in the router? I am located in India and if the solution is available at Amazon, receiving such link would be great.

What you are referring to is usually termed 'bonding' of internet channels.
It is a common technique to either get higher bandwidth than is otherwise available or to counter availability issues on any one link.
If you search for 'Internet bonding' services or routers you will find examples - e.g.:
https://www.wiredbroadcast.com/products.html#card-mediaport
http://simplybonding.com/examples/mobile-video-streaming.html

Related

Raspberry Pi 4 doesn't boot when attaching camera [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 2 years ago.
Improve this question
I am having problem connecting the camera module to my Raspberry Pi 4. The PI is working just fine, but when I attach the camera to the module, it just doesn't boot.
What might be causing this?
So you have a successfully booting system then after physically connecting the camera it will not boot?
First, double check the camera is connected properly. Meaning the blue side of the connections are facing the right way (i.e. blue side facing the USB ports on the RPi itself and facing the front of the camera on the camera module connection). A quick search found this post containing pictures, that is usually the issue. If that fails, consider options within the config.txt file on the /boot partition. Reference for config.txt.
One of the config options that gets added automatically when adding the camera interface via raspi-config is start_x=1 Camera entries within config.txt are described here. Be sure that you have enough memory configured (i.e. gpu_mem=128, though increasing that is probably a good idea if you're doing a lot with the GPU (motion detection, etc.). But the physical connection is most likely the culprit.

Reverse engineering a network interface [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
not sure if this is the right place to ask such a question - if not, perhaps you can direct me to the right place?
I've recently purchased a walking treadmill for my standing desk. It has a standalone control panel, connected to the base via an exposed LAN port. The panel has a few drawbacks (it's huge, has awkward and noisy buttons, no pause/return) and I wonder if I could write something very simple to control the treadmill from my PC instead. I imagine I'd need an ethernet splitter and something for network snooping to see the payload from button clicks? I've never done anything like this, so any pointers would be much appreciated. Thanks all!
1st: Be sure that the port is a compliant ethernet port to avoid damage of your equipment.
A cheap setup to analyze traffic between two devices is the use of a ethernethub or a switch which can be configured to broadcast all trafic and a pc with an ethernetsniffer. An alterntive to an hub could be two bridged ethernetcards on a pc.
A common, free and feature rich sniffer is whireshark.

Setup port mirorring on Sonos speakers [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'd like to capture the traffic sent by a Sonos speaker (to troubleshoot streaming issues).
I've found one way to do this but it's a bit cumbersome: I plug the Sonos speaker via an ethernet to usb adapter to my PC, share the PC connection and then capture on that interface.
It's limited to one speaker and if the speaker has ever been configured to use the WiFi, it seems that it uses WiFi even plugged that way (and I don't capture anything).
What's the detailed setup to use port mirorring to do this? I'd like to compare the two solutions and don't know much about port mirorring setup.
Thanks!
I would recommend getting yourself a network hub to plug Sonos and the computer into and capture from that.

creating dual ethernet connections with separate ip via usb [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
is it possible to set 2 separate ip addresses on a laptop by adding a USB network adaptor?
And if so, which one would you recommend?
Thanks!
You can have as more as network interfaces you want, I don't understand which one would you recommend part, but if I understood correctly I mean, if I suggest USB network adapter at all or not.
USB network adapters are restricted to USB speed, so if you have high speed internet and you want to use it with USB network adapter, it's not possible. I'm talking about 1GB, I think maximum speed you can get from USB network adapter is 300 MBits.

USB to SPI converter [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 1 year ago.
Improve this question
I have a chip that uses SPI for communication and would like to connect it directly to the USB port on my computer. Does anyone have experience with using a USB to SPI converter? Any recommendations? Quick searches on the web revealed
http://www.robotshop.com/devantec-usb-i2c-spi-serial-interface.html
http://www.sparkfun.com/products/9235
The "FTDI" chip that they use sparkfun product above is typically the easiest way to go.
There is a publicly available "libftdi" (maybe two of them?) that let you talk to the chip via USB. This chip provides a very simple USB-to-GPIO type functionality, and is used to make USB-to-JTAG, Serial, Parallel, CAN, SPI, etc devices.
The FTDI device doesn't require any "programming" - I think you punch a configuration block into it to describe how you want the pins do work, and that's it.
The other alternative is to do what the robotshop product you mentioned does. Use a USB-based PIC controller. This requires you to program the controller, and write your own device driver for your device. Neither of which are very hard, and could offer you more flexibility but a bit more work. Microchip has many PIC variants with built-in USB controllers, and they all have many GPIO lines for you to program into any kind of SPI interface you would want to.
I used the FTDI FT4222H (in the form of a UMFT4222EV-D development board). It converts I2C, SPI, and a few GPIOs to USB. My use case was acting as a high-speed SPI slave (I only needed to read data). Using the LibFT4222 library I was able to get this working on Windows using C# and on Raspberry Pi using C.
https://ftdichip.com/products/ft4222h/
https://www.digikey.com/catalog/en/partgroup/ft4222h-evaluation-module-with-d-version-chip/78324
https://ftdichip.com/wp-content/uploads/2020/07/DS_UMFT4222EV.pdf
https://learn.adafruit.com/usbtinyisp
quite a simple device made with a very popular ATtiny AVR8 (arduino chips should fit). Fully FOSS and ready-made available.