Re: [gentoo-user] modem keeps hanging up - the saga continues
Linux Gentoo wrote: - snip - 1. start your inet connection 2. kill the program which communicates with modem (kill -9 something) Ok, kill -9 1771 (which is wvdial) Guy, u didn't read the last two lines ... All the procedure u should run on M$hit !!! :-) Because u like to catch proper init string. 3. start minicom -o (without initialization of modem) Got it. Actually I have used the DOS version of this program. Back in the day. 4. command atv will show u actual modem setup Now the problems start. First I saw nothing on the screen at all. I turned on local echo, so now I can see the command when I type atv, then I hit enter nothing. Does this mean something isn't working? Or does this mean I don't know what I'm doing? PPPD is still active, it's shows in 'top'. This means minicom is not communicating with modem. U must tell to minicom to which node modem is connected. Press CTRL-A Z O and go to Serial port setup ... Yes I know, it's simple to do on any linux or unix system, but how to run steps 1-3 on M$hit, is a double dutch for me, but maybe u know it :-). This two lines told u, u have to adopt it to windblowz env. - snip - noro Well, I found out how to get some info from Winblows. It seems that wincrap keeps a log of the last modem session. Below is the modem log file from Win98: begin log--- 01-15-2004 21:30:11.33 - Standard Modem in use. 01-15-2004 21:30:11.33 - Modem type: Standard Modem 01-15-2004 21:30:11.33 - Modem inf path: MDMGEN.INF 01-15-2004 21:30:11.33 - Modem inf section: Gen 01-15-2004 21:30:11.60 - 57600,N,8,1 01-15-2004 21:30:11.60 - 57600,N,8,1 01-15-2004 21:30:11.60 - Initializing modem. 01-15-2004 21:30:11.60 - Send: ATcr 01-15-2004 21:30:11.60 - Recv: ATcr 01-15-2004 21:30:11.70 - Recv: crlfOKcrlf 01-15-2004 21:30:11.70 - Interpreted response: Ok it was only modem presence check 01-15-2004 21:30:11.70 - Send: ATE0V1cr 01-15-2004 21:30:11.70 - Recv: ATE0V1cr 01-15-2004 21:30:11.80 - Recv: crlfOKcrlf 01-15-2004 21:30:11.80 - Interpreted response: Ok 01-15-2004 21:30:11.80 - Send: ATX4cr 01-15-2004 21:30:11.90 - Recv: crlfOKcrlf 01-15-2004 21:30:11.90 - Interpreted response: Ok hmmm, as ususal M$hit is hiddening some steps ! ate0disable echo atv1I don't remember by heart I would say u should try this init string: atfv1X4(x3 might be better = blind dial) But the best would be to complete 5.step procedure I gave u before on M$hit. now, here is my orginal wvdial.config which was created by wvdialconfig (unsername password replaced) begin file--[Dialer Defaults] Modem = /dev/ttyS0 Baud = 115200 Init1 = ATZ This command loads stored profile ... but do u know what's in ? So change it to: Init1 = ATfv1X3 Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 I am not familiar with wvdial, so don't know if these two init string are used in sequence, or there is a possibility to have two different setups in one config file. To prevent problems, set it in the same way ... Init2 = ATfv1X3 - SNIP - noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up - the saga continues
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Norbert Kamenicky wrote: | hmmm, as ususal M$hit is hiddening some steps ! | | ate0disable echo | atv1I don't remember by heart ATV1 == verbose (word) response codes. ATV0 = NUMERIC response codes. - --- Dan -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFAEYjKtwT22Jak4/4RArRQAKCyIQ0k+Ro8mJPa55jS76NCHQ7htwCgmKUb TbwtHir7lif8bb99DkXPsXU= =qsT8 -END PGP SIGNATURE- -- [EMAIL PROTECTED] mailing list
[gentoo-user] modem keeps hanging up - the saga continues
Ok, some snippage and I have combined some responses here, sorry if that proves to be annoying, but I wanted to get my thoughts all on one track. Oh, this is long winding and some of it is OT. Very sorry. Please humor me. Thamk you all for your help. It's an external hardware modem on ttyS0. And I am connecting, otherwise you wouldn't be seeing this email. I'm just not staying connected. It's so simple then ... Ok, I'm going for you. You are here for the action. It's like geek reality TV. Well, reality mailing list at least. 1. start your inet connection 2. kill the program which communicates with modem (kill -9 something) Ok, kill -9 1771 (which is wvdial) 3. start minicom -o (without initialization of modem) Got it. Actually I have used the DOS version of this program. Back in the day. 4. command atv will show u actual modem setup Now the problems start. First I saw nothing on the screen at all. I turned on local echo, so now I can see the command when I type atv, then I hit enter nothing. Does this mean something isn't working? Or does this mean I don't know what I'm doing? PPPD is still active, it's shows in 'top'. U can save actual setup using atw command. U can restore saved setup by atz command. Command atf restores setup to factory predefined. So if u compare saved outputs of atv (after step 3.) and after atf, u will find the right init string. Yes I know, it's simple to do on any linux or unix system, but how to run steps 1-3 on M$hit, is a double dutch for me, but maybe u know it :-). noro Well, I found out how to get some info from Winblows. It seems that wincrap keeps a log of the last modem session. Below is the modem log file from Win98: begin log--- 01-15-2004 21:30:11.33 - Standard Modem in use. 01-15-2004 21:30:11.33 - Modem type: Standard Modem 01-15-2004 21:30:11.33 - Modem inf path: MDMGEN.INF 01-15-2004 21:30:11.33 - Modem inf section: Gen 01-15-2004 21:30:11.60 - 57600,N,8,1 01-15-2004 21:30:11.60 - 57600,N,8,1 01-15-2004 21:30:11.60 - Initializing modem. 01-15-2004 21:30:11.60 - Send: ATcr 01-15-2004 21:30:11.60 - Recv: ATcr 01-15-2004 21:30:11.70 - Recv: crlfOKcrlf 01-15-2004 21:30:11.70 - Interpreted response: Ok 01-15-2004 21:30:11.70 - Send: ATE0V1cr 01-15-2004 21:30:11.70 - Recv: ATE0V1cr 01-15-2004 21:30:11.80 - Recv: crlfOKcrlf 01-15-2004 21:30:11.80 - Interpreted response: Ok 01-15-2004 21:30:11.80 - Send: ATX4cr 01-15-2004 21:30:11.90 - Recv: crlfOKcrlf 01-15-2004 21:30:11.90 - Interpreted response: Ok 01-15-2004 21:30:11.92 - Dialing. 01-15-2004 21:30:11.92 - Send: ATDT*##,,,###cr 01-15-2004 21:30:45.07 - Recv: cr 01-15-2004 21:30:45.07 - Interpreted response: Informative 01-15-2004 21:30:45.07 - Recv: lf 01-15-2004 21:30:45.07 - Interpreted response: Informative 01-15-2004 21:30:45.07 - Recv: CONNECT 01-15-2004 21:30:45.07 - Interpreted response: Connect 01-15-2004 21:30:45.07 - Connection established at 57600bps. 01-15-2004 21:30:45.07 - Error-control off or unknown. 01-15-2004 21:30:45.07 - Data compression off or unknown. 01-15-2004 23:07:23.07 - Hanging up the modem. 01-15-2004 23:07:23.07 - Hardware hangup by lowering DTR. 01-15-2004 23:07:23.46 - Recv: crlfOKcrlf 01-15-2004 23:07:23.46 - Interpreted response: Ok 01-15-2004 23:07:23.46 - Send: ATHcr 01-15-2004 23:07:23.59 - Recv: crlfOKcrlf 01-15-2004 23:07:23.59 - Interpreted response: Ok 01-15-2004 23:07:23.59 - 57600,N,8,1 01-15-2004 23:07:23.59 - Session Statistics: 01-15-2004 23:07:23.59 -Reads : 2821953 bytes 01-15-2004 23:07:23.59 -Writes: 451460 bytes 01-15-2004 23:07:23.59 - Standard Modem closed. end log now, here is my orginal wvdial.config which was created by wvdialconfig (unsername password replaced) begin file--[Dialer Defaults] Modem = /dev/ttyS0 Baud = 115200 Init1 = ATZ Init2 = ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0 ISDN = 0 Modem Type = Analog Modem Phone = *70,,,212 Username = username Password = password end file- And here is the wvdial config file I came up with based on the Windoze log. begin file [Dialer Defaults] Modem = /dev/ttyS0 Baud = 115200 Init1 = AT Init2 = ATE0V1 Init3 = ATX4 ISDN = 0 Modem Type = Analog Modem Phone = *70,,,212 Username = username Password = password end file- I get the same results with each config file. So, comments? Ideas? Observations? Would it be better if I simply used the first init string (ATZ) and skip all the others? I don't think this would help the problem, as under KPPP I was only using ATZ, no other stings, yet have the same problem there. But would this be better for the modem I mean? On the subject of config files, doesn anyone see anything wrong with my /etc/ppp/options. At the begining you will see the settings that were originally
Re: [gentoo-user] modem keeps hanging up
Linux Gentoo wrote: On Mon, 19 Jan 2004 18:38:10 -0500 It's an external hardware modem on ttyS0. And I am connecting, otherwise you wouldn't be seeing this email. I'm just not staying connected. It's so simple then ... 1. start your inet connection 2. kill the program which communicates with modem (kill -9 something) 3. start minicom -o (without initialization of modem) 4. command atv will show u actual modem setup U can save actual setup using atw command. U can restore saved setup by atz command. Command atf restores setup to factory predefined. So if u compare saved outputs of atv (after step 3.) and after atf, u will find the right init string. Yes I know, it's simple to do on any linux or unix system, but how to run steps 1-3 on M$hit, is a double dutch for me, but maybe u know it :-). noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up (long windy drawn out answer, with examples and anecdotes)
nealbirch wrote: On Wed, 21 Jan 2004 14:27:20 +0100 snip of ~ 1000 lines It's so simple then ... 1. start your inet connection 2. kill the program which communicates with modem (kill -9 something) 3. start minicom -o (without initialization of modem) 4. command atv will show u actual modem setup Modems talk in ALL CAPS btw. ATV. You can also check the manufacturer's manual, if you received one. Check their website, if necessary and download it. I don't know which modems did u use, but all modems I know are happy with lower case commands as well, but it's true they answer in CAPS. U can save actual setup using atw command. you can also save it to one of up to [ number of profiles set by manufacturer ]. It's in the manual. ATW1, ATW2, etc. Right, I had a modem with 6 user profiles, but I never needed more then factory one, since my init string always starts with atf. In case, when the guy just need to catch init string used by M$hit, the simplest is the best way, so to use profiles numbers is really not necessary. U can restore saved setup by atz command. ATZ That should reset the modem to the default. It's a good idea to issue that particular command before you close your com program, btw. U are wrong, profile 0 will be loaded. (atz = atz0) Command atf restores setup to factory predefined. Unless you have changed it, which is possible with the ATW command. Use ATW1 to save whatever you want, and load that with ATF1. U are wrong again, u can't change default factory profile by atw. (It can be changed in other ways.) So u exchanged the meaning of atf and atz, please rtfm if in doubt. 99% of modems has only one factory profile, which is accessible by atf, and two user profiles (write access atw0 or 1, list access atv0 or 1, restore setup from profile atz0 or 1) noro Years ago, I burnt out a modems eprom by making it write the commands every time I initialized it. duh. So if u compare saved outputs of atv (after step 3.) and after atf, u will find the right init string. Also your isp may have an example of what it uses, make your init string match theirs. -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On Tue, 20 Jan 2004 00:26:27 +0100 Norbert Kamenicky [EMAIL PROTECTED] wrote the words: david stevenson wrote: On Monday 19 January 2004 10:45 pm, Linux Gentoo wrote: I had this sort of problem and fixed it by changing ISP. And now use ADSL. But I have seen long discussions on other mailing lists (suse) for them it was posible to fix by changing modem init strings. yes, by init string u can adjust a LOT of things, e.g. what will modem do if carrier disapeares for a while (on crappy lines it happens very often) It should not be very difficult to investigate modem init string from $hit nearly OS (in registers or so ;-), since it starts with AT, most probably ATF, but can be in lower case too) Another possibility is to ggle for some windblowz utility, which will log everything that goes to the modem. noro Hmmm, I will investigate that. Thank you for the suggestion. That sounds like a reasonable idea. 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-- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On Mon, 19 Jan 2004 18:38:10 -0500 Bill Roberts [EMAIL PROTECTED] wrote the words: On 00:26 Tue 20 Jan , Norbert Kamenicky wrote: david stevenson wrote: On Monday 19 January 2004 10:45 pm, Linux Gentoo wrote: I had this sort of problem and fixed it by changing ISP. And now use ADSL. But I have seen long discussions on other mailing lists (suse) for them it was posible to fix by changing modem init strings. yes, by init string u can adjust a LOT of things, e.g. what will modem do if carrier disapeares for a while (on crappy lines it happens very often) It should not be very difficult to investigate modem init string from $hit nearly OS (in registers or so ;-), since it starts with AT, most probably ATF, but can be in lower case too) Another possibility is to ggle for some windblowz utility, which will log everything that goes to the modem. noro -- [EMAIL PROTECTED] mailing list What kind of modem do you have? Many winmodems will not work under Linux, and give the appearance of trying to connect and then disconnecting. -- Bill Roberts It's an external hardware modem on ttyS0. And I am connecting, otherwise you wouldn't be seeing this email. I'm just not staying connected. 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-- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On Mon, 19 Jan 2004 23:00:46 + david stevenson [EMAIL PROTECTED] wrote the words: On Monday 19 January 2004 10:45 pm, Linux Gentoo wrote: It's got to be modem related or something with my configuration. There are config files in /etc/ppp but I don't know what I'm doing in those yet. I'm gonna have to hunt down some documentation on those. I had this sort of problem and fixed it by changing ISP. And now use ADSL. But I have seen long discussions on other mailing lists (suse) for them it was posible to fix by changing modem init strings. From my discussions with ISP at the time not all modems are as compatable at either end of connection as they should be and the ISP tend to setup to match the majority. So your task is to make your modem think m$ configured it, or find ISP who like your current config. Yea, the modem has got to be involved somehow. Since it does the same thing with both Mandrake Gentoo. Also I used the ISP before with a different modem and Mandrake and it was fine. And this ISP currently works fine with this modem and another modem under Winblows. So I'm pretty certain the modem is involved. I just need to figure out what to tweak. Thanks much - Adrian As to why it fails after variable period, I have no idea. David -- [EMAIL PROTECTED] mailing list -- 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-- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On Tue, 20 Jan 2004 00:01:56 -0600 LoneStar [EMAIL PROTECTED] wrote the words: Linux Gentoo wrote: On Mon, 19 Jan 2004 22:46:24 +0100 Norbert Kamenicky [EMAIL PROTECTED] wrote the words: :-) there is plenty of dirs u can look too, but the most proper on should be /var/log/ which is standard log dir Of course I though of that as soon as I sent the email. I have looked in /var/log and it's subdirectories. Nothing can I find relating to this. In fact, very few of any kind of log files. Try dmesg. If it shows the needed info, then dmesg demsg.txt to save it. I will try that when I fire Gentoo up again. I didn't think of that. Thank you. Yea, I'm always leaving out something. I do have Win98, and the modem is fine under that. Also I have a second computer beside this one - winmodem, connects under windows only, works fine. I can be on all day long. I have too many darn variables here. New OS (MDK 9.1 Gentoo), new MoBo and new external modem. I needed new MoBo as the old one died, new modem as I could not find an internal hardware modem and new OS as MDK 7.2 (which i used before) is too old to run on this box I would expect. I've been using this ISP for years, so it ain't that. It still could be. Ask your ISP if their servers are Windows, Linux or UNIX. I'll be willing to bet they're Windows. Most Win servers aren't Linux or Mac friendly. I've gone thru quite a few ISPs because of this. It is a *nix system. Not totally sure if it's UNIX or Linux. I'm going to guess that it's UNIX. My ISP is the college I work for. Linux would be free, UNIX cost money. Since we waste money like it grows on trees I'm sure they paid for something. This is compounded by the fact that no one in the IT department really knows much, and half of them are 19 year old students. kppp uses wvdial to do it's work. Try it with kppp and set the idle timeout (hangup if idle more than xxx minutes) to 0 or never, whichever it allows (I haven't used it in quite some time). KPPP uses wvdial? I don't mean to argue but are you sure? I just ask as it don't seem right. I had to install wvdial on my Mandrake system long after I had already been using KPPP. I will check this idle timeout and play with that. Wait, I'm back... there is no idle timeout. I found a pppd timeout and a modem timeout, and from reading the KPPP help thingy I don't think those are what you are talking about. I see no idle timeout. Arrgg. Thank your for your help. Adrian Johnny -- 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-- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
Linux Gentoo wrote: Greetings. Problem: When connecting to the internet using wvdial I lose my connection over and over and over. I get an error code 16 (the modem hung up). Anyone have an idea what might be going on? I have an external modem on ttyS0. While this is annoying, at least wvdial will redial and connect again. I am trying to download packages for upgrading installing with emerge. When I lose my connection then it reconnects, emerge will not restart the file transfer. Since I can only keep a connection for a short time, this is proving impossible. Is there a way to have emerge resume the transfer once the connection is reestablished? I am not familiar with wvdial, but used diald in a past. In case of problems I always identified it in logs, so let's have a look at logs too. If it's not sufficient, check if debug flag of wvdial is on and/or increase log level. Run emerge -f some_pkg at first, it's doing append by default, but it will not auto start after the fail. To have such functionality u have to make a simple script for it. Anyway from your message it's not clear if your inet connection works even for short time. Check it by ping www.gentoo.org and let us now. noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
Norbert Kamenicky wrote: I am not familiar with wvdial, but used diald in a past. In case of problems I always identified it in logs, so let's have a look at logs too. If it's not sufficient, check if debug flag of wvdial is on and/or increase log level. Run emerge -f some_pkg at first, it's doing append by default, but it will not auto start after the fail. To have such functionality u have to make a simple script for it. Anyway from your message it's not clear if your inet connection works even for short time. Check it by ping www.gentoo.org and let us now. noro I had the same problems when I tried using wvdial. I tried everything I could find in the wvdial manuals, faqs, and from searching the web. Nothing worked to solve it. I ended up installing kdenetwork so I could use kppp and had no problems with it. I no longer use dialup now as I have a satellite modem. -- Kathy Wills + + Genealogy Web Site: http://www.brannanorwills.com + + + + -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On Mon, 19 Jan 2004 10:14:05 +0100 Norbert Kamenicky [EMAIL PROTECTED] wrote the words: Linux Gentoo wrote: Greetings. Problem: When connecting to the internet using wvdial I lose my connection over and over and over. I get an error code 16 (the modem hung up). Anyone have an idea what might be going on? I have an external modem on ttyS0. While this is annoying, at least wvdial will redial and connect again. I am trying to download packages for upgrading installing with emerge. When I lose my connection then it reconnects, emerge will not restart the file transfer. Since I can only keep a connection for a short time, this is proving impossible. Is there a way to have emerge resume the transfer once the connection is reestablished? I am not familiar with wvdial, but used diald in a past. In case of problems I always identified it in logs, so let's have a look at logs too. If it's not sufficient, check if debug flag of wvdial is on and/or increase log level. Ok, dumb question here, but do you know what log files I should be looking for? I check 'man wvdial' and it doesn't mention any log files. I looked in /etc /etc/ppp and /root for anything that looked like a log file, but no such luck. Run emerge -f some_pkg at first, it's doing append by default, but it will not auto start after the fail. To have such functionality u have to make a simple script for it. What I did was this: I was trying to update my system, this is a fresh install. Well, I managed to not even get the first package which is 5M in size. I got about 60% of it, and in that time the modem hung up on my about 8 times. After reconnecting I have to CTRL+C out of emerge, then start up 'emerge -u system' again. It does continue where it left off, but as you can imagine this is not really a reasonable way for me to upgrade and install packages. Anyway from your message it's not clear if your inet connection works even for short time. Check it by ping www.gentoo.org and let us now. I am indeed getting a connection to the inet. I just pinged gentoo.org, no problem. Additional information, this box also has Mandrake 9.1 on it and I have the same problem in that OS with both KPPP wvdial. I can send/receive email and surf the net, just not for very long. I hope this is more clear to everyone. Thank you. 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-- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
Linux Gentoo wrote: snip Ok, dumb question here, but do you know what log files I should be looking for? I check 'man wvdial' and it doesn't mention any log files. I looked in /etc /etc/ppp and /root for anything that looked like a log file, but no such luck. :-) there is plenty of dirs u can look too, but the most proper on should be /var/log/ which is standard log dir snip Additional information, this box also has Mandrake 9.1 on it and I have the same problem in that OS with both KPPP wvdial. I can send/receive email and surf the net, just not for very long. :-) in that case probably tel. line has pure quality, modem is broken or ppp daemon setup needs some changes ... it's a job for some experienced guy, try to ask your ISP technicians for help and specially ask for all parameters needed to setup Two questions: Have u got also micro$hit windblowz on that PC ? If yes, have u got the same experience too ? noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On Mon, 19 Jan 2004 22:46:24 +0100 Norbert Kamenicky [EMAIL PROTECTED] wrote the words: Linux Gentoo wrote: snip Ok, dumb question here, but do you know what log files I should be looking for? I check 'man wvdial' and it doesn't mention any log files. I looked in /etc /etc/ppp and /root for anything that looked like a log file, but no such luck. :-) there is plenty of dirs u can look too, but the most proper on should be /var/log/ which is standard log dir Of course I though of that as soon as I sent the email. I have looked in /var/log and it's subdirectories. Nothing can I find relating to this. In fact, very few of any kind of log files. Additional information, this box also has Mandrake 9.1 on it and I have the same problem in that OS with both KPPP wvdial. I can send/receive email and surf the net, just not for very long. :-) in that case probably tel. line has pure quality, modem is broken or ppp daemon setup needs some changes ... it's a job for some experienced guy, try to ask your ISP technicians for help and specially ask for all parameters needed to setup Two questions: Have u got also micro$hit windblowz on that PC ? If yes, have u got the same experience too ? Yea, I'm always leaving out something. I do have Win98, and the modem is fine under that. Also I have a second computer beside this one - winmodem, connects under windows only, works fine. I can be on all day long. I have too many darn variables here. New OS (MDK 9.1 Gentoo), new MoBo and new external modem. I needed new MoBo as the old one died, new modem as I could not find an internal hardware modem and new OS as MDK 7.2 (which i used before) is too old to run on this box I would expect. I've been using this ISP for years, so it ain't that. Actually, the phone lines are pretty crappy, but that ain't it either. It's got to be modem related or something with my configuration. There are config files in /etc/ppp but I don't know what I'm doing in those yet. I'm gonna have to hunt down some documentation on those. urrggghhh 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-- -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On Monday 19 January 2004 10:45 pm, Linux Gentoo wrote: It's got to be modem related or something with my configuration. There are config files in /etc/ppp but I don't know what I'm doing in those yet. I'm gonna have to hunt down some documentation on those. I had this sort of problem and fixed it by changing ISP. And now use ADSL. But I have seen long discussions on other mailing lists (suse) for them it was posible to fix by changing modem init strings. From my discussions with ISP at the time not all modems are as compatable at either end of connection as they should be and the ISP tend to setup to match the majority. So your task is to make your modem think m$ configured it, or find ISP who like your current config. As to why it fails after variable period, I have no idea. David -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
david stevenson wrote: On Monday 19 January 2004 10:45 pm, Linux Gentoo wrote: I had this sort of problem and fixed it by changing ISP. And now use ADSL. But I have seen long discussions on other mailing lists (suse) for them it was posible to fix by changing modem init strings. yes, by init string u can adjust a LOT of things, e.g. what will modem do if carrier disapeares for a while (on crappy lines it happens very often) It should not be very difficult to investigate modem init string from $hit nearly OS (in registers or so ;-), since it starts with AT, most probably ATF, but can be in lower case too) Another possibility is to ggle for some windblowz utility, which will log everything that goes to the modem. noro -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
On 00:26 Tue 20 Jan , Norbert Kamenicky wrote: david stevenson wrote: On Monday 19 January 2004 10:45 pm, Linux Gentoo wrote: I had this sort of problem and fixed it by changing ISP. And now use ADSL. But I have seen long discussions on other mailing lists (suse) for them it was posible to fix by changing modem init strings. yes, by init string u can adjust a LOT of things, e.g. what will modem do if carrier disapeares for a while (on crappy lines it happens very often) It should not be very difficult to investigate modem init string from $hit nearly OS (in registers or so ;-), since it starts with AT, most probably ATF, but can be in lower case too) Another possibility is to ggle for some windblowz utility, which will log everything that goes to the modem. noro -- [EMAIL PROTECTED] mailing list What kind of modem do you have? Many winmodems will not work under Linux, and give the appearance of trying to connect and then disconnecting. -- Bill Roberts -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] modem keeps hanging up
Linux Gentoo wrote: On Mon, 19 Jan 2004 22:46:24 +0100 Norbert Kamenicky [EMAIL PROTECTED] wrote the words: :-) there is plenty of dirs u can look too, but the most proper on should be /var/log/ which is standard log dir Of course I though of that as soon as I sent the email. I have looked in /var/log and it's subdirectories. Nothing can I find relating to this. In fact, very few of any kind of log files. Try dmesg. If it shows the needed info, then dmesg demsg.txt to save it. Yea, I'm always leaving out something. I do have Win98, and the modem is fine under that. Also I have a second computer beside this one - winmodem, connects under windows only, works fine. I can be on all day long. I have too many darn variables here. New OS (MDK 9.1 Gentoo), new MoBo and new external modem. I needed new MoBo as the old one died, new modem as I could not find an internal hardware modem and new OS as MDK 7.2 (which i used before) is too old to run on this box I would expect. I've been using this ISP for years, so it ain't that. It still could be. Ask your ISP if their servers are Windows, Linux or UNIX. I'll be willing to bet they're Windows. Most Win servers aren't Linux or Mac friendly. I've gone thru quite a few ISPs because of this. kppp uses wvdial to do it's work. Try it with kppp and set the idle timeout (hangup if idle more than xxx minutes) to 0 or never, whichever it allows (I haven't used it in quite some time). Johnny -- [EMAIL PROTECTED] mailing list
[gentoo-user] modem keeps hanging up
Greetings. Problem: When connecting to the internet using wvdial I lose my connection over and over and over. I get an error code 16 (the modem hung up). Anyone have an idea what might be going on? I have an external modem on ttyS0. While this is annoying, at least wvdial will redial and connect again. I am trying to download packages for upgrading installing with emerge. When I lose my connection then it reconnects, emerge will not restart the file transfer. Since I can only keep a connection for a short time, this is proving impossible. Is there a way to have emerge resume the transfer once the connection is reestablished? Much thanks. 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-- -- [EMAIL PROTECTED] mailing list