-   Slackware (
-   -   Help internet modem key TIM Alice ONDA MT503HS on Slackware 14.0 (

giorgik 11-09-2013 06:12 AM

Help internet modem key TIM Alice ONDA MT503HS on Slackware 14.0
Hello everyone,
I have a Slackware 14.0 32-bit and I have a TIM internet key Alice ONDA MT503HS I work very well in graphics mode using KDE and kppp.
Now I want to use this key in Slackware started in text mode (not KDE).
What should I install to run the key, what program to use ?
Using wvdial:

[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP",""
Stupid Mode = 1
Dial Command = ATDT
ISDN = 0
Modem Type = Analog Modem
Carrier Check = no
Phone = *99#
Ask Password = off

the file /etc/resolv.conf

search .
nameserver        #kppp temp entry
nameserver        #kppp temp entry

If I:

    bash-4.2# wvdial
    --> WvDial: Internet dialer version 1.61
    --> Initializing modem.
    --> Sending: ATZ
    --> Sending: AT+CGDCONT=1,"IP",""
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    --> Carrier detected.  Starting PPP immediately.
    --> Starting pppd at Fri Nov  8 18:23:49 2013
    --> Pid of pppd: 8444
    --> Using interface ppp0
    --> pppd: `8 6
    --> pppd: `8 6
    --> pppd: `8 6
    --> pppd: `8 6
    --> pppd: `8 6
    --> pppd: `8 6
    --> local  IP address z.uuu.nn.mmm
    --> pppd: `8 6
    --> remote IP address x.y.y.y
    --> pppd: `8 6
    --> primary  DNS address
    --> pppd: `8 6
    --> secondary DNS address
    --> pppd: `8 6

but with ping -c3 is wrong.

allend 11-09-2013 07:56 AM

It looks as though wvdial is connecting successfully. After connecting with wvdial, check the contents of /etc/resolv.conf. You will probably see that the temporary nameserver entries placed there by kppp have been deleted.
Then check the contents of /etc/ppp/resolv.conf. When you connect using pppd, the supplied DNS information is stored there. You will need to 'mv /etc/resolv.conf /etc/resolv.conf.orig; cp /etc/ppp/resolv.conf /etc/resolv.conf'.

When you have finished a session, I suggest doing 'mv /etc/resolv.conf.orig /etc/resolv.conf', otherwise the old information will be retained which can then upset the settings temporarily added by kppp.
This can become a pain if you switch a lot between using kppp in the GUI and pppd at the CLI.

An alternative would be to dump using kppp and wvdial, and starting using NetworkManager via nm-applet in the GUI and nmcli at the CLI.

All times are GMT -5. The time now is 05:59 AM.