Re: unable to connect with internal modem under Ubuntu

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Devon,

Let wvdial run in the background, and if you can open a tab or another
terminal shell please do
$ sudo gedit /etc/resolv.conf and add

nameserver 64.40.40.53
nameserver 66.54.140.10

If you can leave "Stupid mode = yes", it would be much better.  Please
add the numbers to /etc/resolv.conf save and try browsing again.

Regards,

Antonio

On Wed, Dec 17, 2008 at 8:39 PM, D Brewer <interscientific@xxxxxxxxx> wrote:
> Jacques,
>
> Two other helpful members of this list told me how to edit the pap-secrets file, and I have done so successfully.  I tried to connect via wvdial but still had trouble.
>
> Here's the report from the terminal from my first attempt:
>
> carolyn@carolyn-desktop:~$ sudo wvdial
> --> WvDial: Internet dialer version 1.60
> --> Initializing modem.
> --> Sending: ATZ
> ATZ
> OK
> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> OK
> --> Modem initialized.
> --> Sending: ATDT495-1000
> --> Waiting for carrier.
> ATDT495-1000
> CONNECT 460800
> --> Carrier detected.  Starting PPP immediately.
> --> Starting pppd at Wed Dec 17 18:21:54 2008
> --> Pid of pppd: 9054
> --> Using interface ppp0
> --> local  IP address 64.40.61.188
> --> remote IP address 64.40.40.6
> --> primary   DNS address 64.40.40.53
> --> secondary DNS address 66.54.140.10
>
> Caught signal 2:  Attempting to exit gracefully...
> --> Terminating on signal 15
> --> Connect time 1.7 minutes.
> --> Disconnecting at Wed Dec 17 18:23:40 2008
>
> I waited a couple of minutes after it showed the DNS addresses, and opened Firefox, but couldn't navigate to any online sites.  So I hit ctrl-C to exit.
>
> Then I edited the wvdial.conf file to comment out "Stupid Mode = yes".  I tried wvdial again, and here's what the terminal showed:
>
> carolyn@carolyn-desktop:~$ sudo wvdial
> --> WvDial: Internet dialer version 1.60
> --> Initializing modem.
> --> Sending: ATZ
> ATZ
> OK
> --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
> OK
> --> Modem initialized.
> --> Sending: ATDT495-1000
> --> Waiting for carrier.
> ATDT495-1000
> CONNECT 460800
> --> Carrier detected.  Waiting for prompt.
> CVX Access Switch.
> Access is restricted to authorized users only.
> login:
> --> Looks like a login prompt.
> --> Sending: guest
> guest
> password:
> --> Looks like a password prompt.
> --> Sending: (password)
> Exiting shell, and starting PPP session.
> ~[7f]}#@!}!}!} }8}!}$}%\}"}&} }*} } }%}&:ZRF}'}"}(}"*G~
> --> PPP negotiation detected.
> --> Starting pppd at Wed Dec 17 18:26:01 2008
> --> Pid of pppd: 9183
> --> Using interface ppp0
> --> pppd: ��[06][08]H�[06][08]
> --> pppd: ��[06][08]H�[06][08]
> --> pppd: ��[06][08]H�[06][08]
> --> local  IP address 64.40.61.231
> --> pppd: ��[06][08]H�[06][08]
> --> remote IP address 64.40.40.6
> --> pppd: ��[06][08]H�[06][08]
> --> primary   DNS address 64.40.40.53
> --> pppd: ��[06][08]H�[06][08]
> --> secondary DNS address 66.54.140.10
> --> pppd: ��[06][08]H�[06][08]
> --> pppd: ��[06][08]H�[06][08]
> Caught signal 2:  Attempting to exit gracefully...
> --> Terminating on signal 15
> --> pppd: ��[06][08]H�[06][08]
> --> Connect time 1.8 minutes.
> --> pppd: ��[06][08]H�[06][08]
> --> pppd: ��[06][08]H�[06][08]
> --> Disconnecting at Wed Dec 17 18:27:54 2008
>
> I tried the same procedure of opening Firefox and navigating to a real web site, but with no luck.  Am I not waiting long enough, or is there still a problem?
>
> Thank you again for your detective work!
>
> Devon
>
>
> --- On Wed, 12/17/08, Jacques Goldberg <Jacques.Goldberg@xxxxxxx> wrote:
>
>> From: Jacques Goldberg <Jacques.Goldberg@xxxxxxx>
>> Subject: Re: unable to connect with internal modem under Ubuntu
>> To: "Linmodems" <discuss@xxxxxxxxxxxxx>, "Devon Brewer" <interscientific@xxxxxxxxx>
>> Date: Wednesday, December 17, 2008, 12:52 PM
>> Devon and list:
>> this thread was long and I believe that I solved it -
>> sufficiently general saga worth being in archive.
>>
>> Devon has an HSF modem in his Ubuntu 8.04 box.
>> He correctly installed the driver but could not achieve a
>> connection.
>> I have the same modem on my RedHat modified (aka Scientific
>> Linux) in my box.
>> I met no problem getting connected first to my University
>> then to Devon's ISP http://www.nocharge.com/ with S.L.
>> I then loaded my old Ubuntu 7.10 Live CD, installed the
>> driver (from the generic file, not the precompiled), from
>> Linuxant.
>> Either with wvdial or with the Ubuntu
>> System->Administration->Network tool, I immediately
>> got connected to my University but experienced the same
>> rejection as observed by Devon with his ISP.
>> I have no scruple disclosing the username, password and
>> phone number of his ISP because they are publicly displayed
>> on the Web page quoted above. The username was aptly chosen
>> as "guest" by the ISP.
>>
>> The debugging option of pppd (syslog) made me find out that
>> the cause was a PAP rejection.
>>
>> Lo and behold, the file  /etc/ppp/pap-secrets on the Ubuntu
>> 7.04 Live CD, and probably every Ubuntu distro, contains a
>> block of restricted user id's to which dialling is
>> denied. Of course my RedHat based system does not have that
>> block.
>>
>> Sure enough, "guest" is in the blacklist !!!
>>
>> Devon: locate that line in /etc/ppp/pap-secrets , insert a
>> # at the beginning to make it ignored by pppd, and let me
>> know if you get connected, as I did. I am really eager to
>> know that you too can now connect.
>> I tried with the Ubuntu network manager above,  not with
>> wvdial, because Ubuntu sufficiently mocks Windows in hiding
>> things and decides for the user what he wants to do without
>> letting him ask, user assumed to be readily dumbed to the
>> 200 % level by Microsoft. Simply, I never could find how to
>> disable the Ethernet and Wifi interfaces under Ubuntu: you
>> disable them, within up to 30 seconds they are back, forcing
>> routes and DNS's which you do not want for the analog
>> modem connection.
>>
>> Jacques
>>
>> Jacques
>
>
>
>


[Index of Archives]     [Linux Media Development]     [Asterisk]     [DCCP]     [Netdev]     [X.org]     [Xfree86]     [Fedora Women]     [Linux USB]

  Powered by Linux