Tiny Core Linux

Tiny Core Extensions => TCE Q&A Forum => Topic started by: floppy on December 09, 2011, 01:22:49 PM

Title: (solved) modem huawei E1750 USB stick not connecting
Post by: floppy on December 09, 2011, 01:22:49 PM
Hello,
I was trying to use today my usb on a coleague netbook ( see my usb setup in http://forum.tinycorelinux.net/index.php/topic,11509.msg61207.html#msg61207 (http://forum.tinycorelinux.net/index.php/topic,11509.msg61207.html#msg61207) )

It started correctly, and looked good, see  http://imagebin.org/187816 (http://imagebin.org/187816) ,

but it did not connect to the internet (error with opera or minefield).

what happens? any idea?
Title: Re: modem huawei E1750 USB stick not connecting
Post by: netnomad on December 09, 2011, 01:43:19 PM
hi floppy,

i can confirm, the establishing of your modem-connection looks pretty good.
but your dns points in the wrong destination...
check your resolv.conf, it points probably to your local router for your lan-connection.
so better delete your /etc/resolv.conf that your ppp0-session can create a new one,
that is appropriate for your modem-connection.
you need the right dns-routing for your modem-communication...
and on the other side check that your lan-device is down,
f.e. with "sudo ifconfig eth0 down".

good luck, you've almost succeeded!
Title: Re: (solved) modem huawei E1750 USB stick not connecting
Post by: floppy on December 09, 2011, 02:05:42 PM
A big big thank netnomad.
This is correct, the resolv.conf had a value from my LAN network (the values indicated in the first link in this thread were nomore there).
This is possibly coming from a backup done during I was in the net in the house.
I have now to think about using different backups depending of the choosen connection (usb, wlan..).
Post done from the usb modem!
Title: Re: (solved) modem huawei E1750 USB stick not connecting
Post by: netnomad on December 09, 2011, 02:11:43 PM
you don't need different backups, stay lean and flexible.
have a look at my very basic scripts pin, pon and poff:
http://forum.tinycorelinux.net/index.php/topic,12017.msg63976.html#msg63976 (http://forum.tinycorelinux.net/index.php/topic,12017.msg63976.html#msg63976)
i just works.