pppd problem

2003-03-25 Thread Michael Mather
I had a similar problem to that archived at:

http://lists.debian.org/debian-user/2003/debian-user-200303/msg00256.html

but with an extra twist.

I was trying to use  pon  and  poff  to access my ISP by dial-up modem.
This was on Debian 3.0r1, newly installed on a PC, and using  pppconfig
to set up  ppp  with dynamic DNS.

I would say:

pon

and get the reply:

PPP: version 2.3.7 (demand dialling)
PPP: line discipline registered
registered device ppp0

At this stage, Konqueror would sit for 40 seconds and then say that the
site was not found.

Then I would say:
poff

Now, if I requested a site in Konqueror, the modem would dial again and
this time the site would be found properly!

As suggested in the archive, I removed diald, and everything seems to
work properly now. (After struggling for many days.)

Questions:

(1) Why did it work properly when it dialed for itself?
(2) Should this be reported as a bug?

Note: If I remember correctly, tasksel actually asks if you want diald.
For a beginner like me, it looks necessary.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AW: pppd problem...

2003-03-02 Thread Wilfried Essig
Am Son, 2003-03-02 um 02.05 schrieb Christof Hurschler:
> Sorry, but how do I get rid of the "tap0" default route?

Dear Christof,

maybe by deleting the line "gateway ..." from the interface-section of tap0 in your 
"/etc/network/interfaces"?

IMHO pppd denies in many cases the setting of a default-route, if any
other exists during startup of the ppp-connection.

-- 
Wilfried Essig <[EMAIL PROTECTED]>
Familie Essig


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AW: pppd problem...

2003-03-02 Thread Christof Hurschler
I removed diald and that solved the problem.  At least I got pppd to work,
and it seems to work fine.

Thanks,

Chris

Dr.-Ing. Christof Hurschler
Bodenstedtstr. 13
D-30173 Hannover

[EMAIL PROTECTED]
0511 8039970
0172 5946909


> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 1. Marz 2003 20:31
> An: [EMAIL PROTECTED]
> Betreff: Re: pppd problem...
>
>
> Christof Hurschler writes:
> > Mar  1 18:58:38 k6 pppd[682]: not replacing existing
> default route to tap0
> 
>
> This is your problem.  You most likely do not need that
> default route at
> all.  Get rid of it.
> --
> John Hasler
> [EMAIL PROTECTED] (John Hasler)
> Dancing Horse Hill
> Elmwood, WI
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AW: pppd problem...

2003-03-02 Thread Kevin Buhr
"Christof Hurschler" <[EMAIL PROTECTED]> writes:
>
> Sorry, but how do I get rid of the "tap0" default route?

The "diald" dial-on-demand package is probably doing it.  You can
"apt-get remove diald" to get it out of the way, at least until you
get things working with "pon/poff".

-- 
Kevin Buhr <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AW: pppd problem...

2003-03-01 Thread Christof Hurschler
route gives

k6:~# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric RefUse
Iface
62.53.142.1 *   255.255.255.255 UH0  00 ppp0
192.168.0.2 *   255.255.255.255 UH1  00 tap0
default *   0.0.0.0 U 1  00 tap0

My isp requires the email address as the login name.  That works under
windows.

In pppconfig I set it to dynamically set the DNS server which I guess it's
doing because I'm getting the lines

Mar  1 18:58:38 k6 pppd[682]: primary   DNS address 62.53.142.30
Mar  1 18:58:38 k6 pppd[682]: secondary DNS address 193.189.244.205

in my script.  Or am I mistaken here?

Thanks,

Chris

Dr.-Ing. Christof Hurschler
Bodenstedtstr. 13
D-30173 Hannover

[EMAIL PROTECTED]
0511 8039970
0172 5946909


> -Ursprungliche Nachricht-
> Von: Donald Spoon [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 1. Marz 2003 20:45
> An: [EMAIL PROTECTED]
> Betreff: Re: pppd problem...
>
>
> Christof Hurschler wrote:
> > Hi, I've tried, but can't seem to figure out how to get
> this working.  Yes,
> > I'm a newbie.
> >
> > I'm running Woody, and made the following config file with pppconfig
> >
> > # This optionfile was generated by pppconfig 2.0.10.
> > #
> > #
> > hide-password
> > noauth
> > connect "/usr/sbin/chat -v -f /etc/chatscripts/debitel.net"
> > debug
> > /dev/ttySL0
> > 115200
> > defaultroute
> > noipdefault
> > user [EMAIL PROTECTED]
>
> Rerun pppconfig and make the above line read:
> user "hurschler"
>
> All you have to do is enter your ISP "username" when asked, not your
> E-Mail address as you did.
>
> > remotename debitel.net
> > ipparam debitel.net
> >
> > usepeerdns
> >
>
> It looks like your modem is working OK and getting the necessary info
> from your ISP (IP, DNS, etc).  I suspect that the error noted
> above is
> resulting in you not automatically logging in to your account at your
> ISP, via PAP.  If you just put in your login name (username) that you
> use when you are asked by pppconfig and your password, then PAP will
> automatically log you in.  Do select PAP authentication.
> Also you can
> check the current status of your "username" and "password" by
> looking in
> the /etc/ppp/pap-secrets file near the bottom.  I suspect it
> will have
> your E-Mail address listed in the first column... this should be your
> username enclosed is quotes.  Re-running pppconfig with the
> correct info
> should clear this up.
>
> Normally, not being able to contact various hosts around the internet
> with lynx or konqueror indicates a DNS problem.  You can usually tell
> this if you can "ping" hosts by IP number but not by name.  I really
> don't think this is your problem here, but if you continue to have
> problems after making the above suggested changes, come on
> back with the
> results of a "route" and "ifconfig" command after you have
> established
> the connection.
>
> Is the connection terminating by itself or did you terminate
> it in the
> above log extract?  If it is terminating itself, then it
> would add more
> support to you not really getting logged in, IMHO.
>
> Cheers,
> -Don Spoon-
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AW: pppd problem...

2003-03-01 Thread Christof Hurschler
Sorry, but how do I get rid of the "tap0" default route?

Chris

Dr.-Ing. Christof Hurschler
Bodenstedtstr. 13
D-30173 Hannover

[EMAIL PROTECTED]
0511 8039970
0172 5946909


> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Gesendet: Samstag, 1. Marz 2003 20:31
> An: [EMAIL PROTECTED]
> Betreff: Re: pppd problem...
> 
> 
> Christof Hurschler writes:
> > Mar  1 18:58:38 k6 pppd[682]: not replacing existing 
> default route to tap0
> 
> 
> This is your problem.  You most likely do not need that 
> default route at
> all.  Get rid of it.
> -- 
> John Hasler
> [EMAIL PROTECTED] (John Hasler)
> Dancing Horse Hill
> Elmwood, WI
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem...

2003-03-01 Thread Todd Pytel
Duly noted. Thanks for the info.

--Todd

On 01 Mar 2003 14:21:07 -0600
John Hasler <[EMAIL PROTECTED]> wrote:

> Todd writes:
> > Or, if you don't need any other name resolution, back up the
> > original resolv.conf, and make /etc/resolv.conf a symlink to
> > /etc/ppp/resolv.conf.
> 
> This is taken care of automatically (though in a different fashion) by
> scripts that are enabled by selecting 'Dynamic' in the 'Configure
> Nameservers' screen in pppconfig.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem...

2003-03-01 Thread John Hasler
Don Spoon writes:
> All you have to do is enter your ISP "username" when asked, not your
> E-Mail address as you did.

Some ISPs want the entire email address.

> It looks like your modem is working OK and getting the necessary info
> from your ISP (IP, DNS, etc).

He wouldn't be getting as far as he is if he was not authenticating
successfully.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem...

2003-03-01 Thread John Hasler
Todd writes:
> Or, if you don't need any other name resolution, back up the original
> resolv.conf, and make /etc/resolv.conf a symlink to /etc/ppp/resolv.conf.

This is taken care of automatically (though in a different fashion) by
scripts that are enabled by selecting 'Dynamic' in the 'Configure
Nameservers' screen in pppconfig.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem...

2003-03-01 Thread Donald Spoon
Christof Hurschler wrote:
Hi, I've tried, but can't seem to figure out how to get this working.  Yes,
I'm a newbie.
I'm running Woody, and made the following config file with pppconfig

# This optionfile was generated by pppconfig 2.0.10.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/debitel.net"
debug
/dev/ttySL0
115200
defaultroute
noipdefault
user [EMAIL PROTECTED]
Rerun pppconfig and make the above line read:
user "hurschler"
All you have to do is enter your ISP "username" when asked, not your 
E-Mail address as you did.

remotename debitel.net
ipparam debitel.net
usepeerdns

It looks like your modem is working OK and getting the necessary info 
from your ISP (IP, DNS, etc).  I suspect that the error noted above is 
resulting in you not automatically logging in to your account at your 
ISP, via PAP.  If you just put in your login name (username) that you 
use when you are asked by pppconfig and your password, then PAP will 
automatically log you in.  Do select PAP authentication.  Also you can 
check the current status of your "username" and "password" by looking in 
the /etc/ppp/pap-secrets file near the bottom.  I suspect it will have 
your E-Mail address listed in the first column... this should be your 
username enclosed is quotes.  Re-running pppconfig with the correct info 
should clear this up.

Normally, not being able to contact various hosts around the internet 
with lynx or konqueror indicates a DNS problem.  You can usually tell 
this if you can "ping" hosts by IP number but not by name.  I really 
don't think this is your problem here, but if you continue to have 
problems after making the above suggested changes, come on back with the 
results of a "route" and "ifconfig" command after you have established 
the connection.

Is the connection terminating by itself or did you terminate it in the 
above log extract?  If it is terminating itself, then it would add more 
support to you not really getting logged in, IMHO.

Cheers,
-Don Spoon-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem...

2003-03-01 Thread Todd Pytel
Or, if you don't need any other name resolution, back up the original
resolv.conf, and make /etc/resolv.conf a symlink to
/etc/ppp/resolv.conf. That way you'll track any changes to the DNS
servers automatically. Note: I haven't done this on Debian - I'm
assuming Deb ppp is no different than other Linux ppp's.

--Todd

On Sat, 01 Mar 2003 20:05:23 +0100
[EMAIL PROTECTED] (Sebastian D.B. Krause) wrote:

> Can you ping hosts? Perhaps it's just a DNS problem.
> $ cat /etc/resolv.conf
> 
> > Mar  1 18:58:38 k6 pppd[682]: primary   DNS address 62.53.142.30
> > Mar  1 18:58:38 k6 pppd[682]: secondary DNS address 193.189.244.205
> 
> echo "nameserver 62.53.142.30" >> /etc/resolv.conf
> echo "nameserver 193.189.244.205" >> /etc/resolv.conf


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem...

2003-03-01 Thread John Hasler
Christof Hurschler writes:
> Mar  1 18:58:38 k6 pppd[682]: not replacing existing default route to tap0


This is your problem.  You most likely do not need that default route at
all.  Get rid of it.
-- 
John Hasler
[EMAIL PROTECTED] (John Hasler)
Dancing Horse Hill
Elmwood, WI


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem...

2003-03-01 Thread Sebastian D.B. Krause
On 3468 September 1993, Christof Hurschler wrote:
> I can connect with pon, but lynx and konquerer can't locate any
> hosts that I try to open.

Can you ping hosts? Perhaps it's just a DNS problem.
$ cat /etc/resolv.conf

> Mar  1 18:58:38 k6 pppd[682]: primary   DNS address 62.53.142.30
> Mar  1 18:58:38 k6 pppd[682]: secondary DNS address 193.189.244.205

echo "nameserver 62.53.142.30" >> /etc/resolv.conf
echo "nameserver 193.189.244.205" >> /etc/resolv.conf

Sebastian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



pppd problem...

2003-03-01 Thread Christof Hurschler
Hi, I've tried, but can't seem to figure out how to get this working.  Yes,
I'm a newbie.

I'm running Woody, and made the following config file with pppconfig

# This optionfile was generated by pppconfig 2.0.10.
#
#
hide-password
noauth
connect "/usr/sbin/chat -v -f /etc/chatscripts/debitel.net"
debug
/dev/ttySL0
115200
defaultroute
noipdefault
user [EMAIL PROTECTED]
remotename debitel.net
ipparam debitel.net

usepeerdns

I can connect with pon, but lynx and konquerer can't locate any hosts that I
try to open.
below is the syslog from when I start pppd with pon and when I end it with
poff

Any suggestions would be very greatly appreciated!

Thanks,  Chris

Mar  1 18:58:05 k6 pppd[682]: pppd 2.4.1 started by root, uid 0
Mar  1 18:58:06 k6 chat[683]: abort on (BUSY)
Mar  1 18:58:06 k6 chat[683]: abort on (NO CARRIER)
Mar  1 18:58:06 k6 chat[683]: abort on (VOICE)
Mar  1 18:58:06 k6 chat[683]: abort on (NO DIALTONE)
Mar  1 18:58:06 k6 chat[683]: abort on (NO DIAL TONE)
Mar  1 18:58:06 k6 chat[683]: abort on (NO ANSWER)
Mar  1 18:58:06 k6 chat[683]: abort on (DELAYED)
Mar  1 18:58:06 k6 chat[683]: send (ATZ^M)
Mar  1 18:58:06 k6 chat[683]: expect (OK)
Mar  1 18:58:06 k6 chat[683]: ATZ^M^M
Mar  1 18:58:06 k6 chat[683]: OK
Mar  1 18:58:06 k6 chat[683]:  -- got it
Mar  1 18:58:06 k6 chat[683]: send (ATDT01033019161^M)
Mar  1 18:58:07 k6 chat[683]: expect (CONNECT)
Mar  1 18:58:07 k6 chat[683]: ^M
Mar  1 18:58:33 k6 chat[683]: ATDT01033019161^M^M
Mar  1 18:58:33 k6 chat[683]: CONNECT
Mar  1 18:58:33 k6 chat[683]:  -- got it
Mar  1 18:58:33 k6 chat[683]: send (\d)
Mar  1 18:58:34 k6 pppd[682]: Serial connection established.
Mar  1 18:58:34 k6 pppd[682]: using channel 4
Mar  1 18:58:34 k6 pppd[682]: Using interface ppp0
Mar  1 18:58:34 k6 pppd[682]: Connect: ppp0 <--> /dev/ttySL0
Mar  1 18:58:35 k6 pppd[682]: sent [LCP ConfReq id=0x1]
Mar  1 18:58:35 k6 pppd[682]: rcvd [LCP ConfReq id=0x1  ]
Mar  1 18:58:35 k6 pppd[682]: sent [LCP ConfRej id=0x1 ]
Mar  1 18:58:35 k6 pppd[682]: rcvd [LCP ConfRej id=0x1 ]
Mar  1 18:58:35 k6 pppd[682]: sent [LCP ConfReq id=0x2   ]
Mar  1 18:58:36 k6 pppd[682]: rcvd [LCP ConfReq id=0x2]
Mar  1 18:58:36 k6 pppd[682]: sent [LCP ConfAck id=0x2]
Mar  1 18:58:36 k6 pppd[682]: rcvd [LCP ConfRej id=0x2 ]
Mar  1 18:58:36 k6 pppd[682]: sent [LCP ConfReq id=0x3  ]
Mar  1 18:58:37 k6 pppd[682]: rcvd [LCP ConfAck id=0x3  ]
Mar  1 18:58:37 k6 pppd[682]: sent [LCP EchoReq id=0x0 magic=0xda2aa016]
Mar  1 18:58:37 k6 pppd[682]: sent [PAP AuthReq id=0x1
user="[EMAIL PROTECTED]" password=]
Mar  1 18:58:37 k6 pppd[682]: rcvd [LCP EchoRep id=0x0 magic=0x1a9c64da]
Mar  1 18:58:37 k6 pppd[682]: rcvd [PAP AuthAck id=0x1 ""]
Mar  1 18:58:37 k6 pppd[682]: sent [IPCP ConfReq id=0x1 
  ]
Mar  1 18:58:37 k6 pppd[682]: sent [CCP ConfReq id=0x1 
 ]
Mar  1 18:58:37 k6 pppd[682]: rcvd [IPCP ConfReq id=0x3 
]
Mar  1 18:58:37 k6 pppd[682]: sent [IPCP ConfAck id=0x3 
]
Mar  1 18:58:37 k6 pppd[682]: rcvd [LCP ProtRej id=0x4 80 fd 01 01 00 0f 1a
04 78 00 18 04 78 00 15 03 2f]
Mar  1 18:58:37 k6 pppd[682]: rcvd [IPCP ConfNak id=0x1   ]
Mar  1 18:58:37 k6 pppd[682]: sent [IPCP ConfReq id=0x2]
Mar  1 18:58:38 k6 pppd[682]: rcvd [IPCP ConfAck id=0x2]
Mar  1 18:58:38 k6 pppd[682]: not replacing existing default route to tap0
[0.0.0.0]
Mar  1 18:58:38 k6 pppd[682]: Cannot determine ethernet address for proxy
ARP
Mar  1 18:58:38 k6 pppd[682]: local  IP address 217.184.239.99
Mar  1 18:58:38 k6 pppd[682]: remote IP address 62.53.142.1
Mar  1 18:58:38 k6 pppd[682]: primary   DNS address 62.53.142.30
Mar  1 18:58:38 k6 pppd[682]: secondary DNS address 193.189.244.205
Mar  1 18:58:38 k6 pppd[682]: Script /etc/ppp/ip-up started (pid 685)
Mar  1 18:58:38 k6 pppd[682]: Script /etc/ppp/ip-up finished (pid 685),
status = 0x1
Mar  1 18:59:07 k6 pppd[682]: sent [LCP EchoReq id=0x1 magic=0xda2aa016]
Mar  1 18:59:07 k6 pppd[682]: rcvd [LCP EchoRep id=0x1 magic=0x1a9c64da]
Mar  1 18:59:37 k6 pppd[682]: sent [LCP EchoReq id=0x2 magic=0xda2aa016]
Mar  1 18:59:37 k6 pppd[682]: rcvd [LCP EchoRep id=0x2 magic=0x1a9c64da]
Mar  1 19:00:07 k6 pppd[682]: sent [LCP EchoReq id=0x3 magic=0xda2aa016]
Mar  1 19:00:07 k6 pppd[682]: rcvd [LCP EchoRep id=0x3 magic=0x1a9c64da]
Mar  1 19:00:36 k6 pppd[682]: Terminating on signal 15.
Mar  1 19:00:36 k6 pppd[682]: Script /etc/ppp/ip-down started (pid 706)
Mar  1 19:00:36 k6 pppd[682]: sent [LCP TermReq id=0x4 "User request"]
Mar  1 19:00:37 k6 pppd[682]: rcvd [LCP TermAck id=0x4]
Mar  1 19:00:37 k6 pppd[682]: Connection terminated.
Mar  1 19:00:37 k6 pppd[682]: Connect time 2.1 minutes.
Mar  1 19:00:37 k6 pppd[682]: Sent 87 bytes, received 174 bytes.
Mar  1 19:00:37 k6 pppd[682]: Waiting for 1 child processes...
Mar  1 19:00:37 k6 pppd[682]:   script /etc/ppp/ip-down, pid 706
Mar  1 19:00:37 k6 pppd[682]: Script /etc/ppp/ip-down finished (pid 706),
status = 0x0
Mar  1 19:00:37 k6 pppd[682]: Exit.

Dr.-Ing. Christof Hurschler
Bodenstedtstr. 13
D-30173 Hannover

[EMAIL PROTECTED]
0511 80399

Re: pppd problem

2002-11-16 Thread Christian Mascher
On Sat, Nov 09, 2002 at 02:03:24PM +0100, Emanuele Boieri wrote:
> Hello all!
> At last I successfully installed my modem (beta) drivers (dawned internal modems) 
>and the kppp application to get into the internet...BUT,  after the number is dialled 
>it comes up an error: the problem (it says) is with the ppp daemon that interrupts 
>suddenly the link because of an anexpected error (code 1). I typed man pppd to see 
>the meaning of the error code 1 and it was no so helpful, telling about a missing 
>system call and something like that. Does someone have an idea about what to do?? I'd 
>like to connect to the internet,really.

You could also try wvdial. It seems to know much about modem settings
(at least I only needed to provide the ISP telephone number and it
started up the connection allright).

Christian


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: pppd problem

2002-11-09 Thread Chris Lale
Emanuele writes:

> I'd like to connect to the internet,really.

You might try http://newbiedoc.sourceforge.net/ and look in the 
'Peripherals' section for the article entitled 'Setting up a serial 
modem on a Debian desktop PC'.

Chris

--
 ___   Chris Lale   <[EMAIL PROTECTED]>
/   \
| <_/  My PC runs Debian GNU/Linux 3.0.
\  Robust, secure and free operating system + applications.
 \ Available at http://www.debian.org


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: pppd problem

2002-11-09 Thread John Hasler
Emanuele writes:
> I'd like to connect to the internet,really.

Run pppconfig as root and aswer the questions.  Then use the command 'pon'
to start ppp and 'poff' to stop it.  If you still have problems post the
output of the command 'plog' and the contents of /etc/ppp/peers/provider
and /etc/chatscripts/provider.
-- 
John Hasler
[EMAIL PROTECTED]
Dancing Horse Hill
Elmwood, Wisconsin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




pppd problem

2002-11-09 Thread Emanuele Boieri



Hello all!
At last I successfully installed my modem (beta) 
drivers (dawned internal modems) and the kppp application to get into the 
internet...BUT,  after the number is dialled it comes up an error: the 
problem (it says) is with the ppp daemon that interrupts suddenly the link 
because of an anexpected error (code 1). I typed man pppd to see the meaning of 
the error code 1 and it was no so helpful, telling about a missing system call 
and something like that. Does someone have an idea about what to do?? I'd like 
to connect to the internet,really.
Thanks
Emanuele


Re: pppd problem ?

2001-03-18 Thread Philipp Bliedung
Thanks for your help - that did the trick !!

Philipp
Christoph Groth wrote:

> Philipp Bliedung <[EMAIL PROTECTED]> writes:
>
> > It complains about the module: tty-ldisc-3. I have absolutely no
> > clue where I can get it from, I've never heared about anything lilke
> > that.  What do I have to do to get my modem working?
>
> Have a look at the file /etc/modutils/aliases (The files located in
> /etc/modutils/ are used to create /etc/modules.conf by the program
> `update-modules'.  See `man update-modules' for more information).
> There is a line
>
> alias tty-ldisc-3 ppp_async
>
> You'll need the kernel module ppp_async, so just activate the option
> `PPP support for async serial ports' in the kernel configuration.
> Perhaps you should activate the ppp-compression-modules, too.  IIRC
> ppp support was just one module in 2.2-kernels, now it appears to have
> been divided into several smaller modules.
>
> If there is some strange name and you don't know what it means you can
> always try:
>
> find /etc -type f | xargs grep strange_name
>
> This will often give you the vital hint.
>
> hope this helps,
> Christoph
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]





Re: pppd problem ?

2001-03-18 Thread Christoph Groth
Philipp Bliedung <[EMAIL PROTECTED]> writes:

> It complains about the module: tty-ldisc-3. I have absolutely no
> clue where I can get it from, I've never heared about anything lilke
> that.  What do I have to do to get my modem working?

Have a look at the file /etc/modutils/aliases (The files located in
/etc/modutils/ are used to create /etc/modules.conf by the program
`update-modules'.  See `man update-modules' for more information).
There is a line

alias tty-ldisc-3 ppp_async

You'll need the kernel module ppp_async, so just activate the option
`PPP support for async serial ports' in the kernel configuration.
Perhaps you should activate the ppp-compression-modules, too.  IIRC
ppp support was just one module in 2.2-kernels, now it appears to have
been divided into several smaller modules.


If there is some strange name and you don't know what it means you can
always try:

find /etc -type f | xargs grep strange_name

This will often give you the vital hint.

hope this helps,
Christoph



pppd problem ?

2001-03-17 Thread Philipp Bliedung
Hi,

I just compiled the 2.4.0 kernel. (I compiled the ppp-support into it.)
When I reboot everything works fine, except for the PCMCIA modem. My
PCMCIA network card works just fine. So I upgraded pppd to version
2.4.0  but it still doesn't work?
Is there anything else I'm missing?

Here is what I get when I try to connect to my ISP using pon:
laptop:/home/user1# tail /var/log/syslog
Mar 17 19:44:48 laptop chat[1785]: ^M
Mar 17 19:45:07 laptop chat[1785]: ATDT6749955^M^M
Mar 17 19:45:07 laptop chat[1785]: CONNECT
Mar 17 19:45:07 laptop chat[1785]: -- got it
Mar 17 19:45:07 laptop chat[1785]: send (\d)
Mar 17 19:45:08 laptop pppd[1784]: Serial connection established.
Mar 17 19:45:08 laptop modprobe: modprobe: Can't locate module
tty-ldisc-3
Mar 17 19:45:08 laptop pppd[1784]: Couldn't set tty to PPP discipline:
Invalid argument
Mar 17 19:45:08 laptop pppd[1784]: Hangup (SIGHUP)
Mar 17 19:45:08 laptop pppd[1784]: Exit.
laptop:/home/user1#

It complains about the module: tty-ldisc-3. I have absolutely no clue
where I can get it from, I've never heared about anything lilke that.
What do I have to do to get my modem working?

TIA !
Philipp












Re: pppd problem with 2.4.1

2001-02-14 Thread Adrian Bunk
On Thu, 8 Feb 2001, Tom George wrote:

> Before compiling the 2.4.1 kernel I used apt-get dist-upgrade  to
> install all the available upgrades in the stable distribution,.  I then
> checked against the list in changes and found that I still had only
> modutils 2.3.11-13.1.  I used apt-get install modutils to get version
> 2.4.1-2.   Still dpkg -l shows that I still have only ppp 2.3.11-1.4.  I
> will try getting ppp 2.4.0 from the unstable distribution.
>
> I am a little nervous about this - I really want to use some of the
> features of 2.4 but why should I have to obtain packages from the
> unstable distribution for a stable kernel distribution?

The way between this is to use the packages I have prepared [1] - but read
the warnings before you install these packages.

cu,
Adrian

[1] http://www.fs.tum.de/~bunk/kernel-24.html


-- 

Nicht weil die Dinge schwierig sind wagen wir sie nicht,
sondern weil wir sie nicht wagen sind sie schwierig.



Re: pppd problem with 2.4.1

2001-02-14 Thread Adrian Bunk
On Fri, 9 Feb 2001, David Wright wrote:

>...
> 2.4 kernels missed the boat for getting into the current stable=potato,
> so you're going to have to do the same sort of thing. Debian will not
> add new packages to its stable distribution just so that it works with
> a kernel that happens to be called "stable": this would destroy
> Debian's notion of a stable distribution.

Yes, and there's another important point: When you upgrade modutils to a
version needed for kernel 2.4.x you can no longer run a modular 2.0.x
kernel - and modular 2.0.x kernels are in potato.

> Cheers,

cu,
Adrian

-- 

Nicht weil die Dinge schwierig sind wagen wir sie nicht,
sondern weil wir sie nicht wagen sind sie schwierig.



Re: pppd problem with 2.4.1

2001-02-12 Thread Oki DZ
On Thu, 8 Feb 2001, Tom George wrote:

> I compiled 2.4.1 and tried to sign on the internet.  pppd sent a string 
> that caused the connection to fail.  I reloaced 2.2.12 and signed on 
> with no difficulty in order to send this message.  Any ideas?

The following configuration works perfectly (for my serial modem
connection):
bdg:/home/okidz# uname -a
Linux bdg 2.4.1 #2 SMP Mon Feb 5 14:27:10 JAVT 2001 i686 unknown
bdg:/home/okidz# dpkg -l | grep ppp 
ii  ppp2.4.0f-1   Point-to-Point Protocol (PPP) daemon.

/etc/modules:
#
slhc
ppp_generic
ppp_async

After you have edited /etc/modules, you can do the following:
insmod slhc
insmod ppp_generic
insmod ppp_async
So that you don't have to reboot the machine (you are not supposed to ;-).

Enjoy your ppp connection,
Oki






Re: pppd problem with 2.4.1

2001-02-09 Thread Tom George

David Wright wrote:


Quoting Tom George ([EMAIL PROTECTED]):


I am a little nervous about this - I really want to use some of the
features of 2.4 but why should I have to obtain packages from the
unstable distribution for a stable kernel distribution?



 --

I thought that an even number in the second place (the 4 in 2.4.1) 
indicated a stable version and an odd number indicated a development 


  --   ---

version.  In any case dlkern -s (from www.ChaosReigns.com) is supposed 
to download the latest stable version


 --

This discussion will bog down unless you define your terms.

Only the term underlined with === is a Debian term. The terms underlined
with --- are linux kernel terms. There's no connection.

As was the case when Debian's stable was slink, and 2.2 kernels became
stable after 2.0, you had to upgrade certain parts of your Debian stable
distribution to get slink to run with 2.2 kernels (notably netbase).

2.4 kernels missed the boat for getting into the current stable=potato,
so you're going to have to do the same sort of thing. Debian will not
add new packages to its stable distribution just so that it works with
a kernel that happens to be called "stable": this would destroy
Debian's notion of a stable distribution.

Cheers,

Thanks for the clarification.  I did not appreciate these distinctions.  
Now that I do I can manage my upgrades more carefully.




Re: pppd problem with 2.4.1

2001-02-09 Thread David Wright
Quoting Tom George ([EMAIL PROTECTED]):

> >> I am a little nervous about this - I really want to use some of the
> >> features of 2.4 but why should I have to obtain packages from the
> >> unstable distribution for a stable kernel distribution?
 --

> I thought that an even number in the second place (the 4 in 2.4.1) 
> indicated a stable version and an odd number indicated a development 
  --   ---
> version.  In any case dlkern -s (from www.ChaosReigns.com) is supposed 
> to download the latest stable version
 --

This discussion will bog down unless you define your terms.

Only the term underlined with === is a Debian term. The terms underlined
with --- are linux kernel terms. There's no connection.

As was the case when Debian's stable was slink, and 2.2 kernels became
stable after 2.0, you had to upgrade certain parts of your Debian stable
distribution to get slink to run with 2.2 kernels (notably netbase).

2.4 kernels missed the boat for getting into the current stable=potato,
so you're going to have to do the same sort of thing. Debian will not
add new packages to its stable distribution just so that it works with
a kernel that happens to be called "stable": this would destroy
Debian's notion of a stable distribution.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Re: pppd problem with 2.4.1

2001-02-08 Thread Tom George

Hall Stevenson wrote:


Before compiling the 2.4.1 kernel I used apt-get dist-upgrade  to
install all the available upgrades in the stable distribution,.  I


then


checked against the list in changes and found that I still had only
modutils 2.3.11-13.1.  I used apt-get install modutils to get version
2.4.1-2.   Still dpkg -l shows that I still have only ppp 2.3.11-1.4.


I


will try getting ppp 2.4.0 from the unstable distribution.

I am a little nervous about this - I really want to use some of the
features of 2.4 but why should I have to obtain packages from the
unstable distribution for a stable kernel distribution?



If it's any consolation, I'm running Debian's "unstable" version and
it's pretty damn stable for me !! ;-) Course, I don't really push it
like some people may.

Is kernel 2.4 in "stable" now ?? I just checked
http://packages.debian.org and it does *not* appear to be... it's still
in "unstable". Note though, it has a 99% quality rating. Should be
pretty safe to use. ;-)

Also, why would the package ppp-2.3.11-1.4 be listed in "stable", but
have a quality of 1% ??

Regards
Hall Stevenson


I thought that an even number in the second place (the 4 in 2.4.1) 
indicated a stable version and an odd number indicated a development 
version.  In any case dlkern -s (from www.ChaosReigns.com) is supposed 
to download the latest stable version




Re: pppd problem with 2.4.1

2001-02-08 Thread Hall Stevenson
> Before compiling the 2.4.1 kernel I used apt-get dist-upgrade  to
> install all the available upgrades in the stable distribution,.  I
then
> checked against the list in changes and found that I still had only
> modutils 2.3.11-13.1.  I used apt-get install modutils to get version
> 2.4.1-2.   Still dpkg -l shows that I still have only ppp 2.3.11-1.4.
I
> will try getting ppp 2.4.0 from the unstable distribution.
>
> I am a little nervous about this - I really want to use some of the
> features of 2.4 but why should I have to obtain packages from the
> unstable distribution for a stable kernel distribution?

If it's any consolation, I'm running Debian's "unstable" version and
it's pretty damn stable for me !! ;-) Course, I don't really push it
like some people may.

Is kernel 2.4 in "stable" now ?? I just checked
http://packages.debian.org and it does *not* appear to be... it's still
in "unstable". Note though, it has a 99% quality rating. Should be
pretty safe to use. ;-)

Also, why would the package ppp-2.3.11-1.4 be listed in "stable", but
have a quality of 1% ??

Regards
Hall Stevenson



Re: pppd problem with 2.4.1

2001-02-08 Thread Tom George

Tom George wrote:


Hall Stevenson wrote:


I compiled 2.4.1 and tried to sign on the internet.  pppd
sent a string that caused the connection to fail.  I
reloaced 2.2.12 and signed on with no difficulty in order
to send this message.  Any ideas?




You need a specific, updated version of pppd to work with kernels 2.4.x.
All the updated/required packages are detailed in the "changes" (or is
it "Changes") file included with the kernel.

Regards
Hall


Before compiling the 2.4.1 kernel I used apt-get dist-upgrade  to 
install all the available upgrades in the stable distribution,.  I 
then checked against the list in changes and found that I still had 
only modutils 2.3.11-13.1.  I used apt-get install modutils to get 
version 2.4.1-2.   Still dpkg -l shows that I still have only ppp 
2.3.11-1.4.  I will try getting ppp 2.4.0 from the unstable distribution.


I am a little nervous about this - I really want to use some of the 
features of 2.4 but why should I have to obtain packages from the 
unstable distribution for a stable kernel distribution?



Well I got ppp 2.4.0f-1.  I had to ./MAKEDEV ttyS4, then setserial uart 
16550A port 0xd800 irq 3  When I executed pon and then plog I got a 
message that the device was locked pid 181.


For the record I configured the 2.4.1 kernel for standard uart support, 
for extended dumb serial support and for more than 4 serial ports.  I am 
only using ttyS0 and ttyS4 - the latter because that is where my Zoom 
pci modem decided it belonged.




Re: pppd problem with 2.4.1

2001-02-08 Thread Tom George

Hall Stevenson wrote:


I compiled 2.4.1 and tried to sign on the internet.  pppd
sent a string that caused the connection to fail.  I
reloaced 2.2.12 and signed on with no difficulty in order
to send this message.  Any ideas?



You need a specific, updated version of pppd to work with kernels 2.4.x.
All the updated/required packages are detailed in the "changes" (or is
it "Changes") file included with the kernel.

Regards
Hall


Before compiling the 2.4.1 kernel I used apt-get dist-upgrade  to 
install all the available upgrades in the stable distribution,.  I then 
checked against the list in changes and found that I still had only 
modutils 2.3.11-13.1.  I used apt-get install modutils to get version 
2.4.1-2.   Still dpkg -l shows that I still have only ppp 2.3.11-1.4.  I 
will try getting ppp 2.4.0 from the unstable distribution.


I am a little nervous about this - I really want to use some of the 
features of 2.4 but why should I have to obtain packages from the 
unstable distribution for a stable kernel distribution?




Re: pppd problem with 2.4.1

2001-02-08 Thread Hall Stevenson
> I compiled 2.4.1 and tried to sign on the internet.  pppd
> sent a string that caused the connection to fail.  I
> reloaced 2.2.12 and signed on with no difficulty in order
> to send this message.  Any ideas?

You need a specific, updated version of pppd to work with kernels 2.4.x.
All the updated/required packages are detailed in the "changes" (or is
it "Changes") file included with the kernel.

Regards
Hall



pppd problem with 2.4.1

2001-02-08 Thread Tom George
I compiled 2.4.1 and tried to sign on the internet.  pppd sent a string 
that caused the connection to fail.  I reloaced 2.2.12 and signed on 
with no difficulty in order to send this message.  Any ideas?




pcmcia/pppd problem in potato

1999-12-14 Thread Graham Williams
To recap: I'm somewhere along the way of moving from slink to potato.
After recompiling the kernel and pcmcia modules "pon" stopped working
with the log indicating from pppd:

  Can't get terminal parameters: Input/output error

Doing a

  setserial /dev/ttyS1 irq 0

sometimes fixes this, but turning polling off reduces the throughput
dramatically. Sometimes doing:

  setserial /dev/ttyS1 irq 3

fixes things up again (the 3 came from hunting through the messages
log and guessing the association between irq 3 and pcmcia).  Sometimes
I need to reboot to get these setserial commands to have an effect
(i.e., to get "pon" working again).

I'm getting by, but I'd sure like to understand what's going on, and
fix it?

Cheers,
Graham

> Dan Christensen wrote to Graham Williams on 30 Nov 1999 02:57:31 +1100:

Dan> ...  One thing that makes my modem work again is to type:
Dan>   setserial /dev/ttyS1 irq 0
Dan> ...


DialD/PPPD Problem....

1998-04-21 Thread Kevin Traas
I'm currently running DialD using a USR Sportster 33.6 Modem.  I want to
"upgrade" this modem to a K56Flex Motorola; however, when I swap out the USR
for the Motorola, strange things happen

After enabling full debug and watching the logs, all I could find was that
DialD's connect script would run successfully and diald would start pppd.
However, right at this point, pppd would die with only an "exit" - rather
than the usual, which is "ppp1...".

I've tried connecting to my ISP using Minicom, CTRL-A, Q, Y, and then
manually starting pppd and that works okay.

Any ideas?

Regards,
Kevin Traas


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]