You are not logged in.
Pages: 1
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
Try to delete the default route ("route del default") before connecting. IIRC pppd doesn't overwrite an existing one.
I'm a Pastafari
Offline
Tried that - couldn't find the "default", but there was one listed under eth0 called *, which I deleted. Still no luck.
Offline
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
Thanks, adding the nameservers to resolv.conf did the trick
Offline
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
Pages: 1