Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2347

From: <debian-user-digest-request(at)lists.debian.org>
Date: Mon Sep 10 2007 - 11:07:57 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2347

Today's Topics:

  Re: exim4 maybe too complex to remai  [ Tyler Smith  ]
  a few relatively dumb questions abou  [ "Michael Fothergill"  ]

Date: 10 Sep 2007 12:19:51 GMT
From: Tyler Smith <tyler.smith@mail.mcgill.ca> To: debian-user@lists.debian.org
Subject: Re: exim4 maybe too complex to remain useful Message-ID: <slrnfeadjb.4d6.tyler.smith@blackbart.mynetwork>

On 2007-09-10, Kumar Appaiah <akumar@iitm.ac.in> wrote:
> On Mon, Sep 10, 2007 at 06:42:32AM +0000, Jude DaShiell wrote:
>> If using exim4 and it's necessary to use a smarthoast where can that be
>> configured? I find sendmail less complex than exim4 and all other mail
>> transport agents I've tried less complex than the pair of them.
>
> sudo dpkg-reconfigure exim4-config
>
> Adn this is waaaaaay less complex than anything else I've seen for
> smarthost!
>

This is probably common knowledge, but I recently discovered the -u flag. This is handy, since I routinely use three different smarthosts. So when I plug my laptop into a different network, I switch the comments in my /etc/exim4/update.conf.conf file to point to the right smarthost:

  dc_smarthost='smtp1.ns.sympatico.ca'
  #dc_smarthost='smtp.smu.ca'
  #dc_smarthost='mailhost.mcgill.ca'

Do you need help?X

and then run

  dpkg-reconfigure -u exim4-config

This way, dpkg-reconfigure just switches the smarthost, without making me answer a bunch of questions about things that don't change.

At some point I suppose I should write a script that will check which network I'm on and invoke dpkg-reconfigure exim4-config with the right options, but I'm not sure how to do that yet - any hints welcome!

Cheers,

Tyler

Date: Sat, 8 Sep 2007 07:31:50 -0400
From: "Thomas H. George" <lists@tomgeorge.info> To: debian-user@lists.debian.org
Subject: Re: wodim:Can't Set SG_SET_TIMEOUT

Message-ID: <20070908113150.GA3579@tomgeorge.info>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Do you need more help?X

On Fri, Sep 07, 2007 at 05:34:13PM -0500, Mumia W.. wrote:
> On 09/07/2007 03:19 PM, Thomas H. George wrote:
>> I have an Etch box with a linux-image-2.6.18-5-k7. All works well but
>> wodim -devices
>> Beginning native device scan. This may take a while ...
>> wodim: Invalid argument. Cannot Set SG_SET_TIMEOUT
>> Apt-get install wodim confirms I have the latest release. I have also run
>> apt-get dist-upgrade but still get the same result from wodim -devices.
>> What's wrong?
>> Tom George
>
> What is the output of wodim -scanbus ?

Can't open SCSI driver!

Note that I am using the linux-image kernel, not a kernel compiled from a linux-source kernel package. Apparently the linux-image kernel is not compiled with scsi emulation.

>
> What device does your CD-ROM/DVD normally use?

/dev/hdc I can mount it as /media/cdrom0 and read data files from a cd

The output of less /proc/ide/hdc/driver is ide-cdrom version 4.61

>
> Is your optical drive accessed through the normal ATAPI driver or through
> ide-scsi (SCSI emulation for IDE devices)?
>
> Is SCSI compiled into your kernel--at least as a module? If so, is that
> module loaded? I think that the 'sg' (SCSI general?) module is used by
> wodim.

The output of lsmod includes ide_cd and cdrom which uses ide_cd.

Can we help you?X

insmod sg finds no such module.
>
> --------------------
> I'm running Sarge with kernel 2.6.22 and wodim (self compiled) 1.1.6. Even
> though 2.6 kernels support writing to ATAPI optical drives, I'm still using
> ide-scsi to drive my CD writer.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>

Date: Sun, 9 Sep 2007 08:16:51 -0400
From: "Thomas H. George" <lists@tomgeorge.info> To: debian-user@lists.debian.org
Subject: Re: wodim:Can't Set SG_SET_TIMEOUT

Message-ID: <20070909121651.GA5193@tomgeorge.info>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Fri, Sep 07, 2007 at 05:34:13PM -0500, Mumia W.. wrote:
> On 09/07/2007 03:19 PM, Thomas H. George wrote:
>> I have an Etch box with a linux-image-2.6.18-5-k7. All works well but
>> wodim -devices
>> Beginning native device scan. This may take a while ...
>> wodim: Invalid argument. Cannot Set SG_SET_TIMEOUT
>> Apt-get install wodim confirms I have the latest release. I have also run
>> apt-get dist-upgrade but still get the same result from wodim -devices.
>> What's wrong?
>> Tom George
>
> What is the output of wodim -scanbus ?

Cannot open SCSI driver

>
> What device does your CD-ROM/DVD normally use?
>

/dev/hdc

> Is your optical drive accessed through the normal ATAPI driver or through
> ide-scsi (SCSI emulation for IDE devices)?

Can't find what you're looking for?X

In lsmod I find ide_cd and cdrom uses ide_cd

>
> Is SCSI compiled into your kernel--at least as a module? If so, is that
> module loaded? I think that the 'sg' (SCSI general?) module is used by
> wodim.

I am using a linux-image-2.6.18 kernel. Apparently it was not compiled with SCSI emulation as this should not be needed.

> --------------------
> I'm running Sarge with kernel 2.6.22 and wodim (self compiled) 1.1.6. Even
> though 2.6 kernels support writing to ATAPI optical drives, I'm still using
> ide-scsi to drive my CD writer.
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>

Date: Mon, 10 Sep 2007 14:53:28 +0200
From: Martin Zobel-Helas <zobel@ftbfs.de> To: Nigel Henry <cave.dnb@tiscali.fr>
Cc: debian-user@lists.debian.org, listmaster@lists.debian.org Subject: Re: Sex spam again on the list

Message-ID: <20070910125328.GC10992@ftbfs.de>
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

Hi,

> A thing every user can do is to bounce spam delivered to the lists to
> reportspam@lists.debian.org. Best you use mutt's bounce-function or
> Kmails redirect function for that, so the headers don't get modified, so
> we can directly us that emails to train our filters to do better.

Don't know where to look next?X

Need to correct myself here: The correct address is report-listspam@lists.debian.org

Greetings
Martin

-- 
[root@debian /root]# man real-life
No manual entry for real-life

Date: Mon, 10 Sep 2007 12:54:41 +0000 From: "Michael Fothergill" <mikef20000@hotmail.com> To: debian-user@lists.debian.org Subject: a few relatively dumb questions about camcorders.... Message-ID: <BAY104-F28F618CB616BCDEA4ECE3691C00@phx.gbl> Content-Type: text/plain; format=flowed Dear Debianists, I am interested to get a camcorder and use it along with Debian..... I got myself a copy of Digital Video Oct 2007 magazine. In there is a useful review of a wide range of camcorders. The general picture I get from reading the magazine and various web pages and av forum pages is that people seem to think that mini DV is the better format for relatively low priced camcorders. Hard Disk ones work OK but the quality is not quite as good as tape cameras at the same price. You can also get DVD camcorders. They have a DVD disk in there that is smaller than a regular DVD that you would use e.g. to install Debian with, but conventional DVD optical drives can apparently read these smaller video DVD disks. Again the magazine and web pages seem to say that the quality of the DVD camcorders are not quite as good quality at a given price in the budget range as mini DV camcorders. I guess the advantage of the DVD and hard disk cameras would be one of convenience in that you could transfer footage to the computer hard drive very quickly and without fuss. If you want to copy the footage to the computer from the mini DV tape camcorder you apparently have to use a firewire cable. I assume this means that I will have to attach a firewire card to my PC..... There is an IEEE 1394 connector on the board apparently. I am using an AMD64 box with an AMD64 Sempron 3200 chip and a socket AM2 board I got from novatech...... It also has PCI and PCI Express slots in it. It is the K8M890M2M4 motherboard sold by Novatech to be precise. I don't have a graphics card yet but I will get one soon. In the buyer's guide in the Digital Video magazine (published by Future Publishing who also produce the Linux Format magazine) the editor's choice for a camcorder in my price range is a miniDV camcorder made by JVC. The model is the JVC GR-D340. It retails for around £300 ($600). You can get it at a discount on the internet (£200). Apparently it has a selection of automatic exposure modes, wipes, fades and 16:9 shooting. As far as I understand it the 16:9 mode is for widescreen TVs. It also has a 32x optical zoom. The audio performance is also good and so is picture quality. It got an overall rating of 94%. I think I would buy this camera...... However, I went into Curry's electrical store at the weekend and they had a camcorder which had 3CCD technology in it that was retailing for around £200............... The guy in the shop said this was superior to single CCD camera technology. Am I missing out here? In practice, is it a pain having to copy tapes slowly for an hour etc or so through the firewire on to the computer? Are the results really that much better with the tape cameras? In reality I would film some stuff, copy it on to the PC and edit it to add some subtitles, some graphics and desktop software slides etc... nothing fancy..... Plus audio commentary. I guess that Blender could do some editing and also graphics. Recommendations for other software to do this would be appreciated. People have suggested kino to me before on this list. Comments appreciated. Regards Michael Fothergill _________________________________________________________________ The next generation of Hotmail is here! http://www.newhotmail.co.uk

Date: Mon, 10 Sep 2007 14:59:49 +0100 From: Martin Waller <martinej.waller@ntlworld.com> To: debian user <debian-user@lists.debian.org> Subject: Moving MySQL database from one machine to another and remotely accessing dbs? Message-ID: <46E54DD5.3050406@ntlworld.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Hi, I'm using MySQL 4.1 on Etch and have a database (that I created) on another machine (still Sarge) that I want to transfer to the other before upgrading to etch on that machine also. Where should I look to find out how to do this? Is it just a matter of locating the database and copying or is it more subtle? Are there any security considerations? On the security note, I'd also like to be able to access the database from other machines but am unable as by default remote access to the server isn't allowed - again, where should I be looking for information on how to change this? The MySQL docs are pretty daunting for a database newby, and I was hoping there'd be some debian-specific documentation somewhere... Thanks if anyone can help point me to the relevant information source, Martin

Date: Mon, 10 Sep 2007 08:49:17 -0500 From: "Mumia W.." <paduille.4061.mumia.w+nospam@earthlink.net> To: Debian User List <debian-user@lists.debian.org> Subject: Re: wodim:Can't Set SG_SET_TIMEOUT Message-ID: <46E54B5D.6090207@earthlink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit On 09/09/2007 07:16 AM, Thomas H. George wrote:
> On Fri, Sep 07, 2007 at 05:34:13PM -0500, Mumia W.. wrote:
>> On 09/07/2007 03:19 PM, Thomas H. George wrote:
>>> I have an Etch box with a linux-image-2.6.18-5-k7. All works well but
>>> wodim -devices
>>> Beginning native device scan. This may take a while ...
>>> wodim: Invalid argument. Cannot Set SG_SET_TIMEOUT
>>> Apt-get install wodim confirms I have the latest release. I have also run
>>> apt-get dist-upgrade but still get the same result from wodim -devices.
>>> What's wrong?
>>> Tom George
>> What is the output of wodim -scanbus ?
>
> Cannot open SCSI driver
>
>> What device does your CD-ROM/DVD normally use?
>>
>
> /dev/hdc
>
>> Is your optical drive accessed through the normal ATAPI driver or through
>> ide-scsi (SCSI emulation for IDE devices)?
>
> In lsmod I find ide_cd and cdrom uses ide_cd
>
>> Is SCSI compiled into your kernel--at least as a module? If so, is that
>> module loaded? I think that the 'sg' (SCSI general?) module is used by
>> wodim.
>
>
> I am using a linux-image-2.6.18 kernel. Apparently it was not compiled
> with SCSI emulation as this should not be needed.
>
SCSI emulation is probably compiled as a module. Put this on the kernel command line: hdc=ide-scsi That should allow the SCSI emulation driver to take control of that interface. You might have to "modprobe ide-scsi" after bootup.

Date: Mon, 10 Sep 2007 16:30:26 +0200 From: Thomas Jollans <thomas@jollans.com> To: debian-user@lists.debian.org Subject: Re: Slow bash script Message-Id: <200709101630.26754.thomas@jollans.com> Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline On Sunday 09 September 2007, Andrew Sackville-West wrote:
> On Sun, Sep 09, 2007 at 05:35:12PM -0400, Marty wrote:
> > Andrew Sackville-West wrote:
> >> On Sun, Sep 09, 2007 at 04:23:42PM -0400, Marty wrote:
> >>> The following script seems to run abnormally slow on a 400Mhz Sarge
> >>> system, getting only about one iteration per second in the while loop.
> >>> It extracts md5sums from a 180k Packages file and makes an indices
> >>> file. I've narrowed down the slowdown to the lines in the while loop
> >>> starting with "search=..."
> >>
> >> how have you determined this?
> >
> > I checked the output rate by outputing to stdout (instead of piping to
> > gzip after the "done" statement). I also timed it with the "time"
> > command.
>
> but, That only tells you how long it takes to iterate through the loop
> to get to the gzip command, not how much time is spent in each
> statement.
>
> smth like:
>
> while read inputline
> do echo "input line is " $inputline
> search=`grep...`
> echo "search is " $search"
> if...
> echo "we got a good search"
> fi
> ...
> done
how about ``set -x'' and let the shell do it for you ? End of debian-user-digest Digest V2007 Issue #2347 ************************************************** Received on Mon Sep 10 11:08:02 2007

This archive was generated by hypermail 2.1.8 : Sun Oct 07 2007 - 07:54:33 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library