RE: [expert] 9.1 First Day recap

2003-03-31 Thread David Stevenson


 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Thomas K. Gamble
 Sent: 31 March 2003 18:11
 To: [EMAIL PROTECTED]
 Subject: Re: [expert] 9.1 First Day recap


 On Monday 31 March 2003 09:34 am, Brian wrote:
 
  And my USB printer does not work now -- I am thinking our USB
  problems may be related but the device is detected in KDE Control
  Center and by MTink.

 I noticed that USB was not working as well.  For some reason, none of
 the modules (usbcore, usb-ohci, etc) were loaded and I had to add them
 to /etc/modules by hand.  Once loaded, all my USB devices worked fine.
 An install glitch that was overlooked, i assume.

 
  I would love to hear if you have success with either or both of these
  problems.
 
  Brian

Not quite sure how to fix your problems, but it smells of modules not
loading or in need if aliasing. The fact that networking loads OK, seems to
point that the module was not loaded at the time it was started by the boot,
but once boot has finished all is OK.

HTH
David. (in a rush)


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


RE: [expert] Samba hide . prefixed dirs?

2003-02-11 Thread David Stevenson
hide dot files = yes
veto files /^.*/

Couple this with the Windows Explorer setting. Make sure you run the latest
version of Samba as there was an issue with the veto files token not working
correctly.

David.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of J. Grant
Sent: 10 February 2003 15:53
To: [EMAIL PROTECTED]
Subject: Re: [expert] Samba hide . prefixed dirs?


Hi,

 If you mean you don't want them seen on the windows box, it's the show
hidden
 files setting in windows explorer.

I did think there was an smb.conf option as well as this explorer option.

I'm sure I saw it before, now when I need it I can't find it!

Cheers

JG






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



[expert] Modem speeds (slow kbps on dial in server)

2002-11-18 Thread David Stevenson
Hi All,

I have created a dial up account to my home system (MDK 8.2). I dial up
using my laptop to get/check email etc. Although reading the howtos and the
connection being very stable using AutoPPP, the laptop (Win2K) never reports
more than 28kbps, however, when I dial to my ISP directly the laptop gets
56kbps. So I am wondering if I am missing something on my MDK dial-in
server. All settings for the modem port speed are 115200 and the mgetty
speed for comm is also at 115200. I would like to get 56kbps on this dial up
link, so if anyone has got any experiance and could shed any light on this
slow connection I would be grateful.

David.



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



RE: [expert] Samba printing - Help!

2002-09-26 Thread David Stevenson

little snip
Original message
I've found that the samba settings work best with options use encrypted
passwords enabled and allow null passwords enabled as well.  Also keep in
mind that you may have to capture a printer port and browse to the network
printer rather than installing the printer as a pure network printer (this
applies when printing to a linux box from a windows machine).  Some printers
(esp HP laserjet) will not install in windows unless it first detects the
printer on a port.  Shouldn't apply in the reverse situation though.
Hopefully I don't confuse you more.  I have less experience printing from
linux to windows than windows to linux to be honest.

Todd

HUGE snip

Can we cut the HTML mails from this list...end whinge

All my printers are on a linux server, multiple io cards are fitted. I use
CUP's for printing. My samaba config is quite basic, but the printers that
are visible on the Windows network are all installable. I go into the 'Add
printer' dialogue and it allows you to browse the network...just select the
one that you want and the insaller does the rest. I have never had to
capture the port to do this. If you guys want to see my config, let me know
and i'll post it.

I do agree about the encrypted password token, also are the printers
browsable, this makes things easier..

David.




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



RE: [expert] Spam protection

2002-08-25 Thread David Stevenson

OK guys, I played it safe.

I spent more time on trying to discover why Postfix was not working, at 5 AM
on Saturday morning I noticed that my AV scanner was dumping scanned mail
into sendmail. What I thought it was doing was dumping it via smtp on a
backdoor port to postfix. Although I had entered the data in /etc/services,
I failed to tell the AV scanner where to send it, and also failed to enter
the /etc/postfix/master.cf entry for the backdoor service name. I had just
commented out the smtp line.

As I run in a protected network, the backdoor was a safe option.

The end result is that I can now reject mail that I now is dodgy and use the
RBL.

Thanks for all your comments.
David.

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tim C
Sent: 24 August 2002 03:58
To: [EMAIL PROTECTED]
Subject: Re: [expert] Spam protection


On August 23, 2002 16:05, [EMAIL PROTECTED] wrote:
 I have to disagree.  I've been using SpamAssassin for a while now, and the
 number of false positives have made me turn it off.  (And I've go the
level
 set at 10)

Hmmm. That's odd. My experience has been completely opposite. I had a
couple of False Positives in the first week I started using it , but they
were all from HTML newsletters that I subscribe to. I simply whitelisted all
of the newsletters and I haven't had a FP since.( I use the default level 5)
--
Tim C
[EMAIL PROTECTED]





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



[expert] IDE_SCSI problem fresh 8.1 install with tape drive

2002-05-10 Thread David Stevenson

Hi All,

I have just completed a machine swap on my file server which boasts a HP
Colorado 14GB IDE/ATAPI drive. I have never had a problem with this prior to
8.1. The scsi component was always missing, I found that I had to add the
ide-scsi option into LILO in the 'append' section, hdd=ide-scsi to get it to
work.

After this latest migration, I cannot appear to get the tape to work (also
8.1). This is what I see:

ls -al /dev/st0

lr-xr-xr-x1 root root   31 May 10 21:09 /dev/st0 --
scsi/host0/bus0/target0/lun0/mt

lilo.conf

image=/boot/vmlinuz
label=linux
root=/dev/hda1
initrd=/boot/initrd.img
append= hdd=ide-scsi devfs=mount
vga=788
read-only

Example of failure:

[root@london root]# tar -cvf /dev/st0 /home
tar: /dev/st0: Cannot open: Permission denied
tar: Error is not recoverable: exiting now
[root@london root]#

If anyone has any ideas/pointers it would be appreciated.

System: Fujitsu P200/90'ish RAM running in console mode (init 3) only
serving SAMBA/NFS/POP3/CUPS

Thanks,
David




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



RE: [expert] I am sorry

2002-03-24 Thread David Stevenson

If everyone subscribed to this list detailed their hardware, very few would
have the identical hardware! Any OS that installs out of the box on half of
those is worth it's salt.

Windows rely on the third party vendors to get the support right, after
installing windows you then have to spend another couple of hours installing
and downloading the latest patches/drives? I have been using MDK from 6.0,
in fact I bought the box version, apart from a DC10 Plus Video Capture card,
every piece of hardware I have had has worked out of the box. When Linux
says it's installed, everything has always worked. Now that is amazing!!!

Now some of you spend lots of money, or have companies supplying the latest
kit, give the guys at MDK a break, they cannot always keep the drivers
support on the CD's up to date with bleeding edge drivers!

Well done Guys!

David,


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lorne Shantz
Sent: 24 March 2002 05:17
To: [EMAIL PROTECTED]
Subject: Re: [expert] I am sorry


Hey gang... one more thing to consider BEFORE you blame a distro. I've been
playing with these releases from Mandrake for a long time now. I got 8.1
awhile back and put it on a 1.2 ghz machine and it would lock up, and no way
would it install. I tried different CD's and everything I could think of to
no
avail. I was just about to blame the distro when I tried it on an identical
1.2GHZ machine and it installed flawlessly! I mean beautifully. Something
was
wrong with the hardware on that one box. Windows installed just fine. ??? Go
figure, but before you come to the conclusion it is a bad distro, consider
that it may be the hardware has problems. Just a thought.

Felix Miata wrote:

 Cheryl Brannan wrote:

  At 08:53 AM 3/24/02 +1100, you wrote:

  Way to go guysreally in the spirit of linux.   Let's all mock users
  who are having a hard time.

  I disagree. This wasn't a user who was having a hard time and asking for
  help. This user just wanted to dial up and bitch.

 Yes and no. He explained that he had a multitude of problems resulting
 from installation/attempted installation on several systems. No one in
 her right mind should expect a single post enumerating many problems on
 many systems to actually result in useful help.

 That post expressed the same frustration I have encountered on every
 beta, rc, and release version I tried, which were the whole series of
 8.0  8.1 except for the second beta of 8.0 not tried at all, since a
 happy install of 7.1. After seeing the kind of trouble reported in early
 8.2 beta, I decided I'd be wasting my time to try 8.2 before release. It
 still looks like I should wait for 8.3. There should have been an rc2
 and maybe an rc3 before release.
 --
 And we know that all things work together for good to them that
 love God, to them who are the called according to His purpose.
 Romans 8:28 KJV

  Team OS/2 ** Reg. Linux User #211409

 Felix Miata  ***  http://mrmazda.members.atlantic.net/

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

--

Lorne Shantz








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



[expert] mount -o loop

2002-03-23 Thread David Stevenson

HI All,

I have a need to mount some iso images at boot time. Is there options to do
this in the /etc/fstab ? I have played around with various options but to no
avail. I am using 8.1mdk.  The mount command works manually, its just the
format in the fstab. The fstab man page does not comment on the loop option.

Thanks in advance.

David




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



RE: [expert] Troubles with pop daemon

2002-03-22 Thread David Stevenson

Put the contents of that script into xinetd.conf, that should be all
required. The ip/range should also be allowed to connect in the /etc/hosts.*
files.

HTH
Dave

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED]
Sent: 22 March 2002 07:18
To: [EMAIL PROTECTED]
Subject: [expert] Troubles with pop daemon


No matter what I do I can't seem to get the pop daemon to work. I'm trying
to use ipop3d from the imap package and it seems to work ok, but it doesn't
start on boot.

Every help guide says to put some lines into inetd.conf which is
conspicuously absent. In xinetd.d I've got an ipop3 script with:
service pop3
{
disable = no
socket_type = stream
wait = no
user = root
server = /usr/sbin/ipop3d
log_on_success += USERID
log_on_failure += USERID
}

In it.

Just typing ipop3d as root lets me type in typical mailbox type commands
(user pass list last ...). Telnet to 110 gives connection denied.


rc.firewall

#!/bin/bash
echo Enabling Forwarding
echo 
echo 1/proc/sys/net/ipv4/ip_forward

iptables -P INPUT ACCEPT
iptables -F INPUT
iptables -P OUTPUT ACCEPT
iptables -F OUTPUT
iptables -P FORWARD ACCEPT
iptables -F FORWARD

iptables -A FORWARD -i eth0 -o eth1 -m state --state ESTABLISHED,RELATED -j
ACCEPT
iptables -A FORWARD -i eth1 -o eth0 -j ACCEPT
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 80 -j
REDIRECT --to-port 3128
iptables -t nat -A PREROUTING -i eth0 -p tcp --dport 81 -j
REDIRECT --to-port 3128
iptables -t nat -A POSTROUTING -o eth1 -j MASQUERADE
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 5900 -j
DNAT --to-destination 192.168.0.1
iptables -t nat -A PREROUTING -i eth1 -p tcp --dport 5800 -j
DNAT --to-destination 192.168.0.1





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



[expert] MDK 8.1 scsi-emulation and IDE Tape drive

2002-03-14 Thread David Stevenson

Hi All,

I have just had to rebuild a server and decided to use 8.1. This box previously ran 
8.0 with a HP Colorado IDE 14 Gb tape unit. This worked great.

With the 8.1 installed there was no /dev/st0, I assumed that for whatever reason, 
ide-scsi was not installed (8.0 was automatically installed). I have looked about the 
forums and some suggest that the kernel needs to be rebuilt. Other suggestions appear 
to add a line to lilo.conf, hdd=ide-scsi. This instance hda is the boot device and hdd 
in the tape unit. Anyway, with the line added to lilo.conf the /dev/st0 now exists but 
cannot write to the device using normal methods. I guess I am missing something.

I really would not like to rebuild the kernel unless I have no choice (never done it 
before) because the box is a P120, so it could take a while.

Any suggestions would be great!


DMESG = 'dmesg|grep hd'

Kernel command line: BOOT_IMAGE=scsi ro root=301 hdd=ide-scsi devfs=mount
ide_setup: hdd=ide-scsi
ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio
ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio
hda: QUANTUM FIREBALL CX20.4A, ATA DISK drive
hdb: CD-ROM Drive/F5D, ATAPI CD/DVD-ROM drive
hdd: HP COLORADO 14GB, ATAPI TAPE drive
hda: 39876480 sectors (20417 MB) w/418KiB Cache, CHS=2482/255/63, UDMA(33)
hdb: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)

Thanks Dave.



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



Re: [expert] MDK 8.1 scsi-emulation and IDE Tape drive

2002-03-14 Thread David Stevenson

Thanks James, added the 'nomount' option to the lilo and it now works fine.

I wonder if 8.2 will be more intelligent and revert to 8.0 logic for this?

Dave.

On Wed, 13 Mar 2002 21:15:57 -0800
James [EMAIL PROTECTED] wrote:

 On Wed, 13 Mar 2002 20:48:27 -0500
 David Stevenson [EMAIL PROTECTED] wrote:
 
 David,  
 
   You shouldn't need to rebuild the kernel if the dev is now created.  I've got an 
ide-scsi cdrw in my box and in order to get the writes to work correctly I had to 
change append devfs=mount to append devfs=nomount.  Once I did it started to burn 
correctly and in fact I haven't had a bad burn (that wasn't by my own foobar) since.  
Maybe this will work with the colorado as well.  This by the way is one of the 
biggest differences between the 8.0 and 8.1 for causing headaches. (IMHO) 
 
 James
 
 
  Hi All,
  
  I have just had to rebuild a server and decided to use 8.1. This box previously 
ran 8.0 with a HP Colorado IDE 14 Gb tape unit. This worked great.
  
  With the 8.1 installed there was no /dev/st0, I assumed that for whatever reason, 
ide-scsi was not installed (8.0 was automatically installed). I have looked about the 
forums and some suggest that the kernel needs to be rebuilt. Other suggestions appear 
to add a line to lilo.conf, hdd=ide-scsi. This instance hda is the boot device and 
hdd in the tape unit. Anyway, with the line added to lilo.conf the /dev/st0 now 
exists but cannot write to the device using normal methods. I guess I am missing 
something.
  
  I really would not like to rebuild the kernel unless I have no choice (never done 
it before) because the box is a P120, so it could take a while.
  
  Any suggestions would be great!
  
  
  DMESG = 'dmesg|grep hd'
  
  Kernel command line: BOOT_IMAGE=scsi ro root=301 hdd=ide-scsi devfs=mount
  ide_setup: hdd=ide-scsi
  ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio
  ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio
  hda: QUANTUM FIREBALL CX20.4A, ATA DISK drive
  hdb: CD-ROM Drive/F5D, ATAPI CD/DVD-ROM drive
  hdd: HP COLORADO 14GB, ATAPI TAPE drive
  hda: 39876480 sectors (20417 MB) w/418KiB Cache, CHS=2482/255/63, UDMA(33)
  hdb: ATAPI 48X CD-ROM drive, 128kB Cache, UDMA(33)
  
  Thanks Dave.
  
  
 
 



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



Re: [expert] What firewall to use in MDK 8.1

2002-01-30 Thread David Stevenson


 
 thanks, but that didn't seem to make any difference. for what ever reason
   iptables -A INPUT -p udp --dport -i ppp0 -j DROP 
 doesn't make any difference. port 139 remains open to the outer interface.
 
Just checking, ppp0 is your external i/face?

Dave.



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



Re: [expert] What firewall to use in MDK 8.1

2002-01-27 Thread David Stevenson

Have you added the line:

iptables -A INPUT -i ppp0 -p udp --dport 139 -j DROP

to your iptables script. 

Dave.

On Sun, 27 Jan 2002 13:42:41 -0500
daRcmaTTeR [EMAIL PROTECTED] wrote:

 On Fri, 25 Jan 2002 07:26:23 -0700
 Lee Roberts [EMAIL PROTECTED] studiouisly spake these words to ponder:
 
  I made the statement that none of my UDP ports are blocked. Most are
  showing closed but there are a couple showing open. I would have expected
  that the default policy would be DENY but that doesn't appear to be the
  case. I'm trying to learn the details about creating iptables so that I
  can resolve this issue. Also, I am allowing access to TCP port 22 (using
  Bastille)  but I can't seem to connect to it even though a port scan shows
  it open (just another problem with Bastille).
  
  Like I previously stated, it's a good thing I don't have anything on the
  Linux box that needs to be secured at this time. :-D
  
  
  
 
 I can relate to the a UDP port needing to be closed, and not being able to
 get it done. At the moment I'd love to get port 139 closed to the outside
 interface, but no matter what it's just not working out that way. Prolly
 something simple that I'm missing.
 
 As for your port 22 if you've got Portsentry running it's very likely that
 it detected your connection attemtp and has done it's thing in blocking
 access to that port. That is a very common occurance. Since you can't
 connect even though a port scan shows it open I'm willing to bet that it's
 cause Portsentry is blocking access.
 
 -- 
 daRcmaTTeR
 
   windows   = where do you want to go today
   Mac   = go where you want, do what you want today
   MDK-linux =  been there, done that, got the tee shirt, why do you ask?
 
 Registered Mandrake Linux User # 186492
 
 
 



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



Re: [expert] What firewall to use in MDK 8.1

2002-01-27 Thread David Stevenson

OK, did you reflush/restart your firewall?

I am not an expert, but this is as far as my firewall knowledge goes.

Dave.

PS. My 139 is closed.

On Sun, 27 Jan 2002 16:38:39 -0500
daRcmaTTeR [EMAIL PROTECTED] wrote:

 On Sun, 27 Jan 2002 20:22:15 -0500
 David Stevenson [EMAIL PROTECTED] studiouisly spake these words to
 ponder:
 
  Have you added the line:
  
  iptables -A INPUT -i ppp0 -p udp --dport 139 -j DROP
  
  to your iptables script. 
  
  Dave.
  
 
 as a matter of fact, yes...i did try that but it didn't seem to help. At the
 time I was having a scan done on my system. That port read as open before
 the rule was added and again after the rule was added. thats why I was
 perplexed about it.
 
 -- 
 daRcmaTTeR
 -
 Registered Linux User 182496
 -
   3:19pm  up 21 days,  5:52,  2 users,  load average: 0.78, 0.53, 0.37
 
 



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



Re: [expert] I want my BKSPC back!

2002-01-26 Thread David Stevenson

On Sat, 26 Jan 2002 16:34:11 +0200
Michel Clasquin [EMAIL PROTECTED] wrote:

 [Well, it looks like the newbie list is stumped, so let's try the big guns]
 
 Hi gang
 
 All of a sardine my backspace key behaves like a delete key - ie it 
 deletes to the right rather than to the left. Please tell me where to fix 
 this - It's driving me insane!
 
 -- 
 Michel Clasquin, D Litt et Phil (Unisa)
 [EMAIL PROTECTED]/unisa.ac.za   http://www.geocities.com/clasqm
 This message was posted from a Microsoft-free PC
 
 All in all, you're just another brick in the wall- Pink Floyd
 
 
 
 
The command 'stty' is your baby, 'stty erase ^H' will sort it (I hope).

Dave.



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



[expert] Laptop pcmcia / ifup

2002-01-20 Thread David Stevenson

Hi All,

Returning to the ongoing saga of getting a firewall installed on a laptop.

I have now aquired a 3-Com PCMCIA card that is recognised by a default install of MDK6 
and 8.0. When I say recognised I mean that 'cardctl' reports the correct card and 
loads the correct driver as detailed in /etc/pcmcia/config. However, the eth0 
interface is not initialised. I get an error telling me that incorrect parameters were 
used for 'ifup'. I think this really means that 'ifup' cannot find the eth0 interface. 
If I manually load the card using 'ifconfig eth0 192.168.0.1' then eth0 works, I can 
ssh to local network OK. 

But why these problems? According to the online docu I have found, the eth0 iface 
always loads.

I think I am missing something obvious here. Can anyone direct me to the obvious?

TIA

Dave.



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



Re: Re[2]: [expert] Firewall install - smoothwall

2002-01-12 Thread David Stevenson

On 12 Jan 2002 12:24:41 +0100
Tobias Marx [EMAIL PROTECTED] wrote:

I was thinking about that, but I am put off by the 32mb or ram min quoted on the MDK 
site. The laptop only has 8mb. I have succesfully loaded mdk 6 and 8 on the laptop, 
although I did not install any WM's or X as I thought it might fall over. I am happy 
configing a machine via manually editing text files. But, does SNF need to install X? 
If I have to buy an old 486'ish box, then I may as well use smoothwall.

Any comments on the SNF and X?

TIA
Dave

 btw, what about mandrake snf (single network firewall)? it's based on
 mandrake 7.2 (ala kernel 2.2.19) and should support every hardware the
 standard mdk 7.2 supports.
 on a first glance it seems as if it supports the same features as
 smoothwall, too. you'll find it here:
 http://www.mandrakesoft.com/products/snf
 
 -- 
 
 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.
 For even the very wise cannot see all ends.
 
 - Gandalf
 
 
 



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