Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revisionBoth sides next revision
docs:guide-user:network:wan:wwan:ethernetoverusb_rndis [2024/09/11 21:42] – [Use RNDIS USB Dongle for WAN connection] andrewzdocs:guide-user:network:wan:wwan:ethernetoverusb_rndis [2024/12/04 09:54] – [Additional steps] andrewz
Line 22: Line 22:
 ===== Setting up RNDIS-based dongles ===== ===== Setting up RNDIS-based dongles =====
  
-For RNDIS device to work ''kmod-usb-net-rndis'' package needs to be installed. Additional modules will be automatically installed as //dependencies//.+For RNDIS device to work ''kmod-usb-net-rndis'' package needs to be installed. Install it either in Luci → System → Software or via command line: 
 +<code> 
 +root@OpenWrt:~# opkg update 
 +root@OpenWrt:~# opkg install kmod-usb-net-rndis 
 +</code>
  
-Install ''usb-modeswitch'' __if__ that is needed for switching the modem into a "working" state. More about: [[docs:guide-user:network:wan:wwan:usb-modeswitching|USB mode switch]]+Additional modules will be automatically installed as //dependencies//
 + 
 +You can also add the necessary packages when building a new image with [[https://firmware-selector.openwrt.org/|Firmware Selector]]. 
 + 
 +Install ''usb-modeswitch'' __only if__ that is needed for switching the modem into a "working" state. More about: [[docs:guide-user:network:wan:wwan:usb-modeswitching|USB mode switch]]
  
  
Line 51: Line 59:
 ==== Additional steps ==== ==== Additional steps ====
  
-For some modems adding an interface will be sufficient, but others may need an APN provisioned, it is also sometimes necessary to send a special "dial" command to the AT command port, consult AT Commands Guide for the given modem for details.+For some modems adding an interface will be sufficient, but others may need an APN provisioned, it is also sometimes necessary to send a special "dial" command to the AT command port, consult AT Commands Guide for the given modem for details. If this is the case it is worth trying to configure the [[docs:guide-user:network:wan:wwan:ethernetoverusb_ncm|NCM]] interface instead.
  
 If the modem exposes //serial// interfaces then the appropriate driver needs to be installed (''kmod-usb-serial'' or ''kmod-usb-serial-option'' or ''kmod-usb-serial-qualcomm'' or ''kmod-usb-acm'') as well as a simple //terminal// app like ''picocom''. More about: sending [[docs:guide-user:network:wan:wwan:at_commands|AT commands]] from the router. If the modem exposes //serial// interfaces then the appropriate driver needs to be installed (''kmod-usb-serial'' or ''kmod-usb-serial-option'' or ''kmod-usb-serial-qualcomm'' or ''kmod-usb-acm'') as well as a simple //terminal// app like ''picocom''. More about: sending [[docs:guide-user:network:wan:wwan:at_commands|AT commands]] from the router.
  
-\\ 
-Since RNDIS-based sticks create their own NAT'ed IP subnet, it is important that OpenWrt's LAN IP range is different from the modem's IP range. In the case of the Alcatel L850, the default range is 192.168.1.1, which clashes with OpenWrt's default. Therefore OpenWrt's LAN IP should be changed to something else, such as: 
- 
-<code> 
-config interface 'lan' 
-        option ipaddr '192.168.10.1' 
-</code> 
- 
-\\ 
 If auto-connect is disabled, or PIN-request is enabled on the modem, you may need to visit its admin web interface (typically at ''http://192.168.1.1'') to enter the PIN and/or initiate the connection. If auto-connect is disabled, or PIN-request is enabled on the modem, you may need to visit its admin web interface (typically at ''http://192.168.1.1'') to enter the PIN and/or initiate the connection.
- 
  
 ==== RNDIS Troubleshooting ==== ==== RNDIS Troubleshooting ====
  • Last modified: 2024/12/14 23:42
  • by andrewz