From: Digest To: "OS/2GenAu Digest" Date: Sat, 6 Apr 2002 00:00:09 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [os2genau_digest] No. 313 Reply-To: X-List-Unsubscribe: www.os2site.com/list/ ************************************************** Friday 05 April 2002 Number 313 ************************************************** Subjects for today 1 Re: [os2genau] TCPIP questions : Dr Graham Norton FRACP Neurologist" 2 Re: [os2genau] TCPIP questions : brianbatkdfisher dot com dot au 3 Re: [os2genau] TCPIP questions : Voytek Eymont 4 Re: [os2genau] TCPIP questions : Daryl Pilkington" 5 Re: [os2genau] TCPIP questions : Daryl Pilkington" 6 [os2genau] Mobile TCP/IP, (was TCPIP questions) : Daryl Pilkington" 7 Re: [os2genau] TCPIP questions : Dr Graham Norton FRACP Neurologist" 8 Re: [os2genau] TCPIP questions : Dr Graham Norton FRACP Neurologist" 9 Re: [os2genau] TCPIP questions : brianbatkdfisher dot com dot au 10 Re: [os2genau] TCPIP questions : Daryl Pilkington" 11 Re: [os2genau] TCPIP questions : Voytek Eymont 12 Re: [os2genau] TCPIP questions : Ed Durrant 13 Re: [os2genau] TCPIP questions : Daryl Pilkington" 14 Re: [os2genau] TCPIP questions : Dr Graham Norton FRACP Neurologist" 15 Re: [os2genau] TCPIP questions : Dr Graham Norton FRACP Neurologist" 16 Re: [os2genau] TCPIP questions : Ed Durrant 17 Re: [os2genau] TCPIP questions : Ed Durrant **= Email 1 ==========================** Date: Fri, 05 Apr 2002 10:13:28 +1100 (EDT) From: "Dr Graham Norton FRACP Neurologist" Subject: Re: [os2genau] TCPIP questions Hi to all the guru s out there... can anyone help me and educate me about... 1 I want to be able to change the TCPIP setup to reflect whether i am either at work or at home.... obviously there is a ini file or some such that is modified ... I wonder if I cant have 2 TCPIP set up files a home b ` LAN at work and then use a batch file routine to xcopy either one to the what ever file it is called (???PIP.ini ) eg xcopy X:\home.ini c:\TCPIP\setup.ini.... or what ever the name of the file is?? do you understand? so that at the end of the day at work , I can xcopy the file across and then reboot at home and log onto the internet (ADSL) at home and then at the end of the night or weekend xcopy the LAN settings and reboot at work... sounds simple ! 2 what is the difference between LPD and LPDPORT printing in the TCPIP set up properties? Graham Norton Neurologist "when I need a hole in the head, I use Windows when I need a window on the brain, I use OS2!" ---------------------------------------------------------------------------------- **= Email 2 ==========================** Date: Fri, 5 Apr 2002 10:30:39 +0930 From: brianbatkdfisher dot com dot au Subject: Re: [os2genau] TCPIP questions Graham, Their are many ways of achieving this. See my off list e-mail. ----------------------------------------- Brian Butler System Administrator brianbatkdfisher dot com dot au "Dr Graham Norton FRACP To: "os2genauatos2 dot org dot au" Neurologist" cc: 05/04/2002 08:43 Please respond to os2genau Hi to all the guru s out there... can anyone help me and educate me about... 1 I want to be able to change the TCPIP setup to reflect whether i am either at work or at home.... obviously there is a ini file or some such that is modified ... I wonder if I cant have 2 TCPIP set up files a home b ` LAN at work and then use a batch file routine to xcopy either one to the what ever file it is called (???PIP.ini ) eg xcopy X:\home.ini c:\TCPIP\setup.ini.... or what ever the name of the file is?? do you understand? so that at the end of the day at work , I can xcopy the file across and then reboot at home and log onto the internet (ADSL) at home and then at the end of the night or weekend xcopy the LAN settings and reboot at work... sounds simple ! 2 what is the difference between LPD and LPDPORT printing in the TCPIP set up properties? Graham Norton Neurologist "when I need a hole in the head, I use Windows when I need a window on the brain, I use OS2!" ---------------------------------------------------------------------------------- ---------------------------------------------------------------------------------- **= Email 3 ==========================** Date: Fri, 5 Apr 2002 11:10:03 From: Voytek Eymont Subject: Re: [os2genau] TCPIP questions ** Reply to note from "Dr Graham Norton FRACP Neurologist" Fri, 05 Apr 2002 10:13:28 +1100 (EDT) > Hi to all the guru s out there... > > can anyone help me and educate me about... whilst we're waiting for them, I'll throw in my $.02 > 1 I want to be able to change the TCPIP setup to reflect whether i am either > at work or at home.... obviously > there is a ini file > or some such that is modified ... I wonder if I cant have 2 TCPIP set up > files > > a home > b ` LAN at work > > and then use a batch file routine to xcopy either one to the what ever file > it is called (???PIP.ini ) eg xcopy > X:\home.ini > c:\TCPIP\setup.ini.... or what ever the name of the file is?? do you understand? [D:\mptn\bin]type setup.cmd route -fh arp -f ifconfig lo 127.0.0.1 ifconfig lan0 203.41.6.11 netmask 255.255.255.0 metric 0 mtu 1500 REM ifconfig lan1 REM ifconfig lan2 REM ifconfig lan3 REM ifconfig lan4 REM ifconfig lan5 REM ifconfig lan6 REM ifconfig lan7 rem route add -net 203.41.6 203.41.6.1 -hopcount 1 route add default 203.41.6.1 -hopcount 1 inetcfg -s all ------- there could well be an easier way, but, I'd guess you could have multiple \mptn\bin\setup.cmd to switch this determins your host ip, etc. you can also edit D:\tcpip\bin\tcpstart.cmd as to what starts, whe. JUST CAREFULL< AFTER YOU EDIT tcpstart.cmd it may well no longer work in GUI Java applet, you've been warned... (if you simple UN-REM things, it shouldn't matter, though, IF you alter beyoned REM/ not REM, it might) hth, Voytek Eymont SBT Information Systems Pty Ltd http://www.sbt dot net dot au/links/ phone +61-2 9310-1144 fax +61-2 9310-1118 ---------------------------------------------------------------------------------- **= Email 4 ==========================** Date: Fri, 05 Apr 2002 12:23:11 +1000 (EST) From: "Daryl Pilkington" Subject: Re: [os2genau] TCPIP questions Hi Graham, The best solution is to run a DHCP server at work & at home. TCP/IP configuration is then automatically defined at PC boot-up from the DHCP server. This is the Industry-Standard way of doing it. Anything else is a kludge. WS4eB has a DHCP server that can be enabled at your work. You could use a GPL Smoothwall box at home: http://www.smoothwall dot org Its free :) It would be best to have Smoothwall running on a P100 box with 2 NICs. NIC 1 (Red) Connects to: D-Link ADSL modem NIC 2 (Green) Connects to: Laptop You will need instructions for: 1) WS4eB DHCP server setup 2) GPL Smoothwall Neither setup is trivial, but it is not too hard either. Regards, Daryl Pilkington //// The PC-Therapist, Business Computing Integration O OS/2 Warp, Redhat Linux, DB2 IBM Certified Systems Expert email: darylpatpc-therapist dot com dot au ICQ: 91914134 Mob: 0425-251-300 ---------------------------------------------------------------------------------- **= Email 5 ==========================** Date: Fri, 05 Apr 2002 13:20:27 +1000 (EST) From: "Daryl Pilkington" Subject: Re: [os2genau] TCPIP questions Hi Graham, You put 2 questions together, this one almost got overlooked. *** UNIX ********* OS/2 EQUIVALENT ************************* LPD print server, (shared network printer) LPDPORTD print client that allows printing to a lpd print server ************************************************************ The above is an over-simplified explanation, that is sufficient to get you started. On Fri, 05 Apr 2002 10:13:28 +1100 (EDT), Dr Graham Norton FRACP Neurologist wrote: > SNIP > > What is the difference between LPD and LPDPORT printing in the > TCPIP set up properties? > Regards, Daryl Pilkington //// The PC-Therapist, Business Computing Integration O OS/2 Warp, Redhat Linux, DB2 IBM Certified Systems Expert email: darylpatpc-therapist dot com dot au ICQ: 91914134 Mob: 0425-251-300 ---------------------------------------------------------------------------------- **= Email 6 ==========================** Date: Fri, 05 Apr 2002 13:28:16 +1000 (EST) From: "Daryl Pilkington" Subject: [os2genau] Mobile TCP/IP, (was TCPIP questions) Hi Graham, For painless mobile TCP/IP, users really need the following: 1) DHCP at all locations so TCP/IP routing IP address assignment is automatic at boot. 2) Local SMTP mail server, (like Weasel), so mail can be sent from any location. If the user is using a dialup condition 1) is met, however for LAN access a DHCP server needs to be running on the LAN. By configuring a local SMTP mail server, you are independent of the site's outgoing mail server, which would have to be changed at each location in your mail program. I use the above setup, its simple, I don't have to do anything, it works. Regards, Daryl Pilkington //// The PC-Therapist, Business Computing Integration O OS/2 Warp, Redhat Linux, DB2 IBM Certified Systems Expert email: darylpatpc-therapist dot com dot au ICQ: 91914134 Mob: 0425-251-300 ---------------------------------------------------------------------------------- **= Email 7 ==========================** Date: Fri, 05 Apr 2002 12:54:16 +1100 (EDT) From: "Dr Graham Norton FRACP Neurologist" Subject: Re: [os2genau] TCPIP questions Daryl nothing that you have ever suggested to me is trivial but then again its usually a bit too hard! you forget I am only a neurologist! On Fri, 05 Apr 2002 12:23:11 +1000 (EST), Daryl Pilkington wrote: >Hi Graham, >The best solution is to run a DHCP server at work & at home. >TCP/IP configuration is then automatically defined at PC boot-up from >the DHCP server. >This is the Industry-Standard way of doing it. >Anything else is a kludge. > >WS4eB has a DHCP server that can be enabled at your work. > >You could use a GPL Smoothwall box at home: >http://www.smoothwall dot org > >Its free :) >It would be best to have Smoothwall running on a P100 box with 2 NICs. >NIC 1 (Red) >Connects to: >D-Link ADSL modem > >NIC 2 (Green) >Connects to: >Laptop > >You will need instructions for: >1) >WS4eB DHCP server setup >2) >GPL Smoothwall > >Neither setup is trivial, but it is not too hard either. > >Regards, > >Daryl Pilkington > >//// The PC-Therapist, Business Computing Integration >O\_/ > OS/2 Warp, Redhat Linux, DB2 > IBM Certified Systems Expert > > email: darylpatpc-therapist dot com dot au > ICQ: 91914134 > Mob: 0425-251-300 > > > Graham Norton Neurologist "when I need a hole in the head, I use Windows when I need a window on the brain, I use OS2!" ---------------------------------------------------------------------------------- **= Email 8 ==========================** Date: Fri, 05 Apr 2002 13:02:49 +1100 (EDT) From: "Dr Graham Norton FRACP Neurologist" Subject: Re: [os2genau] TCPIP questions Sorry Daryl its still double dutch!!! you talk about print servers in both instances... I have 4 printers set up as TCPIP printers on the server and then share them as a network printer on the network to the clients at log on... On Fri, 05 Apr 2002 13:20:27 +1000 (EST), Daryl Pilkington wrote: >Hi Graham, >You put 2 questions together, this one almost got overlooked. > > >*** UNIX ********* OS/2 EQUIVALENT ************************* > LPD print server, (shared network printer) > > LPDPORTD print client that allows printing to a lpd print >server >************************************************************ > >The above is an over-simplified explanation, that is sufficient to get >you started. > > >On Fri, 05 Apr 2002 10:13:28 +1100 (EDT), Dr Graham Norton FRACP >Neurologist wrote: >> >SNIP >> >> What is the difference between LPD and LPDPORT printing in the >> TCPIP set up properties? >> > >Regards, > >Daryl Pilkington > >//// The PC-Therapist, Business Computing Integration >O\_/ > OS/2 Warp, Redhat Linux, DB2 > IBM Certified Systems Expert > > email: darylpatpc-therapist dot com dot au > ICQ: 91914134 > Mob: 0425-251-300 > > > Graham Norton Neurologist "when I need a hole in the head, I use Windows when I need a window on the brain, I use OS2!" ---------------------------------------------------------------------------------- **= Email 9 ==========================** Date: Fri, 5 Apr 2002 13:29:52 +0930 From: brianbatkdfisher dot com dot au Subject: Re: [os2genau] TCPIP questions Graham, Regarding the printer stuff, To quote from the TCP/IP Guide in the OS/2 help system:- LPRPORTD ========= LPRPORTD is a port driver that enables you to redirect output for any local printer object to a remote printer. LPRPORTD services all printer objects that use \PIPE\LPDn printer ports, where n is a number from 0 to 64 (you can use as many as 64 LPD printer ports to support up to 64 remote printer destinations. LPD ========== LPD is the Line Printer Deamon. It is the printer server. To quote from the help again The print server, LPD, enables an OS/2 workstation (or server) to act as a remote print server. Clients can then submit, query, and remove print jobs from any OS/2 print queue (printer object) defined at the server workstation. Hope this is enlightening! ----------------------------------------- Brian Butler System Administrator brianbatkdfisher dot com dot au "Dr Graham Norton FRACP To: "os2genauatos2 dot org dot au" Neurologist" cc: 05/04/2002 08:43 Please respond to os2genau Hi to all the guru s out there... can anyone help me and educate me about... 1 I want to be able to change the TCPIP setup to reflect whether i am either at work or at home.... obviously there is a ini file or some such that is modified ... I wonder if I cant have 2 TCPIP set up files a home b ` LAN at work and then use a batch file routine to xcopy either one to the what ever file it is called (???PIP.ini ) eg xcopy X:\home.ini c:\TCPIP\setup.ini.... or what ever the name of the file is?? do you understand? so that at the end of the day at work , I can xcopy the file across and then reboot at home and log onto the internet (ADSL) at home and then at the end of the night or weekend xcopy the LAN settings and reboot at work... sounds simple ! 2 what is the difference between LPD and LPDPORT printing in the TCPIP set up properties? Graham Norton Neurologist "when I need a hole in the head, I use Windows when I need a window on the brain, I use OS2!" ---------------------------------------------------------------------------------- ---------------------------------------------------------------------------------- **= Email 10 ==========================** Date: Fri, 05 Apr 2002 14:05:27 +1000 (EST) From: "Daryl Pilkington" Subject: Re: [os2genau] TCPIP questions Hmmm... I've failed miserably to explain the difference, I think I'll go eat a TCP/IP worm. Was it double Dutch or a Double Byte Character Set, (DBCS)? OK, Graham, I'll think about this one & compose version #2 this evening. On Fri, 05 Apr 2002 13:02:49 +1100 (EDT), Dr Graham Norton FRACP Neurologist wrote: >Sorry Daryl its still double dutch!!! you talk about print servers in both instances... > SNIP > >On Fri, 05 Apr 2002 13:20:27 +1000 (EST), Daryl Pilkington wrote: > SNIP >> >>*** UNIX ********* OS/2 EQUIVALENT ************************* >> LPD print server, (shared network printer) >> >> LPDPORTD print client that allows printing to a lpd print >>server >>************************************************************ >> SNIP > Regards, Daryl Pilkington //// The PC-Therapist, Business Computing Integration O OS/2 Warp, Redhat Linux, DB2 IBM Certified Systems Expert email: darylpatpc-therapist dot com dot au ICQ: 91914134 Mob: 0425-251-300 ---------------------------------------------------------------------------------- **= Email 11 ==========================** Date: Fri, 5 Apr 2002 14:19:52 From: Voytek Eymont Subject: Re: [os2genau] TCPIP questions ** Reply to note from brianbatkdfisher dot com dot au Fri, 5 Apr 2002 13:29:52 +0930 > LPRPORTD > ========= > LPRPORTD is a port driver that enables you to redirect output for any local > printer object to a remote printer. > LPRPORTD services all printer objects that use \PIPE\LPDn printer ports, > where n is a number from 0 to 64 > (you can use as many as 64 LPD printer ports to support up to 64 remote > printer destinations. I use START /c /min "PrinterD" lprportd from startup to print to HP4Si on the LAN the HPAdmin stuff, whish is extremely nice, and, has oodles of features, was also extremely flakey, this just works, but, no fancy features Voytek Eymont SBT Information Systems Pty Ltd http://www.sbt dot net dot au/links/ phone +61-2 9310-1144 fax +61-2 9310-1118 ---------------------------------------------------------------------------------- **= Email 12 ==========================** Date: Fri, 05 Apr 2002 16:47:33 +1000 From: Ed Durrant Subject: Re: [os2genau] TCPIP questions There's several ways to approach this Graham. For point 1. There is a program that you have from PPPConnect (OS2 RAS) days that can switch network interface configurations for you, this is especially useful if one of the connections is a modem dial-up. However I think in both cases you're connecting into a CAT5 UTP ethernet connection. In this situation a better solution is to configure your PC for DHCP and to pick up the relevant settings from a DHCP server (or device) in whatever location you connect in. At home, your ADSL "modem" is also a DHCP server, which will allocate your PC an IP address and set such things as default gateway and DNS addresses. (that's only if you connect direct to the modem though). In the office if you have a hardware gateway system, these can usually be configured to run as DHCP servers as well. Otherwise, you can add the DHCP server service to an existing server (perhaps your print server?). For Point 2. LPD is lineprinter Demon. This is used when you are sharing a printer out to other users via TCPIP. LPRPORTD is the "client" you need to load on your PC to be able to connect to a TCPIP based printer server (possibly an OS/2 PC running LPD or the network card in a LAN attached printer or a printer sharing box like a Jet Direct box or similar). Both of these are TCPIP networking related programs, nothing to do with "normal" SMB (Netbios) type networking. NOW if you REALLY want to put a high performance Print server together there's now SLPR or Streaming LPR, which enables very high speed printing across the network. Just released for OS/2. Hope this clarifies things Cheers/2 Ed. Dr Graham Norton FRACP Neurologist wrote: > > Hi to all the guru s out there... > > can anyone help me and educate me about... > > 1 I want to be able to change the TCPIP setup to reflect whether i am either at work or at home.... obviously > there is a ini file > or some such that is modified ... I wonder if I cant have 2 TCPIP set up files > > a home > b ` LAN at work > > and then use a batch file routine to xcopy either one to the what ever file it is called (???PIP.ini ) eg xcopy > X:\home.ini > c:\TCPIP\setup.ini.... or what ever the name of the file is?? do you understand? > > so that at the end of the day at work , I can xcopy the file across and then reboot at home and log onto the internet > (ADSL) at home and then at the end of the night or weekend xcopy the LAN settings and reboot at work... sounds > simple ! > > 2 what is the difference between LPD and LPDPORT printing in the TCPIP set up properties? > > Graham Norton > Neurologist > > "when I need a hole in the head, I use Windows > when I need a window on the brain, I use OS2!" > > ---------------------------------------------------------------------------------- **= Email 13 ==========================** Date: Fri, 05 Apr 2002 17:05:37 +1000 (EST) From: "Daryl Pilkington" Subject: Re: [os2genau] TCPIP questions Hi Ed/Graham, Graham, what model D-Link ADSL modem are you using? I'm not sure if it has an integral DHCP server. If it does, it will be very easy to configure, even for a Neurologist ;) This would be the best solution for your home. For the office, configuring DHCP server on your WS4eB server is the way to go. Not so simple... On Fri, 05 Apr 2002 16:47:33 +1000, Ed Durrant wrote: > >There's several ways to approach this Graham. > SNIP > >In this situation a better solution is to configure your PC for DHCP and >to pick up the relevant settings from a DHCP server (or device) in whatever >location you connect in. At home, your ADSL "modem" is also a DHCP server, >which will allocate your PC an IP address and set such things as default >gateway and DNS addresses. (that's only if you connect direct to the modem >though). In the office if you have a hardware gateway system, these can >usually be configured to run as DHCP servers as well. Otherwise, you can add >the DHCP server service to an existing server (perhaps your print server?). > SNIP > Regards, Daryl Pilkington //// The PC-Therapist, Business Computing Integration O OS/2 Warp, Redhat Linux, DB2 IBM Certified Systems Expert email: darylpatpc-therapist dot com dot au ICQ: 91914134 Mob: 0425-251-300 ---------------------------------------------------------------------------------- **= Email 14 ==========================** Date: Fri, 05 Apr 2002 16:59:28 +1100 (EDT) From: "Dr Graham Norton FRACP Neurologist" Subject: Re: [os2genau] TCPIP questions HI Daryl For the office, configuring DHCP server on your WS4eB server is the way to go. Not so simple... I think that we are already running the DHCP server at work set up by Brian for me!! The Home ADSL modem is an ALCATEL "Speed Touch Home" model..... any help? On Fri, 05 Apr 2002 17:05:37 +1000 (EST), Daryl Pilkington wrote: >Hi Ed/Graham, > >Graham, what model D-Link ADSL modem are you using? >I'm not sure if it has an integral DHCP server. > >If it does, it will be very easy to configure, even for a Neurologist >;) >This would be the best solution for your home. > >For the office, configuring DHCP server on your WS4eB server is the way >to go. >Not so simple... > > >On Fri, 05 Apr 2002 16:47:33 +1000, Ed Durrant wrote: >> >>There's several ways to approach this Graham. >> >SNIP >> >>In this situation a better solution is to configure your PC for DHCP and >>to pick up the relevant settings from a DHCP server (or device) in whatever >>location you connect in. At home, your ADSL "modem" is also a DHCP server, >>which will allocate your PC an IP address and set such things as default >>gateway and DNS addresses. (that's only if you connect direct to the modem >>though). In the office if you have a hardware gateway system, these can >>usually be configured to run as DHCP servers as well. Otherwise, you can add >>the DHCP server service to an existing server (perhaps your print server?). >> >SNIP >> > >Regards, > >Daryl Pilkington > >//// The PC-Therapist, Business Computing Integration >O\_/ > OS/2 Warp, Redhat Linux, DB2 > IBM Certified Systems Expert > > email: darylpatpc-therapist dot com dot au > ICQ: 91914134 > Mob: 0425-251-300 > > > Graham Norton Neurologist "when I need a hole in the head, I use Windows when I need a window on the brain, I use OS2!" ---------------------------------------------------------------------------------- **= Email 15 ==========================** Date: Fri, 05 Apr 2002 17:08:15 +1100 (EDT) From: "Dr Graham Norton FRACP Neurologist" Subject: Re: [os2genau] TCPIP questions HI Ed your explanation is understandable and so I assume that on the File and Print Server (WSeB) at work I run the LPD (part of the autorun options in TCPIP). I think I do this already but perhaps using LPRPORTD on the server rather than LPD.... The 4 printers are assigned to an LPD printer port and set up with an IP address .... 2 x HP 2100TN with inbuilt card and 2 epson L300 which are connected to an netgear print server 'box".... then I actually set up each printer on the server as a network printer and share create an access/share to the workstations and they log on and use NetBios to "see the printers".... so I dont really need to run LPRPORTD on the clients? correct? I tried to set up a "pure" TCPIP printing network , but it was rather slow and subjected to unexplained hiccups and print files suddenly taking an interminable time to be sent to the printer by the spooler - often several minutes!!! n Fri, 05 Apr 2002 16:47:33 +1000, Ed Durrant wrote: >There's several ways to approach this Graham. > >For point 1. There is a program that you have from PPPConnect (OS2 RAS) >days that can switch network interface configurations for you, this is >especially useful if one of the connections is a modem dial-up. However >I think in both cases you're connecting into a CAT5 UTP ethernet connection. >In this situation a better solution is to configure your PC for DHCP and >to pick up the relevant settings from a DHCP server (or device) in whatever >location you connect in. At home, your ADSL "modem" is also a DHCP server, >which will allocate your PC an IP address and set such things as default >gateway and DNS addresses. (that's only if you connect direct to the modem >though). In the office if you have a hardware gateway system, these can >usually be configured to run as DHCP servers as well. Otherwise, you can add >the DHCP server service to an existing server (perhaps your print server?). > >For Point 2. LPD is lineprinter Demon. This is used when you are sharing a >printer out to other users via TCPIP. > LPRPORTD is the "client" you need to load on your PC to be >able >to connect to a TCPIP based printer server (possibly an OS/2 PC running LPD >or >the network card in a LAN attached printer or a printer sharing box like >a Jet Direct box or similar). > >Both of these are TCPIP networking related programs, nothing to do with >"normal" SMB (Netbios) type networking. > >NOW if you REALLY want to put a high performance Print server together >there's now SLPR or Streaming LPR, which enables very high speed printing >across the network. Just released for OS/2. > >Hope this clarifies things > >Cheers/2 > >Ed. > > >Dr Graham Norton FRACP Neurologist wrote: >> >> Hi to all the guru s out there... >> >> can anyone help me and educate me about... >> >> 1 I want to be able to change the TCPIP setup to reflect whether i am either at work or at home.... obviously >> there is a ini file >> or some such that is modified ... I wonder if I cant have 2 TCPIP set up files >> >> a home >> b ` LAN at work >> >> and then use a batch file routine to xcopy either one to the what ever file it is called (???PIP.ini ) eg xcopy >> X:\home.ini >> c:\TCPIP\setup.ini.... or what ever the name of the file is?? do you understand? >> >> so that at the end of the day at work , I can xcopy the file across and then reboot at home and log onto the internet >> (ADSL) at home and then at the end of the night or weekend xcopy the LAN settings and reboot at work... sounds >> simple ! >> >> 2 what is the difference between LPD and LPDPORT printing in the TCPIP set up properties? >> >> Graham Norton >> Neurologist >> >> "when I need a hole in the head, I use Windows >> when I need a window on the brain, I use OS2!" >> > >> > > > Graham Norton Neurologist "when I need a hole in the head, I use Windows when I need a window on the brain, I use OS2!" ---------------------------------------------------------------------------------- **= Email 16 ==========================** Date: Fri, 05 Apr 2002 20:38:40 +1000 From: Ed Durrant Subject: Re: [os2genau] TCPIP questions No you haven't quite got it Graham. You Don't run LPD on your server. The built in network card and the Netgear print server runs LPD in your configuration. I mentioned that this form of printer sharing is not part of the "normal" SMB networking. What you are doing is connecting to the printers via LPRPORTD on the server - hence the link server to printers is using "TCPIP networking" if you like. Once the printers are available to the server you are sharing them out to clients using the "Netbios SMB networking". Is this clearer ?? Cheers/2 Ed. Dr Graham Norton FRACP Neurologist wrote: > > HI Ed > > your explanation is understandable and so I assume that on the File and Print > Server (WSeB) at work I run the LPD (part of the autorun options in TCPIP). > > I think I do this already but perhaps using LPRPORTD on the server rather than > LPD.... > > The 4 printers are assigned to an LPD printer port and set up with an IP address .... > 2 x HP 2100TN with inbuilt card and 2 epson L300 which are connected to an > netgear print server 'box".... > > then I actually set up each printer on the server as a network printer and share > create an access/share to the workstations and they log on and use NetBios to > "see the printers".... so I dont really need to run LPRPORTD on the clients? > correct? > > I tried to set up a "pure" TCPIP printing network , but it was rather slow and > subjected to unexplained hiccups and print files suddenly taking an interminable > time to be sent to the printer by the spooler - often several minutes!!! > > n Fri, 05 Apr 2002 16:47:33 +1000, Ed Durrant wrote: > > >There's several ways to approach this Graham. > > > >For point 1. There is a program that you have from PPPConnect (OS2 RAS) > >days that can switch network interface configurations for you, this is > >especially useful if one of the connections is a modem dial-up. However > >I think in both cases you're connecting into a CAT5 UTP ethernet connection. > >In this situation a better solution is to configure your PC for DHCP and > >to pick up the relevant settings from a DHCP server (or device) in whatever > >location you connect in. At home, your ADSL "modem" is also a DHCP server, > >which will allocate your PC an IP address and set such things as default > >gateway and DNS addresses. (that's only if you connect direct to the modem > >though). In the office if you have a hardware gateway system, these can > >usually be configured to run as DHCP servers as well. Otherwise, you can add > >the DHCP server service to an existing server (perhaps your print server?). > > > >For Point 2. LPD is lineprinter Demon. This is used when you are sharing a > >printer out to other users via TCPIP. > > LPRPORTD is the "client" you need to load on your PC to be > >able > >to connect to a TCPIP based printer server (possibly an OS/2 PC running LPD > >or > >the network card in a LAN attached printer or a printer sharing box like > >a Jet Direct box or similar). > > > >Both of these are TCPIP networking related programs, nothing to do with > >"normal" SMB (Netbios) type networking. > > > >NOW if you REALLY want to put a high performance Print server together > >there's now SLPR or Streaming LPR, which enables very high speed printing > >across the network. Just released for OS/2. > > > >Hope this clarifies things > > > >Cheers/2 > > > >Ed. > > > > > >Dr Graham Norton FRACP Neurologist wrote: > >> > >> Hi to all the guru s out there... > >> > >> can anyone help me and educate me about... > >> > >> 1 I want to be able to change the TCPIP setup to reflect whether i am either at > work or at home.... obviously > >> there is a ini file > >> or some such that is modified ... I wonder if I cant have 2 TCPIP set up files > >> > >> a home > >> b ` LAN at work > >> > >> and then use a batch file routine to xcopy either one to the what ever file it is > called (???PIP.ini ) eg xcopy > >> X:\home.ini > >> c:\TCPIP\setup.ini.... or what ever the name of the file is?? do you understand? > >> > >> so that at the end of the day at work , I can xcopy the file across and then reboot > at home and log onto the internet > >> (ADSL) at home and then at the end of the night or weekend xcopy the LAN > settings and reboot at work... sounds > >> simple ! > >> > >> 2 what is the difference between LPD and LPDPORT printing in the TCPIP > set up properties? > >> > >> Graham Norton > >> Neurologist > >> > >> "when I need a hole in the head, I use Windows > >> when I need a window on the brain, I use OS2!" > >> > > > >> > > > > > > > > Graham Norton > Neurologist > > "when I need a hole in the head, I use Windows > when I need a window on the brain, I use OS2!" > > ---------------------------------------------------------------------------------- **= Email 17 ==========================** Date: Fri, 05 Apr 2002 20:43:48 +1000 From: Ed Durrant Subject: Re: [os2genau] TCPIP questions The other question is whether at home Graham connects directly to the ADSL modem or whether he goes through another PC as a firewall. If direct, either the ADSL modem or the ISP can issue the required DHCP support. If there's a device in between, it'll need to perform the DHCP function. I wonder if IJ Firewall V3 has this function ?? DHCP server set up on WSeB is not well documented, however I have done it and have (I hope I can find them still) my one scribbled notes on how to do it. I had to configure it to be able to run network station thin clients once. Cheers/2 Ed. Daryl Pilkington wrote: > > Hi Ed/Graham, > > Graham, what model D-Link ADSL modem are you using? > I'm not sure if it has an integral DHCP server. > > If it does, it will be very easy to configure, even for a Neurologist > ;) > This would be the best solution for your home. > > For the office, configuring DHCP server on your WS4eB server is the way > to go. > Not so simple... > > On Fri, 05 Apr 2002 16:47:33 +1000, Ed Durrant wrote: > > > >There's several ways to approach this Graham. > > > SNIP > > > >In this situation a better solution is to configure your PC for DHCP and > >to pick up the relevant settings from a DHCP server (or device) in whatever > >location you connect in. At home, your ADSL "modem" is also a DHCP server, > >which will allocate your PC an IP address and set such things as default > >gateway and DNS addresses. (that's only if you connect direct to the modem > >though). In the office if you have a hardware gateway system, these can > >usually be configured to run as DHCP servers as well. Otherwise, you can add > >the DHCP server service to an existing server (perhaps your print server?). > > > SNIP > > > > Regards, > > Daryl Pilkington > > //// The PC-Therapist, Business Computing Integration > O \_/ > OS/2 Warp, Redhat Linux, DB2 > IBM Certified Systems Expert > > email: darylpatpc-therapist dot com dot au > ICQ: 91914134 > Mob: 0425-251-300 > > ----------------------------------------------------------------------------------