Re: syslog filter

2012-07-10 Thread Muhammad Yousuf Khan
Thanks bro. it worked :)

On Tue, Jul 10, 2012 at 7:26 PM, Michael Biebl  wrote:
> On 10.07.2012 16:24, Michael Biebl wrote:
>
>> With rsyslog you have powerful filtering capabilities and you can
>> basically match on any part of the syslog message and drop it with the
>> "~" operator.
>>
>> http://www.rsyslog.com/doc/rsyslog_conf_filter.html
>
> http://www.rsyslog.com/doc/property_replacer.html → "Available
> Properties" lists the properties you can match against.
>
>
> --
> Why is it that all of the instruments seeking intelligent life in the
> universe are pointed away from Earth?
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cagwvfmndbdzlmddoenwr1qu5koar1omr8djd8hrl_+t3u8q...@mail.gmail.com



Re: Why compiling.

2012-07-10 Thread Dom

On 11/07/12 01:06, Ralf Mardorf wrote:

On Tue, 2012-07-10 at 08:54 -0700, Mike McClain wrote:

Howdy,

On Tue, Jul 10, 2012 at 05:03:12PM +0500, Muhammad Yousuf Khan wrote:


why people do compiling. i have heard many time that people are
compiling kernel on debian.
what is the reason for this? i am using debian for almost 1.5 year and
have been using it on different platform in CLI mode. but no need of
compiling in this time window.


The kernel provided when you install Linux, Debian included, has to work
on nearly every system out there so it includes drivers for nearly piece
of hardware that can be installed in a PC.

I always compile a kernel with only the hardware I have in my computer.
This gives me a smaller memory footprint and a smaller disk footprint.

It's all a matter of what you want.


Those smaller footprints usually aren't needed for modern computers,
since we've usually got more than enough disc space and RAM. OTOH we
perhaps change some hardware from time to time and then we need
different modules. Perhaps a visitor has some hardware, that should work
on our computers. It's a dangerous balancing act. I wouldn't remove too
much.


The key word there is "usually"...

I run stock kernels on all my newer systems, but I have some old ones 
which it just won't work with. Therefore I compile my own. It's 
customised for those particular systems, so doesn't need to be portable.


I always keep the previous known working version of a kernel on the 
system until I'm certain that the newly compiled one is stable, and if a 
system becomes unbootable I can usually recover by removing the hard 
disk and connecting it to a working system and fixing whatever the 
problem was.


I realise that my situation is quite different to the average user with 
their 256GB/6GHz/128 bit systems ;-)

--
Dom


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffd1f7b.8070...@rpdom.net



Re: wheezy backports

2012-07-10 Thread Andrei POPESCU
On Mi, 11 iul 12, 12:46:54, lina wrote:
> Hi,
> 
> I need install fglrx and xorg from wheezy backports,
> 
> are there some links can be used to feed the sources.list?

http://backports-master.debian.org/Instructions/

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Wheezy on UEFI

2012-07-10 Thread Andrei POPESCU
On Mi, 11 iul 12, 06:08:15, Darren Baginski wrote:
> 
> I found those steps not so easy to perform for many users and bielive such functionality should be intergrated
> in to the Debian installer.
> My question is there a work in progress on that? If so, how can I help ?  

debian-boot is the mailing list dedicated to developing the Debian 
Installer.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: full automated installation preseed without any network connection?

2012-07-10 Thread Andrei POPESCU
On Ma, 10 iul 12, 16:29:54, anots...@fastmail.fm wrote:
> Dear list,
> 
> can Debian be fully automated installed when there is no network
> connection available?

Could you please give more details about what you want to achieve? I'd 
install on a removable drive, boot the new system with it and cp -a 
everything over.

If you need to do this on several (more or less identical) machines you 
can create an image that you can just copy over.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


"drive already mounted or busy" ... dmsetup routine

2012-07-10 Thread John Magolske
I've been having issues with a particular hard drive, where after
a suspend-resume cycle with s2ram, it won't mount:

# mount /dev/sdb1 /media
mount: /dev/sdb1 already mounted or /media busy
# umount /media
umount: /media: not mounted

So I end up doing the following routine:

# dmsetup ls

(observe the device uuid's and input those to the remove below)

# dmsetup remove 
*-part1
# dmsetup remove *

After this I can mount/umount multiple times no problem. But after
every suspend-resume cycle I have to do that dmsetup routine again.

Could this be a hard-drive hardware issue? Or maybe something is
mis-configured? Seems to have started after a dist-upgrade a while
back. I'm able to mount other flash-drives fine without the dmsetup
routine.

TIA for any help,

John

-- 
John Magolske
http://B79.net/contact


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120711060959.ga22...@s70206.gridserver.com



Re: Why compiling.

2012-07-10 Thread Andrei POPESCU
On Ma, 10 iul 12, 22:50:02, Celejar wrote:
> On Tue, 10 Jul 2012 23:22:46 +0300
> Andrei POPESCU  wrote:
> 
> Not quite sure I get you - if my hypothetical router (running x86 HW,
> not like my actual routers that run OpenWRT on arm, and that don't
> have lots of extra MB to spare) needs a new kernel, I can just send over
> a distro stock one;

From where? Your network is down and your other machine runs on a custom 
kernel.

> why should my work machine kernel need to be
> appropriate for my router?

A stock kernel should work for both. IMHO, even if you do use custom 
kernels, it's probably a good idea to keep a stock kernel around for 
backup and troubleshooting.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Installing a new HDD and mounting others

2012-07-10 Thread Andrei POPESCU
On Mi, 11 iul 12, 05:27:57, Mark Panen wrote:
> 
> gparted sees my two HDD as /dev/sda & /dev/sdb, not in partitions.

Of course, the HDDs are sda and sdb, but you need the partition 
designations.

> I will try find out the partitions numbers of the /devs

If you can't find your way around gparted try 'fdisk -l' or 'blkid'.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: wheezy backports

2012-07-10 Thread Ezequiel
Hi, there is a way to install fglrx in wheezy, but you wil need to
downgrade X to a previous version.
I found a solution out there and posted it here.

http://lists.debian.org/debian-user/2012/07/msg00647.html


regards
Zeke

2012/7/11 lina 

> Hi,
>
> I need install fglrx and xorg from wheezy backports,
>
> are there some links can be used to feed the sources.list?
>
> Thanks with best regards,
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/CAG9cJm=bkie0rhv94ixmhx_x2yaxegrci7fjt8zntfmuv3l...@mail.gmail.com
>
>


-- 
¨Como siempre, los ingenieros hicieron un
escándalo, aunque terminaron la maniobra
en la mitad del tiempo que habían rechazado
como imposible¨


wheezy backports

2012-07-10 Thread lina
Hi,

I need install fglrx and xorg from wheezy backports,

are there some links can be used to feed the sources.list?

Thanks with best regards,


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAG9cJm=bkie0rhv94ixmhx_x2yaxegrci7fjt8zntfmuv3l...@mail.gmail.com



Re: full automated installation preseed without any network connection?

2012-07-10 Thread anotst01
I want to install without network and automation.

Is it possible? Can you share a working preseed.cfg please?

-- 
http://www.fastmail.fm - The professional email service


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1341980230.8306.140661100495325.6d550...@webmail.messagingengine.com



Re: Why compiling.

2012-07-10 Thread Kumar Appaiah
On Tue, Jul 10, 2012 at 08:54:29AM -0700, Mike McClain wrote:
> The kernel provided when you install Linux, Debian included, has to work
> on nearly every system out there so it includes drivers for nearly piece
> of hardware that can be installed in a PC.
> 
> I always compile a kernel with only the hardware I have in my computer.
> This gives me a smaller memory footprint and a smaller disk footprint.

I'd like to get some proof of this. For many years, the Linux kernel
has been modular, and, barring some filesystem support and similar,
almost all hardware support is achieved by means of loadable
modules. So, a module is loaded only if you have the hardware which
has a need for it. This is why a stock Debian kernel will load the
driver for just an Intel sound card if you have one, and not drivers
for any other brands. However, tomorrow, when you switch out the sound
card, the same kernel can support the new sound card without needing a
rebuild.

Please correct me if I have missed something here.

Thanks.


Kumar
-- 
"If you want to travel around the world and be invited to speak at a lot
of different places, just write a Unix operating system."
(By Linus Torvalds)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120711041248.ga7...@bluemoon.alumni.iitm.ac.in



Re: procmail filtering

2012-07-10 Thread Chris Bannister
On Thu, Jul 05, 2012 at 11:14:57AM +0200, Jochen Spieker wrote:
> lee:
> > 
> > I've looked at formail + procmail , but formail forces it into mailbox
> > format which I dont want.
> 
> Formail doesn't actually save the mailboxes anywhere, procmail does
> that. And if you append a slash to the mailbox name, procmail generates
> maildirs. Example:
> 
> MAILDIR=$HOME/Maildir/
> LOGFILE=$HOME/.procmail.log
> DEFAULT=$MAILDIR
> 
> :0:
^
In that case you don't need the colon. That colon is for locking and
maildir doesn't require locking. 
e.g.

:0
* ^X-Mailing-List: 
* ^X-Mailing-List: http://lists.debian.org/20120711033037.GU3873@tal



Re: Why compiling.

2012-07-10 Thread Celejar
On Tue, 10 Jul 2012 23:21:37 -0400
Gary Dale  wrote:

> On 10/07/12 10:52 PM, Celejar wrote:
> > On Tue, 10 Jul 2012 19:20:05 -0400
> > Gary Dale  wrote:

...

> >> Having a portable kernel is a lot simpler than trying to rescue a
> >> non-bootable machine from a live CD.
> > True - but then I can just grab a distro stock kernel before I swap
> > HDDs.
> >
> You still need to go through the aggravation of booting from a live CD 
> then setting up a chroot environment just to get around the fact that 
> you compiled a non-portable kernel. You wouldn't have to do any of that 
> if you had just stuck with the stock kernel.

I must have misunderstood what you meant. If machine A is non-bootable,
then I need to recover using resources from machine B. But even if
machine B generally runs my custom kernel, before I pull its HDD and
move it to A, I can just add a stock kernel to B. Can you explain what
you mean here?

Celejar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710232849.f4ea25a1.cele...@gmail.com



Re: Installing a new HDD and mounting others

2012-07-10 Thread Mark Panen

On 10/07/2012 23:36, Gary Dale wrote:

On 09/07/12 05:12 PM, Mark Panen wrote:

On 09/07/2012 20:02, Gary Dale wrote:

On 09/07/12 01:47 PM, Mark Panen wrote:

Hi,

I have followed this except to replace ext3 with ext4:

http://linux.justinhartman.com/Installing_a_second_hard_drive

I installed a new HDD and installed Squeeze on it.

When i open My Computer in Gnome i can see and mount the other two
HDD's.

But i cannot get the /etc/fstab entry right, on boot i get fsck
errors on the other two HDD's.

Mount them with:

mount -t ext4 /dev/hdc1 /new-disk as an example works once the system
is up.

but the /etc/fstab example does not when i reboot.

Is it perhaps that i have the boot flag entry on the other two HDD's?


Can you post the lines from your /etc/fstab referring to the two disks?




#/dev/sda   /mnt/store9ext4   
defaults,errors=remount-ro0   0
#/dev/sdb   /mnt/store3ext4noatime,defaults
0   0



1) if these your lines, they are commented out so they will be ignored.
2) if the actual lines don't include the "#", you need the partition 
number and not just the drive device (i.e. /dev/sda should probably be 
something like /dev/sda1)
3) the /dev/sda line includes "errors=remount-ro", which tells the 
system to remount it read-only if errors are detected, but the last 
"0" tells the system to not check the partition. The final "0" should 
be "2" for any non-root partition (you want it checked after the "/" 
partition, otherwise it can't be mounted).

4) do the directories /mnt/store3 and /mnt/store9 exist?
5) are the device letters correct? In your original e-mail you 
referred to /dev/hdc1, not /dev/sda and /dev/sdb. The device 
designation doesn't change between the command line and /etc/fstab. 
They should be the same in both cases.





gparted sees my two HDD as /dev/sda & /dev/sdb, not in partitions. I 
will try find out the partitions numbers of the /devs


I have commented out the lines as squeeze fails to boot with these lines 
in fstab.


directories /mnt/store3 and /mnt/store9 exist.

I still don't understand when i go to places and click on the computer 
icon it sees all the HDD's and i can mount them?


--
Cheers
Mark


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffcf2bd.2090...@gmail.com



Re: Why compiling.

2012-07-10 Thread Gary Dale

On 10/07/12 10:47 PM, Celejar wrote:

On Wed, 11 Jul 2012 02:06:02 +0200
Ralf Mardorf  wrote:


On Tue, 2012-07-10 at 08:54 -0700, Mike McClain wrote:

Howdy,

On Tue, Jul 10, 2012 at 05:03:12PM +0500, Muhammad Yousuf Khan wrote:

why people do compiling. i have heard many time that people are
compiling kernel on debian.
what is the reason for this? i am using debian for almost 1.5 year and
have been using it on different platform in CLI mode. but no need of
compiling in this time window.

The kernel provided when you install Linux, Debian included, has to work
on nearly every system out there so it includes drivers for nearly piece
of hardware that can be installed in a PC.

I always compile a kernel with only the hardware I have in my computer.
This gives me a smaller memory footprint and a smaller disk footprint.

It's all a matter of what you want.

Those smaller footprints usually aren't needed for modern computers,
since we've usually got more than enough disc space and RAM. OTOH we
perhaps change some hardware from time to time and then we need
different modules. Perhaps a visitor has some hardware, that should work
on our computers. It's a dangerous balancing act. I wouldn't remove too
much.

Then I'll reboot into a distro stock kernel, or rebuild. Don't forget,
that on the modern hardware everyone is talking about, rebuilding a
kernel is a fairly swift process.
A pointless exercise since the difference in boot speed is negligible 
and far less than the time wasted compiling the custom kernel to begin 
with. You're thinking like a hobbyist who enjoys tinkering with their 
computer. If you value up-time, you'll stick to the stock kernel.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffcf221.1060...@rogers.com



Re: Why compiling.

2012-07-10 Thread Gary Dale

On 10/07/12 10:52 PM, Celejar wrote:

On Tue, 10 Jul 2012 19:20:05 -0400
Gary Dale  wrote:


On 10/07/12 04:22 PM, Andrei POPESCU wrote:

On Ma, 10 iul 12, 15:08:52, Celejar wrote:

And why do I care whether the kernel I compile locally for a
specific machine is portable?

Imagine a situation where due to whatever reason the kernel image of
your router machine gets corrupted, then you can just copy the file from
another machine ;)

Kind regards,
Andrei

Or if you need to change your hardware. Or if you want to use your drive
to boot another machine - such as for testing or demonstration purposes.

Well, you were the one suggesting that one only needs a custom kernel
for special, unusual cases. I daresay that for most users of linux,
removing a HDD to boot another machine for testing or demonstration
purposes is rather a special case ...
Not really. Linux isn't Windows where you need to install onto each 
machine. Booting from a temporarily attached HD proves the concept then 
a quick dd gets you up and running. Some people do this from a USB or 
e-SATA drive, with full read-write capability that is often lacking from 
USB stick / live CDs.


Of course, the more normal problem is that you're trying to recover from 
a hardware failure or upgrade and your custom kernel no longer boots.





Having a portable kernel is a lot simpler than trying to rescue a
non-bootable machine from a live CD.

True - but then I can just grab a distro stock kernel before I swap
HDDs.

You still need to go through the aggravation of booting from a live CD 
then setting up a chroot environment just to get around the fact that 
you compiled a non-portable kernel. You wouldn't have to do any of that 
if you had just stuck with the stock kernel.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffcf141.4010...@rogers.com



Re: Why compiling.

2012-07-10 Thread Celejar
On Tue, 10 Jul 2012 19:20:05 -0400
Gary Dale  wrote:

> On 10/07/12 04:22 PM, Andrei POPESCU wrote:
> > On Ma, 10 iul 12, 15:08:52, Celejar wrote:
> >> And why do I care whether the kernel I compile locally for a
> >> specific machine is portable?
> > Imagine a situation where due to whatever reason the kernel image of
> > your router machine gets corrupted, then you can just copy the file from
> > another machine ;)
> >
> > Kind regards,
> > Andrei
> Or if you need to change your hardware. Or if you want to use your drive 
> to boot another machine - such as for testing or demonstration purposes.

Well, you were the one suggesting that one only needs a custom kernel
for special, unusual cases. I daresay that for most users of linux,
removing a HDD to boot another machine for testing or demonstration
purposes is rather a special case ...

> Having a portable kernel is a lot simpler than trying to rescue a 
> non-bootable machine from a live CD.

True - but then I can just grab a distro stock kernel before I swap
HDDs.

Celejar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710225230.301454b7.cele...@gmail.com



Re: Why compiling.

2012-07-10 Thread Celejar
On Tue, 10 Jul 2012 23:22:46 +0300
Andrei POPESCU  wrote:

> On Ma, 10 iul 12, 15:08:52, Celejar wrote:
> > 
> > And why do I care whether the kernel I compile locally for a
> > specific machine is portable?
> 
> Imagine a situation where due to whatever reason the kernel image of 
> your router machine gets corrupted, then you can just copy the file from 
> another machine ;)

Not quite sure I get you - if my hypothetical router (running x86 HW,
not like my actual routers that run OpenWRT on arm, and that don't
have lots of extra MB to spare) needs a new kernel, I can just send over
a distro stock one; why should my work machine kernel need to be
appropriate for my router?

Celejar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710225002.e75ed475.cele...@gmail.com



Re: Why compiling.

2012-07-10 Thread Celejar
On Wed, 11 Jul 2012 02:06:02 +0200
Ralf Mardorf  wrote:

> On Tue, 2012-07-10 at 08:54 -0700, Mike McClain wrote:
> > Howdy,
> > 
> > On Tue, Jul 10, 2012 at 05:03:12PM +0500, Muhammad Yousuf Khan wrote:
> > > 
> > > why people do compiling. i have heard many time that people are
> > > compiling kernel on debian.
> > > what is the reason for this? i am using debian for almost 1.5 year and
> > > have been using it on different platform in CLI mode. but no need of
> > > compiling in this time window.
> > 
> > The kernel provided when you install Linux, Debian included, has to work
> > on nearly every system out there so it includes drivers for nearly piece
> > of hardware that can be installed in a PC.
> > 
> > I always compile a kernel with only the hardware I have in my computer.
> > This gives me a smaller memory footprint and a smaller disk footprint.
> > 
> > It's all a matter of what you want.
> 
> Those smaller footprints usually aren't needed for modern computers,
> since we've usually got more than enough disc space and RAM. OTOH we
> perhaps change some hardware from time to time and then we need
> different modules. Perhaps a visitor has some hardware, that should work
> on our computers. It's a dangerous balancing act. I wouldn't remove too
> much.

Then I'll reboot into a distro stock kernel, or rebuild. Don't forget,
that on the modern hardware everyone is talking about, rebuilding a
kernel is a fairly swift process.

Celejar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710224748.9f15edd2.cele...@gmail.com



Re: Wheezy on UEFI

2012-07-10 Thread Jerome BENOIT

Hello:

There is actually a discussion about it on the debian-devel list.

Jerome

On 11/07/12 04:08, Darren Baginski wrote:

Hi list!

Today I have installed Wheezy on UEFI system, Asus UX31A to be more particular.
While installing I faced some issues.
Looks like installer can't recognize and do not ask whenever system is BIOS or 
UEFI and installs grub-pc,
while grub-uefi required in such case. Thus making system unbootable.
One need to 'fix' it from the bootable cd/usb.
After manually installing grub-uefi-amd64 and running
`grub-install --bootloader-id=debian`
you have to run
`modprobe efivars`
`efibootmgr -c -l '\efi\debian\grubx64.efi' -L Debian`
and then remove/edit boot entries with `efibootmgr -B -b N`

I found those steps not so easy to perform for many users and bielive such 
functionality should be intergrated
in to the Debian installer.
My question is there a work in progress on that? If so, how can I help ?





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffce93e.9020...@rezozer.net



Wheezy on UEFI

2012-07-10 Thread Darren Baginski
Hi list!

Today I have installed Wheezy on UEFI system, Asus UX31A to be more particular.
While installing I faced some issues.
Looks like installer can't recognize and do not ask whenever system is BIOS or UEFI and installs grub-pc,
while grub-uefi required in such case. Thus making system unbootable.
One need to 'fix' it from the bootable cd/usb.
After manually installing grub-uefi-amd64 and running 
`grub-install --bootloader-id=debian` 
you have to run
`modprobe efivars`
`efibootmgr -c -l '\efi\debian\grubx64.efi' -L Debian`
and then remove/edit boot entries with `efibootmgr -B -b N`

I found those steps not so easy to perform for many users and bielive such functionality should be intergrated
in to the Debian installer.
My question is there a work in progress on that? If so, how can I help ?  


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/864861341972...@web25e.yandex.ru



Re: apt-get update, apt-get upgrade, and now system fails to boot

2012-07-10 Thread Claudius Hubig
Hello David,

David Christensen  wrote:
> The warning "target sda2_crypt uses a key file, skipped" doesn't make 
> sense -- /dev/sda2 does not use a key file:
> 
> 2012-07-10 17:18:38 root@i72600s ~
> # cat /etc/crypttab
> sda2_crypt UUID=c020df80-6439-4e9e-a70e-0ff303d61180 none,discard luks
> s1f042hh_crypt UUID=d63e063d-c4f6-4a8f-8270-872a4cf51a3d 
> /root/.luks-keyfile luks
> 
> 
> Reboot -- same problem.

So the problem is apparently in the building of the initrd and its
detection of ‘necessary’ modules…could you try without the "discard"
option in crypttab? "none luks" works quite fine over here. If that
fixes the problem, we’d at least have a clue where to start.

Best regards,

Claudius
-- 
Classical music is the kind we keep thinking will turn into a tune.
-- Kin Hubbard, "Abe Martin's Sayings"
http://chubig.net  telnet nightfall.org 4242


signature.asc
Description: PGP signature


Re: Debian stable chromium does not open Facebook

2012-07-10 Thread John Hasler
Stephen Allen writes:
> That was what I thought the purpose of volatile was.

It isn't.  See  .  You want backports:

-- 
John Hasler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/878verp0ob@thumper.dhh.gt.org



Re: Debian stable chromium does not open Facebook

2012-07-10 Thread Stephen Allen
On Sun, Jul 08, 2012 at 12:33:13PM -0600, Bob Proulx wrote:
> John W. Foster wrote:
> > Not sure what the issue is, but, I recently installed debian stable
> > chromium and set it as the default browser.
> 
> This is one of areas where I completely disagree with the Debian
> methodology.  Debian shipped Chromium and Firefox/Iceweasel in their
> stable release.  That was bad.  It was bad because it allowed you to
> install it thinking it would be what you wanted.  But it isn't.  It
> can't be.  It's availability causes problems.

Yup agreed -- That was what I thought the purpose of volatile was. I'd
like Debian to keep up with the current release of Google-Chrome with
the equivalent build of Chromium (both stable & beta) but I'd settle on
just a current stable vs of Chromium tracking Google-Chrome Stable.




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120711003954.gb14...@thinkpad.gateway.2wire.net



Re: getting gnome 3

2012-07-10 Thread Stephen Allen
On Sat, Jul 07, 2012 at 07:39:37PM +0100, Alan Chandler wrote:

> >
> I know I go against most people when I say that now I've gotten used
> to Gnome3 I really like it and would not want to go back.  It may be
> that I run a two screen set-up, but for me the really nice features
> are

+100 Like you I disliked it at 1st but after a month I realized it's
faster than Gnome2 and less buggy. The extensions allow one to get most
of the so called lost functionality back.

No way I'd want to go back to Gnome2.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/20120711003110.ga14...@thinkpad.gateway.2wire.net



Re: apt-get update, apt-get upgrade, and now system fails to boot

2012-07-10 Thread David Christensen

On 07/09/2012 08:40 AM, Claudius Hubig wrote:

Thanks for the reply.  :-)


David Christensen  wrote:

  Loading Linux 3.2.0-0.bpo.2-amd64 ...
  Loading initial ramdisk ...
  Loading, please wait...
  Gave up waiting for root device.  Common problems:
   - Boot args (cat /proc/cmdline)
 - Check rootdelay= (did the system wait long enough?)
 - Check root= (did the system wait for the right device?)
   - Missing modules (cat /proc/modules; ls /dev)
  ALERT!  /dev/mapper/sda2_crypt does not exist.  Dropping to a shell!


a) Check whether your initrd is, in general, capable of mounting the
root device. Check whether the ‘cryptsetup’ command is available.


Yes.



If it is available, try the following:
# cryptsetups luksOpen /dev/sda2 sda2_crypt
It should ask for the encryption passphrase.


(initramfs) cryptsetups luksOpen /dev/sda2 sda2_crypt
/proc/misc: No entry found for device-mapper found
Is device-mapper driver missing from kernel?
Enter passphrase for /dev/sda2:



If that works, check if /dev/mapper/sda2_crypt exists


(initramfs) ls /dev/mapper
control   sda2_crypt



and if so, try to log out of the
busybox shell. It should then continue booting.


(initramfs) exit

The system boots.



b) If that doesn’t work - either because cryptsetup is not available
or because a module is missing from the initrd, boot into your old
kernel. Then try to rebuild the initrd (update-initramfs, IIRC) with
the verbose flag and check if it adds the cryptsetup binary and
associated kernel modules. If it did, try to reboot.

c) If the modules are not added to the initrd or if the cryptsetup
binary is not added to the initrd, check if you can add the
associated modules to /etc/initramfs-tools/modules. Additionally, you
might want to change MODULES=dep to MODULES=most in initramfs.conf
and test if that works. You might also want to check whether the
packages mentioned at the link provided by Camaleón (lvm2, cryptsetup)
are installed, but they _should_ be installed.


2012-07-10 17:13:27 root@i72600s ~
# l /boot
./  grub/
../ initrd.img-2.6.32-5-amd64
System.map-2.6.32-5-amd64   initrd.img-3.2.0-0.bpo.2-amd64
System.map-3.2.0-0.bpo.2-amd64  lost+found/
config-2.6.32-5-amd64   vmlinuz-2.6.32-5-amd64
config-3.2.0-0.bpo.2-amd64  vmlinuz-3.2.0-0.bpo.2-amd64

2012-07-10 17:13:28 root@i72600s ~
# update-initramfs -k all -u -v
Available versions:  3.2.0-0.bpo.2-amd64 2.6.32-5-amd64
Execute: /usr/sbin/update-initramfs -u -k "3.2.0-0.bpo.2-amd64" -b /boot -v
Keeping /boot/initrd.img-3.2.0-0.bpo.2-amd64.dpkg-bak
update-initramfs: Generating /boot/initrd.img-3.2.0-0.bpo.2-amd64
Adding module 
/lib/modules/3.2.0-0.bpo.2-amd64/kernel/drivers/usb/usb-common.ko

...
Adding binary /sbin/rmmod
Calling hook busybox
Adding binary /bin/busybox
Adding library /lib/libm.so.6
Calling hook cryptroot
cryptsetup: WARNING: target sda2_crypt uses a key file, skipped
Copying module directory kernel/arch/x86/crypto
Adding module /lib/modules/3.2.0-0.bpo.2-amd64/kernel/crypto/cryptd.ko
...
Calling hook dmsetup
Building cpio /boot/initrd.img-3.2.0-0.bpo.2-amd64.new initramfs
Execute: /usr/sbin/update-initramfs -u -k "2.6.32-5-amd64" -b /boot -v
Keeping /boot/initrd.img-2.6.32-5-amd64.dpkg-bak
update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64
Adding module /lib/modules/2.6.32-5-amd64/kernel/fs/nls/nls_base.ko
...
Calling hook cryptroot
cryptsetup: WARNING: target sda2_crypt uses a key file, skipped
Copying module directory kernel/arch/x86/crypto
Adding module /lib/modules/2.6.32-5-amd64/kernel/crypto/aes_generic.ko
Adding module 
/lib/modules/2.6.32-5-amd64/kernel/arch/x86/crypto/aes-x86_64.ko

...
Calling hook dmsetup
Building cpio /boot/initrd.img-2.6.32-5-amd64.new initramfs



The warning "target sda2_crypt uses a key file, skipped" doesn't make 
sense -- /dev/sda2 does not use a key file:


2012-07-10 17:18:38 root@i72600s ~
# cat /etc/crypttab
sda2_crypt UUID=c020df80-6439-4e9e-a70e-0ff303d61180 none,discard luks
s1f042hh_crypt UUID=d63e063d-c4f6-4a8f-8270-872a4cf51a3d 
/root/.luks-keyfile luks



Reboot -- same problem.


Any other suggestions?


TIA,

David


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffcc7b1.1070...@holgerdanske.com



Re: Why compiling.

2012-07-10 Thread Ralf Mardorf
On Tue, 2012-07-10 at 08:54 -0700, Mike McClain wrote:
> Howdy,
> 
> On Tue, Jul 10, 2012 at 05:03:12PM +0500, Muhammad Yousuf Khan wrote:
> > 
> > why people do compiling. i have heard many time that people are
> > compiling kernel on debian.
> > what is the reason for this? i am using debian for almost 1.5 year and
> > have been using it on different platform in CLI mode. but no need of
> > compiling in this time window.
> 
> The kernel provided when you install Linux, Debian included, has to work
> on nearly every system out there so it includes drivers for nearly piece
> of hardware that can be installed in a PC.
> 
> I always compile a kernel with only the hardware I have in my computer.
> This gives me a smaller memory footprint and a smaller disk footprint.
> 
> It's all a matter of what you want.

Those smaller footprints usually aren't needed for modern computers,
since we've usually got more than enough disc space and RAM. OTOH we
perhaps change some hardware from time to time and then we need
different modules. Perhaps a visitor has some hardware, that should work
on our computers. It's a dangerous balancing act. I wouldn't remove too
much.

2 Cents,
Ralf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1341965162.2288.107.camel@precise



Re: full automated installation preseed without any network connection?

2012-07-10 Thread Istimsak
Debian can be installed with internet access. Never configured automation. That 
is something to experiment with.

anots...@fastmail.fm wrote:

>Dear list,
>
>can Debian be fully automated installed when there is no network
>connection available?
>
>Did you actually test it? If so, can share your preseed.cfg please?
>
>-- 
>http://www.fastmail.fm - IMAP accessible web-mail
>
>
>-- 
>To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
>with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>Archive: 
>http://lists.debian.org/1341962994.27535.140661100416389.480f1...@webmail.messagingengine.com
>


Re: Why compiling.

2012-07-10 Thread Mike McClain
Howdy,

On Tue, Jul 10, 2012 at 05:03:12PM +0500, Muhammad Yousuf Khan wrote:
> 
> why people do compiling. i have heard many time that people are
> compiling kernel on debian.
> what is the reason for this? i am using debian for almost 1.5 year and
> have been using it on different platform in CLI mode. but no need of
> compiling in this time window.

The kernel provided when you install Linux, Debian included, has to work
on nearly every system out there so it includes drivers for nearly piece
of hardware that can be installed in a PC.

I always compile a kernel with only the hardware I have in my computer.
This gives me a smaller memory footprint and a smaller disk footprint.

It's all a matter of what you want.
Mike
-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710155429.GA20755@playground



full automated installation preseed without any network connection?

2012-07-10 Thread anotst01
Dear list,

can Debian be fully automated installed when there is no network
connection available?

Did you actually test it? If so, can share your preseed.cfg please?

-- 
http://www.fastmail.fm - IMAP accessible web-mail


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1341962994.27535.140661100416389.480f1...@webmail.messagingengine.com



Re: firewall

2012-07-10 Thread Chris Bannister
On Wed, Jul 04, 2012 at 11:19:06AM +0800, lina wrote:
> Hi,
> 
> I don't know which firewall (http://wiki.debian.org/Firewalls) I should 
> choose.
> 
> Thanks ahead for recommendation, and it will be very nice if you tell
> me why you recommend this one.

Have a read of:
http://www.debian-administration.org/articles/552

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710231854.GE3873@tal



Re: Why compiling.

2012-07-10 Thread Gary Dale

On 10/07/12 04:22 PM, Andrei POPESCU wrote:

On Ma, 10 iul 12, 15:08:52, Celejar wrote:

And why do I care whether the kernel I compile locally for a
specific machine is portable?

Imagine a situation where due to whatever reason the kernel image of
your router machine gets corrupted, then you can just copy the file from
another machine ;)

Kind regards,
Andrei
Or if you need to change your hardware. Or if you want to use your drive 
to boot another machine - such as for testing or demonstration purposes.


Having a portable kernel is a lot simpler than trying to rescue a 
non-bootable machine from a live CD.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffcb8a5.2030...@rogers.com



Re: Installing a new HDD and mounting others

2012-07-10 Thread Gary Dale

On 09/07/12 05:12 PM, Mark Panen wrote:

On 09/07/2012 20:02, Gary Dale wrote:

On 09/07/12 01:47 PM, Mark Panen wrote:

Hi,

I have followed this except to replace ext3 with ext4:

http://linux.justinhartman.com/Installing_a_second_hard_drive

I installed a new HDD and installed Squeeze on it.

When i open My Computer in Gnome i can see and mount the other two
HDD's.

But i cannot get the /etc/fstab entry right, on boot i get fsck
errors on the other two HDD's.

Mount them with:

mount -t ext4 /dev/hdc1 /new-disk as an example works once the system
is up.

but the /etc/fstab example does not when i reboot.

Is it perhaps that i have the boot flag entry on the other two HDD's?


Can you post the lines from your /etc/fstab referring to the two disks?




#/dev/sda   /mnt/store9ext4   
defaults,errors=remount-ro0   0
#/dev/sdb   /mnt/store3ext4noatime,defaults
0   0



1) if these your lines, they are commented out so they will be ignored.
2) if the actual lines don't include the "#", you need the partition 
number and not just the drive device (i.e. /dev/sda should probably be 
something like /dev/sda1)
3) the /dev/sda line includes "errors=remount-ro", which tells the 
system to remount it read-only if errors are detected, but the last "0" 
tells the system to not check the partition. The final "0" should be "2" 
for any non-root partition (you want it checked after the "/" partition, 
otherwise it can't be mounted).

4) do the directories /mnt/store3 and /mnt/store9 exist?
5) are the device letters correct? In your original e-mail you referred 
to /dev/hdc1, not /dev/sda and /dev/sdb. The device designation doesn't 
change between the command line and /etc/fstab. They should be the same 
in both cases.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffca044.1040...@rogers.com



Re: Unable to install or uninstall hptraidconf RAID command-line mgmt util for RocketRaid 622

2012-07-10 Thread Christopher Perry
>>I am trying to install the command-line RAID management utility 
available at HighPoint-Tech's website: 
http://highpoint-tech.com/BIOS_Driver/page/rr622_U.htm


I know this is an old thread but I have been banging my head against the 
wall for the last half hour on this and thought I would share what I 
found.  The problem with Highpoint's scripts are that they edited them 
with a DOS editor, the extra linefeeds cause the shell to choke on the 
post/pre scripts.  Clearly, they never actually installed their own 
software from their packages.


-- Chris Perry


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffc93f2.8070...@gis.msu.edu



Re: Why compiling.

2012-07-10 Thread Ralf Mardorf
On Tue, 2012-07-10 at 22:43 +0200, Ralf Mardorf wrote:
> On Tue, 2012-07-10 at 23:28 +0300, Andrei POPESCU wrote:
> > On Ma, 10 iul 12, 21:33:51, Ralf Mardorf wrote:
> > > 
> > > I compile software myself for at least three reasons.
> > > 1. In the past I often was a tester for e.g. Qtractor and I plan to do
> > > it in the future again. It also is needed, if you wish to do
> > > translations. Until now I never finished a translation.
> > 
> > Do you mean for Qtractor or in general? As far as I know you don't need 
> > to compile the software if it uses gettext, you just copy the .mo files 
> > where needed.
> 
> Qt Linguist can't show text for code that isn't already programmed. So
> when doing a translation you need to compile, each time new text was
> added by the coder. IIRC for Qt Linguist we need to generate some
> file(s) during compiling, I guess it's not possible to get the file(s)
> without compiling.
> I suspect compiling is needed for Qt based software.

PS:
I never finished a translation, hopefully I'll finish a translation this
or next year :S.

##
You need to tell that there is a new translation:

$
cat /mnt/archlinux/usr/src/qtractor/qtractor-0.5.3.15-de_translation-1.patch
Index: Makefile.in
===
--- Makefile.in (revision 3006)
+++ Makefile.in (working copy)
@@ -263,10 +263,12 @@
src/qtractor.qrc
 
 translations_sources = \
-   src/translations/qtractor_cs.ts
+   src/translations/qtractor_cs.ts \
+   src/translations/qtractor_de.ts
 
 translations_targets = \
-   src/translations/qtractor_cs.qm
+   src/translations/qtractor_cs.qm \
+   src/translations/qtractor_de.qm
 
 
 export datarootdir = @datarootdir@
Index: src/src.pro
===
--- src/src.pro (revision 3006)
+++ src/src.pro (working copy)
@@ -272,7 +272,8 @@
qtractor.qrc
 
 TRANSLATIONS += \
-   translations/qtractor_cs.ts
+   translations/qtractor_cs.ts \
+   translations/qtractor_de.ts
 
 unix {
 
Index: TRANSLATORS
===
--- TRANSLATORS (revision 3006)
+++ TRANSLATORS (working copy)
@@ -1,2 +1,5 @@
 Czech (cs)
Pavel Fric 
+
+German (de)
+   Ralf Mardorf 






##
The files are *.ts files

$ ls /mnt/archlinux/usr/src/qtractor_*
/mnt/archlinux/usr/src/qtractor_de.ts.bak-1  
/mnt/archlinux/usr/src/qtractor_de.ts.bak-empty
/mnt/archlinux/usr/src/qtractor_de.ts.bak-2


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1341953535.2288.55.camel@precise



Re: Why compiling.

2012-07-10 Thread Ralf Mardorf
On Tue, 2012-07-10 at 23:28 +0300, Andrei POPESCU wrote:
> On Ma, 10 iul 12, 21:33:51, Ralf Mardorf wrote:
> > 
> > I compile software myself for at least three reasons.
> > 1. In the past I often was a tester for e.g. Qtractor and I plan to do
> > it in the future again. It also is needed, if you wish to do
> > translations. Until now I never finished a translation.
> 
> Do you mean for Qtractor or in general? As far as I know you don't need 
> to compile the software if it uses gettext, you just copy the .mo files 
> where needed.

Qt Linguist can't show text for code that isn't already programmed. So
when doing a translation you need to compile, each time new text was
added by the coder. IIRC for Qt Linguist we need to generate some
file(s) during compiling, I guess it's not possible to get the file(s)
without compiling.
I suspect compiling is needed for Qt based software.

- Ralf


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1341953018.2288.51.camel@precise



Re: No Sound Card found on Testing Install

2012-07-10 Thread Andrei POPESCU
On Ma, 10 iul 12, 13:09:19, ss11223 wrote:
> 
> > > speaker-test -c2 only hisses for the left speaker.
> > 
> > Only left, are you sure? It should alternate between left and right, so 
> > you might want to check your cables and speakers (and any volume/balance 
> > settings they might have).
> > 
> > Kind regards,
> > Andrei
> > -- 
> 
> Remember, it is playing out of the chassis (motherboard) speaker, not the
> audio connectors!

My bad, I read "from" instead of "for" in your previous message. 
Anything interesting in your BIOS settings?

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Why compiling.

2012-07-10 Thread Andrei POPESCU
On Ma, 10 iul 12, 21:33:51, Ralf Mardorf wrote:
> 
> I compile software myself for at least three reasons.
> 1. In the past I often was a tester for e.g. Qtractor and I plan to do
> it in the future again. It also is needed, if you wish to do
> translations. Until now I never finished a translation.

Do you mean for Qtractor or in general? As far as I know you don't need 
to compile the software if it uses gettext, you just copy the .mo files 
where needed.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Why compiling.

2012-07-10 Thread Andrei POPESCU
On Ma, 10 iul 12, 15:08:52, Celejar wrote:
> 
> And why do I care whether the kernel I compile locally for a
> specific machine is portable?

Imagine a situation where due to whatever reason the kernel image of 
your router machine gets corrupted, then you can just copy the file from 
another machine ;)

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: No Sound Card found on Testing Install

2012-07-10 Thread ss11223

> > speaker-test -c2 only hisses for the left speaker.
> 
> Only left, are you sure? It should alternate between left and right, so 
> you might want to check your cables and speakers (and any volume/balance 
> settings they might have).
> 
> Kind regards,
> Andrei
> -- 

Remember, it is playing out of the chassis (motherboard) speaker, not the
audio connectors!

--Stuart


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/bb143c45-8a20-4207-8d80-f9a259fc4...@googlegroups.com



Re: Installing a new HDD and mounting others

2012-07-10 Thread Andrei POPESCU
On Lu, 09 iul 12, 23:12:03, Mark Panen wrote:
> On 09/07/2012 20:02, Gary Dale wrote:
> >>
> >Can you post the lines from your /etc/fstab referring to the two disks?
> >
> >
> 
> #/dev/sda   /mnt/store9ext4
> defaults,errors=remount-ro0   0
> #/dev/sdb   /mnt/store3ext4noatime,defaults0   0

Your entries refer to drives, not partitions (unless you really formated 
the entire drive, without partitioning). I'll subscribe to Camaleón's 
suggestion to use UUIDs or LABELs instead.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Alternative(s) to VirtualBox

2012-07-10 Thread Andrei POPESCU
On Lu, 09 iul 12, 11:22:50, Arun Khan wrote:
> On Fri, Jul 6, 2012 at 5:48 AM, Carl Fink  wrote:
> 
> > By the way, it is not necessary to copy me on responses. I read the mailing
> > list and have for (argh!) two decades.
> 
> I am guessing this is default setting in this mailing list.
> 
> The "original sender" is auto filled when I click on the "Reply" link.
>  Whereas in Reply-All the To field is the "original sender" and the Cc
> field is this mailing list.  I am using chrome web browser to read
> mail.

You probably mean the list doesn't do reply-to-munging[1].

[1] http://www.unicom.com/pw/reply-to-harmful.html

In case it crossed your mind to question this, please, please do read 
all the many threads in the archive before that.

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Current SSD setup recommendations for laptop with Debian

2012-07-10 Thread Andrei POPESCU
On Lu, 09 iul 12, 22:30:03, Henrique de Moraes Holschuh wrote:
> 
> Well, ext3 is already entering the bitrot phase of the bathtub curve.
> OTOH, since it doesn't do delayed allocations like xfs and ext4, it is
> supposed to be safer against sudden power loss.

Which is quite unlikely on a laptop ;)

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: No Sound Card found on Testing Install

2012-07-10 Thread Andrei POPESCU
On Du, 08 iul 12, 12:42:11, ss11223 wrote:

> Not sure what this is supposed to do. amixer gives:
> 
> ajms@escort:~$ amixer
> Simple mixer control 'Master',0
>   Capabilities: pvolume pswitch pswitch-joined penum
>   Playback channels: Front Left - Front Right
>   Limits: Playback 0 - 65536
>   Mono:
>   Front Left: Playback 65536 [100%] [on]
>   Front Right: Playback 65536 [100%] [on]
> Simple mixer control 'Capture',0
>   Capabilities: cvolume cswitch cswitch-joined penum
>   Capture channels: Front Left - Front Right
>   Limits: Capture 0 - 65536
>   Front Left: Capture 29274 [45%] [off]
>   Front Right: Capture 29274 [45%] [off]

Looks good.

> speaker-test -c2 only hisses for the left speaker.

Only left, are you sure? It should alternate between left and right, so 
you might want to check your cables and speakers (and any volume/balance 
settings they might have).

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: [OT] Long threads, Was: Re: Filezilla a security risk

2012-07-10 Thread Andrei POPESCU
On Du, 08 iul 12, 19:31:48, rjc wrote:
> 
> I had been on this list [0] on and off for quite a while now and have
> noticed that certain individuals find it hard to simply "be wrong" [1]
> and will argue their case just to have "the final word".
> 
> [0] in a minute I will be corrected that it is a Usenet news group ;^)

Nope, it really is a mailing list that can be read via mail-to-news 
gateways (like gmane).

You didn't expect that, did you? :p

Kind regards,
Andrei
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


Re: Why compiling.

2012-07-10 Thread Ralf Mardorf
On Tue, 2012-07-10 at 21:33 +0200, Ralf Mardorf wrote:
> On Tue, 2012-07-10 at 17:03 +0500, Muhammad Yousuf Khan wrote:
> > [snip] i have heard many time that people are compiling kernel on debian.
> 
> Some kernels with special patches are not always available for Debian.
> Sometimes e.g. a kernel-rt is available, but sometimes it isn't. If e.g.
> a kernel-rt should be available by a repository, I still might optimize
> to e.g. the CPU I'm using.
> 
> > [snip]
> > secondly i have read  that people are compiling Squid SAMBA and all
> > the other packages but why. i am using KVM, squid samba etc  for
> > almost more then 1 year and all the servers are providing me what ever
> > i asled all the services are very comprehensive and could be fit in
> > any environment then why compiling?
> 
> I compile software myself for at least three reasons.
> 1. In the past I often was a tester for e.g. Qtractor and I plan to do
> it in the future again. It also is needed, if you wish to do
> translations. Until now I never finished a translation.
> 2. Some software is missing functionality that works good enough for my
> needs and sometimes software from git does provide the quality I need.
> 3. No distro can fit to everybody needs, you might need to get rid of
> dependencies that make Linux unable to be used with e.g. professional
> audio software.
   ^ hardware ;)
> 
> Some people perhaps wish to learn/play. Since self-responsibility is
> wanted, this could be a good way to learn more about Linux, it also
> could break an install, but even this could help to learn more about
> Linux.
> Others maybe are hunting for latest versions only, this IMO is idiotic.
> Sometimes I would be able to compile very old versions, because I prefer
> those versions, this unfortunately isn't that easy to do.
> I'm not programming for Linux. I did program older computers, however,
> many people help programming, other people take care that FLOSS isn't
> malicious, they might need to compile with special flags set, dunno, but
> there are tons of reasons to compile FLOSS software ourself.
> 
> - Ralf
> 




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1341948950.2288.41.camel@precise



Re: Why compiling.

2012-07-10 Thread Ralf Mardorf
On Tue, 2012-07-10 at 17:03 +0500, Muhammad Yousuf Khan wrote:
> [snip] i have heard many time that people are compiling kernel on debian.

Some kernels with special patches are not always available for Debian.
Sometimes e.g. a kernel-rt is available, but sometimes it isn't. If e.g.
a kernel-rt should be available by a repository, I still might optimize
to e.g. the CPU I'm using.

> [snip]
> secondly i have read  that people are compiling Squid SAMBA and all
> the other packages but why. i am using KVM, squid samba etc  for
> almost more then 1 year and all the servers are providing me what ever
> i asled all the services are very comprehensive and could be fit in
> any environment then why compiling?

I compile software myself for at least three reasons.
1. In the past I often was a tester for e.g. Qtractor and I plan to do
it in the future again. It also is needed, if you wish to do
translations. Until now I never finished a translation.
2. Some software is missing functionality that works good enough for my
needs and sometimes software from git does provide the quality I need.
3. No distro can fit to everybody needs, you might need to get rid of
dependencies that make Linux unable to be used with e.g. professional
audio software.

Some people perhaps wish to learn/play. Since self-responsibility is
wanted, this could be a good way to learn more about Linux, it also
could break an install, but even this could help to learn more about
Linux.
Others maybe are hunting for latest versions only, this IMO is idiotic.
Sometimes I would be able to compile very old versions, because I prefer
those versions, this unfortunately isn't that easy to do.
I'm not programming for Linux. I did program older computers, however,
many people help programming, other people take care that FLOSS isn't
malicious, they might need to compile with special flags set, dunno, but
there are tons of reasons to compile FLOSS software ourself.

- Ralf



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1341948831.2288.40.camel@precise



Re: Why compiling.

2012-07-10 Thread Celejar
On Tue, 10 Jul 2012 09:55:23 -0400
Gary Dale  wrote:

> On 10/07/12 08:03 AM, Muhammad Yousuf Khan wrote:
> > This is a very basic question but confusing me for very long. so i
> > need your help.
> >
> > why people do compiling. i have heard many time that people are
> > compiling kernel on debian.
> > what is the reason for this? i am using debian for almost 1.5 year and
> > have been using it on different platform in CLI mode. but no need of
> > compiling in this time window.
> >
> > secondly i have read  that people are compiling Squid SAMBA and all
> > the other packages but why. i am using KVM, squid samba etc  for
> > almost more then 1 year and all the servers are providing me what ever
> > i asled all the services are very comprehensive and could be fit in
> > any environment then why compiling?
> >
> >
> > Thanks,
> There is little need to compile code. In fact, doing so will probably 
> have a negative impact on your system's stability, especially if you use 
> other than the official sources.

Here's my case: I run Stable + Backports, and I want aircrack. It isn't
in Stable, and trying to install it from Sid will force me to upgrade
all kinds of core libraries. [I haven't actually tried compiling it
yet, and for all I know, it may have real dependencies on the later
libraries.]

> People who prepare the individual packages or distributions are usually 
> the only ones who need to compile code. However, some brave/foolhardy 
> souls must have the latest code from the developer's source and compile 
> their own. This is invariably a bad idea.
> 
> When you leave the safety of your distribution's code repositories, you 
> become responsible for managing the various inter-dependencies between 
> programs and libraries. This is not a trivial task.
> 
> If you need later code than is available from the official repositories, 
> look for backports or, in the case of Debian, move to testing. In the 
> testing repositories you get up to date code that is somewhat stable for 
> non-critical work.

aircrack isn't in testing.

> Compiling from the official sources is a slightly different issue. For 
> example, some people will compile a custom kernel from the official 
> sources to do one of several things:
> - create a kernel that doesn't need an initramfs - everything is built in
> - create a smaller kernel that contains only the options they need - 
> rendering it non-portable

And to get rid of all sorts of code that is irrelevant to my machine,
which doesn't even have the hardware for most of it. There are surely
also security benefits from not having all kinds of superfluous kernel
mode code hanging around.

And why do I care whether the kernel I compile locally for a
specific machine is portable?

...

> However, these situations are rare. For the vast majority of
people, 
> compiling is something you shouldn't worry about. The package 
> maintainers do a great job of getting everything to work together 
> properly. Don't undermine their work.

I certainly agree that compiling is rarely necessary, and ofter /
usually a bad idea.

Celejar


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120710150852.7fb671ec.cele...@gmail.com



Re: help with xserver-xorg-video-ast

2012-07-10 Thread Shane Johnson
 Keith,
That was my plan but I can't find where the autoconf file is trying to
locate the macros at?  I located /usr/share/aclocal/xorg-macros.m4 but I
can't find where the link is supposed to be.  Any ideas?

Thanks
Shane

On Tue, Jul 10, 2012 at 1:37 AM, Keith McKenzie  wrote:

>
>
> On 9 July 2012 23:24, Shane Johnson  wrote:
>
>> hello everyone,
>> I am hoping someone can help me.  I am running Wheezy and got a driver
>> from Aspeed for their on-board video driver.  Loaded it and it worked until
>> I installed xen-qemu-dm-4.0 and now when I try to re-install is says
>> glibc-2.13 is required when 2.14 is installed.  I contacted Aspeeds tech
>> support and they suggested I compile from source.  I got the source package
>> and run autoconf and get a error that xorg-macros needs to be installed.  I
>> located it in xutils-dev and installed that package but it is still giving
>> me a error about xorg-macros.  I have run autoconf -v to try and find out
>> if it is expecting the libraries somewhere and I just need to link to them
>> but it doesn't give me any idea on where.
>> Question 1 - is there a easier way to do this?
>> Question 2 - anyone have any idea on what I need to do to compile this
>> driver?
>>
>>
> Re Question 1 - in the past I have used a soft link in such situations;
> may work for you.
>
>
> --
> Sent from FOSS (Free Open Source Software)
> Debian GNU/Linux
>



-- 
Shane D. Johnson
IT Administrator
Rasmussen Equipment


Re: problem with 2 monitors and full screen games in wine

2012-07-10 Thread Roman V.Leon.

On 28.06.2012 21:47, Markus wrote:

Am 25.06.2012 00:28, schrieb Markus:

Hi,

i am running Wheezy with 2 monitors connected to a Nvidia Geforce
9800GTX.
Twin-View is configured via nvidia-settings. And i am quit happy with
that setup.
But...If i run a game within wine in full screen the right monitor turns
off and the game
is displayed full screen on my left monitor. That's what i want...so far
everything works
as expected.

But after closing the game the right monitor turns on again and all
program windows (iceweasel, pidgin...), previously placed on that
monitor have been
pushed on the left monitor. That is, it seems as if twin-view is being
turned off and
on during starting and exiting a full screen game with wine.

My xorg.conf has the following meta-modes set:

Section "Device"
Identifier "9800GTX"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BusID "PCI:2:0:0"
Option "TwinView"
Option "MetaModes" "1280x1024,1280x1024; 1280x1024; 1024x768,1024x768;
1024x768; 800x600,800x600; 800x600; 640x480,640x480; 640x480"
Option "TwinViewOrientation" "RightOf"
Option "SecondMonitorHorizSync" "UseEdidFreqs"
Option "SecondMonitorVertRefresh" "UseEdidFreqs"
EndSection

And last i want to point out that i didn't experience the former
described problem with native
linux games like Xonotic.

So I hope you guys have some ideas or hints on what is going on there
and what I can do to get rid of that little annoying issue.

Thanks a lot
Markus



Nobody an idea that could help me?



Hello Markus,
i have two screens and at the beginning i was trying to use native "amd 
control center" dual head setup(i have an ATI card), and there were some 
problems which are similar to yours. But after i read an article about 
"xrandr" util, i switched to it, because it's easy to setup and not so 
buggy as fglrx. You can try to play with xrandr also, but do  not forget 
to save your pretty xorg file.


--
Cheers,
Roman V.Leon.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffc768c.3080...@meta.ua



Re: VNC not connecting over SSH tunnel

2012-07-10 Thread Chris Davies
Gary Dale  wrote:
> Thanks again Chris. If I understand your model correctly, the 
> "remote_router" is the ssh server and not the actual router that merely 
> forwards port 22 to the ssh server.

Yes. It's only now clear to me that the router isn't the ssh server. But
for the purposes of the description consider "remote_router" to be your
internal ssh server.


> remote_router is 192.168.1.18
> remote_workstation is 192.168.1.20

> The office router  (192.168.1.1) confirms the assignments (I connect to 
> another remote workstation then log into the office router) as did 
> opening a command prompt and running ipconfig on the remote_workstation 
> the last time I was there.

In that case I'm out of ideas without running something like wireshark
on your "ssh server" to try and see what's going across the wire. Sorry.

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/o84uc9xsr6@news.roaima.co.uk



Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Zdenek Herman

On 10/07/12 17:29, Camaleón wrote:

On Tue, 10 Jul 2012 18:09:42 +0200, Zdenek Herman wrote:


On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply
at the bottom)

Dne 9.7.2012 16:52, Camaleón napsal(a):


(...)


I don't know why does not work for you. Take a look into this article
that shows a few samples for using mysql with tcp wrappers:

http://www.unixmen.com/securing-services-with-tcp-wrappers/

And also read the manual ("man hosts_options"), maybe we are omitting
something obvious...

Greetings,



I found part of problem. If I use localhost can connect, if 127.0.0.1
all is ok.
If I connect from remote first is checked client in mysql grant and
after in tcp wrappers.
Conslusion for me is that mysql doesn't support tcp wrappers correctly
(first check by wrapper then authentization by service).


(...)


root@mon:~# mysql -h localhost -p


(...)

Ah, how curious... It seems to be documented here:

4.2.2. Connecting to the MySQL Server
http://dev.mysql.com/doc/refman/5.6/en/connecting.html

"(...) On Unix, MySQL programs treat the host name localhost specially,
in a way that is likely different from what you expect compared to other
network-based programs. For connections to localhost, MySQL programs
attempt to connect to the local server by using a Unix socket file. This
occurs even if a --port or -P option is given to specify a port number.
To ensure that the client makes a TCP/IP connection to the local server,
use --host or -h to specify a host name value of 127.0.0.1, or the IP
address or name of the local server. You can also specify the connection
protocol explicitly, even for localhost, by using the --protocol=TCP
option. For example:

shell>  mysql --host=127.0.0.1
shell>  mysql --protocol=TCP

(...)"



Camaleón is correct.

When you are logged into mysql, you can enter the "status" command and 
it will show how you are connected.


Connect via "-h localhost":

mysql> status;
--
mysql  Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (i686) using 
readline 6.2


...
Connection:Localhost via UNIX socket
...
UNIX socket:/var/run/mysqld/mysqld.sock
...
--

Connect via "-h 127.0.0.1":

mysql> status;
--
mysql  Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (i686) using 
readline 6.2


...
Connection:127.0.0.1 via TCP/IP
...
TCP port:3306
...
--

Hope that clears it up a bit.

It might be possible to disable the socket connection in the MySQL 
config, but I haven't looked into that.




Ok  - many thanks guys for reply
This explain first part of problem - my fault sorry.
I tried set in my hosts.allow
mysqld: 127.0.0.1 \
: spawn ( echo $(date '+%%d.%%m.%%y %%T') access ALLOWED from %u@%h 
[%a] >> /var/log/tcp_wrapper/%d.log ) &
This allow connect from localhost - its ok. But why when connect from 
remote machine or 127.0.0.1 nothing in log ?

With sshd work same command great.

Thanks Zdenek




--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ffc71df.2010...@ille.cz



Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Dom

On 10/07/12 17:29, Camaleón wrote:

On Tue, 10 Jul 2012 18:09:42 +0200, Zdenek Herman wrote:


On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply
at the bottom)

Dne 9.7.2012 16:52, Camaleón napsal(a):


(...)


I don't know why does not work for you. Take a look into this article
that shows a few samples for using mysql with tcp wrappers:

http://www.unixmen.com/securing-services-with-tcp-wrappers/

And also read the manual ("man hosts_options"), maybe we are omitting
something obvious...

Greetings,



I found part of problem. If I use localhost can connect, if 127.0.0.1
all is ok.
If I connect from remote first is checked client in mysql grant and
after in tcp wrappers.
Conslusion for me is that mysql doesn't support tcp wrappers correctly
(first check by wrapper then authentization by service).


(...)


root@mon:~# mysql -h localhost -p


(...)

Ah, how curious... It seems to be documented here:

4.2.2. Connecting to the MySQL Server
http://dev.mysql.com/doc/refman/5.6/en/connecting.html

"(...) On Unix, MySQL programs treat the host name localhost specially,
in a way that is likely different from what you expect compared to other
network-based programs. For connections to localhost, MySQL programs
attempt to connect to the local server by using a Unix socket file. This
occurs even if a --port or -P option is given to specify a port number.
To ensure that the client makes a TCP/IP connection to the local server,
use --host or -h to specify a host name value of 127.0.0.1, or the IP
address or name of the local server. You can also specify the connection
protocol explicitly, even for localhost, by using the --protocol=TCP
option. For example:

shell>  mysql --host=127.0.0.1
shell>  mysql --protocol=TCP

(...)"



Camaleón is correct.

When you are logged into mysql, you can enter the "status" command and 
it will show how you are connected.


Connect via "-h localhost":

mysql> status;
--
mysql  Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (i686) using 
readline 6.2


...
Connection: Localhost via UNIX socket
...
UNIX socket:/var/run/mysqld/mysqld.sock
...
--

Connect via "-h 127.0.0.1":

mysql> status;
--
mysql  Ver 14.14 Distrib 5.5.24, for debian-linux-gnu (i686) using 
readline 6.2


...
Connection: 127.0.0.1 via TCP/IP
...
TCP port:   3306
...
--

Hope that clears it up a bit.

It might be possible to disable the socket connection in the MySQL 
config, but I haven't looked into that.


--
Dom


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffc6945.1060...@rpdom.net



Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Camaleón
On Tue, 10 Jul 2012 18:09:42 +0200, Zdenek Herman wrote:

> On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply
> at the bottom)
>>> Dne 9.7.2012 16:52, Camaleón napsal(a):

(...)

>> I don't know why does not work for you. Take a look into this article
>> that shows a few samples for using mysql with tcp wrappers:
>>
>> http://www.unixmen.com/securing-services-with-tcp-wrappers/
>>
>> And also read the manual ("man hosts_options"), maybe we are omitting
>> something obvious...
>>
>> Greetings,
>>
>>
> I found part of problem. If I use localhost can connect, if 127.0.0.1
> all is ok.
> If I connect from remote first is checked client in mysql grant and
> after in tcp wrappers.
> Conslusion for me is that mysql doesn't support tcp wrappers correctly
> (first check by wrapper then authentization by service).

(...)

> root@mon:~# mysql -h localhost -p

(...)

Ah, how curious... It seems to be documented here:

4.2.2. Connecting to the MySQL Server
http://dev.mysql.com/doc/refman/5.6/en/connecting.html

"(...) On Unix, MySQL programs treat the host name localhost specially, 
in a way that is likely different from what you expect compared to other 
network-based programs. For connections to localhost, MySQL programs 
attempt to connect to the local server by using a Unix socket file. This 
occurs even if a --port or -P option is given to specify a port number. 
To ensure that the client makes a TCP/IP connection to the local server, 
use --host or -h to specify a host name value of 127.0.0.1, or the IP 
address or name of the local server. You can also specify the connection 
protocol explicitly, even for localhost, by using the --protocol=TCP 
option. For example: 

shell> mysql --host=127.0.0.1
shell> mysql --protocol=TCP

(...)"

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jthl8c$cnl$9...@dough.gmane.org



Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Zdenek Herman
On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote: (please, reply 
at the bottom)

Dne 9.7.2012 16:52, Camaleón napsal(a):

On Sun, 08 Jul 2012 22:26:11 +0200, Zdenek Herman wrote:

(...)


When I set hosts.deny ALL: ALL and hosts.allow is empty. I can allow
connect to MySQL from anywhere - settings in hosts.allow and
hosts.deny are ignored.

(...)

I wonder if you aren't just missing the daemon to filter (mysqld) :-?

cat /etc/hosts.deny

My hosts.deny

(...)


ALL: ALL : spawn ( echo $(date '+%%d.%%m.%%y %%T') access DENIED from %u@%h [%a] >> 
/var/log/tcp_wrapper/%d.log ) &

(...)


My hosts.allow

(...)


sshd: 192.168.1.1 \
  : spawn ( echo $(date '+%%d.%%m.%%y %%T') access ALLOWED from %u@%h [%a] >> 
/var/log/tcp_wrapper/%d.log ) &

And you said this was working for the sshd service, right?


I tested with mysqld: ALL in hosts.deny too.

Well, that should prevent connections coming from the same host (localhost)
unless you explicitely allow it from the hosts.allow, that has preference.

I don't know why does not work for you. Take a look into this article that
shows a few samples for using mysql with tcp wrappers:

http://www.unixmen.com/securing-services-with-tcp-wrappers/

And also read the manual ("man hosts_options"), maybe we are omitting
something obvious...

Greetings,



I found part of problem. If I use localhost can connect, if 127.0.0.1 
all is ok.
If I connect from remote first is checked client in mysql grant and 
after in tcp wrappers.
Conslusion for me is that mysql doesn't support tcp wrappers correctly 
(first check by wrapper then authentization by service).


-
root@mon:~# mysql -h localhost -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 699
Server version: 5.1.63-0+squeeze1 (Debian)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.


mysql> quit
Bye
-
root@mon:~# mysql -h 127.0.0.1 -p
Enter password:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading initial 
communication packet', system error: 0

root@mon:~#
-

Thanks for help

Zdenek


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4ffc53c6.5070...@ille.cz



Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Camaleón
On Mon, 09 Jul 2012 20:11:10 +0200, Zdenek Herman wrote:

(please, reply at the bottom)

> Dne 9.7.2012 16:52, Camaleón napsal(a):
>> On Sun, 08 Jul 2012 22:26:11 +0200, Zdenek Herman wrote:
>>
>> (...)
>>
>>> When I set hosts.deny ALL: ALL and hosts.allow is empty. I can allow
>>> connect to MySQL from anywhere - settings in hosts.allow and
>>> hosts.deny are ignored.
>> (...)
>>
>> I wonder if you aren't just missing the daemon to filter (mysqld) :-?
>>
>> cat /etc/hosts.deny

> My hosts.deny

(...)

> ALL: ALL : spawn ( echo $(date '+%%d.%%m.%%y %%T') access DENIED from %u@%h 
> [%a] >> /var/log/tcp_wrapper/%d.log ) &

(...)

> My hosts.allow

(...)

> sshd: 192.168.1.1 \
>  : spawn ( echo $(date '+%%d.%%m.%%y %%T') access ALLOWED from %u@%h [%a] 
> >> /var/log/tcp_wrapper/%d.log ) &

And you said this was working for the sshd service, right?

> I tested with mysqld: ALL in hosts.deny too.

Well, that should prevent connections coming from the same host (localhost)
unless you explicitely allow it from the hosts.allow, that has preference.

I don't know why does not work for you. Take a look into this article that
shows a few samples for using mysql with tcp wrappers:

http://www.unixmen.com/securing-services-with-tcp-wrappers/

And also read the manual ("man hosts_options"), maybe we are omitting 
something obvious...

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jthi02$cnl$6...@dough.gmane.org



Re: NetXtreme BCM5722 strangeness on Proliant ML115

2012-07-10 Thread Berni Elbourn

On 09/07/12 17:44, Camaleón wrote:

On Mon, 09 Jul 2012 17:31:46 +0100, Berni Elbourn wrote:


On 09/07/12 15:14, Camaleón wrote:


(...)


Despite the small number of dropped packages (26) the total ammount of
received packages is also very low (15.1 MiB), there shouldn't be a
single drop.

Is "dmesg | grep -i eth0" showing any anomaly?




I'll give the code from the broadcom website a wiz...just for the record
here is the status after a few hours of use:

# sudo ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:21:5a:d3:d0:0c
inet addr:192.168.2.10  Bcast:192.168.2.255
Mask:255.255.255.0 inet6 addr: fe80::221:5aff:fed3:d00c/64
Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
RX packets:14050436 errors:0 dropped:26 overruns:0 frame:2 TX
packets:3730779 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:20348704555 (18.9 GiB)  TX bytes:614582976 (586.1
MiB) Interrupt:19


That's more reasonable as there are no additional dropped packages but
traffic has increased a lot.


# dmesg | grep eth0
[1.191804] e100 :02:04.0: eth0: addr 0xfafff000, irq 18, MAC addr 
00:90:27:b0:0a:7d
[6.508590] udev[474]: renamed network interface eth1 to eth1-eth0
[6.532526] udev[470]: renamed network interface eth0 to eth1
[6.584538] udev[474]: renamed network interface eth1-eth0 to eth0
[   11.677058] ADDRCONF(NETDEV_UP): eth0: link is not ready
[   14.772314] tg3 :11:00.0: eth0: Link is up at 1000 Mbps, full duplex
[   14.772319] tg3 :11:00.0: eth0: Flow control is on for TX and on for RX
[   14.772698] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   25.520006] eth0: no IPv6 routers present


Beyond the "swaping dance" (eth1 → eth0) the rest looks normal.

I would keep monitoring the interface and the number of dropped packages
for a while, but regardless the backported kernel is working fine, I'd
open a bug report so kernel developers review this.

Greetings,



Here we go...

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=681089

--
"Confidence is what you have before you understand a problem" - Woody Allen


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffc4527.1000...@gmail.com



Re: Squeeze, MySQL and hosts.allow and hosts.deny ignored

2012-07-10 Thread Zdenek Herman

I tried from same and from another host too (with -h parameters)
In log I don't see any in log about connecting.
Is the tcp wrapper check first and than check by mysql grants or reverse?

_
# mysql -h localhost -p
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 288
Server version: 5.1.63-0+squeeze1 (Debian)

Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective
owners.

Type 'help;' or '\h' for help. Type '\c' to clear the current input 
statement.


mysql>


and in hosts.deny is ALL:ALL

Zdenek Herman
zdenek.her...@ille.cz

Dne 10.7.2012 06:46, Kushal Kumaran napsal(a):

On Mon, Jul 9, 2012 at 11:41 PM, Zdenek Herman  wrote:

My hosts.deny
# /etc/hosts.deny: list of hosts that are _not_ allowed to access the
system.
#  See the manual pages hosts_access(5) and
hosts_options(5).
#
# Example:ALL: some.host.name, .some.domain
# ALL EXCEPT in.fingerd: other.host.name, .other.domain
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#
# The PARANOID wildcard matches any host whose name does not match its
# address.
#
# You may wish to enable this to ensure any programs that don't
# validate looked up hostnames still leave understandable logs. In past
# versions of Debian this has been the default.
# ALL: PARANOID
ALL: ALL : spawn ( echo $(date '+%%d.%%m.%%y %%T') access DENIED from %u@%h
[%a] >> /var/log/tcp_wrapper/%d.log ) &

My hosts.allow
# /etc/hosts.allow: list of hosts that are allowed to access the system.
#   See the manual pages hosts_access(5) and
hosts_options(5).
#
# Example:ALL: LOCAL @some_netgroup
# ALL: .foobar.edu EXCEPT terminalserver.foobar.edu
#
# If you're going to protect the portmapper use the name "portmap" for the
# daemon name. Remember that you can only use the keyword "ALL" and IP
# addresses (NOT host or domain names) for the portmapper, as well as for
# rpc.mountd (the NFS mount daemon). See portmap(8) and rpc.mountd(8)
# for further information.
#
sshd: 192.168.1.1 \
 : spawn ( echo $(date '+%%d.%%m.%%y %%T') access ALLOWED from %u@%h [%a]

/var/log/tcp_wrapper/%d.log ) &



I tested with mysqld: ALL in hosts.deny too.


What was the mysql client command line which failed?  If running on
the same host as the server, the mysql client will use the unix-domain
socket in /var/run/mysqld/mysqld.sock for connecting to the server.
To force it to use an AF_INET socket, pass -h 127.0.0.1 to the mysql
client (-h localhost is not sufficient).

I just tested this on my debian squeeze mysql setup.  With -h
127.0.0.1 and "mysqld: ALL" in hosts.deny, connections are rejected.
If you do not want to use mysql access control, you should disable the
socket in the mysql server config, if that's possible.





--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffc44c9.2090...@ille.cz



Re: syslog filter

2012-07-10 Thread Michael Biebl
On 10.07.2012 15:37, Muhammad Yousuf Khan wrote:
> there is a very specific daemon log which is generating every minute
> and i want this log not written in syslog message however the daemon
> itself not providing the facility to stop it. so is there any thing
> that i could configure debian not to accept this particular log.
> 
> here is the log detail.
> 
> uID   1619
> Date  Today 18:30:50
> Host  panda
> Messagetype   Syslog
> Facility  DAEMON
> Severity  INFO
> Syslogtag pvemirror[7044]:
> Checksum  0
> Message   cluster syncronization finished (0.47 seconds (files 0.00,
> config 0.16))
> 


Depends on the syslog daemon you are using.
With rsyslog you have powerful filtering capabilities and you can
basically match on any part of the syslog message and drop it with the
"~" operator.

http://www.rsyslog.com/doc/rsyslog_conf_filter.html

HTH,
Michael


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: syslog filter

2012-07-10 Thread Michael Biebl
On 10.07.2012 16:24, Michael Biebl wrote:

> With rsyslog you have powerful filtering capabilities and you can
> basically match on any part of the syslog message and drop it with the
> "~" operator.
> 
> http://www.rsyslog.com/doc/rsyslog_conf_filter.html

http://www.rsyslog.com/doc/property_replacer.html → "Available
Properties" lists the properties you can match against.


-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?



signature.asc
Description: OpenPGP digital signature


Re: [OT] Re: Why compiling.

2012-07-10 Thread Muhammad Yousuf Khan
On Tue, Jul 10, 2012 at 7:19 PM, Camaleón  wrote:
> On Tue, 10 Jul 2012 17:03:12 +0500, Muhammad Yousuf Khan wrote:
>
>> This is a very basic question but confusing me for very long. so i need
>> your help.
>>
>> why people do compiling.
>
> For many reasons but mainly because there are no binaries available for
> your system and you have to get the sources and build a package.
>
>> i have heard many time that people are compiling kernel on debian.
>
> That's a good example.
>
>> what is the reason for this? i am using debian for almost 1.5 year and
>> have been using it on different platform in CLI mode. but no need of
>> compiling in this time window.
>
> I don't like compiling so much within my main systems, it requires many
> libraries and packages to be installed in the system and I prefer to keep
> packaging at the bare minimum... so then, why I compile a kernel? Mainly
> for debugging purposes.
>
> For instance, I have many problems with my wireless card that uses
> several kernel modules (brcmsmac, cordic, crdca, brcmutils, mac80211...)
> and I need to try either a) patches that solve my reconnect problems or
> b) updated versions of these modules, thus I need compiling a new kernel.
>
> People also compile kernels because that's the only way to get the latest
> upstream kernel and latest kernels usually provide support for new
> devices or have nice functionalities not present in older reelases.
>
>> secondly i have read  that people are compiling Squid SAMBA and all the
>> other packages but why. i am using KVM, squid samba etc  for almost more
>> then 1 year and all the servers are providing me what ever i asled all
>> the services are very comprehensive and could be fit in any environment
>> then why compiling?
>
> When all works fine there's usually no need to compile things.
>
> People compile becasue they want to add a new feature not present in the
> current binary (for example, they want samba with a determined flag or
> parameter "on/off"), to solve a problem/bug or to apply a patch, etc...
>
Thanks very informative :)

> Greetings,
>
> --
> Camaleón
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/jthdli$cnl$5...@dough.gmane.org
>


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfM=ahx5navjw711y-fpza1-k-ausqt7gkiwo7v0v6z5...@mail.gmail.com



[OT] Re: Why compiling.

2012-07-10 Thread Camaleón
On Tue, 10 Jul 2012 17:03:12 +0500, Muhammad Yousuf Khan wrote:

> This is a very basic question but confusing me for very long. so i need
> your help.
> 
> why people do compiling. 

For many reasons but mainly because there are no binaries available for 
your system and you have to get the sources and build a package.

> i have heard many time that people are compiling kernel on debian.

That's a good example.

> what is the reason for this? i am using debian for almost 1.5 year and
> have been using it on different platform in CLI mode. but no need of
> compiling in this time window.

I don't like compiling so much within my main systems, it requires many 
libraries and packages to be installed in the system and I prefer to keep 
packaging at the bare minimum... so then, why I compile a kernel? Mainly 
for debugging purposes. 

For instance, I have many problems with my wireless card that uses 
several kernel modules (brcmsmac, cordic, crdca, brcmutils, mac80211...) 
and I need to try either a) patches that solve my reconnect problems or 
b) updated versions of these modules, thus I need compiling a new kernel.

People also compile kernels because that's the only way to get the latest 
upstream kernel and latest kernels usually provide support for new 
devices or have nice functionalities not present in older reelases.

> secondly i have read  that people are compiling Squid SAMBA and all the
> other packages but why. i am using KVM, squid samba etc  for almost more
> then 1 year and all the servers are providing me what ever i asled all
> the services are very comprehensive and could be fit in any environment
> then why compiling?

When all works fine there's usually no need to compile things.

People compile becasue they want to add a new feature not present in the 
current binary (for example, they want samba with a determined flag or 
parameter "on/off"), to solve a problem/bug or to apply a patch, etc...

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jthdli$cnl$5...@dough.gmane.org



Re: Why compiling.

2012-07-10 Thread Muhammad Yousuf Khan
On Tue, Jul 10, 2012 at 6:55 PM, Gary Dale  wrote:
> On 10/07/12 08:03 AM, Muhammad Yousuf Khan wrote:
>>
>> This is a very basic question but confusing me for very long. so i
>> need your help.
>>
>> why people do compiling. i have heard many time that people are
>> compiling kernel on debian.
>> what is the reason for this? i am using debian for almost 1.5 year and
>> have been using it on different platform in CLI mode. but no need of
>> compiling in this time window.
>>
>> secondly i have read  that people are compiling Squid SAMBA and all
>> the other packages but why. i am using KVM, squid samba etc  for
>> almost more then 1 year and all the servers are providing me what ever
>> i asled all the services are very comprehensive and could be fit in
>> any environment then why compiling?
>>
>>
>> Thanks,
>
> There is little need to compile code. In fact, doing so will probably have a
> negative impact on your system's stability, especially if you use other than
> the official sources.
>
> People who prepare the individual packages or distributions are usually the
> only ones who need to compile code. However, some brave/foolhardy souls must
> have the latest code from the developer's source and compile their own. This
> is invariably a bad idea.
>
> When you leave the safety of your distribution's code repositories, you
> become responsible for managing the various inter-dependencies between
> programs and libraries. This is not a trivial task.
>
> If you need later code than is available from the official repositories,
> look for backports or, in the case of Debian, move to testing. In the
> testing repositories you get up to date code that is somewhat stable for
> non-critical work.
>
> Compiling from the official sources is a slightly different issue. For
> example, some people will compile a custom kernel from the official sources
> to do one of several things:
> - create a kernel that doesn't need an initramfs - everything is built in
> - create a smaller kernel that contains only the options they need -
> rendering it non-portable
> - creating a kernel with non-standard options for a particular situation.
>
> Other code may need similar tweaking. I once compiled a CUPS driver for a
> printer to include a bug fix I needed that hadn't made it into SID yet.
>
> However, these situations are rare. For the vast majority of people,
> compiling is something you shouldn't worry about. The package maintainers do
> a great job of getting everything to work together properly. Don't undermine
> their work.
>
noway i am undermining their work but i have heard that people do
compile kernels  and some time hardware vendors suggest users to
compile their drivers from source though i couldn't get the idea of
what they are discussing.

so after reading your detailed answer things are crystal clear. i
applicate the effort and i thank you for help.

>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4ffc344b.9040...@rogers.com
>


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfMkBb-75qtVB=VDFWx5=vhv5zy6ptdapgw5rrwd_p2t...@mail.gmail.com



Re: Installing a new HDD and mounting others

2012-07-10 Thread Camaleón
On Mon, 09 Jul 2012 19:47:31 +0200, Mark Panen wrote:

> I have followed this except to replace ext3 with ext4:
> 
> http://linux.justinhartman.com/Installing_a_second_hard_drive
> 
> I installed a new HDD and installed Squeeze on it.
> 
> When i open My Computer in Gnome i can see and mount the other two
> HDD's.
> 
> But i cannot get the /etc/fstab entry right, on boot i get fsck errors
> on the other two HDD's.

Fsck? Are you sure? :-? 

Those errors can be important, can you post them?

> Mount them with:
> 
> mount -t ext4 /dev/hdc1 /new-disk as an example works once the system is
> up.
> 
> but the /etc/fstab example does not when i reboot.
> 
> Is it perhaps that i have the boot flag entry on the other two HDD's?

Unless you are using an old kernel (lenny or ealier releases) I would 
mount the partitions by their "uuid" (or id/label/path), avoid using the 
old naming system (/dev/sda1...) to ensure you are calling the "right" 
device and using "uuid" will be the best option for this. 

You can get the partitions "uuid" by:

ls -la /dev/disk/by-uuid/

Then adjust the "/etc/fstab" entry accordingly and verify the mount point 
is already set.

Greetings,

-- 
Camaleón


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/jthcm2$cnl$4...@dough.gmane.org



Re: Why compiling.

2012-07-10 Thread Gary Dale

On 10/07/12 08:03 AM, Muhammad Yousuf Khan wrote:

This is a very basic question but confusing me for very long. so i
need your help.

why people do compiling. i have heard many time that people are
compiling kernel on debian.
what is the reason for this? i am using debian for almost 1.5 year and
have been using it on different platform in CLI mode. but no need of
compiling in this time window.

secondly i have read  that people are compiling Squid SAMBA and all
the other packages but why. i am using KVM, squid samba etc  for
almost more then 1 year and all the servers are providing me what ever
i asled all the services are very comprehensive and could be fit in
any environment then why compiling?


Thanks,
There is little need to compile code. In fact, doing so will probably 
have a negative impact on your system's stability, especially if you use 
other than the official sources.


People who prepare the individual packages or distributions are usually 
the only ones who need to compile code. However, some brave/foolhardy 
souls must have the latest code from the developer's source and compile 
their own. This is invariably a bad idea.


When you leave the safety of your distribution's code repositories, you 
become responsible for managing the various inter-dependencies between 
programs and libraries. This is not a trivial task.


If you need later code than is available from the official repositories, 
look for backports or, in the case of Debian, move to testing. In the 
testing repositories you get up to date code that is somewhat stable for 
non-critical work.


Compiling from the official sources is a slightly different issue. For 
example, some people will compile a custom kernel from the official 
sources to do one of several things:

- create a kernel that doesn't need an initramfs - everything is built in
- create a smaller kernel that contains only the options they need - 
rendering it non-portable

- creating a kernel with non-standard options for a particular situation.

Other code may need similar tweaking. I once compiled a CUPS driver for 
a printer to include a bug fix I needed that hadn't made it into SID yet.


However, these situations are rare. For the vast majority of people, 
compiling is something you shouldn't worry about. The package 
maintainers do a great job of getting everything to work together 
properly. Don't undermine their work.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffc344b.9040...@rogers.com



syslog filter

2012-07-10 Thread Muhammad Yousuf Khan
there is a very specific daemon log which is generating every minute
and i want this log not written in syslog message however the daemon
itself not providing the facility to stop it. so is there any thing
that i could configure debian not to accept this particular log.

here is the log detail.

uID 1619
DateToday 18:30:50
Hostpanda
Messagetype Syslog
FacilityDAEMON
SeverityINFO
Syslogtag   pvemirror[7044]:
Checksum0
Message cluster syncronization finished (0.47 seconds (files 0.00,
config 0.16))

Thanks,


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cagwvfmkp9rwtcj0rxh_j0_xpyekzofohc7m49vcmiy3-tr+...@mail.gmail.com



Re: VNC not connecting over SSH tunnel

2012-07-10 Thread Gary Dale

On 10/07/12 04:41 AM, Chris Davies wrote:

