LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 11-09-2013, 07:12 AM   #1
giorgik
LQ Newbie
 
Registered: Oct 2013
Posts: 2

Rep: Reputation: Disabled
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:
wvdial.conf
Code:
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 460800
Init1 = ATZ
Init2 = AT+CGDCONT=1,"IP","ibox.tim.it"
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
Code:
search .
nameserver 10.206.56.132	#kppp temp entry
nameserver 10.207.43.46	#kppp temp entry
If I:
Code:
    bash-4.2# wvdial
    --> WvDial: Internet dialer version 1.61
    --> Initializing modem.
    --> Sending: ATZ
    OK
    --> Sending: AT+CGDCONT=1,"IP","ibox.tim.it"
    AT+CGDCONT=1,"IP","ibox.tim.it"
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> 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 10.206.56.132
    --> pppd: `8 6
    --> secondary DNS address 10.207.43.46
    --> pppd: `8 6
but with ping -c3 www.google.com is wrong.
 
Old 11-09-2013, 08:56 AM   #2
allend
Senior Member
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware-current
Posts: 3,520

Rep: Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874Reputation: 874
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Tim Berners-Lee calls for free internet worldwide Jeebizz Linux - News 0 09-15-2010 09:18 AM
Onda N501HS HSDPA/UMTS PC-Card on Slackware 12.0 f4lch3tt0 Linux - Newbie 0 12-18-2007 06:18 PM
alice gate 2 plus wifi funziona solo come modem cavazziniangelo Linux - Wireless Networking 1 09-27-2007 02:01 PM
Who Owns the Internet? by Tim Swanson cousinlucky General 1 05-04-2006 01:08 PM
how would the internet be now if Tim Berners Lee was like Bill gates mangku General 8 02-14-2006 01:14 PM


All times are GMT -5. The time now is 06:54 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration