Re: [newbie] strangness with PPP modem
On Sunday 25 January 2004 09:48 pm, The Other wrote: On Sun, 25 Jan 2004 02:49:05 -0800 (PST), Bill [EMAIL PROTECTED] wrote: I have done alot of research on google. This problem seems to be pretty widespread. I started with Knoppix 3.2 and purchased an External Creative Modem Blaster (I believe model 5621) because I could not get a winmodem to work. With Knoppix 3.2 Creative Modem worked. I installed Knoppix 3.2 to the harddrive and it still worked. Then I decided to try Mandrake 9.2. Thats when I started getting this error. I have since gotten a copy of Knoppix 3.3 and it is having the same trouble. I sent an email to the address provided on the error page and this is what he wrote back: I'd like to help but I don't know what to make out of this error: 16The link was terminated by the modem hanging up. If you ever find out, please tell me. 01/25/04 I had this problem once when using 'kppp' (I've switched to 'wvdial'). Suggestion 1) Turn on the modem's speaker so you can hear what's going on. Tell anyone nearby that this is *really* necessary. IIRC, the noise stops when the connection handshake is completed. Suggestion 2) Increase *every* timeout setting you can find in 'kppp'. My problem was that the default 'kppp' waiting for a connection handshake to complete was 30 seconds. It was taking my modem 45 seconds to complete the handshake with the ISP. Hence my modem was 'hanging up' because it was never getting through the handshake due to 'kppp' stopping the handshake process at 30 seconds. I set the 'kppp' waiting to connect parameter (or whatever it's called) to 60 seconds and the problem went away. HTH, The Other there also may be setting for the modem init string that need to be passed, -- ( 09:57:21 up 1 day, 1:02, 1 user, load ) ( average: 0.14, 0.18, 0.25 ) o ^__^ o (**)\___ (__)\ )\/\ U ||w | || || Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] strangness with PPP modem
On Mon, 2004-01-26 at 05:03, et wrote: On Sunday 25 January 2004 09:48 pm, The Other wrote: On Sun, 25 Jan 2004 02:49:05 -0800 (PST), Bill [EMAIL PROTECTED] wrote: I have done alot of research on google. This problem seems to be pretty widespread. I started with Knoppix 3.2 and purchased an External Creative Modem Blaster (I believe model 5621) because I could not get a winmodem to work. With Knoppix 3.2 Creative Modem worked. I installed Knoppix 3.2 to the harddrive and it still worked. Then I decided to try Mandrake 9.2. Thats when I started getting this error. I have since gotten a copy of Knoppix 3.3 and it is having the same trouble. I sent an email to the address provided on the error page and this is what he wrote back: I'd like to help but I don't know what to make out of this error: 16The link was terminated by the modem hanging up. If you ever find out, please tell me. 01/25/04 I had this problem once when using 'kppp' (I've switched to 'wvdial'). Suggestion 1) Turn on the modem's speaker so you can hear what's going on. Tell anyone nearby that this is *really* necessary. IIRC, the noise stops when the connection handshake is completed. Suggestion 2) Increase *every* timeout setting you can find in 'kppp'. My problem was that the default 'kppp' waiting for a connection handshake to complete was 30 seconds. It was taking my modem 45 seconds to complete the handshake with the ISP. Hence my modem was 'hanging up' because it was never getting through the handshake due to 'kppp' stopping the handshake process at 30 seconds. I set the 'kppp' waiting to connect parameter (or whatever it's called) to 60 seconds and the problem went away. HTH, The Other there also may be setting for the modem init string that need to be passed, I had some info. from linux headquarters that helped me with kppp and the same problem. I needed to add the following to the field execute upon connect: route add default ppp0. This was to ensure that the default gateway was set from ISP. John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] strangness with PPP modem
I have done alot of research on google. This problem seems to be pretty widespread. I started with Knoppix 3.2 and purchased an External Creative Modem Blaster (I believe model 5621) because I could not get a winmodem to work. With Knoppix 3.2 Creative Modem worked. I installed Knoppix 3.2 to the harddrive and it still worked. Then I decided to try Mandrake 9.2. Thats when I started getting this error. I have since gotten a copy of Knoppix 3.3 and it is having the same trouble. I sent an email to the address provided on the error page and this is what he wrote back: I'd like to help but I don't know what to make out of this error: 16The link was terminated by the modem hanging up. If you ever find out, please tell me. So apparently they don't know what the problem is either. Sigh, Maybe time will produce a solution. I am thinking about trying a diffrent modem. I am curious what brand and model modem the mandrake 9.2 dial-up users in this group use. I want to make sure I dont end up having the same problem with a new modem. Thanks and Best Regards Bill --- Erylon Hines [EMAIL PROTECTED] wrote: On Saturday 24 January 2004 07:01 pm, Linux wrote: On Fri, 23 Jan 2004 20:21:24 +1300 some snippage... I've cranked up every setting in sight. I think I'm going to have to accept that this modem doesn't like Linux and either live with it or get a new modem. Thanks for the comments. Adrian Maybe you should try changing some settings in the modem string. Pick one that will slow your connection speed, and use it as a test. I have a string ATW2F+MS=V34B,1,0,33600, which uses the V34 protocol at 33600, even though I have a 56K V90 modem. Without this particular set I get sighup every time with one of my modems. I didn't notice a problem with it back when I used Windows. Do a google search for modem string to see what some of your options may be. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com __ Do you Yahoo!? Yahoo! SiteBuilder - Free web site building tool. Try it! http://webhosting.yahoo.com/ps/sb/ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] strangness with PPP modem
On Sun, 25 Jan 2004 02:49:05 -0800 (PST), Bill [EMAIL PROTECTED] wrote: I have done alot of research on google. This problem seems to be pretty widespread. I started with Knoppix 3.2 and purchased an External Creative Modem Blaster (I believe model 5621) because I could not get a winmodem to work. With Knoppix 3.2 Creative Modem worked. I installed Knoppix 3.2 to the harddrive and it still worked. Then I decided to try Mandrake 9.2. Thats when I started getting this error. I have since gotten a copy of Knoppix 3.3 and it is having the same trouble. I sent an email to the address provided on the error page and this is what he wrote back: I'd like to help but I don't know what to make out of this error: 16The link was terminated by the modem hanging up. If you ever find out, please tell me. 01/25/04 I had this problem once when using 'kppp' (I've switched to 'wvdial'). Suggestion 1) Turn on the modem's speaker so you can hear what's going on. Tell anyone nearby that this is *really* necessary. IIRC, the noise stops when the connection handshake is completed. Suggestion 2) Increase *every* timeout setting you can find in 'kppp'. My problem was that the default 'kppp' waiting for a connection handshake to complete was 30 seconds. It was taking my modem 45 seconds to complete the handshake with the ISP. Hence my modem was 'hanging up' because it was never getting through the handshake due to 'kppp' stopping the handshake process at 30 seconds. I set the 'kppp' waiting to connect parameter (or whatever it's called) to 60 seconds and the problem went away. HTH, The Other Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] strangness with PPP modem
On Fri, 23 Jan 2004 20:21:24 +1300 John Rye [EMAIL PROTECTED] wrote the words: some snippage... 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? Take look at the pppd daemon manual page (type 'man pppd' in a terminal without the quotes) for the full description. Actually I did read it, I just didn't understand it. =) Cranking the value of ipc-max-configure beyond about 45 is probably a bit pointless - it's there to increase the time available for authentication with your ISP.. Ah, well that is a lot better of an explanation than the man page had. Yea, that isn't going to help me at all. 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. Ok - looking back I see I mis-read the error message being returned - It's 16 not 19 - this means your own modem is hanging up before the connection is established. As far as I can see there is nothing in the pppd options to control this time, but there is in the kppp setup. Go to kppp - Setup - Device and increase the Modem Timeout value to it's maximum (which I think is 120 seconds), see if that helps any. If that doesn't improve things your next option is to start fiddling with the S-registers of your modem. This is very modem specific and will depend on your particular modem AND whether you have the documentation for it's command set. I don't even know what a S-register is, and I got no documentation for the modem. I emailed the company for a data sheet, but they are ignoring me. I'm afraid that if you go this path you're pretty much on your own ... :-)) Try this out and see what happens. You might also be able, if you're ready adventurous, to increase the modem timeout value in kppprc if 120 seconds is still not enough - it's something I haven't tried - if I haven't connected within 2 minutes I tend to try again later on the assuption that the ISP's portals are overloaded. Cheers John I've cranked up every setting in sight. I think I'm going to have to accept that this modem doesn't like Linux and either live with it or get a new modem. Thanks for the comments. 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
Re: [newbie] strangness with PPP modem
On Saturday 24 January 2004 07:01 pm, Linux wrote: On Fri, 23 Jan 2004 20:21:24 +1300 some snippage... I've cranked up every setting in sight. I think I'm going to have to accept that this modem doesn't like Linux and either live with it or get a new modem. Thanks for the comments. Adrian Maybe you should try changing some settings in the modem string. Pick one that will slow your connection speed, and use it as a test. I have a string ATW2F+MS=V34B,1,0,33600, which uses the V34 protocol at 33600, even though I have a 56K V90 modem. Without this particular set I get sighup every time with one of my modems. I didn't notice a problem with it back when I used Windows. Do a google search for modem string to see what some of your options may be. Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] strangness with PPP modem
On Tue, 20 Jan 2004 17:47:54 -0700 Linux [EMAIL PROTECTED] wrote: 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 rootroot/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? Take look at the pppd daemon manual page (type 'man pppd' in a terminal without the quotes) for the full description. Cranking the value of ipc-max-configure beyond about 45 is probably a bit pointless - it's there to increase the time available for authentication with your ISP.. 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. Ok - looking back I see I mis-read the error message being returned - It's 16 not 19 - this means your own modem is hanging up before the connection is established. As far as I can see there is nothing in the pppd options to control this time, but there is in the kppp setup. Go to kppp - Setup - Device and increase the Modem Timeout value to it's maximum (which I think is 120 seconds), see if that helps any. If that doesn't improve things your next option is to start fiddling with the S-registers of your modem. This is very modem specific and will depend on your particular modem AND whether you have the documentation for it's command set. I'm afraid that if you go this path you're pretty much on your own ... :-)) Try this out and see what happens. You might also be able, if you're ready adventurous, to increase the modem timeout value in kppprc if 120 seconds is still not enough - it's something I haven't tried - if I haven't connected within 2 minutes I tend to try again later on the assuption that the ISP's portals are overloaded. Cheers John Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Re: [newbie] strangness with PPP modem
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 lrwxrwxrwx1 rootroot/dev/modem - ttyS0 /dev/ttyS0 crw-rw1 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
Re: [newbie] strangness with PPP modem
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 rootroot/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 -- 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-- -- 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
Re: [newbie] strangness with PPP modem
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 lrwxrwxrwx1 rootroot/dev/modem - ttyS0 /dev/ttyS0 crw-rw1 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 ) Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com