Modem problems, er, connection problems

Modem problems, er, connection problems

Post by Christian D Fre » Sat, 03 Apr 1999 04:00:00



I have configured the system to use the modem, but when attempting to connect, I am having big
problems.  This is a description; my ISP says they can't help... when I called, they didn't
even know what authentication was.

Like I said, the modem dials, and there is a connection (I have used netcfg to make a ppp0
device) (e.g. in debug windows, CONNECT at 57600).  Then, this is where the problems are, the
debug window says "starting pppd..." and the connect dialog box says "Starting network
connection..." but that's it.  It stays like that for a while then disconnects.

I am using PAP w/ my password and logonid, and as I said the modem is correctly configured.  I
am using no scripts as of now... simply entering the password and userid in the initial dialog
box.

Any help is greatly appreciated... and for any of you cynical people, yes I have check the
newsgroups for help before I posted (you know who you are...)

Thanks.

 
 
 

Modem problems, er, connection problems

Post by David Kirkpatric » Sat, 03 Apr 1999 04:00:00


Generic info for RH 5.2.  Assumption: you installed PPP.
-------------------------------------------------------------------
RH puts ppp scripts in /usr/doc/ppp-2.3.5
Copy ppp-on, ppp-on-dialer, options to /etc/ppp.
BTW:I have copied /dev/null to options.
These need to be made execuitable.  Execute chmod 755 on ppp-on
and ppp-on-dialer
-------------------------------------------------------------------
Modify ppp-on by editing the following:
TELEPHONE, ACCOUNT, PASSWORD
------------------------------------------------------------------
For exec command. put in correct device probably
cua1 (for RH5.2) and modem speed
-------------------------------------------------------------------
Edit /etc/resolv.conf and put in ISP nameserver given you by your
ISP.
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
You usually get two from your isp.
--------------------------------------------------------------------
execute ppp-on & and monitor logs with
tail -f /var/log/messages.
+++++++++++++++++++++++++++++++++++++++
OR:
Control Pannel: Modem configuration.  Select
correct device.  (used in ppp-on script)
-------------------------------------------------------------------
Control Pannel: Network Configurator: Routing: Defaults blank
PPP0 will use this so needs a blank here.
-------------------------------------------------------------------
Network Configurator: Names: insert ISP
nameserver addresses.
-------------------------------------------------------------------
System Configurator: PPP/SLIP/PLIP:  Configurations, Add
Fill in Hardware, Communication.  Assumes PAP not
required - If things do not work check with ISP.
------------------------------------------------------------------
Save quit.  Verify /etc/resolv.conf has your ISP
addresses.
------------------------------------------------------------------
The linuxconf sets up most things but does not
setup the ppp-on script - that must be done by hand.
------------------------------------------------------------------
Testing:
cd /etc/ppp
execute ppp-on
Ping locally between your network machines to insure your ok.  
Ping some net address by ip number like 10.220.10.120. Once ppp
is connected.
Verify your name server working, ping boston.com or do an
nslookup microsoft.com
When not dialed in ping someother box locally by name
to insure yor local resolution is working say if
done by the /etc/hosts and /etc/lmhosts.
-------------------------------------------------------------
If things do not work turn on debugging or up the level of
debugging.  Edit the scripts and put debug 7 in there.
For LCP errors two common causes are the ISP is not responding
to you - he's down or you and the ISP are out of sync on PAP.


> I have configured the system to use the modem, but when attempting to connect, I am having big
> problems.  This is a description; my ISP says they can't help... when I called, they didn't
> even know what authentication was.

> Like I said, the modem dials, and there is a connection (I have used netcfg to make a ppp0
> device) (e.g. in debug windows, CONNECT at 57600).  Then, this is where the problems are, the
> debug window says "starting pppd..." and the connect dialog box says "Starting network
> connection..." but that's it.  It stays like that for a while then disconnects.

> I am using PAP w/ my password and logonid, and as I said the modem is correctly configured.  I
> am using no scripts as of now... simply entering the password and userid in the initial dialog
> box.

> Any help is greatly appreciated... and for any of you cynical people, yes I have check the
> newsgroups for help before I posted (you know who you are...)

> Thanks.

--



 
 
 

Modem problems, er, connection problems

Post by Yuqing Den » Sat, 03 Apr 1999 04:00:00



> I have configured the system to use the modem, but when attempting to connect, I am having big
> problems.  This is a description; my ISP says they can't help... when I called, they didn't
> even know what authentication was.

> Like I said, the modem dials, and there is a connection (I have used netcfg to make a ppp0
> device) (e.g. in debug windows, CONNECT at 57600).  Then, this is where the problems are, the
> debug window says "starting pppd..." and the connect dialog box says "Starting network
> connection..." but that's it.  It stays like that for a while then disconnects.

> I am using PAP w/ my password and logonid, and as I said the modem is correctly configured.  I
> am using no scripts as of now... simply entering the password and userid in the initial dialog
> box.

