On Mon, 19 Jan 2004 09:22:27 -0700
Linux <[EMAIL PROTECTED]> wrote the words:
> On Mon, 19 Jan 2004 18:39:42 +1300
> John Rye <[EMAIL PROTECTED]> wrote the words:
>
> > On Sun, 18 Jan 2004 20:16:45 -0700
> > Linux <[EMAIL PROTECTED]> wrote:
> >
> > > Can anyone offer insight into this situation:
> > >
> > > I am using MDK 9.1 and have an external modem on ttyS0 (com 1).
> > >
> > > 1. With KPPP I can connect as the user, but I keep losing my
> > > connection and it returns an error code 16 (the modem hung up).
> > >
> > > I don't have any hang up problems under windows98, it works just
> > > fine there.
> > >
> > > 2. With wvdial I can only connect as root. I also get hangups and
> > > error code 16. When connected with wvdial as root I can not "see"
> > > the connection as the user. Example, Mozilla can not connect to
> > > internet even tho the connection is active.
> > >
> > > 3. When I try to connect with wvdial as user I get "can not open
> > > /dev/modem. device or resource busy" even tho it is clearly not
> > > busy. As stated, KPPP can find and access the modem just fine.
> > >
> > > file/device attributes:
> > >
> > > /dev/modem
> > > lrwxrwxrwx 1 root root /dev/modem -> ttyS0
> > >
> > > /dev/ttyS0
> > > crw-rw---- 1 skippi tty
> > >
> > >
> > > 'skippi' is my user account. I'm not sure why ttyS0 is owned by
> > > skippi and not root. Maybe that is part of the problem?
> > >
> > > Any ideas or suggestions? Other things I should check? Thank
> > > you. Adrian
> >
> > Adrian, try editing (as root) your /etc/ppp/options to the
> > following:
> >
> > # /etc/ppp/options
> > lock
> > debug
> > crtscts
> > noauth
> > defaultroute
> > lcp-max-configure 45
> > ipcp-accept-local
> > ipcp-accept-remote
> > idle 600
> > # eof
> >
> > The line beginning icp-max- is the one which reduced my error 16
> > hangups.
> >
> > My other suggestion is to copy wvdials' recommended init string into
> > kppp and to increase the 'guard time' (in modem commands panel) to
> > maximum (255).
> >
> > Increasing the other timeouts in the kppp config panels may also
> > help.
> >
> > Cheers
> >
> > John
> > (now if only I could get my pcmcia modem to work ....)
>
>
> Hmm, thank you. I will give these things a try and see what happens.
> This problem is driving me totally nuts.
>
> Adrian
Well, I might dare to say that after changing my /etc/ppp/options file
to what you have in yours it seems that I am staying connected a bit
longer, but still not for very long. Also increased all the wait times
in KPPP.
What exactly does this line 'lcp-max-configure 45' do? Can anyone
translate?
I tried setting it to 145 and it seemed to time out faster. I'm going
to try different values & see what happens. Also try the google thingy.
Adrian
--
On The Fly Photography
http://204EastSouth.com
-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GAT d-@ s: a C++ UL++ L++(+++) P E- W++ !N o? K- w--- M+ PS+++
PE+++ Y+ PGP t++@ 5+++ X++ R+@ tv-- b++ DI++++ D+ G e+ h+ r y++
------END GEEK CODE BLOCK------
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com