Gary Dale   wrote:

I can connect to every workstation in a remote office using:
ssh -L 5902::5900
xtightvncviewer -encodings "tight" localhost:5902
However, there is one workstation [...]
The ssh session also shows this message:
 channel 3: open failed: connect failed: No route to host
Indeed, I can't even ping it from the remote ssh server.
However, when I went to the office and tried to connect using my laptop,
connected into the local network, I was able to connect normally.
The ssh server is on the local subnet (a 192.168.x.x non-routable
network) as are the workstation I'm trying to connect to and the laptop
(when I plugged it into their network). The local forwarding would be
handled on the subnet so that if it worked for one station, shouldn't
it work for all?


We have four devices to consider:

 homepc  Your own system, outside the office
 workpc  Your own system, inside the office
 remote_router   The end-point for the primary ssh transport
 remote_workstation  The target machine for the VNC session

Homepc and workpc might be the same, but as they have different IP
addresses I'll name them differently.

At the risk of stating the obvious, I'm going to do it anyway:

  *  There has to be a route between homepc and remote_workstation for
 the ssh transport to succeed. This works

  *  There has to be a route between workpc and remote_workstation for
 the native VNC session to succeed. This works.

  *  There has to be a route between remote_router and remote_workstation
 for the VNC session to succeed. This doesn't work.

The error "No route to host" is often triggered when the source has a
route to the target but the target is not responding to the arp request.

I initially suggested that there is a routing issue between remote_router
and remote_workstation, and this was further evidenced by you not being
able to ping remote_workstation from remote_router. You've then
explained that the network topology is flat and that the remote_router
and remote_workstation are on the same subnet.

I can only suggest at this stage that you go back and re-check the IP
address assigned to the "non-working" remote_workstation.

Chris
Thanks again Chris. If I understand your model correctly, the 
"remote_router" is the ssh server and not the actual router that merely 
forwards port 22 to the ssh server. To put some numbers to the issue, as 
Joseph Loo requested:

homepc is 192.168.1.12
workpc (my laptop) is unknown - I'd have to revisit the office which not 
a short trip. It would be in the 192.168.1.x range.

remote_router is 192.168.1.18
remote_workstation is 192.168.1.20

The office router  (192.168.1.1) confirms the assignments (I connect to 
another remote workstation then log into the office router) as did 
opening a command prompt and running ipconfig on the remote_workstation 
the last time I was there.


I set up Windows 7 on 6 of the remote workstations and am not aware of 
doing anything differently on the non-accessible one.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Archive: http://lists.debian.org/4ffc2fe9.1010...@rogers.com



Re: Why compiling.

2012-07-10 Thread Kousik Maiti
People do compilation for many reason.

They want to learn more. They want to run packages from source code.
If you are going to compile kernel from source you can learn more details
about kernel.


On Tue, Jul 10, 2012 at 5:33 PM, Muhammad Yousuf Khan wrote:

> This is a very basic question but confusing me for very long. so i
> need your help.
>
> why people do compiling. i have heard many time that people are
> compiling kernel on debian.
> what is the reason for this? i am using debian for almost 1.5 year and
> have been using it on different platform in CLI mode. but no need of
> compiling in this time window.
>
> secondly i have read  that people are compiling Squid SAMBA and all
> the other packages but why. i am using KVM, squid samba etc  for
> almost more then 1 year and all the servers are providing me what ever
> i asled all the services are very comprehensive and could be fit in
> any environment then why compiling?
>
>
> Thanks,
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/CAGWVfM=vwd6hvuuc2wyfsiqzexqr3nl9r7cnsh2+r_bj6mu...@mail.gmail.com
>
>


-- 
Wishing you the very best of everything, always!!!
Kousik Maiti(কৌশিক মাইতি)
Registered Linux User #474025
Registered Ubuntu User # 28654


Why compiling.

2012-07-10 Thread Muhammad Yousuf Khan
This is a very basic question but confusing me for very long. so i
need your help.

why people do compiling. i have heard many time that people are
compiling kernel on debian.
what is the reason for this? i am using debian for almost 1.5 year and
have been using it on different platform in CLI mode. but no need of
compiling in this time window.

secondly i have read  that people are compiling Squid SAMBA and all
the other packages but why. i am using KVM, squid samba etc  for
almost more then 1 year and all the servers are providing me what ever
i asled all the services are very comprehensive and could be fit in
any environment then why compiling?


Thanks,


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAGWVfM=vwd6hvuuc2wyfsiqzexqr3nl9r7cnsh2+r_bj6mu...@mail.gmail.com



Re: VNC not connecting over SSH tunnel

2012-07-10 Thread Joseph Loo

On 07/10/2012 01:41 AM, Chris Davies wrote:

Gary Dale  wrote:

I can connect to every workstation in a remote office using:
ssh -L 5902::5900
xtightvncviewer -encodings "tight" localhost:5902
However, there is one workstation [...]
The ssh session also shows this message:
 channel 3: open failed: connect failed: No route to host
Indeed, I can't even ping it from the remote ssh server.
However, when I went to the office and tried to connect using my laptop,
connected into the local network, I was able to connect normally.
The ssh server is on the local subnet (a 192.168.x.x non-routable
network) as are the workstation I'm trying to connect to and the laptop
(when I plugged it into their network). The local forwarding would be
handled on the subnet so that if it worked for one station, shouldn't
it work for all?


We have four devices to consider:

 homepc  Your own system, outside the office
 workpc  Your own system, inside the office
 remote_router   The end-point for the primary ssh transport
 remote_workstation  The target machine for the VNC session

Homepc and workpc might be the same, but as they have different IP
addresses I'll name them differently.

At the risk of stating the obvious, I'm going to do it anyway:

  *  There has to be a route between homepc and remote_workstation for
 the ssh transport to succeed. This works.

  *  There has to be a route between workpc and remote_workstation for
 the native VNC session to succeed. This works.

  *  There has to be a route between remote_router and remote_workstation
 for the VNC session to succeed. This doesn't work.

The error "No route to host" is often triggered when the source has a
route to the target but the target is not responding to the arp request.

I initially suggested that there is a routing issue between remote_router
and remote_workstation, and this was further evidenced by you not being
able to ping remote_workstation from remote_router. You've then
explained that the network topology is flat and that the remote_router
and remote_workstation are on the same subnet.

I can only suggest at this stage that you go back and re-check the IP
address assigned to the "non-working" remote_workstation.

Chris


While you are at it, why don't you list the ip addresses and the net 
mask for each item. ifconfig will tell you what each machine has.


--
Joseph Loo
j...@acm.org



Re: VNC not connecting over SSH tunnel

2012-07-10 Thread Chris Davies
Gary Dale  wrote:
> I can connect to every workstation in a remote office using:
> ssh -L 5902::5900 public IP>
> xtightvncviewer -encodings "tight" localhost:5902

> However, there is one workstation [...]
> The ssh session also shows this message:
> channel 3: open failed: connect failed: No route to host
> Indeed, I can't even ping it from the remote ssh server.

> However, when I went to the office and tried to connect using my laptop,
> connected into the local network, I was able to connect normally.

> The ssh server is on the local subnet (a 192.168.x.x non-routable
> network) as are the workstation I'm trying to connect to and the laptop
> (when I plugged it into their network). The local forwarding would be
> handled on the subnet so that if it worked for one station, shouldn't
> it work for all?


We have four devices to consider:

homepc  Your own system, outside the office
workpc  Your own system, inside the office
remote_router   The end-point for the primary ssh transport
remote_workstation  The target machine for the VNC session

Homepc and workpc might be the same, but as they have different IP 
addresses I'll name them differently.

At the risk of stating the obvious, I'm going to do it anyway:

 *  There has to be a route between homepc and remote_workstation for 
the ssh transport to succeed. This works.

 *  There has to be a route between workpc and remote_workstation for 
the native VNC session to succeed. This works.

 *  There has to be a route between remote_router and remote_workstation 
for the VNC session to succeed. This doesn't work.

The error "No route to host" is often triggered when the source has a
route to the target but the target is not responding to the arp request.

I initially suggested that there is a routing issue between remote_router
and remote_workstation, and this was further evidenced by you not being
able to ping remote_workstation from remote_router. You've then
explained that the network topology is flat and that the remote_router
and remote_workstation are on the same subnet.

I can only suggest at this stage that you go back and re-check the IP
address assigned to the "non-working" remote_workstation.

Chris


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e6tc9xmgs@news.roaima.co.uk



ATI Propietary driver install in Debian Wheezy (Xorg downgrade to a working previous version)

2012-07-10 Thread Ezequiel
Hi all: Searching in the Internet I've found a way to make ATI propietary
driver work under Wheezy. Of course, it implies to downgrade Xserver to a
version prior to 1.12.
Now I can wait fglrx 12-5 (wich is supposed to work under the new XOrg.

### All credit belongs to "negafon" from linuxquestions.org, I just added a
last step that will be needed if you don't have your kernel development kit
installed and shared his solution 

1-First, you must add the repos to dowgrade Xorg

*deb http://snapshot.debian.org/archive/debian/20120515T220710Z/ wheezy main
deb-src http://snapshot.debian.org/archive/debian/20120515T220710Z/ wheezy
main*

Tat's a snapshot from May 15, 2012 at 10:07PM

2-Create the file /etc/apt/preferences.d/60xorg_rollback.pref

*Package: xserver-xorg*
Pin: origin "snapshot.debian.org"
Pin-Priority: 1001 *

This makes the priority of "snapshot.debian.org" repos for xserver-xorg
package higher than any other, so it will install the version desired

3- In order to prevent apt check the date in the repos (this mechanism
prevents accidental installation of older software), we create a file
called /etc/apt/apt.conf.d/60ignore_repo_date_check

*Acquire
{
Check-Valid-Until "false";
} *

4- We make the changes and downgrade xserver-xorg package

as root:*

# apt-get update
# apt-get dist-upgrade*

5- Finally, download the ati propietary driver from
http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx and run

# sh ./amd-driver-installer-12-4-x86.x86_64.run

If you don't have your kernel headers installed, you will need to install
them with the good old

*# aptitude install linux-headers-$(uname -r)*

If the driver doesn't compile properly, you can have a look at /usr/share/*
ati*/fglrx-*install*.*log*

If you still have problems with kernel dependencies, the "rude" way to
install all necessary packages is
*
# aptitude install module-assistant
# m-a update
# m-a prepare

*I hope you find this useful as I did. The original post from
linuxquestions can be found at
http://www.linuxquestions.org/questions/linux-hardware-18/how-do-i-get-my-fglrx-driver-back-946102/

I must apologize for my limited English writing, I hope you'll understand
this limitation. Please feel free to make any correction at my spelling or
grammar errors.

Saludos!

Zeke

--
¨Como siempre, los ingenieros hicieron un
escándalo, aunque terminaron la maniobra
en la mitad del tiempo que habían rechazado
como imposible¨


Re: help with xserver-xorg-video-ast

2012-07-10 Thread Keith McKenzie
On 9 July 2012 23:24, Shane Johnson  wrote:

> hello everyone,
> I am hoping someone can help me.  I am running Wheezy and got a driver
> from Aspeed for their on-board video driver.  Loaded it and it worked until
> I installed xen-qemu-dm-4.0 and now when I try to re-install is says
> glibc-2.13 is required when 2.14 is installed.  I contacted Aspeeds tech
> support and they suggested I compile from source.  I got the source package
> and run autoconf and get a error that xorg-macros needs to be installed.  I
> located it in xutils-dev and installed that package but it is still giving
> me a error about xorg-macros.  I have run autoconf -v to try and find out
> if it is expecting the libraries somewhere and I just need to link to them
> but it doesn't give me any idea on where.
> Question 1 - is there a easier way to do this?
> Question 2 - anyone have any idea on what I need to do to compile this
> driver?
>
>
Re Question 1 - in the past I have used a soft link in such situations; may
work for you.


-- 
Sent from FOSS (Free Open Source Software)
Debian GNU/Linux