Comfast cf-e5 lte modem

now i see with this other sim card i have a two dns, on ho sim card i never get a dns. for now i need stop, i'm very tired, we will continue later. thanks everybody that helped

root@OpenWrt:~# uqmi -s -d /dev/cdc-wdm0  --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"10.24.195.248","gateway":"10.24.195.249","subnet":"255.255.255.240"},"ipv6":{},"domain-names":{}}

OK, they are not assigning you DNS servers during connection setup, probably they want you to use DHCP for that.
Can you run another command I mentioned, please?

root@OpenWrt:~# uqmi -s -d /dev/cdc-wdm0  --get-current-settings
{"pdp-type":"ipv4","ip-family":"ipv4","mtu":1500,"ipv4":{"ip":"10.24.93.58","gateway":"10.24.93.57","subnet":"255.255.255.252"},"ipv6":{},"domain-names":{}}
root@OpenWrt:~# `

also how set name= ho-mobile
i read about the most important here is just the name and apn

root@OpenWrt:~# uqmi -d /dev/cdc-wdm0 --network-scan
{
	"network_info": [
		{
			"mcc": 222,
			"mnc": 50,
			"description": "Iliad",
			"status": [
				"current_serving",
				"home",
				"not_forbidden",
				"preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 50,
			"description": "ILIAD",
			"status": [
				"available",
				"home",
				"not_forbidden",
				"preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 88,
			"description": "I WIND",
			"status": [
				"available",
				"roaming",
				"not_forbidden",
				"preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 88,
			"description": "I WIND",
			"status": [
				"available",
				"roaming",
				"not_forbidden",
				"preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 10,
			"description": "voda IT",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 1,
			"description": "TIM",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 10,
			"description": "voda IT",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 99,
			"description": "3 ITA",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 88,
			"description": "I WIND",
			"status": [
				"available",
				"roaming",
				"not_forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 99,
			"description": "3 ITA",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 1,
			"description": "TIM",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"
			]
		},
		{
			"mcc": 222,
			"mnc": 10,
			"description": "voda IT",
			"status": [
				"available",
				"roaming",
				"forbidden",
				"not_preferred"

what forbidden and not forbidden mean?

https://csrc.nist.gov/glossary/term/Forbidden-PLMNs

1 Like

You know...there's a way to set the plmn too...and it seems like it's 222050...but I'm not sure if that's necessary.

I bought the same device and I got crazy before to manage it running with a snapshots image; if still interested I could inform you the way I followed.

1 Like

sure i'll get it back this week

I noticed just now we are using same provider: ho-mobile :smile:
Anyway, the trick is to create (in LUCI) one more interface (wan1):

onfig interface 'wan1'
	option ifname 'ppp0'
	option proto '3g'
	option pppd_options 'noipdefault'
	option ipv6 'auto'
	option service 'umts'
	option device '/dev/ttyUSB2'
	option apn 'internet.ho-mobile.it'

you have to start the 3g connection (if it doesn't start change /dev/ttyUSB2 with USB0 or USB2...) and than the 'wwan'; if wwan doesn't start reboot the system and it should connect itself the wwan.
good luck

1 Like

ok, so from your config i see that you use the modem in serial. is it auto reconnecting? and also what packages have you installed? and also i read that in serial the max dowload speed is 15 mb/s, can you confirm that?

I don't understand "use the modem in serial"; if you mean in 3g the answer is NO; as already said in my previous post I use "wan1" interface just to connect device, afterthat I enable "wwan" interface:

config interface 'wwan'
	option ifname 'wwan0'
	option proto 'qmi'
	option device '/dev/cdc-wdm0'
	option dhcp '1'
	option auth 'none'
	option apn 'internet.ho-mobile.it'

no additional packages installed;
download speed: max allowed by provider: 30 mb/s (with "wwan" interface qmi protocol)

1 Like

thanks alot, i'll try that as soon as i can, hope that is the right way for other providers too.

it worked thanks alot

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.