[expert] LM 8.0 - MandrakeFreq

2001-06-22 Thread Frederic Soulier

Hi,

I just downloaded the ISOs for MandrakeFreq last night (just a bit
cheesed off to have to download 1.3Gb of data to do an upgrade!!!)

This is the first time I will use the MandrakeFreq disks and apparently
the MandrakeFreq release is in fact a full LM 8.0.x release not fully
tested.

My current system is a LM 8.0 + all updates/security fixes from Software
Manager.

To upgrade my system, do I just need to use the upgrade option instead
of the install?

Now how many things will be broken on my system after the upgrade
is another story :(


Can't we just use the Software Manager to upgrade or is it a bad idea?


I believe that the MandrakeFreq should be a collection of upgrades
(even beta or alpha quality, you're free to take it or not) available
on a CD or online that we can access thru Software Manager instead of
a monster download.
My 2 pence.

Cheers,
Fred





Re: [expert] Re: Off-Board Controllers of the Promise, HPT and CMD varieties for IDE ATA 66 and 100

2001-06-22 Thread civileme

On Thursday 21 June 2001 21:44, Alan Shoemaker wrote:
 civileme wrote:
  I had hoped to have better news, but here is the situation:
 
  MandrakeFreq has a boot image which sets up the Off-Board
  IDE controllers the same way they will be used by the
  installed kernel.  This means no kernel panic on boot.
 
  That's the good news.  The other news is that you MUST have
  the Freq CD (s) to make use of this option.  Using the
  cdrom.img on a boot floppy with the standard 8.0 does NOT
  work.
 
  Another fix in MandrakeFreq is the psaux situation for IBM
  Notebooks... and naturally there is lots of new and wild
  stuff.
 
  Civileme
  QA Team

 Do you mean that we should start the install with a
 MandrakeFreq CD, then, after the 'Choose a Language' window
 comes up, swich to the 'core system' CD?


Absolutely not.  

Install Freq or use the manual fix.  

To find where root is moved quickly, use the bootloader --say 
the installer for 8.0 says it is going to /dev/hdg5  Use the 
bootloader to make linux boots linuxa with root at /dev/hda5, 
linuxb with root at /dev/hdb5, and so on.  Cover all 
possibilities.  Then try each boot.  On all but one you will get 
kernel panic, unable to mount root fs.  The one where you don't 
tells you where / is, but it will still fail because /etc/fstab 
is out of sync.

Then you can boot with the rescue disk, do the expert-level 
mounting of /dev/hdg5 and changing root there, then mounting 
/usr to get your editors and editing /etc/fstab, links(if 
necessary) and lilo.conf to delete all the inappropriate boots, 
run /sbin/lilo, then you should be in business on the next 
non-rescue boot.




[expert] PLEASE HELP! Bad bridge mapping

2001-06-22 Thread Marc Audard

Hi,

Please, please, help me! I posted this at several places and
I still have no answer.

I would like to know if the problem I encounter can be
fixed:

I upgraded the system memory from 192 MB to 512 MB.
The system clearly detected the upgrade and linux booted.
However, at the cardmgr step, cardmgr complains not
finding an entry in /proc/devices for pcmcia (which is
correct). I checked with /var/log/syslog and apparently
the problem appears before, because of a bridge mapping problem.

in syslog:

kernel: Linux PCMCIA Card Services 3.1.25
kernel:  kernel build: 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
kernel:   options: [pci] [cardbus] [apm]
kernel: Intel PCIC probe: PCI: Found IRQ 11 for device 00:03.0
kernel: PCI: The same IRQ used for device 00:03.1
kernel: PCI: The same IRQ used for device 00:07.2
kernel:
kernel:  Bad bridge mapping at 0x17ff!
kernel: not found
kernel: ds: no socket drivers loaded

This problem occurs with 256+64,256+128,256+256, but not 192 or
256 MB. The Multifunction Card I have is the 
XIRCOM Realport Ethernet 10/100-56K, known as REM56-100BTX


With 192 MB (when it's OK), the syslog message goes like this:



kernel: Linux PCMCIA Card Services 3.1.25
kernel:  kernel build: 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST 2001
kernel:   options: [pci] [cardbus] [apm]
kernel: Intel PCIC probe: PCI: Found IRQ 11 for device 00:03.0
kernel: PCI: The same IRQ used for device 00:03.1
kernel: PCI: The same IRQ used for device 00:07.2
kernel: PCI: Found IRQ 11 for device 00:03.1
kernel: PCI: The same IRQ used for device 00:03.1
kernel: PCI: The same IRQ used for device 00:07.2
kernel: 
kernel:  TI 1420 rev 00 PCI-to-Cardbus at slot 00:03, mem 0x1000
kernel:hos opts [0]: [ring] [serial pci  irq] [pci irq 11] [lat 32/32] [bus 2/5]
kernel:hos opts [1]: [ring] [serial pci  irq] [pci irq 11] [lat 32/32] [bus 6/9]
kernel: spurious 8259A interrupt: IRQ7
kernel:ISA irqs (scanned) = 3,4,7,10 PCI status changes
kernel: cs: memory probe 0xa000-0xa0ff: clean
kernel: xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh)
kernel: cs: IO probe 0x0100-0x04ff: excluding 0x378-0x37f

etc...


Thanks for any help,

Regards,

Marc




[expert] Mandrake 8.0: Compilation Problem with Header Files

2001-06-22 Thread Arnab_Ganguly

Hi,

I am trying to compile a VCD player but am running into problems with the
header usr/include/netinet/in.h. 

The compiler returns:

 Parse Error before ' )'  on line 259
 Parse Error before ' ?'  on line 260
 Parse Error before ' )'  on line 261
 Parse Error before ' )'  on line 262

It also returns Parse Error before ' }'  on line 362 and compilation fails.
I am able to compile other programmes without trouble.

Opening in.h I cannot see any ' ? ' in it and am unable to understand what
the problem is. Any help would be great and any tips to overcome this would
be very welcome.

Thanks,

Arnab








[expert] Mandrake 8.0: KDM Crashes Intermittently

2001-06-22 Thread Arnab_Ganguly

Hi,

I had posted a message a few days earlier about occasional problems in
logging in using KDM. I now find that KDM crashes on me once in a while and
I can log in if I restart it by:

a)  Going to console mode
b)  Logging in as root
c)  Doing a init 5
d)  Logging in from the KDM greeting screen.

I am using a default Mandrake 8 installation on a Celeron machine with 128 M
of RAM. I should add that apart from this inconvenience Mandrake 8 looks
good!

Any others with similar problems using KDM in Mandrake 8.0? Any solutions?
Bugfixes?

Thanks,
Arnab

I




[expert] Harddisk Installation from multiple ISO images?

2001-06-22 Thread Martin Reinecke

Hi!

I'm not sure if this should work at all, but I guess it would be a useful feature:

I downloaded both ISO images of MandrakeFreq #2 to my harddisk and tried to do
a harddisk installation from these images. Unfortunately the installer only allows
me to enter the path to ONE ISO image file, and DrakX appears to see only this
single file, even though the extension image is in the same directory.
This means that the install dies at the point where I would insert the second CD
if I did a CD-ROM install.

Is there a way to tell the installer that it should use both images?
If I have the files already on the disk, burning them on CDs seems such a waste...

Thanks in advance for any information,
   Martin





RE: [expert] External CDRW

2001-06-22 Thread CHARDON,LUIS (HP-PuertoRico,ex1)


Hi, I just got an HP 8200 Series (USB) and I plugged it yesterday on my
linux box and it saw it. I haven't got a chance to try to burn something
yet, but I will try today, and let you know the results.

Luis

-Original Message-
From: Oscar [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 21, 2001 5:38 PM
To: [EMAIL PROTECTED]
Subject: [expert] External CDRW


Hello,
I'm going to buy an external CDRW. I'm thinking about:

- Phillips PCRW462K (Parallel por) 
- Phillips PCRW464K (USB) 
- HP CD-Writer 8230E (USB)

Since the list of supported hardware in 
http://www.linux-mandrake.com/en/fhard.php3 is outdated (may 2000),
my question is:
Are the USB external CDRWs supported by LM8.0?
I prefer USB, but, is the // support best?
Somebody has some of the models mentioned in this message?
Thanks.
Salu2,
Oscar.




Re: [expert] computer boot itself automatically after powerfailure

2001-06-22 Thread brian

Thanks everyone that replied via email. It is a Bios setting on most newer 
motherboard's is the determination. I found it on mine and all is well. I 
also bought 4 UPS's to keep these guys powered up.
-Brian




On Thursday 21 June 2001 20:48, you wrote:
 'Tis a feature on my Soyo K7VTA-B motherboard.  You can set the BIOS to
 turn on after a power failure.  This works even when the OS turns itself
 off - if you turn off the power on the master switch (one of those
 things with PC, monitor, printer, etc.) and then turn it back on, the PC
 powers up and boots.

 Tow older ATX motherboards have no similar feature.

 Roger Haase

 brian wrote:
  Is there a way to make a MDK8.0 computer turn itself back on after a
  power failure? Is this something I would even set in Linux or is it a
  Bios/Hardware issue?
 
  TIA,
  Brian

 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com




Re: [expert] crond

2001-06-22 Thread David E. Fox

 R When tasks are running from my crontab It send to my mail next
 R message /bin/bash: root: command not found, but these tasks
 R started successfully.

I explained to him in a private message that I thought the per-user
crontab format didn't include the user field, which would make sense
if the shell is trying to pick up on the user name and attempting to
run it as a command.

 If so, this is most typical because cron sets up a very limited
 environment for the program, e.g., a very basic path, while you
 usually has a lot of extra settings in the environment.  

True.

   env -i HOME=$home LOGNAME=$logname PATH=$path SHELL=$shell  /usr/bin/sh -x $*

Or in bash, 'export  ' :)

