From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 6 Feb 2003 04:53:01 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 36 ************************************************** Wednesday 05 February 2003 Number 36 ************************************************** Subjects for today 1 Re: Perl LWP Question : Henry Sobotka 2 Re: SETUP.CMD in Unix : Maynard" 3 Re: SETUP.CMD in Unix : Maynard" 4 Re: SETUP.CMD in Unix : email at eracc.hypermart.net (ERACC Lists) 5 Re: SETUP.CMD in Unix : Maynard" 6 SETUP.CMD in Unix : John Poltorak 7 Re: SETUP.CMD in Unix : Dave Saville" 8 Re: SETUP.CMD in Unix : John Poltorak 9 Re: SETUP.CMD in Unix : John Poltorak 10 Re: SETUP.CMD in Unix : Dave Saville" 11 Re: SETUP.CMD in Unix : Dave Saville" 12 Re: SETUP.CMD in Unix : John Poltorak 13 openssh : John Poltorak 14 Re: Perl LWP Question : Hakan" **= Email 1 ==========================** Date: Thu, 06 Feb 2003 00:50:39 -0500 From: Henry Sobotka Subject: Re: Perl LWP Question If you don't have LWP/UserAgent.PM in your perl/lib tree, presumably that's because you haven't installed it. You can get it from http://www.cpan.org/modules/by-module/LWP/. After downloading and unpacking, have a look at Makefile.PL for anything that might need adjusting, then run "perl Makefile.PL" to generate makefiles, followed by "make", "make test" and "make install". Most Perl add-on modules check for prerequisites, so you may have to go through the above routine with them first. h~ **= Email 2 ==========================** Date: Thu, 06 Feb 2003 06:06:49 -0600 (CST) From: "Maynard" Subject: Re: SETUP.CMD in Unix On Thu, 6 Feb 2003 11:32:29 +0000, John Poltorak wrote: >What is the Unix equivalent of OS/2's SETUP.CMD for setting IP addresses >for the local host? route and ifconfig are both available to su on my suse7.3 setup -- Maynard **= Email 3 ==========================** Date: Thu, 06 Feb 2003 07:33:18 -0600 (CST) From: "Maynard" Subject: Re: SETUP.CMD in Unix On Thu, 6 Feb 2003 13:03:20 +0000, John Poltorak wrote: >I've just managed to get an IP address assigned to the NIC on my AIX >system by adding an entry to hosts! and you know that it is assigned to the NIC by examing .... ifconfig .... or something else? What happens when you have more than one line in HOSTS for the same internal subnet? How do you suppose that the system knows which is yours? AIX does have 'ifconfig' doesn't it? -- Maynard **= Email 4 ==========================** Date: Thu, 06 Feb 2003 08:38:57 -0600 From: email at eracc.hypermart.net (ERACC Lists) Subject: Re: SETUP.CMD in Unix In: <20030206141042.EZGO4022.mta06-svc.ntlworld.com at pooh> On: Thu, 06 Feb 2003 14:10:13 +0000 (GMT) Screaming: Re: SETUP.CMD in Unix "Dave Saville" did rant: +On Thu, 06 Feb 2003 07:33:18 -0600 (CST), Maynard wrote: +>On Thu, 6 Feb 2003 13:03:20 +0000, John Poltorak wrote: +> +>>I've just managed to get an IP address assigned to the NIC on my AIX +>>system by adding an entry to hosts! +And of course AIX has that completely different gui setter up thingy - +smitt? No other *nix has anything like it. Well, actually there is 'scoadmin' on OpenServer and Unixware and I believe 'linuxconf' is still floating around. Of course there is 'webmin' as well. I believe these are equivalent to 'smit'. I've used all of the above. Gene -- +=========================-=>Unix & OS/2<=-=========================+ # Owner and C.E.O. - ERA Computer Consulting - Jackson, TN USA # # eCS,OS/2,UnixWare,OpenServer & Linux Business Computing Solutions # # Please visit our www pages at http://eracc.hypermart.net/ # +===================================================================+ We run IBM OS/2 v.4.00, Revision 9.036 Sysinfo: 41 Processes, 161 Threads, uptime is 0d 13h 16m 31s 60ms **= Email 5 ==========================** Date: Thu, 06 Feb 2003 10:02:56 -0600 (CST) From: "Maynard" Subject: Re: SETUP.CMD in Unix Hi Dave, >>What happens when you have more than one line in HOSTS for the same >>internal subnet? How do you suppose that the system knows which is >>yours? > >More than one line? if you mean alias names then its all on the same >line. Sure, multiple alias for single IP, but the file is a mini-DNS for the listing of multiple IPs. My hosts file has individual line entries for: each IP on the domestic segment (no other authoritative DNS) a few DNS servers for use when the primaries aren't reachable and before I started running local Bind I had hosts entries for frequently accessed sites (pop3, dns) and 127.0.0.1 assignments for banned sites -- Maynard **= Email 6 ==========================** Date: Thu, 6 Feb 2003 11:32:29 +0000 From: John Poltorak Subject: SETUP.CMD in Unix What is the Unix equivalent of OS/2's SETUP.CMD for setting IP addresses for the local host? Maybe it varies between different flavours of Unix, but I'm trying to set it up on AIX v1.3.0... Does NETSTAT use the same parameters on different versions of Unix? -- John **= Email 7 ==========================** Date: Thu, 06 Feb 2003 12:12:44 +0000 (GMT) From: "Dave Saville" Subject: Re: SETUP.CMD in Unix On Thu, 6 Feb 2003 11:32:29 +0000, John Poltorak wrote: >What is the Unix equivalent of OS/2's SETUP.CMD for setting IP addresses >for the local host? > >Maybe it varies between different flavours of Unix, but I'm trying to set >it up on AIX v1.3.0... > On my Solaris system the ip address of the host is in hosts :-) and the host name lives in hostname.le0 - the .le0 is the interface. Internally startup will do ifconfig in the /etc/rc2.d files. >Does NETSTAT use the same parameters on different versions of Unix? Solaris: NAME netstat - show network status SYNOPSIS netstat [ -anv ] netstat [-g | -m | -p | -s | -f address_family ] [ -n ] [ -P protocol ] netstat [ -i ] [ -I interface ] [ interval ] netstat -r [ -anv ] netstat -M [ -ns ] netstat -D [ -I interface ] HTH -- Regards Dave Saville **= Email 8 ==========================** Date: Thu, 6 Feb 2003 12:24:11 +0000 From: John Poltorak Subject: Re: SETUP.CMD in Unix On Thu, Feb 06, 2003 at 12:12:44PM +0000, Dave Saville wrote: > On Thu, 6 Feb 2003 11:32:29 +0000, John Poltorak wrote: > > >Does NETSTAT use the same parameters on different versions of Unix? > > Solaris: > > NAME > netstat - show network status > > SYNOPSIS > netstat [ -anv ] > > netstat [-g | -m | -p | -s | -f address_family ] [ -n ] > [ -P protocol ] > > netstat [ -i ] [ -I interface ] [ interval ] > > netstat -r [ -anv ] > > netstat -M [ -ns ] > > netstat -D [ -I interface ] Hmm... I wouldn't mind a man page for OS/2's netstat. I thought it was supposed to be BSD based. Maybe I could borrow one from somewhere else and modify it... > > > HTH > > -- > Regards > > Dave Saville > -- John **= Email 9 ==========================** Date: Thu, 6 Feb 2003 13:03:20 +0000 From: John Poltorak Subject: Re: SETUP.CMD in Unix On Thu, Feb 06, 2003 at 06:06:49AM -0600, Maynard wrote: > On Thu, 6 Feb 2003 11:32:29 +0000, John Poltorak wrote: > > >What is the Unix equivalent of OS/2's SETUP.CMD for setting IP addresses > >for the local host? > > route and ifconfig are both available to su on my suse7.3 setup I've just managed to get an IP address assigned to the NIC on my AIX system by adding an entry to hosts! It didn't seem complicated enough somehow :-)... > -- Maynard > > -- John **= Email 10 ==========================** Date: Thu, 06 Feb 2003 14:10:13 +0000 (GMT) From: "Dave Saville" Subject: Re: SETUP.CMD in Unix On Thu, 06 Feb 2003 07:33:18 -0600 (CST), Maynard wrote: >On Thu, 6 Feb 2003 13:03:20 +0000, John Poltorak wrote: > >>I've just managed to get an IP address assigned to the NIC on my AIX >>system by adding an entry to hosts! And of course AIX has that completely different gui setter up thingy - smitt? No other *nix has anything like it. -- Regards Dave Saville **= Email 11 ==========================** Date: Thu, 06 Feb 2003 14:14:13 +0000 (GMT) From: "Dave Saville" Subject: Re: SETUP.CMD in Unix On Thu, 06 Feb 2003 07:33:18 -0600 (CST), Maynard wrote: >On Thu, 6 Feb 2003 13:03:20 +0000, John Poltorak wrote: > >>I've just managed to get an IP address assigned to the NIC on my AIX >>system by adding an entry to hosts! Yes, that's what happens on Solaris - just get hosts and the hostname right and the clever startup scripts do the rest. > >and you know that it is assigned to the NIC by examing .... > >ifconfig .... or something else? > >What happens when you have more than one line in HOSTS for the same >internal subnet? How do you suppose that the system knows which is >yours? More than one line? if you mean alias names then its all on the same line. 192.168.0.99 fred fred.somewhere.com loghost For different interface cards Solaris seems to use a file called hostname.interface contianing one line with the name. -- Regards Dave Saville **= Email 12 ==========================** Date: Thu, 6 Feb 2003 14:28:38 +0000 From: John Poltorak Subject: Re: SETUP.CMD in Unix On Thu, Feb 06, 2003 at 02:10:13PM +0000, Dave Saville wrote: > On Thu, 06 Feb 2003 07:33:18 -0600 (CST), Maynard wrote: > > >On Thu, 6 Feb 2003 13:03:20 +0000, John Poltorak wrote: > > > >>I've just managed to get an IP address assigned to the NIC on my AIX > >>system by adding an entry to hosts! > > And of course AIX has that completely different gui setter up thingy > - smitt? No other *nix has anything like it. I've used smit in the past and it's pretty useful. It would be nice to have something like that on OS/2. Unfortunately my version of AIX predates smit. Wonder if there is some sort of early incarnation of it under a different name. It would make life much easier. > -- > Regards > > Dave Saville > -- John **= Email 13 ==========================** Date: Thu, 6 Feb 2003 15:07:30 +0000 From: John Poltorak Subject: openssh There's a new release of openssh at Hobbes. -- John **= Email 14 ==========================** Date: Thu, 06 Feb 2003 15:31:49 -0500 (EST) From: "Hakan" Subject: Re: Perl LWP Question Thanks for the pointer. It seems those routines are in the file libwww-perl. Perusing the corresponding readme file reveals that five other modules are required, none of which seems to be part of the package I built. I wonder if each of these packages in turn require five other packages etc.... I feel like a cat chasing my own tail. On Thu, 06 Feb 2003 00:50:39 -0500, Henry Sobotka wrote: >If you don't have LWP/UserAgent.PM in your perl/lib tree, presumably >that's because you haven't installed it. You can get it from >http://www.cpan.org/modules/by-module/LWP/. After downloading and >unpacking, have a look at Makefile.PL for anything that might need >adjusting, then run "perl Makefile.PL" to generate makefiles, followed >by "make", "make test" and "make install". > >Most Perl add-on modules check for prerequisites, so you may have to go >through the above routine with them first. > >h~ > >