Hi there!
I bought an 'Alcatel IK41VE1 LTE USB Dongle' and tried to get it running for an LTE-Router.
What can I do to get working the LTE-Stick?
Hi there!
I bought an 'Alcatel IK41VE1 LTE USB Dongle' and tried to get it running for an LTE-Router.
What can I do to get working the LTE-Stick?
Please show the output of cat /sys/kernel/debug/usb/devices
The output is the following:
root@OpenWrt:~# cat /sys/kernel/debug/usb/devices
T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.15
S: Manufacturer=Linux 5.15.167 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=1c1a000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 5.15
S: Manufacturer=Linux 5.15.167 ohci_hcd
S: Product=Generic Platform OHCI controller
S: SerialNumber=1c1a400.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1
B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0002 Rev= 5.15
S: Manufacturer=Linux 5.15.167 ehci_hcd
S: Product=EHCI Host Controller
S: SerialNumber=1c1b000.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms
T: Bus=03 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1bbb ProdID=0908 Rev= 2.42
S: Manufacturer=Alcatel
S: Product=Mobilebroadband
S: SerialNumber=1234567890ABCDE
C:* #Ifs= 3 Cfg#= 1 Atr=80 MxPwr=500mA
A: FirstIf#= 0 IfCount= 2 Cls=02(comm.) Sub=06 Prot=00
I:* If#= 0 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=06 Prot=00 Driver=cdc_ether
E: Ad=82(I) Atr=03(Int.) MxPS= 16 Ivl=32ms
I: If#= 1 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
I:* If#= 1 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether
E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E: Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=125us
E: Ad=83(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
T: Bus=04 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 1
B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0
D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=1d6b ProdID=0001 Rev= 5.15
S: Manufacturer=Linux 5.15.167 ohci_hcd
S: Product=Generic Platform OHCI controller
S: SerialNumber=1c1b400.usb
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA
I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub
E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms
root@OpenWrt:~#
Try following these instructions:
https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_cdc
Try following these instructions:
https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_cdc
I've done this instructions especialy this:
Network Configuration
Using Luci
Navigate to Network → Interfaces → Add new interface... → Protocol: DHCP Client, Interface: “usb0” (or another name found earlier)
Assign the firewall zone (wan) on 'Firewall Settings' tab.
Open Advanced Settings and make sure that both “Use default gateway” and “Use DNS servers advertised by peer” checkboxes are selected.
The Stick is 'up' and has an IPv4-Adress (192.168.51.180/24)... Where did it get this Adress from and where do I have to type in the PIN of the SIM-Card?
In the modem's own web GUI that (I guess) is available at http://192.168.51.1
You're right :)!
I've connected the LTE-Stick directly to my PC and then I get an Landingpage where I can Type in my SIM and do other Stuff
Configure the SIM with no PIN then it should connect directly.
Hm, I'm not sure if I can configure the SIM with no PIN because it's an Multi-SIM from my mobile phone and there I've an PIN
@mk24 : Thanks for your Tip with the SIM without an configured PIN. I took the PIN from my Multisim away and now it works :)....
I've configured the OpenWRT to take my OPNSense as an resolver and to work over it.
But now I've the LTE-Stick working and how can I change the configuration to get everything working (DNS, Resolving, Routing etc.) over the Stick?
These are the defaults for DHCP interface that you created for your stick:
Just remove all your previous customizations (if any).
Ah, thanks for your fast reply!
I've only changed the Kernel-Routing-Table and added the Gateway for my 'LAN' Interface:
root@OpenWrt:~# route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 br-lan
0.0.0.0 192.168.51.1 0.0.0.0 UG 1 0 0 usb0
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 br-lan
192.168.51.0 0.0.0.0 255.255.255.0 U 1 0 0 usb0
root@OpenWrt:~#
But how can I find out my external IP from the Stick? An 'curl ifconfig.io' every time seems to go over my 'LAN' Interface...
Don't do this. As I said, clean up all your previous customizations.
Why shouldn't I add a gateway for my 'LAN' Interface?
Before I've done that I didn't get an connection from my LAN to the OpenWRT Router?
I think the reason was because it doesn't know the "Route back" from my OpenWRT because of the missins Default-GW....
Hi!
I've installed my 'Alcatel IK41VE1 LTE USB Dongle' as it's discribed here:
https://openwrt.org/docs/guide-user/network/wan/wwan/ethernetoverusb_cdc
Network Configuration
Using Luci
Navigate to Network → Interfaces → Add new interface... → Protocol: DHCP Client, Interface: “usb0” (or another name found earlier)
Assign the firewall zone (wan) on 'Firewall Settings' tab.
Open Advanced Settings and make sure that both “Use default gateway” and “Use DNS servers advertised by peer” checkboxes are selected.
My routes are this:
root@OpenWrt:~# ip route
default via 192.168.51.1 dev usb0 src 192.168.51.143 metric 1
default via 192.168.20.1 dev WAN2-Netz metric 2
192.168.1.0/24 dev br-lan scope link src 192.168.1.2
192.168.20.0/24 dev WAN2-Netz scope link metric 2
192.168.51.0/24 dev usb0 scope link metric 1
root@OpenWrt:~#
....and in my '/etc/resolv.conf' is this:
root@OpenWrt:~# ip route
default via 192.168.51.1 dev usb0 src 192.168.51.143 metric 1
default via 192.168.20.1 dev WAN2-Netz metric 2
192.168.1.0/24 dev br-lan scope link src 192.168.1.2
192.168.20.0/24 dev WAN2-Netz scope link metric 2
192.168.51.0/24 dev usb0 scope link metric 1
root@OpenWrt:~#
When I try to do and 'ping heise.de' from my shell I didn't get any response but the 'dig' over my LTE-Gateway seems to work:
ping:
root@OpenWrt:~# ping heise.de
PING heise.de (193.99.144.80): 56 data bytes
^C
--- heise.de ping statistics ---
5 packets transmitted, 0 packets received, 100% packet loss
root@OpenWrt
dig:
root@OpenWrt:~# dig @192.168.51.1 heise.de
; <<>> DiG 9.18.28 <<>> @192.168.51.1 heise.de
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 64579
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;heise.de. IN A
;; ANSWER SECTION:
heise.de. 39656 IN A 193.99.144.80
;; Query time: 0 msec
;; SERVER: 192.168.51.1#53(192.168.51.1) (UDP)
;; WHEN: Sun Dec 22 22:32:06 CET 2024
;; MSG SIZE rcvd: 53
root@OpenWrt:~#
Does anyone have an idea why my ping isn't working?
Is tethering permitted by your provider?
I've bought me a Multi-SIM card from my Main-Mobilephone-SIM-Card and with my Main-SIM-Card I can create an Hotspot.
Therefore I thinks that tethering is allowed
there is a known to be working doc for the ik40 dongle for OpenWRT 21/22/23:
I frankly don't know, if the ik41 works the same, but you could give it a try:
https://forum.openwrt.org/t/how-to-configure-and-setup-usb-alcatel-lte-link-key-ik40-and-alcatel-lte-mw40v
I've not generaly the same configuration but mine is this:
/etc/config/network (LTE-Part)
config device
option name 'usb0'
config interface '4G_LTE_Stick'
option proto 'dhcp'
option device 'usb0'
option metric '1'
/etc/config/firewall
config defaults
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option synflood_protect '1'
config zone
option name 'lan'
option input 'ACCEPT'
option output 'ACCEPT'
option forward 'ACCEPT'
list network 'lan'
config zone
option name 'wan'
option input 'REJECT'
option output 'ACCEPT'
option forward 'REJECT'
option masq '1'
option mtu_fix '1'
list network 'WAN2'
list network '4G_LTE_Stick'
config forwarding
option src 'lan'
option dest 'wan'
config rule
option name 'Allow-DHCP-Renew'
option src 'wan'
option proto 'udp'
option dest_port '68'
option target 'ACCEPT'
option family 'ipv4'
config rule
option name 'Allow-Ping'
option src 'wan'
option proto 'icmp'
option family 'ipv4'
option target 'ACCEPT'
list icmp_type 'echo-request'
option dest '*'
config rule
option name 'Allow-IGMP'
option src 'wan'
option proto 'igmp'
option family 'ipv4'
option target 'ACCEPT'
config rule
option name 'Allow-DHCPv6'
option src 'wan'
option proto 'udp'
option dest_port '546'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-MLD'
option src 'wan'
option proto 'icmp'
option src_ip 'fe80::/10'
list icmp_type '130/0'
list icmp_type '131/0'
list icmp_type '132/0'
list icmp_type '143/0'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Input'
option src 'wan'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
list icmp_type 'router-solicitation'
list icmp_type 'neighbour-solicitation'
list icmp_type 'router-advertisement'
list icmp_type 'neighbour-advertisement'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-ICMPv6-Forward'
option src 'wan'
option dest '*'
option proto 'icmp'
list icmp_type 'echo-request'
list icmp_type 'echo-reply'
list icmp_type 'destination-unreachable'
list icmp_type 'packet-too-big'
list icmp_type 'time-exceeded'
list icmp_type 'bad-header'
list icmp_type 'unknown-header-type'
option limit '1000/sec'
option family 'ipv6'
option target 'ACCEPT'
config rule
option name 'Allow-IPSec-ESP'
option src 'wan'
option dest 'lan'
option proto 'esp'
option target 'ACCEPT'
config rule
option name 'Allow-ISAKMP'
option src 'wan'
option dest 'lan'
option dest_port '500'
option proto 'udp'
option target 'ACCEPT'
config redirect
option dest 'lan'
option target 'DNAT'
option name 'Ping PC'
list proto 'icmp'
option src 'wan'
option dest_ip '192.168.51.189'
I've also tried this Port Forward but it doesn't help :(....
Does anyone have another idea?
Port forwards can only work if the ISP company has assigned a unique public IP to your line and the wan interface holds that IP. This is almost never the case with LTE unless you make special arrangements and pay extra. There are many more LTE customers than there are IPv4s.