[SOLVED] Having difficulties to connect to the internet with a USB-UMTS-Modem
SlackwareThis Forum is for the discussion of Slackware Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
there are several providers who use the eplus net. I'm using AldiTalk which uses the string "internet.eplus.de" http://www.alditalk.de/talk/download...-Anleitung.pdf. But it seems to be the case that one has only to provide this string in order to account the flatrate (30 days with max 5GB in this case), there is another string when one wants to account the 24h flatrate. But I found out, that I receive an errormessage when I provide this string once I have accounted the flatrate, it seems to be stored on the sim-card and is not necessary while authentication. (but I'm not sure).
But now I saw that they use different passwords. My problem is that I cannot seem to find out how far pppd goes when connecting. I have read about ppp and it seems to fail during authentication. I'd like to have more knowledge about scripting for pppd or chat respectively. Then I could make the scripts show me where they are. Now pppd and chat provide an errorcode which is explained in the manpages, but it is not clear where in the script pppd hung up.
Errors from pppd are logged in /var/log/syslog.
You can use a debug option to pppd that will give more detail.
Perhaps you also need to specify the protocol to use, probably CHAP or PAP. I could not find this specified in the .pdf that you posted, but it has been many years since my reading German course.
Only problem was that I still cannot connect to the internet. I've included the namservers and additionally 18.104.22.168 in my /etc/resolv.conf and it seems that the nameresolution works. I can't ping any remote adresses, neither via name nor via IP, but when I ping a name, the IP-adress is shown (even for sites which I didn't use for a long time, so they should not be in the cache.
The output of route is this one
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default * 0.0.0.0 U 0 0 0 ppp0
10.64.64.64 * 255.255.255.255 UH 0 0 0 ppp0
Enables the "passive" option in the LCP. With this option, pppd
will attempt to initiate a connection; if no reply is received
from the peer, pppd will then just wait passively for a valid
LCP packet from the peer, instead of exiting, as it would with‐
out this option.
Only problem was that I still cannot connect to the internet. I've included the namservers and additionally 22.214.171.124 in my /etc/resolv.conf and it seems that the nameresolution works.
use 126.96.36.199 as the first entry, maybe iptables prevents you from accessing the internet. you could try to set all policies to 'accept' for testing purposes
in your chat script as you need to specify the Access Point Name.
Do you see an interface created when you connect in the output of 'ifconfig'?
Also, when you connect the connection information is saved in /etc/ppp/resolv.conf, whereas programs will look at /etc/resolv.conf. You said that you have created a symlink from /etc/ppp/resolv.conf to /etc/resolv.conf, but I have not tested this technique. I always used to manually copy /etc/ppp/resolv.conf to /etc/resolv.conf once the connection was made.