How to connect to the Internet with Huawei E226 Modem?

Hi!

I have Ancel 3G service with Huawei 3G modem…

With Network Manager in openSUSE 11.1, I put the pin number provided but the connection never works…

The modem green led stay flashing (looking for a net)

In others distros like fedora 10 and Madnriva 2009.1 the connection is established (according to the wizard) but the navigation is not possible and have no pinning to any domain…

The modem is working because with XP the connection works…

I thing the DNSs are the problem, but are dynamically and not works static DNSs in /etc/resolv.conf

the ANCEL (ISP) DNSs are:

200.40.30.245
200.40.220.245

Any suggestion please?

I really want to use openSUSE but, without Internet… :frowning:

Note: in Ubuntu 8.10 the wizard seems to be more polished and completed because I can select my ISP (ANCEL) and looking the configurations I can see the DNSs before mentioned correctly, but the connection never works.

From Ubuntu 8.10:

/usr/share/mobile-broadband-provider-info/serviceproviders.xml

<!-- Uruguay –>
<country code=“uy”>
<provider>
<name>Ancel</name>
<gsm>
<apn>gprs.ancel</apn>
</gsm>
<dns>200.40.30.245 </dns>
<dns>200.40.220.245</dns>
</provider>
<provider>
<name>CTI</name>
<gsm>
<apn>internet.ctimovil.com.uy</apn>
</gsm>
<dns>200.40.30.245 </dns>
<dns>200.40.220.245</dns>
<username>ctigprs</username>
<password>ctigprs999</password>
</provider>
<provider>
<name>Movistar</name>
<gsm>
<apn>webapn.movistar.com.uy</apn>
</gsm>
<username>movistar</username>
<password>movistar</password>
</provider>
</country>

You can see the 3 ISP for this country, Uruguay (ancel, movistar and cti)

The modem green led stay flashing (looking for a net)

If you’re not connecting, then the DNS are not yet an issue. The connectivity needs to be addressed first. If however, the device does appear to get connected, then open a console (as root) and type the following commands:

cat /etc/resolv.conf

/sbin/route

Post results here.

Edit: This Ubuntu NetworkManager Wiki does suggest that this model (E226) requires manual addition of DNS entries.

Thank you, I’ll do it tomorrow.

Sorry fot my bad English, I speak Spanish.-

Note: Yesterday in Mandriva 2009 i solve this problem editing /etc/resolvconf/resolv.conf.d/head and put the ISP DNSs mentioned before.

I can’t remember now if this file is available in openSUSE 11.1 (now I’m in other PC)

The DNS entries are stored in /etc/resolv.conf

I think is a know bug of ppp.

I had to patch ppp (in openSUSE 11.0) to get the DNS automatically (you can find the patch in google), the problem is that it retrieves some inexistant dns servers like 10.11.12.13 (if I remember well), the patch fix this.

But if you give static dns to /etc/resolv.conf this should work and you won’t need to apply the patch.

I don’t remember well if knetworkmananger had problems with static dns configuration and GSM connections? maybe you should go directly to /etc/resolv.conf

rgds.