[Fwd: Re: Installing Debian on late 2008 MacBook Pro]

2008-11-20 Thread Jerome BENOIT



 Original Message 
Subject: Re: Installing Debian on late 2008 MacBook Pro
Date: Fri, 21 Nov 2008 08:39:44 +0800
From: Jerome BENOIT <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
Organization: none
To: Mike Grice <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>

Hello List,

I am installing Lenny on an Aluminium MacBook with rEFIt
and a classical hard drive table (the hd is a SSD, I prefered
to play with a classical table): so far grub2 (pc) is working fine.

Nevertheless, while I can shutdown it (shutdown -h now),
I cannot restart it (shutdown -r now).

Any idea ?

Thanks in advance,
Jerome

Mike Grice wrote:

On Mon, Nov 17, 2008 at 6:24 PM,  <[EMAIL PROTECTED]> wrote:

Hi all,

(This is both an install report and a help request, so I'm cross-posting on
debian-boot and debian-user.)

I'm trying to install Debian on a late 2008 MacBook Pro.

I had no luck with Debian Etch 4.0r5 (AMD64): the keyboard couln't be set
correctly (it reacted as if the control key was continuously pressed) and
the CD drive was not recognized ("No common CD-ROM drive was detected", said
the installer).

With Debian Lenny RC1 (AMD64), everything was correctly detected.  I
formatted the third partition (/dev/sda3) as a LVM physical volume and
volume group.  I splitted that volume group into two logical volumes, one
for the root filesystem and one for swap.  I had to reboot to sync the MBR
and GPT tables (in rEFIt), and the install process finished without any
problems; LILO installed its boot record on /dev/sda3 without complaining,
and the Linux partition is recognized by rEFIt.  However, when I booted the
system, LILO loaded the kernel, but it failed miserably at the very
beginning of the boot process (it's the fifth line it prints):

Kernel panic - not syncing: VFS: Unable to mount root fs or
unknown-block(253,1)

I rebooted with the install disk in rescue mode to debug the problem.  My
first idea was that the LVM module was not build into the kernel, which
could prevent Linux to access the LVM partition.  I was right, so I compiled
a new kernel:

apt-get install linux-source-2.6.26
cat /boot/config-2.6.26-1-amd64 | sed -e
's/CONFIG_BLK_DEV_DM=m/CONFIG_BLK_DEV_DM=y/' > .config
make-kpkg --initrd --revision foo kernel_image
dpkg -i kernel-image-2.6.26_foo.deb

The boot process indeed goes a few steps further, but fails again:

RAMDISK: Couldn't find valid RAM disk image starting at 0
VFS: Cannot open root device "fd01" or unknown-block(253,1)
Please append correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs or
unknown-block(253,1)

I then tried to add the ext2, ext3 and cramfs modules in the system, but
with no more luck.

I also tried various configurations for LILO, again with no luck:
 - root=/dev/mapper/vg-root (default setup by Debian installer)
 - append="root=/dev/mapper/vg-root"
 - root=/dev/ram0 append="lvm2root=/dev/mapper/vg-root"
 - append="root=/dev/ram0 lvm2root=/dev/mapper/vg-root"

When the "root=/dev/ram0" option is passed to the kernel, I get IIRC the
following error:

RAMDISK: Couldn't find valid RAM disk image starting at 0
VFS: Cannot open root device 100 or unknown-block(0,0)
Please append correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs or
unknown-block(0,0)

and with "root=/dev/mapper/vg-root" I get:

RAMDISK: Couldn't find valid RAM disk image starting at 0
VFS: Cannot open root device "mapper/vg-root" or unknown-block(0,0)
Please append correct "root=" boot option; here are the available
partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs or
unknown-block(0,0)

Any ideas?


By no means an expert, but if the installer boots, have you tried
breaking out into a shell / rescue mode, finding out what modules are
loaded, and compiling them in?  Dirty, but may just work...

What is your lilo config?  Are you sure your initrd is being found?

M




--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


--
Jerome BENOIT
jgmbenoit_at_mailsnare_dot_net


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




Re: Need to install GUI for Etch Linux

2008-11-20 Thread Andrei Popescu
On Thu,20.Nov.08, 19:35:30, Kent West wrote:

> Try "sudo aptitude install x-window-system".

Am I missing something here? AFAIR sudo is *not* configured unless you 
choose so in the /expert/ install. Why recommend it to a newcomer?

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


fcitx problem with xterm

2008-11-20 Thread Can-Hua Chen
I use fcitx (chinese input method program) and xterm. I set
fcitx so that pressing the key "Shift" would toggle between
chinese character input method and english letter input method.
I can use this setting in other X application, including 
xfce4-terminal, but not in xterm. I guess this problem may 
be related to xterm options.

Any clue about this problem is greatly appreciated.

Best wishes

Can-Hua Chen


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



Re: X11 Forwarding with Lenny?

2008-11-20 Thread swm38 swm38
2008/11/21, subscriptions <[EMAIL PROTECTED]>:
> did you change user after remote login?

No I didn't.


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



Re: oss and alsa and audio devices

2008-11-20 Thread Kelly Clowers
On Thu, Nov 20, 2008 at 21:03, H.S. <[EMAIL PROTECTED]> wrote:
> Kelly Clowers wrote:
>> On Thu, Nov 20, 2008 at 7:58 PM, H.S. <[EMAIL PROTECTED]> wrote:
>>> Ron Johnson wrote:
 If your machine runs kernel 2.6, it shouldn't have OSS.
>
>>
>> lsmod will list your loaded modules. snd_pcm_oss, snd_mixer_oss,
>> and snd_seq_oss, are all part of the alsa oss emulation.
>
> Yes I have those same ones. dpkg also does not really list any relevant
> *oss* package. However, I discovered I have linux-sound-base which
> appears to provide oss.

I believe that is "provides" in the package dependency sense, and is
for compatibility and because of alsa oss emulation. AFAIK, oss has
no userspace component, so nothing would show up in apt.

> And in KDE's sound configuration gui, one of the
> systems to choose from is OSS.

Probably hardwired, and would show up in any case.

> To me it appears that I do have oss.
> Hence the lack of any useful information from Ron's message where he
> used the word "shouldn't".

I think you do have it, but I doubt it is in use. You could look at
lsmod output and compare it to the modules in
/lib/modules/2.6.xxx/kernel/sound/oss.

>> As far as sound servers, dmix is all well and good, but I have
>> personally never seen it work correctly^W at all. I have seen
>> esd work, but not without crashes and other breakage. I do
>> not even want to talk about arts.
>
> I have aumix, kmix and xmix. I have no idea if all three are required.

Those are mixer/volume control apps. You only need one,
or even just alsamixer

Back to one of your original questions, USB sound devices
should be usb/alsa devices. I do not know much about USB
sound, but I am pretty sure that the Linux striped-down OSSv3
system has no USB support at all (although it might still
show up with alsa oss emu). I would not be surprised if
OSS is completely removed within a year or two, and
maybe even the emu will be removed.


Cheers,
Kelly Clowers


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



Re: Any textual web browser handling javascript?

2008-11-20 Thread Douglas A. Tutty
On Thu, Nov 20, 2008 at 11:28:49PM -0500, Chris Jones wrote:
> On Wed, Nov 19, 2008 at 10:22:06PM EST, Michael Marsh wrote:
> > On Wed, Nov 19, 2008 at 9:57 PM, Chris Jones <[EMAIL PROTECTED]> wrote:
 
> Used to be true of google in general.
> 
> Their "advanced search" page is now regrettably using stuff, presumably
> js.. that no longer "gracefully degrades" (nice formulation, by the way)
> when using a text-only browser such as elinks.
> 
> On the other hand they do have "text versions" of many of their pages.
> 

I don't have javascript enabled on my normal user account's browsers
(Konq or Iceweasel) yet the advanced search page works just fine.  (I
have a separate user for use with javascript and flash).

Doug.


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



Re: Very slim Desktop Manager

2008-11-20 Thread Douglas A. Tutty
On Thu, Nov 20, 2008 at 09:24:34PM -0600, Javier Vasquez wrote:
> On Thu, Nov 6, 2008 at 8:26 PM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > If he is wanting to try something other than Debian, OpenBSD will take
> > far fewer resources (leaving more for his applications) (based on my
> > experience with my 486).
> 
> Quick question, does openBSD support sshfs?  I kind of need it to
> access remote file systems, but I've been looking around the web, and
> it seems openBSD doesn't support it, :(  Other than that, it sounds
> good enough for old small systems, :)
> 

The aptitude listing for sshfs says, in part:

sshfs is based on FUSE (userspace filesystem framework for
Linux), thus you will have to prepare fuse kernel module to be
able to use it.

Since OpenBSD doesn't do kernel modules, its not likely to accept a
linux kernel module :)

However, I've never used sshfs.  If I need to transfer files in a
semi-gui way, I use mc (midnight commander)'s ssh vfs (shell link).  It
may do what you want.

Doug.


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



Re: oss and alsa and audio devices

2008-11-20 Thread H.S.
Kelly Clowers wrote:
> On Thu, Nov 20, 2008 at 7:58 PM, H.S. <[EMAIL PROTECTED]> wrote:
>> Ron Johnson wrote:
>>> If your machine runs kernel 2.6, it shouldn't have OSS.

> 
> lsmod will list your loaded modules. snd_pcm_oss, snd_mixer_oss,
> and snd_seq_oss, are all part of the alsa oss emulation.

Yes I have those same ones. dpkg also does not really list any relevant
*oss* package. However, I discovered I have linux-sound-base which
appears to provide oss. And in KDE's sound configuration gui, one of the
systems to choose from is OSS. To me it appears that I do have oss.
Hence the lack of any useful information from Ron's message where he
used the word "shouldn't".


> As far as sound servers, dmix is all well and good, but I have
> personally never seen it work correctly^W at all. I have seen
> esd work, but not without crashes and other breakage. I do
> not even want to talk about arts.

I have aumix, kmix and xmix. I have no idea if all three are required.

> 
> Although PA took a little work to setup, and has had some
> problems, it has been by far the best for me (although there
> are plenty on this list that will happily expound on their
> negative experiences with PulseAudio).

I tried to setup PA but the negative feedback I got from this list
indicated it wasn't ready yet to work out of the box. But from I hear
about its features, it does look look very interesting.

Regards.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: Login manager will not let me log in - machine thrashing

2008-11-20 Thread Douglas A. Tutty
On Thu, Nov 20, 2008 at 03:53:13PM -0500, Ken Heard wrote:
 
> Later I discovered that I could open my user and root from a virtual
> terminal.  So to test my suspicion I opened root in F1, went back to F7
> and entered my user ID and password and immediately went back to F1.
> 
> There I opened top.  In about 15 seconds the memory filled up, all 2GB
> of it, and then in another 15 seconds or so the swap space also filled
> up -- again all 2GB of it.  Top does not indicate any untoward use of
> memory; only about 40 KB seem to be in use by applications.

Try again, but set up top first, ordered by memory usage (not processor
usage), set a delay of a half second.

What happens if you run startx from the VT instead of using the login
manager?  (don't know the details since I _alwasy_ use startx).

Doug.


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



Re: oss and alsa and audio devices

2008-11-20 Thread Kelly Clowers
On Thu, Nov 20, 2008 at 7:58 PM, H.S. <[EMAIL PROTECTED]> wrote:
> Ron Johnson wrote:
>>>
>>> Anyone?
>>
>> If your machine runs kernel 2.6, it shouldn't have OSS.
>>
>
> hmm ... ookay. Does that mean both are orthogonal? And, yes, I am
> running 2.6.

I am not sure that that is true. I think Debian 2.6 kernels still have
OSS modules enabled, in /lib/modules/2.6.26-1-686/kernel/sound/oss/,
although I would not expect them to load under normal conditions.

lsmod will list your loaded modules. snd_pcm_oss, snd_mixer_oss,
and snd_seq_oss, are all part of the alsa oss emulation.

As far as sound servers, dmix is all well and good, but I have
personally never seen it work correctly^W at all. I have seen
esd work, but not without crashes and other breakage. I do
not even want to talk about arts.

Although PA took a little work to setup, and has had some
problems, it has been by far the best for me (although there
are plenty on this list that will happily expound on their
negative experiences with PulseAudio).


Cheers,
Kelly Clowers


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



Re: Any textual web browser handling javascript?

2008-11-20 Thread Chris Jones
On Wed, Nov 19, 2008 at 10:22:06PM EST, Michael Marsh wrote:
> On Wed, Nov 19, 2008 at 9:57 PM, Chris Jones <[EMAIL PROTECTED]> wrote:
> > Well, for what it's worth .. I don't have access to your mail account or
> > an account on "libero.it" .. but I just verified that I can _access_ my
> > gmail accounts with elinks.
> [snip]
> > I'm pretty sure I had to apply some patch or other to enable some level
> > of js support in elinks and I'll search through my memories/notes if you
> > want to give it a try and need more info.
> 
> Actually, gmail degrades gracefully by design.  Or rather, it presents
> a basic interface if you don't have all the requirements for the full
> interface.  No javascript required.

Used to be true of google in general.

Their "advanced search" page is now regrettably using stuff, presumably
js.. that no longer "gracefully degrades" (nice formulation, by the way)
when using a text-only browser such as elinks.

On the other hand they do have "text versions" of many of their pages.



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



Re: Why do I need a passphrase???

2008-11-20 Thread Chris Jones
On Tue, Nov 18, 2008 at 06:01:32PM EST, Paul Johnson wrote:
> Paul Johnson wrote:
> > Chris Jones wrote:
> >   
> >> I have noticed that in order to reply to their posts some users on this
> >> list require that I provide a "PGP passphrase" .. whatever that may be.
> >>
> >> I would gladly comply .. but I have no idea what that "PGP passphrase"
> >> is and how I can obtain it.
> >>   
> >> 
> > You are running a mail client that has OpenPGP support.  You can find
> > out more about OpenPGP at Wikipedia. 
> > http://en.wikipedia.org/wiki/OpenPGP.  I strongly reccommend you
> > familiarize yourself with this technology as it is commonly used verify
> > that an email hasn't been tampered or modified in shipping, or to
> > provide end-to-end encryption.
> >
> > To get started with GnuPG, the GNU OpenPGP implementation, check out
> >   
> >
> I just noticed I forgot to include the URL.
> http://www.gnupg.org/gph/en/manual/book1.html

All apologies.

Just my evil twin venting...

And thank you for the time you spent over this.



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



Re: oss and alsa and audio devices

2008-11-20 Thread H.S.
Ron Johnson wrote:
>>
>> Anyone?
> 
> If your machine runs kernel 2.6, it shouldn't have OSS.
> 

hmm ... ookay. Does that mean both are orthogonal? And, yes, I am
running 2.6.

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: need help with bash command

2008-11-20 Thread tôba
On Fri, 21 Nov 2008 09:10:08 +0800
Ding Honghui <[EMAIL PROTECTED]> wrote:

> tôba wrote:
> > Hello,
> > 
> > Can you help me with a bash command?
> > I a directory, I want to extract with a command line for jpg name
> > files. I have a lot of:
> > 
> > icon_3620_0_1.jpg
> > icon_3616_0_1.jpg
> > icon_3563_0_1.jpg
> > 
> > I want to extract the number betwen icon_*_0_1.jpg AND I want to use
> > the entire filename too in the same command.
> > 
> > The goal is to create a directory called 3620 and move the
> > icon_3620_0_1.jpg file into this directory.
> > 
> > So, I did like this for test:
> > 
> > # for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> > icon_$a_0_1.jpg; done
> > 
> > I hope it should give me:
> > 
> > icon_3620_0_1.jpg
> > icon_3616_0_1.jpg
> > icon_3563_0_1.jpg
> > 
> > like the original
> > 
> > BUT in my surprise, it shows:
> > 
> > icon_.jpg
> > icon_.jpg
> > icon_.jpg
> > icon_.jpg
> > 
> > Why?
> > Where is the $a_0_1 gone? Surely I missed something but I cannot
> > find it.
> > Can you tell me how to reproduce the exact filename so?
> > 
> > Best regards,
> > 
> > --
> > Tôba
> > 
> > 
> 
> Hello, do you means like that?
> for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> icon_${a}_0_1.jpg; done
> 
> A better way maybe is:
> [EMAIL PROTECTED]:~/test/jpg$ touch icon_3563_0_1.jpg  icon_3616_0_1.jpg
> icon_3620_0_1.jpg
> [EMAIL PROTECTED]:~/test/jpg$ ls
> icon_3563_0_1.jpg  icon_3616_0_1.jpg  icon_3620_0_1.jpg
> [EMAIL PROTECTED]:~/test/jpg$ ls | awk -F_ '{print $2}'
> 3563
> 3616
> 3620
> [EMAIL PROTECTED]:~/test/jpg$

Yes, I did like you suggested and it's already done now.

Best regards,

--
Tôba
> 


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



Re: oss and alsa and audio devices

2008-11-20 Thread Ron Johnson

On 11/20/08 21:29, H.S. wrote:

H.S. wrote:

Ron Johnson wrote:


And can I remove OSS in favor of Alsa?

Yes.

This is what I am most interested in ... how exactly?




Anyone?


If your machine runs kernel 2.6, it shouldn't have OSS.

--
Ron Johnson, Jr.
Jefferson LA  USA

If you don't agree with me, you are worse than Hitler!!!


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




Re: oss and alsa and audio devices

2008-11-20 Thread H.S.
H.S. wrote:
> Ron Johnson wrote:
> 
>>> And can I remove OSS in favor of Alsa?
>> Yes.
> 
> This is what I am most interested in ... how exactly?
> 
> 

Anyone?

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: Very slim Desktop Manager

2008-11-20 Thread Javier Vasquez
On Thu, Nov 6, 2008 at 8:26 PM, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> On Fri, Nov 07, 2008 at 07:29:10AM +0530, Sridhar M.A. wrote:
>> On Thu, Nov 06, 2008 at 02:00:28PM +0100, Michael Ott wrote:
>>>
>>> I am looking for a very slim desktop manager.
>>>
>>> The system looking for is a 486 166MHz with 64MB Ram.
>>>
>>> I only want to run one or two small applications
>>>
>> In addition to all the advice you have so far received, I would suggest
>> you to try damnsmalllinux. It is a live cd based on debian.
>
>
> If he is wanting to try something other than Debian, OpenBSD will take
> far fewer resources (leaving more for his applications) (based on my
> experience with my 486).
>
> Doug.

Quick question, does openBSD support sshfs?  I kind of need it to
access remote file systems, but I've been looking around the web, and
it seems openBSD doesn't support it, :(  Other than that, it sounds
good enough for old small systems, :)


-- 
Javier


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



ballaingatlan.hu, Ingatlanközvetítés Budapest IX., X., XIV., XV., XVIII., XIX. és XX. kerületében

2008-11-20 Thread Balla Ingatlan
Tisztelt Hölgyem / Uram!
 
Cégünk a Balla Ingatlaniroda ingatlanok közvetítésével foglalkozik kizárólag 
Budapest IX., X., XIV., XV., XVIII., XIX. és XX. kerületében, már kilenc éve és 
már összesen 6 irodánkkal állunk Ügyfeleink rendelkezésére.
 
Szolgáltatásunk vevőknek TELJESEN INGYENES.
Eladók számára tevékenységünk díja sikeres közvetítés esetén, az ingatlan 
vételárának nettó 2,5%-a +ÁFA.

További információért kérjük látogasson el honlapunkra: www.ballaingatlan.hu !

Amennyiben felkeltettük érdeklődését és a későbbiekben szívesen fogadna tőlünk 
hírlevelet, tájékoztatót, vagy egyéb ajánlatot, kérjük kattintson az alábbi 
linkre:
http://ballaingatlan.hu/?email=debian-user%40lists.debian.org&code=18fa91c5c137e8c3a90d73b20e08f749bd381dff

A tájékoztatáshoz [vagy egyéb anyagokhoz, hírlevelekhez] - a vonatkozó 
törvények értelmében - a hozzájárulását kell kérjük. Email címe nyilvános 
internetes oldalakról, illetve email-cím adatbázisokból került hozzánk. 
Ez a levél nem spam, hanem a 2001. évi CVIII. törvény 14. § (1) pontjában 
előírt hozzájárulás kérő levél.
Ha levelünkkel esetleg zavartuk, elnézést kérünk.

Üdvözlettel
Balla Ákos
Ügyvezető
és a Balla Ingatlaniroda csapata


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



Re: Need to install GUI for Etch Linux

2008-11-20 Thread Kent West

[EMAIL PROTECTED] wrote:


I have been having trouble with the install of Etch Linux.  During the 
install, the GUI Desktop Environment was not installed (install 
failed).  I am wondering if I can possibly download and install the 
desktop environment manually onto the debian machine.  I am not able 
to use the normal install, but must just download and install the GUI 
separately.  Is there any way that I can do this?  Thanks for your help.



Try "sudo aptitude install x-window-system".

You'll also want a desktop/window manager, so you may also want to "sudo 
aptitude install kde gnome icewm" or something similar.


Then if you get any errors, let us know the exact errors.

Also, are you installing from CD/DVD or from the 'net?

--
Kent



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




Re: need help with bash command

2008-11-20 Thread Ding Honghui
tôba wrote:
> Hello,
> 
> Can you help me with a bash command?
> I a directory, I want to extract with a command line for jpg name files.
> I have a lot of:
> 
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
> 
> I want to extract the number betwen icon_*_0_1.jpg AND I want to use
> the entire filename too in the same command.
> 
> The goal is to create a directory called 3620 and move the
> icon_3620_0_1.jpg file into this directory.
> 
> So, I did like this for test:
> 
> # for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> icon_$a_0_1.jpg; done
> 
> I hope it should give me:
> 
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
> 
> like the original
> 
> BUT in my surprise, it shows:
> 
> icon_.jpg
> icon_.jpg
> icon_.jpg
> icon_.jpg
> 
> Why?
> Where is the $a_0_1 gone? Surely I missed something but I cannot
> find it.
> Can you tell me how to reproduce the exact filename so?
> 
> Best regards,
> 
> --
> Tôba
> 
> 

Hello, do you means like that?
for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
icon_${a}_0_1.jpg; done

A better way maybe is:
[EMAIL PROTECTED]:~/test/jpg$ touch icon_3563_0_1.jpg  icon_3616_0_1.jpg
icon_3620_0_1.jpg
[EMAIL PROTECTED]:~/test/jpg$ ls
icon_3563_0_1.jpg  icon_3616_0_1.jpg  icon_3620_0_1.jpg
[EMAIL PROTECTED]:~/test/jpg$ ls | awk -F_ '{print $2}'
3563
3616
3620
[EMAIL PROTECTED]:~/test/jpg$


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



Re: Login manager will not let me log in - machine thrashing

2008-11-20 Thread subscriptions
On Thu, 2008-11-20 at 21:53 +0100, Ken Heard wrote:
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> I have a newly reinstalled Etch plus KDE in a dual core desktop.  After
> the installation was finished I was able to reboot and log in using kdm.
> 
> The next morning, when I turned on the computer, I only got as far as
> the kdm login manager.  When I entered my user ID and password there is
> effectively no response.  After a few minutes garbage appeared on the
> monitor.  As after about 30 seconds the HDD light became continuously
> on; I consequently suspected that the machine ended up thrashing.
> 

Maybe the disk is old and getting corrupted.

Do a 'fsck' to see if you disk is still ok.

Try to reinstall kdm login (or kde as a whole).

Best,

Rob



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



Re: X11 Forwarding with Lenny?

2008-11-20 Thread subscriptions
On Thu, 2008-11-20 at 22:05 +0100, swm38 swm38 wrote:
> Hello,
> 
> I can't get X11 Forwarding working with lenny as server.
> 
> Client is Debian Lenny too, X11 Forwarding works fine with an etch server.
> 
> The lenny Server is running with the exact same sshd_config as the etch server
> 
> X11Forwarding yes
> X11DisplayOffset 10
> UseLogin no
> AllowTcpForwarding yes
> 
> xauth is installed.
> 
> Tried ssh -X and -Y, same result:
> 
> $ echo $DISPLAY
> localhost:10.0
> $ xauth list
> freddy-test/unix:0  MIT-MAGIC-COOKIE-1  123456789...
> freddy-test/unix:10  MIT-MAGIC-COOKIE-1 ABCDEFG...
> $ xlogo
> Error: Can't open display: localhost:10.0
> 
> In the ssh(d) debug logs (ssh -vvv/sshd -de)  everything seems to be fine.
> When I start xlogo I would expect some debug output, but that doesn't happen.
> 
> Anything I missed?
> 
> Greetigns
> Freddy

Hi Freddy,

did you change user after remote login?

In that case, use 'sux' (that is su with X). It is in the software
repository.

Best,

Rob



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



Re: Need to install GUI for Etch Linux

2008-11-20 Thread Ron Johnson

On 11/20/08 17:27, [EMAIL PROTECTED] wrote:

I have been having trouble with the install of Etch Linux.
During the install, the GUI Desktop Environment was not installed
(install failed).


How so?  What error messages?  Symptoms?


I am wondering if I can possibly download and
install the desktop environment manually onto the debian machine.


Sure.  That's how I did it.


I am not able to use the normal install, but must just download
and install the GUI separately.  Is there any way that I can do
this?  Thanks for your help.


As I mentioned above, how did the GUI install fail?

--
Ron Johnson, Jr.
Jefferson LA  USA

If you don't agree with me, you are worse than Hitler!!!


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




Need to install GUI for Etch Linux

2008-11-20 Thread [EMAIL PROTECTED]
I have been having trouble with the install of Etch Linux.  During the install, 
the GUI Desktop Environment was not installed (install failed).  I am wondering 
if I can possibly download and install the desktop environment manually onto 
the debian machine.  I am not able to use the normal install, but must just 
download and install the GUI separately.  Is there any way that I can do this?  
Thanks for your help.
Brendan West

Click for free quote on refinancing your mortgage.
http://thirdpartyoffers.juno.com/TGL2131/fc/PnY6rbupltOmCNr2W01GdrOBtm1hKpKBg9WtojeK1q7aC7aSlknqT/

Re: bug advice

2008-11-20 Thread Johannes Wiedersich
Mark Allums wrote:
> Earl Sullaway wrote:
>> Not sure where this bug should be reported.
>>  
>> New install of Lenny amd64 on HP Proliant DL360G5, onboard SAS RAID,
>> Broadcom G-Ethernet
>>  
>> During install, message indicated install of bnx2-06-4.0.5.fw required
>> for ethernet adapter, installed from USB drive
>>  
>> During boot, grub error 2 message
>>  
>> Checked menu.lst, AUTOMAGIC KERNELS LIST. Entry for root indicated
>> (hd1,0), changed it to (hd0,0) and rebooted fine.
>>  
>> I don't know if it did this because of the usb drive in the system
>> when grub was installed or something else.
>> System seem to be working otherwise.
>>  
>> Not sure where to report the bug.
> 
> Uh, file a Debian bug, possibly; you might ask this question again on
> the bug list.

I don't know about any 'bug list'. I would file a bug report against the
pseudo package 'installation-report':

reportbug installation-report

See:
http://d-i.alioth.debian.org/manual/en.i386/ch05s03.html#submit-bug

Beste Grüße,

Johannes

NB: Base the report on your e-mail.


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



Re: apt-get – proble m configuring /etc/apt/sources.list

2008-11-20 Thread Bob Cox
On Thu, Nov 20, 2008 at 12:55:17 -0800, Vwaju ([EMAIL PROTECTED]) wrote: 

> Might there be a guide to using apt that is conceptually clearer than
> the man page?

I am unsure what you mean by "conceptually clearer", but man apt-get
seems quite comprehensive to me.  I cannot really comment about apt-get,
having used the admittedly similar (in CLI mode) aptitude for some years
now.  

In any case, please remember that sarge is now really quite old and no
longer receives security updates, which may be of concern because in
your original post you said you were building an 'Internet server'.

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Debian on the NSLU2: http://bobcox.com/slug/
Registered user #445000 with the Linux Counter - http://counter.li.org/


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



Re: oss and alsa and audio devices

2008-11-20 Thread Andrei Popescu
On Thu,20.Nov.08, 16:59:06, H.S. wrote:
 
> So my next query is how do I find out if any application in Debian
> requires OSS other than using the obvious brute force method? Is it even
> possible?
 
Usually the package description mentions it, but I doubt there is a 
maintained software that doesn't support alsa.

> And, er, no matter whether I eventually have alsa or oss on my system, I
> still neas a sound daemon (esd, pulse audio, etc.)?

With alsa and the dmix plugin (enabled by default) you don't really need 
a sound daemon unless you want to do more advanced stuff (like sound 
over the network). Not sure about oss, haven't used it in quite a while.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: Sound starts only sometimes after boot

2008-11-20 Thread Javier Barroso
Hi Anthony,
On Thu, Nov 20, 2008 at 3:05 PM, Anthony Campbell <[EMAIL PROTECTED]> wrote:
...
> The modules loaded seem to be the same whether sound works or not. I
> get:
>
> snd_pcm_oss41760  0
> snd_mixer_oss  18816  1 snd_pcm_oss
> snd_ens137127328  2
> snd_usb_audio  91296  0

I'm not sure if smb_usb_audio is loaded too if you haven't got a usb sound card.

But, if you have 2 sounds cards (one usb), perhaps alsa is changing
the order of the cards:

cat /proc/asound/cards

I had to make a script to change my default card on my .asoundrc file
because alsa recognized my usb sound card like first sound card one
time and like second sound card another times. I know should be a udev
rule for that but I don't know how write it yet.

If it is not your case, sorry for the noise.


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



Re: oss and alsa and audio devices

2008-11-20 Thread H.S.
H.S. wrote:
> Ron Johnson wrote:
>> http://en.wikipedia.org/wiki/Open_Sound_System#OSS_in_relation_to_ALSA
>>
>>OSS is the standard up through the 2.4 series of official
>>(kernel.org) Linux kernels. ALSA was added starting with 2.5,
>>and in those versions, Linux kernel authors marked OSS as
>>deprecated.

Following up on my previous response, I must thank you for the second
link above. Since this what I was more looking for (I already had some
idea *what* they were, but wasn't clear about whether I can ditch one):
"ALSA provides an optional OSS emulation mode that appears to programs
as if it were OSS. Similarly, there is an ALSA emulation mode in the
Linux implementation of OSS.

"While some recommend the ALSA interface for software that is intended
to work on modern Linux only, software intended to be portable across
Unixes typically uses OSS instead.

"Developers[4] often find OSS better documented than ALSA and find OSS
API much simpler."


So my next query is how do I find out if any application in Debian
requires OSS other than using the obvious brute force method? Is it even
possible?


 > This is what I am most interested in ... how exactly?
> 
> 

And, er, no matter whether I eventually have alsa or oss on my system, I
still neas a sound daemon (esd, pulse audio, etc.)?

-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: oss and alsa and audio devices

2008-11-20 Thread H.S.
Ron Johnson wrote:
> On 11/20/08 14:27, H.S. wrote:
>> Hello,
>>
>> Could somebody give some insights in to how is OSS related to Alsa? When
> 
> I hate to sound rude, but did you apply any effort in researching this
> yourself?


Yes, but it was a while ago. At that time, I must admit though, I knew
Alsa was new system than OSS, but for some reason which I do not recall
now, I had to have both. I tried to remove everything related to OSS my
sound wouldn't work. That is why I asked for insights or factors which
may not be obvious since I hardly believe the two systems' definitions
have changed.


>> a headset is connected via USB, how is it supposed to be detected, as an
>> OSS device or as a USB device?
> 
> http://en.wikipedia.org/wiki/Open_Sound_System
> http://en.wikipedia.org/wiki/Open_Sound_System#OSS_in_relation_to_ALSA
> 
>OSS is the standard up through the 2.4 series of official
>(kernel.org) Linux kernels. ALSA was added starting with 2.5,
>and in those versions, Linux kernel authors marked OSS as
>deprecated.
> 
> http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture
> 
> Advanced Linux Sound Architecture (known by the acronym ALSA)
>is a Linux kernel component intended to replace the original Open
>Sound System (OSS) for providing device drivers for sound cards.
>Some of the goals of the ALSA project at its inception were
>automatic configuration of sound-card hardware, and graceful
>handling of multiple sound devices in a system, goals which it
>has largely met.

hmm ... I wonder what "largely" means with respect to removing all of OSS.


>> And can I remove OSS in favor of Alsa?
> 
> Yes.

This is what I am most interested in ... how exactly?


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



X11 Forwarding with Lenny?

2008-11-20 Thread swm38 swm38
Hello,

I can't get X11 Forwarding working with lenny as server.

Client is Debian Lenny too, X11 Forwarding works fine with an etch server.

The lenny Server is running with the exact same sshd_config as the etch server

X11Forwarding yes
X11DisplayOffset 10
UseLogin no
AllowTcpForwarding yes

xauth is installed.

Tried ssh -X and -Y, same result:

$ echo $DISPLAY
localhost:10.0
$ xauth list
freddy-test/unix:0  MIT-MAGIC-COOKIE-1  123456789...
freddy-test/unix:10  MIT-MAGIC-COOKIE-1 ABCDEFG...
$ xlogo
Error: Can't open display: localhost:10.0

In the ssh(d) debug logs (ssh -vvv/sshd -de)  everything seems to be fine.
When I start xlogo I would expect some debug output, but that doesn't happen.

Anything I missed?

Greetigns
Freddy


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



Re: hostname must tally with fqdn in /etc/hosts?

2008-11-20 Thread Andrei Popescu
On Thu,20.Nov.08, 20:29:22, Umarzuki Mochlis wrote:
> Why that must be, I mean when changing the hostname with hostname command,
> we also sometimes need to do the same with /etc/hosts else something weird
> would happen. Does the command hostname writes somewhere else other than
> /etc/hosts?

According to 'man hostname' it doesn't write anything:

SET NAME
When  called  with one argument or with the --file option, the commands
set the host name or the NIS/YP domain name. Note that this is 
effective 
only until the next reboot.  Edit /etc/hostname for permanent change.

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: apt-get – problem configuring /etc/apt/sources .list

2008-11-20 Thread Vwaju
Thank you Bob and Eugene.

Bob --

Yes, inserting:

deb http://archive.debian.org/debian sarge main

into

/etc/apt/sources.list

and then running

#apt-get update

does the trick.

Might there be a guide to using apt that is conceptually clearer than
the man page?

Best Regards,
Vwaju


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



Login manager will not let me log in - machine thrashing

2008-11-20 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I have a newly reinstalled Etch plus KDE in a dual core desktop.  After
the installation was finished I was able to reboot and log in using kdm.

The next morning, when I turned on the computer, I only got as far as
the kdm login manager.  When I entered my user ID and password there is
effectively no response.  After a few minutes garbage appeared on the
monitor.  As after about 30 seconds the HDD light became continuously
on; I consequently suspected that the machine ended up thrashing.

Later I discovered that I could open my user and root from a virtual
terminal.  So to test my suspicion I opened root in F1, went back to F7
and entered my user ID and password and immediately went back to F1.

There I opened top.  In about 15 seconds the memory filled up, all 2GB
of it, and then in another 15 seconds or so the swap space also filled
up -- again all 2GB of it.  Top does not indicate any untoward use of
memory; only about 40 KB seem to be in use by applications.

- From that point on the computer did not seem capable of doing anything:
it will not open my user and the F1 terminal will no longer accept
commands.  In due course garbage appeared not only on the F7 terminal
but on the F1 one as well.

Usually to get out of this impasse I have to except push the reset
button.  On occasion however, when logged in as root in a terminal, halt
will work but *very* slowly.  Early in the halt process the message "out
of memory" appears.

If I do not try to open my user from the the kdm login manager I seem to
be able to use the terminal mode more or less normally either as my user
or root.

I would dearly like to know what is happening, why it is happening and
what can be done to stop it.

Regards, Ken Heard
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkklzjkACgkQlNlJzOkJmTc9ewCfVepymI8PL49FG1VxvopqV43a
4z0An3edn1RFdKF4x0hTpBrBdhijATOs
=BB5J
-END PGP SIGNATURE-


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



Sound But No Sound

2008-11-20 Thread Thomas H. George
Sound: alsaplayer plays cd's & totem plays videos.  alsamixer adjusts
volume.

No Sound: Audacity has no input control - input options are determined
by the sound card so presumably Audacity doesn't see the sound card.
Neither does alsactl.  alsactl names returns nothing and alsactl card0
says card0 is an unknown command.  less /proc/asound/card0/id returns
NVidia.

The system is Lenny and Audacity 1.3.5-beta was installed with apt-get.
Since this is a beta version perhaps the problem is an Audacity bug but,
if so, what is alsactl's problem.

Any suggestins?

Tom  


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



Re: oss and alsa and audio devices

2008-11-20 Thread Ron Johnson

On 11/20/08 14:27, H.S. wrote:

Hello,

Could somebody give some insights in to how is OSS related to Alsa? When


I hate to sound rude, but did you apply any effort in researching 
this yourself?



a headset is connected via USB, how is it supposed to be detected, as an
OSS device or as a USB device?


http://en.wikipedia.org/wiki/Open_Sound_System
http://en.wikipedia.org/wiki/Open_Sound_System#OSS_in_relation_to_ALSA

   OSS is the standard up through the 2.4 series of official
   (kernel.org) Linux kernels. ALSA was added starting with 2.5,
   and in those versions, Linux kernel authors marked OSS as
   deprecated.

http://en.wikipedia.org/wiki/Advanced_Linux_Sound_Architecture

Advanced Linux Sound Architecture (known by the acronym ALSA)
   is a Linux kernel component intended to replace the original Open
   Sound System (OSS) for providing device drivers for sound cards.
   Some of the goals of the ALSA project at its inception were
   automatic configuration of sound-card hardware, and graceful
   handling of multiple sound devices in a system, goals which it
   has largely met.


And can I remove OSS in favor of Alsa?


Yes.

--
Ron Johnson, Jr.
Jefferson LA  USA

If you don't agree with me, you are worse than Hitler!!!


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




Re: How do I view a .SWF file?

2008-11-20 Thread Florian Kulzer
On Thu, Nov 20, 2008 at 07:47:37 +0800, [EMAIL PROTECTED] wrote:
> FK> Let's see what is going on here; please post the output of these two
> FK> commands:
> $ dpkg -L flashplayer-mozilla | grep '\.so$'
> /usr/lib/flashplayer-mozilla/libflashplayer.so
> $ find /usr/lib/*/plugins*
> /usr/lib/krb5/plugins
> /usr/lib/krb5/plugins/krb5
> /usr/lib/mozilla/plugins
> /usr/lib/xulrunner-1.9/plugins
> /usr/lib/xulrunner-1.9/plugins/libunixprintplugin.so
> /usr/lib/xulrunner-1.9/plugins/libnullplugin.so
> 
> There is a /usr/lib/gnash/libgnashplugin.so though...

Check if you have a symlink in the alternatives system:

ls -l /etc/alternatives/flash-mozilla.so

If yes, try to create a symlink to /etc/alternatives/flash-mozilla.so in
/usr/lib/xulrunner-1.9/plugins.

If you don't have the alternatives symlink, try to symlink to
libflashplayer.so directly.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


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



oss and alsa and audio devices

2008-11-20 Thread H.S.
Hello,

Could somebody give some insights in to how is OSS related to Alsa? When
a headset is connected via USB, how is it supposed to be detected, as an
OSS device or as a USB device?

And can I remove OSS in favor of Alsa?

Thanks.
-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: Q: List Policy

2008-11-20 Thread Andrei Popescu
On Wed,19.Nov.08, 14:02:37, Boyd Stephen Smith Jr. wrote:
> On Wednesday 19 November 2008, Andrei Popescu <[EMAIL PROTECTED]> 
> wrote about 'Re: Q: List Policy':
> >On Mon,17.Nov.08, 22:03:20, Boyd Stephen Smith Jr. wrote:
> >> It would be nice for the list to auto-respond to any HTML posting with
> >
> >I'm pretty sure you won't see something like this from Debian lists.
> 
> :(  Why not?  Some enforcement of List Policy wouldn't be bad.
 
Maybe, but the autoresponder stuff is just not The Debian Way (tm).  
Besides, the regular threads like this one already serve as reminder for 
those who would care. The people who don't care about the CoC would just 
ignore (or filter out) the auto-responder.

> >> As far as the CC's, I suppose I'll just have to admonish those
> >> individuals directly.  (It would be nigh impossible for the list
> >> software to know the the poster had requested a CC or not.)  I can
> >> always killfile them if they get too annoying.  ;)
> >
> >This works for me (with maildrop):
> >
> ># bad replies from lists
> >if (/^(To|Cc):.*lists.debian.org/:h &&
> > /^(To|Cc):[EMAIL PROTECTED]/:h) to Maildir/.Junk/
> 
> Hard to apply list-wide since sometimes a CC *is* requested.  My point was 
> that the list software can't tell if the poster requested a CC or not.
 
Not list-wide, this is for personal use only.

> Also, I'm not subscribed to every Debian list, and this rule might throw 
> away something that was sent to both me and a list I'm not on.

It's not really thrown away, it just goes to a special folder and makes 
the repeated "offenders" easier to spot ;)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Re: mplayer playing HD files.

2008-11-20 Thread Carl Fink
Note: top-posting fixed.  Please don't do that.

On Thu, Nov 20, 2008 at 04:20:37PM +, x03 wrote:
> Carl Fink wrote:
>> On Thu, Nov 20, 2008 at 02:38:01PM +, x03 wrote:
>>
>>   
>>> I'm trying play a .mkv file (hd dvd file), but the sound is not 
>>> synced  with the image.
>>> 
>>
>> In my experience, this was caused by the bitrates in the HD file being too
>> high for my system to handle. If I transcoded the video down to a reasonable
>> combined (audio + video) bitrate using ffmpeg or mencoder, it played fine.
>>   
> And you notice the difference in quality ?

Not my system, but I have a 15" monitor in 4:3 aspect ratio.
-- 
Carl Fink   [EMAIL PROTECTED] 
Really, read my article in the current Linux Journal!


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



Re: eximstats: What happened to it, is there a replacement?

2008-11-20 Thread Alex Samad
On Thu, Nov 20, 2008 at 10:09:56AM -0600, lee wrote:
> 
> Hi,
> 
> what happened to the package "eximstats"? It doesn't seem to exist
> anymore, is there a replacement for it?

 dpkg -S eximstats 
exim4-base: /usr/sbin/eximstats
exim4-base: /usr/share/man/man8/eximstats.8.gz

apt-cache policy exim4-base
exim4-base:
  Installed: 4.69-9
  Candidate: 4.69-9
  Version table:
 *** 4.69-9 0
500 http://ftp.au.debian.org testing/main Packages
100 http://ftp.au.debian.org unstable/main Packages
100 /var/lib/dpkg/status
 4.63-17 0
500 http://ftp.au.debian.org stable/main Packages

> 
> -- 
> http://en.wikipedia.org/wiki/Posting_style
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
> 

-- 
"If the Iranians were to have a nuclear weapon they could proliferate"

- George W. Bush
03/21/2006
Washington DC


signature.asc
Description: Digital signature


Re: need help with bash command

2008-11-20 Thread François Cerbelle

Bob McGowan a écrit :

for a in `ls`; do DIR=`echo $a | cut -d_ -f2`;  echo  mkdir -p $DIR
/$a; echo rmdir $DIR/$a; echo mv $a $DIR/$a;  done

...
Why do this with a `ls` when a simple * will work?
for a in *; do ...


Hum... Because ! ;-)

In fact, first, I used to do this, because I seldomly use all files in a 
single directory, but often a pattern in a whole tree with find, second 
because there was a "ls" in the original problem and third because I did 
not optimize the command ;-)


I'm sure it is possible to replace the "mkdir -p xxx; rmdir xxx" with 
something better. For exemple in the problem, it was not needed, a 
simple "mkdir" would do the job.


Fanfan


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




Re: dynamic resolv.conf issues

2008-11-20 Thread green
On Wed, 2008.11.19, 324, Damon L. Chesser wrote:
> On Tue, 2008-11-18 at 19:41 -0700, green wrote:
> > On Tue, 2008.11.18, 323, Damon L. Chesser wrote:
> > > On Lenny, I am not running that tool.  What is overwriting my
> > > resolv.conf and how do I keep the correct data while using static IP?
> > 
> > Is the 'resolvconf' package installed?  If so, the resolvconf(8) man page 
> > outlines how to include nameservers in /etc/network/interfaces.
> 
> Interesting.  THIS box does not have dns-nameservers x.x.x.x in
> interfaces, it is Lenny, updated to current and does not suffer from
> this problem.
> 
> I have never installed that dns- line in interfaces before.
> 
> This box (call it A):
> 
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> address 192.168.200.15
> netmask 255.255.255.0
> gateway 192.168.200.1
> auto eth0
> 
> [EMAIL PROTECTED]:~$ cat /etc/resolv.conf 
> domain damtek.org
> search damtek.org
> nameserver 68.87.68.162
> nameserver 68.87.74.162
> nameserver 68.87.64.196
> 
> 
> 
> The bad box (call it B)
> 
> # The primary network interface
> allow-hotplug eth0
> iface eth0 inet static
> address 192.168.200.18
> netmask 255.255.255.0
> gateway 192.168.200.1
> auto eth0
> 
> [EMAIL PROTECTED]:~$ cat /etc/resolv.conf 
> nameserver 192.168.200.1
> 
> --
> 
> Both run current Lenny.  A pulls it's dns from what looks like my home
> router.  B does not.  I might have put that dns info there in the past,
> but if so, it does not get overwritten.  I still don't know what is
> overwritting my B box resolv.conf or why my A box does not suffer from
> the same fate.

So, which of boxes A and B have the 'resolvconf' package installed?  It seems 
like B does not but A does.  If A does not, then something else is modifying 
the /etc/resolv.conf file which I think should not.

The purpose of resolvconf is to manage the list of nameservers as interfaces 
(and their respective nameservers) come and go.


signature.asc
Description: Digital signature


Re: Upgrading a kernel in a remote server without fears, how

2008-11-20 Thread Sven Joachim
On 2008-11-20 16:13 +0100, Arnau wrote:

> Hi all,
>
>  This is a question that probably has appeared a lot of times here but
> I haven't found a solution.
>
>  Yesterday I went to the data center where our servers are
> hosted. There I tried to upgrade the kernel of one of our
> servers. It's a Dell Poweredge 1950 running a 2.6.18-6-686-bigmem
> installed via aptitude, no manual compilation. I installed
> linux-image-2.6.26-bpo.1-686-bigmem and rebooted it. Afterwards there
> were no network, drivers problems.
>
>  Thanks to I was there I was able to reboot again the server with
> another kernel version.
>
>  And here comes my question, is there a way to ensure that the kernel
> will work? I don't think so, but how you do this? upgrade a kernel
> remotely? I have found the grub's fallback option, but I don't think
> it'd solve my problem as the server started fine, the only problem
> there were no network.

One possibility that comes to mind is to write a script that tests the
network and reboots the server if it is down.  This can be an init
script or a cron script.

Sven


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



Re: need help with bash command

2008-11-20 Thread H.S.
tôba wrote:
> Hello,
> 
> Can you help me with a bash command?
> I a directory, I want to extract with a command line for jpg name files.
> I have a lot of:
> 
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
> 
> I want to extract the number betwen icon_*_0_1.jpg AND I want to use
> the entire filename too in the same command.
> 
> The goal is to create a directory called 3620 and move the
> icon_3620_0_1.jpg file into this directory.
> 

I am sure somebody would have solved this already, but here what I do in
such a situation:

#in the directory with the images. This will create dirs based on the
#numbers in the image filenames and move that file to its corresponding
#directory
for f in icon__0_1.jpg; do
  num=`echo $f | sed -e 's/icon_\([0-9]*\)_0_1\.jpg/\1/'`; #get number
  mkdir ${num};
  mv $f ${num};
done



-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: need help with bash command

2008-11-20 Thread Bob McGowan
On Thu, 2008-11-20 at 17:27 +0100, François Cerbelle wrote:
> Le Jeu 20 novembre 2008 16:18, tôba a écrit :
> > icon_3620_0_1.jpg
> > icon_3616_0_1.jpg
> > icon_3563_0_1.jpg
> >
> > The goal is to create a directory called 3620 and move the
> > icon_3620_0_1.jpg file into this directory.
> >
> > So, I did like this for test:
> > # for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> > icon_$a_0_1.jpg; done
> 
> for a in `ls`; do DIR=`echo $a | cut -d_ -f2`;  echo  mkdir -p $DIR
> /$a; echo rmdir $DIR/$a; echo mv $a $DIR/$a;  done
...

Why do this with a `ls` when a simple * will work?

for a in *; do ...

> 
-- 
Bob McGowan


smime.p7s
Description: S/MIME cryptographic signature


Re: Upgrading a kernel in a remote server without fears, how

2008-11-20 Thread Jochen Schulz
Arnau:
> 
>  This is a question that probably has appeared a lot of times here but I 
> haven't found a solution.

Sounds like "I didn't bother to google but I hope I still get answers".
:)

>  And here comes my question, is there a way to ensure that the kernel  
> will work?

Not without running it. If you have a redundant machine with the same
specs for testing, you can of course try that.

> I don't think so, but how you do this? upgrade a kernel  
> remotely? I have found the grub's fallback option, but I don't think  
> it'd solve my problem as the server started fine, the only problem there  
> were no network.

You are right, grub's fallback option only helps in case of non-booting
kernels. Don't you have a remote serial console? Even my virtual server
for $30 a month offers that.

J.
-- 
I have never been happier than I am now; a fact which depresses me
immensely.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: mplayer playing HD files.

2008-11-20 Thread x03

And you notice the difference in quality ?

Carl Fink wrote:

On Thu, Nov 20, 2008 at 02:38:01PM +, x03 wrote:

  
I'm trying play a .mkv file (hd dvd file), but the sound is not synced  
with the image.



In my experience, this was caused by the bitrates in the HD file being too
high for my system to handle. If I transcoded the video down to a reasonable
combined (audio + video) bitrate using ffmpeg or mencoder, it played fine.
  




Re: Upgrading a kernel in a remote server without fears, how

2008-11-20 Thread Douglas A. Tutty
On Thu, Nov 20, 2008 at 04:13:09PM +0100, Arnau wrote:
>  Yesterday I went to the data center where our servers are hosted. 
> There I tried to upgrade the kernel of one of our servers. It's a Dell 
> Poweredge 1950 running a 2.6.18-6-686-bigmem installed via aptitude, no 
> manual compilation. I installed  linux-image-2.6.26-bpo.1-686-bigmem and 
> rebooted it. Afterwards there were no network, drivers problems.
> 
>  Thanks to I was there I was able to reboot again the server with 
> another kernel version.
> 
>  And here comes my question, is there a way to ensure that the kernel 
> will work? I don't think so, but how you do this? upgrade a kernel 
> remotely? I have found the grub's fallback option, but I don't think 
> it'd solve my problem as the server started fine, the only problem there 
> were no network.

The only thing I can think of is if you have grub set up to use a serial
console and have a modem (or a terminal server) connected to the serial
port, or some other way of getting bios and grub console remotely.

Doug.


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



Re: mplayer playing HD files.

2008-11-20 Thread Jochen Schulz
x03:
> 
> I'm trying play a .mkv file (hd dvd file), but the sound is not synced  
> with the image.

If you have working OpenGL support for your nvidia hardware, you should
try other video output drivers, especially '-vo gl' and '-vo gl2'.

J.
-- 
Fashion is more important to me than war, famine, disease or art.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: need help with bash command

2008-11-20 Thread François Cerbelle

Le Jeu 20 novembre 2008 16:18, tôba a écrit :
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
>
> The goal is to create a directory called 3620 and move the
> icon_3620_0_1.jpg file into this directory.
>
> So, I did like this for test:
> # for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> icon_$a_0_1.jpg; done

for a in `ls`; do DIR=`echo $a | cut -d_ -f2`;  echo  mkdir -p $DIR
/$a; echo rmdir $DIR/$a; echo mv $a $DIR/$a;  done

First, compute the dirname to put the file in.
Second, create a directory corresponding to the full destination path
including the filename to create the parent directory if it does not
exists
Third, remove the directory with the name of the file
Fourth, move the file

The command line includes "echo" for you to see what will be done. When
you want the job to be done, just remove the "echo" before mkdir, rmdir
and mv.




Fanfan
-- 
http://www.cerbelle.net - http://www.afdm-idf.org


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



Re: Installing Debian on late 2008 MacBook Pro

2008-11-20 Thread jsmurf


In case anyone cares, the problem was that the RAM disk was loaded by 
LILO, but not found by the kernel (I guess the address "0" printed in the 
error messages is incorrect, since "an initrd should be placed near the 
end of memory" (Linux kernel docs), so it might be a LILO bug, the 
starting address is given to the kernel by LILO).  The workaround I found 
was to embed the RAM disk in the kernel.  Here's the recipe:


dpkg -i linux-source-2.6.26_2.6.26-8_all.deb
cd /usr/src/linux-source-2.6.26
cp /boot/config-2.6.26-1-amd64 .config
make-kpkg --initrd --revision mbp.2008 kernel_image
dpkg -i ../kernel-image-2.6.26_mbp.2008_amd64.deb
mkdir /ramdisk
cd /ramdisk
zcat /boot/initrd-2.6.26 | cpio -i
dpkg --purge kernel-image-2.6.26
cd /usr/src/linux-source-2.6.26
sed -i 's:INITRAMFS_SOURCE="":INITRAMFS_SOURCE="/ramdisk":' .config
make-kpkg --revision mbp.2008 kernel_image
dpkg -i ../kernel-image-2.6.26_mbp.2008_amd64.deb

It now boots without problem with only 
'append="root=/dev/mapper/vg-root"'.


BTW, I don't understand why initrd's are not always embedded in the 
kernel.  It seems to have nothing but benefits.


jsmurf



Hi all,

(This is both an install report and a help request, so I'm cross-posting on 
debian-boot and debian-user.)


I'm trying to install Debian on a late 2008 MacBook Pro.

I had no luck with Debian Etch 4.0r5 (AMD64): the keyboard couln't be set 
correctly (it reacted as if the control key was continuously pressed) and the 
CD drive was not recognized ("No common CD-ROM drive was detected", said the 
installer).


With Debian Lenny RC1 (AMD64), everything was correctly detected.  I 
formatted the third partition (/dev/sda3) as a LVM physical volume and volume 
group.  I splitted that volume group into two logical volumes, one for the 
root filesystem and one for swap.  I had to reboot to sync the MBR and GPT 
tables (in rEFIt), and the install process finished without any problems; 
LILO installed its boot record on /dev/sda3 without complaining, and the 
Linux partition is recognized by rEFIt.  However, when I booted the system, 
LILO loaded the kernel, but it failed miserably at the very beginning of the 
boot process (it's the fifth line it prints):


Kernel panic - not syncing: VFS: Unable to mount root fs or unknown-block(253,1)

I rebooted with the install disk in rescue mode to debug the problem.  My 
first idea was that the LVM module was not build into the kernel, which could 
prevent Linux to access the LVM partition.  I was right, so I compiled a new 
kernel:


apt-get install linux-source-2.6.26
cat /boot/config-2.6.26-1-amd64 | sed -e 
's/CONFIG_BLK_DEV_DM=m/CONFIG_BLK_DEV_DM=y/' > .config
make-kpkg --initrd --revision foo kernel_image
dpkg -i kernel-image-2.6.26_foo.deb

The boot process indeed goes a few steps further, but fails again:

RAMDISK: Couldn't find valid RAM disk image starting at 0
VFS: Cannot open root device "fd01" or unknown-block(253,1)
Please append correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs or 
unknown-block(253,1)


I then tried to add the ext2, ext3 and cramfs modules in the system, but with 
no more luck.


I also tried various configurations for LILO, again with no luck:
- root=/dev/mapper/vg-root (default setup by Debian installer)
- append="root=/dev/mapper/vg-root"
- root=/dev/ram0 append="lvm2root=/dev/mapper/vg-root"
- append="root=/dev/ram0 lvm2root=/dev/mapper/vg-root"

When the "root=/dev/ram0" option is passed to the kernel, I get IIRC the 
following error:


RAMDISK: Couldn't find valid RAM disk image starting at 0
VFS: Cannot open root device 100 or unknown-block(0,0)
Please append correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs or unknown-block(0,0)

and with "root=/dev/mapper/vg-root" I get:

RAMDISK: Couldn't find valid RAM disk image starting at 0
VFS: Cannot open root device "mapper/vg-root" or unknown-block(0,0)
Please append correct "root=" boot option; here are the available partitions:
Kernel panic - not syncing: VFS: Unable to mount root fs or unknown-block(0,0)

Any ideas?

jsmurf




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




Re: kdm will not accept my password

2008-11-20 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 14/11/2008, Hugo Vanwoerkom <[EMAIL PROTECTED]> wrote:
> Ken Heard wrote:
>
> > On 13/11/2008, Ken Heard <[EMAIL PROTECTED]> wrote:
> >
> > > I just finished installing Etch in a new box.  KDM appears on the
> > >  monitor with my user name and place to enter my password, but KDM will
> > >  not accept it.
> > >
> > >  In a virtual box I am able to log in to my user with the same
> > >  password; so the user name and password are correct.  Keyboard is US,
> > >  which I used all through the installation; so the problem is not
> > >  related to using a non US keyboard.
> > >
> > >  I have installed Sarge and Etch many times but have never run into
> > >  this problem before.  What should I do to fix it?
> > >
> > >
> > >  Ken Heard
> > >
> > >
> > I have answered my own question.  The /tmp directory was set to 0770
> > instead of 0777.  Sorry.
> >
> >
>
>  And how did /tmp get set to 0770?
>
>  Hugo
>
>
>
>  --
>  To UNSUBSCRIBE, email to
> [EMAIL PROTECTED] with
> a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
Yes, I forgot about setting the sticky bit as well - 1777.  As for how
temp got set to 0770 in the first point, I have an idea why; will post
to the list my findings.

Ken

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

iEYEARECAAYFAkkljeoACgkQlNlJzOkJmTdyhQCfSj9Yutw5er71b1QwoLC83N5Q
NQgAmwdGmCFk504Czp4c8/7cYfdfMAIw
=BESv
-END PGP SIGNATURE-


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



eximstats: What happened to it, is there a replacement?

2008-11-20 Thread lee

Hi,

what happened to the package "eximstats"? It doesn't seem to exist
anymore, is there a replacement for it?

-- 
http://en.wikipedia.org/wiki/Posting_style


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



Re: Alternative to network-manager

2008-11-20 Thread anx_dev
On Nov 19, 5:50 pm, Chris Burkhardt <[EMAIL PROTECTED]> wrote:
> Eduardo M KALINOWSKI wrote:
> >     I know network-manager often does more bad than good, so I would
> > like to avoid using it.
>
> >     However, while it is perfectly OK to edit one or two configuration
> > files to set-up wireless networking (or even cabled one, if DHCP is not
> > used) if the computer will always connect to the same network, this is
> > not practical for a laptop that will be used in several places and
> > connecting to several networks, which can't even be known in advance.
> > Especially if the user is not the most experience linux user.
>
> >     So, is there any other graphical tool that allows for easy set-up of
> > networking (especially wireless), listing networks in reach and allowing
> > automatic connection to them?
>
> wpa_supplicant (http://hostap.epitest.fi/wpa_supplicant/) includes the wpa_gui
> frontend.
>
> - Chris


Wicd is just perfect for the job. Works flawlessly on a vostro 1310
with intel 4965 roaming all day long, both for wired (dhcp and static)
and wireless connections, even WPA and WPA2.


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



Re: mplayer playing HD files.

2008-11-20 Thread Carl Fink
On Thu, Nov 20, 2008 at 02:38:01PM +, x03 wrote:

> I'm trying play a .mkv file (hd dvd file), but the sound is not synced  
> with the image.

In my experience, this was caused by the bitrates in the HD file being too
high for my system to handle. If I transcoded the video down to a reasonable
combined (audio + video) bitrate using ffmpeg or mencoder, it played fine.
-- 
Carl Fink   [EMAIL PROTECTED] 
Read my article in the current (December) Linux Journal!


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



[SOLVED] Re: need help with bash command

2008-11-20 Thread tôba
On Thu, 20 Nov 2008 13:28:17 -0200
Eduardo M KALINOWSKI <[EMAIL PROTECTED]> wrote:

> tôba escreveu:
> > Hello,
> >
> > Can you help me with a bash command?
> > I a directory, I want to extract with a command line for jpg name
> > files. I have a lot of:
> >
> > icon_3620_0_1.jpg
> > icon_3616_0_1.jpg
> > icon_3563_0_1.jpg
> >
> > I want to extract the number betwen icon_*_0_1.jpg AND I want to use
> > the entire filename too in the same command.
> >
> > The goal is to create a directory called 3620 and move the
> > icon_3620_0_1.jpg file into this directory.
> >
> > So, I did like this for test:
> >
> > # for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> > icon_$a_0_1.jpg; done
> >   
> 
> Try icon_${a}_0_1.jpg
> 
> Why it works is left as an exercise for the reader. (Hint: man bash).


Ok,
Thank you Eduardo, it works,

Regards,

--
Tôba


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



Re: ID tied to hardware? (was Re: Getting a unique ID for a system?)

2008-11-20 Thread Ron Johnson

On 11/20/08 08:41, Richard Hartmann wrote:

On Thu, Nov 20, 2008 at 03:45, Ron Johnson <[EMAIL PROTECTED]> wrote:


Which part of the hardware?  And what if you upgrade/replace the bit of
hardware upon which your "host id" is based?


Switching RAM should prolly not change the ID, but motherboard, CPU,
disks etc are all fair game. And as long as USB does not play a role,
I can live with _any_ hardware change creating a new ID as long as it is
deterministic and reproducable.


Even though the serve is still, metaphysically, "the same"?

You could take the serial numbers from various bits of hardware, and 
MD5 or SHA1 (yes, I know these are cryptographically weak, but 
remember the limited scope of the task at hand) the concatenated string.


--
Ron Johnson, Jr.
Jefferson LA  USA

If you don't agree with me, you are worse than Hitler!!!


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




Re: need help with bash command

2008-11-20 Thread Eduardo M KALINOWSKI
tôba escreveu:
> Hello,
>
> Can you help me with a bash command?
> I a directory, I want to extract with a command line for jpg name files.
> I have a lot of:
>
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
>
> I want to extract the number betwen icon_*_0_1.jpg AND I want to use
> the entire filename too in the same command.
>
> The goal is to create a directory called 3620 and move the
> icon_3620_0_1.jpg file into this directory.
>
> So, I did like this for test:
>
> # for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
> icon_$a_0_1.jpg; done
>   

Try icon_${a}_0_1.jpg

Why it works is left as an exercise for the reader. (Hint: man bash).

> I hope it should give me:
>
> icon_3620_0_1.jpg
> icon_3616_0_1.jpg
> icon_3563_0_1.jpg
>
> like the original
>
> BUT in my surprise, it shows:
>
> icon_.jpg
> icon_.jpg
> icon_.jpg
> icon_.jpg
>
> Why?
> Where is the $a_0_1 gone? Surely I missed something but I cannot
> find it.
> Can you tell me how to reproduce the exact filename so?
>   

-- 
Eduardo M Kalinowski
[EMAIL PROTECTED]


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



Upgrading a kernel in a remote server without fears, how

2008-11-20 Thread Arnau

Hi all,

 This is a question that probably has appeared a lot of times here but 
I haven't found a solution.


 Yesterday I went to the data center where our servers are hosted. 
There I tried to upgrade the kernel of one of our servers. It's a Dell 
Poweredge 1950 running a 2.6.18-6-686-bigmem installed via aptitude, no 
manual compilation. I installed  linux-image-2.6.26-bpo.1-686-bigmem and 
rebooted it. Afterwards there were no network, drivers problems.


 Thanks to I was there I was able to reboot again the server with 
another kernel version.


 And here comes my question, is there a way to ensure that the kernel 
will work? I don't think so, but how you do this? upgrade a kernel 
remotely? I have found the grub's fallback option, but I don't think 
it'd solve my problem as the server started fine, the only problem there 
were no network.


Cheers!!
--
Arnau


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




need help with bash command

2008-11-20 Thread tôba
Hello,

Can you help me with a bash command?
I a directory, I want to extract with a command line for jpg name files.
I have a lot of:

icon_3620_0_1.jpg
icon_3616_0_1.jpg
icon_3563_0_1.jpg

I want to extract the number betwen icon_*_0_1.jpg AND I want to use
the entire filename too in the same command.

The goal is to create a directory called 3620 and move the
icon_3620_0_1.jpg file into this directory.

So, I did like this for test:

# for a in `ls | sed -e s'/_/ /g' | awk '{print $2}'`; do echo
icon_$a_0_1.jpg; done

I hope it should give me:

icon_3620_0_1.jpg
icon_3616_0_1.jpg
icon_3563_0_1.jpg

like the original

BUT in my surprise, it shows:

icon_.jpg
icon_.jpg
icon_.jpg
icon_.jpg

Why?
Where is the $a_0_1 gone? Surely I missed something but I cannot
find it.
Can you tell me how to reproduce the exact filename so?

Best regards,

--
Tôba


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



Re: accessing wlan without non-free firmware?

2008-11-20 Thread Tshepang Lekhonkhobe
On Thu, Nov 20, 2008 at 2:28 PM, Winfried Tilanus <[EMAIL PROTECTED]> wrote:
> On 11/20/2008 Tshepang Lekhonkhobe wrote:
>
> Hi,
>
>> Debian doesn't distribute such and that means folks installing from
>> discs won't get their wireless working out-of-the-box
>
> It is distributed by Debian, you can find it in the non-free repository:
>
> http://packages.debian.org/search?keywords=firmware-iwlwifi
>
> You don't mind using it with ubuntu, so I guess you won't mind using
> from non-free.

I already mentioned that I installed that deb file. Anyways, all I
really wanted to know if there was another way of getting my card to
work. I promise that's true...


-- 
my place on the web:
floss-and-misc.blogspot.com


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



Re: mplayer playing HD files.

2008-11-20 Thread x03


# lspci | grep -i nvidia
01:00.0 VGA compatible controller: nVidia Corporation Quadro NVS 140M 
(rev a1)


# modinfo nvidia
filename:   /lib/modules/2.6.26-1-686/nvidia/nvidia.ko
license:NVIDIA
alias:  char-major-195-*
alias:  pci:v10DEd*sv*sd*bc03sc02i00*
alias:  pci:v10DEd*sv*sd*bc03sc00i00*
depends:agpgart,i2c-core
vermagic:   2.6.26-1-686 SMP mod_unload modversions 686
parm:   NVreg_EnableVia4x:int
parm:   NVreg_EnableALiAGP:int
parm:   NVreg_ReqAGPRate:int
parm:   NVreg_EnableAGPSBA:int
parm:   NVreg_EnableAGPFW:int
parm:   NVreg_Mobile:int
parm:   NVreg_ResmanDebugLevel:int
parm:   NVreg_RmLogonRC:int
parm:   NVreg_ModifyDeviceFiles:int
parm:   NVreg_DeviceFileUID:int
parm:   NVreg_DeviceFileGID:int
parm:   NVreg_DeviceFileMode:int
parm:   NVreg_RemapLimit:int
parm:   NVreg_UpdateMemoryTypes:int
parm:   NVreg_UseVBios:int
parm:   NVreg_RMEdgeIntrCheck:int
parm:   NVreg_UsePageAttributeTable:int
parm:   NVreg_RegistryDwords:charp
parm:   NVreg_NvAGP:int
#

Aioanei Rares wrote:



On Thu, Nov 20, 2008 at 4:38 PM, x03 <[EMAIL PROTECTED] 
> wrote:


hi list!

I'm trying play a .mkv file (hd dvd file), but the sound is not
synced with the image.

With mplayer i have this:

$ mplayer file.mkv
MPlayer dev-SVN-r26940
CPU: Intel(R) Core(TM)2 Duo CPU T7300  @ 2.00GHz (Family: 6,
Model: 15, Stepping: 10)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your
remote control.

Playing file.720p.HDTV.X264.mkv.
[mkv] Track ID 1: audio (A_AC3), -aid 0, -alang und
[mkv] Track ID 2: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Will play video track 2.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  23.976 fps0.0 kbps ( 0.0 kbyte/s)
SUB: Detected subtitle file format: subviewer
SUB: Read 863 subtitles.
SUB: Adjusted 73 subtitle(s).
SUB: Added subtitle file (1): ./file.srt
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3
and Voodoo 5.

 
What video card?



s3fb: Couldn't map S3 registers: Operation not permitted
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==
==
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar
YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
A:  44.2 V:  43.7 A-V:  0.490 ct:  0.000   0/  0 83%  4%  1.6% 475 0

   
    Your system is too SLOW to play this!  
   

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good
start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try
-framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of
the lavdopts,
e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  47.4 V:  46.8 A-V:  0.610 ct:  0.000   0/  0 84%  4%  1.6% 54

Re: mplayer playing HD files.

2008-11-20 Thread Aioanei Rares
On Thu, Nov 20, 2008 at 4:38 PM, x03 <[EMAIL PROTECTED]> wrote:

> hi list!
>
> I'm trying play a .mkv file (hd dvd file), but the sound is not synced with
> the image.
>
> With mplayer i have this:
>
> $ mplayer file.mkv
> MPlayer dev-SVN-r26940
> CPU: Intel(R) Core(TM)2 Duo CPU T7300  @ 2.00GHz (Family: 6, Model: 15,
> Stepping: 10)
> CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
> Compiled with runtime CPU detection.
> Can't open joystick device /dev/input/js0: No such file or directory
> Can't init input joystick
> mplayer: could not connect to socket
> mplayer: No such file or directory
> Failed to open LIRC support. You will not be able to use your remote
> control.
>
> Playing file.720p.HDTV.X264.mkv.
> [mkv] Track ID 1: audio (A_AC3), -aid 0, -alang und
> [mkv] Track ID 2: video (V_MPEG4/ISO/AVC), -vid 0
> [mkv] Will play video track 2.
> Matroska file format detected.
> VIDEO:  [avc1]  1280x720  24bpp  23.976 fps0.0 kbps ( 0.0 kbyte/s)
> SUB: Detected subtitle file format: subviewer
> SUB: Read 863 subtitles.
> SUB: Adjusted 73 subtitle(s).
> SUB: Added subtitle file (1): ./file.srt
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> open: No such file or directory
> [MGA] Couldn't open: /dev/mga_vid
> [VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and Voodoo
> 5.
>

What video card?

>
> s3fb: Couldn't map S3 registers: Operation not permitted
> ==
> Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
> Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
> ==
> ==
> Opening audio decoder: [liba52] AC3 decoding with liba52
> Using SSE optimized IMDCT transform
> Using MMX optimized resampler
> AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
> Selected audio codec: [a52] afm: liba52 (AC3-liba52)
> ==
> AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
> Starting playback...
> VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
> VDec: using Planar YV12 as output csp (no 0)
> Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
> VO: [xv] 1280x720 => 1280x720 Planar YV12
> A:  44.2 V:  43.7 A-V:  0.490 ct:  0.000   0/  0 83%  4%  1.6% 475 0
>
>
> Your system is too SLOW to play this!  
>
>
> Possible reasons, problems, workarounds:
> - Most common: broken/buggy _audio_ driver
>   - Try -ao sdl or use the OSS emulation of ALSA.
>   - Experiment with different values for -autosync, 30 is a good start.
> - Slow video output
>   - Try a different -vo driver (-vo help for a list) or try -framedrop!
> - Slow CPU
>   - Don't try to play a big DVD/DivX on a slow CPU! Try some of the
> lavdopts,
> e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
> - Broken file
>   - Try various combinations of -nobps -ni -forceidx -mc 0.
> - Slow media (NFS/SMB mounts, DVD, VCD etc)
>   - Try -cache 8192.
> - Are you using -cache to play a non-interleaved AVI file?
>   - Try -nocache.
> Read DOCS/HTML/en/video.html for tuning/speedup tips.
> If none of this helps you, read DOCS/HTML/en/bugreports.html.
>
> A:  47.4 V:  46.8 A-V:  0.610 ct:  0.000   0/  0 84%  4%  1.6% 543 0
> Exiting... (Quit)
>
> $ file file.mkv
> file.mkv: Matroska data
> $
>
> if i try with VLC, i can even get image... :(
> im running 'nvidia' driver over X11
> i did some of that suggested workarounds, but with no success..
>
> Someone have a clue about this ??
> Thanks a lot
>
>


Re: apt-get -- problem configuring /etc/apt /sources.list

2008-11-20 Thread Eugene V. Lyubimkin
Bob Cox wrote:
> On Thu, Nov 20, 2008 at 16:26:08 +0200, Eugene V. Lyubimkin ([EMAIL 
> PROTECTED]) wrote: 
> 
>> Firstly, try use another mirror in your /etc/apt/sources.list, for example
>> ftp.cz.debian.org or ftp.de.debian.org.
> 
> No.  There is no sarge repository on these servers either.  The OP will
> have to use http://archive.debian.org/debian-archive.
> 
> ftp://ftp.cz.debian.org/debian/README confirms this.
> 
Yes, you are right. I've missed the fact that he are using sarge.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian APT contributor



signature.asc
Description: OpenPGP digital signature


Re: ID tied to hardware? (was Re: Getting a unique ID for a system?)

2008-11-20 Thread Richard Hartmann
On Thu, Nov 20, 2008 at 03:45, Ron Johnson <[EMAIL PROTECTED]> wrote:

> Which part of the hardware?  And what if you upgrade/replace the bit of
> hardware upon which your "host id" is based?

Switching RAM should prolly not change the ID, but motherboard, CPU,
disks etc are all fair game. And as long as USB does not play a role,
I can live with _any_ hardware change creating a new ID as long as it is
deterministic and reproducable.


Richard


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



Re: apt-get – proble m configuring /etc/apt/sources.list

2008-11-20 Thread Bob Cox
On Thu, Nov 20, 2008 at 16:26:08 +0200, Eugene V. Lyubimkin ([EMAIL PROTECTED]) 
wrote: 

> Firstly, try use another mirror in your /etc/apt/sources.list, for example
> ftp.cz.debian.org or ftp.de.debian.org.

No.  There is no sarge repository on these servers either.  The OP will
have to use http://archive.debian.org/debian-archive.

ftp://ftp.cz.debian.org/debian/README confirms this.

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Debian on the NSLU2: http://bobcox.com/slug/
Registered user #445000 with the Linux Counter - http://counter.li.org/


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



Re: ID tied to hardware? (was Re: Getting a unique ID for a system?)

2008-11-20 Thread Richard Hartmann
On Thu, Nov 20, 2008 at 03:50, Celejar <[EMAIL PROTECTED]> wrote:

> http://en.wikipedia.org/wiki/Ship_of_Theseus

That can be side-stepping by defining the crucial parts of a compuer,
er, ship.


Richard


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



mplayer playing HD files.

2008-11-20 Thread x03

hi list!

I'm trying play a .mkv file (hd dvd file), but the sound is not synced 
with the image.


With mplayer i have this:

$ mplayer file.mkv
MPlayer dev-SVN-r26940
CPU: Intel(R) Core(TM)2 Duo CPU T7300  @ 2.00GHz (Family: 6, Model: 
15, Stepping: 10)

CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.
Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote 
control.


Playing file.720p.HDTV.X264.mkv.
[mkv] Track ID 1: audio (A_AC3), -aid 0, -alang und
[mkv] Track ID 2: video (V_MPEG4/ISO/AVC), -vid 0
[mkv] Will play video track 2.
Matroska file format detected.
VIDEO:  [avc1]  1280x720  24bpp  23.976 fps0.0 kbps ( 0.0 kbyte/s)
SUB: Detected subtitle file format: subviewer
SUB: Read 863 subtitles.
SUB: Adjusted 73 subtitle(s).
SUB: Added subtitle file (1): ./file.srt
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
open: No such file or directory
[MGA] Couldn't open: /dev/mga_vid
[VO_TDFXFB] This driver only supports the 3Dfx Banshee, Voodoo3 and 
Voodoo 5.

s3fb: Couldn't map S3 registers: Operation not permitted
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==
==
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 384.0 kbit/25.00% (ratio: 48000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==
AO: [alsa] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 1280x720 => 1280x720 Planar YV12
A:  44.2 V:  43.7 A-V:  0.490 ct:  0.000   0/  0 83%  4%  1.6% 475 0

  
   Your system is too SLOW to play this!  
  

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
 - Try -ao sdl or use the OSS emulation of ALSA.
 - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
 - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
 - Don't try to play a big DVD/DivX on a slow CPU! Try some of the 
lavdopts,

   e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
 - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
 - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
 - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  47.4 V:  46.8 A-V:  0.610 ct:  0.000   0/  0 84%  4%  1.6% 543 0
Exiting... (Quit)

$ file file.mkv
file.mkv: Matroska data
$

if i try with VLC, i can even get image... :(
im running 'nvidia' driver over X11
i did some of that suggested workarounds, but with no success..

Someone have a clue about this ??
Thanks a lot



Re: apt-get – proble m configuring /etc/apt/sources.list

2008-11-20 Thread Bob Cox
On Thu, Nov 20, 2008 at 05:16:00 -0800, Vwaju ([EMAIL PROTECTED]) wrote: 

> 
> With a little help from my friends, I'm teaching myself networking by
> building an internet server.  I am running Debian Linux 3.1 on a Dell
> Dimension 4100 desktop.
> 
> I have installed ISPConfig, and I now I'm trying to install monit:
> 
> # apt-get install monit
> 
> Reading Package Lists...
> Building Dependency Tree...
> The following NEW packages will be installed:
>   monit
> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
> Need to get 228kB of archives.
> After unpacking 643kB of additional disk space will be used.
> Get:1 ftp://ftp.us.debian.org oldstable/main monit 1:4.5-1 [228kB]
> Err ftp://ftp.us.debian.org oldstable/main monit 1:4.5-1
>   Unable to fetch file, server said 'Failed to open file.  ' [IP:
> 35.9.37.225 21]
> Failed to fetch 
> ftp://ftp.us.debian.org/debian/pool/main/m/monit/monit_4.5-1_i386.deb
> Unable to fetch file, server said 'Failed to open file.  ' [IP:
> 35.9.37.225 21]
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
> 
> I tried the update and –-fix-missing options, which don't help.
> 
> Here is /etc/apt/sources.list:
> - - - - - - - - - - - - - - - - - - - - - - - - -
> #deb file:///cdrom/ sarge main
> 
> deb ftp://ftp.us.debian.org/debian/ oldstable main
> deb-src ftp://ftp.us.debian.org/debian/ oldstable main
> 
> #added by me 11/19/08
> #doesn't work!
> #deb http://sunsite.mff.cuni.cz/MIRRORS/ oldstable main
> 
> deb http://security.debian.org/ oldstable/updates main
> - - - - - - - - - - - - - - - - - - - - - - - - -
> 
> The man pages for apt-get and for sources.list are kind of hard to
> understand.  I googled monit_4.5-1_i386.deb, and found it at:
> http://sunsite.mff.cuni.cz/MIRRORS/ftp.debian.org/debian/pool/main/m/monit
> /
> 
> I tried to insert a line in sources.list, but it doesn't work (see
> line added 11/19/08, then commented out).
> 
> What does the entry in sources.list needs to look like in order to
> download monit_4.5-1_i386.deb?

Oldstable/sarge is now too old and is not on the usual mirrors.

This is the line to put in your /etc/apt/sources.list:

  deb http://archive.debian.org/debian/ sarge main 

and then do an apt-get update.

Hope that helps.

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Debian on the NSLU2: http://bobcox.com/slug/
Registered user #445000 with the Linux Counter - http://counter.li.org/


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



Re: apt-get – problem configuring /etc/ apt/sources.list

2008-11-20 Thread Eugene V. Lyubimkin
Vwaju wrote:
[snip]
> Get:1 ftp://ftp.us.debian.org oldstable/main monit 1:4.5-1 [228kB]
> Err ftp://ftp.us.debian.org oldstable/main monit 1:4.5-1
>   Unable to fetch file, server said 'Failed to open file.  ' [IP:
> 35.9.37.225 21]
> Failed to fetch 
> ftp://ftp.us.debian.org/debian/pool/main/m/monit/monit_4.5-1_i386.deb
> Unable to fetch file, server said 'Failed to open file.  ' [IP:
> 35.9.37.225 21]
> E: Unable to fetch some archives, maybe run apt-get update or try with
> --fix-missing?
Firstly, try use another mirror in your /etc/apt/sources.list, for example
ftp.cz.debian.org or ftp.de.debian.org.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian APT contributor



signature.asc
Description: OpenPGP digital signature


Re: NTFS: 3g won't shut up on chmod/chown errors

2008-11-20 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Dexter Filmore wrote:
> Won't do me good, lots of subdirs where I need to copy selections. Will mount 
> on another machine and copy over 100MBit, will have to do. Filed a bug 
> report, we'll see.

In the meantime you could have a look at rsync. It has multiple options
of including or excluding certain subdirectories or files (based on
names with wild cards, etc.).

'man rsync' is a rather long read, but it's really a powerful tool to
copy or sync directories on the same computer or over a network. It
normally runs over ssh, so it is secure as well.

HTH,

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

iEYEARECAAYFAkklcTYACgkQC1NzPRl9qEXcQwCeNGITGmg222By0YJD7WLRhhB0
gbcAn1loop8sL+8yD9PTNylqwmci/U7H
=vXiN
-END PGP SIGNATURE-


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



Sound starts only sometimes after boot

2008-11-20 Thread Anthony Campbell
After each boot it is a matter of luck whether sound comes up or not. It
works about one time in four, though once it has worked it continues to
do so until the next boot.

If it fails, speaker-test gives the following:

ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave

Googling shows a number of people with similar errors though not
identical. I found a Ubuntu page which said it was solved by installing
libasound2-plugins, but this did not help me.

The modules loaded seem to be the same whether sound works or not. I
get:

snd_pcm_oss41760  0 
snd_mixer_oss  18816  1 snd_pcm_oss
snd_ens137127328  2 
snd_usb_audio  91296  0 
snd_usb_lib20224  1 snd_usb_audio
gameport   17040  3 ns558,snd_ens1371
snd_seq_midi   11072  0 
snd_seq_midi_event 11904  1 snd_seq_midi
snd_ac97_codec115416  1 snd_ens1371
snd_rawmidi26784  3 snd_ens1371,snd_usb_lib,snd_seq_midi
ac97_bus6272  1 snd_ac97_codec
snd_pcm81672  5 
snd_pcm_oss,snd_ens1371,snd_usb_audio,snd_ac97_codec
snd_seq54304  2 snd_seq_midi,snd_seq_midi_event
snd_timer  25744  3 snd_pcm,snd_seq
snd_seq_device 11668  3 snd_seq_midi,snd_rawmidi,snd_seq
snd_hwdep  12040  1 snd_usb_audio
snd63688  13 
snd_pcm_oss,snd_mixer_oss,snd_ens1371,snd_usb_audio,snd_ac97_codec,snd_rawmidi,snd_pcm,snd_seq,snd_timer,snd_seq_device,snd_hwdep
soundcore  12064  1 snd
snd_page_alloc 13072  1 snd_pcm


I think success in giving sound may depend on the sequence in which the
modules are loaded, but I don't know how to take things any further. 

Anthony


-- 
Anthony Campbell - [EMAIL PROTECTED] 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk (blog, book reviews, 
and sceptical articles)


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



apt-get – problem configuring /etc/apt/sources.lis t

2008-11-20 Thread Vwaju

With a little help from my friends, I'm teaching myself networking by
building an internet server.  I am running Debian Linux 3.1 on a Dell
Dimension 4100 desktop.

I have installed ISPConfig, and I now I'm trying to install monit:

# apt-get install monit

Reading Package Lists...
Building Dependency Tree...
The following NEW packages will be installed:
  monit
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 228kB of archives.
After unpacking 643kB of additional disk space will be used.
Get:1 ftp://ftp.us.debian.org oldstable/main monit 1:4.5-1 [228kB]
Err ftp://ftp.us.debian.org oldstable/main monit 1:4.5-1
  Unable to fetch file, server said 'Failed to open file.  ' [IP:
35.9.37.225 21]
Failed to fetch 
ftp://ftp.us.debian.org/debian/pool/main/m/monit/monit_4.5-1_i386.deb
Unable to fetch file, server said 'Failed to open file.  ' [IP:
35.9.37.225 21]
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?

I tried the update and –-fix-missing options, which don't help.

Here is /etc/apt/sources.list:
- - - - - - - - - - - - - - - - - - - - - - - - -
#deb file:///cdrom/ sarge main

deb ftp://ftp.us.debian.org/debian/ oldstable main
deb-src ftp://ftp.us.debian.org/debian/ oldstable main

#added by me 11/19/08
#doesn't work!
#deb http://sunsite.mff.cuni.cz/MIRRORS/ oldstable main

deb http://security.debian.org/ oldstable/updates main
- - - - - - - - - - - - - - - - - - - - - - - - -

The man pages for apt-get and for sources.list are kind of hard to
understand.  I googled monit_4.5-1_i386.deb, and found it at:
http://sunsite.mff.cuni.cz/MIRRORS/ftp.debian.org/debian/pool/main/m/monit
/

I tried to insert a line in sources.list, but it doesn't work (see
line added 11/19/08, then commented out).

What does the entry in sources.list needs to look like in order to
download monit_4.5-1_i386.deb?

Best Regards,
Vwaju
New York City


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



Re: Getting a unique ID for a system?

2008-11-20 Thread Richard Hartmann
On Thu, Nov 20, 2008 at 02:28, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:

> What about virtual hosts that may migrate from one piece of hardware to
> another?  Wouldn't VMs mean that you need a unique host ID separate from
> hardware?

Yes, that is the point. But a cloned VM would create a duplicate ID. If not
for this, I would have used .etc.hostid, already.


> Why not just assign sequential IDs as new hosts are created, never
> duplicating them?  In this sense, all hosts would be virtual, whether
> actually virtual (VMs) or single host on/in a single box.

Because looking up the IDs that are taken is not always feasible. With
uuids, you do not have that problem.


> It could be used as a database key, which links virtual hosts to what
> they are running on.  The database could also contain an entry for each
> component that makes up a host (if you wish), e.g. brand-model-serial
> for a case (e.g. what I see in front of me:  HP-D6131-60200-US84700448
> [HP NetServer LPr PII/450).

Newer versions of some SQL daemons offer native uuid support. Putting
a description into an ID is an absolute no-go, though. You are thinking
of a name, and I have a scheme for that, namely DNS.


> What you are describing is just part of the larger issue of namespace
> managment.  Work out exactly what you want, the criteria not the method.

I know what I want. A db table with proper relations that, amongst others,
tracks all assets. The unique ID for running OSes is the only remaining
thing I miss.


Richard


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



Re: accessing wlan without non-free firmware?

2008-11-20 Thread Sven Joachim
On 2008-11-20 13:07 +0100, Tshepang Lekhonkhobe wrote:

> On Wed, Nov 19, 2008 at 12:54 PM, Sven Joachim <[EMAIL PROTECTED]> wrote:
>> On 2008-11-19 11:00 +0100, Tshepang Lekhonkhobe wrote:
>>
>>> I struggled to get 4965 wireless working on my TravelMate 6592, and
>>> succeeded only once having installed firmware-iwlwifi from non-free.
>>> Is there a way to achieve this without going the non-free route?
>>
>> Surely, buy a WLAN card that does not require non-free firmware.  The
>> Free Software Foundation has a list of them:
>> http://www.fsf.org/resources/hw/net/wireless/cards.html.
>>
>> BTW, why exactly does the firmware bug you?
>
> Debian doesn't distribute such

For the record, it does not distribute it in main or in installer
images, by the Social Contract.  However, there are debs and udebs (for
the installer) in non-free.

> and that means folks installing from
> discs won't get their wireless working out-of-the-box. It makes it
> even harder if those don't have immediate connection to the wild web.

This is really a nuisance, I agree.  The procedure is that you have to
get the firmware from somewhere prior to the installation and put it on
a floppy or USB stick where the installer can find it.  See
http://d-i.alioth.debian.org/manual/en.i386/ch06s04.html for details.

> Luckily for me I had Ubuntu installation disc handy, which managed to
> connect with that card, me supposing that they using the same
> firmware, only much more accessible (installed by default).

My hunch is that sooner or later somebody will begin to produce and
distribute unofficial install discs that contain the distributable
non-free firmware.  These days where most wireless cards and several
Ethernet cards require firmware, network installs are becoming more and
more problematic.  :-(

Sven


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



Re: accessing wlan without non-free firmware?

2008-11-20 Thread Winfried Tilanus
On 11/20/2008 Tshepang Lekhonkhobe wrote:

Hi,

> Debian doesn't distribute such and that means folks installing from
> discs won't get their wireless working out-of-the-box

It is distributed by Debian, you can find it in the non-free repository:

http://packages.debian.org/search?keywords=firmware-iwlwifi

You don't mind using it with ubuntu, so I guess you won't mind using
from non-free.

Winfried

-- 
http://www.tilanus.com
xmpp:[EMAIL PROTECTED]
tel. 015-3613996 / 06-23303960
fax. 015-3614406


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



hostname must tally with fqdn in /etc/hosts?

2008-11-20 Thread Umarzuki Mochlis
Why that must be, I mean when changing the hostname with hostname command,
we also sometimes need to do the same with /etc/hosts else something weird
would happen. Does the command hostname writes somewhere else other than
/etc/hosts?

-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: accessing wlan without non-free firmware?

2008-11-20 Thread Tshepang Lekhonkhobe
On Wed, Nov 19, 2008 at 12:54 PM, Sven Joachim <[EMAIL PROTECTED]> wrote:
> On 2008-11-19 11:00 +0100, Tshepang Lekhonkhobe wrote:
>
>> I struggled to get 4965 wireless working on my TravelMate 6592, and
>> succeeded only once having installed firmware-iwlwifi from non-free.
>> Is there a way to achieve this without going the non-free route?
>
> Surely, buy a WLAN card that does not require non-free firmware.  The
> Free Software Foundation has a list of them:
> http://www.fsf.org/resources/hw/net/wireless/cards.html.
>
> BTW, why exactly does the firmware bug you?

Debian doesn't distribute such and that means folks installing from
discs won't get their wireless working out-of-the-box. It makes it
even harder if those don't have immediate connection to the wild web.
Luckily for me I had Ubuntu installation disc handy, which managed to
connect with that card, me supposing that they using the same
firmware, only much more accessible (installed by default).

-- 
my place on the web:
floss-and-misc.blogspot.com


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



Re: How to install packages from DVD

2008-11-20 Thread Eugene V. Lyubimkin
J.H.Kim wrote:
> Hi, everyone
> 
> If I'm to install source packages from DVD, does "apt-cdrom add" work or
> does any other command have to be used to add DVDs in sources.list?
Yes, apt-cdrom should help you.

-- 
Eugene V. Lyubimkin aka JackYF, JID: jackyf.devel(maildog)gmail.com
Ukrainian C++ Developer, Debian APT contributor



signature.asc
Description: OpenPGP digital signature


Re: Cannot configure Synaptics touchpad - Requires SHMConfig [SOLVED]

2008-11-20 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Eduardo M KALINOWSKI wrote:
> It seems the minimal xorg.conf files do not work perfectly always...

Well, xorg.conf did work. Per default it's just not configured to work
with gsynaptics (there will be users without gsynaptics, or those who
don't want gsynaptics activated by default, etc. YMMV).

You should have read
/usr/share/doc/gsynaptics/README
which will tell you how to activate it.

HTH,

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

iEYEARECAAYFAkklTVAACgkQC1NzPRl9qEUmTQCfT0XaYy9SahVa/ZRx34wRGkD5
C14An3P8R9F7gcc7di1wgGKGVl5pF9/v
=EkGs
-END PGP SIGNATURE-


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



How to install packages from DVD

2008-11-20 Thread J.H.Kim

Hi, everyone

If I'm to install source packages from DVD, does "apt-cdrom add" work or 
does any other command have to be used to add DVDs in sources.list?


Please tell me how can I add DVDs to package source lists.
Thanks in advance.

p.s) I'm using Synaptic to install packages.

Regards,
J.H.Kim


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




Re: Which files do what: .bashrc and friends

2008-11-20 Thread Emanoil Kotsev
Boyd Stephen Smith Jr. wrote:

> On Wednesday 19 November 2008, tyler <[EMAIL PROTECTED]> wrote
> about 'Re: Which files do what: .bashrc and friends':
>>I believe .profile and .bash_profile are synonyms, so you'd only use one
>>or the other.
> 
> .profile is only used by bash when it cannot find .bash_profile.  .profile
> is also used by the traditional Bourne shell and Korn shell and is the
> standard location of such commands.

Yes, this is what I also prefer. If using .bash_profile i.e. when specific
things related to bash only are setup, I take care to check if .profile is
sourced and if not source it out.

For konsole I setup alias with konsole -ls

regards



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



Re: Compact Flash (CF) boot question

2008-11-20 Thread Emanoil Kotsev
Bob wrote:

> Emanoil Kotsev wrote:
>> Hello,
>>
>> I have a fanless board by Acrosser with Geode GX CPU. The board has a CF
>> slot that is seen as primary/secondary HDD in Bios. I've jumpered to
>> primary as I don't have a HDD attached. The card is a CF card (hda: ELITE
>> PRO CF CARD 4GB, ATA DISK drive).
>> Now the problem is that the system can not boot from this card. Can
>> someone tell me how to debug, please.
>> I'm thinking that may be the bios is not supporting such a big CF card.
>>
>> The other think is that when I boot from USB or other drive I have this
>> following error couple of times after that the CF card is mounted:
>>
>> Uniform Multi-Platform E-IDE driver
>> cs5535 :00:0f.2: IDE controller (0x100b:0x002d rev 0x00)
>> cs5535 :00:0f.2: not 100% native mode: will probe irqs later
>> ide0: BM-DMA at 0xff00-0xff07
>> Probing IDE interface ide0...
>> hda: ELITE PRO CF CARD 4GB, ATA DISK drive
>> hda: host max PIO4 wanted PIO255(auto-tune) selected PIO2
>> hda: host side 80-wire cable detection failed, limiting max speed to
>> UDMA33 hda: UDMA/33 mode selected
>> ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
>> hda: max request size: 128KiB
>> hda: 7831152 sectors (4009 MB) w/1KiB Cache, CHS=7769/16/63
>>  hda:<4>hda: dma_timer_expiry: dma status == 0x21
>> hda: DMA timeout error
>> hda: dma timeout error: status=0x58 { DriveReady SeekComplete DataRequest
>> } ide: failed opcode was: unknown
>> hda: DMA disabled
>> ide0: reset: success
>>  hda1 hda2 hda3
>>
>> There was an option to pass CHS on the command line at boot time, but I'm
>> not quite sure what the root cause is. I'm using kernel 2.6.26.2 or
>> 2.6.27.6, but same behaviour with both except that with 2.6.27 I can not
>> boot some times (it hangs after reading the intrd file).
>>
>> Thank you in advance
>>
>> regards
>>   
> 
> Mmm I've done CF boot a few times but not recently, I seem to remember
> that some (most) CF cards or CF->IDE adapters don't play well with DMA.
> 
> Try putting it in PIO mode in BIOS and there'll be a boot parameter like
> ide=nodma you can pass to lock the kernel to PIO but how would depend on
> which boot loader you're using.
> 
> Sorry I can't be more help, Good luck

Thanks a lot, precious help, I went to BIOS -> Peripherals -> IDE and
disabled DMA.
The CF disk boots now. My kernel still hangs after loading initrd from time
to time.
Do you know how I can debug this. It happens more often with 2.6.27 and not
that often with 2.6.26

regards


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



Re: Cannot configure Synaptics touchpad - Requires SHMConfig [SOLVED]

2008-11-20 Thread Eduardo M KALINOWSKI
Sebastian Canagaratna wrote:
> I think you have to add the following to your xorg.conf
>
>
> Section "ServerLayout"
> Identifier "Default Server Layout"
> Screen "Default Screen"
> InputDevice "Generic Keyboard" "Core Keyboard"
> InputDevice "Synaptics Touchpad" "Core Pointer"
> EndSection
>
> At least, for me I had to add this before it would work. Then you can
> run gsynaptics and configure it
>   

Thanks, that did the trick. Only I used "CoreKeyboard" and
"CorePointer", with no spaces.

It seems the minimal xorg.conf files do not work perfectly always...



-- 
A Difficulty for Every Solution.
-- Motto of the Federal Civil Service

Eduardo M KALINOWSKI
[EMAIL PROTECTED]
http://move.to/hpkb


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



Re: SATA CD/DVD recording fails on Etch - MSI K8MM-V

2008-11-20 Thread Aioanei Rares
On Thu, Nov 20, 2008 at 8:20 AM, KEBRA <[EMAIL PROTECTED]> wrote:

> 2008/11/20 Ron Johnson <[EMAIL PROTECTED]>:
>
>> On 11/19/08 20:19, Kebra Negest wrote:
>>
>>>
>>> 2008/11/19 Ron Johnson <[EMAIL PROTECTED]>:
>>>
>>
>> [snip]
>>
>>>
 Hmmm.

 $ grep VIA /boot/config-2.6.18


>>> Ok, here's what I get:
>>>
>>> [EMAIL PROTECTED]:~$ grep VIA /boot/config-2.6.18
>>> grep: /boot/config-2.6.18: No existe el fichero o el directorio
>>> [EMAIL PROTECTED]:~$
>>>
>>> There's no such file or directory. ¿?
>>>
>>> What does it mean?
>>>
>>
>> $ dir /boot/config*
>>
>> --
>> Ron Johnson, Jr.
>> Jefferson LA  USA
>>
>> If you don't agree with me, you are worse than Hitler!!!
>>
>>
>
> I guess I wrote the command wrong or something, now I get this:
>
> [EMAIL PROTECTED]:~$ grep VIA /boot/config-2.6.18-6-amd64
> CONFIG_VIA_FIR=m
> CONFIG_BLK_DEV_VIA82CXXX=m
> CONFIG_SCSI_SATA_VIA=m
> CONFIG_VIA_RHINE=m
> # CONFIG_VIA_RHINE_MMIO is not set
> CONFIG_VIA_RHINE_NAPI=y
> CONFIG_VIA_VELOCITY=m
> CONFIG_AGP_VIA=m
> CONFIG_DRM_VIA=m
> CONFIG_I2C_VIA=m
> CONFIG_I2C_VIAPRO=m
> CONFIG_SENSORS_VIA686A=m
> CONFIG_SND_VIA82XX=m
> CONFIG_SND_VIA82XX_MODEM=m
> CONFIG_SOUND_VIA82CXXX=m
> CONFIG_MIDI_VIA82CXXX=y
> [EMAIL PROTECTED]:~$
>
> I have no idea what the "m" means in those config lines...
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a
> subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>
Means it's compiled as a module.