Re: [expert] postfix: can't receive mail

2002-01-26 Thread Laurent CREPET

On Sat, Jan 26, 2002 at 09:29:28AM -0800, ajax wrote:
 
 I'm having problems receiving mail with postfix.  I had it working before but 
 now it isn't.  When I send email to my computer from a remote address , it 
 doesn't make it and I get an email stating that  the connection was 
 refused(at the remote email address) by my home computer.  I can send email 
 to myself from my home computer and outgoing mail reaches its destination ok. 
  It sounds like a firewall issue to me but I can't find anything wrong with 
 my bastille setup.
 Any ideas?
 Thanks
 

Check if you can remotely telnet to port 25 of your machine, and
if postfix answers. If yes, it's a problem in the postfix settings,
not in the firewall one.

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://www.megrapet.org/



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



[expert] how to control SCSI disks spin down ?

2002-01-22 Thread Laurent CREPET

Hi, All,

hdparm is a great tool to control my IDE HD. I'm able
to set the spin down timeout, so the disk automatically
standby after 30 minutes.

But I have also 3 SCSI disks, one running at 1 and
not permanently used. Is there any other tool or kernel
patch available to control the spin down timeout (and
other options) of the SCSI disks ?

Most of hdparm functions are dedicated to IDE drives.

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://www.megrapet.org/



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



Re: [expert] disable dsl connect on boot [newbie]

2001-11-20 Thread Laurent CREPET

/sbin/chkconfig --del adsl
or
/sbin/chkconfig --level 345 adsl off

On Wed, Nov 21, 2001 at 12:45:32AM -0500, Paul Rodríguez wrote:
 Hi, I asked this on the newbie list, but got no response.  I was hoping
 someone here would know how to fix this.
 
 How do I manually disable connecting to the internet on startup?
 
 I have an adsl connection that I setup in Mandrake Control Center to
 connect automatically on boot.
 
 I can't turn it off from the Mandrake Control Center, because my network
 card (Xircom Carbus 56k/10/100Mb PCMCIA) is recognized by Mandrake
 Control Center (although it was recognized correctly during
 installation).  Before I can change the settings I need to choose the
 correct network card drive (an incorrect one will not let me continue).
 
 For some reason the program opened when I click on the Internet button
 supplied on the Mandrake desktop doesn't open.
 
 Where can I manually change these settings?
 
 How can I disable this from a console?
 
 Thank You.
 
 -Paul Rodríguez
 
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
 

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


-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] NFS LM8.1 server, AIX client problems

2001-11-08 Thread Laurent CREPET

On Tue, Nov 06, 2001 at 05:17:22PM -0700, Daniel Woods wrote:
 I am still having problems with setting up Linux-Mandrake 8.1
 (kernel 2.4.x) as an NFS server to allow an AIX client to access
 it.  Has anyone else got this scenario to work ?
 
 I have disabled iptables so that is not the issue.
 I am suspecting it to be a problem with the 2.4 kernel.
 I went through the NFS How-To, and the section about AIX, but
 I still get errors.  I *can* mount the Linux CD-Rom onto the
 AIX box (4.3.3), and I can 'ls -l' the contents, however trying
 to copy the contents onto the hard disk fails (at some random
 point) when copying the sub-directories.
 
 Thanks... Dan.
 

Got some problems at work with an NFS server running on Linux (was kernel
2.2.18), and AIX NFS clients (4.2, 4.3.1 and 4.3.3).

On AIX clients, we run as root:

nfso -o nfs_use_reserved_ports=1

Then, we were able to mount the filesystems from our Linux box...
I remember that we call our IBM support to have this information.

Hope it helps...

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] Which Mozilla for LM8.0?

2001-11-08 Thread Laurent CREPET

On Mon, Oct 15, 2001 at 11:46:53PM -0500, Benjamin Sher wrote:
 Dear friends:
 
 I am still using LM 8.0. My question is: Can I use the latest Mozilla 
 versions that are listed for Mandrake 8.1 in Mandrake Cooker? Are there any 
 limitations? What would you recommend? 
 
 Thank you.
 
 Benjamin

It perhaps easier to install cooker rpms on a 8.1 box than on a 8.0 one.

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] wget style

2001-09-30 Thread Laurent CREPET

On Sat, Sep 29, 2001 at 11:24:57PM +1200, Tom Eastman wrote:
 This is a silly question I know, but I'm sure someone out there can give
 me a one-liner answer.
 
 wget used to show the transfer speed after every line of dots it prints,
 but it doesn't anymore.
 
 I can't find a way to turn the this option in the info/man pages.  Is it
 a feature they removed completely in the newer versions of wget? Or is
 it something that I can turn on somewhere and I just overlooked it?
 
   Thanks.
 

I think it depends on the version you use... For example, in SNF7.2, wget
is patched to supply such a behaviour. Seems to have been removed from
earlier versions !?

Information about those patches:

http://freshmeat.net/projects/wnp/

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



[expert] SNF: DynDns available ?

2001-09-11 Thread Laurent CREPET

Having a look at /var/lib/naat/configuration, I've found:
DynDnsAccount=dnsaccount
DynDnsPassword=dnspassword
DynDnsService=off

Is there any package to install before enabling this ?
Is it installed by default ?

Since there's not a lot of things in webmin, I was wondering
if there is a console tool to configure those kind of features
(more settings on ipchaines rules, DynDns, etc.)

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



[expert] SNF8.0 ? cookfire ?

2001-09-11 Thread Laurent CREPET

Hi, All,

I recently installed SNF7.2. Now, I would like to have
a look at something more recent...

Is there any incoming SNF8.0 (based on mdk 8.0, instead of 7.2)
or any recent development version of SNF available ? Is it cookfire ?

Is there any SNF roadmap ?

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] Redirect to internal network

2001-09-07 Thread Laurent CREPET

On Thu, Sep 06, 2001 at 04:54:24PM -0400, Joe Aldeguer wrote:
 Hello all,
 
 Has anyone been able to succesfully make the (redirect to internal servers
 from public networks) work
 on the Linux Mandrake Firewall?
 

It works fine for me. I redirect ssh from the firewall to my
workstation, and finally, be able to connect to it from my office...

 I'm asking because I have set it up through the web admin tool but it fails
 to perform the task.  Could I do

I used the web admin tool to set the ssh redirect parameter.

 this using vi instead and which config file?
 
 Thanks in advance.
 
 Joe
 

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



[expert] SNF and wget

2001-09-06 Thread Laurent CREPET

Since I installed a real firewall on an old P166, I can
send e-mails, browse the web, but I can't use wget from
my other systems (the one who is connected to the internet
through the firewall).

wget takes some times to connect to ftp.kernel.org, and
then I got this error:

--20:39:21--  ftp://ftp.kernel.org/pub/linux/kernel/testing/*.bz2
  (try: 2) = `ftp.kernel.org/pub/linux/kernel/testing/.listing'
Connecting to ftp.kernel.org:21... connected!
Logging in as anonymous ... Logged in!
== TYPE I ... done.  == CWD pub/linux/kernel/testing ... done.
== PORT ... done.== LIST ... 
Error in server response, closing control connection.
Retrying.

For ftp://ftp.free.fr/mirrors/ftp.mandrake-linux.com/Mandrake/updates/8.0/,
it takes too much time before getting anything... Using ncftp go faster and
I successfully download a file from this URLS...

Do I need to open some ports ? to enable something (squid is
enable in transparent mode) ?

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] SNF and wget

2001-09-06 Thread Laurent CREPET

On Thu, Sep 06, 2001 at 10:08:12PM +0200, Jan Dittberner wrote:
 
 There are two ways to solve your Problem
 
 1. (unsafe) open all ports above 1024 so that an connection on any
unprivileged port may be opened
 
 2. (safe) force wget to use non-passive ftp by setting
   passive_ftp = off
in /etc/wgetrc or your $HOME/.wgetrc

It should be 'passive_ftp = on', since default is off, and I was using
the default value...

[lct@tealc lct]$ grep passive_ftp /etc/wgetrc 
#passive_ftp = off

Thanks a lot for your help, it works... and I keep the maximum
security not opening ports on the firewall...

 
 Solution 2 will not work with other browsers Mozille/Netscape i.e.
 

I got no problem with konqueror to connect to the same ftp sites.

 
 Jan
 

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] rsh - Permission Denied

2001-08-19 Thread Laurent CREPET

On Sat, Aug 18, 2001 at 05:34:26PM -0400, John J. LeMay Jr. wrote:
 Hi folks,
 
 I'm trying to use rsh from my LM7.2 server to connect to my LM8.0f1machine and
 I'm receiving the following on the LM8.0f1 box:
 
 Aug 18 17:31:33 logan pam_rhosts_auth[4471]: allowed to root@cyclops as root
 Aug 18 17:31:33 logan in.rshd[4471]: rsh denied to root@cyclops as root:
 Permissio
 n denied.
 Aug 18 17:31:33 logan in.rshd[4471]: rsh command was 'ls'
 
 The server receives a Permission Denied message. The command was simply rsh
 logan ls. I also tried rsh -l root logan ls. However, if I just try a simple
 rlogin or rsh logan, I can connect and run commands to my heart's content.
 
 Any ideas why I can open a session to the machine with rlogin/rsh, but I cannot
 execute a remot command with rsh?
 
 Thanks!

By default, you can't rsh to root@linuxbox. It's most secure.
But you can enable this (you should use ssh instead of rsh):

Firt, you must be able to rsh with standard user
Second, for the root case, the explanation is in /etc/pam.d/rsh:
#%PAM-1.0
# For root login to succeed here with pam_securetty, rsh must be
# listed in /etc/securetty.

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] rsh - Permission Denied

2001-08-19 Thread Laurent CREPET

On Sun, Aug 19, 2001 at 09:50:09AM -0400, John J. LeMay Jr. wrote:
 ** Reply to message from Laurent CREPET [EMAIL PROTECTED] on Sun, 19 Aug 2001
 15:21:10 +0200
 
 
  # For root login to succeed here with pam_securetty, rsh must be
  # listed in /etc/securetty.
 
 Thanks Laurent. I had found this, however I wasn't sure how to add rsh to the
 file. I tried adding rsh as the last line of the file (immediately following
 tty6), however I still could not gain access. Am I using the wrong syntax or
 do I need to restart some service after making the change to /etc/securetty?
 

Just adding 'rsh' should work. Did you check if rsh works with another user ?
If not, check /etc/xinetd.d/rsh. It musts exist, and should not be disable
(see disable parameter in the file).

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/



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



Re: [expert] Show status of adsl connect

2001-07-08 Thread Laurent CREPET

On Sun, Jul 08, 2001 at 02:56:18AM +0200, Wolfgang Bornath wrote:
 Got adsl yesterday and managed the setup. though not using draknet. I
 tried draknet first but it did not work. Then I ran adsl-setup and added
 a defaultroute in adsl-start. Now it works like a charm.
 Problem is, 11 (my provider) cuts the link after 15 minutes
 of inactivity and after 14 hours of continous running.
 
 1. I put up a cronjob which sends 1 ping tom my own domain every 14
 minutes.
 

I'm using rp-pppoe 3.1 (and even with 3.0), and my connexion is
automatically restarted when rp-pppoe detect that it's not online
(the french provider cuts the line everey 23h50, I think).


 2. It's no prob for me to restart every 24 hours. It would be nice, if
 this happened automagically but 
 
 3. My actual Q: Is there a little icon or sign to put on the KDE panel
 which shows the status of the connection? Today I saw Linux on a PPC and
 there was this small connection symbol which got unconnected when the
 internet connection broke. Is there such a thing?
 
 wobo
 -- 
 GPG-Fingerprint: FE5A 0891 7027 8D1B 4E3F  73C1 AD9B D732 A698 82EE
 For Public Key mailto [EMAIL PROTECTED] with Subject: GPG-Request
 ---
 ISDN4LINUX-FAQ -- Deutsch: http://www.wolf-b.de/i4l/i4lfaq-de.html
 

-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/




Re: [expert] what patches are applied to mdk kernels?

2001-07-03 Thread Laurent CREPET

On Tue, Jul 03, 2001 at 10:56:42AM +, Tom Strickland wrote:
 I'd like to download more recent kernels and patch them up to be the
 equivalent of an update to the Mandrake-supplied kernels. Where can I
 find a patch list? Hopefully I've missed it and it's somewhere in the
 distribution.
 
 Thanks,
 
 tom
 

You can install the SRPM of the kernel, and look included patches
and drives. Look at the kernel-2.4.spec file.

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/




Re: [expert] procmail question

2001-06-30 Thread Laurent CREPET

On Sat, Jun 30, 2001 at 06:05:23PM +0200, Laurent CREPET wrote:
 On Fri, Jun 29, 2001 at 11:11:36PM -0400, Christopher W. Aiken wrote:
  
  I have used fetchmail/procmail on Debian, SuSE, FreeBSD w/o
  any problems.  But I cant' seem to get procmail filtering
  to work with Mandrake.
  
  My .forward file looks like this (same as other Linux versions):
  |IFS=' 'exec /usr/bin/procmail -ptoY -f-||exit 75 #cwa
  
  The fetchmail process  acts like the .forward and procmail
  don't even exist.  My procmail recipes are the same ones
  that I used on Debian, SuSE, and FreeBSD. All mail goes to
  my INBOX w/o being sorted.
  
  Anyone have procmail working?  Any ideas why I can't get
  procmail working in MDK?
  
 
 You can enable procmail as mda in your .procmailrc. Here
 is an example:
  poll pop.yourisp.domain with proto POP3 and options uidl
  user 'user account' there with password 'xx' is login here warnings 3600
   mda '/usr/bin/procmail -d %T'
 
 If you use postfix, check if procmail support is enable in main.cf:
  mailbox_command = /usr/bin/procmail -a $EXTENSION
 
 Laurent.

Then, your .forward will not be used !

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/




Re: [expert] Mandrake 8.0 on a UltraSparc 10

2001-06-25 Thread Laurent CREPET

On Mon, Jun 25, 2001 at 08:18:40AM -0700, Julia A. Case wrote:
 I just purchased an UltraSparc 10 for myself...  I'm wondering how hard it would be 
 to re-compile all the Mandrake 8.0 SRPMS for sparc?  The new machine should be here 
 in a week and I can try, but I was wondering if anyone else tried it.
 
 Julia
 

Mandrake has released 7.1 for Sparc, in the past. It seems that they will
continue to release something for Sparc (like RedHat, which last release
for Sparc is 6.2).

Good luck !

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/




Re: [expert] mounting a tape!

2001-06-16 Thread Laurent CREPET

On Fri, Jun 15, 2001 at 06:02:32PM +0300, Turgut Kalfaoglu wrote:
 
 Did anyone succeed in NFS sharing a tape and mounting that share from
 another machine? I'm trying to make a backup from a machine that doesnt
 have a tape drive to another, that does. I have the tape in EXPORTS,
 but I get not a directory blurb when I try to mount it; it seems I need
 to first mount that tape locally on the machine that has the tape; but it
 refuses to be mounted as well :)  any ideas how?
 Thanks, -turgut
 

Tape ? You mean something like DAT ou DLT ?! You can't use such a device
like a hard disk or a floppy/cdrom. I've never seen someone that has
managed to mount a tape as a filesystem. I doesn't work like Windows
software like Direct-CD or equivalent one for tape...

You use tar/cpio/dump to backup/ restore you filesytem to/from the tape.

If you want to backup different machines with only one tape, export
what you need to backup on each machine, and mount every exported
filesystems/directories on the server...

Or use the machine with the tape as a backup server: it will export
some directories. On each machine, mount one from the backup server,
copy the data you need to backup to the backup server exported filesystem.
Finally, run a backup on the backup server.

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/




Re: [expert] Program Failure: Tracing the failure

2001-06-15 Thread Laurent CREPET

On Thu, Jun 14, 2001 at 05:47:04PM -0400, NDBartley wrote:
 Hey Guys,
 
 I'm attempting to determine why I can't access RPMdrake. I have updated to
 the newest RPMDrake and it worked great for 3 or 4 hours. Now I'm not  sure
 what I installed during those 4 hours which would cause it not to work, but
 it just won't work.
 
 Now I figured that it might be an issue w/ a configuration script, therefore
 I tried to initialize the program through a text window (Gives a much better
 failure readout IMO). Unfortunately all it's telling me is that it had a
 segmentation fault, and then it dumps the core. Does anyone know of a way to
 determine where it errored, so I can fix the error?

  gdb absolute path of RPMdrake core
  gdb runs... 
  where
 - it will give you the stack, indicating in which procedure it crashes.

I think it will not be easy to understand where and why it crashes.

 
 I would REALLY like to use this program again, so I kinda need to figure
 this out.
 
 Thanks,
 Nelson Bartley
 [EMAIL PROTECTED]
 
 
 

Laurent.
-- 
Laurent CREPET -- [EMAIL PROTECTED]
http://megrapet.free.fr/