Re: recent Canon printers and Linux

2004-07-27 Thread John Summerfield
Justinas wrote:
On Wed, 28 Jul 2004 10:48:50 +0800
John Summerfield <[EMAIL PROTECTED]> wrote:
 

Has anyone had any success at all with Canon I-series printers and Linux?
The requirement is not to print from Linux itself, but to
a) Attach the (USB-only) printer
b) Share it
c) Use it from Windows and Macs.
It's not the kind of Q&A I usually find at Linux Printing Dot Org.
--
Cheers
John
   

I found them on this site: http://www.canon.co.nz/drivers/index.html , i have been using my i250 @ home on Slackware linux for a while. Thats all, what i remember.
 

That site doesn't navigate in Moz or Firefix:-((
However, I get the feeling it's going to give me Windows drivers.
What I actually want to do is take a file (via CUPS or whatever) and 
write it to the printer with no interpretation or manipulation of the data.

I don't want the ability to create Canon  printer control language: it's 
up to the Mac and Windows computers to do that.  I do want to know 
whether the USB componentry is likely to work.


--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: recent Canon printers and Linux

2004-07-27 Thread Justinas
On Wed, 28 Jul 2004 10:48:50 +0800
John Summerfield <[EMAIL PROTECTED]> wrote:

> Has anyone had any success at all with Canon I-series printers and Linux?
> 
> The requirement is not to print from Linux itself, but to
> a) Attach the (USB-only) printer
> b) Share it
> c) Use it from Windows and Macs.
> 
> It's not the kind of Q&A I usually find at Linux Printing Dot Org.
> 
> 
> -- 
> 
> Cheers
> John
> 

I found them on this site: http://www.canon.co.nz/drivers/index.html , i have been 
using my i250 @ home on Slackware linux for a while. Thats all, what i remember.

_
Justinas Gulbinas
System administrator
[EMAIL PROTECTED]
+37069825520

Patikimi Sprendimai - Open Source Solutions
www.patikimi.lt


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: starting second md device at boot time

2004-07-27 Thread Justin Guerin
On Tuesday 27 July 2004 06:30, Richard Marshall wrote:
> Hello,
>
> I have built a debian sarge system on a dell poweredge with a pair of
> SCSI disks, but no Raid controller. I have sucessfully configured one md
> raid 1 device (/dev/md0, mounted as the / partition) using the sarge
> installer and the system is functioning very well. I am now trying to
> create a second md raid 1 device on the remaing space on the disks
> (approx 60 GB).
>
> I sucessfully create the raid array (/dev/md1) using mdadm, and a cat
> /proc/mdstat show that the device has been created and is working
> correctly. However, when I reboot the machine, the new raid device
> doesn't start, and I have to go through the whole process again.
>
> How do I get this second raid device to start at boot time with the other
> md device?
>
> TIA
>
> Rich

Hi Rich,

Just a few basic questions, since you always try the easy way first.  Are 
your partitions that make up /dev/md1 marked as linux raid autodetect (FD)?  
Is your second raid device present in fstab?

Once those two things are verified, post the boot up output related to the 
second raid array, and maybe we can help more.  Also, post the output 
of /proc/mdstat after the boot.

HTH.

Justin Guerin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



KDE 100% CPU usage - kio_thumbnail - Excel fault

2004-07-27 Thread Prasad Pimple



Hello sir i am also facing the same problem.So can u plz hel me regarding this matter.Coz when ever i open the Microsoft Excel my cpu usage of excel.exe is goes to 100%.Then i have to endtask that exe then my cpu usage goes properly in windows 2000 professional.
So please Can u help me regarding this matter.
Thanking You,
 
Support Team (sam)





Warning: Possible Bug in BIOS DELL Latitude D400_A06 !

2004-07-27 Thread Uwe Dippel
Serious Warning - Possible Bug in BIOS update !

A06 will not support any UNIX-/ LINUX-GUI (at least on this machine).
I tried Debian-Linux ('testing'); and tried OpenBSD 3.5 (multi-boot).

Both will inevitably fail with a light yellow screen and an unresponsive keyboard
(no Ctrl-Alt-Del; neither Ctrl-Alt-Backslash). Only hard reset will help.

This also applies to the (possible) XFree86 configuration method:

# cd
# XFree86 -configure [goes through]
# XFree86 -xf86config /root/XF86config.new [freezes as above]

XP, however, starts well !

Confirmation: I could - puuhh - flash it back to A03 and it is back at 
work without any problems.

DELL must urgently investigate this problem and find out if this is 
machine-specific for my machine or a bug effecting everyone.

I can also confirm, that during both flashing operations no error or 
warning was given; the checksums considered okay.
So I have to assume that the problem is not based on a download-error.

It *may* be machine-specific, though, since I had earlier filed a problem
with DELL that the flashing operation had not been possible from XP. This
problem had been unresolved despite various on- and off-site efforts by
DELL technicians. (ET20040709_004929)

Any BIOS-Update for this type of machine is discouraged as long as it is
not guaranteed to be a problem of an individual machine. Still, YMMV.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Urgent :Dual boot Debian+Mandrake with lilo

2004-07-27 Thread Kent West
Vijaya S wrote:
Exactly i dont get the prompt..how do i get it back?
Kent West wrote:
 

Vijaya S wrote:
   

lba32
boot=/dev/hda
root=/dev/hda3
install=/boot/boot-menu.b
map=/boot/map
menu-title=" Demo machine"
delay=20
vga=normal
default=debian
 

Right about this area, add the two lines:
prompt
timeout=50
This will cause the menu to appear, and will give you 5 seconds (50 
deciseconds) to make a choice before the default image is booted.

image=/boot/vmlinuz-2.4.18-bf2.4
  label="debian"
  root=/dev/hda3
  read-only
image=/mandrake/boot/vmlinuz
  label="Mandrake"
  root=/dev/hda1
  initrd=/mandrake/boot/initrd.img
  read-only
 

--
Kent
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



I/O Card on Debian (model Enter)

2004-07-27 Thread Vijaya S
Hi all,
i have got a I/O Card which is a PCI to 2 Serial Port Card and the Model
is "Enter".
I have inserted into the PCI slot on the MB .
But i am not able to get it working or how do i configure it
The machine is having Debian 2.4.25 kernel on it

lspci -v output:

:00:0a.0 Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual
16550 UART) (rev 01) (prog-if 02 [16550])
Subsystem: Timedia Technology Co Ltd: Unknown device 4037
Flags: stepping, medium devsel, IRQ 5
I/O ports at b000 [size=32]


cat /proc/pci
Serial controller: Timedia Technology Co Ltd PCI2S550 (Dual 16550 UART)
(rev 1).
  IRQ 5.
  I/O at 0xb000 [0xb01f].

/bin.setserial -g /dev/ttyS? gives

/bin/setserial -g /dev/ttyS?
/dev/ttyS0, UART: 16550A, Port: 0x03f8, IRQ: 4
/dev/ttyS1, UART: 16550A, Port: 0x02f8, IRQ: 3
/dev/ttyS4, UART: 16550A, Port: 0xb000, IRQ: 5
/dev/ttyS5, UART: 16550A, Port: 0xb008, IRQ: 5

But when i do a minicom i am not able to get it working?
How do i configure it and get it working
Any modules or commands that i am missing?


Regards,
Vijaya


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Metacity window manager

2004-07-27 Thread Marc Wilson
On Tue, Jul 27, 2004 at 05:00:34PM +0200, Andrei Badea wrote:
> It is just my impression (and please correct me if I'm wrong) that there 
> are two definitions for window manager today:



There aren't.  There's only one.  A window manager manages windows.  It may
bring aditional eye-candy to the scene, but that's all it is.

Oh, and fluxcrap is a single application, not a collection of them.

-- 
 Marc Wilson | WYSIWYG: What You See Is What You Get.
 [EMAIL PROTECTED] |


signature.asc
Description: Digital signature


Re: Metacity window manager

2004-07-27 Thread Marc Wilson
On Tue, Jul 27, 2004 at 11:35:44AM +1200, Simon Kitching wrote:
> I believe Ricky/Mark are correct. The metacity package indeed installs a
> window manager (and just a window manager). The WM/Fluxbox packages are
> actually simple "desktop environments", because they bundle panels, etc.

I wasn't aware of any panel (or anything else) bundled with either one.
Window Maker has the clip and the dock, which are just a place to stash
icons.  Fluxcrap took the old blackbox patch that turned the toolbar into a
list of running applications and made it part of the window manager.

-- 
 Marc Wilson | "The whole problem with the world is that fools and
 [EMAIL PROTECTED] | fanatics are always so certain of themselves, but
 | wiser people so full of doubts."  -- Bertrand Russell


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Urgent :Dual boot Debian+Mandrake with lilo

2004-07-27 Thread Alvin Oga


On Wed, 28 Jul 2004, Vijaya S wrote:

> Exactly i dont get the prompt..how do i get it back?

add the prompt back in and also wait 5 seconds before booting
( delay and timeout is interchanged sometimes )

c ya
alvin

> > >Demo:/home/vijaya# cat /etc/lilo.conf
> > >lba32
> > >boot=/dev/hda
> > >root=/dev/hda3
> > >install=/boot/boot-menu.b
> > >map=/boot/map
> > >menu-title=" Demo machine"
> > >delay=20
> > >vga=normal

prompt
timeout 50

> > >default=debian
> > >
> > >


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samba as a PDC

2004-07-27 Thread Ritesh Raj Sarraf
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Tue, 27 Jul 2004, Clement wrote:

> Ritesh Raj Sarraf wrote:
>
> >-BEGIN PGP SIGNED MESSAGE-
> >Hash: SHA1
> >
> >On Tue, 27 Jul 2004, Clement wrote:
> >
> >
> >
> >>Tried to setup Samba 3.0.4-5 on Sarge as a PDC.  Tried very hard to read
> >>the docs and sample configure to no success.  When connecting a W2k
> >>client, I get this error:
> >>
> >>"... Logon failure: unknown user name or bad password."
> >>
> >> From the samba log file, I found this:
> >>
> >>[2004/07/27 03:42:44, 0] lib/util_sock.c:get_peer_addr(978)
> >>  getpeername failed. Error was Transport endpoint is not connected
> >>[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket_data(413)
> >>  write_socket_data: write failure. Error = Connection reset by peer
> >>[2004/07/27 03:42:44, 0] lib/util_sock.c:write_socket(438)
> >>  write_socket: Error writing 4 bytes to socket 22: ERRNO = Connection
> >>reset by peer
> >>[2004/07/27 03:42:44, 0] lib/util_sock.c:send_smb(630)
> >>  Error writing 4 bytes to client. -1. (Connection reset by peer)
> >>
> >>I googled the error message and did not find anything helpful.  Please help
> >>
> >>Here is the smb.conf:
> >>
> >>[global]
> >>workgroup = WORKGROUP
> >>server string = %h server (Samba %v)
> >>obey pam restrictions = Yes
> >>smb passwd file = /var/lib/samba/passdb.tdb
> >>passdb backend = tdbsam, guest
> >>passwd program = /usr/bin/passwd %u
> >>passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
> >>*Retype\snew\sUNIX\spassword:* %n\n .
> >>syslog = 0
> >>log file = /var/log/samba/log.%m
> >>max log size = 1000
> >>dns proxy = No
> >>ldap ssl = no
> >>panic action = /usr/share/samba/panic-action %d
> >>invalid users = root
> >>browseable = yes
> >>
> >>
> >>
> >try commenting the "invalid users = root" line and try.
> >might be that help.
> >
> Thank you very much for your suggestion.  Unfortunately it does not help.
>
> By the way, what is the "DOMAIN" name for the Windows clients?  There is
> not "DOMAIN" name parameter in the samba configure file.  Only the
> WORKGROUP!
>
> Regards,
> Clement
>
>
>
You need to make your client machine part of the Samba Domain and to do
that you need "root" privileges. Also remember that the smb.conf file
needs a "adduser" script line in it to add client machines to it's
database for "Trust Accounts". RTFM.

rrs

- -- 
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Made with pgp4pine 1.76

iD8DBQFBBy0/4Rhi6gTxMLwRAsbtAJ0cKNwa+hdh8lIkRcToUMK+CBrD7QCgtj4Y
KiODy25hBPJZpGf9t2aYtVg=
=j+Pt
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Urgent :Dual boot Debian+Mandrake with lilo

2004-07-27 Thread Vijaya S
Exactly i dont get the prompt..how do i get it back?

Kent West wrote:

> Vijaya S wrote:
>
> >Hi kent,
> >Could u pls help me in this
> >I am nt able to get he lilo options of debian and mandrake although i have the
> >entries in lilo.conf.
> >I get no errors when i run lilo
> >Demo:/home/vijaya# cat /etc/lilo.conf
> >lba32
> >boot=/dev/hda
> >root=/dev/hda3
> >install=/boot/boot-menu.b
> >map=/boot/map
> >menu-title=" Demo machine"
> >delay=20
> >vga=normal
> >default=debian
> >
> >
> >
> >
> >
> >
> >image=/boot/vmlinuz-2.4.18-bf2.4
> >label="debian"
> >root=/dev/hda3
> >read-only
> >
> >image=/mandrake/boot/vmlinuz
> >label="Mandrake"
> >root=/dev/hda1
> >initrd=/mandrake/boot/initrd.img
> >read-only
> >
> >
> >
> I'm a little concerned about the "/mandrake" portion of the initrd line
> in the Mandrake stanza, but other than that, it looks pretty good. I do
> notice you don't have a "prompt" line, which means you won't get a
> prompt for which system you want to boot into; it'll just rush into the
> default ("debian", in this case) system.
>
> --
> Kent
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



mbr RE: Requesting advice on s/w RAID-1 install

2004-07-27 Thread Alvin Oga

On Wed, 28 Jul 2004, Steven Jones wrote:

> Please explain how grub/lilo/mbr gets accessed when the first disk is not there?
> From experience most intel based bioses are not bright enough to go
searching for another disk if 0x80 is not present.

your bios already have the otion built in ..

boot form hdc, boot from hda, boot from cd, boot from floppy... boot from
network ... you pick ...

for raid   if you have configured it correctly ...
all the boot info is in the mbr of each disk hda and hdc if those
are the ones used for /dev/md0

for how all that works ... not many documents on that .. ( the boot
process going down to asm instruction sequence )

grub would be a bad choice for booting raid boxes since it likes to
read the disks before it decides what to do, and cant read the
disk go get its info since it cant talk to it yet

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: mbr RE: Requesting advice on s/w RAID-1 install

2004-07-27 Thread Steven Jones
This must depend on the bios, all the ones I have seen did not allow this. 

regards

S

-Original Message-
From: Alvin Oga [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 July 2004 3:52 p.m.
To: Steven Jones
Cc: [EMAIL PROTECTED]
Subject: mbr RE: Requesting advice on s/w RAID-1 install



On Wed, 28 Jul 2004, Steven Jones wrote:

> Please explain how grub/lilo/mbr gets accessed when the first disk is not there?
> From experience most intel based bioses are not bright enough to go
searching for another disk if 0x80 is not present.

your bios already have the otion built in ..

boot form hdc, boot from hda, boot from cd, boot from floppy... boot from
network ... you pick ...

for raid   if you have configured it correctly ...
all the boot info is in the mbr of each disk hda and hdc if those
are the ones used for /dev/md0

for how all that works ... not many documents on that .. ( the boot
process going down to asm instruction sequence )

grub would be a bad choice for booting raid boxes since it likes to
read the disks before it decides what to do, and cant read the
disk go get its info since it cant talk to it yet

c ya
alvin




RE: Requesting advice on s/w RAID-1 install

2004-07-27 Thread Alvin Oga


On Wed, 28 Jul 2004, Steven Jones wrote:

> If you lose the first disk the machine's bios wont pick the second disk, 
> so the machine will not be bootable anyway. 

when the raid disks and kernel and grub/lilo are configured properly,
than it will boot of either/any number of disks in raid1  when the
other one is dead
 
> My advise, go to hardware raid pci plugin card for the OS. 

not worth the extra $$$ ... cheaper to buy 3-5 new spare disks
in lieu of one $300 hw raid card

c ya
alvin
 
> Sorry for asking this 

better to ask than to dive in blindly

> already, but I'm getting in to information overload

yup

> Short and to the point: the goal is to get software RAID-1 going on a new
> installation to be used as a home server for files and e-mail.  I need to
> decide how I'm going to go about doing this.

dont bother with your disk and wife's disk 

keep both disks separate, and backup the other's data to each others disks
on 2 different PCs

>  Should I install the system
> first, then get the RAID going?  Or would it be easier to do RAID from the
> start?

it is 10x easier to install the first time into raid ..
- you will need to configure /dev/md0  for / manually
along with /dev/md1 for /tmp, /dev/md2 for /var, /dev/md3 for
/usr, etc, etc before installing the distro

> I want *everything* mirrored (including /boot and the root).  The
> idea is that if the primary drive crashes, I can take it out, smash it with
> a hammer, re-plug the cable and boot from the mirror drive as if nothing
> ever happened

if its properly configured, you do NOT need to touch anything other
than pull the dead disk and smash it the hammer

and hopefully install the replacement disk before the 2nd disk dies

- usually, if disks dies, identical disks will all die within 30-60 days
  of each other under the same conditions

> (yeah, I know the RAID will be degraded until I can replace
> the smashed drive, this is fine).  Also, should I look at LVM or EVMS, or
> are they overkill?

lvm just allows you to [dynamically] grow /home if you run out of space
and grow it onto your new pair of [raid'd] disk drives

> My wife and I had a server (running Sarge) with a 60G and a 40G drive in it
> that we were using for file storage and e-mail.  The drives were getting a
> bit full, and I had been planning on adding another drive to the mix.

- delete the spam ...
- compress last years emails 

> However, last week the 60G drive crashed. 

:-)

> Our most recent backup is about 5
> weeks old (yes, a better backup plan is also definitely on my to-do list...

find /home -mtime -7 -type f | tar zcf /mnt/backup/todays.date.tgz -T -
- run it from cron

raid will NOT solve your backup probelms..
- you're assuming raid is working properly too when you haven;t
check that its raiding all your data

> I'll figure that out as soon as the system is working again).  My wife used
> to work in the mainframe world, and her comment was "I told you we should
> have had a tandem system."  D'oh!

tandem was bought by ??? than bought by cray and bought by sgi than compaq
than hp ... ( it's back in palo alto where it all started )

> I tend to agree, so I've scrapped my idea about adding more drives, and now
> I'm planning on just getting two 200G drives and hooking them up in a RAID-1
> array to provide mirroring.

more data to mirror and mroe data to be lost :-)

>  The 40 will be coming out once I copy the files
> off of it.  The drives will be parallel ATA, as I'm on a budget and don't
> need the performance of S-ATA or SCSI.

leave the 40GB in there for backups  
- lots of jpgs/mpegs wont be compressed much, but text files
easily compresses 10x

> There is a bit of a drawback in that the motherboard I'm using is a bit old.
> It works and it's free, but the on-board controller won't support any drive
> larger than 80G.  I'm going to get a Promise controller for the new drives.

promise is good for sw raid ...

but if oyu use 200GB raid disks... you will NOT be able to boot from
it .. bios just too old

> I figure I'll have one drive on each bus of the add-on controller, and leave
> the CD burner on the motherboard controller.

good idea ... or better still ... get a free (new) motherboard when you
buy 2x 200GB disks

> Even though we only have two users (both trusted), I like to have things
> like /boot, /var, /tmp, /home, /usr and so forth split off in their own
> partitions.

always a good idea and those partitions is NOT an issue with people
but how long to fix the machine when it breaks

>  I always figured that if I needed to re-size any partitions, I
> would use Partition Magic.

bad idea ... just use fdisk/cfisk 
- make sure all raid partitions are "FD" type

>  It works great for me, and downtime is not a
> huge problem.  However, I'm guessing that PM isn't really a good idea on a
> RAID (anyone know for sure?).

yup and pm costs $$$

>  For this reason, I've been looking

Re: recent Canon printers and Linux

2004-07-27 Thread Mark A. Garland
On Wed, Jul 28, 2004 at 10:48:50AM +0800, John Summerfield wrote:
> Has anyone had any success at all with Canon I-series printers and Linux?
> 
> The requirement is not to print from Linux itself, but to
> a) Attach the (USB-only) printer
> b) Share it
> c) Use it from Windows and Macs.
> 
> It's not the kind of Q&A I usually find at Linux Printing Dot Org.
> 
> 
> -- 
> 
> Cheers
> John
> 

I have a Canon i560 parallel-port printer hooked up to my Debian
unstable system.  Windows/Mac drivers came with the printer.  For
Linux, I had to use TurboPrint for the driver
(http://www.turboprint.de/english.html).  It's about US$35.00 if you
want full functionality, but works nicely.

I don't have any experience sharing it over a network.

-- 
Mark A. Garland
1016 NE 12th Avenue
Gainesville, Florida 32601
U.S.A.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Requesting advice on s/w RAID-1 install

2004-07-27 Thread Steven Jones
?

Please explain how grub/lilo/mbr gets accessed when the first disk is not there?

>From experience most intel based bioses are not bright enough to go searching for 
>another disk if 0x80 is not present.

regards

S


-Original Message-
From: Alvin Oga [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 July 2004 3:38 p.m.
To: Steven Jones
Cc: [EMAIL PROTECTED]
Subject: RE: Requesting advice on s/w RAID-1 install




On Wed, 28 Jul 2004, Steven Jones wrote:

> If you lose the first disk the machine's bios wont pick the second disk, 
> so the machine will not be bootable anyway. 

when the raid disks and kernel and grub/lilo are configured properly,
than it will boot of either/any number of disks in raid1  when the
other one is dead
 
> My advise, go to hardware raid pci plugin card for the OS. 

not worth the extra $$$ ... cheaper to buy 3-5 new spare disks
in lieu of one $300 hw raid card

c ya
alvin
 
> Sorry for asking this 

better to ask than to dive in blindly

> already, but I'm getting in to information overload

yup

> Short and to the point: the goal is to get software RAID-1 going on a new
> installation to be used as a home server for files and e-mail.  I need to
> decide how I'm going to go about doing this.

dont bother with your disk and wife's disk 

keep both disks separate, and backup the other's data to each others disks
on 2 different PCs

>  Should I install the system
> first, then get the RAID going?  Or would it be easier to do RAID from the
> start?

it is 10x easier to install the first time into raid ..
- you will need to configure /dev/md0  for / manually
along with /dev/md1 for /tmp, /dev/md2 for /var, /dev/md3 for
/usr, etc, etc before installing the distro

> I want *everything* mirrored (including /boot and the root).  The
> idea is that if the primary drive crashes, I can take it out, smash it with
> a hammer, re-plug the cable and boot from the mirror drive as if nothing
> ever happened

if its properly configured, you do NOT need to touch anything other
than pull the dead disk and smash it the hammer

and hopefully install the replacement disk before the 2nd disk dies

- usually, if disks dies, identical disks will all die within 30-60 days
  of each other under the same conditions

> (yeah, I know the RAID will be degraded until I can replace
> the smashed drive, this is fine).  Also, should I look at LVM or EVMS, or
> are they overkill?

lvm just allows you to [dynamically] grow /home if you run out of space
and grow it onto your new pair of [raid'd] disk drives

> My wife and I had a server (running Sarge) with a 60G and a 40G drive in it
> that we were using for file storage and e-mail.  The drives were getting a
> bit full, and I had been planning on adding another drive to the mix.

- delete the spam ...
- compress last years emails 

> However, last week the 60G drive crashed. 

:-)

> Our most recent backup is about 5
> weeks old (yes, a better backup plan is also definitely on my to-do list...

find /home -mtime -7 -type f | tar zcf /mnt/backup/todays.date.tgz -T -
- run it from cron

raid will NOT solve your backup probelms..
- you're assuming raid is working properly too when you haven;t
check that its raiding all your data

> I'll figure that out as soon as the system is working again).  My wife used
> to work in the mainframe world, and her comment was "I told you we should
> have had a tandem system."  D'oh!

tandem was bought by ??? than bought by cray and bought by sgi than compaq
than hp ... ( it's back in palo alto where it all started )

> I tend to agree, so I've scrapped my idea about adding more drives, and now
> I'm planning on just getting two 200G drives and hooking them up in a RAID-1
> array to provide mirroring.

more data to mirror and mroe data to be lost :-)

>  The 40 will be coming out once I copy the files
> off of it.  The drives will be parallel ATA, as I'm on a budget and don't
> need the performance of S-ATA or SCSI.

leave the 40GB in there for backups  
- lots of jpgs/mpegs wont be compressed much, but text files
easily compresses 10x

> There is a bit of a drawback in that the motherboard I'm using is a bit old.
> It works and it's free, but the on-board controller won't support any drive
> larger than 80G.  I'm going to get a Promise controller for the new drives.

promise is good for sw raid ...

but if oyu use 200GB raid disks... you will NOT be able to boot from
it .. bios just too old

> I figure I'll have one drive on each bus of the add-on controller, and leave
> the CD burner on the motherboard controller.

good idea ... or better still ... get a free (new) motherboard when you
buy 2x 200GB disks

> Even though we only have two users (both trusted), I like to have things
> like /boot, /var, /tmp, /home, /usr and so forth split off in their own
> partitions.

always a good idea and those partitions is NOT an issue with people
but how long to fix the mac

Re: Cups can't start with error 98

2004-07-27 Thread Tim Connors
CW Harris <[EMAIL PROTECTED]> said on Tue, 27 Jul 2004 10:56:44 -0600:
> I believe I'm starting to know more about CUPS than I really want to.
> If the following solves your problem, we both need to RTFM better ;-)
> 
> On Tue, Jul 27, 2004 at 12:09:56PM +1000, Tim Connors wrote:
> [...]
> > Nothing interesting, but I did notice one more line of output that I
> > didn't before:
> > 
> > I [27/Jul/2004:12:04:46 +1000] Listening to 0:631
> > I [27/Jul/2004:12:04:46 +1000] Listening to c0a80102:631
> 
> I believe this is a configuration error in your cupsd.conf
> I can replicate this error with the following:
>   Port 631
>   Listen 192.168.1.2:631
> 
> I think the Port directive binds to *any* address on 631.  The second
> directive tries to bind 192.168.1.2 on port 631, but that is already
> taken with the *any* address on 631.  So I *think* you can either let it
> bind to *any* address and not have a listen directive.  Or remove the
> port directive and list the address/ports you want it to listen on (you
> may need to allow it to listen on 127.0.0.1)

Aha. I wonder when that LISTEN line crept in? Cups was working at some
point in time, then I went and screwed it. :)

Thanks.

-- 
TimC -- http://astronomy.swin.edu.au/staff/tconnors/
PUBLIC NOTICE AS REQUIRED BY LAW: Any Use of This Product, in Any Manner 
Whatsoever, Will Increase the Amount of Disorder in the Universe. Although No 
Liability Is Implied Herein, the Consumer Is Warned That This Process Will 
Ultimately Lead to the Heat Death of the Universe.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: trouble with CUPS

2004-07-27 Thread Uli Paul
Hi Florian,
I had and I still have problems with CUPS - although not more, but 
simply different problems from the lpr, apsfilter & Co programs I used 
before.

After some weeks into the CUPS domain I still run into mysteries. Some 
mysteries were there with BSD printing, but now some new appeared and 
some old disappeared 8-)

What I found out is: Very often it makes a difference whether I issue a
lp 
on the command line or try to print it from an application. And it is 
not file-type-specific! Some PDFs I can _only_ print from the command 
line, some _only_ from acroread, some _only_ from gv and a couple of 
them from 2 of the mentioned environments. I do not know what makes the 
difference, although I learned, that some PDFs from some sources need a 
special treatment (print on terminal or print from acroread or print 
from gv).

This is, of course, no great help for you, but it should comfort you: 
you are not alone.

Uli
--
Ulrich Paul Paul Elektronik, Erlenweg 18, D-86391 Stadtbergen
mailto:[EMAIL PROTECTED] http://www.paul.de Tel: +49-821-156888-0 Fax:
+49-821-156888-7
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Requesting advice on s/w RAID-1 install

2004-07-27 Thread Steven Jones
If you lose the first disk the machine's bios wont pick the second disk, 
so the machine will not be bootable anyway. 

It will probably stay up provided the disks are on sepearate channels, if they are on 
the same one there is a good chance when one disk dies it will lock out the ide 
channel it is on and hence take out the second disk.

My advise, go to hardware raid pci plugin card for the OS. 

regards

S

-Original Message-
From: Jason Bleazard [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 July 2004 2:45 p.m.
To: [EMAIL PROTECTED]
Subject: Requesting advice on s/w RAID-1 install


Sorry for asking this when I know there's a lot of documentation out there
already, but I'm getting in to information overload and I'd appreciate any
suggestions or opinions on the "best" or "easiest" or "most efficient" or
"most reliable" way to do what I want.  I write these things in quotes
because I'm expecting opinions to vary, which is fine.

Short and to the point: the goal is to get software RAID-1 going on a new
installation to be used as a home server for files and e-mail.  I need to
decide how I'm going to go about doing this.  Should I install the system
first, then get the RAID going?  Or would it be easier to do RAID from the
start?  I want *everything* mirrored (including /boot and the root).  The
idea is that if the primary drive crashes, I can take it out, smash it with
a hammer, re-plug the cable and boot from the mirror drive as if nothing
ever happened (yeah, I know the RAID will be degraded until I can replace
the smashed drive, this is fine).  Also, should I look at LVM or EVMS, or
are they overkill?

More info:

My wife and I had a server (running Sarge) with a 60G and a 40G drive in it
that we were using for file storage and e-mail.  The drives were getting a
bit full, and I had been planning on adding another drive to the mix.
However, last week the 60G drive crashed.  Our most recent backup is about 5
weeks old (yes, a better backup plan is also definitely on my to-do list...
I'll figure that out as soon as the system is working again).  My wife used
to work in the mainframe world, and her comment was "I told you we should
have had a tandem system."  D'oh!

I tend to agree, so I've scrapped my idea about adding more drives, and now
I'm planning on just getting two 200G drives and hooking them up in a RAID-1
array to provide mirroring.  The 40 will be coming out once I copy the files
off of it.  The drives will be parallel ATA, as I'm on a budget and don't
need the performance of S-ATA or SCSI.

There is a bit of a drawback in that the motherboard I'm using is a bit old.
It works and it's free, but the on-board controller won't support any drive
larger than 80G.  I'm going to get a Promise controller for the new drives.
I figure I'll have one drive on each bus of the add-on controller, and leave
the CD burner on the motherboard controller.

Even though we only have two users (both trusted), I like to have things
like /boot, /var, /tmp, /home, /usr and so forth split off in their own
partitions.  I always figured that if I needed to re-size any partitions, I
would use Partition Magic.  It works great for me, and downtime is not a
huge problem.  However, I'm guessing that PM isn't really a good idea on a
RAID (anyone know for sure?).  For this reason, I've been looking at either
LVM on RAID, or just using EVMS for everything.  EVMS in particular sounds
pretty cool from what I've read, but it might be overkill for me.  There's
also the question of / and /boot... but I have seen documentation that talks
about options for dealing with those on either RAID or EVMS, so I know it
can be done.

I do have an old 8G drive that I could put in there temporarily if needed.
I was thinking about installing to that, then creating a RAID on the 200G
drives, then copying everything over to them.  I thought it might be easier
to set up the RAID on clean drives than it would be if the drives were in
use.

I've also noticed that the beta debian-installer for Sarge supports RAID and
LVM at install time.  I've seen lots of bug reports on it though, so I'm a
little hesitant to try it.  I suppose I don't really have anything to lose
if it doesn't work, as I can always switch to a different plan.  Also, I'd
kind of prefer EVMS to LVM, and I don't see anything about EVMS in the
installer.  At this point I think EVMS has some nice features that make it
look like the better choice, but as long as things work it's not a huge
issue.

Alternatively, I've read
http://www.linuxmafia.com/faq/Debian/installers.html and noticed that a
number of those support RAID and/or LVM installations.  Perhaps someone can
recommend a good installer for what I need?  I have a couple of workstations
still up and running with CD or DVD burners, and a nice fast DSL connection,
so I'm fine with net installs, downloading ISO images, or whatever.

About the bootloader, I've always used LILO in the past, as it worked for me
and I never had any good 

kde konsole & unicode not working

2004-07-27 Thread chymian
hi,
using sarge and kde 3.2.3, trying to set up the konsole to display
german charset does not work.
when i type umlaut a u o, get a twobyte output like:
Ã: ÃÂ
Ã: Ãâ ...

have set unicode font in setup of konsole.

unicode is working at console
and uxterm, as well as in other applications.

~/.kde/share/apps/konsole looks like:
[Desktop Entry]
Cwd=
Exec=
Font=8
Icon=openterm
KeyTab=
Name=Befehlsfenster
Schema=
Term=xterm
Type=KonsoleApplication
Encoding=UTF-8

# environment
export  [EMAIL PROTECTED]
export  [EMAIL PROTECTED]
export   [EMAIL PROTECTED]
export  [EMAIL PROTECTED]
export  [EMAIL PROTECTED]
export[EMAIL PROTECTED]
export   [EMAIL PROTECTED]
export[EMAIL PROTECTED]
export   [EMAIL PROTECTED]
export   [EMAIL PROTECTED]
export  [EMAIL PROTECTED]
export   [EMAIL PROTECTED]
export[EMAIL PROTECTED]
export  [EMAIL PROTECTED]
export[EMAIL PROTECTED]
export [EMAIL PROTECTED]
exportLC_ALL=
export[EMAIL PROTECTED]

$ cat /etc/locale.gen
de_DE.UTF-8 UTF-8
[EMAIL PROTECTED] UTF-8
[EMAIL PROTECTED] ISO-8859-15

$ zcat /usr/X11R6/lib/X11/fonts/misc/console8x*.pcf.gz | strings | grep
Misc
Misc
-Misc-Console-Medium-R-Normal--16-160-72-72-C-80-ISO10646-1
Misc
-Misc-Console-Medium-R-Normal--8-80-72-72-C-80-ISO10646-1


any hints
TIA & cheers
gÃnter


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



danger - Re: cloning hdb4 to another machine

2004-07-27 Thread Alvin Oga

hi ya wanda

On Tue, 27 Jul 2004, Wanda Round wrote:

> > mount 2omiles-away:/somedirectory /mnt/clone
...
> Boy do I feel confused. I'm blanking out on how to 
> mount the distant hard drive when I can't network to
> it. (Dialup at home, NO permission at work)

on the 20miles away machine:
- make sure /home is exported in /etc/exports
- make sure it only allows nfs from your one ip# on your home pc

- make sure IT at work knows about it

on the home pc
- try the mount tests and ssh tests

ssh [EMAIL PROTECTED] date

-- and similarly they can do "rm -rf /" instead of date

mount 20miles-away:/somedirectory /mnt/clone
ls -la /mnt/clone
- if you see stuff .. you're in ( for good or bad )
  # do the magic...
- scp -p /mnt/clone/files-you-want /other-box

umount /mnt/clone

i assume that by "no permission" it just that the computers
think you do not have permission, and the the folks
at work are willing to let you have work data at home

on the other hand,
one should confirm the "work at home" stuff with the boss
and than have the it folks turn on a little hole in their
corp firewall for you and whom in turn can tell you the
easiest way to get to your data at work 
- nfs ( bad idea if its not encrypted )
- ssh ( bad idea if it's password-less )
- vpn ( bad idea, since corp IT cannot harden your home network)
- sneakernet ( cdrom, usb, camera, cellphones, .. )
- others

( nope, was not a "howto-commit-industrial-espionage" )

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



recent Canon printers and Linux

2004-07-27 Thread John Summerfield
Has anyone had any success at all with Canon I-series printers and Linux?
The requirement is not to print from Linux itself, but to
a) Attach the (USB-only) printer
b) Share it
c) Use it from Windows and Macs.
It's not the kind of Q&A I usually find at Linux Printing Dot Org.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cloning hdb4 to another machine

2004-07-27 Thread John Summerfield

Alvin and Thomas, 

Boy do I feel confused. I'm blanking out on how to 
mount the distant hard drive when I can't network to
it. (Dialup at home, NO permission at work)
 

That wasn't in the problem description.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



subdomain NS, making another subdomain on a subdomain

2004-07-27 Thread Louie Miranda
I been given a subdomain, is it possible to make this as another NS?
and is it also possible to manage this subdomain NS and make another
subdomain like

sub.subdomain.example.com

with-out adding entries on the main example.com domain?

Would a "NS" record for bind work on a subdomain entry?

-- 
Louie Miranda
http://www.axishift.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Requesting advice on s/w RAID-1 install

2004-07-27 Thread Jason Bleazard
Sorry for asking this when I know there's a lot of documentation out there
already, but I'm getting in to information overload and I'd appreciate any
suggestions or opinions on the "best" or "easiest" or "most efficient" or
"most reliable" way to do what I want.  I write these things in quotes
because I'm expecting opinions to vary, which is fine.

Short and to the point: the goal is to get software RAID-1 going on a new
installation to be used as a home server for files and e-mail.  I need to
decide how I'm going to go about doing this.  Should I install the system
first, then get the RAID going?  Or would it be easier to do RAID from the
start?  I want *everything* mirrored (including /boot and the root).  The
idea is that if the primary drive crashes, I can take it out, smash it with
a hammer, re-plug the cable and boot from the mirror drive as if nothing
ever happened (yeah, I know the RAID will be degraded until I can replace
the smashed drive, this is fine).  Also, should I look at LVM or EVMS, or
are they overkill?

More info:

My wife and I had a server (running Sarge) with a 60G and a 40G drive in it
that we were using for file storage and e-mail.  The drives were getting a
bit full, and I had been planning on adding another drive to the mix.
However, last week the 60G drive crashed.  Our most recent backup is about 5
weeks old (yes, a better backup plan is also definitely on my to-do list...
I'll figure that out as soon as the system is working again).  My wife used
to work in the mainframe world, and her comment was "I told you we should
have had a tandem system."  D'oh!

I tend to agree, so I've scrapped my idea about adding more drives, and now
I'm planning on just getting two 200G drives and hooking them up in a RAID-1
array to provide mirroring.  The 40 will be coming out once I copy the files
off of it.  The drives will be parallel ATA, as I'm on a budget and don't
need the performance of S-ATA or SCSI.

There is a bit of a drawback in that the motherboard I'm using is a bit old.
It works and it's free, but the on-board controller won't support any drive
larger than 80G.  I'm going to get a Promise controller for the new drives.
I figure I'll have one drive on each bus of the add-on controller, and leave
the CD burner on the motherboard controller.

Even though we only have two users (both trusted), I like to have things
like /boot, /var, /tmp, /home, /usr and so forth split off in their own
partitions.  I always figured that if I needed to re-size any partitions, I
would use Partition Magic.  It works great for me, and downtime is not a
huge problem.  However, I'm guessing that PM isn't really a good idea on a
RAID (anyone know for sure?).  For this reason, I've been looking at either
LVM on RAID, or just using EVMS for everything.  EVMS in particular sounds
pretty cool from what I've read, but it might be overkill for me.  There's
also the question of / and /boot... but I have seen documentation that talks
about options for dealing with those on either RAID or EVMS, so I know it
can be done.

I do have an old 8G drive that I could put in there temporarily if needed.
I was thinking about installing to that, then creating a RAID on the 200G
drives, then copying everything over to them.  I thought it might be easier
to set up the RAID on clean drives than it would be if the drives were in
use.

I've also noticed that the beta debian-installer for Sarge supports RAID and
LVM at install time.  I've seen lots of bug reports on it though, so I'm a
little hesitant to try it.  I suppose I don't really have anything to lose
if it doesn't work, as I can always switch to a different plan.  Also, I'd
kind of prefer EVMS to LVM, and I don't see anything about EVMS in the
installer.  At this point I think EVMS has some nice features that make it
look like the better choice, but as long as things work it's not a huge
issue.

Alternatively, I've read
http://www.linuxmafia.com/faq/Debian/installers.html and noticed that a
number of those support RAID and/or LVM installations.  Perhaps someone can
recommend a good installer for what I need?  I have a couple of workstations
still up and running with CD or DVD burners, and a nice fast DSL connection,
so I'm fine with net installs, downloading ISO images, or whatever.

About the bootloader, I've always used LILO in the past, as it worked for me
and I never had any good reason to switch to Grub.  However, it looks like
Grub understands /boot being in a RAID better than LILO does, so it might be
time to go with Grub.  I know it's possible to do this with LILO, but if
Grub is easier to work with that makes it good in my book.

Anyway, I'd appreciate any opinions, suggestions, ideas or pointers to good
information that would be relevant to my situation.  I've quickly read
through the mailing list archives as well as the HOWTOs for software RAID,
LVM and EVMS, but like I mentioned I'm getting a bit of information overload
and I'm not sure which way to go.  Just ask

Re: How do I read a Mac disk on Linux.

2004-07-27 Thread John Summerfield


I don't know just when the hfsplus driver first appeared: I "just 
assumed" it's not in the Woody kernel coz it's too new and so I just 
went for the newest kernel I thought would be easy, without going to 
backports.

  I used it somewhere around 2.4.20, don't remember exactly which one 
(2.4.23?) so 2.4.19 might be good enough...

Anyway, the time for talking is past and I'll be attaching it to my 
Powerbook later today, and after that the drive will be reformatted 
for Linux.

  come on, there's no need for such give-up attitude! :-)

I have a job to get done. I may revisit in the future, but I expect it 
to be simple with Sarge.

Woody is just too old.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How can I get all IP transactions (in/out) logged?

2004-07-27 Thread John Summerfield
James Foster wrote:
The log will be _enormous_  and I mean __enormous__
   

It seems to me that the log won't necessarily be very large. It really
depends on how the connection is being used, doesn't it? An hours
worth of log from a dialup connection couldn't be very large, for
example.
 

I regularly pull 5K bytes/sec. That's a lot of transactions p/h, even on 
dialup.

It does depend on _how much_ is logged.
--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samba as a PDC

2004-07-27 Thread Clement
Debian Users wrote:
On Tue, 27 Jul 2004, Clement wrote:
C> Tried to setup Samba 3.0.4-5 on Sarge as a PDC.  Tried very hard to read
C> the docs and sample configure to no success.  When connecting a W2k
C> client, I get this error:
C>
C> "... Logon failure: unknown user name or bad password."
Maybe a stupid question of mine, but have you created the corresponding
Samba users? I think the command is "smbpasswd -a " or something
like that. I remember having similar problems which disppeared when
entering the correct users.
Also, the user name must be specified accordingly in the Windoze client,
e.g. in the "connect network drive" dialog.
Cheers and good luck, Stefan
Both the user, clement, and machine name, clement$ were created with 
smbpasswd -a and smbpasswd -a -m respectively.  Yes, both user and 
machine name are the same.  Is there any other suggestions?

Regards,
Clement
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: How can I get all IP transactions (in/out) logged?

2004-07-27 Thread Steven Jones
You could run a squid proxy on the box and redirect http requests, this will log.

Assuming you only want http of course.

I just looked at my squid logs, for 1 squid server (we run 2 in parallel with DNS 
round-robin) the log is 350meg to 1.3gig per day per serverthats just http

regards

S

-Original Message-
From: James Foster [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 July 2004 1:54 p.m.
To: debian helping
Subject: Re: How can I get all IP transactions (in/out) logged?


> The log will be _enormous_  and I mean __enormous__

It seems to me that the log won't necessarily be very large. It really
depends on how the connection is being used, doesn't it? An hours
worth of log from a dialup connection couldn't be very large, for
example.

Of course, on a broadband connection with lots of websites being
visited or files being downloaded, the log would become quite large
fairly quickly.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: Re: cloning hdb4 to another machine

2004-07-27 Thread Wanda Round
-Original Message-
From: Alvin Oga <[EMAIL PROTECTED]>
To: Wanda Round <[EMAIL PROTECTED]>
Date: Tue, 27 Jul 2004 18:11:50 -0700 (PDT)
Subject: Re: Re: cloning hdb4 to another machine


hi ya 

On Tue, 27 Jul 2004, Wanda Round wrote:

> current# mkdir /mnt/clone
> current# mount target:/mnt/hdb3 /mnt/clone

..
 
> I have 2 different machines. I want hdb4 on one machine
> cloned to hdb3 on the other machine. The machines are
> about 20 miles apart (home and work).

mount 2omiles-away:/somedirectory /mnt/clone

> 
> The suggestions will come in very handy when I need to
> clone on the same drive.

the tar cloning works for different drives on same pc or different pc

Alvin and Thomas, 

Boy do I feel confused. I'm blanking out on how to 
mount the distant hard drive when I can't network to
it. (Dialup at home, NO permission at work)

I do appreciate all the help; was hoping for a "write 
to CD, then transfer to distant machine" method.

I'll ponder your directions and see if I can make them
work. Just blank right now.

--
Wanda



Re: Re: Re: cloning hdb4 to another machine

2004-07-27 Thread Wanda Round
-Original Message-
From: Alvin Oga <[EMAIL PROTECTED]>
To: Wanda Round <[EMAIL PROTECTED]>
Date: Tue, 27 Jul 2004 18:11:50 -0700 (PDT)
Subject: Re: Re: cloning hdb4 to another machine


hi ya 

On Tue, 27 Jul 2004, Wanda Round wrote:

> current# mkdir /mnt/clone
> current# mount target:/mnt/hdb3 /mnt/clone

..
 
> I have 2 different machines. I want hdb4 on one machine
> cloned to hdb3 on the other machine. The machines are
> about 20 miles apart (home and work).

mount 2omiles-away:/somedirectory /mnt/clone

> 
> The suggestions will come in very handy when I need to
> clone on the same drive.

the tar cloning works for different drives on same pc or different pc

Alvin and Thomas, 

Boy do I feel confused. I'm blanking out on how to 
mount the distant hard drive when I can't network to
it. (Dialup at home, NO permission at work)

I do appreciate all the help; was hoping for a "write 
to CD, then transfer to distant machine" method.

I'll ponder your directions and see if I can make them
work. Just blank right now.

--
Wanda



Re: How do I read a Mac disk on Linux.

2004-07-27 Thread Erik Steffl
John Summerfield wrote:
Erik Steffl wrote:
John Summerfield wrote:
Erik Steffl wrote:
The 2.6 kernel I'm running here looks like it will work. THere's a 
2.6 kernel there too, but it's in a different box. If I have to go 
onsite, I might as well use OSX on the powerbook.

However, I _can_ build a Sarge 2.4 kernel. Maybe.


My efforts at building Sarge packages on Woody haven't met universal 
success.

  stable has kernel source up to 2.4.19 - isn't it enough? Myabe you 
just need unstable...

_just_ unstable??
I tried the three most recent Debian kernels to no avail. I guess I 
_should_ have just coaxed a prebuilt kernel into place.
  well, woody might have some tools that are too old... not sure what's 
the problem... unstable should be current enough for current kernel (I 
have 2.6.5)

  and it's just need, not just unstable:-)
I don't know just when the hfsplus driver first appeared: I "just 
assumed" it's not in the Woody kernel coz it's too new and so I just 
went for the newest kernel I thought would be easy, without going to 
backports.
  I used it somewhere around 2.4.20, don't remember exactly which one 
(2.4.23?) so 2.4.19 might be good enough...

Anyway, the time for talking is past and I'll be attaching it to my 
Powerbook later today, and after that the drive will be reformatted for 
Linux.
  come on, there's no need for such give-up attitude! :-)
erik
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Samba and OSx

2004-07-27 Thread Steven Jones
thanks.

Will experiment tonight.

regards

S

-Original Message-
From: John Summerfield [mailto:[EMAIL PROTECTED]
Sent: Wednesday, 28 July 2004 1:18 p.m.
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Subject: Re: Samba and OSx


Steven Jones wrote:

>Hi all,
>
>I have a debian 3.0 box running samba, it has been running for 2 odd years and is 
>fully patched. Win2k, NT4, Win98 clients can talk to it and read and write to the 
>common "share" directory without issue. 
>
>I have just added an iMac running OSx (which is fully patched etc) It finds the 
>workgroup "Thing" fine and the server apollo, the user connects OK but can only read 
>the share, write is not possible. The same user can log in and read and write fine 
>from a win2k client, so I am stumped a wee bit as my books only cover MS clients...
>
>It seems to write zero length files on occasion at least if not each time.
>
>So far Im thinking of some possibilities,
>
>The user name on the OSx box is "Phoebe Gray" and not phoebe, but log into the share 
>as phoebe works fine (but read only), so user name might need mangling?
>
>Something missing on the OSx box like a samba authentication key of some sort?
>
>any suggestions please?
>
>Otherwise the same share is nfs exported, so I might consider figuring out how to get 
>OSx to do a NFS mount, as that is how the linux clients work, but I want to have a 
>win2k test server as well so Id rather solve the smbclient issue.
>  
>

Probably you should be asking this on an OSX forum.

What does smbclient have to say about this?

Have you tried accessing the shares with Linux from another box?

NFS is a better bet.
Finder, go, connect to server. Or K



-- 

Cheers
John

-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How can I get all IP transactions (in/out) logged?

2004-07-27 Thread James Foster
> The log will be _enormous_  and I mean __enormous__

It seems to me that the log won't necessarily be very large. It really
depends on how the connection is being used, doesn't it? An hours
worth of log from a dialup connection couldn't be very large, for
example.

Of course, on a broadband connection with lots of websites being
visited or files being downloaded, the log would become quite large
fairly quickly.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: mailaccount manager

2004-07-27 Thread John Summerfield
Justinas wrote:
Hi list!
I have one woody system working as a mailserver (sendmail+ipop3d). Does 
anybody could recommend any web-based mail server management tool(adding/removing 
users, editing aliases and so on)
 

Take a look at webmin. I don't know whether it addresses _your_ 
particular problems, but it does a lot of admin stuff. Also, check the 
webmin website for even more.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: cloning hdb4 to another machine

2004-07-27 Thread Alvin Oga

hi ya 

On Tue, 27 Jul 2004, Wanda Round wrote:

> current# mkdir /mnt/clone
> current# mount target:/mnt/hdb3 /mnt/clone

..
 
> I have 2 different machines. I want hdb4 on one machine
> cloned to hdb3 on the other machine. The machines are
> about 20 miles apart (home and work).

mount 2omiles-away:/somedirectory /mnt/clone

> 
> The suggestions will come in very handy when I need to
> clone on the same drive.

the tar cloning works for different drives on same pc or different pc

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Mysterious entries in daemon log, mail.log; should I worry?

2004-07-27 Thread Uli Paul
Hi Ralph,
what does your /etc/inet.conf file look like? Are the entries for imapd 
and the others commented out (# sign at the beginning of the line)? Did 
you run any mail client at that time?

Uli
PS Please CC to me, as I do NOT regulary read the list.
--
Ulrich Paul Paul Elektronik, Erlenweg 18, D-86391 Stadtbergen
mailto:[EMAIL PROTECTED] http://www.paul.de Tel: +49-821-156888-0 Fax:
+49-821-156888-7
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IBM F50 RS/6000 PPC PowerPC

2004-07-27 Thread John Summerfield
Leandro Guimaraens Faria Corsetti Dutra wrote:
Em Tue, 27 Jul 2004 19:30:16 +0200, Francisco Ernesto Teixiera escreveu:
 

When I try to install the Debian on this machine, this return "Unable to mount Rescue Disk."
   

You will want to send this to debian-ports-powerpc instead.
 

Actually,  I think debian-installer a better choice. Esp  if you're 
prepared to use the new d-i.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How can I get all IP transactions (in/out) logged?

2004-07-27 Thread John Summerfield
[EMAIL PROTECTED] wrote:
I just want a basic log file containing the source and
destination addresses for all traffic in and out of
via PPP, so that I can keep track of what connections to
outside IP addresses are made, and from where (externally,
or from something running on my system) they originated.
I've turned on the debug mode in PPP but it doesn't seem to
provide what I want.  For instance, it logs transactions from my
system to my ISP, but doesn't log what's happening with
any greater resolution (for instance, if I ping a system
on the Internet, there's no record of the ping attempt
in any of the system log files).  The firewall as set up by
"firestarter" logs blocked firewall penetration attempts, but
not "legitimate" transactions in and out (perhaps there's a
method, which I haven't found, to change that?)
Is there any "built-in" facility that will accomplish
this, or is it necessary/possible to construct something
using "iptables", or is there a contributed app that will
do it?
 

Isn't iptables built in?
The log will be _enormous_  and I mean __enormous__

I realize that there are log files for the various
servers and utilities (FTP, etc.) that contain this information
on a piecemeal basis, but it seems to me that it would make
more sense to collect it at the connection point(s) in and out
of the system, at least on an interface-by-interface basis.
Once again, I'm surprised that a Web search and various site
searches haven't turned up a solution to this.
 

Probably because most people think this a fine way to hang themselves:-)

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samba and OSx

2004-07-27 Thread John Summerfield
Steven Jones wrote:
Hi all,
I have a debian 3.0 box running samba, it has been running for 2 odd years and is fully patched. Win2k, NT4, Win98 clients can talk to it and read and write to the common "share" directory without issue. 

I have just added an iMac running OSx (which is fully patched etc) It finds the workgroup 
"Thing" fine and the server apollo, the user connects OK but can only read the share, 
write is not possible. The same user can log in and read and write fine from a win2k client, so 
I am stumped a wee bit as my books only cover MS clients...
It seems to write zero length files on occasion at least if not each time.
So far Im thinking of some possibilities,
The user name on the OSx box is "Phoebe Gray" and not phoebe, but log into the share 
as phoebe works fine (but read only), so user name might need mangling?
Something missing on the OSx box like a samba authentication key of some sort?
any suggestions please?
Otherwise the same share is nfs exported, so I might consider figuring out how to get OSx to do a NFS mount, as that is how the linux clients work, but I want to have a win2k test server as well so Id rather solve the smbclient issue.
 

Probably you should be asking this on an OSX forum.
What does smbclient have to say about this?
Have you tried accessing the shares with Linux from another box?
NFS is a better bet.
Finder, go, connect to server. Or K

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cloning hdb4 to another machine

2004-07-27 Thread John Summerfield
Thomas Adam wrote:
--- Wanda Round <[EMAIL PROTECTED]> wrote: 


Would like to clone that to another machine hdb3 with 4.5 gb 
total (was Mandrake). Entire hard drive is 10 gb.

You'll want to read this, then:
http://www.hantslug.org.uk/cgi-bin/wiki.pl?LinuxHints/OneDiskToAnother
This needs a little adaptation. Step 5 might be , instead of
5. (cd /mnt/old && tar cf - . ) | (cd /mnt/new && tar xvfp -)
something like this:
tar czC /mnt/old . | ssh thatbox tar zxpC/mnt/new
You will want passwordless login via ssh.
Whether you want compression depends on CPU power, network speed and 
your patience.

In general, you _can_ also use dd in like manner. As I recall, you need to
e2fsck
e2resizefs
dd
e2fsck
However, best not to do this with filesystems mounted rw.
A challenge to anyone who says dd won't work: try it. I have done it, on 
different-sized partitions. Worked fine for me.

However you get the data across, you then have to
(re)install your boot mangler
Reconfigure /etc/fstab
Reconfigure /etc/network/interfaces
Maybe, reconfigure your modules selection such as for your network card.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How do I read a Mac disk on Linux.

2004-07-27 Thread John Summerfield
Erik Steffl wrote:
John Summerfield wrote:
Erik Steffl wrote:
The 2.6 kernel I'm running here looks like it will work. THere's a 
2.6 kernel there too, but it's in a different box. If I have to go 
onsite, I might as well use OSX on the powerbook.

However, I _can_ build a Sarge 2.4 kernel. Maybe.


My efforts at building Sarge packages on Woody haven't met universal 
success.

  stable has kernel source up to 2.4.19 - isn't it enough? Myabe you 
just need unstable...
_just_ unstable??
I tried the three most recent Debian kernels to no avail. I guess I _should_ have just 
coaxed a prebuilt kernel into place.
I don't know just when the hfsplus driver first appeared: I "just assumed" it's not in 
the Woody kernel coz it's too new and so I just went for the newest kernel I thought would be 
easy, without going to backports.
Anyway, the time for talking is past and I'll be attaching it to my Powerbook later 
today, and after that the drive will be reformatted for Linux.

--
Cheers
John
-- spambait
[EMAIL PROTECTED]  [EMAIL PROTECTED]
Tourist pics http://portgeographe.environmentaldisasters.cds.merseine.nu/
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apt-get upgrade for security announcement

2004-07-27 Thread Chris Metzler
On Tue, 27 Jul 2004 10:49:43 -0700
Eric Walstad <[EMAIL PROTECTED]> wrote:
>
> Hi All,
> 
> I'm having trouble trying to apt-get update/upgrade my debian unstable 
> machine with the latest security fixes as advertised in the 
> debian-security-announce emails.  When I do:
> 
> apt-get update
> apt-get upgrade
> dpkg -l | grep 
> 
> I find that the installed version of the package doesn't match what 
> advisory says is available.

I already replied to this with one idea (package not yet available),
but here's another:

you say that when you do the above, you don't end up with the new
version installed.  But that's not the same as saying that it's
not available in the package archive.  Are you looking at the output
from the commands above?  Do your package files update OK during
the apt-get update step?  If so, what happens when you do the
apt-get upgrade?  Do you see the packages you want being "held back"
or something like that?

-c

-- 
Chris Metzler   [EMAIL PROTECTED]
(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear


pgp1RqSAfRK4T.pgp
Description: PGP signature


Re: debian-user-digest Digest V2004 #716

2004-07-27 Thread Eric Walstad
On Tuesday 27 July 2004 01:47 pm, 
[EMAIL PROTECTED] wrote:
> On Tue, 2004-07-27 at 13:49, Eric Walstad wrote:
> > Hi All,
> > I'm having trouble trying to apt-get update/upgrade my debian
> > unstable machine with the latest security fixes as advertised
> > in the debian-security-announce emails. ÂWhen I do:
> >
> > apt-get update
> > apt-get upgrade
> > dpkg -l | grep 
> >
> > I find that the installed version of the package doesn't match
> > what advisory says is available.
> >
> > In the debian security announcements, the instructions for
> > apt-get users say:
> >
> > -
> > For the unstable distribution (sid), CAN-- was fixed in
> > version X.Y.ZZ.
> >
> > We recommend that you update your  package.
> >
> > Upgrade Instructions
> > - 
> > [...]
> > If you are using the apt-get package manager, use the line for
> > sources.list as given below:
> >
> > apt-get update
> > Â Â Â Â will update the internal database
> > apt-get upgrade
> > Â Â Â Â will install corrected packages
> >
> > You may use an automated update by adding the resources from the
> > footer to the proper configuration.
> > -
> >
> > My question:
> > 1. ÂThe emails imply that there are unstable packages avaialble.
> > ÂIf so, how do I apt-get update/upgrade them?
>
> First of, your /etc/apt/sources.list has to include
> security.debian.org as a source.
>
> Line would look like:
>
> deb http://security.debian.org stable/updates main contrib non-free
>
> After you add that to your /etc/apt/sources.list, do what the
> instructions say.
>
> You may be surprised to find out how far behind you are.
> --=20
> greg, [EMAIL PROTECTED]

Greg, thanks for the reply.

My /etc/apt/sources.list file contains the following lines (among 
others):

# Security updates for "stable"
deb http://security.debian.org stable/updates main contrib non-free
deb http://security.debian.org testing/updates main contrib non-free

Is it possible that the other lines farther down in the file could 
undo what these lines are meant to do?

As for doing what the instructions say, I think I need clarification 
of the following two statements:
 1. "use the line for sources.list as given below:"
To which line are they referring?

 2. "You may use an automated update by adding the
resources from the footer to the proper 
configuration."
Is this equivilent to 1.?
If not, what resource do I need to add and to what file do I need 
to add it?

I'm happy to post my sources.list, if it will help troubleshoot.

Thanks again for your time expertise.

Eric.



Re: Apt-get upgrade for security announcement

2004-07-27 Thread Chris Metzler
On Tue, 27 Jul 2004 14:52:54 -0400
Greg Folkert <[EMAIL PROTECTED]> wrote:
>On Tue, 2004-07-27 at 13:49, Eric Walstad wrote:
>> Hi All,
>> 
>> I'm having trouble trying to apt-get update/upgrade my debian unstable
>> machine with the latest security fixes as advertised in the 
>> debian-security-announce emails.  When I do:
>> 
>> apt-get update
>> apt-get upgrade
>> dpkg -l | grep 
>> 
>> I find that the installed version of the package doesn't match what 
>> advisory says is available.

[ snip security update instructions]

>> My question: 
>> 1.  The emails imply that there are unstable packages avaialble.  If 
>> so, how do I apt-get update/upgrade them?
>
> First of, your /etc/apt/sources.list has to include security.debian.org
> as a source.
> 
> Line would look like:
> 
> deb http://security.debian.org stable/updates main contrib non-free
> 
> After you add that to your /etc/apt/sources.list, do what the
> instructions say.
> 
> You may be surprised to find out how far behind you are.

Huh?  The poster said he was tracking *unstable*.  What you've said
is for installing security updates to stable, *not* for installing
the latest version of the relevant packages in unstable.

To the original poster:  I don't know how often you're running into
this, what sort of timeframe you're doing the upgrades on after
receiving the messages, etc.  But it's possible that the packages
in question simply haven't reached your mirror yet.  Wait 24 hours
and try again.  If that isn't it, dunno.

If the announcement's been out a day or two, and you've gone to
packages.debian.org and looked at what it says is the current
version in unstable, and it's of lower version number than the
version mentioned in the security update, then something weird's
going on at the Debian level.  But if it's there, but you're
not seeing it when you try to apt-get upgrade, then it's probably
something weird about your sources.list or the mirrors mentioned
in it.

-c

P.S. to Greg -- did you know your client is setting a "Reply-To:"
directly to your address when you post on the list?

-- 
Chris Metzler   [EMAIL PROTECTED]
(remove "snip-me." to email)

"As a child I understood how to give; I have forgotten this grace since I
have become civilized." - Chief Luther Standing Bear


pgpQGcw5NgbwB.pgp
Description: PGP signature


Re: Re: cloning hdb4 to another machine

2004-07-27 Thread Wanda Round
-Original Message-
From: Alvin Oga <[EMAIL PROTECTED]>
To: Wanda Round <[EMAIL PROTECTED]>
Date: Tue, 27 Jul 2004 14:03:24 -0700 (PDT)
Subject: Re: cloning hdb4 to another machine


[snip]

current# mkdir /mnt/clone
current# mount target:/mnt/hdb3 /mnt/clone

# let's assume /dev/hdb3 is mounted as /home
if /dev/hdb3 is mounted "/", than copy only the important stuff
- use /bin /boot /dev /etc /home /lib /opt /root /sbin /usr /var
instead of "*" in the tar command

[snip]

Boy, I must have been unclear!

I have 2 different machines. I want hdb4 on one machine
cloned to hdb3 on the other machine. The machines are
about 20 miles apart (home and work).

The suggestions will come in very handy when I need to
clone on the same drive.

Any help on cloning from one machine's 2nd drive to
a different machine's 2nd drive?

--
Wanda




Re: Problems with lstat() and large files

2004-07-27 Thread Ketil Froyn
Hehe, talk about your well composed mail. That's what I get for
sending it off in a rush...

Anyway, I've tested with both glibc 2.2.5 (from woody) and glibc 2.3.2
(from sarge) on the same system, with both kernel 2.2.20 (from woody)
and kernel 2.4.26 (vanilla kernel, self-compiled), and I figure debian
glibc is broken. What happens is that with kernel 2.4.26, when glibc
receives a successful lstat64(), glibc decides that something has gone
wrong, whereas with 2.2.20, lstat64() fails, and lstat() appears to
return the correct values to glibc. Here is a table of what I've
tested:

GLIBC 2.3.2 (from sarge):
 
strace kernel 2.2.20:
lstat64("largefile", 0xbc34) = -1 ENOSYS (Function not implemented)
lstat("largefile", {st_mode=S_IFREG|0644, st_size=2644920320, ...}) = 0
 
ltrace kernel 2.2.20:
__lxstat(3, 0xbebe, 0xbd20, 0x4014a550, 0xbd78) = 0
 
strace kernel 2.4.26:
lstat64("largefile", {st_mode=S_IFREG|0644, st_size=2644920320, ...}) = 0 

ltrace kernel 2.4.26:
__lxstat(3, 0xbebe, 0xbd20, 0x4014a550, 0xbd78) = -1
 
 
GLIBC 2.2.5 (from woody):
 
strace kernel 2.2.20:
lstat64("largefile", 0xbc34) = -1 ENOSYS (Function not implemented)
lstat("largefile", {st_mode=S_IFREG|0644, st_size=2644920320, ...}) = 0
 
ltrace kernel 2.2.20:
__lxstat(3, 0xbebe, 0xbd14, 0x4012de48, 0xbd6c) = 0
 
strace kernel 2.4.26:
lstat64("largefile", {st_mode=S_IFREG|0644, st_size=2644920320, ...}) = 0 

ltrace kernel 2.4.26:
__lxstat(3, 0xbebe, 0xbd14, 0x4012de48, 0xbd6c) = -1

Anyone heard of this before?

Ketil

On Tue, 27 Jul 2004 19:08:26 +0100, Ketil Froyn <[EMAIL PROTECTED]> wrote:
> Hi,
> 
> I'm having some problems with lstat() on debian stable and debian
> testing with 2.4 kernels. A program that tries to do lstat on a file
> bigger than 2gb gets an error. Has anyone else experienced this? I'm
> running third party software that requires a functional ltrace(), and
> doesn't handle this well.
> 
> The lstat() appears to work with on debian stable with a 2.2 kernel,
> but I need 2.4 for hardware support etc.
> 
> I've tested on debian sarge as well, and I get the same results there.
> Is this a known problem? Is there a known fix? The same program worked
> fine on redhat 8.
> Do I have to go back?
> 
> Here is a sample program. Compile like this:
> $ gcc -o testlstat testlstat.c
> and run like this
> $ ./testlstat /path/to/largefile
> and watch it fail with ltrace:
> $ ltrace ./testlstat /path/to/largefile
> 
> -- testltstat.c --
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> #include 
> 
> int main (int argc, char * argv[]) {
>   struct stat buf;
>   if (lstat(argv[1], &buf) == -1) {
> printf("error: %s\n",strerror(errno));
> return 1;
>   }
>   printf("Success\n");
>   return 0;
> }
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: PPP Failing - Unsupported Protocol

2004-07-27 Thread Kenneth Jacker
  >> * Lost compression sync: disabling compression
  >> Jul 25 13:16:55 localhost pppd[4004]: \
  >> sent [CCP TermReq id=0x5"Lost compression sync"]
  >> * Jul 25 13:16:55 localhost kernel: PPP: VJ decompression error
  >> Jul 25 13:16:56 localhost last message repeated 3 times
  >> * Jul 25 13:16:57 localhost pppd[4004]: rcvd [CCP TermAck id=0x5]
  >> ... ... ...

  morten> If you disable compression altogether, would that help?

Maybe with error messages, but not with effective transmission rate! ;-)

  morten> In the file /etc/ppp/options or the file /etc/ppp/peers/, 
  morten> depending on your setup, insert the the line "noccp"
  morten> (without the quotes). If it is just related to Van Jacobsen
  morten> (VJ) compression/decompression, you can try to insert
  morten> "novj".

If my other attempts (using the 2.6.7 kernel, changing the ppp0
interface's MTU value, etc) don't work, I'll try your suggestions.

Thanks for replying!

  -Kenneth


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DSA-533 - Courier CSS

2004-07-27 Thread Andreas Janssen
Hello

Lucio Crusca (<[EMAIL PROTECTED]>) wrote:

> I'm the admin of a mail server running woody and Courier. Last week I
> applied the DSA-533 patch. After that, the authenticated SMTP relaying
> stopped working.
> When I try to send an email using SMTP auth, the logfile shows
> "/usr/lib/courier/courier/modules/esmtp/authstart: cannot read
> authmodulelist.".

According to a message on debian-user-german,
the /etc/courier/authmodulelist file was deleted during the upgrade.
Extract a copy from your backup.

best regards
Andreas Janssen

-- 
Andreas Janssen <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: newbie apt-get question

2004-07-27 Thread Mikael Magnusson
On Tue, Jul 27, 2004 at 08:26:26AM -0400, Mark D. Hansen wrote:
> Thanks.  You are right - I'm using stable.  But, I thought that I could
> override the version of Samba (or other packages) included in the
> distribution by using the syntax in my original post (i.e.,
> samba=3.0.5-1).  Am I mistaken?
> 
> Can I customize "stable" so that I use newever versions of some of the
> packages (like Samba)?  If so, is there a "HOW-TO" covering this?
> 
> Thanks again,
> 
> Mark
> 

There are Samba 3.0.4 packages at http://www.backports.org/, that you
can use instead. You shouldn't use the packages from unstable or testing 
since they are compiled against newer versions of system libraries.

Mikael 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: lost my 'c' key in X

2004-07-27 Thread martin f krafft
also sprach Branden Robinson <[EMAIL PROTECTED]> [2004.07.27.0902 +0200]:
> A problem sounding suspiciously similar to this afflicts U.K. keyboard
> users who had specified "uk" as their XkbLayout rather than "gb".
> 
> The XKB layout names are based on ISO 3166 country codes, which means that
> the U.K. gets the odd "country" code of "gb" rather than "uk".
> 
> Does this information help any?

Unfortunately, no. I have tried, us/uk/gb, and the results were the
same.

However, the latest X upgrade fixed it.

Thanks,

-- 
Please do not CC me when replying to lists; I read them!
 
 .''`. martin f. krafft <[EMAIL PROTECTED]>
: :'  :proud Debian developer, admin, and user
`. `'`
  `-  Debian - when you have better things to do than fixing a system
 
Invalid/expired PGP subkeys? Use subkeys.pgp.net as keyserver!


signature.asc
Description: Digital signature


Re: Re: Re: Re: Xserver aborts when idle

2004-07-27 Thread Uli Paul
Hi,
I had the same problem some time ago and it was fixed after I turned off 
any power management in the BIOS. There the time to go to suspend mode 
was set to 20min (default value). I completely turned BIOS PM off and 
handled that with xset at startup of X. The computer is configured to 
boot straight into X, so I had no need to bother with PM in console mode.

Uli
--
Ulrich Paul Paul Elektronik, Erlenweg 18, D-86391 Stadtbergen
mailto:[EMAIL PROTECTED] http://www.paul.de Tel: +49-821-156888-0 Fax:
+49-821-156888-7
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samba as a PDC

2004-07-27 Thread Debian Users
On Tue, 27 Jul 2004, Clement wrote:

C> Tried to setup Samba 3.0.4-5 on Sarge as a PDC.  Tried very hard to read
C> the docs and sample configure to no success.  When connecting a W2k
C> client, I get this error:
C>
C> "... Logon failure: unknown user name or bad password."

Maybe a stupid question of mine, but have you created the corresponding
Samba users? I think the command is "smbpasswd -a " or something
like that. I remember having similar problems which disppeared when
entering the correct users.

Also, the user name must be specified accordingly in the Windoze client,
e.g. in the "connect network drive" dialog.

Cheers and good luck, Stefan


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cloning hdb4 to another machine

2004-07-27 Thread Alvin Oga

On Tue, 27 Jul 2004, Wanda Round wrote:

> Since the new machine already boots hda1 (Windows), with choices 
> for hdb1 and hdb3, how do I get the hdb4 original to use hdb3? 
> The original machine uses lilo, the target machine already uses 
> grub.

current# mkdir /mnt/clone
current# mount target:/mnt/hdb3 /mnt/clone

# let's assume /dev/hdb3 is mounted as /home
if /dev/hdb3 is mounted "/", than copy only the important stuff
- use /bin /boot /dev /etc /home /lib /opt /root /sbin /usr /var
instead of "*" in the tar command

current# cd /home
current# tar cf - * | ( cd /mnt/clone ; tar xvfp - )



---

boot target machine ... fix grub ...to boot /dev/hdb3 in addition to
whatever it's booting now

- after, preferably before  booting /dev/hdb3, you'd need to add a
  couple of empty dirs
mkdir /tmp /proc
chmod 1777 /tmp

c ya
alvin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X Setup Question

2004-07-27 Thread Kent West
Raquel Rice wrote:
I've gotten the Gnome login screen to come up.  I can even login. 
Thank you everyone for your help.  There's a problem though.

The screen is way too large.  I've edited configuration using
dpkg-reconfigure xserver-xfree86, but it doesn't change what the
screen looks like.  I've edited the configurtion file directly, and
the screen still is WAY too large (I'm only seeing maybe 1/4 of the
page).
As mentioned in another post, if you've manually changed the 
/etc/X11/XF86Config-4 file, using "dpkg-reconfigure xserver-xfree86" 
will no longer modify the file afterwards until you follow the steps 
outlined at the beginning of that file.

If you move your mouse to the edge of the monitor and the screen shifts, 
you've got a virtual screen thing going. Basically you either need to 
set the virtual screen to the same size as your resolution, or disable 
the virtual screen.

--
Kent West
[EMAIL PROTECTED]

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Forgot Password

2004-07-27 Thread LOISML



Dear Sirs;
Please send me my AOL password by email. Thank 
you.[EMAIL PROTECTED]


Re: Which IMAP server should I use

2004-07-27 Thread Skylar Thompson
On Mon, Jul 26, 2004 at 10:02:28AM +0200, Jacob Friis Larsen wrote:
> Hello.
> 
> Which IMAP server would you recommend?
> 
> I use Postfix as SMTP server.

If you operate a small site and don't want too much setup time, I'd go with
UW-IMAP (http://www.washington.edu/imap/). If you want more complex (and
configurable) setups, do with Courier or Cyrus. It all really depends on
what you want to do.

-- 
-- Skylar Thompson ([EMAIL PROTECTED])
-- http://www.cs.earlham.edu/~skylar/


pgpl9MSYEYPNW.pgp
Description: PGP signature


Re: X Question

2004-07-27 Thread Kent West
Raquel Rice wrote:
Thank you!  [X is] running.  Now the problem I'm having is that I get
only a corner if the screen ... what's there is too large to see all
of it.  Change the screen size in the configuration?
It sounds like your screen resolution is too low, but that the virtual 
screen size setting has kicked in.

You should be able to modify your screen settings with "dpkg-reconfigure 
xserver-xfree86".

Alternatively you can manually tweak /etc/X11/XF86Config[-4], which 
you'll have to do if the virtual settings need to be modified. Be aware 
that if you do manually alter this file, the "dpkg-reconfigure" method 
will no longer modify the file for you without "fixing" it.

It's been a while since I've played with virtual size settings, so can't 
offer any specifics, but you should be able to find something about 
"virtual" (I believe) in the config file, and play with or comment out 
those lines.

--
Kent West
[EMAIL PROTECTED]

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: cloning hdb4 to another machine

2004-07-27 Thread Thomas Adam
--- Wanda Round <[EMAIL PROTECTED]> wrote: 

> Would like to clone that to another machine hdb3 with 4.5 gb 
> total (was Mandrake). Entire hard drive is 10 gb.

You'll want to read this, then:

http://www.hantslug.org.uk/cgi-bin/wiki.pl?LinuxHints/OneDiskToAnother

-- Thomas Adam

=
"The Linux Weekend Mechanic" -- http://linuxgazette.net
"TAG Editor" -- http://linuxgazette.net

" We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)"

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)





___ALL-NEW Yahoo! Messenger - 
all new features - even more fun!  http://uk.messenger.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



cloning hdb4 to another machine

2004-07-27 Thread Wanda Round
Just a tiny bit past total newbie here--

I have Debian testing on one machine set up exactly how I want it 
on hdb4 (1.5 of 5.5 gb used), swap is hdb5 (512 mb). Entire hard 
drive is 15 gb.

Would like to clone that to another machine hdb3 with 4.5 gb 
total (was Mandrake). Entire hard drive is 10 gb.

Reading the Mondo docs, I think it might be the thing, but 
sometimes has problems in Debian.

Questions: With Mondo, would I have to put on cdr the whole of 
the original hdb? (Wasn't clear on that) Would rather not have to 
do the whole 15 gb, just the hdb4.

Since the new machine already boots hda1 (Windows), with choices 
for hdb1 and hdb3, how do I get the hdb4 original to use hdb3? 
The original machine uses lilo, the target machine already uses 
grub.

I've only used k3b to backup data; but could k3b create cds that 
would allow making the new clone?

Is there another (simple) way to clone from hdb4 to hdb3 on 
another machine? (and successfully run!)

(Yes, I've already been told I shouldn't have put the whole thing
in one partition--that's to re-do later.)

Thanks

--
Wanda




Samba and OSx

2004-07-27 Thread Steven Jones
Hi all,

I have a debian 3.0 box running samba, it has been running for 2 odd years and is 
fully patched. Win2k, NT4, Win98 clients can talk to it and read and write to the 
common "share" directory without issue. 

I have just added an iMac running OSx (which is fully patched etc) It finds the 
workgroup "Thing" fine and the server apollo, the user connects OK but can only read 
the share, write is not possible. The same user can log in and read and write fine 
from a win2k client, so I am stumped a wee bit as my books only cover MS clients...

It seems to write zero length files on occasion at least if not each time.

So far Im thinking of some possibilities,

The user name on the OSx box is "Phoebe Gray" and not phoebe, but log into the share 
as phoebe works fine (but read only), so user name might need mangling?

Something missing on the OSx box like a samba authentication key of some sort?

any suggestions please?

Otherwise the same share is nfs exported, so I might consider figuring out how to get 
OSx to do a NFS mount, as that is how the linux clients work, but I want to have a 
win2k test server as well so Id rather solve the smbclient issue.

regards

Thing



Re: X Setup Question

2004-07-27 Thread Greg Folkert
On Tue, 2004-07-27 at 16:09, Raquel Rice wrote:
> I've gotten the Gnome login screen to come up.  I can even login. 
> Thank you everyone for your help.  There's a problem though.
> 
> The screen is way too large.  I've edited configuration using
> dpkg-reconfigure xserver-xfree86, but it doesn't change what the
> screen looks like.  I've edited the configurtion file directly, and
> the screen still is WAY too large (I'm only seeing maybe 1/4 of the
> page).
> 
> I've looked at the documentation but can't find the answer I need. 
> Can anyone help?

How often do you change screen resolutions?

If the answer is: Only when I have to, or never.

Select ONLY the resolution you use in dpkg-reconfigure. When you restart
X, it'll be what you like.

There is also a gnome apples call "gnome-randr"

provided by:
gnome-randr-applet - Simple gnome-panel front end to the xrandr
extension

Install that package and run it when logged in is another way to fix it.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part


Re: newbie apt-get question

2004-07-27 Thread Carl Fink
On Tue, Jul 27, 2004 at 03:11:02PM +0200, Allan Rasmussen wrote:

> Samba 3.0.5 is only available in unstable as far as I can see. Take a look at
> http://www.debian.org/distrib/packages and search for samba in all distributions. So 
> if you aren't
> running unstable you can't install it (just use apt-get install samba to get the 
> version available
> to you).

You might want to check backports.org and apt-get.org, both of which
can help you find current software for the older stable OS.
-- 
Carl Fink [EMAIL PROTECTED]
Jabootu's Minister of Proofreading
http://www.jabootu.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how can other users use X?

2004-07-27 Thread Alexander Schmehl
Moin!

* Alexandros Papadopoulos <[EMAIL PROTECTED]> [040727 21:48]:

> > [EMAIL PROTECTED]:~# xhost +root
> > Xlib: connection to ":0.0" refused by server
> > Xlib: No protocol specified
> >
> > xhost:  unable to open display ":0"
> > [EMAIL PROTECTED]:~#
> >
> > Suggestions?
> 
> As the user who started the X session (NOT root!), issue the command:
> $ xhost +local:
> 
> Then you *might* possibly, if the application/shell doesn't know about 
> it, tell root what your X display is, with (for bash)
> # export DISPLAY=":0.0"
> (assuming a local X server)

Debian shipes it's X with tcp listening disabled for security reasons.
If you want to run applications as an other user you can either find the
"nolisten tcp" option somewhere under /etc/X11, and use your set DISPLAY
/ xhost method, or you can use »sux« (su with x) of the package sux (not
sure, if it is in stable) instead, or you can cheat and use ssh -x
[EMAIL PROTECTED] (you might need to allow your ssh server X11 forwarding).


Yours sincerely,
  Alexander


signature.asc
Description: Digital signature


Re: how can other users use X?

2004-07-27 Thread Alexandros Papadopoulos
On Tuesday 27 July 2004 22:25, John van Spaandonk wrote:
> On Tuesday 27 July 2004 18:06, James Vahn wrote:
> > rich wrote:
> > > I start my X session as one user, then from a terminal where I've
> > > su'ed to another (not root), I want to be able to use gvim, but
> > > it tells me it's not allowed to use the X server.
> > >
> > > How can I get this working?
> >
> > Try issuing this command:  export DISPLAY=:0
> > It is probably unset and gvim has no idea where X is.
>
> Mmm,
>
> [EMAIL PROTECTED]:~# xhost +root
> Xlib: connection to ":0.0" refused by server
> Xlib: No protocol specified
>
> xhost:  unable to open display ":0"
> [EMAIL PROTECTED]:~#
>
> Suggestions?

As the user who started the X session (NOT root!), issue the command:
$ xhost +local:

Then you *might* possibly, if the application/shell doesn't know about 
it, tell root what your X display is, with (for bash)
# export DISPLAY=":0.0"
(assuming a local X server)

Cheers

-A


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: high system cpu usage, no culprit in top but IS reported by gnome-system-monitor :)

2004-07-27 Thread Luke Anderson
I saw this question on an archive and as there was no solution I thought it 
best to share mine.

Although top does not report any process as eating the CPU, a program called 
gnome-system-monitor does :).

If you are using kde and having high CPU usage problems, as some of the boxes 
I've installed, fire up gnome-system-monitor and kill the culprits with that!

Hopefully this will help some people :).

Luke.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: IBM F50 RS/6000 PPC PowerPC

2004-07-27 Thread Leandro Guimaraens Faria Corsetti Dutra
Em Tue, 27 Jul 2004 19:30:16 +0200, Francisco Ernesto Teixiera escreveu:

> When I try to install the Debian on this machine, this return "Unable to mount 
> Rescue Disk."

You will want to send this to debian-ports-powerpc instead.


-- 
Leandro GuimarÃes Faria Corsetti Dutra +55 (44) 3028 7467 ext34
Rua Guarani 361 ap 601 â Z4+55 (44) 3025 6253
87.014-040  MaringÃ, PR   [EMAIL PROTECTED]
BRAZIL   http://br.geocities.com./lgcdutra/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: burning a VCD with xcdroast

2004-07-27 Thread csj
On 27. July 2004 at 11:35AM -0700,
Curtis Vaughan <[EMAIL PROTECTED]> wrote:

> Sorry, if this is not really a Debian question, but I am
> getting really frustrated trying to figure this out.
> 
> I have created an mpg file (MPEG1) and authored it for vcd.
> After authoring it, a second mpg file was created along with a
> xml file.  Now originally I thought I just had to burn my first
> mpg file to a disk and pop it in my DVD player (which does
> support vcd files).  However, it complained that the data was
> incorrect.  Someone stated that I needed to probably author the
> mpg file and another person said that instead of creating a vcd
> I probably just created a data cd.

The few times I created VCDs, I used the following tools:
avidemux, mjpegtools, vcdimager and cdrdao.

> So my question is this: I am using xcdroast.  I think I have
> correctly authored the mpg file.  So now do I just burn the 2
> files to a disk or is there some special way I need to burn it?
> For example, maybe I need to create an iso or I've seen a lot
> of mention of cue and bin files.

To create a VCD from an mpeg file, you have to multiplex it
properly (mjpegtools), create the cue file (vcdimager), and burn
the cue file (cdrdao, modern cdrtools can probably be used as
well).  VCD's AFAIK contain only a minimal ISO file system only
useful for Windows to play the VCD.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



How can I get all IP transactions (in/out) logged?

2004-07-27 Thread listcomm
I just want a basic log file containing the source and
destination addresses for all traffic in and out of
via PPP, so that I can keep track of what connections to
outside IP addresses are made, and from where (externally,
or from something running on my system) they originated.

I've turned on the debug mode in PPP but it doesn't seem to
provide what I want.  For instance, it logs transactions from my
system to my ISP, but doesn't log what's happening with
any greater resolution (for instance, if I ping a system
on the Internet, there's no record of the ping attempt
in any of the system log files).  The firewall as set up by
"firestarter" logs blocked firewall penetration attempts, but
not "legitimate" transactions in and out (perhaps there's a
method, which I haven't found, to change that?)

Is there any "built-in" facility that will accomplish
this, or is it necessary/possible to construct something
using "iptables", or is there a contributed app that will
do it?

I realize that there are log files for the various
servers and utilities (FTP, etc.) that contain this information
on a piecemeal basis, but it seems to me that it would make
more sense to collect it at the connection point(s) in and out
of the system, at least on an interface-by-interface basis.

Once again, I'm surprised that a Web search and various site
searches haven't turned up a solution to this.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how can other users use X?

2004-07-27 Thread John van Spaandonk
On Tuesday 27 July 2004 18:06, James Vahn wrote:
> rich wrote:
> > I start my X session as one user, then from a terminal where I've su'ed
> > to another (not root), I want to be able to use gvim, but it tells me
> > it's not allowed to use the X server.
> >
> > How can I get this working?
>
> Try issuing this command:  export DISPLAY=:0
> It is probably unset and gvim has no idea where X is.


Mmm,

[EMAIL PROTECTED]:~# xhost +root
Xlib: connection to ":0.0" refused by server
Xlib: No protocol specified

xhost:  unable to open display ":0"
[EMAIL PROTECTED]:~#


Suggestions?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: filename problem

2004-07-27 Thread Thomas Meggs

Actually, I have been using filename completion in all of the examples
contained in my original email. I even tried tcsh to double check that it
wasn't a problem with bash's autocomplete.

/tom

On Tue, 27 Jul 2004, Greg Folkert wrote:

> On Tue, 2004-07-27 at 14:35, Thomas Meggs wrote:
> > Here is example output:
> >
> > # ls -i
> > ls: egotrippi_-_??l??_koskaan_ikin??.mp3: No such file or directory
> > [ output does not contain the inode/file listing ]
> >
> > /tom
> >
> > On Tue, 27 Jul 2004, Joris Huizer wrote:
> >
> > > Maybe you can try,
> > >   ls -i
> > > and then,
> > >   find . -inum  -ok mv '{}' myfile \;
>
> Are you using BASH?
>
> If so try:
>
> rm egotrippi_-_\?\?l\?\?_koskaan_ikin\?\?.mp3
>
> or try  after every char until you get it. More than once I
> have had similar problems... I have ALWAYS been able to get either way
> to work. And yes, I have had nice names with some really nice
> conventions. scary it can be done.
>
> Luck.
> --
> greg, [EMAIL PROTECTED]
>
> The technology that is
> Stronger, better, faster: Linux
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: filename problem

2004-07-27 Thread Carlos Sousa
On Tue, 27 Jul 2004 12:39:30 -0400 (EDT) Thomas Meggs wrote:
> ...
> File can't be mv'd (here it is quoted):
> # mv "egotrippi_-_??l??_koskaan_ikin??.mp3" test.mp3
> mv: cannot stat `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
> file or directory
> ...
> I've also tried removing the file via midnight commander, I get the
> 'cannot stat' error message.

This would be a first for me, mc not coping with strange filenames.

Is the name really 'egotrippi_-_??l??_koskaan_ikin??.mp3' ?

I just tried

   touch 'egotrippi_-_??l??_koskaan_ikin??.mp3'

which worked. Then tried an 'ls', which also worked. Then tried

   rm ego

which autocompleted to 

   rm egotrippi_-_\?\?l\?\?_koskaan_ikin\?\?.mp3
   rm: remove regular empty file `egotrippi_-_??l??_koskaan_ikin??.mp3'? y

which worked. Doing a

   rm ego*

also works. So I would be inclined to say that, whatever the problem is,
it's more than just a matter of strange characters.

Sorry I can't be of any further help.

-- 
Carlos Sousa
http://vbc.dyndns.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: filename problem

2004-07-27 Thread Greg Folkert
On Tue, 2004-07-27 at 14:35, Thomas Meggs wrote:
> Here is example output:
> 
> # ls -i
> ls: egotrippi_-_??l??_koskaan_ikin??.mp3: No such file or directory
> [ output does not contain the inode/file listing ]
> 
> /tom
> 
> On Tue, 27 Jul 2004, Joris Huizer wrote:
> 
> > Maybe you can try,
> >   ls -i
> > and then,
> >   find . -inum  -ok mv '{}' myfile \;

Are you using BASH?

If so try:

rm egotrippi_-_\?\?l\?\?_koskaan_ikin\?\?.mp3

or try  after every char until you get it. More than once I
have had similar problems... I have ALWAYS been able to get either way
to work. And yes, I have had nice names with some really nice
conventions. scary it can be done.

Luck.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part


Re: Converting Exim4 to quasi-satellite

2004-07-27 Thread Tim Otten
Nevermind. It's taken care of. :)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Apt-get upgrade for security announcement

2004-07-27 Thread Greg Folkert
On Tue, 2004-07-27 at 13:49, Eric Walstad wrote:
> Hi All,
> 
> I'm having trouble trying to apt-get update/upgrade my debian unstable 
> machine with the latest security fixes as advertised in the 
> debian-security-announce emails.  When I do:
> 
> apt-get update
> apt-get upgrade
> dpkg -l | grep 
> 
> I find that the installed version of the package doesn't match what 
> advisory says is available.
> 
> In the debian security announcements, the instructions for apt-get 
> users say:
> 
> -
> For the unstable distribution (sid), CAN-- was fixed in
> version X.Y.ZZ.
> 
> We recommend that you update your  package.
> 
> Upgrade Instructions
> - 
> [...]
> If you are using the apt-get package manager, use the line for
> sources.list as given below:
> 
> apt-get update
> will update the internal database
> apt-get upgrade
> will install corrected packages
> 
> You may use an automated update by adding the resources from the
> footer to the proper configuration.
> -
> 
> My question: 
> 1.  The emails imply that there are unstable packages avaialble.  If 
> so, how do I apt-get update/upgrade them?

First of, your /etc/apt/sources.list has to include security.debian.org
as a source.

Line would look like:

deb http://security.debian.org stable/updates main contrib non-free

After you add that to your /etc/apt/sources.list, do what the
instructions say.

You may be surprised to find out how far behind you are.
-- 
greg, [EMAIL PROTECTED]

The technology that is
Stronger, better, faster: Linux


signature.asc
Description: This is a digitally signed message part


OT: Dedian used at Radio Observatory

2004-07-27 Thread Lourens Steenkamp
Hello Everyone,

Posted on my local LUG - thought you may be interested?

"I was at the Hartbeeshoek Radio Observatory on Friday evening. They
have a 200 ton aluminium dish searching for pulsars etc. dumping in
excess of 1 TB of data per day ! Running Debian :) controlling
everything on the dish, from moving the whole structure with electric
motors, to gathering and analysing the data.
I felt so proud..."

Have fun.

*

Lourens Steenkamp
Enjoying Debian GNU/Linux 3.0 r2

*

"If love is blind, patriotism has lost all five senses." 
  William Blum



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Samba as a PDC

2004-07-27 Thread Carlos Sousa
On Tue, 27 Jul 2004 23:25:16 +1000 Clement wrote:
> >On Tue, 27 Jul 2004, Clement wrote:
> >
> >>[global]
> >>workgroup = WORKGROUP
> >>...
> >>invalid users = root
> 
> By the way, what is the "DOMAIN" name for the Windows clients?  There is 
> not "DOMAIN" name parameter in the samba configure file.  Only the 
> WORKGROUP!

As stated in smb.conf(5), the parameter 'workgroup' is also used to
specify the Windows/Samba domain name, so you should put it there.
Is your domain name really WORKGROUP? Try changing it to
PULLTHEOTHERONE ;)

I'm a bit rusty on this Samba thing, and had experience only with pre-3
versions, but did you remember to add the Windows machine to the
domain? In order to do that, IIRC, you have to enter root's credentials,
and so your 'invalid users' line looks suspicious...

HTH,

-- 
Carlos Sousa
http://vbc.dyndns.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: filename problem

2004-07-27 Thread Thomas Meggs

Here is example output:

# ls -i
ls: egotrippi_-_??l??_koskaan_ikin??.mp3: No such file or directory
[ output does not contain the inode/file listing ]

/tom

On Tue, 27 Jul 2004, Joris Huizer wrote:

> Maybe you can try,
>   ls -i
> and then,
>   find . -inum  -ok mv '{}' myfile \;


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



burning a VCD with xcdroast

2004-07-27 Thread Curtis Vaughan
Sorry, if this is not really a Debian question, but I am getting really 
frustrated trying to figure this out.

I have created an mpg file (MPEG1) and authored it for vcd.  After 
authoring it, a second mpg file was created along with a xml file.  Now 
originally I thought I just had to burn my first mpg file to a disk and 
pop it in my DVD player (which does support vcd files).  However, it 
complained that the data was incorrect.  Someone stated that I needed 
to probably author the mpg file and another person said that instead of 
creating a vcd I probably just created a data cd.

So my question is this:  I am using xcdroast.  I think I have correctly 
authored the mpg file.  So now do I just burn the 2 files to a disk or 
is there some special way I need to burn it?  For example, maybe I need 
to create an iso or I've seen a lot of mention of cue and bin files.

I have been spending 2 days nows looking for the correct way to do this 
on the net, but to no luck.  Everyone mostly says, oh, use Nero or this 
or that program, blah, blah, blah

Curtis Vaughan
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: trouble with curses.h

2004-07-27 Thread rawat
Hi,
thanx for the tip...actually some weeks back i had used sarge
for some package upgrade...at that point i must  have installed
libncurses5 from sargeafter that i had gone back to
stable...hence today morning when i was trying to install
libncurses5-dev it was trying to install libncurses5-dev compatible with
the sarge version of libncurses5 (aka 5.4-4).but since there
were no apt sources in my sources.list for sarge, it was giving this
error...after your mail i understood what was
wrong.i included a sarge source and then the upgrade went fine!
thanx
cheers!
abhishek.




> [EMAIL PROTECTED] writes:
>
>> Hi all,
>> I have debian 3.0 woody on a linux box..
>> i am getting the following error while complining a program...
>>
>> menkar >> make
>> cc -c galfit.c
>> galfit.c:15: curses.h: No such file or directory
>> make: *** [galfit.o] Error 1
>>
>> i undersatnd that i need to install ncurses-devwhen i try
>> using apt-get i get the following error.
>>
>> menkar:/home/abhi# apt-get install ncurses-dev
>> Reading Package Lists... Done
>> Building Dependency Tree... Done
>> Note, selecting libncurses5-dev instead of ncurses-dev
>> Some packages could not be installed. This may mean that you have
>> requested an impossible situation or if you are using the unstable
>> distribution that some required packages have not yet been created
>> or been moved out of Incoming.
>>
>> Since you only requested a single operation it is extremely likely that
>> the package is simply not installable and a bug report against
>> that package should be filed.
>> The following information may help to resolve the situation:
>>
>> The following packages have unmet dependencies:
>>   libncurses5-dev: Depends: libncurses5 (= 5.2.20020112a-7) but 5.4-4 is
>> to be installed
>> E: Broken packages
>> 
>>
>> Is this a bug?
>> i am NOT using an unstable distribution!
>
> Apt tries to install libncurses5-dev from testing/unstable, so most
> likely your /etc/apt/sources.list file is not set up correctly.  Make
> sure it refers to stable, but not testing or unstable.  Then issue the
> command
>
> apt-get update && apt-get install libncurses5-dev
>
> Martin
>
>
> --
>,--.Martin Dickopp, Dresden, Germany ,= ,-_-. =.
>   / ,- )   http://www.zero-based.org/  ((_/)o o(\_))
>   \ `-' `-'(. .)`-'
>`-. Debian, a variant of the GNU operating system.   \_/
>
> --
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
>
>


-- 
This message has been scanned for viruses and
dangerous content, and is believed to be clean.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: filename problem

2004-07-27 Thread Joris Huizer
Thomas Meggs wrote:
Hi -
I have a few files on my system which I'm having issues dealing with. Here
is the story:
File can't be ls'd:
# ls -l
ls: egotrippi_-_??l??_koskaan_ikin??.mp3: No such file or directory
total 135800
[ The error is generated, but then the file isn't listed with the rest of
the output. ]
File can't be glob'd:
# rm ego*
rm: cannot remove `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory
File can't be mv'd (here it is quoted):
# mv "egotrippi_-_??l??_koskaan_ikin??.mp3" test.mp3
mv: cannot stat `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory
Or just escape'd:
# rm egotrippi_-_\??l\??_koskaan_ikin\??.mp3
rm: cannot remove `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory
I've unmounted the partition and force fsck'd it, it checks clean. For the
curious, it is on a mdadm'd (RAID1) JFS partition.
I've tried changing my locale to ISO8859-1, ISO8859-15, and UTF-8.
I've also tried removing the file via midnight commander, I get the
'cannot stat' error message.
If I do an ls -i, the same error pops up and the inode isn't listed with
the file.
I've tried # file ego* and that can't find the file either.
I just moved the system in particular from Fedora over to Debian. Fedora
had no problems reading it.
Any suggestions would of course be appreciated.
Thanks!
Maybe you can try,
 ls -i
and then,
 find . -inum  -ok mv '{}' myfile \;
HTH,
Joris
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Need an older version of Perl on Debian for WebCT

2004-07-27 Thread Carlos Sousa
On Tue, 27 Jul 2004 14:21:03 +0200 Johann Spies wrote:
> ...

That's it, I'm switching to Gentoo, or Mandrake.

I can hold my own on the bleeding edge, but Debian is really
becoming too much for any sane man to handle...

;)

-- 
Carlos Sousa
http://vbc.dyndns.org/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: procmail file locking broken?

2004-07-27 Thread Wayne Topa
Robert L. Harris([EMAIL PROTECTED]) is reported to have said:
> 
> 
>   I just got a couple calls from some people I work with and have been
> bouncing emails it seems.  I think I tracked it down to a problem with
> procmail trying to lock files.  In my procmail log I get this:
> 
> procmail: No match on "charset=.*(koi8|windows-125[15]|big-?5|gb2312)"
> procmail: Match on ! "^Content-Type: message/"
> procmail: No match on ! "^Content-Type: multipart/"
> procmail: Locking "/tmp/.msgid.lock"
> procmail: Executing
> "/usr/bin/crm,-u,/home/nomad/crm114,/usr/share/crm114/mailfilter.crm"
> procmail: No match on "charset=.*(koi8|windows-125[15]|big-?5|gb2312)"
> procmail: Match on ! "^Content-Type: message/"
> procmail: No match on ! "^Content-Type: multipart/"
> procmail: Locking "/tmp/.msgid.lock"
> procmail: [1756] Tue Jul 27 10:24:21 2004
> procmail: Locking "/tmp/.msgid.lock"
> procmail: [1756] Tue Jul 27 10:24:29 2004
> procmail: Locking "/tmp/.msgid.lock"
> 
> 
> The last 5 lines will continue a while and as more mail comes in, more
> lock request are added in.  If I do a "ps" I can see the procmails start
> adding up until I have 80 or so and things start failing.  The procmail
> line generating this is:
> 
> :0fw: /tmp/.msgid.lock
> | /usr/bin/crm -u /home/nomad/crm114 /usr/share/crm114/mailfilter.crm
> 
> I changed it to "/tmp/.msgid.lock" from ".msgid.lock" thinking it might
> be related to an NFS issue but the behaviour is the same.
> 
> 
> Any thoughts?  The spam is killing me.

Yes, install mailfilter and don't download the spam in the first place.
I 'was' using procmail for that but with sooo much spam coming in I
decided to remove it at the pop server rather then download it.  I
have not looked back as I now download only 3-4 spam msgs per day.

wt
-- 
Linux represents a best-of-breed UNIX, that is trusted in mission
critical applications, and - due to it's open source code - has a long
term credibility which exceeds many other competitive OS's.
 - Microsoft internal memo - http://www.opensource.org/halloween/halloween2.html
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Problems with lstat() and large files

2004-07-27 Thread Ketil Froyn
Hi,

I'm having some problems with lstat() on debian stable and debian
testing with 2.4 kernels. A program that tries to do lstat on a file
bigger than 2gb gets an error. Has anyone else experienced this? I'm
running third party software that requires a functional ltrace(), and
doesn't handle this well.

The lstat() appears to work with on debian stable with a 2.2 kernel,
but I need 2.4 for hardware support etc.

I've tested on debian sarge as well, and I get the same results there.
Is this a known problem? Is there a known fix? The same program worked
fine on redhat 8.
Do I have to go back?

Here is a sample program. Compile like this:
$ gcc -o testlstat testlstat.c
and run like this
$ ./testlstat /path/to/largefile
and watch it fail with ltrace:
$ ltrace ./testlstat /path/to/largefile

-- testltstat.c --
#include 
#include 
#include 
#include 
#include 
#include 
#include 

int main (int argc, char * argv[]) {
  struct stat buf;
  if (lstat(argv[1], &buf) == -1) {
printf("error: %s\n",strerror(errno));
return 1;
  }
  printf("Success\n");
  return 0;
}


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Apt-get upgrade for security announcement

2004-07-27 Thread Eric Walstad
Hi All,

I'm having trouble trying to apt-get update/upgrade my debian unstable 
machine with the latest security fixes as advertised in the 
debian-security-announce emails.  When I do:

apt-get update
apt-get upgrade
dpkg -l | grep 

I find that the installed version of the package doesn't match what 
advisory says is available.

In the debian security announcements, the instructions for apt-get 
users say:

-
For the unstable distribution (sid), CAN-- was fixed in
version X.Y.ZZ.

We recommend that you update your  package.

Upgrade Instructions
- 
[...]
If you are using the apt-get package manager, use the line for
sources.list as given below:

apt-get update
        will update the internal database
apt-get upgrade
        will install corrected packages

You may use an automated update by adding the resources from the
footer to the proper configuration.
-

My question: 
1.  The emails imply that there are unstable packages avaialble.  If 
so, how do I apt-get update/upgrade them?

Many thanks for your time and pointers.

Eric.



cdrecord severly drags system time on woody/2.4.18-bf2.4

2004-07-27 Thread Michael Adler
I'm investigating what causes the System Time to become inaccurate on
some of our servers. In brief, cdrecord seems to cause a rapid slow
down of the System Time. It occurs with the 2.4.18-bf2.4 kernel
packaged with woody, but not with a 2.4.22-xfs kernel packaged with
(some version of) Knoppix. I wonder if anyone has some helpful
suggestions.

First off, we can't use ntpd because most of our servers are isolated
from the Internet or any timeserver (that would be too easy).

By using hwclock(8) and date(1), I've observed that the "Hardware
Clock" (as it is known in hwclock(8)) remains relatively accurate
(less than a few seconds off each day). The "System Time" (the one
generally used and displayed by "date" command) can slow down by 3
minutes per day. This is not "systematic drift," however. Systematic
drift of the System Time would be correctable by the straightforward
usage of adjtimex(8).

After some digging, I realized that the System Time would stay on
track until I ran cdrecord. The output of "adjtimex --compare="
can track this conveniently by comparing the clocks every 10 seconds
(by default):
   --- current ----- suggested --
cmos time system-cmos   2nd difftick   freq tickfreqn
# normal load, decent numbers
1090849223   -0.318473   0.000351   1 01 -2300314
1090849233   -0.318122   0.000351   1 01 -2300314
1090849243   -0.317769   0.000353   1 01 -2313421
1090849253   -0.317417   0.000352   1 01 -2306867
1090849263   -0.317064   0.000353   1 01 -2313421
1090849273   -0.316712   0.000352   1 01 -2306866
# later, during cdrecord, we quick diverge
1090913787  -61.372268  -2.929505   1 012930 -3244032
1090913801  -64.211767  -2.839499   1 012839  3270246
1090913816  -67.431230  -3.219463   1 013219  3034317
1090913830  -70.190732  -2.759502   1 012760 -3263692
1090913844  -73.170142  -2.979410   1 012979  2686975
# after cdrecord finishes, the numbers stabilize
1090914119  -86.640365   0.000357   1 01 -2339635
1090914129  -86.640004   0.000361   1 01 -2365849
1090914139  -86.639646   0.000358   1 01 -2346189
1090914149  -86.639288   0.000358   1 01 -2346189

This says that during cdrecord, the system time (System Time) would
diverge from the cmos time (Hardware Clock) at a rate of 2.5-3.5
seconds per 10 seconds (see the 3rd column). That's awful.

I have considerred updating my kernel, since this does not occur on a
Knoppix-based system that uses 2.4.22-xfs.

I have also considerred using "hwclock --hctosys" after cdrecord since
the hwclock is still relatively accurate afterwards.

Any other ideas or questions?

BTW, we're running modern gear, like Pentium 4s.

- Mike Adler


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: trouble with curses.h

2004-07-27 Thread Martin Dickopp
[EMAIL PROTECTED] writes:

> Hi all,
> I have debian 3.0 woody on a linux box..
> i am getting the following error while complining a program...
>
> menkar >> make
> cc -c galfit.c
> galfit.c:15: curses.h: No such file or directory
> make: *** [galfit.o] Error 1
>
> i undersatnd that i need to install ncurses-devwhen i try
> using apt-get i get the following error.
>
> menkar:/home/abhi# apt-get install ncurses-dev
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Note, selecting libncurses5-dev instead of ncurses-dev
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
>
> Since you only requested a single operation it is extremely likely that
> the package is simply not installable and a bug report against
> that package should be filed.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>   libncurses5-dev: Depends: libncurses5 (= 5.2.20020112a-7) but 5.4-4 is
> to be installed
> E: Broken packages
> 
>
> Is this a bug?
> i am NOT using an unstable distribution!

Apt tries to install libncurses5-dev from testing/unstable, so most
likely your /etc/apt/sources.list file is not set up correctly.  Make
sure it refers to stable, but not testing or unstable.  Then issue the
command

apt-get update && apt-get install libncurses5-dev

Martin


-- 
   ,--.Martin Dickopp, Dresden, Germany ,= ,-_-. =.
  / ,- )   http://www.zero-based.org/  ((_/)o o(\_))
  \ `-' `-'(. .)`-'
   `-. Debian, a variant of the GNU operating system.   \_/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: DNS

2004-07-27 Thread CW Harris
On Tue, Jul 27, 2004 at 08:05:28AM -0600, Marvin Gerardo Aguero Salazar wrote:
> Thanks to all the folks who replied to my original posting. I really do
> appreciate it. What I was looking for was the /etc/resolv.conf approach.
> 
> Unfortunately, I just realized that's not what I needed. :-)
> 
> I thought the windows boxes of my co-worker's were translating names to
> ip addresses for their DNS set up.
> 
> I just realized it was not their DNS but rather the WINS server the one
> that is translating from names to IP addresses.

Perhaps the winbind package will be useful? (No experience with it
though.)

apt-cache show winbind

Package: winbind
Priority: optional
[...]
Description: service to resolve user and group information from Windows NT servers
 This package provides the winbindd daemon, which provides a
 service for the Name Service Switch capability that is present
 in most modern C libraries (like the GNU C Library - glibc.)
 .
 The service provided by winbindd is called `winbind' and
 can be used to resolve user and group information from a
 Windows NT server. The service can also provide authentication
 services via an associated PAM module.


-- 
Chris Harris <[EMAIL PROTECTED]>
---
GNU/Linux --- The best things in life are free.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



IBM F50 RS/6000 PPC PowerPC

2004-07-27 Thread Francisco Ernesto Teixiera




When I try to install the Debian on this machine, 
this return "Unable to mount Rescue Disk.", in all installation 
modes.
 
But, when I go to console mode (Alt+F2), and 
do mount -o loop rescue.bin /mnt, this mount...
 
How I do?


Re: how can other users use X?

2004-07-27 Thread Andreas Janssen
Hello

rich (<[EMAIL PROTECTED]>) wrote:
> On Tuesday 27 July 2004 16:45, Joost De Cock wrote:
>> On Tuesday 27 July 2004 17:35, rich hurled the following on the wire:

>>> I start my X session as one user, then from a terminal where I've
>>> su'ed to another (not root), I want to be able to use gvim, but it
>>> tells me it's not allowed to use the X server.
>>>
>>> How can I get this working?
>>
>> Give that user permission to connect to the X server.
>> Check out the xhost man page.
>
> thanks!
> that's it : )

There are other possibilities, you can for example use some wrapper like
gksu, sux or kdesu. Depending on your setup, these programs may be more
secure than xhost.

best regards
Andreas Janssen

-- 
Andreas Janssen <[EMAIL PROTECTED]>
PGP-Key-ID: 0xDC801674 ICQ #17079270
Registered Linux User #267976
http://www.andreas-janssen.de/debian-tipps.html


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Cups can't start with error 98

2004-07-27 Thread CW Harris
I believe I'm starting to know more about CUPS than I really want to.
If the following solves your problem, we both need to RTFM better ;-)

On Tue, Jul 27, 2004 at 12:09:56PM +1000, Tim Connors wrote:
[...]
> Nothing interesting, but I did notice one more line of output that I
> didn't before:
> 
> I [27/Jul/2004:12:04:46 +1000] Listening to 0:631
> I [27/Jul/2004:12:04:46 +1000] Listening to c0a80102:631

I believe this is a configuration error in your cupsd.conf
I can replicate this error with the following:
Port 631
Listen 192.168.1.2:631

I think the Port directive binds to *any* address on 631.  The second
directive tries to bind 192.168.1.2 on port 631, but that is already
taken with the *any* address on 631.  So I *think* you can either let it
bind to *any* address and not have a listen directive.  Or remove the
port directive and list the address/ports you want it to listen on (you
may need to allow it to listen on 127.0.0.1)

> I [27/Jul/2004:12:04:46 +1000] Sending browsing info to c0a801ff:631
> I [27/Jul/2004:12:04:46 +1000] Loaded configuration file "/etc/cups/cupsd.conf"
> I [27/Jul/2004:12:04:46 +1000] Configured for up to 100 clients.
> I [27/Jul/2004:12:04:46 +1000] Allowing up to 100 client connections per host.
> I [27/Jul/2004:12:04:46 +1000] Full reload is required.
> I [27/Jul/2004:12:04:47 +1000] LoadPPDs: Read "/etc/cups/ppds.dat", 2402 PPDs...
> I [27/Jul/2004:12:04:49 +1000] LoadPPDs: Wrote "/etc/cups/ppds.dat", 2402 PPDs...
> I [27/Jul/2004:12:04:49 +1000] Full reload complete.
> E [27/Jul/2004:12:04:49 +1000] StartListening: Unable to bind socket for address 
> c0a80102:631 - Addre
> ss already in use.

For what it's worth, a successful start in my logs looks the same up to
the "StartListening: Unable ..."

> 
> The start line says listening. Has it opened the port for listen yet,
> or does it defer the actual open until the E line, where it fails? Or
> is it indeed trying to open the port twice?

The latter I believe.

HTH

-- 
Chris Harris <[EMAIL PROTECTED]>
---
GNU/Linux --- The best things in life are free.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: Multi-head (non-Xinerama) window managers

2004-07-27 Thread Raylouha
Please remove all aol art files from my pc  raylouha


Re: Re: Multi-head (non-Xinerama) window managers

2004-07-27 Thread Raylouha
Please remove all aol art from my pc  raylouha


filename problem

2004-07-27 Thread Thomas Meggs

Hi -

I have a few files on my system which I'm having issues dealing with. Here
is the story:

File can't be ls'd:
# ls -l
ls: egotrippi_-_??l??_koskaan_ikin??.mp3: No such file or directory
total 135800
[ The error is generated, but then the file isn't listed with the rest of
the output. ]

File can't be glob'd:
# rm ego*
rm: cannot remove `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory

File can't be mv'd (here it is quoted):
# mv "egotrippi_-_??l??_koskaan_ikin??.mp3" test.mp3
mv: cannot stat `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory

Or just escape'd:
# rm egotrippi_-_\??l\??_koskaan_ikin\??.mp3
rm: cannot remove `egotrippi_-_?\346l?\346_koskaan_ikin?\346.mp3': No such
file or directory

I've unmounted the partition and force fsck'd it, it checks clean. For the
curious, it is on a mdadm'd (RAID1) JFS partition.

I've tried changing my locale to ISO8859-1, ISO8859-15, and UTF-8.

I've also tried removing the file via midnight commander, I get the
'cannot stat' error message.

If I do an ls -i, the same error pops up and the inode isn't listed with
the file.

I've tried # file ego* and that can't find the file either.

I just moved the system in particular from Fedora over to Debian. Fedora
had no problems reading it.

Any suggestions would of course be appreciated.

Thanks!


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: aol art files:

2004-07-27 Thread Raylouha
Please remove files from my pc  raylouha


Re: Need an older version of Perl on Debian for WebCT

2004-07-27 Thread Johann Spies
On Tue, Jul 27, 2004 at 10:29:24AM -0400, Greg Folkert wrote:
> 
> Not a version issue. This is a matter of having the proper CPAN modules
> added to Perl. You can find out what CPAN modules are installed in the
> RH 7.3 machine. When you get that list, look ing the Debian archive for
> those modules. Other wise, goto CPAN and D/L the module.

Thanks Greg.  It was indeed not a perl version issue.  Installing
perl-berkeley and -dbi libraries solved the problem.

Regards
Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "But the wisdom that is from above is first pure, then 
  peaceable, gentle, and easy to be intreated, full of 
  mercy and good fruits, without partiality, and without
  hypocrisy." James 3:17 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Need an older version of Perl on Debian for WebCT

2004-07-27 Thread Johann Spies
On Tue, Jul 27, 2004 at 10:40:42AM -0400, Jason Rennie wrote:
> On Tue, Jul 27, 2004 at 02:21:03PM +0200, Johann Spies wrote:
> > The problem is that (we are trying out sarge now) the perl version
> > (5.8.3) cannot open the Berkeley database files of WebCT 3.8.  I
> > suspect it needs perl 5.005 which is what is installed on the RH
> > server at the moment.  Is there a way to have both perl 5.8.3 and
> > 5.005 on the same machine?
> 
> Are you absolutely sure you have installed all the necessary packages?
> Here are some packages that perl may need to read Berkeley DB files:
> 
> libberkeleydb-perl
> libdbi-perl

No I was not sure. 
I installed them and it seems to do the job.  

Thanks.

It is time that I learn more about perl!

Regards
Johann
-- 
Johann Spies  Telefoon: 021-808 4036
Informasietegnologie, Universiteit van Stellenbosch

 "But the wisdom that is from above is first pure, then 
  peaceable, gentle, and easy to be intreated, full of 
  mercy and good fruits, without partiality, and without
  hypocrisy." James 3:17 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



authentication errors

2004-07-27 Thread rich
I'm using sarge with Gnome and always get this

GnomeUI-WARNING **: While connecting to session manager:
Authentication Rejected, reason : None of the authentication protocols 
specified are supported and host-based authentication failed.

when launching an X app from the terminal. The apps still work ok, I'd just 
like to know what the error is.

I tried man gnome-smproxy but got confused.

anyone else had this? 

thanks, rich


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Did that. Now no net.

2004-07-27 Thread Hendrik Boom
On Tue, Jul 27, 2004 at 11:17:13AM -0400, Hendrik Boom wrote:
> On Mon, Jul 26, 2004 at 11:44:20AM -0400, Alec Berryman wrote:
> > begin  quotation of Hendrik Boom:
> > 
> > > This still leaves open which is the best way to go about it -- copy and
> > > upgrade, or new install.
> > 
> > New install.  The new installer will recreate automatically most of
> > the config files you'd be moving, and you'll have a cleaner system to
> > start from.
> 
> Tried that, now no net.
> 
> Created a beta-4 iso for the debian net-installer, installed from that
> onto /dev/hda3.  /dev/hda4 still contains my woodu system, which still works
> perfectly.
> 
> But the new and very minimal sarge can't access the net.  Pings don't seem
> to get as far as the ethernet card.
> 
> Here's the routing table:
> 
> Kernel IP routing table
> Destination Gateway Genmask Flags Metric RefUse Iface
> 172.25.1.0  0.0.0.0 255.255.255.0   U 0  00 eth0
> 0.0.0.0 172.25.1.1  0.0.0.0 UG0  00 eth0
> 
> It's identical to the routing table on the woody system.
> 
> Here's the output from ifconfig:
> 
> eth0  Link encap:Ethernet  HWaddr 00:0A:E6:55:93:CD  
>   inet addr:172.25.1.4  Bcast:172.25.1.255  Mask:255.255.255.0
>   UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
>   RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:1000 
>   RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
>   Interrupt:18 Base address:0xb400 
> 
> loLink encap:Local Loopback  
>   inet addr:127.0.0.1  Mask:255.0.0.0
>   UP LOOPBACK RUNNING  MTU:16436  Metric:1
>   RX packets:6 errors:0 dropped:0 overruns:0 frame:0
>   TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
>   collisions:0 txqueuelen:0 
>   RX bytes:657 (657.0 b)  TX bytes:657 (657.0 b)
> 
> 
> It's the same as the one from woody, except that
>   woody gives me nonzero packet counts.
>   etho has interrupt: 18 instead of interrupt:5  Aren't these
>   dynamically assigned during boot, though?
> 
> Pinging to 172.25.1.4 and 127.0.0.1 work fine.  Both of them are,
> of course, IP numbers for the machine doing the pinging, so it doesn't
> need to get to the ethernet card.
> 
> What should I do to diagnose the problem.
> 
> Did the installer, which seemed pretty straightforward, miss some
> essential component?  I did the default (I presume nonexpert 2.4 kernel)
> installation.  Did I do something unobviously wrong?
> Needless to say, I can't access any of the Debian archives
> to get any further.

I might add that my /etc/resolv.conf file contained no nameserver IP numbers.
I had to hand-edit them in.  Not that they would have been useful
without net access.  But this might indicate something about which
installation step failed or was inadvertently skipped.  Thanks for
including nano in the base install -- I can never remember how to use vi.
 
 -- hendrik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >