Re: Sound Problems

2012-02-15 Thread David Baron
On Tuesday 14 February 2012 21:17:49 David Baron wrote:
> On Tuesday 14 February 2012 20:39:04 debian-user-digest-
> 
> requ...@lists.debian.org wrote:
> > Hi Emil, try this:
> > 
> > The new kernel module added two new regulators "speakers" and
> > "headphones",  and they are both set to "0" by default!
> > 
> > Additionally kmix and some other GUI might not show them as well as
> > alsamixer,  but just start "alsamixer -c0" and all sliders appear. Now
> > you can set them as you want, and now you can hear sound playing again.
> > 
> > Maybe you got the same problem?
> > 
> > Good luck!
> 
> Bug 659519 on 3.2.4 kernels.
> 
> Have problems with on-board Intel ALC861. I will boot the new kernel and
> try alsamixer -c0. Regular alsamixer, -gui, and qasmixer show nothing new.
> 
> I also cannot start up jack on any device at present but this may or may
> not be related to kernel alsa module problem.

The headphone checkbox shows up but has no effect. Still no sound, headphones 
or speakers.


-- 
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/201202151003.32872.d_ba...@012.net.il



Re: Suggestions regarding a PCI-X card.

2012-02-15 Thread Dan Serban
On Wed, 15 Feb 2012 00:40:26 -0600
Stan Hoeppner  wrote:

[snip]

> This is an 8 port card, so 16 drives will require 2 cards.  Unless you
> plan to connect 4 SATA drives and 4 EIDE drives to the mobo ports...ick

Indeed it is, I was planning on adding the second after I've tested the
first thoroughly.  PCI-X cards x2.

> > One thing that's come to my attention before I go forward is that when I
> > run lspci -vv, I've noticed this:
> > 
> >  # lspci -vv -s 03
> > 03:03.0 SCSI storage controller: Marvell Technology Group Ltd.
> > MV88SX6081 8-port SATA II PCI-X Controller (rev 09)
> > --snip--
> > Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> > SERR-  
> That "Status: Cap+ 66MHz+" is an lspci default for all PCI devices.
> Ignore it.  I have a 12 year old Intel BX test system here, w/33MHz 5v
> only PCI slots.  66MHz PCI hadn't even been invented yet.  But lspci says:
> 
> Status: Cap+ 66MHz+ UDF- FastB2B+ ParErr- DEVSEL=medium
>   TAbort- SERR-  

I don't know why I didn't think of that, maybe I spent too much time on
Wikipedia and assumed I'd see 33MHz for all PCI devices.

> > --snip--
> > Capabilities: [60] PCI-X non-bridge device
> > Status: Dev=03:03.0 64bit+ 133MHz+ SCD- USC- DC=simple
> 
> This is what you trust:   ^^
> 
> It's running at 133MHz.
> 
> > DMMRBC=512 DMOST=4 DMCRS=8 RSCEM- 266MHz- 533MHz-
> 
> > Am I reading the above wrong?  
> 
> Yes, you were.

Indeed.

[snip] 
> No, "capabilities" tells you what the device can do *and* what's it's
> currently doing.  Note the 133MHz is under the sub heading "status".

Such an elaborate post for this one simple response.  How foolish do I feel?
 
> > I've double checked that the
> > jumpers are set correctly on the motherboard and am concerned that I'm
> > somehow doing something wrong.
> 
> You haven't yet.  But just in case...
> 
> slots 1/2 on PCI-X bus B: Max 133MHz, single card
> slots 1/2 on PCI-X bus B: Max 100MHz, two cards
> slots 3/4 on PCI-X bus A: Max 100MHz, 1 or 2 cards

Yes, I'm familiar with the configuration, though admittedly not familiar
enough with lspci =)

> If you install a 2nd SAT2-MV8, put both cards in PCI-X slots 1/2, and
> close J53.  This leaves slots 3/4 open for non PCI-X cards should you
> need to install such in the future, or have such already.  Don't attempt
> to max your SATA HBA bandwidth by using both PCI-X buses, one card in
> each, as that's wholly unnecessary, and decreases your flexibility and
> performance WRT future card installation.

I was thinking the same thing, but I wanted to test the results with
bonnie++ and simple dd tests to see if I would be gaining much of anything
by putting one card into one bus and the other on the second.

> The reason "maxing out" is unnecessary is this:

[snip]

While I'm not unfamiliar with the theories, I have been bit by IO problems
in three cases and have the opportunity to test and see for myself on this
install where I'm failing to see the bottlenecks.

In one case the pci bus was the limiting factor and my file server machine
which was where concurrent 2-7mbit video recordings were being written
would lag out severely due to IO wait.

The other is still an issue for me, but I feel NFS is really the culprit in
that case though .. again testing and experience is how I end up feeling
comfortable enough to tell people to go get stuffed when a suggestion is
made that I know to be wrong.  Call me a perfectionist or a__l retentive but
that's how I roll when bitten.

> In other words, don't get yourself all wound up over theoretical maximum
> bandwidths of drives, cards, and bus slots.  Even though 16
> SATA-I/II/III drives in RAID0 may have a theoretical combined streaming
> read rate of ~1.6GB/s, you'll never see it in the real world.  You'll be
> lucky to see 1GB/s with the "perfect streaming test", which doesn't
> exist, regardless of HBA, RAID card, bus slot speed, etc.
> 
> So don't worry about the PCI-X bus speed.

Yes though 66MHz vaguely sounds like half of what I had though didn't
it?  :)

[snip] 

> Believe me when I say I'm losing patience with you Dan.  ;)

Oh.  I certainly do!  =)

> Believe your own eyes.  Remove your cranium from your backside and use
> some deduction and common sense.  It literally took me about 2 minutes
> to figure this out, and it wasn't difficult at all.

Heh, so simple!

> Drop it in slot 3/4 leaving the sister slot empty, and look at the lspci
> output.  You should see 100 where you currently see 133.  If you don't,
> then you know lspci is simply fuckered as both the 66 and 133 are wrong.
>  Then you can simply tell lspci to piss off, assume the hardware is
> working as it should (it is), and go on with your life.

While a good solution and idea, I refuse to admit that I simply overlooked
that option.  =)
 
> > Thanks.
> 
> NP.

Appreciate it.
 
[snip]

> > a difference I can try this with the latest 

Re: Display on IBM ThinkPad A22m; was Re(2): http://wiki.debian.org/ATIProprietary

2012-02-15 Thread Andrei POPESCU
On Ma, 14 feb 12, 19:13:33, peasth...@shaw.ca wrote:
> 
> > Did you remove the xorg.conf now? 
> 
> No.  I made it with "Xorg -configure".  It's appended below.

My understanding is that the point of "Xorg -configure" is to give you a 
template to modify. Since Xorg was able to generate it I'm assuming it 
will be able to detect all settings on the fly as well ;)

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: zlib use flag

2012-02-15 Thread Daniel D Jones
Please disregard.  Sent to the wrong mailing list.

On Wednesday, February 15, 2012 07:17:48 you wrote:
> Doing a world upgrade gives me:
> 
> root@kushiel / # emerge -uDvatN world
> 
> These are the packages that would be merged, in reverse order:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds built with USE flags to satisfy "sys-
> apps/pciutils[-zlib]".
> !!! One of the following packages is required to complete your request:
> - sys-apps/pciutils-3.1.7::gentoo (Change USE: -zlib)
> (dependency required by "sys-fs/udev-171-r5[hwdb]" [ebuild])
> (dependency required by "sys-fs/lvm2-2.02.88" [installed])
> (dependency required by "sys-fs/udisks-1.0.4-r1" [installed])
> (dependency required by "kde-base/kdelibs-4.7.4[udisks]" [installed])
> (dependency required by "kde-base/kdesu-4.7.4" [installed])
> (dependency required by "kde-base/khelpcenter-4.7.4" [installed])
> 
> 
> But setting -lib use flag then gives me:
> 
> Calculating dependencies... done!
> 
> emerge: there are no ebuilds built with USE flags to satisfy ">=app-
> arch/libarchive-2.6.1[bzip2?,lzma?,zlib]".
> !!! One of the following packages is required to complete your request:
> - app-arch/libarchive-3.0.3::gentoo (Change USE: +zlib)
> (dependency required by "kde-base/ark-4.7.4" [installed])
> (dependency required by "kde-base/kdeutils-meta-4.7.4" [installed])
> (dependency required by "kde-base/kde-meta-4.7.4" [installed])
> (dependency required by "@selected" [set])
> (dependency required by "@world" [argument])
> 
> 
> Is no one else seeing this?  What's the resolution?

-- 
"People are always blaming their circumstances for what they are. I don't 
believe in circumstances. The people who get on in this world are the people 
who get up and look for the circumstances they want, and, if they can't find 
them, make them." - G.B. Shaw


-- 
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/201202150721.57926.ddjo...@riddlemaster.org



Programming in debian..HELP

2012-02-15 Thread Bijoy Lobo
Hello folks,

I am looking to learn some Linux programming skills, My current situation
is like, I have to integrate Third-party software with software like squid
and iptables. The third party vendors have provided me with SDKs and I have
no idea on  how to get them working with squid and iptables.

-- 
Thanks and Regards
Bijoy Lobo


zlib use flag

2012-02-15 Thread Daniel D Jones
Doing a world upgrade gives me:

root@kushiel / # emerge -uDvatN world

These are the packages that would be merged, in reverse order:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy "sys-
apps/pciutils[-zlib]".
!!! One of the following packages is required to complete your request:
- sys-apps/pciutils-3.1.7::gentoo (Change USE: -zlib)
(dependency required by "sys-fs/udev-171-r5[hwdb]" [ebuild])
(dependency required by "sys-fs/lvm2-2.02.88" [installed])
(dependency required by "sys-fs/udisks-1.0.4-r1" [installed])
(dependency required by "kde-base/kdelibs-4.7.4[udisks]" [installed])
(dependency required by "kde-base/kdesu-4.7.4" [installed])
(dependency required by "kde-base/khelpcenter-4.7.4" [installed])


But setting -lib use flag then gives me:

Calculating dependencies... done!

emerge: there are no ebuilds built with USE flags to satisfy ">=app-
arch/libarchive-2.6.1[bzip2?,lzma?,zlib]".
!!! One of the following packages is required to complete your request:
- app-arch/libarchive-3.0.3::gentoo (Change USE: +zlib)
(dependency required by "kde-base/ark-4.7.4" [installed])
(dependency required by "kde-base/kdeutils-meta-4.7.4" [installed])
(dependency required by "kde-base/kde-meta-4.7.4" [installed])
(dependency required by "@selected" [set])
(dependency required by "@world" [argument])


Is no one else seeing this?  What's the resolution?

-- 
"I always pass on good advice. It's the only thing to do with it. It is never 
any use to oneself." - Oscar Wilde


-- 
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/201202150717.48472.ddjo...@riddlemaster.org



Re: Suggestions regarding a PCI-X card.

2012-02-15 Thread Stan Hoeppner
On 2/15/2012 3:13 AM, Dan Serban wrote:

> I don't know why I didn't think of that, maybe I spent too much time on
> Wikipedia and assumed I'd see 33MHz for all PCI devices.

>> No, "capabilities" tells you what the device can do *and* what's it's
>> currently doing.  Note the 133MHz is under the sub heading "status".
> 
> Such an elaborate post for this one simple response.  How foolish do I feel?

Heheh.  Note the right hand side of my email address.  ;)  I can be a
bit, engaged, when talking shop. ;)

> Yes, I'm familiar with the configuration, though admittedly not familiar
> enough with lspci =)

You should have never run it.  ;)

> I was thinking the same thing, but I wanted to test the results with
> bonnie++ and simple dd tests to see if I would be gaining much of anything
> by putting one card into one bus and the other on the second.

Bonnie and dd aren't going to tell you much.  They're going to give you
bonnie and dd results.  Which bear little resemblance to most real world
workloads.

> While I'm not unfamiliar with the theories, I have been bit by IO problems
> in three cases and have the opportunity to test and see for myself on this
> install where I'm failing to see the bottlenecks.
> 
> In one case the pci bus was the limiting factor and my file server machine
> which was where concurrent 2-7mbit video recordings were being written
> would lag out severely due to IO wait.

This iowait was caused by the disks running out of seek headroom.  The
PCI bus was not becoming saturated and thus was not your bottleneck.  A
32/33 PCI bus can carry 138 of your 7mbit/s streams assuming -5-10% for
bus wide PCI protocol overhead, and assuming there was little/no bus
contention with devices other than the capture hardware.  That's 69
streams coming through the capture hardware or NIC and 69 streams
written to the disk array.  The bandwidth required of the disks is only
60 MB/s, but with that many streaming writes the heads can't seek to
each track quickly enough while writing each file.  You're looking at
minimum 69ms of iowait between the first writer thread and the last,
assuming 1ms between seeks, and it's probably more on the order of 8ms
per seek given the track-track seek time on a 7.2k SATA drive is 5ms.
So you're looking at

69 writers * 8ms = 552ms   of iowait between the first and last thread.

You could have a 4 GB/s PCIe x8 RAID card w/512MB BBWC and 16 7.2K SATA
drives attached, and you'd still likely hit this wall with 69 such
concurrent 7mb/s streams.  Using 15k SAS drives would cut that iowait in
half.  But 275ms is probably still going to be too high.

If you were writing significantly less than 69 streams then you have
some other hardware or software problem.

> The other is still an issue for me, but I feel NFS is really the culprit in
> that case though .. again testing and experience is how I end up feeling
> comfortable enough to tell people to go get stuffed when a suggestion is
> made that I know to be wrong.  Call me a perfectionist or a__l retentive but
> that's how I roll when bitten.

Just make sure you're testing your actual workloads.  Synthetic tests
are just that, synthetic.  No one has ever been bitten by testing with
their actual workload.  Countless folks have been bitten by thinking
bonnie, iozone, etc results are a substitution for their actual
workload.  We see this somewhat frequently on the XFS and Linux-RAID lists.

> Yes though 66MHz vaguely sounds like half of what I had though didn't
> it?  :)

64/66 PCI-X yields 528 MB/s of bandwidth.

I've seen countless IBM FasTt 600 fiber channel storage arrays deployed
with 28 15k FC drives (2 shelves), with a single 4Gb/s FC host
connection being used, serving from 4-12 ESX farm nodes and 400-800
users.  That's 'only' 400 MB/s full duplex, 800 MB/s total, serving the
storage bandwidth needs of an entire organization.

The point is, even a lowly 66MHz, 528 MB/s PCI-X bus has a tremendous
amount of capability, in the real world.  General file serving is a real
world workload that doesn't 'need' 800 MB/s of bandwidth, which is what
you'll get using two SAT2-MV8 cards in one bus.  It doesn't even 'need'
528 MB/s.

The problem here is that you're a hobbyist (nothing wrong with that),
not an SA, so you're not going to digest or agree with what I'm telling
you WRT storage b/w.  If you were an SA, you wouldn't be monkeying with
upgrading and optimizing 10 year old hardware with PCI-X buses and uber
cheap non-RAID SATA HBAs from the same period.

So drop the 2 SAT2-MV8 HBAs in slot1 and slot 3 and close J53 so both
cards run at 100 MHz (asymmetry is BAD after all).  Now you have your
1.6 GB/s of PCI-X b/w which should closely match the average streaming
read performance of those 16 drives.  Now, you'll never get close to
achieving 1.6 GB/s throughput with these drives, but it'll sure be fun
to burn hundreds of hours trying. ;)

> While a good solution and idea, I refuse to admit that I simply overlooked
> that option.  =)

Or you

Re: rm -rf is too slow on large files and directory structure(Around 30000)

2012-02-15 Thread Chris Davies
Jude DaShiell  wrote:
> Anyone heard of the unlink command?

Yes. And your point is...?

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/dvls09xg3r@news.roaima.co.uk



Re: Running 2 ssh instances

2012-02-15 Thread Chris Davies
Sylvain  wrote:
> I have a server with an ssh instance configured to run on port 22. I 
> also configured iptables to have a port-knocking mechanism blocking 
> connections on port 22.

> Now I'd like to run another (restricted) ssh instance for just 1 
> particular user, without this port-knocking stuff.

The way I'd do this is to run a single instance of sshd, with the
restricted user having their own configuration entry in the sshd_config
(defined by user, group, host identification or IP address; see the
"Match" configuration option). I'd use a firewall rule to bypass the
port knocking requirement.

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/9qls09xg3r@news.roaima.co.uk



Re: Networking Q concerning /etc/network/interfaces

2012-02-15 Thread Harry Putnam
Brian  writes:

>> So, it seems there is no way around thinking both addresses are on a
>> single nic since there is only one ethernet wire attached to
>> localhost.
>
> As above; erroneous. Find out about MAC addresses and ARP. They are
> basic to communication on an ethernet network and will help you see a
> way round your thinking.
>
> When pinging, host b sends an ARP broadcast to all machines asking: 'any
> of you out there know about the IP address 192.168.1.54?' eth1 is aware
> 192.168.1.54 isn't its address but, being conscientious, asks about on
> the machine it lives on. eth0 says: 'hey that's me!'. eth1 then tells
> host b: 'I've found what you are looking for, 192.168.1.54's traffic can
> be sent to 192.168.1.42 first.'
>
> Two addresses on two interfaces. ifconfig says as much too.

In the confused thread I butchered, I missed this little snipped from
Brian. I very much appreciate this explanation.  I had it wrong.

I thought that without the machine being set up as a router.  That is,
with /proc/sys/net/ipv4/ip_forward set to 0, in that case the eth1 adaptor
would NOT ask eth0 anything, and would not communicate anything about
eth0 back to host b.

I had no experience with that scenario, but that was my first thought
on it.

I'm still a little unclear just how eth1 queries eth0.  The part in
Brians explanation that says: 
"[ ...]  eth1 is aware 192.168.1.54 isn't its address but, being 
conscientious, asks about on the machine it lives on.   eth0 says: 
'hey that's me!'. eth1 then tells host b: 'I've found what you are 
looking for, 192.168.1.54's traffic can be sent to 192.168.1.42 first."

Just how is that asking and reporting part performed?  Does eth1 then
handle all traffic to and from eth0?


-- 
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/87fwec6son@newsguy.com



Re: Any way to tell where the network problem is?

2012-02-15 Thread Camaleón
On Tue, 14 Feb 2012 13:35:45 -0800, Ross Boylan wrote:

> On Tue, 2012-02-14 at 20:55 +, Camaleón wrote:

(...)

>> > Feb  8 19:45:40 corn kernel: [1987612.981170] ethfast:
>> > Detected Tx Unit Hang:
>> 
>> (...)
>> 
>> > Feb  8 19:45:49 corn kernel: [1987622.027816] NETDEV
>> > WATCHDOG: ethfast: transmit timed out Feb  8 19:45:52 corn
>> > kernel: [1987624.923313] ethfast: Link is Up 1000 Mbps Full
>> > Duplex, Flow Control: RX/TX
>> 
>> By reading the logs, I can point you to these two bugs:
>> 
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=518182
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657689

> Thank you.  I do not have > 4g RAM, but my recent network upgrades took
> me from 100Mb/s to 1000Mb/s, so the load has definitely gone up.  There
> were problems before, which may or may not have the same cause.

Well, another user report the same error with 2 GiB of RAM (message #60), 
it can be also related to your problem. Anyway, when this happens, can 
you see a kernel trace/oops at your "/var/log/syslog"?

>> As you are using lenny,

> Yes.

>> I would try with an updated kernel (2.6.32) from backports or better
>> yet, take this as an opportunity to upgrade to Squeeze or another
>> supported version :-)

> I want to upgrade, but need to test it and fix my mail first...

You can try to load a LiveCD with an updated kernel and check if the 
network hang is also reproducible from there.

>> I see. Anyway, although the laptop is not at its bests, the logs are
>> concerning the linux box (the ethernet driver "hangs"). And one more
>> thing... "ethfast" looks like a 10/100 driver though it says "link up
>> 1000 Mbps". What kernel modules are you loading for both cards?

> lsmod shows e100 and e1000e.  I don't think I've done any customization
> related to these modules.  Here are some highlights from startup: 
> Jan 17 11:54:13 corn kernel: [2.104915] e1000e: Intel(R) PRO/1000 Network 
> Driver - 0.3.3.3-k2 
> Jan 17 11:54:13 corn kernel: [2.105673] e1000e: Copyright (c) 1999-2008 
> Intel Corporation. 
> Jan 17 11:54:13 corn kernel: [2.105759] ACPI: PCI Interrupt 
> :02:00.0[A] -> GSI 16 (level, low) -> IRQ 16 
> Jan 17 11:54:13 corn kernel: [2.106703] PCI: Setting latency timer of 
> device :02:00.0 to 64 
> Jan 17 11:54:13 corn kernel: [2.205678] No dock devices found. 
> Jan 17 11:54:13 corn kernel: [2.228257] eth0: (PCI Express:2.5GB/s:Width 
> x1) 00:13:20:b7:23:53 
> Jan 17 11:54:13 corn kernel: [2.229019] eth0: Intel(R) PRO/1000 Network 
> Connection 
> Jan 17 11:54:13 corn kernel: [2.229807] eth0: MAC: 2, PHY: 2, PBA No: 
> ff-0ff 

(...)

> Jan 17 11:54:13 corn kernel: [2.306212] e100: Intel(R) PRO/100 Network 
> Driver, 3.5.23-k4-NAPI 
> Jan 17 11:54:13 corn kernel: [2.339515] e100: Copyright(c) 1999-2006 
> Intel Corporation 
> Jan 17 11:54:13 corn kernel: [2.383510] ACPI: PCI Interrupt 
> :05:01.0[A] -> GSI 22 (level, low) -> IRQ 22 
> Jan 17 11:54:13 corn kernel: [2.431297] e100: eth1: e100_probe: addr 
> 0x90028000, irq 22, MAC addr 00:...

Mmmm, it loads e1000e and e100 for the cards, which I think it's fine. I 
wonder what's the source for the above "ethfast" :-?
 
> Thank you so much for the diagnosis; the network problems have been
> driving me nuts, but the server is the last place I thought would be
> responsible.  Perhaps this also has something to do with fact that
> throughput has topped out at 300Mb/s, and that imposes a high CPU load
> on the laptop.

Another thing you can try is using a different method for doing the 
transfers, such as FTP or SSH. Samba can be cpu resource intensive and
I've also been in situations where transferring big amounts of data 
(>30 GiB) over a samba share from windows clients hung at the middle of 
the transfer.

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/jhgimm$loq$6...@dough.gmane.org



Re: Debian breaks commitment to support Lenny until after Wheezy is released

2012-02-15 Thread Camaleón
On Tue, 14 Feb 2012 17:12:57 -0500, Arcady Genkin wrote:

> In an announcement[1] from 2009, Debian promised to support Lenny at
> least until the release of Wheezy:
> 
> "To accommodate the needs of larger organisations and other users with a
> long upgrade process, the Debian project commits to provide the
> possibility to skip the upcoming release and do a skip-upgrade straight
> from Debian GNU/Linux 5.0 ("Lenny") to Debian GNU/Linux 7.0 (not yet
> codenamed)."
> 
> Now Debian announces[2] that it stops security support for Lenny.

(...)
 
I'm glad (well, "glad" in the good sense of the word, of course) to see I 
was not the only user who was bitten by the afore mentioned Debian 
announcement about the Lenny extended support until Wheezy is released.

As I already told you in a private e-mail, I (as you) read the 
annoucement in the same way you've done and asked the same questions you 
are asking right know.

Of course, I also received the same replies you are now getting¹ :-)

I also think the first announcement² *was clear* about Debian Release 
Team intentions for the extended Lenny support but somehow, they changed 
their mind afterwards³ though this time the announcement *was not so 
clear* enough, and the fact that you and me are now in the same boat and 
debating this proves that something was not not properly explained or 
communicated.

But I also understand these things can happen even in the best of 
families ;-), although I'd expect that upcoming announcements which are 
really important (like the security support lifetime for the 
distribution) are treated in the future more seriously and clearly 
announced to avoid misinterpretations from users).

¹http://lists.debian.org/debian-release/2011/07/msg00102.html
²http://www.debian.org/News/2009/20090729
³http://www.debian.org/News/2009/20090730 

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/jhgkd5$loq$7...@dough.gmane.org



DATA STUDIO - ESTÚDIO DE GRAVAÇÃO DE BANDAS, JINGLES E SPOTS PUBLICITÁRIOS.

2012-02-15 Thread Data Studio

OLÁ, VENHO ATRAVÉS DESTE E-MAIL APRESENTAR O DATA STUDIO:

www.datastudio.com.br

PARA CONSULTAS DE ORÇAMENTOS DE JINGLES, SPOTS, VINHETAS, LOCUÇÕES, BASTA 
ENTRAR EM CONTATO POR ESTE E-MAIL OU PELO SITE.

QUEM TIVER INTERESSE TENHO UM PORTIFÓLIO DE AUDIO PARA ENVIO.

GRATO PELA ATENÇÃO.



--
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/215122.hpeji...@gmail.com



Re: Suggestions regarding a PCI-X card.

2012-02-15 Thread Camaleón
On Tue, 14 Feb 2012 17:13:34 -0800, Dan Serban wrote:

> On Tue, 14 Feb 2012 16:26:32 + (UTC) Camaleón 
> wrote:
> 
>> Mmm, I don't know how reliable it can be that information :-?
>> 
>> ("+" means the flag is enabled and "-" means it is disabled)
>> 
>> Regardless lspci output, I would ensure the BIOS POST data displays the
>> right bus frequency for that specific PCI-X slot (remember that some
>> motherboards allow to configure the frequency to lower values for PCI
>> cards -usually "auto/PCI33/66/PCI-X/66/100/133MHz").
>> 
> Thanks for the response, I have gone through the BIOS extensively and I
> have checked every setting.  I made sure it's on the correct bus (Two
> PCI-X busses, one 133 max and the other 100 max) and upon boot there is
> zero output from the BIOS.  

(...)

Some BIOS enable by default a "fast/quick boot" option that skips the 
information to fasten the booting times and thus the POST screen is not 
even displayed (or it comes that fast that is hardly readable).

You can check if such option is enabled and then turn it off, just this 
time, to be able to read the screen, verify the PCI-X slot is operating 
at its selected frequency and then you can disable the option again.

> It almost seems that the card becomes some sort of extension to the
> BIOS as there's no onboard int19h (or is it 10?) interrupt for a boot
> option.  The interesting part is that each port and drive is detected
> within the motherboard BIOS itself.  Allowing me to disable/enable
> specific ports and drives.

I also have a similar card (it's a zeroconf RAID card from adaptec) 
attached to the supermicro servers and while there's no card information 
presented at the POST screen, it is displayed the information for all of 
the available PCI-X slots and general information about the system (ram, 
hard disks, etc...).

> So I'm still stuck at square one, I have followed the instructions in
> the man page for lspci and have looked at the pci.h source file, but
> apart from telling me what the acronyms may stand for, there is no real
> further explanation on what the actual status of the card is.  One
> status line is 66MHz+ and the other is 66MHz+ 133MHz+.  I'm unsure.

Yup, I neither found more information about the meaning of these fields, 
but if you do a quick search in Google for "Status: Cap+ 133MHz+" you'll 
get zero results, which leads me to think this is not measuring what we 
think it is measuring :-)

> I think my best bet is to subscribe to the linux-pci mailing list and
> try there, I hate not being sure that I'm using my hardware to its
> fullest potential.

I would also try with debian kernel mailing list. My guess is that kernel 
gurus will be able to tell you what's this information all about.

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/jhglio$loq$8...@dough.gmane.org



Re: Could not perform immediate configuration on 'libc6'. Please see man 5 apt.conf under APT::Immediate-Configure for details. (2)

2012-02-15 Thread Camaleón
On Tue, 14 Feb 2012 12:41:49 +0530, Harshad Joshi wrote:

> i have installed debian 6 on a dell vostro 1550.
> 
> 
> while updating software through synaptic or apt-get, i get this error
> 
> 
> Could not perform immediate configuration on 'libc6'. Please see man 5
> apt.conf under APT::Immediate-Configure for details. (2)
> 
> i am using amd 64 kernel. details of uname -a are as follows
> 
> Linux harshad 2.6.32-5-amd64 #1 SMP Wed Jan 12 05:14:59 UTC 2011 x86_64
> GNU/Linux
> 
> 
> how to resolve this issue? i cant install libc6 or libc6-64 edition..I
> have a debian i386 dvd, ie debian 1 dvd out of total 6. do i need to use
> 64 bit version for vostro laptop?

Can you show us your "sources.list" file? Maybe you have mixed the 
repositories (stable/testing).

cat /etc/apt/sources.list

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/jhgm00$loq$9...@dough.gmane.org



Re: rm -rf is too slow on large files and directory structure(Around 30000)

2012-02-15 Thread Christofer C. Bell
On Wed, Feb 15, 2012 at 1:38 AM, Jude DaShiell  wrote:
> Anyone heard of the unlink command?

unlink is slower than rm removing a 1.5GB file (at least on ext3):

cbell@circe:~$ time rm test1

real0m0.278s
user0m0.000s
sys 0m0.264s

cbell@circe:~$ time unlink test2

real0m0.375s
user0m0.000s
sys 0m0.364s
cbell@circe:~$

But may provide some benefit when removing a large number (3) of
files (at least empty ones).

cbell@circe:~/test$ time find rm -type f -exec rm {} \;

real0m48.127s
user1m32.926s
sys 0m38.750s

cbell@circe:~/test$ time find unlink -type f -exec unlink {} \;

real0m46.167s
user1m32.194s
sys 0m39.346s
cbell@circe:~/test$

I suspect that removing a large number of non-zero byte files will be
slower with unlink than rm.

-- 
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/CAOEVnYs3775N=sbvgto0y-odzrlnrj5t3bqrpjkt1fh5w7v...@mail.gmail.com



Re: Programming in debian..HELP

2012-02-15 Thread Camaleón
On Wed, 15 Feb 2012 18:14:58 +0530, Bijoy Lobo wrote:

> I am looking to learn some Linux programming skills, My current
> situation is like, I have to integrate Third-party software with
> software like squid and iptables. The third party vendors have provided
> me with SDKs and I have no idea on  how to get them working with squid
> and iptables.

I think you'll get more pointers to the right docs should you say what 
programming language uses -or are available- for that SDK (python, perl, 
c, c++...). Perl and Python are usuals for dealing with netfilter stack.

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/jhgnpb$q8i$1...@dough.gmane.org



unable to add jet-direct laserjet postscript with "raw" queue

2012-02-15 Thread Russell L. Harris
I am running Squeeze on an i386, with the Gnome desktop.  

Under CUPS, I am unable to add a HP LaserJet4 with Postscript and a
Jet-Direct ethernet card.  The problem is that I am unable to specify
a "raw" queue.

CUPS appears to me to have a bug, because it repeatedly asks for the
root password for authentication, and often gets locked into a
asking-for-authentication loop.

I have tried to install the lj4 via the Gnome menu (system ->
administration -> printing) and via the browser administrative
interface (localhost:631):

With the Gnome menu, I am forced to choose a printer driver from a
list which excludes "raw".  And if I install the printer using the
Gnome menu, I have found no way to subsequently change the queue to
"raw".

With the menu sequence "administration -> add printer" the browser
interface goes off into never-never land with the message "looking for
printers" and never returns.

I previously added a HPLJ5 with "raw" queue, but CUPS does not appear
to be working correctly now, even after restarting the computer.

Someone needs to do a pre-Apple branch of CUPS and bring Linux
printing back to sanity.

RLH



-- 
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/20120215165347.GA2777@cromwell.tmiaf



Re: Stupid shell question

2012-02-15 Thread Chrissy Jackson

On 12/02/12 23:55, Joel Roth wrote:

Hi Shellsters,

  I've got a directory structure like this:

./project1/bak/a.yml
./project1/bak/b.yml
./project2/bak/c.yml
./project2/bak/d.yml

I want to move the *.yml files into the corresponding parent directory.

I tried this:

for dir in `find -maxdepth 1 -type d`; do chdir $dir/bak; mv *.yml .. ; chdir 
../..; done

But get an error:

mv: can't stat *.yml


mv */bak/*.yml .

--
Chrissy Jackson
Shadowcat Systems Ltd.


--
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/4f3be009.5030...@shadowcat.co.uk



Re: using a bluetooth headset

2012-02-15 Thread Pierre Frenkiel

On Tue, 14 Feb 2012, Celejar wrote:


IIUC, that snippet just sets up a profile that alsa applications can
use; they still need to be told individually to actually use this
profile. For example, using 'aplay', you'd do something like "aplay -D
bluetooth sound.wav". Each alsa app will have its own configuration
area where you set which alsa device you want it to use.


  Sorry, but if I may invent a new acronym, I think, according all the
  test I've done, that YDUC...
  I have 4 devices, for which I have 4 different alsa config files:

 .asoundrc.asoundconf.live (internal SoundBlaster)
 .asoundrc.asoundconf.z305 (usb speaker)
 .asoundrc.asoundconf.z515 (wireless speaker)
 .asoundrc.headset

 If I do
ln -fs .asoundrc.asoundconf.live .asoundrc.asoundconf
 the sound is sent to my SB-live card, from any program but mplayer,
 without specifying any device for them (aplay, vlc, totem, xine,
 skype)
 If I do
ln -fs .asoundrc.asoundconf.z515 .asoundrc.asoundconf
 the sound is sent to my wireless speaker, with all these programs.
 and idem for the z305.
 But,if I do
ln -fs .asoundrc.asoundconf.headset .asoundrc.asoundconf
 the sound is only sent to my bluetooth headset from skype.
 For the other programs, it goes to the SB-live card.
 (NB: I had to disable pulseaudio to make it work from skype)

 Can anybody explain that?

 As for pulseaudio, I always get "connection refused", for example
 with pavucontrol.

--
Pierre Frenkiel


--
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/alpine.deb.2.00.1202151758030.31...@pfr2.frenkiel-hure.net



Re: free software mini pc

2012-02-15 Thread Arnt Karlsen
On Tue, 14 Feb 2012 23:26:04 +1100, Alex wrote in message 
:

> On 13 February 2012 00:57, green  wrote:
> >
> > So the Trim-Slice is not supported by mainline kernels?
> >
> 
> As others said, the main issue is the Tegra 2 is a nvidia chip

...that doesn't work with nouveau?  Uh-oh. 

> and CompuLab are reliant on nvidia in order to get things working.
> 
> I haven't tried upgrading the kernel since I got the original unit.
> Performance was ok with the original but generally it seemed to be
> well below what you would expect given the specs of the Tegra 2.
> 
> There was an interesting article about the Trim Slice posted a few
> days ago, I don't know if you saw it:
> http://blog.sesse.net/blog/tech/2012-02-12-21-43_playing_with_the_trim_slice.html
> 
> To repeat Christofer's question though, what's the problem with a
> non-standard kernel? I get the feeling that these ARM computers that
> are coming out are going to be reliant on customised kernels for some
> time. If the customisation of the kernel can be managed in a
> standardised way, then it shouldn't be a problem.
> 
> Cheers,
> Alex
> 
> 


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
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/20120214164159.52bad...@nb6.lan



Re: Amaya

2012-02-15 Thread Arnt Karlsen
On Tue, 14 Feb 2012 16:06:43 +1100, Scott wrote in message 
<4f39ebe3.7070...@gmail.com>:

> On 14/02/12 15:24, Ethan Rosenberg wrote:
> > Dear List -
> > 
> > How do I install Amaya in Debian.
> > 
> > Thanks.
> > 
> > Ethan
> > 
> > 
> > 
> # apt-get install amaya
> 
> 
> Or synaptic, or aptitude, or whatever floats your boat.
> 
> NOTE: amaya is *very* intolerant of invalid code (strict xhtml only).
> Like aptana, it's not really targeted at people on the start of the
> web design learning curve (but it's still a very useful tool).
> 
> 'You' might enjoy Bluefish (# apt-get install bluefish
> bluefish-plugins)
> 
> If I could make some suggestions GIMP and kate (or other Debian
> text editors) are *very* useful tools. Others have their own
> techniques - but the following is how I do things (even though the
> end product is usually produced by a CMS).
> 
> 1. Layout your design as blocks in GIMP (work off minimal view portal,
> use percentage if possible, min-width in pixels) Put your measurements
> as text in the GIMP image (or just sketch it on paper).
> 2. Write the containers to match in your HTML
> 3. Work out the order in which you want them to be coded
> (counter-intuitive, search engines read in code order, not render
> order
> - so if you've three columns and the main text is in the centre
> column - that's the column you want to appear in the code first),
> re-order as necessary.
> 4. Write the css to to organise the containers for your layout (just
> positioning, size, and contrasting background-color for each container
> to start), re-order the css to suit inheritance (keep the css small,
> and simple to understand).
> 5. Now that you can "see" the different containers (because of the
> colours), adjust css to get positioning right.
> 6. Finally fill the containers with real content, remove the setup
> background-colors from the containers (replace with real back-ground
> colors) and insert element settings into the css.

..7. Check your work for web standards compliance with e.g.
http://validator.w3.org/ or your local validator.

..8. Before you pay someone else for web site work, check their 
work for web standards compliance and contractual compliance,
with e.g. http://validator.w3.org/ .

..9. Require web etc standards compliance and contractual compliance,
and fire the THB's who fails to meet your standards by e.g. paying for
substandard work. 


> If you just start by trying to do the lot in one go with an editor
> you'll be up against it. Don't put anything into the editor until
> step 5.
> 
> Debian.org is a good reference (view source).
> 
> 
> Kind regards
> 


-- 
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
  Scenarios always come in sets of three: 
  best case, worst case, and just in case.


-- 
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/20120214171449.378bc...@nb6.lan



Re: Need help on missing Dia shape icons

2012-02-15 Thread Camaleón
On Tue, 14 Feb 2012 21:35:04 -0600, luger wrote:

> I just installed the "dia" package, dia starts up fine but immediately
> gives me a warning:
> 
> failed to load icon for file
>   /usr/share/dia/shapes/Flowchart/display.png 
>  cause=Couldn't recognize the image file format for file
> '/usr/share/dia/shapes/Flowchart/display.png'
> 
> and also tells me there are 49 more messages.

(...)

The rest of the messages also point to PNG files?

How about running the application (dia) from an empty/clean user?

Although the error above seems like pointing to some sort of package/
library ("libgdk-pixbuf2.0-0" or maybe "libpng12-0") corruption :-?

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/jhgq2b$q8i$2...@dough.gmane.org



Re: free software mini pc

2012-02-15 Thread green
Alex Hutton wrote at 2012-02-14 16:59 -0600:
> Fair points. I guess you would need to go with an Atom or other x86
> system which would have a more mature architecture, rather than ARM.

Yes, x86 seems to be the architecture of choice at this point, with regard to 
reliability.

> For my personal needs I'm thinking of desktop usage, so I'm not
> thinking of a mission-critical application, and ultra-reliability is
> not a necessity, though it is desirable :).

I am making reliability a requirement in my purchase.  Reliability is 
actually significantly more important to me than most of the other 
specifications.


signature.asc
Description: Digital signature


Get to the bottom of what is running my networks

2012-02-15 Thread Harry Putnam
I'd like to know exactly how to start/stop retart etc the network
configuration. 

But first it seems one must determine what is actually running them.

in /var/log/boot  I see:

grep -i NetworkManger /var/log/boot
Mon Feb 13 13:27:14 2012: Starting network connection manager: NetworkManager.

OK, I found the thing running with:

# ps wwaux|grep NetworkManager
 (wrapped for mail)
,
| root 1251 0.0 0.2 26320 4868 ?  Ssl Feb13 0:01
| /usr/sbin/NetworkManager 
| 
| root 29922  0.0  0.0   2532  1164 ?S
| 11:10   0:00 /sbin/dhclient -d -4 -sf 
| /usr/lib/NetworkManager/nm-dhcp-client.action -pf
| /var/run/dhclient-eth1.pid -lf
| /var/lib/dhcp/dhclient-d742aae7-0056-4428-acab-e14977d7aed8-eth1.lease
| -cf /var/run/nm-dhclient-eth1.conf eth1
| 
`

Then followed with an attempt to find out what package[s] was involved.

First running `apt-get check' to make sure my database was up to par, then:
apt-cache search nm-dhcp-client.action

  

So I tried a few more in /usr/lib/NetworkManager:

ls /usr/lib/NetworkManager/
  ifblacklist_migrate.sh nm-openvpn-service
  libnm-settings-plugin-ifupdown.so  nm-openvpn-service-openvpn-helper
  nm-avahi-autoipd.actionnm-pptp-service
  nm-crash-loggernm-vpnc-service
  nm-dhcp-client.action  nm-vpnc-service-vpnc-helper
  nm-dispatcher.action

Tried several, but none gave any output to apt-cache search.

Even apt-cache search  /sbin/dhclient gave no output.

How can I have all these tools on my machine and apt doesn't know
about them?

How can I find which package is doing such an important job as
starting the network.  And how can I bring that function directly
under my control only?

When I click the `network' icons in kde menus, I get this worthless
little weak interface that offers access to only incidental things,
not the main work of starting/stopping and actually allows no way
whatsoever to access even those.

It offers 3 tabs, hostname, dns, hosts and has an unlock button.  When
I push the unlock button I get this absolutely useless dialog that
offers a place for passwd (greyed out) and a drop down list to select
user.  Obviously the idea is to select a user and then the password
field will light up.

Dropping the list down I see all users except my user and root.  What
could be more useless?  I don't get it, am I likely to find another
icon that offers me a chance to transplants mammary glands into a bore
hog?

Honestly it is confusing... surely there is some straight forward way
by now on this modern of a version of debian to simply work with the
tools that control networking...

Command line is my preferred idiom, but anything would be a good
start.

There must be a quick and easy way to start stop cleanly without major
study and scrutinizing of vast man pages or such.

Can anyone provide a simple step by step procedure?

Another distro I've used worked with a simple 
/etc/init.d/net.eth[0-9] start/stop/status

And a brief and easily understood configuration in /etc/conf.d/net.

Do we have anything similar?  A basic underlying control mechanism
that supersedes any add-on gui bunkem?



-- 
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/87bop06ku3@newsguy.com



Re: unable to add jet-direct laserjet postscript with "raw" queue

2012-02-15 Thread Camaleón
On Wed, 15 Feb 2012 16:53:47 +, Russell L. Harris wrote:

> I am running Squeeze on an i386, with the Gnome desktop.
> 
> Under CUPS, I am unable to add a HP LaserJet4 with Postscript and a
> Jet-Direct ethernet card.  The problem is that I am unable to specify a
> "raw" queue.

(...)

I just have added a "raw queue" using CUPS web interface (http://
localhost:631) and selecting AppSocket/JetDirect → socket://IP → raw from 
the printer list of vendors/drivers, but I'm not sure if this is what you 
want...

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/jhgskc$q8i$3...@dough.gmane.org



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Camaleón
On Wed, 15 Feb 2012 12:57:24 -0500, Harry Putnam wrote:

> I'd like to know exactly how to start/stop retart etc the network
> configuration.

(..)

If you are using network manager, "service network-manager start|stop|
restart" should do the trick (N-M calls dhclient).

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/jhgt0r$q8i$4...@dough.gmane.org



How to configure two NIC's in Debian 6.0.4 box?

2012-02-15 Thread Miroslav Skoric
I have a dual-boot Win$/Debian box having two cards, an older one 3Com 
(3C905TX in Win$, 3c59x in Deb) and a newer one TP Link (TF-3200 in 
Win$, sundance in Deb). Both cards are wired to the other two machines 
in the LAN, the older card links to an older box, the newer card links 
to a newer box.


The issue is that the 'central' box sees the old NIC as eth0 and the new 
NIC as eth1, though I would like it to be the opposite. Besides that, it 
seems that the cards get renamed during the system boot, as follows:


renamed network interface eth1 to eth1-eth0
renamed network interface eth0 to eth1
renamed network interface eth1-eth0 to eth0

The only stuff within /etc/network/interfaces is:

auto lo
iface lo inet loopback

and the working parameters for both cards are set by Network Manager 
Applet 0.8.1


I wonder what is the best way to reconfigure the NIC's so the old card 
(now eth0) boots as eth1, and the new card (now eth1) boots as eth0?



--
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/4f3bf208.5030...@eunet.rs



Re: How to configure two NIC's in Debian 6.0.4 box?

2012-02-15 Thread Christofer C. Bell
On Wed, Feb 15, 2012 at 11:57 AM, Miroslav Skoric  wrote:
>
> I wonder what is the best way to reconfigure the NIC's so the old card (now
> eth0) boots as eth1, and the new card (now eth1) boots as eth0?

This is done using the file /etc/udev/rules.d/70-persistent-net.rules

Just open that in your favorite editor and the format should be
self-explanatory.  Edit that file to taste and reboot.

Good luck!

-- 
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/CAOEVnYt4GZJHGHKgEjE6DtLETvPYiZMuTL8=5eyghj5qap1...@mail.gmail.com



Re: How to configure two NIC's in Debian 6.0.4 box?

2012-02-15 Thread Camaleón
On Wed, 15 Feb 2012 18:57:28 +0100, Miroslav Skoric wrote:

(...)

> The issue is that the 'central' box sees the old NIC as eth0 and the new
> NIC as eth1, though I would like it to be the opposite. Besides that, it
> seems that the cards get renamed during the system boot, as follows:
> 
> renamed network interface eth1 to eth1-eth0 
> renamed network interface eth0 to eth1 
> renamed network interface eth1-eth0 to eth0

(...)
 
> and the working parameters for both cards are set by Network Manager
> Applet 0.8.1
> 
> I wonder what is the best way to reconfigure the NIC's so the old card
> (now eth0) boots as eth1, and the new card (now eth1) boots as eth0?

You could use static naming based on the mac address, for instance, here 
you have an approach for the involved steps:

Udev: Renaming Network Interfaces
http://debianclusters.org/index.php/Udev:_Renaming_Network_Interfaces

(the file is named "/etc/udev/rules.d/70-persistent-net.rules")

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/jhgthd$q8i$5...@dough.gmane.org



Re: Programming in debian..HELP

2012-02-15 Thread Bijoy Lobo
The SDKs which i have header (.h) files which ask me to compile my app
using them

On Wed, Feb 15, 2012 at 10:20 PM, Camaleón  wrote:

> On Wed, 15 Feb 2012 18:14:58 +0530, Bijoy Lobo wrote:
>
> > I am looking to learn some Linux programming skills, My current
> > situation is like, I have to integrate Third-party software with
> > software like squid and iptables. The third party vendors have provided
> > me with SDKs and I have no idea on  how to get them working with squid
> > and iptables.
>
> I think you'll get more pointers to the right docs should you say what
> programming language uses -or are available- for that SDK (python, perl,
> c, c++...). Perl and Python are usuals for dealing with netfilter stack.
>
> 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/jhgnpb$q8i$1...@dough.gmane.org
>
>


-- 
Thanks and Regards
Bijoy Lobo
Paladion Networks


Re: free software mini pc

2012-02-15 Thread green
Mark Neidorff wrote at 2012-02-14 17:45 -0600:
> I've stayed on the sidelines of this thread because the original post sounded 
> to me like trolling.  But, after the posts that I have read, you seem quite 
> serious.

Trolling?!  Apparently I failed to clearly express myself in the original 
post.

> Have you looked at mini-itx systems on ebay for inspiration?

I have looked primarily at mini-itx systems during my research.

> I have one now running Lenny as my server. It is rock solid.  It just sits 
> there, silently, and runs and runs and runs.  Everything just worked on 
> installation.

It is great that your server has worked so well for you.


> I'm still not 100% clear on what is standing in your way.

When you purchased the server on which you run Lenny, did you know for sure 
that the installation would go smoothly and all hardware would work 
correctly?  What if today you needed another system on which to run Debian 
and knew that you did not have time to troubleshoot any hardware problems?  
You could get the same as what you have now, but what if it is no longer 
available?  Wouldn't it be helpful to find a vendor that provided a hardware 
table for each system with information about Linux mainline kernel versions, 
drivers, and firmware?  Like, "this SATA controller is supported since Linux 
v2.6.29 with the ahci driver".  So in that case you could look at their site, 
compare with the kernel version in Debian stable, and know with reasonable 
certainty that this hardware will "just work" with Debian stable.  Or that 
you need to consider a kernel in backports, etc.

Many vendors mention various versions of Windows on their hardware pages, but 
nothing about Linux.  So as a consumer, do I just blindly assume that, 
although the vendor apparently does not care enough about Linux to even 
mention it, that it will all "just work"?  Or those that mention Linux, but 
no kernel versions: will the kernel in Debian stable work?  Or those with 
Linux drivers available for download, do I need to maintain out-of-tree 
drivers (remember I mentioned a maintenance burden)?

Now, because of the implication that hardware (as with your server, Mark) 
will all "just work" with Debian (and that my post/research is just 
silly/trolling), I will quickly mention nvidia, fglrx, and ralink wireless, 
all problematic a while back.  I have had a Thinkpad T61 with a PSTN modem 
for >4 years, it has never worked (Debian amd64); I hope to try again when I 
upgrade to wheezy.  Okay, so now someone might say "well, of course video, 
winmodems, and wireless will cause some trouble sometimes".  These 
mini-pcs... any of them have onboard video hardware?  Or come with wireless 
hardware?

And someone might say that many of the problems had in the past are resolved, 
and quite possible so.  So if I need a functional device now, do I need to 
just purchase one and shelve it for a few years before assuming Linux will 
work?  I understand that Linux has a history of better support for older 
hardware, and that is reasonable, but would that need to be so (as much) if 
vendor support was better?  And the Intel GM965 video on my T61 still does 
not quite work correctly for 3d applications, even after 4 years.

Okay, I could look through the specifications carefully and research eg. the 
wireless hardware, but what about when vendors change the chipset mid-model?

Am I being demanding here?  I want an absolutely functional Linux on a 
device, and I am willing to pay for it (I have mentioned no limit, though I 
do have a budget).  For those assuming I am needing tens or hundreds of 
whatever mini-pc I choose, no.  I only need a single mini-pc system.  More 
later, perhaps.  It is not for my own use, but at a location where tech 
support is not available, and where the system will quite likely be in use 
for 5+ years.

So to recap my original post, the basic requirements are:
- fanless mini PC
- it will run Debian
- production environment (reliability is important)
- good Linux support to facilitate fast deployment and low maintenance, 
- avoiding non-free software (non-free firmware, out-of-tree kernel modules, 
ndiswrapper)

and I mentioned also:
- many devices with only partial mainline Linux support
- unable to find itemized information about Linux kernel support
- some devices ship with Linux (often Ubuntu) and use a custom kernel

My original post did not mention this explicitly, but I would be pleased to 
find a manufacturer/vendor that is interested in supporting Linux users, and 
provides devices with 100% functionality using 100% free software.  Perhaps 
that sounds a bit less demanding, while still being very closely related to 
the original.

The response I expected to that original post, and would even have expected 
to the question in this previous paragraph, is that no, unfortunately there 
are no/few significant vendors that are interested in Linux users to this 
extent.  I would be satisfied with this answer, though di

Bad news for Epson Perfection v330

2012-02-15 Thread Anthony Campbell
I bought one of these in December and it worked well with the driver
from Avasys.

A couple of days my HDD crashed. After reinstalling on a new one I find
that the drivers for this scanner are now being provided by Epson and
they are not installable on Debian because of dependency problems.

This scanner is therefore now useless to me.

Don't buy it.

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux
http://www.acampbell.org.uk - sample my ebooks
at http://www.smashwords.com/profile/view/acampbell


-- 
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/20120215200340.ga2...@ithaca.acampbell.org.uk



Re: Need help on missing Dia shape icons

2012-02-15 Thread luger

Camaleón wrote:

On Tue, 14 Feb 2012 21:35:04 -0600, luger wrote:


I just installed the "dia" package, dia starts up fine but immediately
gives me a warning:

failed to load icon for file
   /usr/share/dia/shapes/Flowchart/display.png
  cause=Couldn't recognize the image file format for file
'/usr/share/dia/shapes/Flowchart/display.png'

and also tells me there are 49 more messages.


(...)

The rest of the messages also point to PNG files?

How about running the application (dia) from an empty/clean user?

Although the error above seems like pointing to some sort of package/
library ("libgdk-pixbuf2.0-0" or maybe "libpng12-0") corruption :-?



Thanks Camaleón,

Yes, the rest of the (error) messages do point to the various other 
shape files and all have .png extension.


Tried creating user "guest", then started "dia" from that user.  Exactly 
same results.


I completely uninstalled and then reinstalled "libgdk-pixbuf2.0-0", 
"libpng12-0", along with "dia", "dia-common", "dia-libs", and 
"dia-shapes".  Before reinstalling, removed /usr/share/dia and the 
".dia" configuration directory under the username I'm using.  Still no 
change in either dia or synaptic.


I cannot help but think my synaptic problem is related, so I tried 
starting synaptic from a konsole window (as root) and it displayed a lot 
of similar messages, only they were in reference to xpm files.  Here's a 
typical synaptic message:


synaptic:3454): Gtk-WARNING **: Could not load image
'synaptic_mini.xpm': Couldn't recognize the image file format for file
'/usr/share/synaptic/gtkbuilder/synaptic_mini.xpm'

I note that the two lib packages you mentioned are used by a multitude 
of applications and include some that I know are working satisfactory.


OK, something is messed up, either through my error or from upgrading 
Wheezy.  All suggestions welcome.


Thanks,
Luger


--
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/4f3c1744.4080...@noark.net



Re: using a bluetooth headset

2012-02-15 Thread Celejar
On Wed, 15 Feb 2012 18:16:58 +0100 (CET)
Pierre Frenkiel  wrote:

> On Tue, 14 Feb 2012, Celejar wrote:
> 
> > IIUC, that snippet just sets up a profile that alsa applications can
> > use; they still need to be told individually to actually use this
> > profile. For example, using 'aplay', you'd do something like "aplay -D
> > bluetooth sound.wav". Each alsa app will have its own configuration
> > area where you set which alsa device you want it to use.
> 
>Sorry, but if I may invent a new acronym, I think, according all the
>test I've done, that YDUC...
>I have 4 devices, for which I have 4 different alsa config files:
> 
>   .asoundrc.asoundconf.live (internal SoundBlaster)
>   .asoundrc.asoundconf.z305 (usb speaker)
>   .asoundrc.asoundconf.z515 (wireless speaker)
>   .asoundrc.headset
> 
>   If I do
>  ln -fs .asoundrc.asoundconf.live .asoundrc.asoundconf
>   the sound is sent to my SB-live card, from any program but mplayer,
>   without specifying any device for them (aplay, vlc, totem, xine,
>   skype)
>   If I do
>  ln -fs .asoundrc.asoundconf.z515 .asoundrc.asoundconf
>   the sound is sent to my wireless speaker, with all these programs.
>   and idem for the z305.
>   But,if I do
>  ln -fs .asoundrc.asoundconf.headset .asoundrc.asoundconf
>   the sound is only sent to my bluetooth headset from skype.
>   For the other programs, it goes to the SB-live card.
>   (NB: I had to disable pulseaudio to make it work from skype)
> 
>   Can anybody explain that?

Okay, perhaps IDUC ;) But I think that my understanding is actually
probably correct, just that there's something wrong with the bluetooth
subsystem. I've spent far too much time myself trying to get a
bluetooth headset working under linux, and it was incredibly
frustrating. The documentation is (was? it's been a while) horrible,
inconsistent, ridiculously sparse and outdated.

So I'm guessing that the system works the way we understand it, just
that something's wrong with the bluetooth part. Perhaps the other
applications are failing to connect to the bluetooth device and are
therefore defaulting to the SB?

>   As for pulseaudio, I always get "connection refused", for example
>   with pavucontrol.

I've never used Pulse.

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/20120215154401.9d337e3e.cele...@gmail.com



Re: how are html pages printed?

2012-02-15 Thread Camaleón
El 2012-02-15 a las 14:10 -0600, Mark Copper escribió:

(resending to the list)

> On Tue, Feb 14, 2012 at 11:26 AM, Camaleón  wrote:

(...)

> >> Also it is worth remembering there is *not* a problem printing to the
> >> same printer from either squeeze on AMD or wheezy on i386 machines, I
> >> beleive.
> >
> > You mean the 32-bits wheezy install can print that pages without
> > troubleshoot, using the same PPD file? It could be then a problem with
> > the 64-bits CUPS packages... anyway, I would try first with "pxlmono"
> > and see how it goes.
> 
> Successful, but confused.

"Success" and "confusion" are both good symptoms! :-)
 
> I was successful printing a UPS shipping label with the CUPS supplied
> pxlmono driver for the HL-5250DN **and** with the CUPS supplied
> foomatic/postscript driver (but not with the CUPS supplied lj5gray
> driver).
> 
> Of the two that worked, the foomatic/postscript driver seems to ignore
> the margins, so I'll leave on pxlmono for now although I'm confused
> what 'pxlmono' means.

http://www.openprinting.org/driver/pxlmono/

Basically, "pxlmono" is a PCL6 driver that can be used with your 
printer. I'd say is like a "last resort" when you experience problems 
with the recommended driver, which in your case, generated a bad output 
when printing the UPS labels.

Although the PS driver usually is the better option that provides 
better quality printouts, I also have found that PS it can be slower 
when sending complex bitmaps or PDF works to the printer. For such 
cases, I also have an additional printer instance configured in CUPS 
that uses the PCL6 driver so I can choose from where to print, 
depending on the job.

> I wasn't looking for that to happen.  I'm happy there's a user list
> and appreciative of Camaleon's help.
> 
> Mark

Glad the workaround also worked for you.

Anyway, I would report your findings either to Debian bug tracking 
system or directly to Brother. The PPD file for your printer is dated 
on 2005, maybe it's time for a deep review :-)

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/20120215203551.ga11...@stt008.linux.site



Re: "hostname" question during Debian installation

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 2:12 AM, Bob Proulx  wrote:
> Martin T wrote:


>> thank you for replies! So am I correct, that hostname set during the
>> installation is:

You're welcome.


>> 1) mapped to an address from 127.0.0.0/8 range in /etc/hosts file
>
> Specifically 127.0.1.1 so that it is always available and doesn't
> conflict or confuse with 127.0.0.1 localhost.  The newer networking
> subsystem is event driven and supports hotplug devices.  It may come
> and go.  Having a local address 127.0.1.1 will always exist and will
> always map back to the hostname even if the main networking is
> unplugged.
>
> It's different from traditional systems but it solves problems
> introduced by event driven hotpluggable network devices.  It allows a
> system to always be able to contact itself and the reverse mapping of
> the IP address back to a name always maps back to itself.
>
> This is important on mobile devices which may be offline but is a
> consistent strategy and works well on non-mobile devices too.

+1

"libnss-myhostname" provides the same functionality as adding the
"127.0.1.1" line in "/etc/hosts".


>> 2) written to /etc/mailname
>
> Yes. And also to /etc/postfix/main.cf if postfix is installed.  Or to
> other places if other MTAs are installed.

When you use "dpkg-reconfigure exim4-config" or "dpkg-reconfigure
postfix", "/etc/mailname" is updated; in postfix's case because "my
origin" is set to it in "/etc/postfix/main.cf".

Mutt also uses it but it can be overridden by "~/.muttrc".


>> 3) written to "message of the day" file
>
> No.  The /etc/motd doesn't include the hostname.  You are thinking of
> /etc/issue but it also doesn't include the hostname either.  It
> may include @char and \char sequences which substitute the dynamically
> hostname at runtime though.

"/etc/motd" is a symlink to "/var/run/motd", which is generated at
boot by "/etc/init.d/bootlogs" and contains the output "uname -snrvm",
so "/etc/motd" does contain a box's hostname.


>> 4) usually used in shell prompt(for example "\[\e]0;\u@\h:
>> \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$")

Like "/etc/issue" (where the hostname's set by "/n"), the hostname in
the prompt's set
 by "\h" so it's changed dynamically at boot.


--
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/CAOdo=SzOiK84jW+miJixSsagaa7=qhb6kyaaymdq1wsjkha...@mail.gmail.com



Re: rm -rf is too slow on large files and directory structure(Around 30000)

2012-02-15 Thread Bob Proulx
Christofer C. Bell wrote:
> unlink is slower than rm removing a 1.5GB file (at least on ext3):
> ...
> I suspect that removing a large number of non-zero byte files will be
> slower with unlink than rm.

If it is then it is pointing to a kernel performance issue.  Because
there is very little difference between them.  Until recently rm used
unlink(2) and there would have been no difference.  But recent
versions of coreutils now use unlinkat(2) for improved security now
instead.  Any difference in performace would be in the realm of the
kernel internals.  It doesn't seem to me like there should be any
significant difference.

Bob


signature.asc
Description: Digital signature


Re: Get to the bottom of what is running my networks

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 12:57 PM, Harry Putnam  wrote:


> I'd like to know exactly how to start/stop retart etc the network
> configuration.
>
> But first it seems one must determine what is actually running them.
>
> in /var/log/boot  I see:
>
> grep -i NetworkManger /var/log/boot
> Mon Feb 13 13:27:14 2012: Starting network connection manager: NetworkManager.

/etc/init.d/network-manager restart
service network-manager restart
invoke-rc.d networkmanager restart


> apt-cache search nm-dhcp-client.action
>
>  
>
> Even apt-cache search  /sbin/dhclient gave no output.
>
> How can I have all these tools on my machine and apt doesn't know
> about them?

If a package's installed, use
dpkg -S /path/to/file

If it isn't installed, install apt-file, run "apt-file update", and use:
apt-file search /path/to/file


--
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/CAOdo=Sx3ERwREFbdP_V=LPDTs==KG1mrHZk7U4D5K4N+8mot=w...@mail.gmail.com



Need help dealing with the demise of qpopper

2012-02-15 Thread Paul E Condon
I have been using qpopper on some hosts on my home LAN.  I use
fetchmail, procmail, and mutt in an arrangement that I learned about
when I first took up using Debian many years ago. qpopper allowed me
to integrate watching system error messages into my mail set up
without ever having to learn much about real email administration.  I
just installed it and these other computers became POP3 servers ready
to respond to polling by fetchmail.

I have looked into qpopper replacement options. I'm sure setting up a
replacement will be easy for many, but for me it presents a
challenge. Is there a HowTo about this?  Specifically replace qpopper
with something else in this very limited application where qpopper
worked out-of-the-box? I have one computer running Wheezy now, and
I notice that on that computer in aptitude, qpopper is listed as
obsolete or locally generated. So now I could be looking into the
replacement ahead of the release of Wheezy. But I need help.

My wish is that some kind soul will create a new package named
'qpopper' for which the description in aptitude will be something like

"This is not qpopper. It is a substitute that works like the old
Qualcomm popper, but using more modern software. If you intend any
deviation from the basic Qualcomm popper install ... instead."


TIA
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
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/20120215211838.gb6...@big.lan.gnu



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Bob Proulx
Tom H wrote:
> /etc/init.d/network-manager restart

Fine.

> service network-manager restart

Better.

> invoke-rc.d networkmanager restart

  typo fix s/networkmanager/network-manager/

Not needed.  'invoke-rc.d' is completely redundant with 'service' for
the human user.  For the human 'service' is the better way.

The requirement for package postinst scripts to call invoke-rc.d is so
that invoke-rc.d can call policy-rc.d and respect any local policy
decisions about what should or should not be running.  Such as not
running daemons in a chroot.  So packages need to call invoke-rc.d in
their postinst scripts but the human admin presumably is starting or
stopping something and wants it to happen regardless of the
policy-rc.d settings.

Bob


signature.asc
Description: Digital signature


Dell Dimension 2400

2012-02-15 Thread David J Meyer
To all
I have a Dell Dimension 2400 with the onboard video chipset. I have
installed Squeeze on to the computer.
The OS seems to be working fine.  I can access the Apache server and the
page and application that it provides.
I also have configured it as a print server which also works the way it
should across my intranet.
However the display freezes after a while.  No specific length of time.
During the install it had issues with the video
mode 314 which if you go to the expert graphical installer you can
bypass that and make it use 800x600 with depth of 16.
I configured it to install the hardware only drivers in the kernel as
compared to all.
When it freezes display goes dark, mouse pointer is present and follows
the movement.  I have snooped around on the internet and the problem is
not rare but really have seen no answers to resolve the issue. However
there was one suggestion to change to onboard video ram from 1mb to 8mb.
I tried that and it seemed to make the matter worse.
The computer had several different versions of Fedora with the last one
being 16 and that was nothing but a headache
but the display worked fine.

Any ideas would be greatly appreciated.  Checked to see if it was
reported as a bug but do not see anything.

Thank you in advance


David J Meyer
KB9VLH



Re: "hostname" question during Debian installation

2012-02-15 Thread Bob Proulx
Tom H wrote:
> Bob Proulx wrote:
> > Yes. And also to /etc/postfix/main.cf if postfix is installed.  Or to
> > other places if other MTAs are installed.
> 
> When you use "dpkg-reconfigure exim4-config" or "dpkg-reconfigure
> postfix", "/etc/mailname" is updated; in postfix's case because "my
> origin" is set to it in "/etc/postfix/main.cf".

I thought it set 'myhostname'.  No?  I should try a pristine
installation and look.

> Mutt also uses it but it can be overridden by "~/.muttrc".

Doesn't mutt simply use `hostname`?

> >> 3) written to "message of the day" file
> >
> > No.  The /etc/motd doesn't include the hostname.  You are thinking of
> > /etc/issue but it also doesn't include the hostname either.  It
> > may include @char and \char sequences which substitute the dynamically
> > hostname at runtime though.
> 
> "/etc/motd" is a symlink to "/var/run/motd", which is generated at
> boot by "/etc/init.d/bootlogs" and contains the output "uname -snrvm",
> so "/etc/motd" does contain a box's hostname.

You are right.  It does have the hostname.  But it isn't something
that needs to be updated.  It is fully dynamic.  I think it falls into
the category of things that /use/ the hostname but don't need to be
/set/ to it.

> >> 4) usually used in shell prompt(for example "\[\e]0;\u@\h:
> >> \w\a\]${debian_chroot:+($debian_chroot)}\u@\h:\w\$")
> 
> Like "/etc/issue" (where the hostname's set by "/n"), the hostname in
> the prompt's set
>  by "\h" so it's changed dynamically at boot.

Yep.  So nothing needs to be done about it.

Bob


signature.asc
Description: Digital signature


Re: Get to the bottom of what is running my networks

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 4:26 PM, Bob Proulx  wrote:
> Tom H wrote:
>>
>> invoke-rc.d networkmanager restart
>
>  typo fix s/networkmanager/network-manager/

Oops. 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/CAOdo=SyfUuE0KCh4wLps85+1w9T9eYhvwcHv_m=vprp1cul...@mail.gmail.com



Re: Networking Q concerning /etc/network/interfaces

2012-02-15 Thread Brian
On Wed 15 Feb 2012 at 10:07:52 -0500, Harry Putnam wrote:

> In the confused thread I butchered, I missed this little snipped from
> Brian. I very much appreciate this explanation.  I had it wrong.

You're being too hard on yourself. I get things wrong all the time and
it may be only months later I realise it.

> I thought that without the machine being set up as a router.  That is,
> with /proc/sys/net/ipv4/ip_forward set to 0, in that case the eth1 adaptor
> would NOT ask eth0 anything, and would not communicate anything about
> eth0 back to host b.

The eth1 interface is obliged by ARP to either discard the request or to
communicate back what it has been able to find out.

> I had no experience with that scenario, but that was my first thought
> on it.
> 
> I'm still a little unclear just how eth1 queries eth0.  The part in
> Brians explanation that says: 
> "[ ...]  eth1 is aware 192.168.1.54 isn't its address but, being 
> conscientious, asks about on the machine it lives on.   eth0 says: 
> 'hey that's me!'. eth1 then tells host b: 'I've found what you are 
> looking for, 192.168.1.54's traffic can be sent to 192.168.1.42 first."

Did I say that? It's a demonstration of what can happen when you become
overenthusiastic! But, in the absence of a networking guru, the essence
is there.

> Just how is that asking and reporting part performed?  Does eth1 then
> handle all traffic to and from eth0?

eth1 doesn't actually query eth0 directly. I was being dramatic. :)

The ARP request goes to the kernel, which knows about everything on the
machine. It instigates the reply that the IP asked for is known there.
How traffic to eth0 is dealt with depends on how the machine is set up
but it must first go through eth1 in the situation you describe - no
network cable attached to it.

An analogy: Mr Harry Putman walks into Hotel Debian. He approaches the
reception desk and asks whether Mr Important Person (IP to his friends)
is staying there and whether he may speak with him. The concierge says
he is but all communication must go through her and, for a small
consideration, she will set up the channels.




-- 
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/20120215213914.GA2869@desktop



Re: Bad news for Epson Perfection v330

2012-02-15 Thread hvw59601

Anthony Campbell wrote:

I bought one of these in December and it worked well with the driver
from Avasys.

A couple of days my HDD crashed. After reinstalling on a new one I find
that the drivers for this scanner are now being provided by Epson and
they are not installable on Debian because of dependency problems.

This scanner is therefore now useless to me.

Don't buy it.



What's the matter with iscan-data_1.13.0-1_all.deb that Avasys provides?

Hugo


--
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/jhh9oi$saq$1...@dough.gmane.org



Re: Bad news for Epson Perfection v330

2012-02-15 Thread richard
On Wed, 15 Feb 2012 15:57:38 -0600
hvw59601  wrote:

> Anthony Campbell wrote:
> > I bought one of these in December and it worked well with the driver
> > from Avasys.
> > 
> > A couple of days my HDD crashed. After reinstalling on a new one I
> > find that the drivers for this scanner are now being provided by
> > Epson and they are not installable on Debian because of dependency
> > problems.
> > 
> > This scanner is therefore now useless to me.
> > 
> > Don't buy it.
> > 
> 
> What's the matter with iscan-data_1.13.0-1_all.deb that Avasys
> provides?
> 
> Hugo
> 
> 

I'm going to be in the same boat as I have the same scanner, and
haven't set it up since loading wheezey. B"£$%x

-- 

-- 
Best wishes / 73
Richard Bown

e-mail: rich...@g8jvm.com   or   richard.b...@blueyonder.co.uk

nil carborundum a illegitemis
##
Ham Call G8JVM . OS Fedora FC16 x86_64 on a Dell Insiron N5030 laptop
Maidenhead QRA: IO82SP38, LAT. 52 39.720' N LONG. 2 28.171 W ( degs
mins ) QRV HF + VHF Microwave 23 cms:140W,13 cms:100W,6 cms:10W & 3
cms:5W
##
 



--
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/20120215220807.37a7f...@lap.g8jvm.com



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Brian
On Wed 15 Feb 2012 at 12:57:24 -0500, Harry Putnam wrote:

[Snip]

> Honestly it is confusing... surely there is some straight forward way
> by now on this modern of a version of debian to simply work with the
> tools that control networking...

There is: ifupdown

> Command line is my preferred idiom, but anything would be a good
> start.

No - you do not want anything.

> There must be a quick and easy way to start stop cleanly without major
> study and scrutinizing of vast man pages or such.

Some reading is unavoidable. In fact, it is essential.

> Can anyone provide a simple step by step procedure?

For what? You haven't descibed the network setup and what you want to
achieve.

> Another distro I've used worked with a simple 
> /etc/init.d/net.eth[0-9] start/stop/status
> 
> And a brief and easily understood configuration in /etc/conf.d/net.
> 
> Do we have anything similar?  A basic underlying control mechanism
> that supersedes any add-on gui bunkem?

ifupdown.


-- 
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/20120215215437.GB2869@desktop



Re: Bad news for Epson Perfection v330

2012-02-15 Thread Chris Davies
Anthony Campbell  wrote:
> A couple of days my HDD crashed. After reinstalling on a new one I find
> that the drivers for this scanner are now being provided by Epson and
> they are not installable on Debian because of dependency problems.

You've said the same thing over on news://uk.comp.os.linux/

The drivers have just installed fine for me here, with no dependency
issues. Please be more precise with your complaint.

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/filt09xm08@news.roaima.co.uk



Re (2): Display on IBM ThinkPad A22m

2012-02-15 Thread peasthope
*   From: Andrei POPESCU 
*   Date: Wed, 15 Feb 2012 12:12:09 +0200
> My understanding is that the point of "Xorg -configure" is to give you a 
> template to modify. 

Well yes, certainly.  I included it so readers would get  
the Xorg view of the hardware.

> Since Xorg was able to generate it I'm assuming it 
> will be able to detect all settings on the fly as well ;)

Not sure about that.  This doesn't seem right.

root@whiterock:~# xrandr -q
Can't open display

Also this.

root@whiterock:~# grep 1400 /var/log/Xorg.0.log
(II) R128(0): Panel size: 1400x1050
(II) R128(0): Not using default mode "1400x1050" (hsync out of range)
(II) R128(0): Not using default mode "1400x1050" (hsync out of range)
(II) R128(0): Not using default mode "1400x1050" (hsync out of range)
(II) R128(0): Not using default mode "1400x1050" (hsync out of range)

Appears to be a bug in r128.

Seems this might help to get a workaround?

root@whiterock:~# gtf 1400 1050 75

  # 1400x1050 @ 75.00 Hz (GTF) hsync: 82.20 kHz; pclk: 155.85 MHz
  Modeline "1400x1050_75.00"  155.85  1400 1496 1648 1896  1050 1051 1054 1096 
-HSync +Vsync

I chose 75 Hz in ignorance.  What refresh rate is sensible?

Thanks, ... Peter E.

-- 
Telephone 1 360 639 0202.  bcc: peasthope ... shaw.ca
"http://carnot.yi.org/ "
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
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/171057423.59098.57765@cantor.invalid



Re: Bad news for Epson Perfection v330 - SOLVED

2012-02-15 Thread Anthony Campbell
On 15 Feb 2012, Anthony Campbell wrote:
> I bought one of these in December and it worked well with the driver
> from Avasys.
> 
> A couple of days my HDD crashed. After reinstalling on a new one I find
> that the drivers for this scanner are now being provided by Epson and
> they are not installable on Debian because of dependency problems.
> 
> This scanner is therefore now useless to me.
> 
> Don't buy it.
> 

Sorry to follow up to myself but I found a solution. The missing
dependency was libltdl3, which is no longer available. But after more
googling I found libltdl3_1.5.26-4+lenny1_i386.deb. This allows me to
install iscan. Panic over - apologies for over-reaction.

AC

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell


-- 
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/20120215222901.ga13...@acampbell.org.uk



Re: Re: About a bug in libpam-mysql package on squeeze

2012-02-15 Thread Onur R. Bingol

Hello Camaleón,

"verbose" variable is set to 1 in this case. If not, I cannot retrieve 
any information regarding to this problem.


You are right about the date of the update, but I will just give a try 
by submitting this problem as a bug.


Thank you your answer :)

Regards,

--
Onur R. Bingol


--
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/4f3c2de7.8090...@gmail.com



Re: Sound problems (Fixed?)

2012-02-15 Thread Emil Payne
I have Firefox set to load automatically on login. Today I quit firefox 
because it locked up. As soon as I did sound started working all over 
the place.  I restarted Firefox and sound still works. Hopefully it will 
keep working. I still don't understand hoe Firefox would cause other 
programs (like Audacicious and Gnome Player) to load but have the volume 
controls greyed out.


Anyway, here's to everything continuing to work (Knock on wood).

On 02/14/2012 06:52 AM, Emil Payne wrote:

---
root@babylon:/home/john# uname -a
Linux babylon 2.6.32-5-686 #1 SMP Mon Jan 16 16:04:25 UTC 2012 i686 
GNU/Linux

root@babylon:/home/john#

root@babylon:/home/john# cat /etc/*release
DISTRIB_DESCRIPTION="DebianEdu/Skolelinux"
root@babylon:/home/john#

root@babylon:/home/john# cat /etc/issue
Debian GNU/Linux 6.0 \n \l
root@babylon:/home/john#
---

Sound in almost all applications has quit.  In fact the only app with 
sound seems to be Firefox. At least I can hear things like youtube videos.


Also, when I log in to my account (I am the only user and log into a 
normal user account) I do get the login sound.


root@babylon:/home/john# lspci
00:00.0 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio 
(rev a2)

00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 
6150SE nForce 430] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor 
HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor 
Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor 
DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor 
Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] Family 10h Processor 
Link Control

root@babylon:/home/john#


 What other info does someone need to help me, or where can I go to 
get help info?



*TODAY*/(Beta) /*.*Powered by Yahoo!

Valentine's Day finds a niche in Islamic Iran 

The romantic holiday thrives despite attacks by ruling clerics on 
"decadent" cultural imports.


Privacy Policy 





Re: Installing debian, dual boot on 1 TB disk?

2012-02-15 Thread ACro
Quoting Gerald :

> Hi Andrew,
> I rang Microsoft and explained the I wanted a data partition on the
> 1TB drive to 
> store data . I told them I thought the 890GB of space taken up by
> windows a bit of 
> waste since If I had to re-install the system it deleted all the
> data as well.
> They gave me 2 pointer to download the 32 and 64 bit versions of
> win7.
> I do not use Windows except to set up the Canon Printer for which
> we don't not yet 
> have driver for and for Warranty purposes.
> It is now installed with win7 100GB and a windata partition of 50GB
> and the rest for 
> Linux.
> Gerald


Hi Gerald,
thanks for your feedback. Nice, diplomatic solution. I'll do the same if I'll 
ever bump again into a similar problem. I also use an old Windows XP for 
similar purposes; fortunately without all the obstacles implied by W7. Anyway, 
this saturation of primary partitions suggests that MS is trying to make the 
installation of "foreign" OSs more and more difficult. I don't like this at 
all, sounds like suppression of freedom.
All the best,
Andrew


-- 
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/1329345629.4f3c345dac...@mail.bluebottle.com



Re: Re: rm -rf is too slow on large files and directory structure(Around 30000)

2012-02-15 Thread Clive Standbridge
> But may provide some benefit when removing a large number (3) of
> files (at least empty ones).
> 
> cbell@circe:~/test$ time find rm -type f -exec rm {} \;
> 
> real  0m48.127s
> user  1m32.926s
> sys   0m38.750s

First thought - how much of that 48 seconds was spent on launching
3 instances of rm? It would be instructive to try 

  time find rm -type f -exec rm {} \+

or the more traditional xargs:

  time find rm -type f -print0 | xargs -0 -r rm

Both of those commands should minimise the number of rm instances.
Similarly for unlink.

-- 
Cheers,
Clive


-- 
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/20120215225049.ga8...@rimmer.esmertec.com



Re: Installing debian, dual boot on 1 TB disk?

2012-02-15 Thread Andrei POPESCU
On Mi, 15 feb 12, 22:40:29, ACro wrote:
> 
> Hi Gerald,
> thanks for your feedback. Nice, diplomatic solution. I'll do the same 
> if I'll ever bump again into a similar problem. I also use an old 
> Windows XP for similar purposes; fortunately without all the obstacles 
> implied by W7. Anyway, this saturation of primary partitions suggests 
> that MS is trying to make the installation of "foreign" OSs more and 
> more difficult. I don't like this at all, sounds like suppression of 
> freedom.
> All the best,
> Andrew

I'd say Hanlon's Razor explains it better :p

"Never attribute to malice that which is adequately explained by 
stupidity."

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: Re (2): Display on IBM ThinkPad A22m

2012-02-15 Thread Andrei POPESCU
On Mi, 15 feb 12, 14:27:26, peasth...@shaw.ca wrote:
> * From: Andrei POPESCU 
> * Date: Wed, 15 Feb 2012 12:12:09 +0200
> > My understanding is that the point of "Xorg -configure" is to give you a 
> > template to modify. 
> 
> Well yes, certainly.  I included it so readers would get  
> the Xorg view of the hardware.

I'd rather have the full Xorg.0.log :)

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: Programming in debian..HELP

2012-02-15 Thread Tony Baldwin
On Thu, Feb 16, 2012 at 12:14:15AM +0530, Bijoy Lobo wrote:
> The SDKs which i have header (.h) files which ask me to compile my app
> using them
> 

That didn't answer the question.
The question was "which programming language are you using".

./tony

> On Wed, Feb 15, 2012 at 10:20 PM, Camaleón  wrote:
> 
> > On Wed, 15 Feb 2012 18:14:58 +0530, Bijoy Lobo wrote:
> >
> > > I am looking to learn some Linux programming skills, My current
> > > situation is like, I have to integrate Third-party software with
> > > software like squid and iptables. The third party vendors have provided
> > > me with SDKs and I have no idea on  how to get them working with squid
> > > and iptables.
> >
> > I think you'll get more pointers to the right docs should you say what
> > programming language uses -or are available- for that SDK (python, perl,
> > c, c++...). Perl and Python are usuals for dealing with netfilter stack.
> >
> > Greetings,
> >
> > --
> > Camaleón
> >
-- 
http://www.tonybaldwin.me
all tony, all the time!


-- 
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/20120215233346.ga21...@deathstar.hsd1.ct.comcast.net



Re: Need help dealing with the demise of qpopper

2012-02-15 Thread Andrei POPESCU
On Mi, 15 feb 12, 14:18:38, Paul E Condon wrote:

[snip]

Don't know about POP3, but for IMAP I just installed dovecot-imapd and 
it automatically picked up my ~/Maildir/
I expect the same would happen with dovecot-pop3d (but I'm too lazy to 
test).

Could you give more details, like where the e-mails are stored, etc. ?

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 (3): Display on IBM ThinkPad A22m

2012-02-15 Thread peasthope
From:   Andrei POPESCU 
Date:   Thu, 16 Feb 2012 01:26:42 +0200
> I'd rather have the full Xorg.0.log :)

http://members.shaw.ca/peasthope/Xorg.0.log

... Peter E.

[-- 
Telephone 1 360 639 0202.  bcc: peasthope ... shaw.ca
"http://carnot.yi.org/ "
"http://members.shaw.ca/peasthope/index.html#Itinerary "


-- 
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/171057423.67405.57767@cantor.invalid



Re: Need help dealing with the demise of qpopper

2012-02-15 Thread Paul E Condon
On 20120216_015139, Andrei POPESCU wrote:
> On Mi, 15 feb 12, 14:18:38, Paul E Condon wrote:
> 
> [snip]
> 
> Don't know about POP3, but for IMAP I just installed dovecot-imapd and 
> it automatically picked up my ~/Maildir/
> I expect the same would happen with dovecot-pop3d (but I'm too lazy to 
> test).
> 
> Could you give more details, like where the e-mails are stored, etc. ?
> 
> Kind regards,
> Andrei
> -- 
> Offtopic discussions among Debian users and developers:
> http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic

Thanks but ...  What is dovecot? And which host is it to be installed?
Is it an MUA? An MTA? I want to pick up on my main computer the emails
that were sent to root on my other Debian computers. I used fetchmail
to do that on my mail computer and qpupper to make the other computer
responsive to fetchmail's requests. How can I continue in that mode?

When I started with Debian, emails were stored on one's home
computer. They were temporarily held in transit on a computer at one's
ISP. That is still the way I operate. I want to keep some of my
emails. I use bogofilter to help delete spam after every email is
received onto my home computer. It once was thought of as a very
common way of doing email. I had not realized that it is so old that
it is almost forgotten.

The thing that makes this 'on topic' is that it is a problem brought
on by a change in the offerings of the Debian repositories. What
can be done to maintain a system that has worked for several years?

Kind regards,
Paul
-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
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/20120216011711.gd6...@big.lan.gnu



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Harry Putnam
Tom H  writes:

> If a package's installed, use
> dpkg -S /path/to/file
>
> If it isn't installed, install apt-file, run "apt-file update", and use:
> apt-file search /path/to/file

Ok, again talking through my hat.  I miss-remembered  apt-file as
apt-cache.. So sure was I that it was the one I was after, I didn't
look at notes I took some time ago about how to find the package
belonging to a file.

I think I might even have know `dpkg -S /path/to/file once upon a
time.

Thank you sir for banging those commands home.  And very handy they are.


-- 
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/87y5s35xxo@newsguy.com



Re: free software mini pc

2012-02-15 Thread Stefan Monnier
> So to recap my original post, the basic requirements are:
> - fanless mini PC
> - it will run Debian
> - production environment (reliability is important)
> - good Linux support to facilitate fast deployment and low maintenance, 
> - avoiding non-free software (non-free firmware, out-of-tree kernel modules, 
>   ndiswrapper)

My Fit-PC2 is running stock Debian, and "vrms" tells me that the only
non-Free code it has installed is firmware-ralink (well, it also
mentions some non-DFSG packages which the FSF considers as Free).
The wireless chip was not well supported by the stock kernel when I got
it, but I haven't needed it very often and the few times I've needed it
it worked just fine (including "WPA Enterprise").

The same should hold for the Fit-PC3 (tho you may want to check their
forums first, since support for some particular features like the IR
interface or the watchdog may not all be supported by the current
kernel).  While they don't guarantee that the stock kernels supports all
the hardware, they do care about GNU/Linux support and provide fairly
good information on the forums about the available support, so you can
make up your mind before actually buying the unit.

You can actually buy them with some GNU/Linux pre-installed.

IOW it's one of the companies I've found to be most supportive of using
GNU/Linux on their devices.  I'd love to hear of others, especially if
they're even more clearly supportive of Free Software, since I like to
vote with my feet,


Stefan


-- 
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/jwvzkcja5va.fsf-monnier+gmane.linux.debian.u...@gnu.org



Re: free software mini pc

2012-02-15 Thread Stefan Monnier
> not a necessity, though it is desiable :).  A custom kernel that
> doesn't work is obviously going to be a problem, but if it works well
> enough then it would be fine for me.  But I guess it does make a

The problem is: what will you do with your machine three year down
the road?  Will you have to keep looking for some guy who keeps a custom
kernel up-to-date, or will you have to rely on an old version of the
kernel, and hence suffer from various "minor" problems as the user-space
code starts to rely on new features your kernel does not provide?

If your machine is supported by the stock kernel, all these problems are
pretty much absent: you can expect to simply "aptitude upgrade" for the
next ten years.


Stefan


-- 
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/jwvpqdfa58a.fsf-monnier+gmane.linux.debian.u...@gnu.org



Re: Dell Dimension 2400

2012-02-15 Thread Rob Owens
On Wed, Feb 15, 2012 at 02:57:42PM -0600, David J Meyer wrote:
> To all
> I have a Dell Dimension 2400 with the onboard video chipset. I have
> installed Squeeze on to the computer.
> The OS seems to be working fine.  I can access the Apache server and the
> page and application that it provides.
> I also have configured it as a print server which also works the way it
> should across my intranet.
> However the display freezes after a while.  No specific length of time.
> During the install it had issues with the video
> mode 314 which if you go to the expert graphical installer you can
> bypass that and make it use 800x600 with depth of 16.
> I configured it to install the hardware only drivers in the kernel as
> compared to all.
> When it freezes display goes dark, mouse pointer is present and follows
> the movement.  I have snooped around on the internet and the problem is
> not rare but really have seen no answers to resolve the issue. However
> there was one suggestion to change to onboard video ram from 1mb to 8mb.
> I tried that and it seemed to make the matter worse.
> The computer had several different versions of Fedora with the last one
> being 16 and that was nothing but a headache
> but the display worked fine.
> 
> Any ideas would be greatly appreciated.  Checked to see if it was
> reported as a bug but do not see anything.
> 
How about using a cheapo PCI or AGP video card?  Are you near NJ, USA?
I have a bunch of them in a box...

-Rob


-- 
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/20120216030731.ga30...@aurora.owens.net



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Harry Putnam
Brian  writes:

> On Wed 15 Feb 2012 at 12:57:24 -0500, Harry Putnam wrote:
>
> [Snip]
>
>> Honestly it is confusing... surely there is some straight forward way
>> by now on this modern of a version of debian to simply work with the
>> tools that control networking...
>
> There is: ifupdown

Ahh now we're talking.

[...]

> Some reading is unavoidable. In fact, it is essential.

`Some' reading is not a problem.
In fact the section: 

(wrapped for mail)
http://www.debian.org/doc/manuals/debian-reference/ch05.en.html#_the_basic
_network_configuration_with_ifupdown_legacy:

dealing with ifupdown is just my size.

>> Can anyone provide a simple step by step procedure?
>
> For what? You haven't descibed the network setup and what you want to
> achieve.

You may be over reaching a bit here, surely it was plain I wanted to
be able to stop/start a network...  And the command line tools you
have pointed to are high level tools, capable of start/stopping many
different configurations, so not so much about the details of the
network.

[...]

> ifupdown.

Yes sir, thank you, and point taken about not saying more precisely
what I am after.  More care is truly indicated!

Trying to be brief with the following description as well as concise
and clear.  But I suspect it will grow a bit windbaggy.

----   ---=---   -   

LOCALHOST has 2 nics; I want both to get a dhcp address but from 2
different servers, and on different subnets.

I use MAC matching on the dhcp servers to assign a specific dhcp
address to specific MACS, and there by arriving at something very
close to a statically assigned IPs for some hosts.

LOCALHOST is NOT being used as a router in the common understanding of
that term but is allowing traffic to/from 2 subnets.  Which is, of
course, the hall mark of a router.

The second subnet is not really expected to be used for full lan/wan
networking just yet.  The ethernet address on LOCALHOST matching the
second subnet 192.168.2.0/24 is on eth1, and is really only being used
to access a pet router (TP-Link WR1043ND) I am playing with using
openwrt OS software.

So the real and normal network traffic on lan is on subnet
192.168.1.0/24 and is currently being handled by cisco-linksys-WR120N.

The matching address on LOCALHOST is on eth0. And is the IP address
for LOCALHOST registered across the lan (192.168.1.42) in /etc/hosts
files. 

So the idea is to have this happen on boot: 

eth0 to be served a specific subnet 192.168.1.0/24 address
(192.168.1.42) from router cisco-linksys WR120N.

eth1 to be served a specific subnet 192.168.2.0/24 address 
(192.168.2.42) from router TP-Link WR1043ND

The tinkering router has IP 192.168..2.1 on its lan side and address
192.168.1.50 on its wan side.
----   ---=---   -   

I have it working right now but I'm not sure how much was done by
network-manager.  Not real sure what will happen on reboot, all though
it seems to have survived 1 reboot so far.

I'd like for it to be completely reliable of course and would prefer
to ditch network-manager and manage it with ifupdown tools.

----   ---=---   -  
One last point: I'm not sure if I need to block traffic at the gateway
router (cisco-linksys WR120N) to the 192.168.2.0/24 network, to be on
the safe side, and in fact do NOT really see how that would be done on
that router (but that is out of scope here).  Possibly that is already
being done by default (no traffic to the internal ranges that include
192.168.1.0/24 and 192.168.2.0/24.

Any advice on any of this is quite welcome. 


-- 
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/87ty2r5v3w@newsguy.com



Re: free software mini pc

2012-02-15 Thread green
Stefan Monnier wrote at 2012-02-15 20:25 -0600:
> > not a necessity, though it is desiable :).  A custom kernel that
> > doesn't work is obviously going to be a problem, but if it works well
> > enough then it would be fine for me.  But I guess it does make a
> 
> The problem is: what will you do with your machine three year down
> the road?  Will you have to keep looking for some guy who keeps a custom
> kernel up-to-date, or will you have to rely on an old version of the
> kernel, and hence suffer from various "minor" problems as the user-space
> code starts to rely on new features your kernel does not provide?
> 
> If your machine is supported by the stock kernel, all these problems are
> pretty much absent: you can expect to simply "aptitude upgrade" for the
> next ten years.

This is *precisely* why I prefer to purchase devices with full kernel 
support.

The question is, how can I be reasonably sure before the purchase?  In many 
cases the information is unavailable or difficult to find.


signature.asc
Description: Digital signature


Re: rm -rf is too slow on large files and directory structure(Around 30000)

2012-02-15 Thread Bilal mk
On Wed, Feb 15, 2012 at 12:14 PM, Bob Proulx  wrote:

> Bilal mk wrote:
> > I tried to remove 5GB directory. In that directory around 3 files and
> > directory. It will take more than 30 min to complete.
>
> A large number of files consuming a large number of blocks will take a
> significant amount of time to process.  That is all there is to it.
>
> Some filesystems are faster than others.  What filesystem are you
> using?  On what type of cpu?
>
> If you happen to be destroying an entire filesystem then you could
> simply destroy the entire filesystem by unmounting it and then making
> a new filesystem on top of it..
>
> > There is no other cpu intensive process running. After sometime it goes
> to
> > D state and unbale to kii that process.
>
> If you have processes stuck in the D state (uninterruptible sleep)
> then something bad has happened.  This would indicate a bug.
>
> It sounds like you are having kernel bugs.  You may need to fsck your
> filesystems.  I would double check that dma is enabled to your drives.
>

I am using xfs filesystem and also did the fsck. DMA is enabled.
Also perfomed xfs defragmentation( xfs_fsr). But still an issue not only rm
-rf but also cp command

USER   PID %CPU %MEMVSZ   RSS TTY  STAT START   TIME COMMAND
root  1134  0.0  0.0  0 0 ?*D*10:18   0:00
[kdmflush]

I have also tested disk with smartmontools. But reported no issues.

My kernel version is 2.6.32-5-amd64. I have also used same
configuartion(same kernel) and same hardware on another machine. But on
that machine there is no issue.

Is it a kernel bug or hardware issue. Any suggestion for troubleshooting or
fix this issue.

Thanks



> > I have also tried find with xargs method to remove. It will also take
> long
> > time to complete
> > find /directory | xargs rm -rf
>
> I doubt the problem is in rm since it has already been optimized to be
> quite fast.  The newer versions have even more optimization.  But it
> isn't worth the trouble to do anything other than wait.  Most of the
> time will be spent in the kernel organizing the now free blocks.
>
> If you want to experiment you could try find.
>
>  find /directory -depth -delete
>
> That is basically the same as rm -rf but using find only.
>
> Bob
>


Re: Get to the bottom of what is running my networks

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 4:54 PM, Brian  wrote:
> On Wed 15 Feb 2012 at 12:57:24 -0500, Harry Putnam wrote:
>
>> Honestly it is confusing... surely there is some straight forward way
>> by now on this modern of a version of debian to simply work with the
>> tools that control networking...
>
> There is: ifupdown

Since NM's active and therefore most probably controlling the
interfaces, the only interface defined in "/etc/network/interfaces"
will be "lo" and ifupdown won't work.

If you've defined or uncommented an interface in
"/etc/network/interfaces" and you have "managed=false" in the ifupdown
section of "/etc/NetworkManager/NetworkManager.conf", ifupdown'll
work. I'm not sure what'll happen if you use ifupdown when you have
"managed=true" in this case.


-- 
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/CAOdo=sxtmdwdnpkuhcsk71z+6trjr0r5iczosdx8byjfiup...@mail.gmail.com



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 9:12 PM, Harry Putnam  wrote:
> Tom H  writes:
>
>> If a package's installed, use
>> dpkg -S /path/to/file
>>
>> If it isn't installed, install apt-file, run "apt-file update", and use:
>> apt-file search /path/to/file
>
> Ok, again talking through my hat.  I miss-remembered  apt-file as
> apt-cache.. So sure was I that it was the one I was after, I didn't
> look at notes I took some time ago about how to find the package
> belonging to a file.
>
> I think I might even have know `dpkg -S /path/to/file once upon a
> time.
>
> Thank you sir for banging those commands home.  And very handy they are.

You're welcome.


--
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/CAOdo=SxvQ=eGWDYNX0QVAdqTP=cyngddtqa5u8+tp8ttfrh...@mail.gmail.com



Maintaining/resting gnome settings

2012-02-15 Thread T o n g
Hi,

My wife uses gnome, but the problem is that her gnome settings goes 
berserk every now and then. It won't be long for her to find out this is 
not working as expect, then that is not working as expect. I use fluxbox 
instead of DM, so I don't know gnome well. So all I can do is to remove 
any files/directories under her home dir that vaguely seems to be gnome 
settings. 

Now she found that she couldn't open .rar files any more. I tested under 
my gnome, and it works fine for me. Problem is, I just removed all her 
gnome setting related files/directories only about a month ago, and now I 
have to do find/delete/re-config again. 

I really have enough now, and am seeking real solutions. 
How can I keep just what I configured under home, instead of having 
several humongous gnome configuration files/directories under home.

Please help. Any tip appreciated. 

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


-- 
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/jhi4bp$mn7$1...@dough.gmane.org



notify osd stop working

2012-02-15 Thread J. Bakshi
Hello,

I did a upgrade yesterday and among the other the osd was been upgraded too.
Since then the osd stops working. I have also tested by

notify-send "hello"

But not notification at all.

Presently the notification packages I have

``
dpkg -l | grep osd

rc  libxosd2 2.2.14-2 X On-Screen Display library - runtime
ii  notify-osd   0.9.32-1 daemon that displays passive pop-up 
notifications

`

Any suggestion to fix the notification is very much appreciated.
I am missing my pidgin, claws  all notifications :-(


-- 
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/20120216101434.6f7bb...@shiva.selfip.org



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Harry Putnam
Tom H  writes:

> On Wed, Feb 15, 2012 at 4:54 PM, Brian  wrote:
>> On Wed 15 Feb 2012 at 12:57:24 -0500, Harry Putnam wrote:
>>
>>> Honestly it is confusing... surely there is some straight forward way
>>> by now on this modern of a version of debian to simply work with the
>>> tools that control networking...
>>
>> There is: ifupdown
>
> Since NM's active and therefore most probably controlling the
> interfaces, the only interface defined in "/etc/network/interfaces"
> will be "lo" and ifupdown won't work.
>
> If you've defined or uncommented an interface in
> "/etc/network/interfaces" and you have "managed=false" in the ifupdown
> section of "/etc/NetworkManager/NetworkManager.conf", ifupdown'll
> work. I'm not sure what'll happen if you use ifupdown when you have
> "managed=true" in this case.

Thanks for that bit about network-manager.

At this point, I've removed network-manager completely and hope I am
relying only on ifupdown tools to start/stop network.

 (At least I hope it is completely removed.  
  aptitude search  network-manager shows everything with the `p':

p   network-manager - network management framework (daemon and u
p   network-manager-dbg - network management framework (debugging sy
p   network-manager-dev - network management framework (development 
p   network-manager-gnome   - network management framework (GNOME fronte
p   network-manager-kde - transitional package for plasma-widget-net
p   network-manager-openvpn - network management framework (OpenVPN plug
p   network-manager-openvpn-gnome   - network management framework (OpenVPN plug
p   network-manager-pptp- network management framework (PPTP plugin 
p   network-manager-pptp-gnome  - network management framework (PPTP plugin 
p   network-manager-strongswan  - network management framework (strongSwan p
p   network-manager-vpnc- network management framework (VPNC plugin 
p   network-manager-vpnc-gnome  - network management framework (VPNC plugin
 
But still /etc/NetworkManager is there and contains a directory and
file:

  ls /etc/NetworkManager/system-connections/
  Wired connection 2

One thing I notice though, is that /etc/init.d/networking, which is
part of the ifupdown pkgs, can stop the network but appears unable to
start the network.  Is that normal?

# /etc/init.d/networking stop
,
| Deconfiguring network interfaces...Internet Systems Consortium DHCP Client 
4.1.1-P1
| Copyright 2004-2010 Internet Systems Consortium.
| All rights reserved.
| For info, please visit https://www.isc.org/software/dhcp/
| 
| Listening on LPF/eth1/00:11:09:ee:6c:04
| Sending on   LPF/eth1/00:11:09:ee:6c:04
| Sending on   Socket/fallback
| DHCPRELEASE on eth1 to 192.168.2.1 port 67
| Reloading /etc/samba/smb.conf: smbd only.
| Internet Systems Consortium DHCP Client 4.1.1-P1
| Copyright 2004-2010 Internet Systems Consortium.
| All rights reserved.
| For info, please visit https://www.isc.org/software/dhcp/
| 
| Listening on LPF/eth0/00:40:f4:b5:29:41
| Sending on   LPF/eth0/00:40:f4:b5:29:41
| Sending on   Socket/fallback
| DHCPRELEASE on eth0 to 192.168.1.1 port 67
| Reloading /etc/samba/smb.conf: smbd only.
| done.
`

OK, its stopped:

   route -n 
   Kernel IP routing table
  Destination  Gateway  Genmask  Flags Metric RefUse Iface

But /etc/init.d/networking start

 # /etc/init.d/networking start
 Configuring network interfaces...done.
  
Now check:

   route -n
  Kernel IP routing table
  Destination  Gateway  Genmask  Flags Metric RefUse Iface

Nothing is up

Of course, I can start/stop each with 

  ifup eth0  (or eth1)

But shouldn't they start with `/etc/init.d/networking start'
when I have something like this in /etc/network/interfaces:

  # The loopback network interface
  auto lo
  iface lo inet loopback

  # The primary network interface
  allow-hotplug eth0
  iface eth0 inet dhcp
  
  # a secondary network interface
  allow-hotplug eth1
  iface eth1 inet dhcp
  


-- 
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/87ehtvnvpt@newsguy.com



Re: "hostname" question during Debian installation

2012-02-15 Thread Tom H
On Wed, Feb 15, 2012 at 4:35 PM, Bob Proulx  wrote:
> Tom H wrote:
>> Bob Proulx wrote:


>>> Yes. And also to /etc/postfix/main.cf if postfix is installed.  Or to
>>> other places if other MTAs are installed.
>>
>> When you use "dpkg-reconfigure exim4-config" or "dpkg-reconfigure
>> postfix", "/etc/mailname" is updated; in postfix's case because "my
>> origin" is set to it in "/etc/postfix/main.cf".
>
> I thought it set 'myhostname'.  No?  I should try a pristine
> installation and look.

(Gmail's ever helpful autocorrect turned "myorigin" above into "my origin"...)

AFAIR, "myhostname" is "/etc/hostname" and "myorigin" is "/etc/mailname".

What I find somewhat weird is that when you install Debian,
"/etc/hostname" and "/etc/mailname" are the same. So if it's
"box.company.internal" and bob runs "mail tom", bob's address'll be
"bob@box.company.internal". That's fine when emailing on a box or from
one box to another within "company.internal".

There was a debian-devel thread where there was an argument about
whether "/etc/mailname" should be "box.company.internal" or
"company.internal".

If you you do a regular install or don't use a preseed that installs
postfix, you'll have exim4 by default. You can then change
"/etc/hostname" and "/etc/mailname", install postfix, and see what
gets pulled in as "myhostname" into "/etc/postfix/main.cf". I'm going
to try it too.


--
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/CAOdo=szxpn9tarycdah5nhmdvjt5orig6tyn6rb3fu+c04s...@mail.gmail.com



Re: Get to the bottom of what is running my networks

2012-02-15 Thread Tom H
On Thu, Feb 16, 2012 at 1:22 AM, Harry Putnam  wrote:
> Tom H  writes:
>> On Wed, Feb 15, 2012 at 4:54 PM, Brian  wrote:
>>> On Wed 15 Feb 2012 at 12:57:24 -0500, Harry Putnam wrote:


 Honestly it is confusing... surely there is some straight forward way
 by now on this modern of a version of debian to simply work with the
 tools that control networking...
>>>
>>> There is: ifupdown
>>
>> Since NM's active and therefore most probably controlling the
>> interfaces, the only interface defined in "/etc/network/interfaces"
>> will be "lo" and ifupdown won't work.
>>
>> If you've defined or uncommented an interface in
>> "/etc/network/interfaces" and you have "managed=false" in the ifupdown
>> section of "/etc/NetworkManager/NetworkManager.conf", ifupdown'll
>> work. I'm not sure what'll happen if you use ifupdown when you have
>> "managed=true" in this case.
>
> Thanks for that bit about network-manager.

You're welcome.


> At this point, I've removed network-manager completely and hope I am
> relying only on ifupdown tools to start/stop network.
>
> But still /etc/NetworkManager is there and contains a directory and
> file:
>
>  ls /etc/NetworkManager/system-connections/
>  Wired connection 2

NM's gone but it's config's still there.

You can check which packages are uninstalled but still have their
config hanging around with "aptitude search '?config-files'".

You can then run "apt-get purge " to get rid of the config
one particular package or "apt-get purge $(aptitude search
'?config-files' -F '%p" to get rid of all the leftover configs.


> One thing I notice though, is that /etc/init.d/networking, which is
> part of the ifupdown pkgs, can stop the network but appears unable to
> start the network.  Is that normal?
>
> # /etc/init.d/networking stop
>
> OK, its stopped:
>
>   route -n
>   Kernel IP routing table
>  Destination  Gateway  Genmask  Flags Metric Ref    Use Iface
>
> But /etc/init.d/networking start
>
>  # /etc/init.d/networking start
>  Configuring network interfaces...done.
>
> Now check:
>
>   route -n
>  Kernel IP routing table
>  Destination  Gateway  Genmask  Flags Metric Ref    Use Iface
>
> Nothing is up
>
> Of course, I can start/stop each with
>
>  ifup eth0  (or eth1)
>
> But shouldn't they start with `/etc/init.d/networking start'
> when I have something like this in /etc/network/interfaces:
>
>  # The loopback network interface
>  auto lo
>  iface lo inet loopback
>
>  # The primary network interface
>  allow-hotplug eth0
>  iface eth0 inet dhcp
>
>  # a secondary network interface
>  allow-hotplug eth1
>  iface eth1 inet dhcp

"/etc/init.d/networking" calls "ifup -a" and "ifdown -a".

"ifup -a"/"ifup --all" is the same as "ifup --allow=auto".

Since eth0 and eth1 are marked "allow-hotplug", they aren't affected
by "/etc/init.d/networking start" but they're affected by
"/etc/init.d/networking stop" because the "-a" in "ifdown -a" really
means "all interfaces", including, IIRC "lo".

If you want to bring eth0 and eth1 up in one command, use "ifup
--allow=hotplug".

To use "/etc/init.d/networking", you can either change "allow-hotplug"
to "auto" (or "allow-auto") or add "auto"/"allow-auto" lines to the
"allow-hotplug" ones (I've never tried the latter but Bob Proulx
suggested it recently).


--
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/CAOdo=sxhnsvj+f35k+s19h9yeh3rn8ree10rgnprbvb2hsp...@mail.gmail.com