Re: [expert] OT - for shell mongers: how _not_ to list a file

2003-08-28 Thread Matthew O. Persico
On Wed, 27 Aug 2003 12:45:45 +0200, Udo Rader wrote:
>Am Wed, 27 Aug 2003 01:10:59 + schrieb Matthew O. Persico:
>>On Sun, 24 Aug 2003 00:29:33 +0200, jipe wrote:
>>>>
>>>>
>>>one easy way ...
>>>
>>>GLOBIGNORE="no_not_this_one"
>>>
>>>then any glob like * will ignore this file
>>>
>>>bye
>>>jipe
>>>
>>>
>>>
>>YIKES! Why use estoeric, shell specific stuff when the proper
>>application of STANDARD (cross-shell) command will do:
>>
>>cd TheDirectory
>>cp `ls -c1 | grep -v TheFileToExclude
>because
>1) I asked for a shell specific solution (=> we're talking about
>bash,
>aren't we?)

Point taken

>2) modifying file globbing is much less overhead than having to
>invoke two extra commands

Point taken

>3) modifiying file globbing has the advantage that this works for all
>other commands that use the globbing features - which is IMHO very
>useful.

If you ALWAYS want to ignore the file. Can GLOBIGNORE take a regexp or a list of 
patterns to ignore?

>happy hacking.
>udo


--
Matthew O. Persico



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] OT - for shell mongers: how _not_ to list a file

2003-08-27 Thread Matthew O. Persico
On Sun, 24 Aug 2003 00:29:33 +0200, jipe wrote:

>one easy way ...
>
>GLOBIGNORE="no_not_this_one"
>
>then any glob like * will ignore this file

Ok, lets see if I can type a coherent sentence WITHOUT hitting the send key stroke 
(apparently CTRL-E, which is end-of-line in xemacs..)

cd TheDir
cp `ls -c1 | grep -v theFileToExclude` theNewDir

--
Matthew O. Persico



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] OT - for shell mongers: how _not_ to list a file

2003-08-27 Thread Matthew O. Persico
On Sun, 24 Aug 2003 00:29:33 +0200, jipe wrote:
>>
>
>one easy way ...
>
>GLOBIGNORE="no_not_this_one"
>
>then any glob like * will ignore this file
>
>bye
>jipe
>
>

YIKES! Why use estoeric, shell specific stuff when the proper application of STANDARD 
(cross-shell) command will do:

cd TheDirectory
cp `ls -c1 | grep -v TheFileToExclude
--
Matthew O. Persico



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com


Re: [expert] A moment of Silence. Columbia, NOT Challanger.

2003-02-06 Thread Matthew O. Persico
On Thu, 6 Feb 2003 22:07:40 -0600, David Rankin wrote:
>Trivia:
>
>OV-98 (Drop test vehicle - never flown aside from glide tests pre STS-1)

Wasn't this named Enterprise? I remember a big deal about Trekkers trying
to get a shuttle named after the ship in Star Trek.

>OV-99 Challenger
>OV-102 Columbia
>OV-103 Discovery
>OV-104 Atlantis
>OV-105-Endeavor
>
>
>--
>David C. Rankin, J.D., P.E.
>Rankin * Bertin, PLLC
>510 Ochiltree Street
>Nacogdoches, Texas 75961
>(936) 715-9333
>- Original Message -
>From: "Franki" <[EMAIL PROTECTED]>
>To: <[EMAIL PROTECTED]>
>Sent: Saturday, February 01, 2003 9:23 PM
>Subject: RE: [expert] A moment of Silence. Columbia, NOT Challanger.
>
>
>>Ok, I will go along with that, except to say that its the
>>"Columbia" we
>>should be remembering..
>>
>>Challanger happened 17 years ago.
>>
>>rgds
>>
>>Frank
>>
>>-Original Message-
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED]]On Behalf Of James
>>Sparenberg
>>Sent: Sunday, 2 February 2003 6:55 AM
>>To: Expert List
>>Subject: [expert] A moment of Silence.
>>
>>
>>In honor of the men and women of the space shuttle challenger.
>>Please a
>>moment of silence.  And an awareness of the tragic effect a "small
>>problem" can bring.
>>
>>I respectfully submit that to properly honor these men and women
>>from
>>many Nations, no replies or additional comments be made on this
>>list.
>>Please, hold your replies and your prayers in your hearts so that
>>your
>>God may see them and be with the families of those we have lost.
>>
>>
>>James Sparenberg
>>
>>
>>
>>
>>
>>
>>
>
>
>-
>---
>
>
>
>>Want to buy your Pack or Services from MandrakeSoft?
>>Go to http://www.mandrakestore.com
>>
>
>
>


--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Perldoc?

2003-01-21 Thread Matthew O. Persico
On Mon, 20 Jan 2003 19:22:01 -0800, Rolf Pedersen wrote:
>Kevin Old wrote:
>>Hello all,
>>
>>I've just recently wiped my drive and did a fresh install of
>>Mandrake
>>9.0.  I installed everything on all 3 of the downloadable iso
>>images and
>>have noticed that the perldoc command isn't availableI've
>>looked for
>>rpms and source and can't figure out how to get the docs installed.
>>
>>I've been to perldoc.com, but can't find any documentation
>>installation
>>instructions.
>>
>>Any ideas?
>>
>>Any help is appreciated,
>>Kevin
>>
>
>I don't know anything about perl software but:
>
>$ urpmf perldoc
>perl:/usr/share/man/man1/perldoc.1.bz2
>zsh:/usr/share/zsh/4.0.6/functions/Completion/Unix/_perldoc
>perl-doc:/usr/bin/perldoc
>
>perl-doc is in RPMS3 on CD3.
>
>Rolf
>
>
>

On the theory that you you don't want to bother with docs on a server, perl doc is put 
in a separate package.
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] 9.1 fixes Perl PREFIX stuff

2003-01-14 Thread Matthew O. Persico
Is Perl going to be adjusted so that

1) "make install PREFIX" works again.
2) @INC is fixed. In 9.0 the core (lib/5.8.0) comes before the addons (lib/site_perl) 
which means that modules you upgrade (and get installed in lib/site_perl) are never 
seen because the versions in lib/5.8.0 are encounted first in @INC. I've had to 
install my modules into /opt/perl and muck with @PERL5LIB to get around the problem.

--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] MTA help (maybe)

2003-01-13 Thread Matthew O. Persico
On Mon, 13 Jan 2003 21:28:05 -0500, Bill Witherspoon wrote:
>Hi all,
>I'm trying to set up the following:
>1) fetchmail getting my POP mail from my ISP.
>2) Using procmail to filter, and deliver into my local mailbox.
>3) Using Mutt to read it
>
>but I'll be darned if I can send mail. I think the word I'm looking
>for is 'relay' (please correct me). I need to authenticate to my ISP
>(sasl?). I've tried looking at postfix & sendmail but all the docs
>are setup for server type applications. I have no need to send mail
>either
>locally or to remote machines. I *just* need to relay to my ISP ;-)
>
>Do I really need full blown sendmail just to give mail to my ISP?
>Any help would be appreciated. (course both sylpheed & kmail can do
>it!)