Try too connect with minicom.  See if the server acctually
starts ppp.  You will see garbage like
~y}#.!}!}!} }8}!}$}%U}"}&} } } } }%}& ...}'}"}(}"} .~~y}
if you have a PPP connection.
If the PPP connection is ok, make sure you
have the "defaultroute" option in the pppd
command line or in the pppd option file(/etc/ppp/options
on my Redhat 5.2 system).  Those were the solutions
when I made my PPP connection.  I used scripts directly
because I don't have a graphics moniter.
If that cannot solve you problem, read the PPP-HOWTO
one more time.

Hope that helps.

 
 
 

Modem problems, er, connection problems

Post by Nico Kadel-Garc » Sun, 04 Apr 1999 04:00:00



>Generic info for RH 5.2.  Assumption: you installed PPP.
>-------------------------------------------------------------------
>RH puts ppp scripts in /usr/doc/ppp-2.3.5
>Copy ppp-on, ppp-on-dialer, options to /etc/ppp.
>BTW:I have copied /dev/null to options.
>These need to be made execuitable.  Execute chmod 755 on ppp-on
>and ppp-on-dialer
>-------------------------------------------------------------------
>Modify ppp-on by editing the following:
>TELEPHONE, ACCOUNT, PASSWORD

WHOA, NELLIE! You've just made your ISP password readable
for anyone on your Linux system. Bad idea. Those scripts should
either be root readable only with suid permissions via
"sudo" to permit people to dialout, or installed in a diald enabled
system to auto-dial without user password intervention.

Hit my notes at http://cirl.meei.harvard.edu/hylafax/linux/ on this
sort of setup for Linux and SunOS. It's offline now, but should
be back tomorrow.

Quote:>> Like I said, the modem dials, and there is a connection (I have used netcfg to make a ppp0
>> device) (e.g. in debug windows, CONNECT at 57600).  Then, this is where the problems are, the
>> debug window says "starting pppd..." and the connect dialog box says "Starting network
>> connection..." but that's it.  It stays like that for a while then disconnects.

Use minicom or kermit (available at ftp sites near you) to talk to the
modem by hand, and make sure you are getting a real dialup. Then try
running the PPP connection scripts already mentioned by hand, in
"/bin/sh -x" mode so you can follow everything they do. This will
sometimes reveal some screwballness in the dialup dialog, such as the
prompts being different than what you expect.

--

 
 
 

Modem problems, er, connection problems

Post by Marc Herin » Sun, 04 Apr 1999 04:00:00


Or you can Download wvdial from http://www.worldvisions.ca/wvdial  :)
it's a little clunky at times,,but it is REALLY easy to set up and works
on just about any ISP,,(it handles chap pap and all that on it's own,,no
special config required for that,,) I used it and set up connections to
4 ISP's  (2 of which used NT for authentication) in under 5 min :)
Cheers
Marc



> > I have configured the system to use the modem, but when attempting to connect, I am having big
> > problems.  This is a description; my ISP says they can't help... when I called, they didn't
> > even know what authentication was.

> > Like I said, the modem dials, and there is a connection (I have used netcfg to make a ppp0
> > device) (e.g. in debug windows, CONNECT at 57600).  Then, this is where the problems are, the
> > debug window says "starting pppd..." and the connect dialog box says "Starting network
> > connection..." but that's it.  It stays like that for a while then disconnects.

> > I am using PAP w/ my password and logonid, and as I said the modem is correctly configured.  I
> > am using no scripts as of now... simply entering the password and userid in the initial dialog
> > box.

> Try too connect with minicom.  See if the server acctually
> starts ppp.  You will see garbage like
> ~y}#.!}!}!} }8}!}$}%U}"}&} } } } }%}& ...}'}"}(}"} .~~y}
> if you have a PPP connection.
> If the PPP connection is ok, make sure you
> have the "defaultroute" option in the pppd
> command line or in the pppd option file(/etc/ppp/options
> on my Redhat 5.2 system).  Those were the solutions
> when I made my PPP connection.  I used scripts directly
> because I don't have a graphics moniter.
> If that cannot solve you problem, read the PPP-HOWTO
> one more time.

> Hope that helps.

 
 
 

1. perl -pe "s/<er>/<er>\n"/g": memory efficient version?

I have a file which has 1 super long line that contains

some thing<er>something else<er>and more stuff<er>...

perl -pe "s/<er>/<er>\n"/g"

works for small files, but for large files, it runs out of
memory. Is there a memory efficient version?

awk '{gsub("<er>","<er>\n"); print}'
is not memory efficient either.

Any solution using standard Unix utility is welcome,
(without having to code a control character).

Thanks.
--

2. News problem with INN 1.4 on Slackware 1.2.0

3. ms image change ... micro-er soft-er

4. Time out when running rz under minicom

5. sed'ers & awk'ers part II - help!

6. Using multiple ISPs with ISDN and controlling this from a win9x box on the masqueraded network

7. Weird fast(er) connection...

8. Big Brother Billy does it again!

9. EIDE Partitioning with DROSS (er DOS) and Linux - Problem

10. Mgetty connection over a null modem problem

11. Cable modem connection problem

12. Ricochet wireless modem connection problems

13. modem connection problem