Anyway, I think intermixing korn shell and bash (or whatever Solaris's
'sh' is, probably Bourne-derived) complicates things unnecessarily. But
your point is valid - cron does run in a more limited environment and the
script it runs should specify needed environment parameters, rather than
rely on what likely won't be there.

 One note: I originally wrote if for Sun Solaris.  I could not find
 anywhere in the linux man pages where it is stated what setting PATH

AFAIK, it's just another process (at least true of 'cron') so it, like
any other process, it has a completely independent environment. Such things
like PATH can be set explicitly and will be true of only the current
process.

 Peter

David E. Fox  Thanks for letting me
[EMAIL PROTECTED]change magnetic patterns
[EMAIL PROTECTED]   on your hard disk.
---
 -- 




[expert] weird error message... gethostbyaddr

2001-06-22 Thread Franki


Hi all,

(I've sent this to newbie and this one because I am not sure which it would
come under)

My sendmail is getting this message in /var/log/mail/warnings...

Jun 22 01:24:25 mail sendmail[1678]: gethostbyaddr(203.46.23.49) failed: 1


I get a similiar message when I do a Makefile for a perl module and some
other stuff,


Does anyone know what that means???


I have suddenly stopped getting my mail as well... nothing from this list in
2 days...or any of the others I am on.
but if I use my hotmail account to send my server an email, it receives and
passes it along to me just fine..

I don't get it, how come hotmail can send me an email, but most others
cannot?

sendmail reastarts with no error messages.. so I am lost as to why this is
happening..

also, if I log onto the box and use pine to send myself an email, it works
as well...

is the message because my servers firewall stops icmp


anyone have any suggestions about that or the error message above...??

if you do, can you cc a copy to [EMAIL PROTECTED] ??? so I can get it?

many thanks...

regards

Frank






[expert] What's the connection between less .bashrc...?

2001-06-22 Thread Pierre Fortin

Hi,

Before I go digging into the sources, does anyone know the logic behind less
being impacted by the contents of .bashrc...?

If I add 'echo foobar' to my .bashrc, any attempt to less file gives only
foobar as output instead of the expected contents of file.

The env. vars are:
$ for e in ${!LESS*}; do echo $e ${!e};done
LESS -MM
LESSKEY /etc/.less #doesn't exist
LESSOPEN |/usr/bin/lesspipe.sh %s  #nothing weird here

I've strace'd it and see this line:
  pipe([5, 6])= 0
(the numbers are not always 5  6) which is probably from the LESSOPEN pipe...

I don't see less opening .bashrc or invoking it; but less somehow gets output
from .bashrc...  What I can't determine yet is whether this output is from
.bashrc executing anew when less is run (most likely -- see below), or from a
stale buffer somewhere...  I just can't imagine a scenario where less needs to
either access .bashrc or get data from a non-user-specified pipe...   could this
be a potential security hole...?

The problem is even more confusing if I add some code to .bashrc; it gets
executed when I invoke less, instead of displaying the requested file...  this
would seem to indicate .bashrc is executed when less is invoked...

This happens on both my LM7.2 machines; but not on the 8.0 one, though the
latter has the same env. vars and the same pipe in strace output... but, the
default .bashrc is different...

Puzzling.

Pierre




[expert] updating ssh

2001-06-22 Thread Julia A. Case

If I use the automated update procedure to update my ssh files it breaks...  and I 
need to go back to v2.5.2p2 and then things work again...  looks to be a conflict in 
the library files.

Thanks
Julia

-- 
[  Julia Anne Case  ] [Ships are safe inside the harbor,   ]
[Programmer at large] [  but is that what ships are really for.]  
[   Admining Linux  ] [   To thine own self be true.   ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
  




Re: [expert] updating ssh

2001-06-22 Thread Paul Cox

On Friday, Jun 22, 2001, Julia A. Case wrote:

 If I use the automated update procedure to update my ssh files it breaks...  and I 
 need to go back to v2.5.2p2 and then things work again...  looks to be a conflict in 
 the library files.

Rename /etc/ssh/sshd_config to something else and then update it again,
and it should work.

-- 
Paul Cox paul at coxcentral dot com
Kernel: 2.4.3-20mdk-win4lin-pcox  -  Uptime: 5 days 15 hours 2 minutes.




(forw) [expert] ip fowarding

2001-06-22 Thread Julia A. Case

I think I got this by accident.

Julia

- Forwarded message from Jørgen Traun [EMAIL PROTECTED] -

Date: Fri, 22 Jun 2001 23:48:30 +0200
From: Jørgen Traun [EMAIL PROTECTED]
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.4.3-20mdk i686)
To: Julia A. Case [EMAIL PROTECTED]
Subject: [expert] ip fowarding

Hi

I have forgotten how to turn on the IP Forwarding funktion on a Mandrake 7.1. Does
anyone know?

Thanks
Joergen

- End forwarded message -

-- 
[  Julia Anne Case  ] [Ships are safe inside the harbor,   ]
[Programmer at large] [  but is that what ships are really for.]  
[   Admining Linux  ] [   To thine own self be true.   ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
  




Re: [expert] updating ssh

2001-06-22 Thread Bryan D Howard

Paul Cox [EMAIL PROTECTED] writes:
 On Friday, Jun 22, 2001, Julia A. Case wrote:
  If I use the automated update procedure to update my ssh files it
  breaks...  and I need to go back to v2.5.2p2 and then things work
  again...  looks to be a conflict in the library files.

 Rename /etc/ssh/sshd_config to something else and then update it again,
 and it should work.

That seems to depend on which version of Mandrake she's running.  At
least when I tried it, openssh-v2.9p1 didn't seem to work properly on
my Mandrake 6.1 systems, though it works fine on my 7.1 systems.

The quick and dirty solution at the time was to go back to
openssh-2.5.2p2 on the Mandrake 6.1 boxes.

Julia, it would be a good idea to mention what version of Mandrake
you're using when you post a problem like this.

{Bryan}
-- 
Bryan D Howard [EMAIL PROTECTED] or [EMAIL PROTECTED]




[expert] ip fowarding

2001-06-22 Thread Jørgen Traun

Hi

I have forgotten how to turn on the IP Forwarding funktion on a Mandrake 7.1. Does
anyone know?

Thanks
Joergen







Re: [expert] ip fowarding

2001-06-22 Thread Bryan D Howard

Jørgen Traun [EMAIL PROTECTED] wrote:
 
 I have forgotten how to turn on the IP Forwarding funktion on a
 Mandrake 7.1. Does anyone know?

Joergen,

Install the ipchains rpm package and then read the documentation for
it.  There's also an ipchains HOWTO.

It doesn't seem to be too obvious to some how to configure ipchains to
start up correctly at boot time, so here are some pointers.

I'm running Mandrake 7.1 and I've got ipchains-1.3.9-6mdk installed.
The init script (/etc/rc.d/init.d/ipchains) included in that package
expects you to store your ipchains configuration in
/etc/sysconfig/ipchains.  To do this, use /sbin/ipchains to build a
rule list and then use:
# ipchains-save  /etc/sysconfig/ipchains
to write it out to a file.

Make sure that you've configured ipchains to start up for the right
run levels (same as network) using chkconfig.  The init script
provided is already configured to start ipchains at the proper time,
which is *before* enabling your network interfaces.

HTH,

{Bryan}
-- 
Bryan D Howard [EMAIL PROTECTED] or [EMAIL PROTECTED]




Re: [expert] What's the connection between less .bashrc...?

2001-06-22 Thread Al Andersen

I had the same problem with my 7.2 system. The way I resolved it was to edit 
/etc/profile and comment out:

#if [ -x /usr/bin/lesspipe.sh ];then
#   export LESSOPEN=|/usr/bin/lesspipe.sh %s
#fi

Your mileage may vary :)

-Al

On Friday 22 June 2001 13:51, Pierre Fortin wrote:
 Hi,

 Before I go digging into the sources, does anyone know the logic behind
 less being impacted by the contents of .bashrc...?

 If I add 'echo foobar' to my .bashrc, any attempt to less file gives
 only foobar as output instead of the expected contents of file.

 The env. vars are:
 $ for e in ${!LESS*}; do echo $e ${!e};done
 LESS -MM
 LESSKEY /etc/.less #doesn't exist
 LESSOPEN |/usr/bin/lesspipe.sh %s  #nothing weird here

 I've strace'd it and see this line:
   pipe([5, 6])= 0
 (the numbers are not always 5  6) which is probably from the LESSOPEN
 pipe...

 I don't see less opening .bashrc or invoking it; but less somehow gets
 output from .bashrc...  What I can't determine yet is whether this output
 is from ..bashrc executing anew when less is run (most likely -- see
 below), or from a stale buffer somewhere...  I just can't imagine a
 scenario where less needs to either access .bashrc or get data from a
 non-user-specified pipe...   could this be a potential security hole...?

 The problem is even more confusing if I add some code to .bashrc; it gets
 executed when I invoke less, instead of displaying the requested file... 
 this would seem to indicate .bashrc is executed when less is invoked...

 This happens on both my LM7.2 machines; but not on the 8.0 one, though the
 latter has the same env. vars and the same pipe in strace output... but,
 the default .bashrc is different...

 Puzzling.

 Pierre




[expert] mail problem found but not fixed.... please reply to statix_comp@hotmail.com if you can help...

2001-06-22 Thread Franki

Hi all

I think I have found my error... but I don't know how to fix it...

I am getting hundreds of these messages in my logs...

Jun 22 23:51:46 mail sendmail[8335]: NOQUEUE: per3-46.vianet.net.au
[202.165.72.238] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA
Jun 22 23:52:35 mail sendmail[8337]: f5MFqVj08337: tcpwrappers
(mandrakesoft.mandrakesoft.com, 216.71.84.35) rejection

for all the mandrake and other lists and many of my other email lists..

Does anyone know what could be causing this??

and/or how to fix it?


rgds

Frank





Re: [expert] ip fowarding

2001-06-22 Thread Larry Sword

Jørgen Traun wrote:
 
 Hi
 
 I have forgotten how to turn on the IP Forwarding funktion on a Mandrake 7.1. Does
 anyone know?
 
 Thanks
 Joergen
/etc/sysconfig/network
As root edit this file and change, FORWARD_IP$=true
Restart you network.

-- 
Sword'sEdge
VoiceMail/Fax: (858) 860-6406 x1587




Re: [expert] What's the connection between less .bashrc...?

2001-06-22 Thread Pierre Fortin

Al Andersen wrote:
 
 I had the same problem with my 7.2 system. The way I resolved it was to edit
 /etc/profile and comment out:
 
 #if [ -x /usr/bin/lesspipe.sh ];then
 #   export LESSOPEN=|/usr/bin/lesspipe.sh %s
 #fi
 
 Your mileage may vary :)

MMDV...  unfortunately, this kills the useful stuff within lesspipe.sh, like
automatic handling of different file types.  

More digging...   the problem is the way 'less' pipes filename to $LESSOPEN
when the latter starts with | (doh! :^)... 

Tried a lot of different things; hopefully I got the results straight...

export LESSOPEN=| /bin/sh --norc /usr/bin/lesspipe.sh %s
   ^^
starts a shell which for some reason ignores --norc whether specified here or
on the #!/bin/sh line within lesspipe.sh...


Without the pipe symbol, less invokes $SHELL -c $LESSOPEN which makes it
impossible to use --norc here.


export SHELL=/bin/csh
Changing the shell avoids .bashrc; but lesspipe.sh still invokes /bin/sh.  To
change this to '#!/bin/csh' requires rewriting lesspipe.sh...  Adding --norc to
the shebang line does nothing.  Not sure if .cshrc would have the same
problem...


export LESSOPEN=| /bin/cat %s 
This still invokes .bashrc...


export LESSOPEN=/bin/sh --norc  /usr/bin/lesspipe.sh %s
export LESSOPEN=|/bin/sh  /usr/bin/lesspipe.sh %s
export LESSOPEN=|/bin/sh --norc  /usr/bin/lesspipe.sh %s
These kinda work; but on q[uit], less foo.html gives:
foo.html: line 1: syntax error near unexpected token `html'
foo.html: line 1: `html'
starts a shell which for some reason will not accept --norc either on the
#!/bin/sh line, or within LESSOPEN...


export LESSOPEN=/bin/sh  /usr/bin/lesspipe.sh %s
This variation also kinda works; but gives: 
bin/sh: Command not found.


The bottom line is that anything in .bashrc will execute because running less
results in implicitly doing a source .bashrc, not to mention that anything
.bashrc sends to STDOUT is injected into the pipe...  On the whole, this seems
poorly thought out...  though my C skills are quite rusty from lack of use and
old age...  :}

However, creating lesspipe.py and using:
export LESSOPEN=| /usr/bin/lesspipe.py %s 
avoids the shell timebombs...  here's a Python version (based on LM7.2; 8.0's
lesspipe.sh is much different):

---
#!/usr/bin/env python

import os, sys, re

FILE = sys.argv[1]

TYPE = os.popen(file -L %s | cut -d' ' -f2- % FILE ).read()

if   re.match('gzip', TYPE):   CMD='gzip -d -c -q'
elif re.match('compress\'d\ data', TYPE):  CMD='uncompress -c'
elif re.match('GNU\ tar', TYPE):   CMD='tar -tvf'
elif re.match('Zip', TYPE):CMD='unzip -c -qq'
elif re.match('Zoo', TYPE):CMD='zoo xqp'
elif re.match('ARC', TYPE):CMD='arc pn'
elif re.match('LHa', TYPE):CMD='lha p'
elif re.match('RAR', TYPE):CMD='unrar p'
elif re.match('RPM', TYPE):CMD='rpm -qpil'
#elif re.match('ARJ', TYPE):  unset CMD
elif re.match('ELF', TYPE):CMD='strings'
elif re.match('Linux/i386', TYPE): CMD='strings'
elif re.match('MS-DOS\ executable', TYPE): CMD='strings'
elif re.match('MS-Windows', TYPE): CMD='strings'
elif re.match('Win95\ executable', TYPE):  CMD='strings'
elif re.match('bzip2\ compressed', TYPE):  CMD='bunzip2 -d -c'
elif re.match('bzip\ compressed', TYPE):   CMD='bunzip -d -c'
elif re.search(.bz$, sys.argv[1]):   CMD='bunzip -d -c'
elif re.search(.bz2$, sys.argv[1]):  CMD='bunzip2 -d -c'
else:  CMD=None

if CMD:
print os.popen(%s %s 2 /dev/null % ( CMD, FILE )).read()
---

Note: no logic was corrected in this simple (7.2) re-write...

HTH,
Pierre

 -Al
 
 On Friday 22 June 2001 13:51, Pierre Fortin wrote:
  Hi,
 
  Before I go digging into the sources, does anyone know the logic behind
  less being impacted by the contents of .bashrc...?
 
  If I add 'echo foobar' to my .bashrc, any attempt to less file gives
  only foobar as output instead of the expected contents of file.
 
  The env. vars are:
  $ for e in ${!LESS*}; do echo $e ${!e};done
  LESS -MM
  LESSKEY /etc/.less #doesn't exist
  LESSOPEN |/usr/bin/lesspipe.sh %s  #nothing weird here
 
  I've strace'd it and see this line:
pipe([5, 6])= 0
  (the numbers are not always 5  6) which is probably from the LESSOPEN
  pipe...
 
  I don't see less opening .bashrc or invoking it; but less somehow gets
  output from .bashrc...  What I can't determine yet is whether this output
  is from ..bashrc executing anew when less is run (most likely -- see
  below), or from a stale buffer somewhere...  I just can't imagine a
  scenario where less needs to either access .bashrc or get data from a
  non-user-specified pipe...   could this be a potential security hole...?
 
  The problem is even more confusing if I add some code to .bashrc; it 

Re: [expert] ip fowarding

2001-06-22 Thread Pierre Fortin

Larry Sword wrote:
 
 Jørgen Traun wrote:
 
  Hi
 
  I have forgotten how to turn on the IP Forwarding funktion on a Mandrake 7.1. Does
  anyone know?
 
  Thanks
  Joergen
 /etc/sysconfig/network
 As root edit this file and change, FORWARD_IP$=true
^
s/\$/V4/ 

FORWARD_IPV4=true

P.

 Restart you network.
 
 --
 Sword'sEdge
 VoiceMail/Fax: (858) 860-6406 x1587




Re: [expert] ip fowarding

2001-06-22 Thread Orlando Reis

Why don't U use iptables, it's more powerfull.
Here's an example:
http://www.flux.org/pipermail/linux/2001-May/003528.html

