. . . FAQ.TXT . InJoy Release 1.1 . May 30, 1997 . . . . . . . . . . . . _ _| | . | __ \ | _ \ | | . | | |\ | ( | | | . ___|_| _|\___/ \___/ \__,| . ____/ . . . . . . . . . . . . . . . . . . . . . . . . . . The Best Way To The Internet . . . . . . . . . . . . . . . . Bjarne Jensen . DK-4300 Holbaek . Denmark . E-mail: injoy@poboxes.com . http://www.fx.dk . . . . . . . . . . . . . . . . Copyright (c) 1996-1997, F/X Communications, All Rights Reserved. . . ========================================================================== F R E Q U E N T L Y A S K E D Q U E S T I O N S ===========================================================Solutions====== QUESTION: How do I copy a host definition? Save the host in question as default and then create a new host. The new host always inherits the settings of your default host. QUESTION: What should I do if InJoy will not dial? This problem can have many causes, and solutions. This check list might offer you some help: o Make sure not to use InJoy in a full screen session. Some COM drivers have problems with that. o Can other programs access your modem at the selected speed? o Can you give AT commands to your modem in the 'Terminal Mode Window'? o Did you put in your phone number? o Are the initialization strings valid for your modem? InJoy expects text replies from the modem, e.g. 'OK', 'NO CARRIER'. o Do you experience strange hangs when accessing COM port? Then try changing the 'hardware flow control' setting. o Try changing the 'Script Delay' timer settings found under 'script options'. One second should be sufficient. o SIO solves lots of communications problems and is shareware that is highly recommended by me. Try it, if it works for you be sure to register it. If none of this helps, then try to do a full trace of your dial attempt and mail it to me. QUESTION: Why will InJoy not autostart my programs? You need to run InJoy in a VIO window for this. And of course, make sure that the path, working directory and parameters for your program are correctly set. Make sure you click on the [Update] button for the individual autostart modules BEFORE before you click on the [Save] button to save the changes to all modules. QUESTION: How do I make use of the 'your host name' field? Your computer's host name is set globally at system start up (in the CONFIG.SYS). Programs that are autostarted by InJoy will inherit, and use, that host name. If you need autostarted programs to use a different host name, then set it in InJoy's 'your host name' field. QUESTION: Why can't my TCP/IP application 'see' my dial up connection? Or: When I launch Netscape it reports "There is no connection with your Internet service provider." I click "Don't connect" and Netscape loads and works fine. Why does Netscape not know I'm already connected? Most of Warp's Internet applications start up by using IBM's LINKUP.EXE. That program checks to make sure the IBM dialer has a connection, and if not it launches the IBM dialer. That is real convenient, except you don't need the IBM dialer and should remove the reference to LINKUP.EXE from those applications. To do that, just open the settings notebook and in the 'Program' tab (1) Delete LINKUP.EXE from the 'Path and file name:' block; (2) Replace it with a fully qualified path, plus the program file listed in the 'Parameters:' block example: C:\Netscape\Netscape.exe (3) Erase the executable in the 'Parameters' block (and, in the case of Netscape only, add the switch "-3" (without the quotes) which causes NS/2 2.02 to report itself as version 3.0 to all Web sites; (4) Close the settings note book. The next time you connect with InJoy, and THEN launch the application it should work . . . if all goes well. In addition to Netscape, these Bonus Pack applications are started via LINKUP.EXE: WebExplorer, Ultimedia Mail, NewsReader/2, Archie, and Gopher. QUESTION: Why can't InJoy access my COM port during a re-dial? Known problem: If you have autostarted programs, and they are still running when InJoy attempts a re-dial, the COM port will be locked. This happens regardless of how the client program has been started (child/not child). I hope to be able to solve this problem, soon. QUESTION: Why is my COM port still in use after exiting InJoy? If any of your autostarted programs are still running, they will continue "own" the COM port. I am looking for a solution to this problem. QUESTION: How do I set up a default route and nameserver on a Win95 system? ON THE 95 MACHINE o Go to the Network settings in your settings folder. o Choose TCP/IP, then properties. o Make the IP address of your Warp station the ONLY entry in your gateway page. o Make sure you DISABLE WINS. o Use the IP address of your ISP's Domain Name Server for the DNS Configuration page. That is: Use the DNS IP address that your Warp machine shows in the RESOLV file in the \tcpip\etc directory when you are logged into the Internet. QUESTION: How do I find out which IP address I'm assigned by ISP? The CONNECT.TXT file, created by InJoy at connect, should give you all the info you need. There are other ways to skin that cat One is in this REXX script: /* Extract the IP addresses for all serial interfaces. Also check and set the host name. Tony Rall trall@almaden.ibm.com 1996/04/21 */ '@hostname.exe | RxQueue' /* The command whose output is being */ Do While Queued() > 0 /* trapped. */ Parse Pull hostname End say 'My hostname is' hostname '@set hostname=' || hostname '@netstat -a | RxQueue' /* The command whose output is being */ Do While Queued() > 0 /* trapped. */ Parse Pull ifdef parse var ifdef 'addr' ipaddr 'interface' ifnum . 'broadcast' ipdest if ifnum>9 then do ipaddr = strip(ipaddr) ipdest = strip(ipdest) say 'For interface' ifnum', my address is' ipaddr say ' destination address is' ipdest end end QUESTION: CFOS and InJoy - how to? CFOS is working great with InJoy, but CFOS versions prior to the 1.1 will require the use of the option -kx. The -kx switch goes on the device=x:\cfos.sys line in your CONFIG.SYS file. Then DTR handling will be done like SIO. QUESTION: Using CFOS to emulate COM4 will not work. What to do? CFOS/2 from version 0.82 (a beta) through at least version 0.99 (still a beta) works. Try: In CONFIG.SYS: cfos com4 -kx In InJoy: init1: AT&FB8X7&D0&E4&L5 init2: ATS9=255S9.0=0S10.0=1 dialprefix: ATD QUESTION: Do you have a Masquerading check list? o Checkout my HTML page on the subject at http://www.fx.dk/ o Make sure your LAN clients have good nameserver references. Your ISP nameserver must be referenced in order for your LAN clients to be able to resolve symbolic host names! o Make sure your LAN clients default route to the InJoy computer. That way InJoy gets packets not destined for your own network and can process them for routing to the Internet! o The InJoy mailing list is full of bright folks that knows how to make different setups work! See subscription info below. o You might be required to turn on IP forwarding for the TCP/IP stack. This can be done by running 'ipgate on' at system start or by setting the appropriate check box under route setup in OS/2 TCP/IP configuration. o Remember: You cannot ping/trace from the LAN clients as they don't use the TCP/UDP protocols needed to masquerade. o Server support is very complicated with masquerading. At the moment we recommend running the servers at the InJoy PC and and have the IP Masquerading turned off for the InJoy PC as well. QUESTION: Just how do I make Masquerading work? - what one user did! Here are the steps I took to be successful with masquerading (with Warp Connect clients). 1. Make sure TCPIP is running on the PC. You should have a TCPIP startup icon in your startup folder. Also, be sure the TCPIP protocol is active (check the MPTS settings and add the protocol if not already there). 2. All PCs on your network must have a unique IP address. I recommend that you use addresses in the range 192.168.0.1 thru 192.168.0.254. That is part of the range specifically allocated in RFC1597 for private network addresses. And, each PC should have netmask set to 255.255.255.0. 3. Select your InJoy Masquerading PC. On that PC only, enable IP forwarding with the check box on the routing page. That should cause the statement "ipgate on" to appear in your mptn\bin\SETUP.CMD file. Verify it there. The client PCs should have IPGATE off (at least that worked for me). Now go into the hostnames page, and add the nameserver IP address that you got from your ISP. 4. On each client PC, go into the routing page on TCPIP setup. There you need to add a default route. The trick to adding a default is: After you click on Add, you must enter the letter 'D' in route type. Leave destination IP address blank and put the IP address of the InJoy masquerading PC in the router address field. You're done here. Now go into the hostnames page, and add the nameserver IP address that you got from your ISP. That's all you do on the clients. I found if I was able to ping the masquerading PC from the client, then everything was okay. To ping, you can use the PMPing utility in the TCPIP Utilities Folder. Go into hosts, add the IP address of the InJoy PC. You should get a response in close to zero milliseconds (that's what I got on a local ethernet). 5. Set up InJoy on the masquerading PC. You do not need InJoy anywhere else. Of course, you must enable masquerading. I had to tell InJoy not to exit at the disconnect. I also enabled Dial On Demand (DOD), Refresh Interface and Display DOD indicator (all found under Disconnect Actions). You have to make the first connection to the ISP manually. After that, InJoy should disconnect after the idle period has expired, and automatically redial as soon as any client kicks in with WebExplorer (or ANY other Internet program). By the way, remember to remove the LINKUP.EXE program from WebExplorer and other Bonus Pack's program settings. LINKUP tries to start the dialer program, which you do not need. QUESTION: I've read all the docs and everything at your site and I STILL cannot get IP Masquerading to work in MY situation. Don't you have anything more? Yes. Some find Andy Jett's THE most useful words: 1. Make sure TCPIP is running on the PC. You should have a TCPIP startup icon in your startup folder. Also, be sure the TCPIP protocol is active (check the MPTS settings and add the protocol if not already there). 2. All PCs on your network must have a unique IP address. I recommend that you use addresses in the range 192.168.0.1 thru 192.168.0.254. That is part of the range specifically allocated in RFC1597 for private network addresses. Every one should have netmask of 255.255.255.0. 3. Select your InJoy masquerading PC. On that PC only, enable IP forwarding with the check box on the routing page. That should cause "IPGATE on" to appear in your mptn\bin\setup.cmd file. Verify it is there. The client PCs should have IPGATE off (at least that worked for me). Now go into the hostnames page, and add the nameserver IP address that you got from your ISP. 4. On each client PC, go into the routing page on TCPIP setup. There you need to add a default route. The trick to adding a default is, after you click on Add, you must enter the letter 'D' in route type. Leave destination IP address blank. Put the IP address of the InJoy Masquerading PC in the router address field. You're done here. Now go into the hostnames page, and add the nameserver IP address that you got from your ISP. That's all you do on the clients. I found that if I was able to ping the Masquerading PC from the client, then I was okay. To ping, you can use the PMPing utility in the TCPIP utilities folder. Go into hosts, add the IP address of the InJoy PC, and you should get a response in close to zero milliseconds (that's what I got on a local ethernet). 5. Set up InJoy on the Masquerading PC. You do not need InJoy anywhere else. Of course, you must enable Masquerading. I had to tell InJoy not to exit at the disconnect. I also enabled Dial On Demand (DOD), Refresh Interface and Display DOD indicator (all found under Disconnect Actions). You have to make the first connection to the ISP manually. After that, InJoy should disconnect after the idle period has expired, and automatically redial as soon as any client kicks in with any Internet program. BTW, remove the LINKUP program from the Internet program objects. LINKUP tries to start IBM's dialer program, which you do not need with InJoy or IP Masquerading active. QUESTION: I want to use IP Masquerading, but I really need some basic help just setting up the LAN . . . BEFORE I'm even ready to start with InJoy. What should I do? Buy a fully configured system. Buy a hardware solution to get the LAN connected to the Net. Hire an expensive consultant to run it for you. Or, you are welcome to try the following step-by-step to network-InJoy nirvana. (Note: The following worked for its author, it may not work for you . . . but, an expensive consultant could following these hints and set your system up so it is ready for an InJoy install . . . which is where this document should BEGIN to help.) Good luck: *QUOTE* (Almost) IP Masquerading with In-Joy and OS/2 Warp v4 Configuration for Non In-Joy PC (the ones that don't call your ISP) Start TCP/IP Configuration (LAN) 1.Select Network A.Select LAN Interface 0 1.Select Enable Interface 2.Enter the IP address. 192.168.100.2 B.Select loopback interface 1.Select Enable Interface 2.Enter the IP address. 127.0.0.1 for all hosts. 2.Select routing. Note that these values may not be necessary, but as my LAN is working... A.Click Add B.Enter Default as the route type C.Enter 192.168.100.1 as the router address D.Enter 1 for the metric E.Click OK F.Click Add (Note: Warp v4.0 automatically configures net route, so Warp v4.0 users can skip steps F. through K.) G.Enter NET as the route type H.Enter 192.168.100 as the destination address I.Enter 192.168.100.1 as the router address J.Enter 1 for the metric K.Click OK 3.Select hostnames A.Enter your hostname and local domain name. B.Unless you have a domain nameserver, leave this blank. C.Unless you know otherwise, leave LAN searchlist blank. D.Click the arrow to advance to page 2 of the hostnames. E.Click Add F.Define an entry for this host. You need to provide its IP address, its host name and any aliases or nicknames you may wish to use. G.Add entries for every other host on the LAN. 4.Select Autostart A.For each TCP/IP application you wish to autostart, select Autostart. You should consider these: 1.inetd - can start other services on demand. 2.telnetd - provides the telnet service. 3.ftpd - provides ftp service. Good for occasional file transfer. For file sharing, OS/2 Peer is preferable. 4.lpd - Provides print service. May be useful if you have a Linux box on the LAN or if you want to print over the Internet, although FTP may be a better option there. 5.lprportd - these seems needed too if you're providing a print service. 6.routed - Provides routing functions. I think this is useful if you're providing a gateway service. 7.sendmail - provides the mail transport. sendmail is capable of functioning in both server and client modes. sendmail will receive mail across the LAN and deliver it to Ultimail Lite or other mail program that supports SMPT. 5.Select General A.If you're using rexec or print service, specify the username of the person authorized to logon to your computer?? This name is also used by your lpr client and by EMX software. (EMX is a software set from the Free Software Foundation. It includes tools useful for porting UNIX software to OS/2 and if you go searching the Internet for free software, this will become relevant.) B.Specify your time zone. remember if you're west of Greenwich, specify a negative offset because it's later in Greenwich than where you are. C.Choose your code page. 6.Select Security A.Specify the password to be used by anyone telnetting to your computer. I did say telnet isn't very secure I recall a conflict of name between TCP/IP and Novell's Netware Requester. IBM has a fix - see corrective service above. B.Define any FTP users. At least here you get to specify different information for different users. C.Click the arrow to advance to page 2 of security. You probably don't actually want to add any info here. 7.Select servers A.I have not established that any of this information is actually used. I use WebExplorer and NewsReader from both machines and occasionally Gopher from the P100. I have p100 in the WWW server field. When I run NR/2 on the i486 I normally start it with the command start NR2 p100. I have told WebExplorer not to load a page on startup and select one from the its Webmap. 8.Select printing. A.This page has default values. 9.Select mail We're now configuring Ultimail. A.Select LAN only. B.Specify your userid. For a LAN it can be anything - refer to the help. C.Leave the mail storage directory alone. D.Advance to page 2 of the mail configuration. E.Admire the fields. I've not established that they actually do anything. One can specify equivalent information in the Ultimail Cabinet settings, and I've not taken the time to see whether they both store the information in the same place, or which is used. 10.Select sendmail A.You can usually leave the first three fields alone. B.You may specify your reply domain. According to the documentation, this is the name of the host where your mail awaits your collection. C.If you specify an SMPT mail gateway, outbound mail is delivered to it. Otherwise, sendmail attempts to deliver mail direct to the recipient. D.Page 2 of the sendmail configuration seems to be useful only if you are connected to the Internet and have multiple domains in your LAN: that is, interconnected LANs. 11.The snmp page can safely be ignored for small LANs. Configuration for In-Joy PC (The one that calls your ISP) Start TCP/IP Configuration (LAN) 1.Select Network A.Select LAN Interface 0 1.Select Enable Interface 2.Enter the IP address. 192.168.100.1 B.Select loopback interface 1.Select Enable Interface 2.Enter the IP address. 127.0.0.1 2.Ignore routing. 3.Select hostnames A.Enter your hostname and local domain name. B.I have my ISP's Domain Name Server here. C.LAN searchlist is blank. D.Click the arrow to advance to page 2 of the hostnames. E.Click Add F.Define an entry for this host. You need to provide its IP address, its host name and any aliases or nicknames you may wish to use. I have these entries 1.192.168.100.1 SIPRO200 2.127.0.0.1 localhost 3.192.168.100.2 IBMVP466 G.Add entries for any other host on your LAN. 4.Select Autostart A.For each TCP/IP application you wish to autostart, select Autostart. 1.inetd - can start other services on demand. 2.telnetd - provides the telnet service. 3.ftpd - provides ftp service. Good for occasional file transfer. For file sharing, OS/2 Peer is preferable. 4.portmap. I turned this on when I was trying to get tcp/ip printing going. 5.sendmail - provides the mail transport. sendmail is capable of functioning in both server and client modes. sendmail will receive mail across the LAN and deliver it to Ultimail Lite or other mail program that supports SMPT. 5.Select General. Same as Non InJoy 6.Select Security Same as Non InJoy 7.Select servers Same as Non InJoy 8.Select printing. More to come if I need it. 9.Select mail A.Select LAN + Internet only. B.I have enabled multi-user mail but have not yet discovered its effect. C.I have specified summer, my Internet userid. D.The mail storage directory has its default value. E.Advance to page 2 of the mail configuration. F.Admire the fields. I've not established that they actually do anything. One can specify equivalent information in the Ultimail Cabinet settings, and I've not taken the time to see whether they both store the information in the same place, or which is used. 10.Select sendmail A.You can usually leave the first three fields alone. B.You may specify your reply domain. According to the documentation, this is the name of the host where your mail awaits your collection. C.If you specify an smtp mail gateway, outbound mail is delivered to it. Otherwise, sendmail attempts to deliver mail direct to the recipient. D.Page 2 of the sendmail configuration seems to be useful only if you are connected to the Internet and have multiple domains in your LAN: that is, interconnected LANs. 11.The snmp page can safely be ignored for small LANs. *END QUOTE* QUESTION: I am going to KILL someone. IP Masquerading, Dial on Demand and Host Triggered Actions are a hoax. I downloaded InJoy and have done NOTHING since but try to make IP Masquerading work. What have I done wrong? You missed reading in REGISTER.TXT, README.DOC and USERGUID.DOC that IP Masquerading, Dial on Demand and Host Triggered Actions are only available in the Extended Client and Professional Enterprise Server/Client versions. (In other words, the Basic Client version, whether registered or not, does not include those functions.) QUESTION: How do I use NewsReader/2 with InJoy? First remove the "LINKUP.EXE" from your "program" field, and put NR2.EXE in its place, from the "parameter" field. Then put your news-server in the "parameter field". That way you start NR/2 with these settings (for example): Program: NR2.EXE Parameters: news.globalnews.com This also counts for other programs started with the LINKUP.EXE program. (For example: Software Updates in Warp 4.0) QUESTION: How to use ftpPM and telnetPM templates with InJoy? The normal telnetPM/ftpPM templates cannot be used with InJoy since LINKUP.EXE is "hidden" in the templates and the existing Internet connection cannot be detected by the telenet and FTP programs. If you wish, you can drag a program template from your templates folder and create a new telnetPM or ftpPM icon for use without LINKUP.EXE. Place "ftppm" or "telenetpm" in the 'Path and file name:' block (without the quotes, of course). And, by using command line parameters you may set each newly created program object to connect to a different host (and never have to type an address twice again). Refer to either program's online help for the optional parameters which are available. QUESTION: How to use InJoy with SpryNet (or other CIS-like services)? In your login script there should be a E71 part to login, and a N81 part for PPP. SpryNet uses an E71 connection for terminal connections, but PPP requires a N81 connection. Your login script should look like this: This script was reported to work with Compuserve: PA: E71 DE: 1000 TX: \r RX: ame: TX: CIS\r RX: ID: TX: [$USERID]/GO:PPPCONNECT\r RX: ord: TX: [$PASSWORD]\r DE: 1000 PA: N81 This script was reported to work with SpryNet. PA: E71 DE: 1000 TX: \r RX: ame: TX: SPRY01\r RX: UIC: TX: [$USERID]\r RX: ord: TX: [$PASSWORD]\r DE: 1000 PA: N81 First line sets a E71 connection. The DE: line takes care of a delay before the first output. With this kind of services it's needed to send a [ENTER] before starting. The following lines take care of login, and the last sets the connection to N81 for PPP. This script (modified as needed) should work for Compuserve and other online services that use the CIS system for login in. QUESTION: How do I use my BitSurfer Pro with InJoy? Some users of InJoy experienced a hang-up problem using this ISDN TA. Several users reported successful use of this TA with the following INIT string: o AT%A4=0@B0=1&C1&D2\Q3%A2=95 QUESTION: My Dynamic IP connection is not working, can you help? Make sure that the fields "Destination IP" and "Your IP" list 0.0.0.0 and not an valid IP number. That way IP numbers will be negotiated with PPP. QUESTION: How do I connect to the IBM Global Network (IGN also known as Advantis)? InJoy works fine with IGN...everything is exactly the same as for any other provider EXCEPT in the 'User ID....' block on InJoy's 'Host Setup' page you need to put MORE than just your user ID... My line (for my DenverD@IBM.Net account) looks like this: internet.dkinet.denverd To fill yours in: 1. Go to IBM's Customer Service folder (mine is in the IBM Internet Connection Folder) and find the icon for your user ID (mine says 'denverd user ID') and open it 2. Click on the 'identity' tab and in the box 'User ID' is where I got the denverd for my InJoy line 3. On the same page is a block 'Name' and that is where the dkinet came from...yours might be usinet or ukinet or whatever... 4. The first part, internet, seems to be constant no matter where you hook in 5. Fill in all other setup information (like nameserver, domain name, telephone number, etc) and make sure you are calling a v34 node (only they have PPP) 6. Try hooking up WITHOUT using the script autolearn feature . . . just go to the scrip page and press the 'reset' button and make sure autolearn is turned off. 7. Please refer to http://www.fx.dk/injoy/advantis.html if you still have problems, or subscribe to the InJoy Mail List. QUESTION: I can't see the text ticker because of that little blue box (giving contact information) is in the way. What should I do? Grab the top edge of the blue box with the left mouse button and drag it out of the way. If you are using Warp v4.0 or an add on which allows 'Cut & Paste' type operations in a VIO window see next item. QUESTION: When I try to move the little blue box that gives the connect information (and hides the text ticker) instead of moving it tries to tear the box out...like cut and paste. What do I do? Make sure that Warp 4.0's Mouse Actions is off. By default, they are ON. Change it from the menu available by clicking on the VIO window's upper left hand corner. Someone suggested that the system default should be set to OFF, to do that: o Open the "OS/2 System" icon on your desktop. o Open the "System" icon. o Select the "User Interface" tab. o Under "Window Manipulation" there is a box labeled "VIO Mouse Actions"...make sure it is NOT enabled. This sets the default for new text windows. QUESTION: My new Sportster WinModem works great under Win95, but does not work at all with InJoy. Why? It has no UART chip and is therefore not "seen" by OS/2 as a valid COM port. Even in DOS the WinModem won't show up as a port, for example if you run MSD.EXE it will not report the modem. WinModems work only in MS-Windows ... if you want a modem which is not tied to one operating system, you need to return it. QUESTION: I find that when the line is busy or for some other reason InJoy doesn't connect on the first attempt the subsequent radial fail. What InJoy does on a redial attempt is dial the phone number then almost immediately it disconnects and cycles for another dial attempt. This is often the result of InJoy not receiving a "failed to connect" signal from the modem. This may occur if the modem's initialization string (or modem default) for the S7 value is more than what is set in InJoy's "Dial Timeout" on the "Communications setup" page. That situation allows InJoy to 'time out' and disconnect PRIOR to the modem's 'time out'. The solution is to either decrease the S7 time, or increase the value set in the "Dial Timeout". Bottom line: Modem S7 needs to be LESS than InJoy's dial timeout. QUESTION: Since I couldn't get DOIP to work, I decided to try InJoy. Well, it dials OK, and everything seems to be in order, and when I start packet mode it starts fine, all the way until the IPCP_Config-REQ part, then it just prints that on the screen and does nothing else. After some time it times out and disconnects. What can it be? This problem is seldom solved. The ISP is usually the cause, but you can try to work around by doing these things: o Enable/Disable FCS checking o Enable/Disable VJ compression o Be sure to use 0.0.0.0 as your IP address and gateway address (unless otherwise specified by the ISP) o Don't force ACCM to zero o Set the MRU to 1500 (unless specified otherwise by ISP) o Going down on modem speed could be worth a try too.. o Contact your ISP (and HINT, do NOT mention OS/2....as they will probably tell you the problem is in the operating system) ask them if you should use VJ compression or not, and what value to set MRU. (HINT 2: Don't mention FCS checking and forcing ACCM to zero . . . you will probably confuse them . . . it's just too much of an OS/2 "thing".) If they want to know why you want all that information. Tell them your modem's dialer has blanks for all that stuff. Then they ask what dialer you are using...tell them "its for a Cray or something like that, and that's all I know 'cause my rich dad bought it for me." ;-) QUESTION: When I use IP Masquerading, I'm having problems with FTP and finger. Or, I can't contact some sites. Or, when I use SMPTD.EXE from GIGO to pickup mail it will only work if Masquerading is switched off. You don't have to turn IP masquerading off to fix it, just turn off the 'IP Masquerading on InJoy machine' option in the IP masquerading options. QUESTION: I want to use AT&T's WorldNet for local access. How do I do that? Their tech support is no help with OS/2. o Find someone with a Windows machine. You MUST use the Dialer that comes with the AT&T software to get registered (NOTE: YOU WILL NOT NEED THE DIALER OR THE WINDOWS MACHINE AGAIN). o Get registered (from the windows machine) and then copy the file X:/worldnet/dialer/reg.ini. It has all the log in info needed on your OS/2 machine. NOTE: The Win95 file to get is reg.ini, but on a Windows 3.1x system, the information is in account.txt. o On the Warp machine, run InJoy and create a new host. o Use the following info to setup InJoy reg,ini or account.txt Use in InJoy Page and InJoy Block LOGIN= Host setup User ID PASSWORD= Host setup Password PHONE_NUM= Communications setup Phone number #1 DNS_ADDR= PPP setup Nameserver address DNS_ADDR_2= PPP setup Backup nameserver o Set InJoy to use PPP o Set MRU to 1500 on PPP options page o On the PPP setup page - Check VJ Compression On - Domain Name set to worldnet.att.net o Since AT&T uses PAP/CHAP log on you will NOT need a script. Check that script learning and scanning for IP addresses is OFF prior to first connection attempt with InJoy. QUESTION: My ISP says he uses something called an "automatic authentication" log on. Can InJoy do that? Yes, your ISP is referring to PAP or CHAP. QUESTION: I cannot seem to get InJoy to work. Once I connect all I get is garbage characters on the screen and the connection times out. All the settings are correct, I'm sure. Sometimes this can be traced it to invalid information in the login script as the result of letting the autolearn feature run too long and 'learn' too much. If you don't stop the autolearn at the right time it will record negotiation with the hosts PPP software. Removing this trash at the end of the login script should fix some peoples problem in this area. QUESTION: I want to construct a script to dial specific host. Is there a command line option that lets me dial other than the default host at InJoy startup? Yes. Just use the host name as the argument. For example: in-joy.exe HostName NOTE: The host name used on the command line IS case sensitive. You must enter it exactly as recorded in InJoy's [ Host ] listing. Tip: You can also set this up in host objects and have several hosts you can 'click' to life. QUESTION: Occasionally I get "PPP: Invalid FCS" what is this cryptic message? And what to do to get rid of it. The message means that there was an invalid Frame Check Sequence on one or more Internet Protocol (IP) packets of data traversing the link from the ISP to you. If the packet(s) is of the UDP type and were in error they are discarded. If the packet was a TCP it will be retransmitted. In any case, the time that the packet took to traverse the link is lost and may even be doubled, if the corrupted packet is resent. Sometimes the error message indicates that your PC's COM port has been over run by incoming data. Buffered UARTs are nice (examples include the Hayes ESP II, the LavaLink650 and many more - usually about $US 60-70), but there still is only so much interrupt latency that can be endured before incoming data gets dumped to make room for the next packet. Decreasing the 'Port Speed' on the communications setup page MAY decrease the number of Invalid FCS packets reported. And, some say there is almost NO difference between port speeds of 56K and 115K. Because, when receiving pre-compressed Internet data such as GIF's, JPegs, Mpegs, audio, demo programs and zip files. These files are compressed prior to the sending modem's attempt to compress them as part of the transmission protocol. Therefore you can't expect much benefit in the higher port speeds for those files. However, Web pages, FTP directories/messages, NNTP news, and SMTP/POP3 E-mail are all uncompressed text. With those files the actual amount of data moved will increase with the higher port speed. Some experience the invalid FCS error as being correlated to "pegging the CPU" which is then too busy to process data waiting at the port, and the data is dumped. And, sometimes the problem is because the ISP's modems are overflowing their buffers trying to get data to you quicker than their setup will allow. In that case there is nothing you can do to decrease bad FCS packets (except call the ISP . . . but, don't be surprised if they are sure the problem is at your end). And, some say it is nothing but line noise. Tony Rall said: Invalid FCS - Bad frame check sequence (corrupt ppp packet). May not have been intended as a ppp packet if OS/2 has entered ppp mode while the remote system is still sending text messages. The latter can often be corrected by improvising a better Login Sequence. But you don't have to do anything at all if you just get a few of these messages at the start of the connection. If they continue throughout your session, you should try to correct the problem - they usually indicate a phone or modem flaw that can be corrected by some combination of the following: * getting a better serial card (with a buffered uart) * running the com port at a lower speed, as low as 9600 * replacing the serial cable * getting a better phone connection (note that if the modems are both using error control, such as V.42, this is not a likely cause for the bad packets) * using a better initialization string for the modem * suppressing modem compression (such as V.42bis) * replacing the modem * replacing com.sys with the shareware sio.sys (or vice versa) * running ppp.exe at a relatively higher priority in your system (Note: I don't know how to do this) [NOTE to Tony's Note: We know how to run ppp.exe at a higher priority . . . don't run ppp.exe, run InJoy instead, it allows you to set its priority.] * Regarding the last point, OS/2 V4 users have reported a marked increase in "invalid FCS" errors. This is quite possibly caused by some high priority system process hogging the processor. One possibility that occurred to me is the voice recognition support. QUESTION: I just can't get SLIP to do anything. After tinkering with the script file I finally got it to log in OK, however nothing works. All my TCPIP apps timeout trying to connect to the host or to the DNS, just like they do if I haven't dialed up. I can connect to my providers PPP lines just fine, but I need to use their SLIP line also. Make sure not to use 0.0.0.0 as Destination IP Address in order to get your provider's dynamic IP. Use the first three (known) parts of that address and put a '0' at the end. Like this; 193.125.125.0. The first three parts should be available from your ISP, and will probably be part of almost all the addresses the ISP uses. The last part is the dynamically assigned part. QUESTION: InJoy NOT running, Start Internet APP, it will NOT connect InJoy RUNNING, Start Internet APP, it WILL connect The Internet APP might be a mail, news or other program. Why? The app will be able to connect if you use a dotted quad (Internet address) instead of a hostname for the distant news/mail server. This is a known issue with the resolver in OS/2 AND EVERY OTHER KNOWN TCP/IP IMPLEMENTATION. They only check >\MPTN\ETC\RESOLV *once* --- when you dial out, RESOLV is updated but no program that is already running will notice. As an example, an InJoy and Mr2 ICE user wrote: "I did the following: Changed in the Options, Network Preferences, Personal address From: me@domain.net to me@206.186.149.10 And, added Reply to: me@domain.net I can now start Mr2 ICE and then when I start InJoy Mr2 Ice goes on line when it times out for mail fetch. Works like a charm!" Another example. A Netscape for OS/2 user wrote: Search your drive or OS/2 partition for a file called "resolv". Connect to your provider. While connected, copy the resolv file to resolv2. Close your connection, start Netscape, connect, and try to connect to something, Netscape should work. An InJoy and EmTec News & PMMail user with NetCom noted that after six separate pings to NetCom' news server he received five different server addresses and commented: "If I tie myself to a specific news or mail server then I am at the mercy of an overloaded server, a server that is down for maintenance, a server that might fail in mid-fetch... et cetera. No, as a workaround to the original problem (not being able to go from offline to online if the newsreader is loaded before InJoy) . . . I'll just have to remember to exit from EmTec News and then restart it in order to connect to the news servers. And possibly the same for PMMail." QUESTION: I have successfully connected to my ISP InJoy to dial over an ISDN, but only on a single B channel. I am using a 3COM Impact IQ ISDN TA. What seems to happen is: one B channel is established, and InJoy negotiates the link. Then the other channel is dialed automatically by the TA (modem), and InJoy seems to drop the connection, and start over. What you must do is in your setup string to the Impact, send an S80=1 (it probably is set to S80=0 now). This will enable bonding of both B channels. Also, multi-link PPP must be enabled. QUESTION: I cannot connect to a NT server with CHAP. Why? This is reported exactly as found on the net, for what it is worth: "In their infinite wisdom the boys at Microsoft decided to implement a non-standard CHAP version for WIN/NT presumably to tighten security. While their action has been properly reported to those maintaining the PPP-standards they somehow failed to inform the rest of the world. Trying to use a 'normal' CHAP from a non-MS platform to connect to a WIN/NT machine is bound to fail miserably." InJoy works with the MS version of CHAP. Setup information is in USERGUID.DOC, in the section on PPP/SLIP options. QUESTION: I have a US Robotics (USR) 28800 Sportster, can you help? Try these initialization strings: o AT&F1 o ATE0Q0V1X4&A3&B1&C1&D2&H1&K1&R2 o AT&FES0=0S2=255BQV1X4&A0&B1&C1&D2&H1&R2&T5 I think the success of these strings may depend on your version of the chip. Alternatively just try o AT&F1 QUESTION: InJoy sometimes just hangs for a minute or two. I have a U.S. Robotics internal Sportster 33.6 fax (or other) modem. (Some of those are sold as a Gateway TelePath 33.6 Data/14.4 Fax.) That is a known USR modem (NOT InJoy) problem. Add the S12=0 parameter to the modem initialization string. But, this was found on the net and is reported exactly as found: "I had the same problem when using a USR Courier I modem. Setting s12=0 in my init string cured the problem, but I was then advised to change the above to S2=25S12=255 and this also cured it. The S2=25S12=255 was recommended as a preferred solution so try it first. Another user said: Modem is a 33.6 USR Courier V-everything external. I use a Modem Initialization String like this: AT&FE1V1Q0X4B0&B1&H1&R2&N0&A3S11=55 I was told by someone (who had a V.Everything) to use a predefined modem definition for a "V.32bis" Courier if a program had one, since the init strings for a HST Dual Standard modem won't work.... I know... it's a V.Everything but when I got it they were shipping them with a manual for the HST Dual Standard Courier, and so I basically stole this init string from some program that had a definition for Courier V.32bis, and added S11=55 at the end to make it dial faster. And still another said: If anyone else needs the init. string this is the one I got to work.... #1 - ATZ - Reset string. #2 - AT&FM1&A3&H1&K1&M5&U14 U14 is to set the modem floor speed to 28.8k. This means that it will disconnect if it can not connect at this speed of higher. But the guy with the most simple solution said: I use the same init I used prior to X2. Just the AT&F1 always works fine here. QUESTION: I'm lucky to stay connected for 21 minutes before the MR light goes out and the connection dies. DOIP used to show a lot of 'invalid fcs' and "invalid protocol' messages. I have a USRobotics V.everything modem. Any ideas? Try setting your 'S10' register to a higher value. Maybe you have a noisy phone line. For many popular modems (yours may be different) the 'S10' register sets the delay time (in 1/10 seconds) the modem waits after a loss of carrier before hanging up. So if your disconnects are caused by a loss of carrier due to noise, increasing the delay will help to keep you connected. Try S10=20 (two seconds). QUESTION: Any other USR hints? Many users have reported problems when using the USR Sportsters. One user reported that the problems whet away when he installed the latest firmware upgrade from USR. He also noted that one default setting was changed and that may be a clue. The default of &S1 was changed to &S0. QUESTION: What is SLiRP? A freeware UNIX program which emulates a SLIP or a PPP connection. It therefore allows Internet users who have only a UNIX shell account to access the Internet with Winsock or similar applications (like Netscape) just as though they had a SLIP or PPP account. (Works great with OS/2, by the way.) For further info consult Gasparovski's (the author's) SLiRP page and related links at: http://blitzen.canberra.edu.au/~danjo/ QUESTION: I just got my computer last week and have (ever since) been trying to write a log-on script that will work. Do you have a step-by-step to help. Well, try this: - First, check to see if you really need a script. Do that by following the next checklist in the FAQ, the one about PAP/CHAP. - If, by following those steps you were not able to log on, then: - click on your host's name (you HAVE setup your host, right?) - click [ Change ] - click [ OK ] - click [ Script setup ] - click to [X] by "Automatically learn script" - click to [X] by "Scan for IP addresses" - click [ OK ] - click [ Save ] - click [ Dial ] - Log on by responding to your ISP's prompts asking for your UserID and password . . . InJoy will record the entire process. - Press Alt-L to end InJoy's learning process (and save the script) - You are done, because InJoy will use that script the next time you click on [ Dial ] QUESTION: I have been using log on scripts for 95 years and I know everything there is to know about them, but I STILL canNOT get my PAP/CHAP log on script to work. Can you provide me a simple, step-by-step way to connect to my new ISP with this newfangled PAP/CHAP stuff! Sure. But first you need to know that PAP/CHAP does not need a script. Try this: - open InJoy - click on the host you want to use - click on [ Change ] - check User ID and Password are filled in correctly - if you skipped that step, go back and check it, please... - click PPP protocol ON - click [ Ok ] - check Nameserver addresses and domain name is correct - click [ PPP options ] - click [ Make fast ] - click [ Ok ] - click [ Script setup ] - click [ Reset script ] - click [ Okay ] - click to turn off (no X) next to "Automatically learn script" - click to turn off (no X) next to "Scan for IP addresses" - click [ OK ] - click [ Save ] - click [ Misc. opt. ] - click [ Trace Configuration ] - click to have NO X in the Trace ON/OFF box - click [ Save ] - click [ ESC=Go back ] - click [ Dial ] If it worked, enjoy InJoy....if not, - go back to the PPP Option page (where you clicked on Make Fast) - click [ Default ] - click [ Ok ] - click [ Save ] - click [ Dial ] If it worked, enjoy InJoy...if not, - go to PPP Options and check PAP ON (with X) - click to turn CHAP OFF (no X) - click [ Save ] - click [ Dial ] If it worked READ USERGUID.DOC so you understand how your password is passed in PAP vs CHAP....and, enjoy InJoy. If it still does not work: 1. Your ISP does not have PAP/CHAP, or 2. Something else is wrong . . . and you need to collect a trace file to analyze what is going on: - click [ Trace Configuration ] - click to put an X in EVERY box on the page - click [ Save ] - click [ ESC=Go back ] - click [ Dial ] Post (or attach) the trace file in a nice HELP! note to the InJoy Mail List. Info on subscribing is in the README.DOC. CAUTION: Open the trace file in a text editor and search for your password. It should be there . . . maybe more than once . . . replace it with something like ....so everyone on the list does NOT have access to your real password. QUESTION: InJoy hangs up every time I boot up and immediately try to pop open InJoy and my mailer. Your system may still be swapping (paging) during startup when it hangs. This sometimes happens in OS/2 v2.1 to Warp v4.0 when starting some programs during high paging activity. Put a sleep into your STARTUP.CMD to make you wait for the desktop to settle down before starting other programs. Likewise in startup folder I put a program reference to sleep at beginning. If you don't have a sleep program, use this REXX script: /* sleep a little */ call RxFuncAdd 'SysSleep', 'REXXUTIL', 'SysSleep' parse arg seconds if( seconds == '' ) then seconds = 3; rc = SysSleep( seconds ); EXIT QUESTION: I keep getting this error message from InJoy. PPP:Unknown protocol: 0x200d, PROTOCOL REJECT What is InJoy doing wrong? It is not an InJoy problem, and if the connection keeps working don't worry about it, it's usually just PPP trying to configure a protocol you're not using. For example some ISP's have several modem pools using 'Ascend MAX' modems which will sometimes try to configure the PPP connection to include a protocol used on a Mac, and since your OS/2 box doesn't speak 'Mac' it will return the PROTOCOL REJECT error. Of course this error message doesn't always mean there's no problem. If you're getting this error message and your connection is failing it could be because either side doesn't recognize a protocol needed to setup a working connection. Get a trace and forward it to the InJoy Mail List. QUESTION: Why do I get this "Unsupported Protocol 80fd"? Don't worry about the 80fd - you can't do anything about it, and it doesn't hurt anything. It means that the server is trying to negotiate "compression control protocol" and ppp.exe is denying it (but it's not needed for modem compression or VJ compression). CPP is not a very efficient protocol and it is not supported by InJoy, nor by PPP.EXE. QUESTION: Is there a way for InJoy to check to see if a program is already running before it tries to autostart it? I want to autostart (for example) EmTec News, but if it is already running, a new copy is opened. Yes and no. No, InJoy can't do it. What's happening is that you are starting the executable for EmTec News (NEWS.EXE) just like you might from a command line. It runs fine, but so will several copies, if you start several copies . . . which is exactly what you don't want InJoy to do. But, if you were launching an EmTec News program object, you would have the option of setting the object to either begin a new copy, or 'call' the existing instance. While InJoy can't do that, it can start a different program which is specifically designed to launch a program object. Pick up a copy of "Object Start" (at Hobbes, called objst*.zip). It was designed to let WebExplorer start program objects, but it works just fine with InJoy (once it is setup ). QUESTION: I want InJoy to remember its window position and always open at the same place on my screen. How? Open InJoy and place it where you want it. Hold down the shift key and double click on InJoy's title bar. InJoy will open there from now on. Unfortunately, you just sat the opening position for all Warp's VIO windows, so all will open at this same spot. This is an OS/2 limitation that cannot be overcome by InJoy. (The PM version will not have this limitation.) QUESTION: I'm using FaxWorks and there is a small problem. After sending a fax, InJoy cannot talk to the modem anymore. To solve the problem I have to switch the modem off and then back on. Or reboot. Is there a solution? Yes. Set InJoy's to run a FaxWorks supplied utility both before and after each Internet hookup. Put x:\.....\FAXWORKS\FXRCV.EXE in InJoy's autostarting modules, path and filename block, put "-off" in the parameter block (with NO quotes), and click to place an X in the 'Start only once' and start 'At dial' blocks. Then click on [Add]. Then, add another instance of the FXRCV.EXE utility but put "-on" in the parameter block (again, with NO quotes), and click to place an X in the start 'At host disconnect' block. Click on [Add] again and then [OK], and you are done. Now FaxWorks can be set to always send or receive anytime you are not using the modem to hook to the net. InJoy makes FaxWorks release the modem before calling the host, and returns the modem to FaxWorks when you disconnect. This should even work with Dial On Demand! QUESTION: I am unable to run tracetre from my InJoy machine. Everything else works fine but tracetre does not report back any information. It seems to have to do with the "refresh interface" option under disconnect actions. When this option is enabled tracerte works for me. When disabled it does not. Why? When you refresh the interface each time you connect, you never get into the situation where the ISP uses one IP address and you use another. That is the whole idea with refresh interface and THAT IS GOOD. The down side of "Refresh interface" is that applications that are already using the old interface will be confused when it disappears and then comes back, with a new IP number . . . and they will have to re-connect to operate correctly. If you don't refresh the interface it gets real complex: InJoy will have to masquerade your applications using the old interface, so the old PPP0 interface that reflects a non-current IP address can still be used. InJoy knows how to masquerade of course, but since the port numbers of the TCP/UDP packets are used in this process, tracerte imposes a problem.. It doesn't use TCP/UDP, but ICMP and InJoy can't masquerade that. I have some ideas on how to improve InJoy's capabilities in this area, but I haven't considered it a high priority item. QUESTION: I have a plug and play (PnP) modem which is not playing, any advice? Com.sys has a problem with some PnP modems. Try this: Use rmview /dc|more and search the list for the modem. Look for the IRQ and I/O resources used by the card. You may see something like this: Detected Hardware Function: "Your Modem Here..." PnP Device ID: XXX1234 PnP Compatible Device ID: none I/O=0x03E8 Len=8 Flg=EXCLUSIVE Addr Lines=16 IRQ Level=15 PCI Pin=NONE Flg=EXCLUSIVE Edit the config.sys and update the parameters for the com.sys driver. For example, if your settings showed I/O = 2F8 and IRQ = 3, you would update the com.sys line to support the modem on com2. The line would look like this: DEVICE=C:\OS2\BOOT\COM.SYS (2,2F8,3). After you reboot, you should be able to access the modem on the port you setup. If you have a PnP Cardinal modem you might find that it is supplied with a pnpset.exe file (for use under DOS). Run it under Real DOS (as explained in the manual) to get the initialization string. Then make a DOS batch file to run to recognize the modem. You can add this as a minimized DOS object in your STARTUP folder. QUESTION: I'm having trouble with the following script. It looks good, but does not work. Can you help? TX: \r RX: Username: TX: [$USERID] \r RX: Password: TX: [$PASSWORD] \r Yes, it does LOOK good . . . however, if you will remove the unneeded space between the ] and the \r and it will look good to the host too. QUESTION: InJoy works. DOIP works. Even i/Link2 works. That is they all work unless I try to go from one to the other. But, if I try DOIP and then InJoy, then InJoy doesn't work. What's going on? There is a known problem in switching dialers without booting in between. лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл ____ __ / _/___ / /___ __ __ / // __ \__ / / __ \/ / / / _/ // / / / /_/ / /_/ / /_/ / /___/_/ /_/\____/\____/\__, / /____/ лллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллллл Copyright (c) 1996, 1997 F/X Communications. All rights reserved.