Posts: 42
cuscotravelservices
Joined: 02 Jan 2015
#1
Hi Folks,

I've managed to get my 3G USB Modem to connect but there is some problem with DNS Resolution. Pages won't load and using PING gives"unknown".

Code: Select all

--> WvDial: Internet dialer version 1.61
--> Cannot set information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2
ATQ0 V1 E1 S0=0 &C1 &D2
OK
--> Sending: AT+CGDCONT=1,"IP","ba.amx"
AT+CGDCONT=1,"IP","ba.amx"
OK
--> Modem initialized.
--> Sending: ATD*99#
--> Waiting for carrier.
ATD*99#
CONNECT
--> Carrier detected.  Starting PPP immediately.
--> Starting pppd at Sat Jan 17 23:43:36 2015
--> Warning: Could not modify \etc\ppp\pap-secrets: Permission denied
--> --> PAP (Password Authentication Protocol) may be flaky.
--> Warning: Could not modify \etc\ppp\chap-secrets: Permission denied
--> --> CHAP (Challenge Handshake) may be flaky.
--> Pid of pppd: 7401
--> Using interface ppp0
--> local  IP address 10.70.19.113
--> remote IP address 10.64.64.64
--> primary   DNS address 190.113.220.18
--> secondary DNS address 190.113.220.51
Do those Warnings for"Permission denied" have anything to do with it?

Forward slashes, for the Warning lines, were causing the following error when attempting to Preview or Submit.

Code: Select all

You don't have permission to access /posting.php on this server.
Thanks, Michael.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#2
Do those Warnings for"Permission denied" have anything to do with it?
Probably. But since I do not use my Iphone 5 as a modem.
I'm afraid I won't be of any help in this thread.

All I can say is read your code. Everything is fine (says OK) till you get to the connect section.
Then every thing goes bad.
Posts: 765
rust collector
Joined: 27 Dec 2011
#3
do you start wvdial as user or root? (or sudo)
Posts: 42
cuscotravelservices
Joined: 02 Jan 2015
#4
Hi roky and RC,

Well, it was a permissions problem. I was able to get a working connection by using sudo wvdial umts. umts was the section created in the /etc/wvdial.conf file when I originally configured the modem using the UMTS - GPRS Configuration Applet from the Control Centre.

So, as per
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"https://wiki.archlinux.org/index.php/Wvdial#Using_sudo"
linktext was:"Wvdial - Section 2.3 Using sudo"
====================================
, I found on the ArchWiki, I was also able to establish a connection without using sudo.

However, the next time I went to use it, which was after shutting down the computer, I couldn't establish a connection with or without using sudo when executing wvdial from the Command Line.

I tried adding the modifications I found at
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://pclinuxos2007.blogspot.com/2010/03/linux-desktop-running-wvdial-without.html"
linktext was:"Linux Desktop: Running WvDial without Root Permission"
====================================
but to no avail.

The only thing I can think of but don't have the time to pursue right now is that I changed the port I put the modem in. If that is the case, then, WvDial won't be of much use.

Do we have any expert WvDial users amongst us with experience using USB Mobile Broadband modems?

I downloaded the Network Manager and Modem Manager packages but I need to get things better configured so that the Modem Manager service (ModemManager.service) is started when the system is initialised. I would have thought that was something that would have been automatically setup when these 2 packages were installed. Even though it appears the connection has been successful I can't load any pages or successfully ping any sites.

Hasta luego, Michael.