You are not logged in.

#1 2008-04-25 03:16:11

ataylor
Member
Registered: 2008-04-10
Posts: 54

Huawei E220 problem..

I've followed the Arch wiki article on setting up my Huawei E220 3G USB modem, and have run into a problem with it. I can get it to dial and connect using wvdial, it fetches the nameservers and everything, and yet the internet just doesn't seem to work. I can't ping anything or browse to anywhere. The only thing I have to go on is a line in the messages log which shows that wvdial couldn't fetch the remote IP, so it reverts to the default. The only thing I changed from the original config is the number.

Anyone have any idea what could be going wrong?

Offline

#2 2008-04-25 05:58:26

armin
Member
From: the Caribbean. Arrr...!!!
Registered: 2007-02-26
Posts: 46

Re: Huawei E220 problem..

Try to delete the default route ("route del default") before connecting. IIRC pppd doesn't overwrite an existing one.


I'm a Pastafari

Offline

#3 2008-04-25 14:14:58

ataylor
Member
Registered: 2008-04-10
Posts: 54

Re: Huawei E220 problem..

Tried that - couldn't find the "default", but there was one listed under eth0 called *, which I deleted. Still no luck.

Offline

#4 2008-04-30 02:28:03

metromini
Member
From: Jakarta, Indonesia
Registered: 2005-08-02
Posts: 39

Re: Huawei E220 problem..

Maybe you can manually edit /etc/resolv.conf according your wvdial output for nameservers.
And make sure you got the correct ip address from your operator's dhcp server by examining 'ifconfig' output.

Offline

#5 2008-05-03 03:59:28

ataylor
Member
Registered: 2008-04-10
Posts: 54

Re: Huawei E220 problem..

Thanks, adding the nameservers to resolv.conf did the trick smile

Offline

#6 2008-07-18 13:32:37

Wittfella
Member
From: Australia
Registered: 2008-05-27
Posts: 462

Re: Huawei E220 problem..

I found that pppd creates its own resolv.conf in '/etc/ppp/'.  In this directory there is also two empty scripts called 'ip-up' and 'ip-down'.  Up is automatically run when pppd connects, and down when it disconnects.

I just modified these scripts to automatically copy the /etc/ppp/resolv.conf to /etc/resolv.conf and then restore the original again when I disconnect.  Seems to work ok.

Last edited by Wittfella (2008-07-18 13:40:20)

Offline

Board footer

Powered by FluxBB