In this configuration, you should probably send mail via your ISP's SMTP server. For 
new, set your local email client (mutt, I guess) to send mail directly you your ISP, 
no relays.

>
>Bill


--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Samba 2.2.7a packages

2003-01-10 Thread Matthew O. Persico
On Fri, 10 Jan 2003 19:31:14 -0700, Vincent Danen wrote:
>On Fri Jan 10, 2003 at 06:34:31PM -0500, Mark Weaver wrote:
>
>>>Hey Mandrake,
>>>
>>>I see there is still no regular update to Samba to fix the very
>>>nasty 2gb
>>>file limit.
>>>So, I checked cooker.  There -is- one in there, but the cooker
>>>packages
>>>won't install on a 9.0 machine!  I'm getting endless dependencies.
>>>What's
>>>up with this?  Is it possible to ask for an update to at least the
>>>9.0
>>>samba packages to fix this problem?  Thanks.
>>>
>>>Bob
>>
>>Bob,
>>
>>just how long is that list of dependencies? it might be worth it to
>>you
>>to satisfy them if you can get past the 2GB file limit.
>
>Could also rebuild the srpm.  I'm sure that's probably easiest.
>
>Anyways, does 2.2.7a fix this 2GB file limit problem?  How long has
>this problem been around (this is the first I've heard of it, but I'm
>not a samba user).
>
>It's also unfair to be sitting around and yelling "Hey Mandrake when
>are you going to fix this bug that no one reported?".  Is there a
>bugzilla entry for this?  I am assuming that if this was a legitimate
>problem that needed to be addressed in updates, and the bug had been
>reported to someone here, that it would have been forwarded to
>myself.
>This hasn't happened so I can only assume one of two things:  It was
>reported, but not acted on, or it wasn't reported.
>
>Which one is it, Bob?  Where's the bugzilla report you posted?


Rpm, shmarpm. Just go get the source and build it. If an RPM is available, by all 
means use it, but when it's not, it's Linux folks. Rol up your sleeves and dig in.


--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] dhcp incomplete on mandrake??

2003-01-04 Thread Matthew O. Persico
On 04 Jan 2003 01:08:10 -0800, James Sparenberg wrote:
>Please take this with the humor it's intended... But you know Linux
>is progressing when problems are caused by programs doing what they
>are supposed to do.  *grin* sorry not enough sleep ...

Chuckle chuckle. Yes, we have turned a corner haven't we?

FYI, I've given up on DHCP and dropped a seven line hosts file on my
four machines. Problem solved, even if it is in a Kobyoshi-Maru sort
of manner. :-)

>
>James
>
>
>On Fri, 2003-01-03 at 18:49, Matthew O. Persico wrote:
>>On 02 Jan 2003 23:39:39 -0800, James Sparenberg wrote:
>>>Just a curiosity... do you have samba installed on the linux
>>>boxes?
>>>If so it could be getting it this way.
>>
>>Congratulations, you got it in one! After reading this, I did a ps
>>and found these running:
>>
>>F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTY        TIME
>>COMMAND 140     0  1794     1   9   0  5004 1896 do_sel S    ?
>>0:00 smbd -D 140     0  1804     1   9   0  3760 1700 do_sel S    ?
>>0:00 nmbd -D
>>
>>I didn't realize that the installation had activated the daemons.
>>Thanks for the clue.
>>--
>>Matthew O. Persico
>>
>>
>>
>>
>>
>>____
>>__
>>
>>Want to buy your Pack or Services from MandrakeSoft?
>>Go to http://www.mandrakestore.com
>
>
>


--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] DHCP and DNS interaction

2003-01-04 Thread Matthew O. Persico
On Sat, 04 Jan 2003 11:09:33 -0800, Jim C wrote:
>Actually it sounded to me like he was referering to dynamic DNS
>which the dhcpd server *can* do.  T'aint easy though. ;-)
>
>>That's just it -- there isn't any interaction unless something else
>>adds it. This is the case for NetBIOS as well, it is a
>>naming/browsing system which works in isolation from DHCP. It would
>>behave the same if you manually assigned addresses or ran an auto-
>>negotiating protocol like IPX or AppleTalk.
>>
>>There are solutions to put DHCP assignments into DNS, ranging from
>>simple bash scripts to full-on products; back in the mid-90s a firm
>>called American Internet Company sold a product called DNS
>>Registrar which did this and integrated with an NT Domain or LDAP
>>user directory too. Cisco bought them and I believe the product has
>>the same name.
>>It's expensive.
>>
>>If you really care, the best solution is to edit DHCP's config and
>>tell it to always assign the same IP to a given MAC address; then
>>you put that IP into DNS and call it a day.
>
Stepping back and taking a deep breath:

I have four machines, a router and a print server that need addresses. I 99.% 
never add another machine to the network.

I turned off DHCP and dropped a seven line (six IPs + 127.0.0.0 localhost) on each 
machine.

Ballgame over. Yankees win. Thuhuhuhuhuhuhuhuhuhuhuh Yankees win.

Thanks for everyone's help and suggestions.

>
>


--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] DHCP and DNS interaction

2003-01-03 Thread Matthew O. Persico
I've read the DNS Howto and I've installed the bind and caching server RPMS.

What I do not understand is how DNS works with DHCP? In short, I have a DHCP server 
running on an Linksys Router. My XP boxes all figure out what their names are over 
netbios and the Linux box is running smbd and nmbd so it broadcasts its name to the XP 
boxes.

However, for the Linux box to be able to get to the XP boxes by name, the local DNS 
server has to somehow ask the DHCP server what's going on, yes?

Does anyone have a pointer to a doc that explains that interaction?

--
 Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] reversed man?

2003-01-03 Thread Matthew O. Persico
On Fri, 3 Jan 2003 21:24:33 -0800 (PST), David E. Fox wrote:
>>it would seem to me that if a man page was present in both places,
>>I would =
>>see the one in /opt/perl... first. But lo, and behold:
>
>Matt - I think the issue here is that the first man entry is for
>section 1 in the manual and the second is for a function in section 3
>that's perl-specific. One would think that section 1 (i.e., user
>commands) are displayed before section 3 items. Of course you can
>override, i.e., 'man 3 version' should bring up the second entry.

Ah! Ok. I get it now. That would explain why SOME of the section 3 items work and some 
don't. Duh! I should know better. (V8 slap to the head).

Thanks
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Re: dhcp incomplete on mandrake??

2003-01-03 Thread Matthew O. Persico
On Thu, 2 Jan 2003 21:39:15 -0600, stefmit wrote:
>By registering to a WINS server on your network, via samba
>(possible) broadcasts, your Linux will become "known" to Win
>machines (NB queries to the broadcast address directed to UDP 137,
>in the hope of a WINS server existence, would result in the
>registration of the "broadcaster" -
>in this case your Linux box - in the WINS database).

Turns out that smnd and nmbd are running. I didn't realize the installation had 
installed and started these daemons. That's probably how XP found the Linux box.

>Anyhow - you would probably gain a lot more knowledge installing
>ethereal on the Linux and XP boxes, and capturing the traffic during
>a simple ping ... or even without one ... you could get the
>fantastic opportunity to see how the name query works, how broadcast
>of samba services works, who is answering/responsible for name
>resolution, and what kind of name resolution you are dealing with
>(NetBIOS, DNS, you name it). Sometimes a couple of minutes of traces
>could save you a couple of days of emails on the mandrake lilst ;)

Never heard of it. Will do. Thanks!
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] dhcp incomplete on mandrake??

2003-01-03 Thread Matthew O. Persico
On 02 Jan 2003 23:39:39 -0800, James Sparenberg wrote:
>Just a curiosity... do you have samba installed on the linux boxes?
>If so it could be getting it this way.

Congratulations, you got it in one! After reading this, I did a ps and found these 
running:

  F   UID   PID  PPID PRI  NI   VSZ  RSS WCHAN  STAT TTYTIME COMMAND
140 0  1794 1   9   0  5004 1896 do_sel S?  0:00 smbd -D
140 0  1804 1   9   0  3760 1700 do_sel S?  0:00 nmbd -D

I didn't realize that the installation had activated the daemons. Thanks for the clue.
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] dhcp incomplete on mandrake??

2003-01-02 Thread Matthew O. Persico
On Thu, 2 Jan 2003 12:54:59 -0500, Albert Charron wrote:

>Micro$oft uses NetBios over TCP/IP to resolve names.

Aha. Now that explains why XP boxes can resolve XP names w/o a DNS server solved.

Now, let's move onto part two. How does the XP box resolve the Linux box name, which 
is 'moplx':

Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

D:\home\matthew>ping moplx

Pinging moplx [192.168.1.101] with 32 bytes of data:

Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64
Reply from 192.168.1.101: bytes=32 time<1ms TTL=64

Ping statistics for 192.168.1.101:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

D:\home\matthew>

What could Linux possibly be doing to respond to an XP box this way?
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] reversed man?

2003-01-01 Thread Matthew O. Persico

Given this man path setting:

[root@moplx bin]# export MANPATH=/opt/perl/share/man:/usr/share/man:

it would seem to me that if a man page was present in both places, I would see the one 
in /opt/perl... first. But lo, and behold:

[root@moplx bin]# man -aw version
/usr/share/man/man1/version.1.bz2
/opt/perl/share/man/man3pm/version.3pm

Why am I getting the /usr/share version first when it is the second component in the 
MANPATH?

Notes: I tested a manpath of just /opt/perl/share/man which gets me the page I want. 
More curiously, reversing the order of the entries did nopt help.

--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Re: Where is perldoc?

2003-01-01 Thread Matthew O. Persico
On Wed, 1 Jan 2003 16:22:34 -0800, Michael G Schwern wrote:
>On Wed, Jan 01, 2003 at 07:08:03PM -0500, Matthew O. Persico wrote:
>>But can someone please explain to me how Perl got installed in
>>Mandrake 9.0 without perldoc? Or did I miss and RPM in the
>>installation somehow?
>
>I'm not a Mandrake user, but if its anything like Debian they've
>likely moved perldoc and all the docs into a seperate package
>probably called perl-doc.  This shaves about 10 megs off a pre-
>compiled distribution of perl.
>
>Under Debian, perl-doc is a suggested installation when perl is
>installed (sort of like an optional dependency).  I don't think RPM
>has a similar concept so I can see how a user might miss it.

[root@moplx bin]# which perldoc
which: no perldoc in 
(/sbin:/usr/sbin:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/local/sbin)
[root@moplx bin]# urpmi perl-doc
installing /mnt/mdk-9.0/cd3/Mandrake/RPMS3/perl-doc-5.8.0-13mdk.i586.rpm

Preparing...##
   1:perl-doc   ##
[root@moplx bin]# which perldoc
/usr/bin/perldoc

Thank you Michael

--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Where is perldoc?

2003-01-01 Thread Matthew O. Persico
Ok, I understand the confusion over ExtUtils::MakeMaker and the PREFIX macro being 
deprecated or not.

But can someone please explain to me how Perl got installed in Mandrake 9.0 without 
perldoc? Or did I miss and RPM in the installation somehow?

--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] dhcp incomplete on mandrake??

2003-01-01 Thread Matthew O. Persico
I am using DHCP on my home network. The DHCP server is my Linksys wireless router. I 
have XPPro (ethernet), XPHome (wireless ethernet) and Mandrake 9.0 (ethernet) on the 
boxes.

DHCP assigns addresses to all boxes.
I can ping all boxes by ip addresses from all boxes.
I can ping all boxes by name from the XP boxes.
When I ping by name on Mandrake, I get "unknown host".
I do not have any DNS servers running or any hosts files configured.

Why does the Gates-ware figure out the names, but Linux does not? What other 
information can I provide to be helpful?
--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Drowning Servers..... Literally.

2002-12-17 Thread Matthew O. Persico
On 17 Dec 2002 00:59:28 -0800, James Sparenberg wrote:

Drowning servers and you find the time time to write a song...

You are a better man than I, Gunga Din.

--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Shipping update

2002-11-26 Thread Matthew O. Persico
Seeing as I have bed and moaned in a few posts about Mandrake charging me in Sept 
and not shipping the disks yet, I thought it fair to tell their side.

The reply I got from them basically said:

Yep, we screwed up. We blew it when we sent it to the shipper. That's why you were 
charged. We've fixed that problem. We're reshipping that batch Monday. Here is a 
real-live person's email address if you have anymore problems. And for your trouble, 
here's six months of Madrake Club membership on the house.

Not bad. Not bad at all. Thanks, Mandrake

--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] It won't power off

2002-11-25 Thread Matthew O. Persico
On Mon, 25 Nov 2002 11:22:52 -0800, "Larry Sword" <[EMAIL PROTECTED]>said:
>Thomas K. Gamble wrote:
>
>>On Sunday 24 November 2002 10:46 pm, Larry Sword wrote:
>>
>>
>>>Have you ensured that you have apmd program installed?
>>>
>>>man apm
>>>man apmd
>>>
>>>

Well, the man pages were there. The RPMS were not. So in installed them, but the did 
not seem to install into /etc/rc.d. What should be the sort order for ampd in rc.d?

--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] man madness

2002-11-24 Thread Matthew O. Persico
On Mon, 25 Nov 2002 00:36:42 +, Tommy Wareing wrote:
>On Sat, Nov 23, 2002 at 08:23:18PM -0500, Matthew O. Persico wrote:
>>>>MANPATH=/opt/perl/lib/perl5/man:/usr/lib/perl5/man
>>>>
>>>>Apparently, unlike Solaris and any other *NIX system I have used,
>>>>MANPATH is not additive - it REPLACES all other heuristics for
>>>>locating manpages.
>
>Eh? You get exactly the same behaviour under Solaris. man defaults
>to looking in  (see your documentation for the exact
>location). Setting MANPATH overrides this.
>
Not in Solaris 2.6 or 2.7. Unless our admins did some very strong
magic and changed the defaults upon installation, which I doubt.
{wait.. think...light bulb!} Then again, come to think of it, I think
MANPATH is initialized someplace (like /etc/profile?) during the
login sequence. Yes, I think that's it. So the masking behaviour is
itself masked due to initialization. Ok, I'll buy that.

[snip]

>>>>So, I unset MANPATH and did man man and it said to check out
>>>>/usr/etc/man.config and man man.conf(5). Well, neither the file
>>>>nor the manpage exist on my system.
>
>Mine (Mandrake 9.0) actually says /usr//etc/man.config. Which by
>convention tends to me /etc/man.config (stuff// being interpreted as
>/)

Huh? I type

ls -lart /usr//etc

and I get zero files, because /usr/etc is empty on my machine. Where did you pick up 
that convention?

>>>>
>>>>How does one ADD man paths to the lookup heuristics?
>>>
>>>MANPATH = $MANPATH:/new/dir/goes/here:/another/new/dir
>>>
>
>>This does not work. A default Mandrake install does not initialize
>>MANPATH at all. By setting MANPATH, I override all the settings in
>>/etc/man.config. Yes, it's weird. No, I've not seen this in any *
>>NIX system I've ever worked on. But there it is.
>
>You're using a different version of Solaris from me then (and I've
>got >2.5, 7 and 8). I've always known it to work like this.
>

Yes, I agree. See above.

>>
>>Now, I could, someplace in /etc/profile.d/foobar.sh do this:
>>
>>MANPATH=$(manpath)
>
>>From the parameter expansion section of the bash manpage:
>
>MANPATH=${MANPATH:-}:/new/dir/goes/here:/another/new/dir
>will do what you want (using  if MANPATH isn't set).
>
>So the only problem is how to determine the default. Our Solaris
>setup consists of MANPATH=${MANPATH:-/usr/man}:/usr/local/man
>
>However, the Mandrake 8.2 man comes with the manpath command:
>manpath - determine user's search path for man pages
>
>So you can simplify all this to:
>MANPATH=`manpath`:/new/dir/goes/here

Yes, I could do that. However, the only reason I am playing with
MANPATH at all is that I have developed some bash functions to swap
versions of Perl. I modify PATH to get at the one I want. I was also
modifying MANPATH. I may just decide to just use perldoc instead. Or
maybe not. Depends on how much I want to muck around. I have real
work to do to.

Thanks.
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] It won't power off

2002-11-24 Thread Matthew O. Persico
On Sat, 23 Nov 2002 22:07:50 -0700, "Lorne" <[EMAIL PROTECTED]>said:
>On Saturday 23 November 2002 07:24 pm, Matthew O. Persico wrote:
>> On 23 Nov 2002 21:09:25 -0500, "Nelson Bartley" <[EMAIL PROTECTED]>said:
>> >Well if shutdown -h now isn't shutting it down then you most likely
>> >don't have a problem with your linux install. At this point I would
>> >suggest checking your BIOS for power off options, as well as seeing what
>> >the current power save options are at. Check your ACPI options in your
>> >BIOS as well. You will find that XP can shutdown a great many systems
>> >that would not normally shutdown on their own, however linux can
>> >sometimes get hung up little bios glitches.
>>
>> Damn. You mean Billware is better at something than Torvaldsware is? Sigh.
>>
>Well not better, just different. :) NT, 2000 and XP all do direct hardware
>access, ignoring CMOS. Or at least it has that ability. I don't think Linux
>does that. So that could explain the problem. Change your cmos settings just
>may solve it.

I'd LOVE to change my CMOS settings. I have an Intel D845HV motherboard. If anyone is 
interested, the CMOS settings can be found here:
ftp://download.intel.com/design/motherbd/hv/A6513601.pdf

If anyone can tell me what to change, then you are much smarter than I am - I do not 
see anything that would help...

I'm going to muck with some of the halt settings as mentioned a few messages back in 
this thread. If anyone has had any experience with this board and this problem, I'd 
love to hear it.

Thanks,

--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] It won't power off

2002-11-23 Thread Matthew O. Persico
On 23 Nov 2002 21:09:25 -0500, "Nelson Bartley" <[EMAIL PROTECTED]>said:
>Well if shutdown -h now isn't shutting it down then you most likely
>don't have a problem with your linux install. At this point I would
>suggest checking your BIOS for power off options, as well as seeing what
>the current power save options are at. Check your ACPI options in your
>BIOS as well. You will find that XP can shutdown a great many systems
>that would not normally shutdown on their own, however linux can
>sometimes get hung up little bios glitches.

Damn. You mean Billware is better at something than Torvaldsware is? Sigh.

Thanks.

>As an aside, try updating your bios as well. Might fix the issue.
>
>Gizmo
>
>On Sat, 2002-11-23 at 20:53, Matthew O. Persico wrote:
>> On Sun, 24 Nov 2002 01:42:54 +, "Paul Kaplan" <[EMAIL PROTECTED]>said:
>> >What about:
>> >shutdown -h now
>> >?
>> >Paul
>> >
>> Nope. It still stops at
>>
>> Power down
>>
>> and does not shutoff. That's why I thought /sbin/poweroff was the answer. It ain't.
>>
>> >On Sunday 24 November 2002 01:27 am, Matthew O. Persico wrote:
>> >> I have a Pentium4 box that used to hold XP. When XP shut down, it turned
>> >> the box off. I moved XP to another box and installed Mandrake. When I
>> >> execute
>> >>
>> >>   poweroff
>> >>
>> >> as root, the os is stopped and the last thing the console says is
>> >>
>> >>   Power down
>> >>
>> >> but the power does not go off. Since it worked under XP, I am assuming it's
>> >> not hardware. Does anyone have an idea as to what rpms am I missing or what
>> >> config file is mis-configed :-)
>> >>
>> >> Thanks
>> >
>> >
>> >
>> >
>> --
>> Matthew O. Persico
>>
>>
>>
>>
>> __
>>
>> Want to buy your Pack or Services from MandrakeSoft?
>> Go to http://www.mandrakestore.com
>--
>Nelson Bartley <[EMAIL PROTECTED]>
>
>
>
>
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] It won't power off

2002-11-23 Thread Matthew O. Persico
On Sun, 24 Nov 2002 01:42:54 +, "Paul Kaplan" <[EMAIL PROTECTED]>said:
>What about:
>shutdown -h now
>?
>Paul
>
Nope. It still stops at

Power down

and does not shutoff. That's why I thought /sbin/poweroff was the answer. It ain't.

>On Sunday 24 November 2002 01:27 am, Matthew O. Persico wrote:
>> I have a Pentium4 box that used to hold XP. When XP shut down, it turned
>> the box off. I moved XP to another box and installed Mandrake. When I
>> execute
>>
>>  poweroff
>>
>> as root, the os is stopped and the last thing the console says is
>>
>>  Power down
>>
>> but the power does not go off. Since it worked under XP, I am assuming it's
>> not hardware. Does anyone have an idea as to what rpms am I missing or what
>> config file is mis-configed :-)
>>
>> Thanks
>
>
>
>
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] It won't power off

2002-11-23 Thread Matthew O. Persico
I have a Pentium4 box that used to hold XP. When XP shut down, it turned the box off. 
I moved XP to another box and installed Mandrake. When I execute

poweroff

as root, the os is stopped and the last thing the console says is

Power down

but the power does not go off. Since it worked under XP, I am assuming it's not 
hardware. Does anyone have an idea as to what rpms am I missing or what config file is 
mis-configed :-)

Thanks
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] man madness

2002-11-23 Thread Matthew O. Persico
On Sat, 23 Nov 2002 18:35:19 -0600, "Vox" <[EMAIL PROTECTED]>said:
>
>This time "Matthew O. Persico" <[EMAIL PROTECTED]>
>becomes daring and writes:
>
>> Well, not that bad, but is sounded catchy.
>>
>> Using Mandrake 8.2 (even though I sprung for the 9.0 disks and my
>> credit card was charged in September and I STILL don't have the disks
>> :-( ), I set
>>
>> MANPATH=/opt/perl/lib/perl5/man:/usr/lib/perl5/man
>>
>> Apparently, unlike Solaris and any other *NIX system I have used,
>> MANPATH is not additive - it REPLACES all other heuristics for
>> locating manpages. Hence, I gained manpages for Perl and lost every
>> other manpage in the system.
>>
>> So, I unset MANPATH and did man man and it said to check out
>> /usr/etc/man.config and man man.conf(5). Well, neither the file nor
>> the manpage exist on my system.
>>
>> How does one ADD man paths to the lookup heuristics?
>
>  MANPATH = $MANPATH:/new/dir/goes/here:/another/new/dir
>
This does not work. A default Mandrake install does not initialize MANPATH at all. By 
setting MANPATH, I override all the settings in /etc/man.config. Yes, it's weird. No, 
I've not seen this in any *NIX system I've ever worked on. But there it is.

Now, I could, someplace in /etc/profile.d/foobar.sh do this:

MANPATH=$(manpath)

to initialize the variable, but then I defeat all the default setups that will 
automatically find, for example, /opt/foo/man without having to add it manually. Since 
I was doing this primarily to get man for Perl pages to work (they're out there, but 
not enabled by default) even when I swap Perl versions, I'm just going to punt and use 
perldoc exclusively.


--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] man madness

2002-11-23 Thread Matthew O. Persico
On Sat, 23 Nov 2002 19:21:31 -0500, "Matthew O. Persico" <[EMAIL PROTECTED]>said:
>Well, not that bad, but is sounded catchy.
>
>Using Mandrake 8.2 (even though I sprung for the 9.0 disks and my credit card was 
>charged in September and I STILL don't have the disks :-( ), I set
>
>MANPATH=/opt/perl/lib/perl5/man:/usr/lib/perl5/man
>
>Apparently, unlike Solaris and any other *NIX system I have used, MANPATH is not 
>additive - it REPLACES all other heuristics for locating manpages. Hence, I gained 
>manpages for Perl and lost every other manpage in the system.
>
>So, I unset MANPATH and did man man and it said to check out /usr/etc/man.config and 
>man man.conf(5). Well, neither the file nor the manpage exist on my system.
>
>How does one ADD man paths to the lookup heuristics?

Never mind. The manpage is wrong. At least in 8.2 the manpage is man.config, not 
man.conf and the file is located in /etc, not /usr/etc. Someone needs to patch the 
manpage.

--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] man madness

2002-11-23 Thread Matthew O. Persico
Well, not that bad, but is sounded catchy.

Using Mandrake 8.2 (even though I sprung for the 9.0 disks and my credit card was 
charged in September and I STILL don't have the disks :-( ), I set

MANPATH=/opt/perl/lib/perl5/man:/usr/lib/perl5/man

Apparently, unlike Solaris and any other *NIX system I have used, MANPATH is not 
additive - it REPLACES all other heuristics for locating manpages. Hence, I gained 
manpages for Perl and lost every other manpage in the system.

So, I unset MANPATH and did man man and it said to check out /usr/etc/man.config and 
man man.conf(5). Well, neither the file nor the manpage exist on my system.

How does one ADD man paths to the lookup heuristics?

--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] make an rpm list on disk

2002-11-22 Thread Matthew O. Persico
On 22 Nov 2002 11:33:02 -0500, Lyvim Xaphir wrote:
>On Wed, 2002-11-20 at 01:32, Donna and Matthew Persico wrote:
>>
>>Turns out that after I wrote, I found the AutoInst disk I made
>>about
>>two installs ago. Imagine my surprise when I opened it up and
>>discovered that it is nothing more than a PERL SCRIPT It's just
>>an
>>array of rpms in no discernible order. Soo, I simply did
>>
>>rpm -qa | perl -ane '$F[0]=~s/-[0-9].*//;print "$F[0]\n" | sort -u
>>>
>foobar
>>
>>and then slapped the whole mess into the auto_inst.cfg file, taking
>>care to remove the few rpms that were not on the installation disk.
>>
>>Touchdown, ballgame over. Well, not quite. After I did that, I took
>>the machine apart and started transplanting the pieces into the
>>newer
>>machine only to discover that the old machine had an AGP1 video
>>card
>>and the new machine is an AGP2/4. So, the port is on hold until I
>>can
>>buy a new video card tomorrow.
>>
>>Thanks for your assistance.
>>
>>--
>>Matthew O. Persico
>
>You're welcome, and I appreciate greatly the command line above!  It
>will be handy in future installs I am sure.  :)
>

Well if you think THAT was handy, how about a version that spits out the correct perl 
in one shot, no editing needed:

rpm -qa | perl -ane 'BEGIN{print "\$o = { \"default_packages\" => [\n";} END{print 
"]};"}$F[0]=~s/-[0-9].*//;print "\"$F[0]\",\n"' > auto_inst.cfg

:-)
--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] make an rpm list on disk

2002-11-19 Thread Matthew O. Persico
I am transplanting my cdrom, video card and hard disk from a dual CPU PII 266 box to a 
single CPU PIV 1.7GHz box.

I am betting that I can simply choose the non-smp kernel when I boot up to get me 
going.

If I lose the bet, I am going to have to re-install.

I thought there was a way to put the list of RPMs on a disk so that when you 
re-install, you don't have to slog through all the menus to chose what you want. Does 
anyone know the command to make the file and how to invoke it during the install?

Much obliged.

--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



RE: [expert] Samba and /etc/fstab

2002-11-13 Thread Matthew O. Persico
On Thu, 14 Nov 2002 11:43:32 +0800, Franki wrote:
>don't do that if there is a chance that the XP box won't be up when
>you
>boot...
>
>it'll cause probs..
>
>better that you make a new bash script put it in /usr/sbin and put
>all your
>mount commands in there..
>
>ie:
>
>#!/bin/sh
>
>smbmount /blah/blah.
>smbmount /blah/blah.
>
>
>save it as mountXP or something.. then make it executable with chmod
>755
>/usr/sbin/mountXP
>
>then whenever you want to mount your partitions, just run the
>file... you
>could even make an unmountXP
>put links on your desktop...
>
>makes things nice and simple.. my /sbin is full of shortcut files
>I've
>knocked up to save typing..

Yeah, I should have figured. Hell, I've got those type of scripts on the XP side. They 
ping the box, and if it's alive, they do a net use. I'll put a samba.sh in 
/etc/profile.d to mount if (ping XP).

Thanks
>
>rgds
>
>Frank
>
>
>
>-Original Message-
>From: [EMAIL PROTECTED]
>[mailto:expert-owner@;linux-mandrake.com]On Behalf Of Matthew O.
>Persico
>Sent: Thursday, 14 November 2002 10:54 AM
>To: [EMAIL PROTECTED]
>Subject: [expert] Samba and /etc/fstab
>
>
>If I wanted to put a mount entry into my /etc/fstab file for my XP
>Samba
>mounts, what would happen if the XP box were not available? Doe the
>boot
>process just hang?
>--
>Matthew
>
>
>
>
>
>


--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Samba and /etc/fstab

2002-11-13 Thread Matthew O. Persico
If I wanted to put a mount entry into my /etc/fstab file for my XP Samba mounts, what 
would happen if the XP box were not available? Doe the boot process just hang?
--
Matthew




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Is MDK 9.0 ever going to hit the stores?

2002-11-11 Thread Matthew O. Persico
On 11 Nov 2002 14:58:36 -0800, James Sparenberg wrote:
>Ok I'm here in the Sillycon (silicon) valley and wondering one
>thing.
>Why is it that RH 8.0 and SuSe 8.1 both of which came out a month or
>so
>after MDK 9.0 have been in the stores for about 3 or 4 weeks  and
>MDK is still nowhere to be found.  (Yes I know I can order from
>Mandrake
>Shop that's not my point.)  However 8.2 is there and this results in
>statements like ("Yes Mandrake is nice but it's always so far behind
>the
>others.") Where as you and I know this isn't true, how can the
>average
>consumer know this when what they see in the boxes is.
>
>Is this a case of McMillan dropping the ball?  If so maybe delaying
>the
>next release to the world until the distributors can get their
>collective heads out of their nether regions and time the download
>version better with the retail version.  (It wouldn't hurt MDK's
>bottom
>line to do so either.)  It really is frustrating to watch 8.2 just in
>time for 9.0 to hit the mirrors.  Not to mention what it does to
>sales.
>
>
>James

Mandrake not in stores? Hell, I pre-ordered it. My credit card was charged in 9/27. I 
am still waiting. I have never been charged before shipping on any other product I can 
remember. I thought I'd do the "right thing" and fork over the money. Not any more.

--
Matthew O. Persico




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Where to stick the CDs?

2002-08-18 Thread Matthew O. Persico

On Sun, 18 Aug 2002 23:11:30 -0400, Matthew O. Persico spaketh:
>On Sun, 18 Aug 2002 22:30:32 -0400, tarvid spaketh:
>[snip]
>>To make life easy would this work?
>I tried it; see below
>
>>
>>mkdir /iso
>>dd if=/mnt/cdrom of=/iso/cd1
>This has to be changed to
>
>dd if/dev/cdrom of=/iso/cd1

gr! make that
dd if=/dev/cdrom of=/iso/cd1

>
>Ditto for cd2 and cd3
>
>>mkdir /mnt/cd1
>>mkdir /mnt/cd2
>>mkdir /mnt/cd3
>>
>>mount -t iso9660 -o loop /iso/cd1 /mnt/cd1
>>mount -t iso9660 -o loop /iso/cd2 /mnt/cd2
>>mount -t iso9660 -o loop /iso/cd3 /mnt/cd3
>>
>>urpmi.addmedia file://mnt.cd1
>This has to be changed to
>
>urpmi.addmedia 'mdk 8.2 cd1 iso' file://mnt/cd1
>
>The name is required and the file:// spec had a typo.
>Ditto for cd2 and cd3
>
>Jim, thanks. This is so cool. Moreover, 'mdk 8.2 cd1 iso' also
>showed up as a valid resource in rpmdrake. That means once you
>install all three disks this way, you could remove the CD resources
>from rpmdrake if you wanted.
>
>--
>Matthew O. Persico
>
>
>
>



--
Matthew O. Persico





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Where to stick the CDs?

2002-08-18 Thread Matthew O. Persico

On Sun, 18 Aug 2002 22:30:32 -0400, tarvid spaketh:
[snip]
>To make life easy would this work?
I tried it; see below

>
>mkdir /iso
>dd if=/mnt/cdrom of=/iso/cd1
This has to be changed to

dd if/dev/cdrom of=/iso/cd1

Ditto for cd2 and cd3

>mkdir /mnt/cd1
>mkdir /mnt/cd2
>mkdir /mnt/cd3
>
>mount -t iso9660 -o loop /iso/cd1 /mnt/cd1
>mount -t iso9660 -o loop /iso/cd2 /mnt/cd2
>mount -t iso9660 -o loop /iso/cd3 /mnt/cd3
>
>urpmi.addmedia file://mnt.cd1
This has to be changed to

urpmi.addmedia 'mdk 8.2 cd1 iso' file://mnt/cd1

The name is required and the file:// spec had a typo.
Ditto for cd2 and cd3

Jim, thanks. This is so cool. Moreover, 'mdk 8.2 cd1 iso' also showed up as a valid 
resource in rpmdrake. That means once you install all three disks this way, you could 
remove the CD resources from rpmdrake if you wanted.

--
Matthew O. Persico





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Where to stick the CDs?

2002-08-18 Thread Matthew O. Persico

On Sun, 18 Aug 2002 21:49:18 -0400 (EDT), daRcmaTTeR spaketh:
>On Sun, 18 Aug 2002, Matthew O. Persico wrote:
>
>>I am sick and tired of shuffling the 3cds whenever I have to hunt
>>down multiple RPMs to install a new piece of software.
>>[snip]

>
>um Matt... that is why Urpmi is part of the ditribution you've
>chosen to install on your system. Urpmi takes the misery out of
>having to hunt down the package you want to install that you're not
>sure which CD it's on.
>
>EX:  urpmi some-package-name  

My installation must be incomplete. I am getting the error:

unable to take medium "Updates for Mandrake Linux 8.2 (ftp1u)" into
account as no list file [/var/lib/urpmi/list.Updates for Mandrake
Linux 8.2 (ftp1u)] exists

However, urpmi did popout the cd tray and asked me to insert the cd
where the rpm lives. Thanks for the tip.

>Another very painless way you can do this very same thing is to use
>the systems software manager. It's called rpmdrake. This is the same
> little gem of a program that allows you to do the updates for your
>system.
>Get to know it. It's not the monster some would have you believe it
>is.

Actually, it's not the monster it used to be in the 7.X series.
Thanks for re-aquainting me to it.

--
Matthew O. Persico





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Where to stick the CDs?

2002-08-18 Thread Matthew O. Persico

I am sick and tired of shuffling the 3cds whenever I have to hunt down multiple RPMs 
to install a new piece of software. I have a 80GB hard drive. Is there a traditional 
place to which I should copy all the RPMS (/usr/src perhaps?) Or should I just make a 
new partition called /cds and copy them to /cds/cd1, /cds/cd2/ and /cds/cd3?

--
Matt





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Strange ppp error

2002-08-01 Thread Matthew O. Persico

Greetings:
I've never seen this. All my problems have always been with dialup and connection. In 
this case I dailed, connected, got through my terminal login sequence and then died. I 
am using kppp and these are the messages printed to the terminial from whose command 
line I started:

/home/matthew(2248) [242] $ Xlib:  extension "RENDER" missing on display 
"192.168.1.6:0.0".
Opener: received OpenLock

Opener: received OpenDevice
Opener: received ExecPPPDaemon
In parent: pppd pid 4855
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
Couldn't find interface ppp0: No such device
Kernel supports ppp alright.
It was pppd that died
pppd exited with return value 16
Sending 2309 a SIGUSR1
Opener: received RemoveSecret
Opener: received RemoveSecret
Opener: received OpenResolv
Opener: received OpenResolv
Opener: received RemoveLock
Opener: received PPPDExitStatus
kppp: WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  42
Opener: received OpenSysLog
kppp: WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  42
kppp: WARNING: KDE detected X Error: BadMatch (invalid parameter attributes) 8
  Major opcode:  42
/home/matthew(2248) [242] $

Now if the kernel supports ppp, why isn't there a ppp0 interface to find? Doesn't the 
act of setting up an account in kppp build a ppp0?

Thanks
--
Matthew





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Travan Tape drives

2002-07-09 Thread Matthew O. Persico

Anyone know any reason why I should NOT go buy a Travan, IDE ATAPI-base tape drive and 
use it for Mandrake?
--
Matthew





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Using an XP dialup session from Mandrake

2002-07-03 Thread Matthew O. Persico

On 04 Jul 2002 14:58:27 +1000, Brian Parish wrote:
>On Thu, 2002-07-04 at 10:01, Matthew O. Persico wrote:
>>
>>My XP Pro and Mandrake 8.2 boxes are on the same network. I usually
>>telnet into MD from XP, I have samba set up - theytalk to each
>>other. And my DSL connection is shared by both.
>>
>>Due to the security setup used at my job, I have to connectto my
>>via modem and it has to live on XP.  I cannot plug the modem into
>>MD and dial from there.
>>
>>What I'd LIKE to do, however, is dial in via XP, but use the
>>connection from my MS box.
>>
>>I guess I need to tell XP to share the connection and tell MD to
>>route requests withthe address myjob.com to the XP box.
>>
>>I obviously haven't been looking in the right places. Can anyone
>>point me at a good resource for this?
>>
>>Thanks
>>--
>>Matthew
>>
>Matthew,
>
>Just switch on Internet Connection Sharing on the XP box.  It will
>need
>the IP address set at 192.168.0.1 subnet 255.255.255.0 for that to
>work.

When I set ICS on, I lost access to my DSL connection. It's not that big a tragedy. In 
theory, I should stop the DSL connection anyway when logged into work- it's safer that 
way.

> Then on your LM box run the Control Center > Network and
>Internet
>>Connection wizard. Set your IP to say 192.168.0.2 (same subnet) and
>set the gateway to 192.168.0.1

I'll try this later. If this all works, I'll have automate switching the addresses 
back and forth somehow. I currently use hardcoded IP addresses in 'hosts' on both 
boxes. I may need to turn on DHCP. OR I may need to add extra routes dynamically.

Anyway, I'll stop rambling. Thanks for the start.

--
Matthew O. Persico





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Fwd: Using an XP dialup session from Mandrake

2002-07-03 Thread Matthew O. Persico


My XP Pro and Mandrake 8.2 boxes are on the same network. I usually telnet into MD 
from XP, I have samba set up - they talk to each other. And my DSL connection is 
shared by both.

Due to the security setup used at my job, I have to connect to my via modem and it has 
to live on XP.  I cannot plug the modem into MD and dial from there.

What I'd LIKE to do, however, is dial in via XP, but use the connection from my MD box.

I guess I need to tell XP to share the connection and tell MD to route requests 
withthe address myjob.com to the XP box.

I obviously haven't been looking in the right places. Can anyone point me at a good 
resource for this?

Thanks
--
Matthew O. Persico





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Using an XP dialup session from Mandrake

2002-07-03 Thread Matthew O. Persico


My XP Pro and Mandrake 8.2 boxes are on the same network. I usually telnet into MD 
from XP, I have samba set up - theytalk to each other. And my DSL connection is shared 
by both.

Due to the security setup used at my job, I have to connectto my via modem and it has 
to live on XP.  I cannot plug the modem into MD and dial from there.

What I'd LIKE to do, however, is dial in via XP, but use the connection from my MS box.

I guess I need to tell XP to share the connection and tell MD to route requests 
withthe address myjob.com to the XP box.

I obviously haven't been looking in the right places. Can anyone point me at a good 
resource for this?

Thanks
--
Matthew





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Optimum partitioning

2002-02-28 Thread Matthew O. Persico

Hoyt wrote:

> On Wednesday 27 February 2002 08:52 pm, you wrote:
> 
>>/tmp1.0 GB
>>
> 
> Watch this because nasty things happen if /tmp is full, like the fonts server 
> not running.
>

It's a personal machine so it will be turned off every night. I will set 
it to drain /tmp on shutdown. Thanks for the advice


> 
>>/home   1.0 GB (I am the only user)
>>
> 
> You _think_ it will be enough, but it never is.
> 


Oh yes, how true.

-- 
Matthew O. Persico





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Optimum partitioning

2002-02-26 Thread Matthew O. Persico

Can anyone point me to a cookbook doc on partitioning? Not the 
mechanics, but how much to allocate. How much to allocate to /, swap, 
/usr? Should /usr/local and /home be on the same partitions, separate ones?

Etc.


-- 
Matthew O. Persico





Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



Re: [expert] Remote access to linux box

2001-10-29 Thread Matthew O. Persico

Michael D. Viron wrote:

> it would be much more secure if you piped the X display through an ssh
> connection via the X-forwarding mechanism.

This is a local network in the house all behind the DSL router.


> Anyways, if it is inside a firewall, and you are not accessing it over the
> internet, you need to set the DISPLAY variable.  Otherwise, the xterm will
> not know which display on which host to use.
> 

I've set the display using the -d (-D?) option of the xterm command. I 
think my problem is the actual login. I am using the out-of-the-box 
security on 8.0 and I am getting the error message:

Unable to connect using selected start method.

The "method" used is REXEC. I guess it's trying to log me in before 
starting up a login xterm. I wonder if I have to set up anything in 
/etc/hosts/allow or .deny?

-- 
Matthew O. Persico
New York City - United We Stand




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] Remote access to linux box

2001-10-28 Thread Matthew O. Persico

I would like to use my Linux box in "server" mode - that is, never log 
into it from the console. In particular, I'd like to log in using my 
Exceed xserver starting an xterm after login via an REXEC call. This is 
the way we log into my machine at work.

It does not work at home. I get an error to the effect that the program 
was unable to use this starting method.

Is there anything special I need to configure on the Linux (Mandrake 
8.0) side in order to allow me to do this?

-- 
Matthew O. Persico
New York City - United We Stand




Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com



[expert] shutils: env broken?

2001-05-29 Thread Matthew O. Persico

Instead of burying 

#!/usr/local/bin/perl -w

at the top of my scripts, I usually use

#!/usr/bin/env perl -w

so that no matter what I've done with Perl in my path, it can still be
found.

Under mandrake 8.0, I get the error

perl -w not found.

If I try just

#!/usr/bin/env perl

it works find.

The man page for env says it should take arguments.

Anyone have any idea?

-- 
Matthew O. Persico

http://www.acecape.com/dsl
AceDSL:The best ADSL in Verizon area




[expert] Installation - Linksys Ethercard, round 2

2001-04-11 Thread Matthew O. Persico

Thanks to Wayne Stout, Terry L. Cary, Todd Flinders, Karl Cunningham, I
have made progress. Here's where I am right now:

DSL Router, also serving as the DHCP server and the firewall (it's a
Zyxel Prestige 641, in case anyone is interested) at address 192.168.1.1

LinkSys PrintServer/4port Hub at 192.168.1.2

Mandrake 7.2 box at 192.168.1.3 using a LinkSys LNE 10/100 ethercard

Win2k box at 192.168.1.33 (via DHCP), same type of ethercard

Now,

The Win2k box can ping everyone and can access the net.

The Mandrake box can ping everyone EXCEPT the DSL Router. Pinging
192.168.1.1 hangs. Which would explain why DCHP doesn't fly. :-(

I think the problem is that the NT connection is 10MB/half duplex
whereas the Mandrake connection lights up the 100MB and full duplex
lights on the Hub.

Seems to me I need to get the card into 10MB, half duplex mode before I
have a prayer of fixing anything else.

First I tried to use the SRPMs at
http://www.scyld.com/network/tulip.html. Finally, I downloaded the
individual files (tulip.c, pci-scan.[ch] and kernel*.h), compiled and
tried to install them. No dice. It seems that these lines in
/etc/modules.conf are not being accepted

alias eth0 tulip
options tulip full_duplex=0 options=1 debug=6

So, how do I troubleshoot this?

Thanks so much for all your consideration.
 
-- 
Matthew O. Persico

http://www.acecape.com/dsl
AceDSL:The best ADSL in Verizon area




[expert] Installation - Unsupported ethercard?

2001-04-10 Thread Matthew O. Persico

I have a LinkSys LNE100TX Ethernet Card. It is not on the list of cards
in the install of 7.2. It does, however, have drivers available. It is
also a descendant of the DECchip Tulip(dc21x4x) card.

In my last install, I picked DONE for the network type when I couldn't
find the right card. I then installed the drivers, post installation,
but couldn't find programs like ifup and ipconfig. The DONE option
probably skipped the network install phase.

This time around, I'm going to pick the DECchip Tulip(dc21x4x) card
during the install. That way, I'll get the networking packagesd
installed, then I'll update the driver with the newer code.

Does this sound workable?

-- 
Matthew O. Persico

http://www.acecape.com/dsl
AceDSL:The best ADSL in Verizon area




Re: [expert] Broken cdrom.ing?

2000-12-15 Thread Matthew O. Persico

Simon Cousins wrote:
> 
> > First from the cd, then from downloads, teh 7.2 cdrom.img will not find
> > my Bus Logic SCSI cards, therefore not my CDROM either.
> >
> > 7.1 had no problems.
> >
> > Anyone else had this trouble or any clues as to how to ger around it?
> 
> I ran a 7.2 install off Macmillan CDs last night on a P-II and the autoprobe
> correctly found and identified the BusLogic PCI SCSI adapter.  From memory
> it was a BusLogic LT.
> 
> Does #lspci or #cat /proc/pci show the hardware?

How do I do this during the install?

> --
> 
> Simon Cousins
> [EMAIL PROTECTED]
> 
> Do not meddle in the affairs of sysadmins,
> for they are subtle, and quick to anger.
> 
>   
> Keep in touch with http://mandrakeforum.com:
> Subscribe the "[EMAIL PROTECTED]" mailing list.


-- 
Matthew O. Persico

"If you were supposed to understand it,
we wouldn't call it code." - FedEx

_NetZero Free Internet Access and Email__
   http://www.netzero.net/download/index.html



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.



[expert] Broken cdrom.ing?

2000-12-11 Thread Matthew O. Persico

First from the cd, then from downloads, teh 7.2 cdrom.img will not find
my Bus Logic SCSI cards, therefore not my CDROM either.

7.1 had no problems.

Anyone else had this trouble or any clues as to how to ger around it?

-- 
Matthew O. Persico

"If you were supposed to understand it,
we wouldn't call it code." - FedEx
___
Why pay for something you could get for free?
NetZero provides FREE Internet Access and Email
http://www.netzero.net/download/index.html



Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.