Verizon USB Modem for internet

Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware
Goto page Previous  1, 2, 3
Author Message
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sun Dec 05, 2021 3:21    Post subject: Reply with quote
I haven't looked at the code for mobile broadband to see if it automatically does certain things or not. Wondering if maybe this is related to TTL and if setting TTL to 65 or 128 would fix it via firewall script.

Code:
iptables -t mangle -I PREROUTING -i $(get_wanface) -j TTL --ttl-set 65

Code:
iptables -t mangle -I PREROUTING -i $(get_wanface) -j TTL --ttl-set 128


It should be recovering on it's own if the WAN IP changes, and it shouldn't take that long.

_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Sponsor
Cratebv212
DD-WRT User


Joined: 14 Dec 2016
Posts: 123

PostPosted: Sun Dec 05, 2021 21:41    Post subject: Reply with quote
Update. After trying those scripts still nothing. But I think I finally got it. I plugged the stick into my win 10 pc and accessed the web gui. It has an address of 192.168.1.1. I changed my router ip to 192.168.1.5 and now it seems to be working. The wan ip hasn't changed now and I can access everything so far. I admit I'll be mad at myself if that was the problem, I'll update later today or tomorrow if anything changes. For now it seems to be working fine.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Sun Dec 05, 2021 22:48    Post subject: Reply with quote
Awesome news. I guess that is one thing that I didn't even consider.
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Cratebv212
DD-WRT User


Joined: 14 Dec 2016
Posts: 123

PostPosted: Wed Dec 08, 2021 2:04    Post subject: Reply with quote
Well, back to square one. Keeps resetting the Wan ip again and I lose internet. Odd part is the Wan ip changes but shows on the gui. I'm going to try some different commands I've found while searching the forum and post back.
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 14125
Location: Texas, USA

PostPosted: Wed Dec 08, 2021 2:12    Post subject: Reply with quote
Is this on the current release?
_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
Cratebv212
DD-WRT User


Joined: 14 Dec 2016
Posts: 123

PostPosted: Wed Dec 08, 2021 23:38    Post subject: Reply with quote
Yes, 47745
Cratebv212
DD-WRT User


Joined: 14 Dec 2016
Posts: 123

PostPosted: Fri Dec 10, 2021 23:39    Post subject: Reply with quote
I found this on the web about the modem. Maybe it's useless.

Enumerating CDC-ECMInterface
By default, the USB730L device is inEnd-User Mode. This means that only the RNDIS configuration is
exposed.ForthedevicetogetaWWANIPAddressassignment,youmustswitchtheconfigurationto
CDC-ECM.
To switch the configuration and initiate the DHCP request:
1. VerifythatyourdeviceisinEnd-UserModebyissuingthefollowingcommand:
# lsusb
If the device is in End-User Mode, the response is:
ID 1410:9030 Novatel Wireless
2. IfthedeviceisinEnd-UserMode,uninstalltheRNDISdriverbyissuingthefollowingcommand:
# sudo rmmod rndis_host
3. Switch the device to CDC-ECM configuration by issuing the following command:
# sudo usb_modeswitch –v 0x1410 –p 0x9030 –u 2
Once these steps are complete, the CDC-ECM interface is enabled on the device and the device
expects a DHCP RequestfromtheLinux server.
4. Initiate the DHCP Request to the USB730L to get the WWAN IP Addresses assigned to Linux
by issuingthefollowingcommand:
# sudo dhclient eth1
NOTE: Replace eth1 with the appropriate Ethernet interface enumeration on your setup.
Cratebv212
DD-WRT User


Joined: 14 Dec 2016
Posts: 123

PostPosted: Sat Dec 11, 2021 4:44    Post subject: Reply with quote
Also, when I plug the 730l into my gl inet ar750, it registers as tethering not a modem. It uses openwrt with no configuring. I use it in our camper since I don't trust public wifi.
Cratebv212
DD-WRT User


Joined: 14 Dec 2016
Posts: 123

PostPosted: Mon Dec 13, 2021 0:58    Post subject: Reply with quote
I plugged it in again after messing with it in a tp link c7 and get the same results. Today I plugged into my router again and ran "dmesg | tail". This is the output



usb 2-1.1: New USB device found, idVendor=1410, idProduct=9030
usb 2-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1.1: Product: MiFi USB730L
usb 2-1.1: Manufacturer: Novatel Wireless
usb 2-1.1: SerialNumber: 0123456789ABCDEF
hid-generic 0003:1410:9030.0005: device has no listeners, quitting
usb_wwan: Unknown symbol usb_serial_port_softint (err 0)
usb_wwan: Unknown symbol usb_serial_port_softint (err 0)
usb_wwan: Unknown symbol usb_serial_port_softint (err 0)
usb_wwan: Unknown symbol usb_serial_port_softint (err 0)

This is the demsg | tail of the gl inet.

root@GL-AR750:~# dmesg | tail
[ 71.488446] usb 1-1.2: new high-speed USB device number 7 using ehci-platform
[ 71.707547] cdc_ether 1-1.2:1.0 eth2: register 'cdc_ether' at usb-1b000000.usb-1.2, CDC Ethernet Device, 00:15:ff:09:05:85
[ 71.962976] cdc_ether 1-1.2:1.0 eth2: kevent 12 may have been dropped
[ 71.990559] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 72.069932] cdc_ether 1-1.2:1.0 eth2: kevent 12 may have been dropped
[ 82.252432] br-lan: port 2(wlan1) entered blocking state
[ 82.257932] br-lan: port 2(wlan1) entered disabled state
[ 82.263815] device wlan1 entered promiscuous mode
[ 85.330814] br-lan: port 2(wlan1) entered blocking state
[ 85.336312] br-lan: port 2(wlan1) entered forwarding state
Goto page Previous  1, 2, 3 Display posts from previous:    Page 3 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> X86 based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum