Re: Shutdown my Laptop? Why should I?

2006-08-03 Thread Russell L. Harris
"Jack Nguy" <[EMAIL PROTECTED]> writes:

> Another thing to keep in mind is the spinning of the harddrive. A
> harddrive doesn't have inifite lifespan and laptop harddrives are not
> designed for 24/7 spinning.
>
> Jack
>
>
> On 7/12/06, David R. Litwin <[EMAIL PROTECTED]> wrote:
>> I have a year old Toshiba Intel Mobil P4 laptop using Sid. I recently
>> downloaded two large files via BitTorrent. As I wanted to have them as
>> quickly as I could, I decided to leave my laptop on until they were fully
>> downloaded, rebooting only for upgrades. I noticed no real
>> difference in performance (maybe Azureus was hogging
>> a bit more memory after a few days).
>>
>> The question is this: Why should I ever turn off my laptop on a normal
>> occasion (normal being every-day, standard, stationary usage)? If I don't
>> want it on, I can suspend it in some way: Waking-up is faster than

The situation is not simple.

All electronic devices have a limited lifetime; some manufacturers
publish "mean time between failure" (MTBF) figures, which are derived
statistically.  But disk drives have a particular limitation, namely,
the number of starts.  The last time I saw a specification sheet, the
rated number of starts for a laptop drive was on the order of ten
thousand to a hundred thousand, but nowhere near a million.  So a laptop
in which the drive constantly is being powered down to save the battery
is likely to fail sooner than a drive which is kept spinning
continuously.

Continuous operation is not mechanically harmful to a drive, unless you
consider bearing wear.  Ball bearings eventually fail, but in a drive
bearing failure typically is due to contamination, rather than to
loading.  And the newer drives have "fluid film" (i.e., sleeve) bearings
rather than ball bearings; these theoretically have infinite life, if
there is no contamination of the lubricant.

Whenever a drive stops turning, the lubricant film is lost, with the
result that metal-to-metal rubbing contact occurs during stopping and
during subsequent startup; this contact is a source of contamination.

The head of the drive normally flies (in the aerodynamic sense) above
the spinning media; there is no contact with the media while the drive
spinning.  But as the drive stops turning, the supporting air film is
lost, and the head contacts and rubs against the media; this rubbing
contact is a source of contamination.  And upon startup, the head rubs
against the media until the disk is spinning fast enough for the head to
fly; this also is a source of contamination.  Because of this rubbing,
drives have a "parking zone" or "landing zone" to which the head is
moved upon power-down.  Early drives had a "park" command; modern drives
park automatically.  The landing zone is outside the region used for
data storage.

Finally, whenever a drive is dropped or bumped, the head typically
impacts against the media and dislodges microscopic particles; this also
is a source of contamination.

The head flies at a height above the media which is about equal to the
diameter of a particle of cigarette smoke.  In a photomicrograph, a
particle of cigarette smoke looks like a jagged boulder; if it wedges
between the head and the disk, it can gouge media from the surface of
the disk.  

So, within the enclosure of a drive, there are several sources of
contamination.  The contamination can cause media damage and bearing
failure.  Contamination is less likely to be generated in a drive which
is kept running continuously.

While continuous operation is better for the drive, it can shorten the
life of electronic components in the laptop, including the electronics
of the drive; this is because the interior of a laptop typically is
significantly hotter than the interior of a desktop machine.  The
elevated temperature is a consequence of the fact that power is required
to circulate cooling air, and the circulation of air is noisy.  In a
laptop, power must be conserved, and noise must be minimized; so a
laptop cooling of necessity is a compromise.  But the life of components
such as transistors (and thus, integrated circuits) and electrolytic
capacitors is shortened, sometimes dramatically, by elevated
temperature.

So it generally is best to use a laptop in the service for which a
laptop was designed.  But if you keep the machine in a cool room, it may
run for years in continuous service.  

RLH


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



chroot doesn't work, among other things.

2006-08-03 Thread David R. Litwin
Hello vaunted list:I'm having some troubles with chroot. Giving chroot /mnt/hda3 after mount /dev/hda3 /mnt/hda3 tells me Floating Point Exception. apt-get is now busted after I tried to install ntp (I did manage to get ntpdate) and forcing in various ways (installing and uninstalling) is
 doing exactly nothing. Generally, my computer is falling apart, the irc gives no help (use sarge, not sid) and I'm getting mad so pardon me, please, if I don't seem my usual, cordial and eccentric self.Any help will be appreciated, so long as it is useful. Thanks very much indeed.
Cheers.-- —A watched bread-crumb never boils.—My hover-craft is full of eels. —[...]and that's the he and the she of it.  


Re: specify the application to open files in Midnight Command?

2006-08-03 Thread Yuwen Dai
On 8/4/06, ra1 <[EMAIL PROTECTED]> wrote:
On Fri, Aug 04, 2006 at 02:14:21PM +0800, Yuwen Dai wrote:>>I want xpdf instead of gpdf open pdf files in mc. How to do this?>Best regards,You can specify that in /etc/mc/mc.ext
Thanks.  I also find another way:  add my own .mailcap if mc uses run-mailcap in the extensions file.Best regards,Dai Yuwen 
--ra1--To UNSUBSCRIBE, email to [EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact 
[EMAIL PROTECTED]


Re: specify the application to open files in Midnight Command?

2006-08-03 Thread ra1
On Fri, Aug 04, 2006 at 02:14:21PM +0800, Yuwen Dai wrote:
> 
>I want xpdf instead of gpdf open pdf files in mc. How to do this?
>Best regards,

You can specify that in /etc/mc/mc.ext
-- 
ra1


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



specify the application to open files in Midnight Command?

2006-08-03 Thread Yuwen Dai
Dear all,I want xpdf instead of gpdf open pdf files in mc. How to do this?Best regards,Dai Yuwen


Re: installing "unstable"?

2006-08-03 Thread Joe Smith


"Ken Wahl" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]

On Wed, Aug 02, 2006 at 11:38:01AM -0700, K. Richard Pixley wrote:

I don't see an "unstable" installer on the web site.  Is the standard
way to build an "unstable" system to build a "testing" system, point
/etc/apt/sources.list to an unstable repository and update+upgrade?  Or
is there something more common that I'm overlooking?



See http://wooledge.org/~greg/sidfaq.html#3

The way I used most recently was to use a stable netinstall CD and
boot it in expert mode. You'll be prompted which branch you want to
configure apt for (stable, testing or sid). Choose sid. Then I skipped
taskselect and went straight into aptitude and started choosing
packages. This took a little longer but I had an unstable system on
first boot with little cruft. The alternative is to install a testing
system, change your apt sources and dist-upgrade to unstable. This
latter way may be safer for new debian users and is I believe the
recommended method.


Correct. Using any net-inst CD from sarge or beyond should allow you to 
directly install
unstable. This is almost never tested, so there is some chance it could 
fail.
Intsalling testing and upgrading is recomended in all cases, unless 
bandwidth is
a major issue. (For example slow dialup connection). 




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




Re: apt-get md5sum error on etch system

2006-08-03 Thread John O'Hagan
On Friday 04 August 2006 11:03, Jacob S wrote:
> On Mon, 31 Jul 2006 15:58:06 -0400
>
> José Alburquerque <[EMAIL PROTECTED]> wrote:
> > José Alburquerque wrote:
> > > My problem is that when I run 'apt-get update' I get these errors:
> > >
> > > Failed to fetch
> > > http://http.us.debian.org/debian/dists/etch/main/binary-i386/Packages.g
> > >z MD5Sum mismatch
> > > Failed to fetch
> > > http://http.us.debian.org/debian/dists/etch/non-free/binary-i386/Packag
> > >es.gz MD5Sum mismatch
> > > Failed to fetch
> > > http://http.us.debian.org/debian/dists/etch/main/source/Sources.gz
> > > MD5Sum mismatch
> > > Reading package lists... Done
> > > W: Couldn't stat source package list http://http.us.debian.org
> > > etch/main Packages
> > > (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i3
> > >86_Packages) - stat (2 No such file or directory)
> > > W: Couldn't stat source package list http://http.us.debian.org
> > > etch/main Packages
> > > (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i3
> > >86_Packages) - stat (2 No such file or directory)
> > > W: You may want to run apt-get update to correct these problems
> > > E: Some index files failed to download, they have been ignored, or
> > > old ones used instead.
> >

[...]
>
> I have been experiencing this same error, sometimes mixed with a gzip
> error complaining that stdin is not in gzip format for about a week
> now. I just changed my sources.list to use ftp instead of http and
> the problem went away.
>
> However, to make the problem more curious, when this problem started
> happening I was using mirrors.kernel.org so I switched to
> ftp.us.debian.org thinking maybe it was a mirror problem. But that did
> not fix it either. Only switching to ftp seemed to fix it.
>
> This would make me suspect that it's a bug with apt-get, except that I
> am using http for debian-multimedia.org and wine.sourceforge.net
> without problems.
>
> Thoughts, anyone?
>
[...]

I had a similar-sounding problem a couple of months back - I was getting both 
the "Couldn't stat..." and the gzip error messages. I didn't change my 
sources.list because the mirrors seemed to be working for everyone else; and 
I could still upgrade by manually downloading the Packages files from the 
mirror sites. 

There seemed to be something wrong with apt-get's interaction with the 
Packages files. 

I tried deleting everything in /var/lib/apt/, and even purging and 
reinstalling apt (which is scary on a running system). Nothing worked until 
the next upgrade of apt, when the problem went away.

If you search this list for "apt-get update" you will find a smattering of 
similar posts, none with a definitive solution. Makes me think there is a 
sneaky little apt bug out there.

John



Re: auto-download deb files that are already installed

2006-08-03 Thread Chuckk Hubbard

On 8/3/06, Wackojacko <[EMAIL PROTECTED]> wrote:

The first is a hack I use.  Copy the package files from
/var/lib/apt/list and the contents files from /var/cache/apt/ from the
desktop to the laptop and place the deb files in the
/var/cache/apt/archives directory on the laptop and apt-get should find
them as normal.  Also put the entries from the sources.list on the
desktop onto the laptop and do 'apt-get update' this will fail because
you dont have an internet connection and just use the list you copied over.


Cool, this worked.  There were about 30 debs I didn't have on my
desktop, and I made a list and ran aptitude download, as Florian
suggested, and got everything installed on the laptop.
Thanks guys.
-Chuckk


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




Re: cron and GMT time?

2006-08-03 Thread s. keeling
Jim Jarocki <[EMAIL PROTECTED]>:
> 
>  anything obvious that i'm doing wrong or that i should check?  or perhaps 

grep UTC /etc/default/rcS


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.spots.ab.ca/~keeling   Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.html
   Spammers! http://www.spots.ab.ca/~keeling/emails.html


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



Re: Shutdown my Laptop? Why should I?

2006-08-03 Thread Jack Nguy

Another thing to keep in mind is the spinning of the harddrive. A
harddrive doesn't have inifite lifespan and laptop harddrives are not
designed for 24/7 spinning.

Jack


On 7/12/06, David R. Litwin <[EMAIL PROTECTED]> wrote:

I have a year old Toshiba Intel Mobil P4 laptop using Sid. I recently
downloaded two large files via BitTorrent. As I wanted to have them as
quickly as I could, I decided to leave my laptop on until they were fully
downloaded, rebooting only for upgrades. I noticed no real
difference in performance (maybe Azureus was hogging
a bit more memory after a few days).

The question is this: Why should I ever turn off my laptop on a normal
occasion (normal being every-day, standard, stationary usage)? If I don't
want it on, I can suspend it in some way: Waking-up is faster than
booting-up.

I'm keen to hear your opinions, O members.

Cheers.

--
—A watched bread-crumb never boils.
—My hover-craft is full of eels.
—[...]and that's the he and the she of it.




Re: correction, location of grub/menu.lst

2006-08-03 Thread shell

[EMAIL PROTECTED] wrote:
Suppose that a machine has Windows installed on 
hda and Debian on hdb.  The menu.lst on a grub 
installation diskette is configured appropriately and 
copied to /dev/hdb/boot/grub/menu.lst,

not to /dev/hda/boot/grub/menu.lst.
"grub-install /dev/hda" is executed. 


Will grub then know to use the menu.lst on hdb?
If so, how does grub know this?
Otherwise, how can grub be configured to know this?

Thanks,   ... Peter E.

shark at gulfnet dot sd64 dot bc.ca

Desktops.OpenDoc  http://carnot.pathology.ubc.ca/


  
   Suppose ur windows in hda & debian in hdb, BIOS setup in hda. Debian 
has installed perfactly, then u wanna use grub to select which system u 
want when bootup.

   Frist, set BIOS boot hdb other then hda.
   Frist, boot into debian, login as root(or use sudo).
   grub
   root (hd1,X)
   # X is to decide which partition in hdb will do as *root*, normally 
this partition is mounted as / . e.g. (hd1,0) 4 hdb1, (hd1,1) 4 hdb2 etc.

   setup hd1
   reboot
   Then when ur boot up, grub will be the system loader. But u can't 
boot up windows. So u need 2 edit /boot/grub/menu.lst. Adding this.

titlewindows
root(hd0)
chainloader +1
savedefault
boot

   Wish u lucky.
Shell.E.Xu

--
与其相濡以沫,不如相忘于江湖


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




Re: location of grub/menu.lst

2006-08-03 Thread 王旭

2006/8/4, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:

Suppose that a machine has Windows installed on
hda and Debian on hdb.  The menu.lst on a grub
installation diskette is configured appropriately and
copied to /dev/hda/boot/grub/menu.lst.

this is not a real path, how did you do it.


"grub-install /dev/hda" is executed.

Will grub then know to use the menu.lst on hdb?
If so, how does grub know this?
Otherwise, how can grub be configured to know this?


it depends on the grub-install script, it should firstly determine
where is the root partition of grub, in which the menu.list and
stage1, stage1.5, stage2 image of grub store, and it is normaly the
boot partition. Then install it on MBR of /dev/hda.

Usually the grub-install script will find the grub files in
/boot/grub/ dir, but I am not sure about a grub installation diskette.

--
Wang Xu


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




Re: apt-get md5sum error on etch system

2006-08-03 Thread Jacob S
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 31 Jul 2006 15:58:06 -0400
José Alburquerque <[EMAIL PROTECTED]> wrote:

> José Alburquerque wrote:
> 
> > My problem is that when I run 'apt-get update' I get these errors:
> >
> > Failed to fetch 
> > http://http.us.debian.org/debian/dists/etch/main/binary-i386/Packages.gz  
> > MD5Sum mismatch
> > Failed to fetch 
> > http://http.us.debian.org/debian/dists/etch/non-free/binary-i386/Packages.gz
> >   
> > MD5Sum mismatch
> > Failed to fetch 
> > http://http.us.debian.org/debian/dists/etch/main/source/Sources.gz  
> > MD5Sum mismatch
> > Reading package lists... Done
> > W: Couldn't stat source package list http://http.us.debian.org 
> > etch/main Packages 
> > (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i386_Packages)
> >  
> > - stat (2 No such file or directory)
> > W: Couldn't stat source package list http://http.us.debian.org 
> > etch/main Packages 
> > (/var/lib/apt/lists/http.us.debian.org_debian_dists_etch_main_binary-i386_Packages)
> >  
> > - stat (2 No such file or directory)
> > W: You may want to run apt-get update to correct these problems
> > E: Some index files failed to download, they have been ignored, or
> > old ones used instead.
> 
> I'm replying to myself because I believe I fixed this problem on my 
> own:  I did a little research and found that the repository
> information that apt-get uses is found in /etc/apt/apt.sources.  I
> changed my debian mirror from http://http.us.debian.org to
> ftp://ftp.debian.org and this fixed my problem entirely.  (I got the
> list of mirrors from debian.org).  This leads me to believe that
> there may be something wrong with http://http.us.debian.org.  (By the
> way, I experienced the same errors with http://ftp.us.debian.org).
> Should I report this somewhere? Thanks.

I have been experiencing this same error, sometimes mixed with a gzip
error complaining that stdin is not in gzip format for about a week
now. I just changed my sources.list to use ftp instead of http and
the problem went away. 

However, to make the problem more curious, when this problem started
happening I was using mirrors.kernel.org so I switched to
ftp.us.debian.org thinking maybe it was a mirror problem. But that did
not fix it either. Only switching to ftp seemed to fix it. 

This would make me suspect that it's a bug with apt-get, except that I
am using http for debian-multimedia.org and wine.sourceforge.net
without problems.

Thoughts, anyone?

TIA,
Jacob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)

iD8DBQFE0pzXkpJ43hY3cTURAjHlAKDm8At1ZGl71bC3cJpPH2ZJzuEuTwCeKvaU
C3CTSe4f5RChwtHpq+hsH5o=
=529x
-END PGP SIGNATURE-


Re: Film scoring software

2006-08-03 Thread Chuckk Hubbard

On 8/3/06, Niall Donegan <[EMAIL PROTECTED]> wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuckk Hubbard wrote:
> Anyone know a MIDI/audio sequencer for Linux that can score video too?

I can recommend lilypond for the scoring of the music. Rosegarden seems
to be a midi sequencer with support for lilypond, however I haven't used
it. Both programs are available in Apt.


Well, I'm not thinking so much of printing a score as syncing music to
video while composing.  Making markers for certain frames, if
possible.  For some reason, though, I don't have Lilypond.  I'll have
to go get it, I will need it one day.
-Chuckk


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




Re: Corrupt JFS inode table?

2006-08-03 Thread Mumia W.

On 08/03/2006 02:01 PM, Jeff Cleverley wrote:

Greetings,

We have a Dell 2850 running the 2.6.15-1 kernel and have created 2 JFS 
file systems from the non-boot internal drives.  Both JFS file system 
disks come from the same raid group.  The other day the system quit 
responding and we ended up having to power cycle the box.  When it 
booted, everything looked OK, file systems marked clean, mount points 
correct, etc.


Shortly after the reboot we received a call from an engineer that said 
some of their data had no permissions or size.  Another user reported 
that a file he opened did not contain the contents of the file that 
should have been there.  That was for one file system.  The other JFS 
file system appears to have come through cleanly.  We ended up having to 
restore the entire first file system.  Below is an example of what 
happened to the files that changed.  The first one is the old file that 
changed after the reboot and the second one is the one that was restored.


--  1 meg Debian-exim 0 Jul 19 13:47 cdsinit
-rwxr-xr-x  1 meg Debian-exim 17 Jul 19 13:47 cdsinit

As you can see, the ownership and time stamp stayed the same, but file 
permissions were wiped and the size was nulled out in the first one.  We 
unmounted the file system and probably did about 6 fsck of the file 
system with various options and even rebooted the box again.  Nothing 
changed.  Not all data in the file system changed, just random 
directories and files.


We really need to find out what happened, otherwise we don't feel we can 
trust this server or file system with critical data.  Any help debugging 
or diagnosing the problem will be greatly appreciated.  If there is 
another list that might be more appropriate for this problem, please let 
me know.


Thanks,

Jeff



Most likely, the following does not have anything to do with 
your problem because your kernel is 2.6.15, and your 
filesystems are jfs; however, you might be experiencing a 
serious bug affecting XFS partitions.


http://lists.debian.org/debian-user/2006/07/msg02237.html



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




correction, location of grub/menu.lst

2006-08-03 Thread shark
Suppose that a machine has Windows installed on 
hda and Debian on hdb.  The menu.lst on a grub 
installation diskette is configured appropriately and 
copied to /dev/hdb/boot/grub/menu.lst,
not to /dev/hda/boot/grub/menu.lst.
"grub-install /dev/hda" is executed. 

Will grub then know to use the menu.lst on hdb?
If so, how does grub know this?
Otherwise, how can grub be configured to know this?

Thanks,   ... Peter E.

shark at gulfnet dot sd64 dot bc.ca

Desktops.OpenDoc  http://carnot.pathology.ubc.ca/


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



Re: script languages

2006-08-03 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Christensen wrote:
> Ron Johnson wrote:
>> My big problem with Perl is "Special Variables".  They are a 
>> big fat maintainability and debugging trap.
> 
> They're powerful tools, providing easy access to things "under 
> the hood"; use with discretion.

Like land mines are also powerful tools.  One false step, and /boom/
goes your program.

> Does Python have equivalents?

Not to my knowledge.  I can't imagine that an interpreter that
enforces indentation would have Special Land Mines.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0n4KS9HxQb37XmcRAkkNAJ4p1hFvQktHt6CGUwfYpdZT6dwmUACg5Ydb
kug7xHGTgPS4iT0/+FxoXeY=
=VlfO
-END PGP SIGNATURE-


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



location of grub/menu.lst

2006-08-03 Thread shark
Suppose that a machine has Windows installed on 
hda and Debian on hdb.  The menu.lst on a grub 
installation diskette is configured appropriately and 
copied to /dev/hda/boot/grub/menu.lst.
"grub-install /dev/hda" is executed. 

Will grub then know to use the menu.lst on hdb?
If so, how does grub know this?
Otherwise, how can grub be configured to know this?

Thanks,   ... Peter E.

shark at gulfnet dot sd64 dot bc.ca

Desktops.OpenDoc  http://carnot.pathology.ubc.ca/


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



RE: script languages

2006-08-03 Thread David Christensen
Ron Johnson wrote:
> My big problem with Perl is "Special Variables".  They are a big fat
> maintainability and debugging trap.

They're powerful tools, providing easy access to things "under the hood"; use 
with discretion.


Does Python have equivalents?


David


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



Re: Keeping dependencies when running alien

2006-08-03 Thread Joshua J. Kugler
On Thursday 03 August 2006 13:53, Joey Hess wrote:
> Joshua J. Kugler wrote:
> > So, how do I instruct alien to convert these dependencies over?
>
> You can't. For starters, not one of the dependencies you listed from the
> rpm is a package name; debs support only package name dependencies. For
> another, there's no consistency of package names across distributions.
>
> The sole exception, as documented on alien's man page, is lsb packages.

OK, that makes sense.  I suppose one could extend alien to understand RPM's 
depends syntax, find which packages provides those dependencies, and require 
those packages, but that's beyond the scope of my little project today.

Thanks for the insight.

j

-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111


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



Re: synthetic sound generator with api

2006-08-03 Thread Hugo Vanwoerkom

Andrew Sackville-West wrote:

On Thu, Aug 03, 2006 at 08:40:01PM +0200, CJ van den Berg wrote:

On Thu, Aug 03, 2006 at 10:36:35AM -0500, Hugo Vanwoerkom wrote:
No, I don't want to play back anything: I want to *generate* a beeping 
sound. The type depends upon the occasion.


I missed the original message, but how about the beep package?

[EMAIL PROTECTED]:~$ apt-cache show beep




I saw beep, after I programmed the speaker myself. But the speaker is 
universal: there is only one.


I want to be user dependent: I have a system with 2 
xservers/videocards,soundcards,keybds,mice.


So when a little monitoring box on user A's screen sounds, it should do 
so to that user's soundcard.


There is already *sessiond* by Ludovic Pollet, that assigns (via fuse) 
/dev/dsp to /dev/dsp0 or /dev/dsp1 depending on $DISPLAY.


So that is fine for apps that write directly to /dev/dsp.

For the alsa behaved apps (like libao) you set alsa_card=1 or 0 and 
ao_example.c plays on either one soundcard or the other.


Thanks guys!

H


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




Re: synthetic sound generator with api

2006-08-03 Thread Hugo Vanwoerkom

CJ van den Berg wrote:

On Thu, Aug 03, 2006 at 10:36:35AM -0500, Hugo Vanwoerkom wrote:
No, I don't want to play back anything: I want to *generate* a beeping 
sound. The type depends upon the occasion.


So you actually want to synthesize the beep? Is that right?

If you really do want just a beep you could synthesize the sine wave
yourself pretty easily. The one and only source code example in the libao 
coincidentally does exactly that.


http://www.xiph.org/ao/doc/ao_example.c

Right now I use Nas, which has good support from Jon Trulson. But that 
is meant really as a network sound server and not made for playing back 
to a particular sound card.


The libao alsa driver (alsa09), which I assume you would be using, allows
you to specify which device (ie. sound card) you want to use. The oss driver
will too.


E.g. if it is 11:30 I want to produce 5 beeps for maritime chimes.
If the dialup line goes down I want to produce 9 beeps.

I would prefer to produce the beeps for a particular soundcard, for the 
user that is logged on to a monotor that uses that card.


A few lines of tweaking to that example I linked above should do exactly
what you want.



Thanks! I'll look into that!

H



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




Re: Keeping dependencies when running alien

2006-08-03 Thread Joey Hess
Joshua J. Kugler wrote:
> So, how do I instruct alien to convert these dependencies over?

You can't. For starters, not one of the dependencies you listed from the
rpm is a package name; debs support only package name dependencies. For
another, there's no consistency of package names across distributions.

The sole exception, as documented on alien's man page, is lsb packages.

-- 
see shy jo


signature.asc
Description: Digital signature


Hotplug not loaded after basic installation

2006-08-03 Thread Ken Heard
I just finished a basic net installation of Debian 3.1r2 from a 
downloaded net installation CDROM, but I don't think the hotplug module 
loaded.  Here is the relevant part of dmesg:


cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
usbcore: registered new driver usbfs
usbcore: registered new driver hub
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) 
Driver (PCI)
ohci_hcd: block sizes: ed 64 td 64
USB Universal Host Controller Interface driver v2.2

I am not sure what these lines mean, but the word "fail" occurs four 
times; and anything connected to a USB port is not detected.


The mainboard is a Chaintech Socket 370 ATX form factor model 			 
6VJDO-C100A..

CPU is a Celeron Coppermine 1mH.
Chipset is VIA Pro266.
South bridge is VIA VT8233.
Phoenix (now Award) BIOS is according to the manufacturer's website 
the 		latest, which was installed when I purchased the board and CPU 		 
on 5 August 2003 (I had Windows 98 on it before).

Two USB ports mounted on the mainboard.

The specs say that the board is not compatible with Windows XP.  When I 
bought it I did not think that this incompatibility was important, 
because I never intended to use XP.


Does anybody know whether I can somehow tweak hotplug to load and, if 
so, how?  Or does the incompatibility go beyond XP?

--
Ken Heard
Research Associate
Museum Studies Program
University of Toronto, Canada




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




Re: Have DVD burner, will backup!

2006-08-03 Thread Bill Thompson
On Fri, 04 Aug 2006 00:11:32 +0300
David Baron <[EMAIL PROTECTED]> wrote:

> Thanks, I'll try it all and let you know how it works out. The
> problem is that the partial burns are now useless except for scratch.

Are you using DVD-RW disks? I did have a problem with daromizer
the first time I used it because I was using regular DVD-R. The script is
definitely written for use with DVD-RW disks.

-- 
Bill Thompson
[EMAIL PROTECTED]


signature.asc
Description: PGP signature


Keeping dependencies when running alien

2006-08-03 Thread Joshua J. Kugler
I'm trying to use alien to convert a vendor's RPM to .deb.  Mainly so I can 
install it cleanly, but also to help them out.  The REQUIRENAME from the RPM 
has this (x is the app...X'ed out due to the fact that this is a beta 
test, and I'm not sure how much news they want in public):

/bin/sh
/bin/sh
/bin/sh
config(x) = 3.3-15
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1)
libc.so.6(GLIBC_2.1.3)
libc.so.6(GLIBC_2.2)
libc.so.6(GLIBC_2.2.3)
libdl.so.2
libdl.so.2(GLIBC_2.0)
libdl.so.2(GLIBC_2.1)
libgcc_s.so.1
libgcc_s.so.1(GCC_3.0)
libgcc_s.so.1(GLIBC_2.0)
libm.so.6
libm.so.6(GLIBC_2.0)
libpthread.so.0
libpthread.so.0(GLIBC_2.0)
libpthread.so.0(GLIBC_2.1)
libpthread.so.0(GLIBC_2.1.1)
libpthread.so.0(GLIBC_2.3.2)
libstdc++.so.6
libstdc++.so.6(CXXABI_1.3)
libstdc++.so.6(CXXABI_1.3.1)
libstdc++.so.6(GLIBCXX_3.4)
libstdc++.so.6(GLIBCXX_3.4.5)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

PROVIDES has this:
config(x)
xx.so
x

But, when I convert it to a .deb via alien, the control file looks like this:

Package: x
Version: 3.3-16
Section: alien
Priority: extra
Architecture: i386
Installed-Size: 9732
Maintainer: Joshua Kugler <[EMAIL PROTECTED]>
Description: x for Linux 3.3
 .
 x Linux contains the x server daemon for Linux as well as the
  and  data export daemons.  This RPM will install init scripts to 
start
 each of these daemons individually.
 .
 (Converted from a rpm package by alien version 8.52.)

There is no Depends: line.

So, how do I instruct alien to convert these dependencies over?

Thanks!

j


-- 
Joshua Kugler   
Lead System Admin -- Senior Programmer
http://www.eeinternet.com
PGP Key: http://pgp.mit.edu/  ID 0xDB26D7CE
PO Box 80086 -- Fairbanks, AK 99708 -- Ph: 907-456-5581 Fax: 907-456-3111


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



Re: Have DVD burner, will backup!

2006-08-03 Thread David Baron
On Thursday 03 August 2006 23:37, Bill Thompson wrote:
> On Tue, 20 Jun 2006 15:14:15 +0300
>
> David Baron <[EMAIL PROTECTED]> wrote:
> > On Tuesday 20 June 2006 02:19, David E. Fox wrote:
> > > All I could get out of darmonizer was "waiting for the  > > volume>" and then it just stops.
> >
> > I got daromizer to produce and burn one (smaller) slice. Could not
> > coax it into continuing from there.
>
> It took me awhile to resolve this, but I finally have a solution for
> both of these problems.
>
> First, daromizer needs to be run as a local script with the second
> script "darmon" located in the same directory. If you try to treat it
> as a standard program and copy the script to a /bin directory the script
> will hang at the "waiting for the " prompt. The easiest
> thing to do is unpack the daromizer tarball, cd to the extracted
> directory and run "./daromizer".

everything is on a ~/daromizer directory so this should not have been the 
problem.
>
> Second, there is a typo in the most recent daromizer release
> (daromizer81.tar.gz) that prevents the script from recognizing that
> there is a second dar slice to be burned. This is why the script is
> burning one disk and then exiting as if the backup is finished.
>
> To fix this issue, open the daromizer script with your favorite text
> editor and change line 303 which states:
> $slicefile = $temppath.$shortname.$slice.$ext;
>
> to read:
> $slicefile = $temppath.$shortname.".".$slice.$ext;

Easy enough. I should start from a new download though since I was playing a 
lot with the script and this line is no longer 303 and I do not remember all 
that I did to it.

>
> This will correct the issue and let daromizer burn multiple disks as it
> should. I have notified the author of this issue, so hopefully a
> corrected script will be released on his site soon.

Thanks, I'll try it all and let you know how it works out. The problem is that 
the partial burns are now useless except for scratch.


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



Re: apt-get fails through broken proxy

2006-08-03 Thread Chris Howie
Ottavio Caruso wrote:
> I just wonder if anyone has a possible workaround on
> my end, before giving up.

Maybe you can tunnel out with ssh?

-- 
Chris Howie
http://www.chrishowie.com

-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCS/IT d-(--) s:- a-->? C++(+++)$> UL P$ L+++> E---
W++ N o++ K? w--$ O M- V- PS--(---) PE++ Y+ PGP++ t+ 5? X-
R(+)>- tv-(--) b- DI+> D++ G>+++ e>++ h(--)>--- !r>+++ y->+++
--END GEEK CODE BLOCK--



signature.asc
Description: OpenPGP digital signature


CONFIG_SUSPEND2_USERSPACE_UI not found Kernel 2.6.17 configuration settings (Path 2.6.18-rc3).

2006-08-03 Thread Alex Yakushev
I am trying to install Hibernate (suspend2). I did
path 2.6.18-rc3 for kernel 2.6.17, but I can not find
CONFIG_SUSPEND2_USERSPACE_UI in my .config file.
That is problem?

Kernel should be set with parameters
CONFIG_SUSPEND2=y
CONFIG_SUSPEND2_FILEWRITER=y
CONFIG_SUSPEND2_SWAPWRITER=y
CONFIG_SUSPEND2_USERSPACE_UI=y
CONFIG_CRYPTO_LZF=y

http://www.suspend2.net/HOWTO-2.html#ss2.1

Any help appreciated.
Alex Yakushev.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: Have DVD burner, will backup!

2006-08-03 Thread Bill Thompson
On Tue, 20 Jun 2006 15:14:15 +0300
David Baron <[EMAIL PROTECTED]> wrote:

> On Tuesday 20 June 2006 02:19, David E. Fox wrote:
> >
> > All I could get out of darmonizer was "waiting for the  > volume>" and then it just stops.
> 
> I got daromizer to produce and burn one (smaller) slice. Could not
> coax it into continuing from there.

It took me awhile to resolve this, but I finally have a solution for
both of these problems.

First, daromizer needs to be run as a local script with the second
script "darmon" located in the same directory. If you try to treat it
as a standard program and copy the script to a /bin directory the script
will hang at the "waiting for the " prompt. The easiest
thing to do is unpack the daromizer tarball, cd to the extracted
directory and run "./daromizer".

Second, there is a typo in the most recent daromizer release
(daromizer81.tar.gz) that prevents the script from recognizing that
there is a second dar slice to be burned. This is why the script is
burning one disk and then exiting as if the backup is finished. 

To fix this issue, open the daromizer script with your favorite text
editor and change line 303 which states:
$slicefile = $temppath.$shortname.$slice.$ext;

to read:
$slicefile = $temppath.$shortname.".".$slice.$ext;

This will correct the issue and let daromizer burn multiple disks as it
should. I have notified the author of this issue, so hopefully a
corrected script will be released on his site soon.

-- 
Bill Thompson
[EMAIL PROTECTED]


signature.asc
Description: PGP signature


Re: remove/replace non-ascii characters from file

2006-08-03 Thread Mike McCarty

Johannes Wiedersich wrote:

Mike McCarty wrote:


garbage (represented as [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ 
etc.)



I suppose you mean "non-graphic ASCII". Those are NUL characters,
which the ASCII *definition* states can be inserted or removed
from *any* stream without changing its meaning. This means that
your application is not ASCII compliant. Sorry, but in this case
(unusual, I know) Windows is right and your app is wrong.



Well, I don't know that much about the ASCII *definition*, but if I open 
the file in Window$ notepad (I never use that for any purpose, I just 
did it out of curiosity), these characters appear as additional spaces. 
They are saved as spaces and in the saved file the characters are 
replaced by spaces (ie. linux-compliant spaces).


So, if you are right, that means that M$ notepad converts these NUL 
characters to spaces, which is a bad thing, if these are indeed 
different characters and useful for anything.


Yes, it is doing a Bad Thing. ASCII was originally intended for use
as an Information Interchange, including use over serial lines,
and to slow (mechanical) printers connected on the other end.
The purpose of NUL was to allow the sender to pad the transmission
after sending characters which might take the receiver a "long"
time to process, like CR (carriage return). They are like NOPs in
computer programming. They eat time, but otherwise do nothing
else. One is supposed to be able to insert or delete them from
any ASCII stream without changing the meaning of the stream.

The ASCII code for SP (graphic space) is 0x20. The ASCII code for NUL
(null character) is 0x00. They are indeed not the same thing. SP is
supposed to be *meaningful* in an ASCII stream. NUL is not.
Deleting/inserting an ASCII space is supposed to change its meaning.
For example, "therapist" and "the rapist" do not mean the same thing
(usually).

Anyway, I don't think it is a useful feature of a program to include NUL 
characters in the header of data files like the present one which just 
consists of a short header and two columns of x and y data. I'd be 
curious of the programmer's reason for putting about 50 of these at the 
end of the comment.


I have no idea why they were inserted there[*]. They are not very useful
when used to *store* as opposed to *move* data. If one had a very dumb
terminal program, and needed to communucate with some possibly slow
"other" device (like a uController programming EEPROM or the like)
it might be useful to insert NUL characters into the file itself
at strategic points to allow programming time.

[*]A possible guess why they were put there: This is a fixed-length
field, and it makes a C programmer's job a little easier if he reads
a NUL terminated string into a fixed array.


You might try tr. On another note, here's a C program which will do what
you want. It's written as a filter, so no file names on the line... this
is strictly no-frills programming. Placed into the public domain by
me, the original author today, Thursday 3 August 2006. If you *need*
file names on the command line (like for use with find and xargs)
then I can add that, but I thought something quick'n'nasty might
be more what you need.



I appreciate your effort! I was anyway writing a script to postprocess 
the data, so the most convenient way was to remove the junk via another 
command line.


You're welcome, and no problem if you don't use it. It was a 15 minute
effort anyway. I did test it, as you saw, though.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


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




Re: SW RAID read performance

2006-08-03 Thread Justin Piszcz

Hm ah nice.

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.000.005.05   94.950.000.00

Device:rrqm/s wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz 
await  svctm  %util
sda277.78   0.00 100.00  1.01 23660.61 4.04   468.56 0.68 
6.73   6.49  65.56
sdb 97.98   0.00 104.04  3.03 12836.3612.12   240.00 1.25 
16.51   3.29  35.25
md0  0.00   0.00  0.00  0.00 0.00 0.00 0.00 0.00 
0.00   0.00   0.00
md2  0.00   0.00 578.79  0.00 36496.97 0.00   126.12 0.00 
0.00   0.00   0.00
md3  0.00   0.00  0.00  0.00 0.00 0.00 0.00 0.00 
0.00   0.00   0.00
md1  0.00   0.00  0.00  0.00 0.00 0.00 0.00 0.00 
0.00   0.00   0.00


avg-cpu:  %user   %nice %system %iowait  %steal   %idle
   0.990.005.94   93.070.000.00

Device:rrqm/s wrqm/s   r/s   w/srkB/swkB/s avgrq-sz avgqu-sz 
await  svctm  %util
sda205.94   0.00 74.26  0.99 17841.58 3.96   474.32 0.47 
6.34   6.30  47.43
sdb213.86   0.00 76.24  0.00 18186.14 0.00   477.09 0.52 
6.57   6.55  49.90



Both a+b are both reading simultaneously.


On Thu, 3 Aug 2006, Dave Ewart wrote:


On Thursday, 03.08.2006 at 15:30 -0400, Justin Piszcz wrote:


I've only ran the benchmarks on a single controller.  Run a test for me,
read a lot of data on the drive and show us iostat -x -k 1 and see if it
reads from both drives at the same time.


http://www.sungate.co.uk/tmp/iostat.log - iostat log while cat-ing a
large file on /dev/md2

$ cat /proc/mdstat
Personalities : [raid1]
md1 : active raid1 sdb2[0] sda2[1]
 19534976 blocks [2/2] [UU]

md3 : active raid1 sdb3[1] sda3[0]
 464 blocks [2/2] [UU]

md2 : active raid1 sdb4[0] sda4[1]
 156071360 blocks [2/2] [UU]

md0 : active raid1 sdb1[0] sda1[1]
 19534912 blocks [2/2] [UU]

unused devices: 

Not entirely sure how to interpret the results, but there is some
suggestion that it is reading from both disks...

Dave.
--
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92





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




Re: SW RAID read performance

2006-08-03 Thread Dave Ewart
On Thursday, 03.08.2006 at 15:30 -0400, Justin Piszcz wrote:

> I've only ran the benchmarks on a single controller.  Run a test for me, 
> read a lot of data on the drive and show us iostat -x -k 1 and see if it 
> reads from both drives at the same time.

http://www.sungate.co.uk/tmp/iostat.log - iostat log while cat-ing a
large file on /dev/md2

$ cat /proc/mdstat 
Personalities : [raid1] 
md1 : active raid1 sdb2[0] sda2[1]
  19534976 blocks [2/2] [UU]
  
md3 : active raid1 sdb3[1] sda3[0]
  464 blocks [2/2] [UU]
  
md2 : active raid1 sdb4[0] sda4[1]
  156071360 blocks [2/2] [UU]
  
md0 : active raid1 sdb1[0] sda1[1]
  19534912 blocks [2/2] [UU]
  
unused devices: 

Not entirely sure how to interpret the results, but there is some
suggestion that it is reading from both disks...

Dave.
-- 
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92



signature.asc
Description: Digital signature


Re: Configuring APT to use localhost port as a proxy

2006-08-03 Thread Niall Donegan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Andrew Pogrebennyk wrote:
> Hello,
> 
> I have a ssh tunnel which connects localhost:3128 to remote proxy. I
> have tried setting environment variables to localhost:3128 (and
> http://localhost:3128) and modifying apt.conf as well, but apt tries to
> fetch files from 3128:80 :/
> What would you suggest?
> 
> Please add cc to the address I'm writing from since I am not subscribed
> to this mailing list.

Create a file in /etc/apt called apt.conf and put the following line in:
Acquire::http::Proxy "http://localhost:3128";

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0kb0tYqd1KeuQA8RAnH6AJ413sLR5IV+mXrsPq2VY4ZOyp/20wCgtObW
asoFksJvslKpsieHjJ5oZKw=
=SjtB
-END PGP SIGNATURE-


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



Re: SW RAID read performance

2006-08-03 Thread Justin Piszcz
I've only ran the benchmarks on a single controller.  Run a test for me, 
read a lot of data on the drive and show us iostat -x -k 1 and see if it 
reads from both drives at the same time.


On Thu, 3 Aug 2006, Dave Ewart wrote:


On Thursday, 03.08.2006 at 07:30 -0400, Justin Piszcz wrote:


I have 2 disks in RAID 1 and I expected reading will be approx. 2x
faster then a single disk reading because there can be used the same
technique as on RAID 0. I tested it with bonnie++. Can linux SW RAID
1 read "in stripes" to boost the reading performance?


From my benchmarking on my RAID1 (dual raptor RAID1) it appears it
reads from one drive or the other.


It all depends on which disk controllers you're using and their
throughput.

I have two, separate SATA disks on two different SATA controllers and
read performance in a RAID-1 configuration *is* (nearly) twice that of a
single disk, in many situations.  I think I've got the benchmark
statistics somewhere...

If "it appears it reads from one drive or the other" is the case, then
you probably have a bottleneck somewhere else.  Are these disks on the
same controller channel?

Dave.

--
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92





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




Re: apt-get fails through broken proxy

2006-08-03 Thread Liam O'Toole
On Thu, 3 Aug 2006 11:24:35 -0700 (PDT)
Ottavio Caruso <[EMAIL PROTECTED]> wrote:

> I run a Debian derivative on a portable memory stick
> and I have to connect through an ISA proxy server
> (both http and ftp).
> 
> The proxy is broken and misconfigured so it won't
> download any .gz files, hence I can't apt-get.
> I have reported the case and the possible solution to
> system administrator, who is happily ignoring it, so I
> have to live with that.
> 
> I can download .deb files so I can install individual
> packages, but I can't update/upgrade.
> 
> I just wonder if anyone has a possible workaround on
> my end, before giving up.

I would try ntlmaps as a go-between. I have often used it successfully
with upstream ISA proxy servers.

[...]

-- 

Liam


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



Re: Configuring APT to use localhost port as a proxy

2006-08-03 Thread Andrew Pogrebennyk
Hello,

Niall Donegan wrote:
> Create a file in /etc/apt called apt.conf and put the following line in:
> Acquire::http::Proxy "http://localhost:3128";

I tried doing so before, but I must have forgotten to restart aptitude
that time. And after restart it work well. Thanks a lot!

Ryan Nowakowski wrote:
> Here's my sources.list:
>
> # Sarge (proxied)
> deb http://localhost:/debian/ sarge main non-free contrib
> deb-src http://localhost:/debian/ sarge main non-free contrib
>
> # Security (proxied)
> deb http://localhost:/security sarge/updates main non-free contrib
>
> Here's my .ssh/config for this host:
>
> Host host1
>   RemoteForward  aptproxy:

Thanks for a nice idea!

--
Regards,
Andrew Pogrebennyk


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



Re: remove/replace non-ascii characters from file

2006-08-03 Thread Johannes Wiedersich

Mike McCarty wrote:

garbage (represented as [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ 
etc.)


I suppose you mean "non-graphic ASCII". Those are NUL characters,
which the ASCII *definition* states can be inserted or removed
from *any* stream without changing its meaning. This means that
your application is not ASCII compliant. Sorry, but in this case
(unusual, I know) Windows is right and your app is wrong.


Well, I don't know that much about the ASCII *definition*, but if I open 
the file in Window$ notepad (I never use that for any purpose, I just 
did it out of curiosity), these characters appear as additional spaces. 
They are saved as spaces and in the saved file the characters are 
replaced by spaces (ie. linux-compliant spaces).


So, if you are right, that means that M$ notepad converts these NUL 
characters to spaces, which is a bad thing, if these are indeed 
different characters and useful for anything.


Anyway, I don't think it is a useful feature of a program to include NUL 
characters in the header of data files like the present one which just 
consists of a short header and two columns of x and y data. I'd be 
curious of the programmer's reason for putting about 50 of these at the 
end of the comment.



You might try tr. On another note, here's a C program which will do what
you want. It's written as a filter, so no file names on the line... this
is strictly no-frills programming. Placed into the public domain by
me, the original author today, Thursday 3 August 2006. If you *need*
file names on the command line (like for use with find and xargs)
then I can add that, but I thought something quick'n'nasty might
be more what you need.


I appreciate your effort! I was anyway writing a script to postprocess 
the data, so the most convenient way was to remove the junk via another 
command line.


Thanks,

Johannes


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




Re: synthetic sound generator with api

2006-08-03 Thread Andrew Sackville-West
On Thu, Aug 03, 2006 at 08:40:01PM +0200, CJ van den Berg wrote:
> On Thu, Aug 03, 2006 at 10:36:35AM -0500, Hugo Vanwoerkom wrote:
> > No, I don't want to play back anything: I want to *generate* a beeping 
> > sound. The type depends upon the occasion.

I missed the original message, but how about the beep package?

[EMAIL PROTECTED]:~$ apt-cache show beep
Package: beep
Priority: optional
Section: sound
Installed-Size: 104
Maintainer: Gerfried Fuchs <[EMAIL PROTECTED]>
Architecture: i386
Version: 1.2.2-18
Depends: libc6 (>= 2.3.6-6), debconf (>= 0.5) | debconf-2.0
Filename: pool/main/b/beep/beep_1.2.2-18_i386.deb
Size: 21380
MD5sum: 77e1b5f308fa73db6fb0fb2dad345d0f
SHA1: 3491f6680348fb2a6697458aa98d5cbf18c6d1d1
SHA256:
c217b565424548948b8f25d8ef0eefb733ff34988f28a0a46ea53a7040266db4
Description: advanced pc-speaker beeper
 beep does what you'd expect: it beeps. But unlike printf "\a" beep
 allows
 you to control pitch, duration, and repetitions. Its job is to live
 inside
 shell/perl scripts and allow more granularity than one has
 otherwise. It is
 controlled completely through command line options. It's not supposed
 to be
 complex, and it isn't - but it makes system monitoring (or whatever
 else it
 gets hacked into) much more informative.
Tag: interface::commandline, made-of::lang:c, role::sw:utility,
works-with::audio

A


signature.asc
Description: Digital signature


Corrupt JFS inode table?

2006-08-03 Thread Jeff Cleverley

Greetings,

We have a Dell 2850 running the 2.6.15-1 kernel and have created 2 JFS 
file systems from the non-boot internal drives.  Both JFS file system 
disks come from the same raid group.  The other day the system quit 
responding and we ended up having to power cycle the box.  When it 
booted, everything looked OK, file systems marked clean, mount points 
correct, etc.


Shortly after the reboot we received a call from an engineer that said 
some of their data had no permissions or size.  Another user reported 
that a file he opened did not contain the contents of the file that 
should have been there.  That was for one file system.  The other JFS 
file system appears to have come through cleanly.  We ended up having to 
restore the entire first file system.  Below is an example of what 
happened to the files that changed.  The first one is the old file that 
changed after the reboot and the second one is the one that was restored.


--  1 meg Debian-exim 0 Jul 19 13:47 cdsinit
-rwxr-xr-x  1 meg Debian-exim 17 Jul 19 13:47 cdsinit

As you can see, the ownership and time stamp stayed the same, but file 
permissions were wiped and the size was nulled out in the first one.  We 
unmounted the file system and probably did about 6 fsck of the file 
system with various options and even rebooted the box again.  Nothing 
changed.  Not all data in the file system changed, just random 
directories and files.


We really need to find out what happened, otherwise we don't feel we can 
trust this server or file system with critical data.  Any help debugging 
or diagnosing the problem will be greatly appreciated.  If there is 
another list that might be more appropriate for this problem, please let 
me know.


Thanks,

Jeff 



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




Re: Film scoring software

2006-08-03 Thread Niall Donegan
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Chuckk Hubbard wrote:
> Anyone know a MIDI/audio sequencer for Linux that can score video too?

I can recommend lilypond for the scoring of the music. Rosegarden seems
to be a midi sequencer with support for lilypond, however I haven't used
it. Both programs are available in Apt.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0kgbtYqd1KeuQA8RAo6PAJ9TIH6LDcElVO2vXi14G+fzwXFD/gCePGMk
4CYJOmJAuDQDmGhTPpL1m7A=
=GyJc
-END PGP SIGNATURE-


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



Re: remove/replace non-ascii characters from file

2006-08-03 Thread Johannes Wiedersich

Thanks to all and thanks for replying so fast.

I must have somehow overlooked grep's -a option. Shame on me.

But I also knew that there *must* be command to just remove the 
'garbage'; I just didn't know how to find out that 'strings' does it.


Good that one can always ask debian-user!

Johannes


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




Re: SW RAID read performance

2006-08-03 Thread Owen Heisler

On 8/3/06, Dave Ewart <[EMAIL PROTECTED]> wrote:

On Thursday, 03.08.2006 at 07:30 -0400, Justin Piszcz wrote:
> From my benchmarking on my RAID1 (dual raptor RAID1) it appears it
> reads from one drive or the other.

It all depends on which disk controllers you're using and their
throughput.

I have two, separate SATA disks on two different SATA controllers and
read performance in a RAID-1 configuration *is* (nearly) twice that of a
single disk, in many situations.  I think I've got the benchmark
statistics somewhere...

If "it appears it reads from one drive or the other" is the case, then
you probably have a bottleneck somewhere else.  Are these disks on the
same controller channel?


I have an Abit AX8
(http://www.abit-usa.com/products/mb/products.php?categories=1&model=215),
with four SATA ports (two controllers).

I have for some time been planning a RAID5 setup using 3 SATA drives
on this motherboard.  There would be two SATA drives on one
controller, and one SATA drive on the second controller.  I had
assumed that a loss of performance with multiple drives (on a single
controller) only applied to PATA; does it apply to SATA too?  If so, I
won't get any better performance with RAID5...

Thanks for your help.


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




Re: woody i386 isos

2006-08-03 Thread LeVA
2006. August 3. 19:50, Egon Kocjan:
> Hi
>
> Does anyone know where I can get original woody i386 isos? First CD
> would be ok.
>
> Thanx,
> egon
You can get older (and *obsolete*) releases from here:

ftp://cdimage.debian.org/cdimage/archive/images/

Daniel

-- 
LeVA


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



apt-get fails through broken proxy

2006-08-03 Thread Ottavio Caruso
I run a Debian derivative on a portable memory stick
and I have to connect through an ISA proxy server
(both http and ftp).

The proxy is broken and misconfigured so it won't
download any .gz files, hence I can't apt-get.
I have reported the case and the possible solution to
system administrator, who is happily ignoring it, so I
have to live with that.

I can download .deb files so I can install individual
packages, but I can't update/upgrade.

I just wonder if anyone has a possible workaround on
my end, before giving up.

Thanks



Ottavio Caruso
--

No individual replies, please!

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


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



Re: Configuring APT to use localhost port as a proxy

2006-08-03 Thread Ryan Nowakowski
On Thu, Aug 03, 2006 at 07:03:08PM +0300, Andrew Pogrebennyk wrote:
> Hello,
> 
> I have a ssh tunnel which connects localhost:3128 to remote proxy. I
> have tried setting environment variables to localhost:3128 (and
> http://localhost:3128) and modifying apt.conf as well, but apt tries to
> fetch files from 3128:80 :/
> What would you suggest?

Here's my sources.list:

# Sarge (proxied)
deb http://localhost:/debian/ sarge main non-free contrib
deb-src http://localhost:/debian/ sarge main non-free contrib

# Security (proxied)
deb http://localhost:/security sarge/updates main non-free contrib

Here's my .ssh/config for this host:

Host host1
RemoteForward  aptproxy:


signature.asc
Description: Digital signature


Re: synthetic sound generator with api

2006-08-03 Thread CJ van den Berg
On Thu, Aug 03, 2006 at 10:36:35AM -0500, Hugo Vanwoerkom wrote:
> No, I don't want to play back anything: I want to *generate* a beeping 
> sound. The type depends upon the occasion.

So you actually want to synthesize the beep? Is that right?

If you really do want just a beep you could synthesize the sine wave
yourself pretty easily. The one and only source code example in the libao 
coincidentally does exactly that.

http://www.xiph.org/ao/doc/ao_example.c

> Right now I use Nas, which has good support from Jon Trulson. But that 
> is meant really as a network sound server and not made for playing back 
> to a particular sound card.

The libao alsa driver (alsa09), which I assume you would be using, allows
you to specify which device (ie. sound card) you want to use. The oss driver
will too.

> E.g. if it is 11:30 I want to produce 5 beeps for maritime chimes.
> If the dialup line goes down I want to produce 9 beeps.
> 
> I would prefer to produce the beeps for a particular soundcard, for the 
> user that is logged on to a monotor that uses that card.

A few lines of tweaking to that example I linked above should do exactly
what you want.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: SW RAID read performance

2006-08-03 Thread Dave Ewart
On Thursday, 03.08.2006 at 07:30 -0400, Justin Piszcz wrote:

> >I have 2 disks in RAID 1 and I expected reading will be approx. 2x
> >faster then a single disk reading because there can be used the same
> >technique as on RAID 0. I tested it with bonnie++. Can linux SW RAID
> >1 read "in stripes" to boost the reading performance?
> 
> From my benchmarking on my RAID1 (dual raptor RAID1) it appears it
> reads from one drive or the other.

It all depends on which disk controllers you're using and their
throughput.

I have two, separate SATA disks on two different SATA controllers and
read performance in a RAID-1 configuration *is* (nearly) twice that of a
single disk, in many situations.  I think I've got the benchmark
statistics somewhere...

If "it appears it reads from one drive or the other" is the case, then
you probably have a bottleneck somewhere else.  Are these disks on the
same controller channel?

Dave.

-- 
Please don't CC me on list messages!
...
Dave Ewart - [EMAIL PROTECTED] - jabber: [EMAIL PROTECTED]
All email from me is now digitally signed, key from http://www.sungate.co.uk/
Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92



signature.asc
Description: Digital signature


woody i386 isos

2006-08-03 Thread Egon Kocjan

Hi

Does anyone know where I can get original woody i386 isos? First CD 
would be ok.


Thanx,
egon


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




Re: remove/replace non-ascii characters from file

2006-08-03 Thread Mike McCarty

Johannes Wiedersich wrote:
I have a silly Window$ application that is supposed to export ascii 
data. In fact the file is 99% percent ascii (after dos2unix), but 
contains a line starting with "Comment: " that contains non-ascii 
garbage (represented as [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ etc.)


I suppose you mean "non-graphic ASCII". Those are NUL characters,
which the ASCII *definition* states can be inserted or removed
from *any* stream without changing its meaning. This means that
your application is not ASCII compliant. Sorry, but in this case
(unusual, I know) Windows is right and your app is wrong.


I tried
$ grep -v Comment
but that just returns
Binary file darkaa2.dat matches


Yah. Unfortunately, grep isn't very smart in this way.


Is there a simple way to remove this line?
Before I start looking at sed or gawk, I would just like to know, if 
they would work with these silly 'binary files'.


NB: I can open the file with nano and manually delete the line, but it's 
not just one file to process.


You might try tr. On another note, here's a C program which will do what
you want. It's written as a filter, so no file names on the line... this
is strictly no-frills programming. Placed into the public domain by
me, the original author today, Thursday 3 August 2006. If you *need*
file names on the command line (like for use with find and xargs)
then I can add that, but I thought something quick'n'nasty might
be more what you need.

 nonul.c 
#include 
#include 

#define NUL 0x00

#define OMIT NUL

int main(void) {
int Chr;

while ((Chr = getchar()) != EOF) {
if (Chr != OMIT)
putchar(Chr);
}
return EXIT_SUCCESS;
}
 end nonul.c 

$ gcc -o nonul nonul.c
$ hexdump -C junk.txt
  43 6f 6d 6d 65 6e 74 3a  20 00 00 00 00 00 00 00  |Comment: 
...|

0010  00 00 00 00 00 00 0a 0a   ||
0018
$ ./nonul < junk.txt >junk1.txt
$ hexdump -C junk1.txt
  43 6f 6d 6d 65 6e 74 3a  20 0a 0a |Comment: ..|
000b

If you find that the characters are something other than NUL
(ASCII code 0x00), then just substitute that for NUL. For example
if it is backspace (BS) then add this line...

#define BS 0x08

and change OMIT to BS

#define OMIT BS



Thanks,


HTH. If not, then I can ship you a program.

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


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




Re: Erro GPG, unknow error

2006-08-03 Thread rafael ferraz
yesterday comes to work fine again, thanksRafael FerrazMathias Brodala <[EMAIL PROTECTED]> escreveu: Hello Rafael.rafael ferraz schrieb:> I give the apt-get update returns that error>  W: GPG error: http://ftp.de.debian.org unstable Release: Erro> desconhecido executando gpgv> > (is in portuguese and tells an unknow error)Could you post the error *exactly* as it is shown?And run the command the following way please:  LC_ALL=C apt-get update(One line, no linebreak, no semicolon.)Regards, Mathias 
		 
Você quer respostas para suas perguntas? Ou você sabe muito e quer compartilhar seu conhecimento? Experimente o Yahoo! Respostas!

Configuring APT to use localhost port as a proxy

2006-08-03 Thread Andrew Pogrebennyk
Hello,

I have a ssh tunnel which connects localhost:3128 to remote proxy. I
have tried setting environment variables to localhost:3128 (and
http://localhost:3128) and modifying apt.conf as well, but apt tries to
fetch files from 3128:80 :/
What would you suggest?

Please add cc to the address I'm writing from since I am not subscribed
to this mailing list.

--
Regards,
Andrew Pogrebennyk


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



Re: Do I need to upgrade my kernel (kernel-image-2.4-k6)?

2006-08-03 Thread Matej Cepl
First read
http://linuxmafia.com/~rick/faq/index.php?page=netiquette#offlist

> Now `apt-cache policy kernel-image-2.4.27-3-k6' shows that
> 2.4.27-10sarge3is installed and `apt-cache policy
> kernel-image-2.4.27-2-k6' shows that 2.4.27-10sarge1 is
> installed.

Can you post full output of these commands, please?

> I therefore 
> assume that it is possible to install
> the "3" version and get rid of the "2" version.

Yes.

Best,

Matěj

-- 
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: [EMAIL PROTECTED]
23 Marion St. #3, (617) 876-1259, ICQ 132822213
 
I would like to die sleeping, like my father rather than 
screaming and helpless,
like his passengers



Re: remove/replace non-ascii characters from file

2006-08-03 Thread Jim Holland
On Thu, 3 Aug 2006, Johannes Wiedersich wrote:

> I have a silly Window$ application that is supposed to export ascii 
> data. In fact the file is 99% percent ascii (after dos2unix), but 
> contains a line starting with "Comment: " that contains non-ascii 
> garbage (represented as [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL 
> PROTECTED]@ etc.)
> 
> I tried
> $ grep -v Comment
> but that just returns
> Binary file darkaa2.dat matches
> 
> Is there a simple way to remove this line?

Why not filter the file through "strings" first? eg:

strings infile > outfile

That will remove any non-printable characters.

Or use "tr", eg:

tr -cd '[:print:]\n' < infile > outfile

That will delete any characters that are not printable or newlines or 
spaces.

You will probably need to experiment a little to ensure that these don't 
remove any other characters that you still want.

Regards

Jim Holland
System Administrator
MANGO - Zimbabwe's non-profit e-mail service



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



Re: synthetic sound generator with api

2006-08-03 Thread Hugo Vanwoerkom

CJ van den Berg wrote:

On Thu, Aug 03, 2006 at 08:31:26AM -0500, Hugo Vanwoerkom wrote:

I want to generate beeping sounds in a program.

I now use Nas, but it is a PITA because it either hangs with 2 
soundcards installed or it fails w/o saying why.


Has anybody got another program that does this?


I'm not sure I understand what you want to do, but it sounds like you want
to playback digital audio samples.

If so, what you probably want is something like libao2 and libao-dev.



No, I don't want to play back anything: I want to *generate* a beeping 
sound. The type depends upon the occasion.


Right now I use Nas, which has good support from Jon Trulson. But that 
is meant really as a network sound server and not made for playing back 
to a particular sound card.


E.g. if it is 11:30 I want to produce 5 beeps for maritime chimes.
If the dialup line goes down I want to produce 9 beeps.

I would prefer to produce the beeps for a particular soundcard, for the 
user that is logged on to a monotor that uses that card.


H


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




Re: remove/replace non-ascii characters from file

2006-08-03 Thread Matej Cepl
Johannes Wiedersich wrote:
> I tried
> $ grep -v Comment
> but that just returns
> Binary file darkaa2.dat matches

Would

grep -a -v Comment

help? grep(1) is your friend. :-)

Matěj

-- 
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
http://www.ceplovi.cz/matej/blog/, Jabber: [EMAIL PROTECTED]
23 Marion St. #3, (617) 876-1259, ICQ 132822213
 
Roses are red;
Violets are blue.
I'm schizophrenic,
And so am I.



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



Re: Net-install CD: What it does to existing partitions and installations

2006-08-03 Thread Paul E Condon
On Thu, Aug 03, 2006 at 10:32:01AM +0900, Ian Astley wrote:
> I currently run a Linux machine under Fedora Core 5. I am interested in 
> having a look at Debian too and downloaded and burnt the Net-install CD 
> from the main site, with a view to compiling a Debian kernel which I 
> would then have nominated in GRUB alongside the existing FC5 kernels I 
> have. The CD booted as it should but when I got to the partitioning 
> options I was not too sure exactly what it would do to the existing 
> partitions (which it identified correctly), since the on-screen 
> directions did not explicitly state that my existing installation would 
> be left unharmed. Fedora and SuSE, both of which I have, are much 
> clearer about this stage in the installation process. Could anyone 
> clarify this please? I downloaded the Net-install CD because I did not 
> want to go through the rigmarole of downloading a full set of CDs when 
> conceivable I would only need a fraction of the data in the first 
> instance.
> 

As others have already said, you can keep any pre-existing OSs by 
choosing manual partitioning during Debian install. Here, I'll give
a tip about the partitioner user interface. The interface is
somewhat confusing to a first time user. To make a change you 
hilite the item that you wish to change and press 'return'. 
Pressing return selects that item for editing. It brings up another
menu in which you actually get a chance to change the value, but
by this time the original value is gone from view. 

If this is confusing, well yes. This is confusing.

However, don't worry. Nothing gets changed on disk until you say
OK, make changes twice. 

If you want to mount the partitions containing other OS when Debian
is in charge, you should be careful to ensure that you select 
'keep original data'. If you don't try to have Debian mount the
partitions, they will not be touched. 

-- 
Paul E Condon   
[EMAIL PROTECTED]


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



Re: Xine affects Emacs

2006-08-03 Thread Romain Francoise
Markus Petermann <[EMAIL PROTECTED]> writes:

> I tried xev in diverse combinations with xine and emacs, but I have
> never been able to catch the event.

In my case Emacs shows which key is the culprit in the echo area instead
of just beeping (I use Emacs 22 from the emacs-snapshot package).  But
xev catches the event too, as long as it has the focus while Xine is
playing.

-- 
  ,''`.
 : :' :Romain Francoise <[EMAIL PROTECTED]>
 `. `' http://people.debian.org/~rfrancoise/
   `-


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



Re: Mobile phone management utility

2006-08-03 Thread Jabka Atu

i forgot to add this to my last responce :
here is another cool prog for kde .
kmobiletools.
it allow you to call  send sms and buckup phonebook and sms.
the problem with it that it dosn't support iso 8859-8 .



Digby Tarvin wrote:

On Thu, Aug 03, 2006 at 04:32:50PM +0300, Jabka Atu wrote:
  
deb http://mirror.hamakor.org.il/pub/mirrors/debian/ testing main 
contrib non-free
deb http://mirror.hamakor.org.il/pub/mirrors/debian/ unstable main 
contrib non-free


Rodolfo Medina wrote:


Rodolfo Medina wrote:

 
  

I installed `gumma' and tried it with a Nokia,
but even this one didn't work:

$ gammu --getmemory DC 1
Warning: No configuration file found!
Unknown connection type string. Check config file.



$ gnokii --getphonebook SM 1
GNOKII Version 0.6.5
Telephone interface init failed: Command timed out.
Quitting.

, so there must be something important that I'm missing.
Can anyone point that out?
 
  


Jabka Atu <[EMAIL PROTECTED]> writes:

 
  

Rodolfo you could you use apt-get :
apt-get update.
apt-get install moto4lin.

here is my policy for this package:
debian:/home/mha13# apt-cache policy  moto4lin
moto4lin:
Installed: 0.3+cvs20050925-2
Candidate: 0.3+cvs20050925-2
Version table:
*** 0.3+cvs20050925-2 0
  500 http://mirror.hamakor.org.il testing/main Packages
  500 http://mirror.hamakor.org.il unstable/main Packages
  100 /var/lib/dpkg/status
   


Thanks.
Could you please send out your /etc/apt/sources.list?
Cheers,
Rodolfo
  


I have experimented with this, and have been able to use it to
nevigate the filesystem and upload and download audio and image files,
I still havn't found a way to upload/download the content of the phone
book or backup text messages. Anyone have any idea how to do this?

My phone is a Motorola C380.

Regards,
DigbyT
  



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




Re: Internet connection disappeared after debian-install on laptop

2006-08-03 Thread Thierry Chatelet

Kent West wrote:

Vegard L. Rekaa wrote:
  

I'm installing Debian Etch (with netinstall-cdimage) on a laptop.
During installation, it configured the DHCP-internet-connection
automaticly, downloaded all 708 packages and installed them perfectly.



Which means your NIC works with Debian. That's good.

  

But, when I reboot the system after intall, the internet connection is
gone. I checked with another computer, that the line out is OK, but
still when I plug the (ADSL) modem to the laptop, internett is not
available.

I'm not experienced with internett-connection setup, so I must ask:
 1. Wich commands gives output that makes it possible to locate the error?
 2. Is there a way to repeat the auto-configuration I saw during
installation after the system is up and running?
 3. Any other advices or hints are very much welcome!

System specs:
- The internet connection is broadband, with dynamic IP-adress (ADSL
through the telephone-line).
- No password or login nescesarry.
- Debian Etch (testing) kernel 2.6.15-486
- Laptop has no internal network-device, but has one available when
connected to the docking station (wich of course is connected).



Run "lspci" while attached to the docking station. Look for an entry
mentioning your network card. You may need to "modprobe ", where
 is the name of the appropriate module for your network card.
You could also run "modconf" (if it's installed) for a more menu-driven
pick-and-choose method of installing the correct module (and this method
has the advantage of adding the module to "/etc/modules" so it'll be
loaded on succeeding reboots - otherwise you'll have to add it manually).

I think that nowadays there's a utility ("discover"?) that should
automagically probe for and insert correct modules on boot-up, but it
may not be working properly for you for whatever reason.

Once the correct module ("driver", in Windows-speak) has been loaded,
you may still need to restart your network, with "/etc/init.d/networking
restart". You may also need to define your network settings in
"/etc/network/interfaces".

I know this is not very specific, but it might point you in the right
direction.

  
I lately discovered that after 2 installs on 2 different computer that 
in etc/network/interfaces, there is no line with , say auto eth0. So 
Check that, if you dont have this add it. And then restart you r laptop, 
it should work.

Thierry


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




Re: CUPS dependencies

2006-08-03 Thread Carl Fink
On Thu, Aug 03, 2006 at 10:13:16AM +0200, Johannes Wiedersich wrote:

> Just guessing:
> Did you check the print queue? On our cups installation sometimes people 
> print to printers that are currently switched off. Those jobs have to be 
> manually deleted from the print queue, before the printer will print 
> again. I'm not sure if this is a bug or a 'feature', though.
> 
> (point your favourite web browser to localhost:631)

Thanks, but I can't check the print queue when CUPS refuses to start.  After
a purge/reinstall, the queue is empty.
-- 
Carl Fink [EMAIL PROTECTED]
If you attempt to fix something that isn't broken, it will be.
-Bruce Tognazzini


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



How do you get vim-latexsuite to work?

2006-08-03 Thread Joseph Smidt
I installed Debian's vim-latexsuite package.  It seemed to install fine,
but when I open a .tex document none of the commands seem to work.  For
example, when I push F5, I don't get a menu of options to choose like
equartion , etc.. Or when I type :TTemplate it doesn't give me template
options.  Anyways, none of the commands seem to work.  
I tried to read documentation, but I can't find anything that tells
me how to get it working.  There is no man page.  I was just wondering,
how do I get vim-latexsuite to work?  Do I have to issue a command?  Do
I have to uncomment some parameter in a config file?  Thanks.  

Joseph Smidt
-- 

Joseph Smidt
[EMAIL PROTECTED]


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



remove/replace non-ascii characters from file

2006-08-03 Thread Johannes Wiedersich
I have a silly Window$ application that is supposed to export ascii 
data. In fact the file is 99% percent ascii (after dos2unix), but 
contains a line starting with "Comment: " that contains non-ascii 
garbage (represented as [EMAIL PROTECTED]@[EMAIL PROTECTED]@[EMAIL PROTECTED]@ etc.)


I tried
$ grep -v Comment
but that just returns
Binary file darkaa2.dat matches

Is there a simple way to remove this line?
Before I start looking at sed or gawk, I would just like to know, if 
they would work with these silly 'binary files'.


NB: I can open the file with nano and manually delete the line, but it's 
not just one file to process.


Thanks,

Johannes


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




Re: driver for lexmark x3300 series

2006-08-03 Thread David Baron
On Wednesday 02 August 2006 15:36, Jabka Atu wrote:
> David Baron wrote:
> > On Wednesday 02 August 2006 11:51, Roger Leigh wrote:
> >> Jabka Atu <[EMAIL PROTECTED]> writes:
> >>> i own lexmark x3330 printer and cups reconze it as lexmark series
> >>> x3300 but i can't find any driver wich will make it work.
> >>>
> >>> after googling for almost two weeks i know that the driver for x3350
> >>> x3330 x3370 is the same driver.
> >>> but i can't find it anywhere.
> >>
> >> There is no driver listed here:
> >> http://www.linuxprinting.org/printer_list.cgi
> >>
> >> and it is not supported by the Gutenprint "lexmark" family driver.
> >>
> >> Perhaps the driver is a proprietary one only available from Lexmark?
> >
> > I have downloaded and built driver from Lexmark. Never bought the printer
> > in the end so do not know whether it would have worked but built and
> > installed no problem. The target printer also had scanner capabilities
> > and no sane support--this is why I passed on it in the end.
>
> do you steel have the package ? (the source that you compiled?)
> could u plz upload it some where ?
> i would be happy to test it .

This was NOT for an x3350 printer.
You must go to their site and find the correct package. May or may not have on 
there.

Lexmark is very adamant in their XP-only support. An alternative might be to 
see if your printer is repackaged under another brand--there many of these. 
The other vender may be more cooperative.


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



Re: synthetic sound generator with api

2006-08-03 Thread CJ van den Berg
On Thu, Aug 03, 2006 at 08:31:26AM -0500, Hugo Vanwoerkom wrote:
> I want to generate beeping sounds in a program.
> 
> I now use Nas, but it is a PITA because it either hangs with 2 
> soundcards installed or it fails w/o saying why.
> 
> Has anybody got another program that does this?

I'm not sure I understand what you want to do, but it sounds like you want
to playback digital audio samples.

If so, what you probably want is something like libao2 and libao-dev.

-- 
CJ van den Berg

mailto:[EMAIL PROTECTED]
  xmpp:[EMAIL PROTECTED]


signature.asc
Description: Digital signature


Re: auto-download deb files that are already installed

2006-08-03 Thread Wackojacko

Chuckk Hubbard wrote:

On 8/3/06, Wackojacko <[EMAIL PROTECTED]> wrote:

I think the problem is that apt on the laptop doesn't know about the new
packages because you dont have an up to date package list on you laptop.
   I know of two ways around this.

The first is a hack I use.  Copy the package files from
/var/lib/apt/list and the contents files from /var/cache/apt/ from the
desktop to the laptop and place the deb files in the
/var/cache/apt/archives directory on the laptop and apt-get should find
them as normal.  Also put the entries from the sources.list on the
desktop onto the laptop and do 'apt-get update' this will fail because
you dont have an internet connection and just use the list you copied 
over.


Thanks, I'm about to give this a shot.
If I'm copying the entire contents of /var/cache/apt/archives, though,
would it then work to manually dpkg install all the ones I want, and
it will find the dependencies?  I might just try that, since I have a
list of all the packages I want, but not their dependencies...

Thanks.
Chuckk



No dpkg doesn't handle the dependencies like apt-get, you'll have to 
install the dependencies first individually I think.


HTH

Wackojacko


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




Re: script languages

2006-08-03 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

David Christensen wrote:
> Marcelo wrote:
>> I wonder what scrip language is better: Perl or Phyton?
> 
> I've been using Perl for 7+ years and have found it to be very
> useful.
> 
> 
> The key concept is Perl's slogan -- "There's more than one way to
> do it" -- TIMTOWTDI, pronounced "Tim Toady".  Perl is a very 
> flexible language -- the "duct tape of the Internet".  Perl was
> developed by a trained linguist (Larry Wall), so Perl writes
> easily and allows you to express algorithms clearly and
> succinctly.  Whether or not the code is easily understood, and by
> whom, is up to you.
> 
> 
> If you know a traditional procedural programming language, such
> as BASIC, FORTRAN, C, Pascal, Bourne shell, etc., learning Perl 
> should be simple enough.  If you know an OO language, or OO
> concepts, learning the mechanics of OO in Perl will be
> straight-forward. The advanced stuff is, well, advanced, and will
> require more effort and background.  You should be able to
> accomplish the goals you outlined with basic to intermediate Perl
> skills.

My big problem with Perl is "Special Variables".  They are a big fat
maintainability and debugging trap.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Is "common sense" really valid?
For example, it is "common sense" to white-power racists that
whites are superior to blacks, and that those with brown skins
are mud people.
However, that "common sense" is obviously wrong.
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.3 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE0gTOS9HxQb37XmcRAtiuAKCJhpks0fAvZlMpY+WO3WZ9fEA3VwCgntpB
DjRmFp7NgB2WdcGWYA7+ayI=
=yaDi
-END PGP SIGNATURE-


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



Exim 4 on Sid, error message

2006-08-03 Thread David Baron
Since the upgrade, I get this in my system emals:
 
exim paniclog /var/log/exim4/paniclog on d_baron has non-zero size, mail 
system might be broken

A check of the paniclog in question shows items of form:

2006-08-03 15:15:17 1G8bRy-0001hg-ES User 0 set for address_file transport is 
on the fixed_never_users list.

I have, more than occasionally, seen such messages in the main exim log before 
this. Exim does not allow delivery to root.

Looking in the exim log itself shows for this message:

2006-08-03 15:15:17 1G8bRy-0001hg-ES original recipients ignored (system 
filter)
2006-08-03 15:15:17 1G8bRy-0001hg-ES User 0 set for address_file transport is 
on the fixed_never_users list
2006-08-03 15:15:17 1G8bRy-0001hg-ES == /var/mail/system-notification 
 T=address_file defer (-29): User 0 set for address_file 
transport is on the fixed_never_users list
2006-08-03 15:15:17 1G8bRy-0001hg-ES ** /var/mail/system-notification 
: retry timeout exceeded

Nothing new or broken here.

The only things new I have found are messages "returned", vis-a-vis 
spamassassin. I run this through procmail so exim should not be addressing 
this. I did not change the configuration files on the upgrade (chose the "N" 
option).


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



synthetic sound generator with api

2006-08-03 Thread Hugo Vanwoerkom

Hi,

I want to generate beeping sounds in a program.

I now use Nas, but it is a PITA because it either hangs with 2 
soundcards installed or it fails w/o saying why.


Has anybody got another program that does this?

Thanks!

H


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




Re: Mobile phone management utility

2006-08-03 Thread Digby Tarvin
On Thu, Aug 03, 2006 at 04:32:50PM +0300, Jabka Atu wrote:
> deb http://mirror.hamakor.org.il/pub/mirrors/debian/ testing main 
> contrib non-free
> deb http://mirror.hamakor.org.il/pub/mirrors/debian/ unstable main 
> contrib non-free
> 
> Rodolfo Medina wrote:
> >Rodolfo Medina wrote:
> >
> >  
> >>>I installed `gumma' and tried it with a Nokia,
> >>>but even this one didn't work:
> >>>
> >>> $ gammu --getmemory DC 1
> >>> Warning: No configuration file found!
> >>> Unknown connection type string. Check config file.
> >>>
> >>>
> >>>
> >>> $ gnokii --getphonebook SM 1
> >>> GNOKII Version 0.6.5
> >>> Telephone interface init failed: Command timed out.
> >>> Quitting.
> >>>
> >>>, so there must be something important that I'm missing.
> >>>Can anyone point that out?
> >>>  
> >
> >
> >
> >Jabka Atu <[EMAIL PROTECTED]> writes:
> >
> >  
> >>Rodolfo you could you use apt-get :
> >>apt-get update.
> >>apt-get install moto4lin.
> >>
> >>here is my policy for this package:
> >>debian:/home/mha13# apt-cache policy  moto4lin
> >>moto4lin:
> >> Installed: 0.3+cvs20050925-2
> >> Candidate: 0.3+cvs20050925-2
> >> Version table:
> >>*** 0.3+cvs20050925-2 0
> >>   500 http://mirror.hamakor.org.il testing/main Packages
> >>   500 http://mirror.hamakor.org.il unstable/main Packages
> >>   100 /var/lib/dpkg/status
> >>
> >
> >
> >Thanks.
> >Could you please send out your /etc/apt/sources.list?
> >Cheers,
> >Rodolfo

I have experimented with this, and have been able to use it to
nevigate the filesystem and upload and download audio and image files,
I still havn't found a way to upload/download the content of the phone
book or backup text messages. Anyone have any idea how to do this?

My phone is a Motorola C380.

Regards,
DigbyT
-- 
Digby R. S. Tarvin  digbyt(at)digbyt.com
http://www.digbyt.com


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



Re: auto-download deb files that are already installed

2006-08-03 Thread Chuckk Hubbard

On 8/3/06, Wackojacko <[EMAIL PROTECTED]> wrote:

I think the problem is that apt on the laptop doesn't know about the new
packages because you dont have an up to date package list on you laptop.
   I know of two ways around this.

The first is a hack I use.  Copy the package files from
/var/lib/apt/list and the contents files from /var/cache/apt/ from the
desktop to the laptop and place the deb files in the
/var/cache/apt/archives directory on the laptop and apt-get should find
them as normal.  Also put the entries from the sources.list on the
desktop onto the laptop and do 'apt-get update' this will fail because
you dont have an internet connection and just use the list you copied over.


Thanks, I'm about to give this a shot.
If I'm copying the entire contents of /var/cache/apt/archives, though,
would it then work to manually dpkg install all the ones I want, and
it will find the dependencies?  I might just try that, since I have a
list of all the packages I want, but not their dependencies...

Thanks.
Chuckk


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




Re: Mobile phone management utility

2006-08-03 Thread Jabka Atu
deb http://mirror.hamakor.org.il/pub/mirrors/debian/ testing main 
contrib non-free
deb http://mirror.hamakor.org.il/pub/mirrors/debian/ unstable main 
contrib non-free


Rodolfo Medina wrote:

Rodolfo Medina wrote:

  

I installed `gumma' and tried it with a Nokia,
but even this one didn't work:

 $ gammu --getmemory DC 1
 Warning: No configuration file found!
 Unknown connection type string. Check config file.



 $ gnokii --getphonebook SM 1
 GNOKII Version 0.6.5
 Telephone interface init failed: Command timed out.
 Quitting.

, so there must be something important that I'm missing.
Can anyone point that out?
  




Jabka Atu <[EMAIL PROTECTED]> writes:

  

Rodolfo you could you use apt-get :
apt-get update.
apt-get install moto4lin.

here is my policy for this package:
debian:/home/mha13# apt-cache policy  moto4lin
moto4lin:
 Installed: 0.3+cvs20050925-2
 Candidate: 0.3+cvs20050925-2
 Version table:
*** 0.3+cvs20050925-2 0
   500 http://mirror.hamakor.org.il testing/main Packages
   500 http://mirror.hamakor.org.il unstable/main Packages
   100 /var/lib/dpkg/status




Thanks.
Could you please send out your /etc/apt/sources.list?
Cheers,
Rodolfo


  



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




Re: Mobile phone management utility

2006-08-03 Thread Rodolfo Medina
Rodolfo Medina wrote:

>> I installed `gumma' and tried it with a Nokia,
>> but even this one didn't work:
>>
>>  $ gammu --getmemory DC 1
>>  Warning: No configuration file found!
>>  Unknown connection type string. Check config file.
>>
>>
>>
>>  $ gnokii --getphonebook SM 1
>>  GNOKII Version 0.6.5
>>  Telephone interface init failed: Command timed out.
>>  Quitting.
>>
>> , so there must be something important that I'm missing.
>> Can anyone point that out?



Jabka Atu <[EMAIL PROTECTED]> writes:

> Rodolfo you could you use apt-get :
> apt-get update.
> apt-get install moto4lin.
>
> here is my policy for this package:
> debian:/home/mha13# apt-cache policy  moto4lin
> moto4lin:
>  Installed: 0.3+cvs20050925-2
>  Candidate: 0.3+cvs20050925-2
>  Version table:
> *** 0.3+cvs20050925-2 0
>500 http://mirror.hamakor.org.il testing/main Packages
>500 http://mirror.hamakor.org.il unstable/main Packages
>100 /var/lib/dpkg/status


Thanks.
Could you please send out your /etc/apt/sources.list?
Cheers,
Rodolfo


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



Re: auto-download deb files that are already installed

2006-08-03 Thread Wackojacko

Chuckk Hubbard wrote:

Hi.  I'm still working on this un-networked laptop.  It's looking
pretty good, now I'm ready to put the audio apps on it that I use.
I made a list from Synaptic of the packages I have on the desktop, and
now I'm hoping to download all the packages and put them on my flash
drive.
If I put "apt-get -d install pkg", I just get a message that it is
already the latest version.  Is there a way around this?  Maybe with
dpkg?  I couldn't find any options that accounted for this.

The only thing I can think of- that doesn't involve making monstrous
lists of dependencies and downloading all the debs individually- would
be to uninstall all these packages, then run apt-get -d install, save
all the debs to my flash drive, and then reinstall them.

Is there some other way to fool apt into thinking the packages aren't 
there?


-Chuckk



I think the problem is that apt on the laptop doesn't know about the new 
packages because you dont have an up to date package list on you laptop. 
  I know of two ways around this.


The first is a hack I use.  Copy the package files from 
/var/lib/apt/list and the contents files from /var/cache/apt/ from the 
desktop to the laptop and place the deb files in the 
/var/cache/apt/archives directory on the laptop and apt-get should find 
them as normal.  Also put the entries from the sources.list on the 
desktop onto the laptop and do 'apt-get update' this will fail because 
you dont have an internet connection and just use the list you copied over.


The proper way, which I could never get to work for some reason is to 
create a local repository on your flash disk using dpkg-scanpackages and 
put this in your sources.list on the laptop.  You may want to google a 
bit more info on this.


HTH

Wackojacko


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




Re: auto-download deb files that are already installed

2006-08-03 Thread Florian Kulzer
On Thu, Aug 03, 2006 at 08:10:48 -0400, Chuckk Hubbard wrote:
> Hi.  I'm still working on this un-networked laptop.  It's looking
> pretty good, now I'm ready to put the audio apps on it that I use.
> I made a list from Synaptic of the packages I have on the desktop, and
> now I'm hoping to download all the packages and put them on my flash
> drive.
> If I put "apt-get -d install pkg", I just get a message that it is
> already the latest version.  Is there a way around this?  Maybe with
> dpkg?  I couldn't find any options that accounted for this.
> 
> The only thing I can think of- that doesn't involve making monstrous
> lists of dependencies and downloading all the debs individually- would
> be to uninstall all these packages, then run apt-get -d install, save
> all the debs to my flash drive, and then reinstall them.
> 
> Is there some other way to fool apt into thinking the packages aren't there?

First of all, you might not have to download the packages again as they
might still be in the package cache on the desktop computer. Check
/var/cache/apt/archives/
(I suspect that you know this; I just wanted to make sure.)

If you have to download some packages again you could try to use apt-get
with "--reinstall" and "-d". However I have never tried myself if
"--reinstall" has the desired effect when used together with "-d". I
think the best thing would be to use aptitude: "aptitude download
package" will download the .deb for "package" to the current working
directory. You can do this as a normal user, so there is no risk of
screwing up anything in your installation. If you have a text file
"packages.txt" with the names of the packages (one name per line), then
you can simply run

aptitude download $(cat packages.txt)

and they will all be downloaded in one go.

Also check out "apt-zip" which is specifically intended for the kind of
situation you are in.

-- 
Regards,
  Florian


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



Re: Internet connection disappeared after debian-install on laptop

2006-08-03 Thread Kent West
Vegard L. Rekaa wrote:
> I'm installing Debian Etch (with netinstall-cdimage) on a laptop.
> During installation, it configured the DHCP-internet-connection
> automaticly, downloaded all 708 packages and installed them perfectly.

Which means your NIC works with Debian. That's good.

> But, when I reboot the system after intall, the internet connection is
> gone. I checked with another computer, that the line out is OK, but
> still when I plug the (ADSL) modem to the laptop, internett is not
> available.
>
> I'm not experienced with internett-connection setup, so I must ask:
>  1. Wich commands gives output that makes it possible to locate the error?
>  2. Is there a way to repeat the auto-configuration I saw during
> installation after the system is up and running?
>  3. Any other advices or hints are very much welcome!
>
> System specs:
> - The internet connection is broadband, with dynamic IP-adress (ADSL
> through the telephone-line).
> - No password or login nescesarry.
> - Debian Etch (testing) kernel 2.6.15-486
> - Laptop has no internal network-device, but has one available when
> connected to the docking station (wich of course is connected).

Run "lspci" while attached to the docking station. Look for an entry
mentioning your network card. You may need to "modprobe ", where
 is the name of the appropriate module for your network card.
You could also run "modconf" (if it's installed) for a more menu-driven
pick-and-choose method of installing the correct module (and this method
has the advantage of adding the module to "/etc/modules" so it'll be
loaded on succeeding reboots - otherwise you'll have to add it manually).

I think that nowadays there's a utility ("discover"?) that should
automagically probe for and insert correct modules on boot-up, but it
may not be working properly for you for whatever reason.

Once the correct module ("driver", in Windows-speak) has been loaded,
you may still need to restart your network, with "/etc/init.d/networking
restart". You may also need to define your network settings in
"/etc/network/interfaces".

I know this is not very specific, but it might point you in the right
direction.

-- 
Kent


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



Re: Please suggest a video capture software

2006-08-03 Thread Johannes Wiedersich

Santanu Chatterjee wrote:

kaffeine does the job for me. It is a *media player* and also has the
capability to save what you are seeing and hearing. It saves audio from
the TV signal directly, not via the sound card, though. I didn't get
your point in having to go via the line in of the sound card.

Other media players like xine may also work.


Johannes, thanks for the reply. I am not familiar with kaffeine, but I
think it is based on xine. I shall try both and see if they work.


Yes, as far as I know. In my case I never managed to configure xine to 
work with my usb-dvb-device (something about setting up channels for my 
location), while kaffeine worked 'out-of-the-box'. I never bothered 
enough to try to make xine work.


Johannes


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




auto-download deb files that are already installed

2006-08-03 Thread Chuckk Hubbard

Hi.  I'm still working on this un-networked laptop.  It's looking
pretty good, now I'm ready to put the audio apps on it that I use.
I made a list from Synaptic of the packages I have on the desktop, and
now I'm hoping to download all the packages and put them on my flash
drive.
If I put "apt-get -d install pkg", I just get a message that it is
already the latest version.  Is there a way around this?  Maybe with
dpkg?  I couldn't find any options that accounted for this.

The only thing I can think of- that doesn't involve making monstrous
lists of dependencies and downloading all the debs individually- would
be to uninstall all these packages, then run apt-get -d install, save
all the debs to my flash drive, and then reinstall them.

Is there some other way to fool apt into thinking the packages aren't there?

-Chuckk

--
"Far and away the best prize that life has to offer is the chance to
work hard at work worth doing."
-Theodore Roosevelt


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




Re: Please suggest a video capture software

2006-08-03 Thread Santanu Chatterjee

On 7/29/06, Santanu Chatterjee <[EMAIL PROTECTED]> wrote:

On 7/22/06, Bruno Buys <[EMAIL PROTECTED]> wrote:

> .
> All the pieces are there, already: v4l2 supplies the video
> stream, codecs are thriving over the internet, the author would only
> have to redirect the stream to both X and a file, after encoding. Am I
> very wrong about that?



 I wish I could just 'cat' from /dev/video0 and use 'tee'.


Bruno, I was feeling crazy yesterday, and tried the following:
--
streamer -o /dev/stdout -t  1:00 -r 25 -f mjpeg -F mono16 \
   -d /dev/video0 | tee test.avi | mplayer -
--
mplayer showed me the choppiest video I have ever seen and
test.avi ended up with 33MB of junk (no video stream detected by
mplayer).  I had read before but now I know why simple pipes don't
work for video streaming :-)

Well, currently, I am using tvtime to view TV, and
when I need to record something, I run a simple shell script to close tvtime
and record the video for the specified amount of time. The script uses streamer
to do the capture. I tried your mencoder line, as well as a number of variations
of the same (using oss as well as alsa for audio capture), but mencoder/mplayer
does not capture audio at all in my case!  So I settled on streamer.
Although I cannot
'see' what I am capturing, streamer does play the audio, which gives
me a hint
this is probably what you mentioned in one of your mails.

The script I am using is as simple as
( i am writing the script from memory):

#!/bin/bash
# "vidcap.sh"
# usage: vidcap.sh  

killall -9 tvtime
amixer -c 0 sset Line,0 90,90 unmute cap 2>/dev/null
streamer -o $1 -t $2 -r 25 -f mjpeg -F mono16 -d /dev/video0
tvtime &
-

I am getting interested about learning the v4l2 API. So, maybe
someday I might just code something

At the moment, I am looking at:
---
http://www.lavrsen.dk/twiki/bin/view/Motion/VideoForLinuxLoopbackDeviceFeedTestPackage
---
...might turn out to be something I am looking for.

Regards,
Santanu


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




Internet connection disappeared after debian-install on laptop

2006-08-03 Thread Vegard L. Rekaa
Hi list, I'm installing Debian Etch (with netinstall-cdimage) on a laptop. During installation, it configured the DHCP-internet-connection automaticly, downloaded all 708 packages and installed them perfectly. 
But, when I reboot the system after intall, the internet connection is gone. I checked with another computer, that the line out is OK, but still when I plug the (ADSL) modem to the laptop, internett is not available.
I'm not experienced with internett-connection setup, so I must ask: 1. Wich commands gives output that makes it possible to locate the error? 2. Is there a way to repeat the auto-configuration I saw during installation after the system is up and running?
 3. Any other advices or hints are very much welcome!System specs:- The internet connection is broadband, with dynamic IP-adress (ADSL through the telephone-line).- No password or login nescesarry. 
- Debian Etch (testing) kernel 2.6.15-486- Laptop has no internal network-device, but has one available when connected to the docking station (wich of course is connected).Cheers, Vegard


Re: OT: script languages

2006-08-03 Thread Gregory Seidman
On Wed, Aug 02, 2006 at 07:09:30PM -0700, charles norwood wrote:
} On Wed, 2006-08-02 at 08:14 -0400, Roberto C. Sanchez wrote:
} > On Wed, Aug 02, 2006 at 08:37:13AM -0300, [EMAIL PROTECTED] wrote:
} > > Hello,
} > > 
} > > I need to write several scripts for file manipulation, for example:
} > > change name files, read specific columns and write them in a new file,
} > > call fortan programs to read these files, etc. Because I have to learn
} > > how to do this, I wonder what scrip language is better: Perl or Phyton?
} > > or another one? (no flame war please!)
} > > 
} > > Thanks in advance
} > 
} > My view is that you can likely accomplish what you want with bash
} > scripting and some command line tools.  However, if you want to learn
} > another language (which I think is always a good idea), then consider
} > Python.
[...]
} > Additionally, Python
} > makes it difficult to write bad code.  That is, you must actively try to
} > write bad code (assuming you already have knowledge of sound software
} > development practices).  On the other hand, while Perl is also very
} > powerful, it makes it hard to good code.  That is, even if you have
} > knowledge of good software development practices, it is very easy to
} > write unreadable and unmaintainable code in Perl.
[...]
} > Regards,
} > -Roberto
} 
} I don't know Python, but I agree with Roberto about Perl.  It is easy,
} even encouraged, to write unstructured code in Perl.  On the other hand,
} it provides quick, compact solutions to common scripting problems.

I know enough about Perl to hate it, for the same reasons I hate Visual
Basic: the language itself, as well as the culture surrounding it,
encourages godawful code. You can write good code in almost any language
(Intercal may be an exception), and you can write bad code in any language
("You can write Fortran in any language"), but some language encourage
better code than others. Python actually encourages pretty good code, but I
find semantically significant whitespace vaguely offensive.

Now, pure Bourne shell scripting (no, not bash) is a good thing to know
regardless, for much the same reason that vi is good to know: it's
available essentially everywhere. I think it is also sufficient to the
tasks listed above.

For tasks that demand more than that, however, I am fond of Ruby. It
encourages quality of code at nearly the same level as Python while being
remarkably readable even to the uninitiated. There are very few surprises
in the language itself, and there is a rich community of helpful people and
available code libraries. It's gotten a lot of hype recently due to Rails,
but it is an excellent scripting language in its own right.

--Greg


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



Re: SW RAID read performance

2006-08-03 Thread Justin Piszcz



On Thu, 3 Aug 2006, David Siroky wrote:


Hi!

I have 2 disks in RAID 1 and I expected reading will be approx. 2x
faster then a single disk reading because there can be used the same
technique as on RAID 0. I tested it with bonnie++. Can linux SW RAID 1
read "in stripes" to boost the reading performance?

Thank you.

David


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



From my benchmarking on my RAID1 (dual raptor RAID1) it appears it reads 

from one drive or the other.

Justin.


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




SW RAID read performance

2006-08-03 Thread David Siroky
Hi!

I have 2 disks in RAID 1 and I expected reading will be approx. 2x
faster then a single disk reading because there can be used the same
technique as on RAID 0. I tested it with bonnie++. Can linux SW RAID 1
read "in stripes" to boost the reading performance?

Thank you.

David


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



Re: OT: script languages

2006-08-03 Thread Vegard L. Rekaa
I can only share one experience:  I made a program in Ruby once, wich had to do some similar acions as you described. (Some people claim this language will even conquer out java!?!) Easy to learn powerfuul enough for your/our our purposes.
http://www.ruby-doc.org/docs/ProgrammingRuby/Good luck, no matter what language you choose.Cheers, Vegard
On 03/08/06, charles norwood <[EMAIL PROTECTED]> wrote:
On Wed, 2006-08-02 at 08:14 -0400, Roberto C. Sanchez wrote:> On Wed, Aug 02, 2006 at 08:37:13AM -0300, [EMAIL PROTECTED] wrote:> > Hello,> >> > I need to write several scripts for file manipulation, for example:
> > change name files, read specific columns and write them in a new file,> > call fortan programs to read these files, etc. Because I have to learn> > how to do this, I wonder what scrip language is better: Perl or Phyton?
> > or another one? (no flame war please!)> >> > Thanks in advance> >>> My view is that you can likely accomplish what you want with bash> scripting and some command line tools.  However, if you want to learn
> another language (which I think is always a good idea), then consider> Python.  It is dead easy to learn (Google for "A Byte of Python") and is> very robust.  For example, after learning even a little Python, you can
> fairly easily read someone else's Python programs.  Additionally, Python> makes it difficult to write bad code.  That is, you must actively try to> write bad code (assuming you already have knowledge of sound software
> development practices).  On the other hand, while Perl is also very> powerful, it makes it hard to good code.  That is, even if you have> knowledge of good software development practices, it is very easy to
> write unreadable and unmaintainable code in Perl.  With that said, Perl> is much more widely used currently than Python.  There are many more> books available on Perl programming than Python programming and there
> are many people out there with Perl experience than with Python> experience.>> Regards,>> -RobertoI don't know Python, but I agree with Roberto about Perl.  It is easy,
even encouraged, to write unstructured code in Perl.  On the other hand,it provides quick, compact solutions to common scripting problems.--To UNSUBSCRIBE, email to 
[EMAIL PROTECTED]with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Where did the ethereal binary go?

2006-08-03 Thread Rick Friedman
Bill Moseley wrote:
> $ apt-cache policy ethereal
> ethereal:
>   Installed: 0.99.2-4
>   Candidate: 0.99.2-4
>   Version table:
>  *** 0.99.2-4 0
> 500 http://http.us.debian.org unstable/main Packages
> 100 /var/lib/dpkg/status
> 
> 
> http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=ethereal&version=unstable&arch=i386
> 
> 
> FILE   PACKAGE
> usr/bin/ethereal net/ethereal
> 
> 
> $ rm -rf ether
> 
> $ dpkg-deb -x /var/cache/apt/archives/ethereal_0.99.2-4_i386.deb ether
> 
> $ find ether
> ether
> ether/usr
> ether/usr/share
> ether/usr/share/doc
> ether/usr/share/doc/ethereal
> ether/usr/share/doc/ethereal/copyright
> ether/usr/share/doc/ethereal/changelog.gz
> ether/usr/share/doc/ethereal/changelog.Debian.gz
> 
> Did the binary get moved someplace else?

Ethereal's name was recently changed to wireshark. The ethereal package
is now just a "transitional package so ethereal users get wireshark on
upgrades."

You should find that the wireshark package is installed on your system.
The binary is now, wireshark.

Rick
-- 
Rick's Law - What cannot be imagined will be accomplished by a fool.



signature.asc
Description: OpenPGP digital signature


Re: no desktop environment

2006-08-03 Thread Chuckk Hubbard

On 8/3/06, [KS] <[EMAIL PROTECTED]> wrote:


The last time I installed, I used the minimal install CD for etch and
got the terminal after it was done. To get the desktop environment I had
to manually install it. Install gnome and gdm with apt using:

apt-get install gdm gnome gnome-desktop-environment

and you should be getting a lot of packages that are required by gnome.
After that you can handpick more packages depending on your needs.


That did it.  I had tried a few gnome-things, I didn't know what the
name of the main thing was.  Thanks!

-Chuckk


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




Re: Wrong CD? testing official snapshot i386 binary-2

2006-08-03 Thread Chuckk Hubbard

Nevermind.  I ran apt-cdrom add again and it straightened out.

On 8/3/06, Chuckk Hubbard <[EMAIL PROTECTED]> wrote:

"Media change: please insert the disc labeled
'Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-2
(20060731)' in the drive '/cdrom/' and press enter"

All the other CDs work fine, and I tried 2 different copies of this
ISO.  Anyone else have this?

I will try redownloading, and if that doesn't work I guess I'll figure
out all the packages I need from it and put them on my flash drive...

-Chuckk

--
"Far and away the best prize that life has to offer is the chance to
work hard at work worth doing."
-Theodore Roosevelt




--
"Far and away the best prize that life has to offer is the chance to
work hard at work worth doing."
-Theodore Roosevelt


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




Re: Debian on i486

2006-08-03 Thread Mike McCarty

Leonid Grinberg wrote:

Yes, I did mean floppy image. Sorry.

If you could send me one, that would be great!


Floppy image for a 1.44 MB PC style DSHD floppy along with instructions
sent under separate cover.

BTW, I always write protect the floppy before booting. This
causes an error report, because it wants to save its configuration
on the floppy. Anyway, I verified that the image I shipped you
boots my CDROM on my 486 machine whose BIOS does not recognize
the CDROM. Be sure to put the floppy in the BIOS boot seek list, and
put it ahead of the hard drive etc.

If you need the program to create more floppies, I can supply that,
as well.

I forgot to ask: do you know how to use a floppy disc image to
create a floppy? With Linux, use dd (probably need to be root),
and with MSDOS I can provide a program I wrote several years ago
to create it.

NB: I assume no responsibility for what happens if you boot from
a floppy made from that image. I exercised all due diligence in creating
it, and it works on my machine, but if it makes elephants fly out
of your nose, that is your problem. I'm trying to be a good Samaritan,
not take responsibility for your machine.

HTH and all that. Let me know how it came out. Good luck!

Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
This message made from 100% recycled bits.
You have found the bank of Larn.
I can explain it for you, but I can't understand it for you.
I speak only for myself, and I am unanimous in that!


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




Wrong CD? testing official snapshot i386 binary-2

2006-08-03 Thread Chuckk Hubbard

"Media change: please insert the disc labeled
'Debian GNU/Linux testing _Etch_ - Official Snapshot i386 Binary-2
(20060731)' in the drive '/cdrom/' and press enter"

All the other CDs work fine, and I tried 2 different copies of this
ISO.  Anyone else have this?

I will try redownloading, and if that doesn't work I guess I'll figure
out all the packages I need from it and put them on my flash drive...

-Chuckk

--
"Far and away the best prize that life has to offer is the chance to
work hard at work worth doing."
-Theodore Roosevelt


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




Re: CUPS dependencies

2006-08-03 Thread Johannes Wiedersich

Carl Fink wrote:

Again, I can print to the 1012 fine, except that CUPS sometimes dies and
refuses to restart, and I have to purge and reinstall it.  USB printer
support is there and works and it's fine.


Just guessing:
Did you check the print queue? On our cups installation sometimes people 
print to printers that are currently switched off. Those jobs have to be 
manually deleted from the print queue, before the printer will print 
again. I'm not sure if this is a bug or a 'feature', though.


(point your favourite web browser to localhost:631)

Johannes


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




Re: Where did the ethereal binary go?

2006-08-03 Thread Magnus Therning
On Wed, Aug 02, 2006 at 21:49:04 -0600, Nate Duehr wrote:
>
>Bill Moseley wrote:
>>$ apt-cache policy ethereal
>>ethereal:
>>  Installed: 0.99.2-4
>>  Candidate: 0.99.2-4
>>  Version table:
>> *** 0.99.2-4 0
>>500 http://http.us.debian.org unstable/main Packages
>>100 /var/lib/dpkg/status
>>http://packages.debian.org/cgi-bin/search_contents.pl?searchmode=filelist&word=ethereal&version=unstable&arch=i386
>>FILE   PACKAGE
>>usr/bin/ethereal net/ethereal
>>$ rm -rf ether
>>$ dpkg-deb -x /var/cache/apt/archives/ethereal_0.99.2-4_i386.deb ether
>>$ find ether
>>ether
>>ether/usr
>>ether/usr/share
>>ether/usr/share/doc
>>ether/usr/share/doc/ethereal
>>ether/usr/share/doc/ethereal/copyright
>>ether/usr/share/doc/ethereal/changelog.gz
>>ether/usr/share/doc/ethereal/changelog.Debian.gz
>>Did the binary get moved someplace else?
>
>Didn't the ethereal project recently change names?  Don't know if it
>affected the package names in Debian yet.  Just a thought.

I saw the name wireshark go by during today's upgrade so it looks like
the name change has made it into Sid :-)

/M

-- 
Magnus Therning (OpenPGP: 0xAB4DFBA4)
[EMAIL PROTECTED] Jabber: [EMAIL PROTECTED]
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

It says "My Computer" because Bill thinks that putting his software on
it makes it his. This explains a lot.
 -- unitron (/.)


pgpAhr7UZjtpp.pgp
Description: PGP signature


Odp: udev, hal, pmount

2006-08-03 Thread Zbigniew Wiech

Hi, 
I just created directories "media/usb0"
etc and pointed to them in fstab. Works fine.

regards
Zbigniew






Jim McCloskey <[EMAIL PROTECTED]>

2006-08-02 21:14




Do
debian-user@lists.debian.org


DW



Temat
udev, hal, pmount








Hello. I'm using the combination of hal, udev, and
pmount on my laptop
so that removable devices (usb sticks, an audio player, a camera) will
be automatically detected and mounted when inserted.

All is working well, and I'm pleased with the improvement,
but there
is one way in which I'd like things to work a bit better. At present
the devices are mounted in the /media directory, and the name used for
the mountpoint is the raw kernel device-name: /media/sda1 /media/sdb1
and so on.

That's fine, but I have written udev rules which create
symlinks to
/dev/iaudio for the audio player, and to /dev/micro for the Sandisk
and so on, and it would be nice if those device-names could be used as
the mountpoints: /media/iaudio /media/micro and so on. It doesn't seem
like it should be so hard to pass that information to the pmount
command, but I haven't so far found a way to do it.

Does anyone know how to do this?

I know that Gnome and KDE both have graphical utilities
for handling
this kind of thing, but I don't (want to) use either of those (I use
fluxbox as my window-manager).

Thanks very much for any hints or pointers,

Jim

PS This is Debian testing with a hand-compiled 2.6.17
kernel.


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



Re: no desktop environment

2006-08-03 Thread [KS]
Chuckk Hubbard wrote:
> I installed Etch on my laptop, and have cds 1 2 and 3.  During the
> setup, it said to make sure xserver-xorg was loaded, and it is
> installed.  Debian boots to tty terminal, though.  I type "startx" and
> get a crosshatched desktop with a black terminal in the upper left
> corner.  There is an X pointer, and it does respond to the touchpad,
> but I can't affect anything beyond typing in the terminal.
> I did a net-install of Etch on my desktop, and it went fine.
> Unfortunately, my wireless card for the laptop hasn't shown up yet.
> So I'm wondering whether this is Xwindows or Gnome-oriented, and
> whether it's from using the CDs instead of net-install, or from being
> on the laptop.  It's a Micron Transport ZX.
> 
> -Chuckk
> 

The last time I installed, I used the minimal install CD for etch and
got the terminal after it was done. To get the desktop environment I had
to manually install it. Install gnome and gdm with apt using:

apt-get install gdm gnome gnome-desktop-environment

and you should be getting a lot of packages that are required by gnome.
After that you can handpick more packages depending on your needs.

HTH, /ks


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