Site Tools


faq

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
faq [2023/06/04 23:08] – [How do I Get a 3G/4G/5G USB modem to work?] -condense hogwildfaq [2023/06/04 23:11] – [Modem Modes] -condense hogwild
Line 205: Line 205:
 However, FreshTomato already include USB modem drivers in the form of kernel modules. The modem, though, won't accept communication commands in storage mode. It must be switched to modem mode to accept commands. However, FreshTomato already include USB modem drivers in the form of kernel modules. The modem, though, won't accept communication commands in storage mode. It must be switched to modem mode to accept commands.
  
-Being in storage mode complicates things for earlier forks of Tomato. The modem would appear/behave like a storage device. A workaround was used in earlier forks to get around this problem. If you issued a "media eject" command, you could force the device to switch to modem mode. This didn't always work.+Being in storage mode complicates things for earlier forks of Tomato. The modem would appear/behave like a storage device. In earlier forks or Tomato, the "media eject" command was used to force the device to switch to modem mode. However, it didn't always work.
  
-A better solution arrived with FreshTomato'switch4g [[https://bitbucket.org/pedro311/freshtomato-arm/src/43bd2acfdd358c1cb948669fb1c24281d0e69a5c/release/src-rt-6.x.4708/router/others/switch4g#lines-390|switch4g]] . The switch4g Bash script swtiches modes on USB modems more reliably. If FreshTomato's kernel module contains the right VendorID and DeviceID for your modem, switch4g can usually issue the correct command to switch your modem into modem mode.+Instead, FreshTomato includes switch4g [[https://bitbucket.org/pedro311/freshtomato-arm/src/43bd2acfdd358c1cb948669fb1c24281d0e69a5c/release/src-rt-6.x.4708/router/others/switch4g#lines-390|switch4g]] . The switch4g Bash script switches modes on USB modems more reliably. If FreshTomato's kernel module contains the right VendorID and DeviceID for your modem, switch4g can usually issue the correct command to switch your modem into modem mode.
  
 FreshTomato also uses the usb_modeswitch module for some functions. USB_modeswitch takes the important parameters from a configuration file and does all the initialization and other steps to set up communications. FreshTomato also uses the usb_modeswitch module for some functions. USB_modeswitch takes the important parameters from a configuration file and does all the initialization and other steps to set up communications.
faq.txt · Last modified: 2024/04/28 17:28 by hogwild