- Original Message -
From: Larry Sword [EMAIL PROTECTED]
To: Jørgen Traun [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday, June 22, 2001 7:46 PM
Subject: Re: [expert] ip fowarding


 Jørgen Traun wrote:
 
  Hi
 
  I have forgotten how to turn on the IP Forwarding funktion on a Mandrake
7.1. Does
  anyone know?
 
  Thanks
  Joergen
 /etc/sysconfig/network
 As root edit this file and change, FORWARD_IP$=true
 Restart you network.

 --
 Sword'sEdge
 VoiceMail/Fax: (858) 860-6406 x1587






Re: [expert] updating ssh

2001-06-22 Thread Julia A. Case

Sorry about that, I'm using Mandrake 8.0

Thanks,
Julia

Quoting Bryan D Howard ([EMAIL PROTECTED]):
 Paul Cox [EMAIL PROTECTED] writes:
  On Friday, Jun 22, 2001, Julia A. Case wrote:
   If I use the automated update procedure to update my ssh files it
   breaks...  and I need to go back to v2.5.2p2 and then things work
   again...  looks to be a conflict in the library files.
 
  Rename /etc/ssh/sshd_config to something else and then update it again,
  and it should work.
 
 That seems to depend on which version of Mandrake she's running.  At
 least when I tried it, openssh-v2.9p1 didn't seem to work properly on
 my Mandrake 6.1 systems, though it works fine on my 7.1 systems.
 
 The quick and dirty solution at the time was to go back to
 openssh-2.5.2p2 on the Mandrake 6.1 boxes.
 
 Julia, it would be a good idea to mention what version of Mandrake
 you're using when you post a problem like this.
 
 {Bryan}
 -- 
 Bryan D Howard [EMAIL PROTECTED] or [EMAIL PROTECTED]

-- 
[  Julia Anne Case  ] [Ships are safe inside the harbor,   ]
[Programmer at large] [  but is that what ships are really for.]  
[   Admining Linux  ] [   To thine own self be true.   ]
[ Windows/WindowsNT ] [ Fair is where you take your cows to be judged. ]
  




Re: [expert] Harddisk Installation from multiple ISO images?

2001-06-22 Thread civileme

On Friday 22 June 2001 07:02, Martin Reinecke wrote:
 Hi!

 I'm not sure if this should work at all, but I guess it would
 be a useful feature:

 I downloaded both ISO images of MandrakeFreq #2 to my harddisk
 and tried to do a harddisk installation from these images.
 Unfortunately the installer only allows me to enter the path
 to ONE ISO image file, and DrakX appears to see only this
 single file, even though the extension image is in the same
 directory. This means that the install dies at the point where
 I would insert the second CD if I did a CD-ROM install.

 Is there a way to tell the installer that it should use both
 images? If I have the files already on the disk, burning them
 on CDs seems such a waste...

 Thanks in advance for any information,
Martin


Ummm, how about making a toplevel directory like /somename and 
unpacking the iso's into it--the one little tweak you need is to 
move the RPMS2/ files to RPMS/, then the HD install should work 
very well indeed.

Civileme




Re: [expert] PLEASE HELP! Bad bridge mapping

2001-06-22 Thread civileme

On Friday 22 June 2001 07:31, Marc Audard wrote:
 Hi,

 Please, please, help me! I posted this at several places and
 I still have no answer.

 I would like to know if the problem I encounter can be
 fixed:

 I upgraded the system memory from 192 MB to 512 MB.
 The system clearly detected the upgrade and linux booted.
 However, at the cardmgr step, cardmgr complains not
 finding an entry in /proc/devices for pcmcia (which is
 correct). I checked with /var/log/syslog and apparently
 the problem appears before, because of a bridge mapping
 problem.


Hmmm this is untrodden territory as far as our knowledge 
database goes.  bad bridge mapping sounds like a BIOS 
assumption, but just for laughs, try the enterprise kernel.  If 
that works, then I have a bug report to file.

Civileme

 in syslog:

 kernel: Linux PCMCIA Card Services 3.1.25
 kernel:  kernel build: 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST
 2001 kernel:   options: [pci] [cardbus] [apm]
 kernel: Intel PCIC probe: PCI: Found IRQ 11 for device 00:03.0
 kernel: PCI: The same IRQ used for device 00:03.1
 kernel: PCI: The same IRQ used for device 00:07.2
 kernel:
 kernel:  Bad bridge mapping at 0x17ff!
 kernel: not found
 kernel: ds: no socket drivers loaded

 This problem occurs with 256+64,256+128,256+256, but not 192
 or 256 MB. The Multifunction Card I have is the
 XIRCOM Realport Ethernet 10/100-56K, known as REM56-100BTX


 With 192 MB (when it's OK), the syslog message goes like this:



 kernel: Linux PCMCIA Card Services 3.1.25
 kernel:  kernel build: 2.4.3-20mdk #1 Sun Apr 15 23:03:10 CEST
 2001 kernel:   options: [pci] [cardbus] [apm]
 kernel: Intel PCIC probe: PCI: Found IRQ 11 for device 00:03.0
 kernel: PCI: The same IRQ used for device 00:03.1
 kernel: PCI: The same IRQ used for device 00:07.2
 kernel: PCI: Found IRQ 11 for device 00:03.1
 kernel: PCI: The same IRQ used for device 00:03.1
 kernel: PCI: The same IRQ used for device 00:07.2
 kernel:
 kernel:  TI 1420 rev 00 PCI-to-Cardbus at slot 00:03, mem
 0x1000 kernel:hos opts [0]: [ring] [serial pci  irq]
 [pci irq 11] [lat 32/32] [bus 2/5] kernel:hos opts [1]:
 [ring] [serial pci  irq] [pci irq 11] [lat 32/32] [bus 6/9]
 kernel: spurious 8259A interrupt: IRQ7
 kernel:ISA irqs (scanned) = 3,4,7,10 PCI status changes
 kernel: cs: memory probe 0xa000-0xa0ff: clean
 kernel: xirc2ps_cs.c 1.31 1998/12/09 19:32:55 (dd9jn+kvh)
 kernel: cs: IO probe 0x0100-0x04ff: excluding 0x378-0x37f

 etc...


 Thanks for any help,

 Regards,

 Marc




[expert] 486-100MHz HP Netserver, will it work under linux?

2001-06-22 Thread Ahmad Al-Dosari

 Sorry for the off-topic post, but I was hopping to make the machine act as
proxy for my 512Kbps connection, and was wondering if it was a good idea or
not?.

 The HP computer has two SCSI drives, and I am not sure but I think that he
said that it has two processors (The guy is asking for $130 for the machine
including the monitor... is this a good price?).

thanks






[expert] icons disappered

2001-06-22 Thread Alden Torres

almost all my icons in the panel and the main menu
disappearead. Im use Mandrake 8.0.

__
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/




Re: [expert] LM 8.0 - MandrakeFreq

2001-06-22 Thread Kheb

The section Updates of the mirros have this function MandrakeFreq have another,
if you want test package use cooker packages =)


Regards
On Fri, 22 Jun 2001 07:55:05 +0100, Frederic Soulier said:

 Hi,
  
  I just downloaded the ISOs for MandrakeFreq last night (just a bit
  cheesed off to have to download 1.3Gb of data to do an upgrade!!!)
  
  This is the first time I will use the MandrakeFreq disks and apparently
  the MandrakeFreq release is in fact a full LM 8.0.x release not fully
  tested.
  
  My current system is a LM 8.0 + all updates/security fixes from Software
  Manager.
  
  To upgrade my system, do I just need to use the upgrade option instead
  of the install?
  
  Now how many things will be broken on my system after the upgrade
  is another story :(
  
  
  Can't we just use the Software Manager to upgrade or is it a bad idea?
  
  
  I believe that the MandrakeFreq should be a collection of upgrades
  (even beta or alpha quality, you're free to take it or not) available
  on a CD or online that we can access thru Software Manager instead of
  a monster download.
  My 2 pence.
  
  Cheers,
  Fred
  
  

-- 
Kheb

Linux Counter Number
198159
http://counter.li.org


_
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com





Re: [expert] crond

2001-06-22 Thread Peter Møller Neergaard

On June 22, 2001, David E Fox wrote:

PMN env -i HOME=$home LOGNAME=$logname PATH=$path SHELL=$shell
PMN /usr/bin/sh -x $*

DEF Or in bash, 'export  ' :)

No.  I used the command env with the -i to make sure to clear the
current environment.  The whole point of the script is to give you the 
same environment as when the script is run by cron.  Using export
gives you the current shell environment plus what you have exported.

DEF Anyway, I think intermixing korn shell and bash (or whatever
DEF Solaris's 'sh' is, probably Bourne-derived) complicates things
DEF unnecessarily. 

Again, this script was written to exactly mimic the behavior of cron;
on solaris the man page explicitly states that cron command is passed
as an command argument to sh.  I checked the linux man page the other
night, and as I recall the default behavior there boiled down to sh
again. 

DEF AFAIK, it's just another process (at least true of 'cron') so it,
DEF like any other process, it has a completely independent
DEF environment. Such things like PATH can be set explicitly and will
DEF be true of only the current process.

True, the only thing to be aware of is that cron's PATH is whatever
(probably not that big) path is used at system boot when crond is
started.   (That is of course unless you use an explicit setting of
the PATH in your crontab.)

Best

Peter
-- 
http://cs-people.bu.edu/turtle/contact.html
``Deserves death! I daresay he does. Many that live deserve death. 
And some that die deserve life. Can you give it to them?  
Then do not be too eager to deal out death in judgement.'' -- Tolkien