Re: udev question

2010-12-31 Thread Camaleón
On Thu, 30 Dec 2010 13:00:32 -0500, Thomas H. George wrote:

> For Christmas I was given an ipod.  When connected to a usb port the
> system (Debian Squeeze, linux-2.6.32-5-amd64 stock kernel) gives the
> following response.

(...)

Apple products are "special" devices. You need more than magic to get 
them working.

There is a Debian wiki page about the iphone/ipod:

http://wiki.debian.org/iPhone

Ensure you have all the required packages installed, specially "ifuse" 
which seems to be the one in charge in mounting the device.

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/pan.2010.12.31.08.54...@gmail.com



Re: recursively count the words occurrence in the text files

2010-12-31 Thread Camaleón
On Thu, 30 Dec 2010 10:34:59 -0800, S Mathias wrote:

> I just can't google for it:

(...)

Just out of curiosity... why not? :-?

http://www.google.com/search?hl=en&complete=0&biw=1280&bih=839&&sa=X&ei=WpodTYuiIImi8QORlqXrBQ&ved=0CBYQvwUoAQ&q=bash+count+word+occurrences+in+files&spell=1

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/pan.2010.12.31.08.59...@gmail.com



Re: Serious filesystem bug?

2010-12-31 Thread Sjoerd Hardeman

Slobodan Aleksić schreef:

Hello everyone,

I don't know how to catogorize this:
I am using Debian/Squeeze on a laptop with an encrypted ext3 filesystem. 
(Encryption done through the debian-installer).
I have a h2-database running. It got corrupted many times. I had to " 
touch /forcefsck" and after a reboot and the forced filesystemcheck all 
was again okay.
The same problem appeared with downloaded ISOs. I ran md5sum checks on 
the ISO and they were wrong. After forcing a fsck at boottime the md5sum 
of the ISOs were correct!
This is not the unique, might have been unnoticed, filesystem usage that 
you'd expect for new bugs to occur. So my guess is that there might be a 
problem with your hardware. What does

 smartctl -H /dev/yourdrive
tell you? Also try
 smartctl --test=short /dev/yourdrive
and then
 smartctl --test=long /dev/yourdrive
Hopefully this uncovers something useful.

Sjoerd



signature.asc
Description: OpenPGP digital signature


Re: USB CD/DVD what's compatible

2010-12-31 Thread Camaleón
On Thu, 30 Dec 2010 19:21:48 -0600, Johnny wrote:

> I am thinking of buying a USB CD/DVD recorder which one would be
> compatible.  I did a google search, still doing research on USB CD/DVD
> recorders.  I have not come up with anything yet. I figured I would ask
> here.

Just an idea (is what I use to do).

Usually, bigger online shops allow posting comments on their products 
(like we discussed yesterday in another thread) and often users provide 
feedback about linux support ("it works under 'X' distribution or it 
doesn't work at all, etc...").

Amazon is one of the online retailers that provide that option but New
Egg is another one you can try:

http://www.newegg.com/Store/SubCategory.aspx?SubCategory=420&name=External-CD-DVD-Drives

Besides, I find their product filtering options very powerful.

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/pan.2010.12.31.09.12...@gmail.com



Re: Scanner recommendations

2010-12-31 Thread Anthony Campbell
On 30 Dec 2010, vr wrote:
> 
> Can anyone recommend a current shipping quality scanner they've
> bought and used with Squeeze? My Google searches return articles
> from 2000 and 2003. I'd like to scan 35mm negatives, slides, some
> photos and regular paper documents.
> 
> 

When I looked into this a year or so ago I couldn't find anything useful that 
would work with Linux. I have an Epson 1650 which works well (though it doesn't 
do negatives) and I wanted another to use in a different location. I managed to 
get one from ebay at a reasonable price.

I regard the present trend to have everything (printer, scanner, fax) built 
into a single machine a retrorade step. What if you already have a printer or 
don't like any of those that come with a scanner? You have to find room for a 
second printer which you don't need; there are further questions concerning the 
compatibility of all this stuff with Linux, and if something goes wrong with 
the printer (say), you have to repair or scrap everything at once. This is 
another example of the ill effects of the _market_ which have been discussed in 
another thread on this list in connection with wide-screen monitors. 


 

-- 
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/20101231090312.ga28...@acampbell.org.uk



making iso image with gnome?

2010-12-31 Thread Jude DaShiell
What program by default is used along alongside brasero in gnome to make 
an iso image from a directory or directory tree's contents?




--
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.bsf.2.00.1012310430230.80...@freire1.furyyjbeyq.arg



Re: permissions all zero when using 'cp'

2010-12-31 Thread Martin Lorenz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

it gets weirder ...


m...@x:/tmp$ ( env -i; LANG=C lsattr; )
- --- ./test
- --- ./ssh-IxYCtP5517
- --- ./strace1
lsattr: Permission denied While reading flags on ./test.bak
- --- ./strace2
- --- ./test.bak2
lsattr: Permission denied While reading flags on
./reportbug-base-20101229-15630-9rIBOP
- --- ./cp.strace.out

r...@x:/tmp# ( env -i; LANG=C lsattr; )
- --- ./test
- --- ./ssh-IxYCtP5517
- --- ./strace1
- --- ./test.bak
- --- ./strace2
- --- ./test.bak2
- --- ./reportbug-base-20101229-15630-9rIBOP
- --- ./cp.strace.out

r...@x:/tmp# ls -altr
insgesamt 44
drwxrwxrwt  2 root root  4096 29. Dez 15:06 .X11-unix
drwxrwxrwt  2 root root  4096 29. Dez 15:06 .ICE-unix
- -rw-rw-r--  1 root root 0 29. Dez 21:47 test.bak2
- -rw-rw-r--  1 root root 0 29. Dez 21:47 test
drwxr-xr-x 21 root root  4096 29. Dez 22:06 ..
- --  1 root root 0 29. Dez 22:22 test.bak
- -rwsr-Sr-T  1 root root  6449 29. Dez 22:22 strace1
- -rwsr-Sr-T  1 root root  6864 29. Dez 22:22 strace2
- --wx--s--T  1 root root   419 29. Dez 22:37
reportbug-base-20101229-15630-9rIBOP
- -rw-r--r--  1 root root  2139 30. Dez 20:23 cp.strace.out
drwx--  2 mlo  users 4096 31. Dez 10:48 ssh-IxYCtP5517
drwxrwxrwt  5 root root  4096 31. Dez 10:50 .



Am 30.12.2010 21:03, schrieb Bob Proulx:
> Martin Lorenz wrote:
>> m...@x:~$ type cp
>> cp is aliased to `cp -i'
>>
>> as root:
>>
>> r...@x:~# type cp
>> cp is /bin/cp
> 
> It looks okay.  I was hoping that it pointed to a different command
> that could be traced to a problem.  But apparently not.
> 
>>> Try running in a clean environment to see if it is an environment
>>> variable.  'env -i' will initialize an empty environment.
> 
> It looks okay.  I was hoping that an environment variable such as
> LD_PRELOAD or LD_LIBRARY_PATH would have pointed to a rogue library.
> Without that in the environment it would work.  But apparently not.
> 
> Those two ideas were my best guesses at what could cause such strange
> behavior.  Unfortunately your reply information does not show anything
> wrong that I can see in either of those two cases.
> 
>>> If that still shows a problem then look deeper with strace.
>>>   $ strace -v -e trace=file -o /tmp/cp.strace.out cp testfile1 testfile2
>> open("testfile1", O_RDONLY|O_LARGEFILE) = 3
>> open("testfile2", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0) = 4
> 
> That is perfectly normal for a 32-bit system.  Okay.
> 
>> does this tell you something?
> 
> Unfortunately your information looked normal and did not point me
> toward anything that looked like a problem.
> 
> Mike Bird's guess at selinux was a good question.
> 
> I am not conversationally fluent with filesystem attributes.  Is it
> possible that 'chattr' was run on your filesystem?  Try running
> 'lsattr' and listing the filesystem attributes to see if something has
> been set.  You will need to read the documentation for information as
> I know little about it but only that they exist.  For me I only see
> dashes on my filesystem because I have not set any attributes.
> 
>   lsattr
> 
> Sorry but I do not know.  I have exhausted my guesses.
> 
> Bob
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNHafzAAoJECZ8myNlGwU1ansH/j2pQzPNHkRU17ro8UETyVlb
RLPxWcuToxF61NJrvpdt7EVtTUC13EAGv07N+aMqaSs2xOcmgGHUVclJDp+tlPum
ckjKIXr0PR0mnDyVKV8Oa0jKqgII9o6zx3UjDrjdmI3cHMMCUOJb/XBu0WHy4smn
7cK4Z+wtG0TzzGR0mWh7MKl2J2bxfGOOYYT34er79CiFZ2W/CQzpq44Ln3snvDFF
0ygxO7Ag1B9OkGL6+aWjYXuqsFCJuoXrrPzH09dsGUDFqMNVU9pdXr/s/pXOwsU5
5S/8H3pEBb40FgJzxlghCNx598LjOOhHE1P0L82vxVcoAV4WI1iTS+3HmtmwF3w=
=Goqp
-END PGP SIGNATURE-


-- 
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/4d1da7fd.3080...@lorenz.priv.at



Re: Scanner recommendations

2010-12-31 Thread Camaleón
On Thu, 30 Dec 2010 14:46:58 -0500, vr wrote:

> Can anyone recommend a current shipping quality scanner they've bought
> and used with Squeeze? My Google searches return articles from 2000 and
> 2003. I'd like to scan 35mm negatives, slides, some photos and regular
> paper documents.

I would also look into HP/Epson/whatever "all-in-one" devices because 
most of these solutions provide drivers for linux (like "hplip" for HP 
devices or "avasys/image scan" for Epson ones).

Yes, I know, I also prefer by far a "stand-alone" scanner, but the good 
part is that these devices provide ADF capabilities, ethernet port and 
even wifi for a reasonable prize. Just check the device also supports 
scanning film negatives and slides alognside with the driver.

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/pan.2010.12.31.10.04...@gmail.com



Re: making iso image with gnome?

2010-12-31 Thread Camaleón
On Fri, 31 Dec 2010 04:33:09 -0500, Jude DaShiell wrote:

> What program by default is used along alongside brasero in gnome to make
> an iso image from a directory or directory tree's contents?

You mean what "backend"? :-?

I think is cdrkit, which contains "genisoimage", "wodim"...

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/pan.2010.12.31.10.10...@gmail.com



Re: wodim and perhaps nautilus surprise

2010-12-31 Thread Liam O'Toole
On 2010-12-30, Frank Lanitz  wrote:
> --Signature=_Fri__31_Dec_2010_00_13_13_+0100_plbmMFh+6iUim.J=
> Content-Type: text/plain; charset=US-ASCII
> Content-Disposition: inline
> Content-Transfer-Encoding: quoted-printable
>
> On Thu, 30 Dec 2010 17:31:34 + (UTC)
> Liam O'Toole  wrote:
>
>> On 2010-12-30, Jude DaShiell  wrote:
>> > I've been trying to help a friend burn his first cd on his system.  He =
> has=20
>> > gnome-desktop-environment and wodim with all dependencies installed.=20
>> > What he recently told me is that nautilus has no problem burning cd's b=
> ut=20
>> > wodim finds that cd burner unknown and unsupported.  Apparently things =
> are=20
>> > not coordinated between command line environments and g.u.i. environmen=
> ts=20
>> > with respect to supported hardware.
>>=20
>> While nautilus is burning a CD, look at the output of 'ps x'. It will
>> tell you which child process nautilus launches and which arguments it
>> uses.
>
> Well, IIRC is nautilus using brasero which is not using cdrecord/wodim.=20

That may well be the case in squeeze, but not in lenny (where brasero is
not installed in my case). But I must admit it's been a while since I
looked at this matter.

-- 
Liam O'Toole
Cork, Ireland



-- 
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/slrnihrc0u.4ac.liam.p.oto...@dipsy.tubbynet



Re: recursively count the words occurrence in the text files

2010-12-31 Thread Andrew McGlashan

Hi,

S Mathias wrote:

I just can't google for it:

I'm searching for a "bash" "one liner" (awk, perl, or anything) for this: 

there are text files, in several directories: 


mkdir one
mkdir two
mkdir three

echo "word1 word2 word3" > one/asf.txt
echo "word2 word4, word5" > one/asfcxv saf.txt
echo "word1. word2" > one/dsgsdg.txt

echo "word6, word3!" > two/sdgsd dsf.txt
echo "word6" > two/ergd.txt

echo "asdf, word2" > three/werdf.txt
echo "word7, word8 word9 word10" > three/qwerb erfsdgdsg.txt
echo "word4 word3" > three/web erg as.txt

so it does the magic* "recursively":

$ SOMEMAGIC > output.txt
cat output.txt
asdf 1
word1 2
word2 4
word3 3
word4 2
word5 1
word6 2
word7 1
word8 1
word9 1
word10 1
$


find . ! -name output.txt -type f|xargs cat | \
   tr -s ' .,' '\n\n\n'|sort -u | \
   while read x;do find . ! -name output.txt -type f| \
   xargs cat|echo $x: `grep -c $x `;done | \
   tee output.txt

That was fun...  of course, it was a one liner, but I added the 
formatting above for the email ;-)


Cheers

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


--
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/4d1db31e.1070...@affinityvision.com.au



Re: [OT] Re: microsoft.com -> NetBSD

2010-12-31 Thread Klistvud

Dne, 31. 12. 2010 05:45:58 je Nate Bargmann napisal(a):

* On 2010 30 Dec 12:50 -0600, Brad Alexander wrote:
> > I can only say that I love BSD licenses. I know many people can  
be anger
> > by this but I find that BSD licences are the best exponent for  
the true

> > and unconditional user freedom.
>
> I agree with Camaleón. Not to end 2010 with a flame war, but this is
> the one thing that irritates me most about the FSF. They advocate  
free
> software, which is a laudable goal, but they seem to only  
acknowledge

> it *if* you conform to their definition of free. By definition, if a
> user chooses to, they should be *free* to use commercial software  
and

> be as equally accepted as someone who opts not to have any binary
> blobs on their system. In their own way, Stallman and the FSF are
> trying to accomplish lock-in as much as the vendors...

Sorry, but as a contributor to a small Free Software project licensed
under GPL and LGPL, I respectfully disagree.  Much has been provided  
to

me because of the GPL and I believe that my contributions warrant the
same opportunity by others.  I do not want any of my contributions  
taken
proprietary by *any* entity for *any* reason.  I also do not see the  
GPL

as lock-in, rather as lock-out.


Couldn't agree more. It's a war. We really shouldn't fool ourselves  
about that. Countering the immense power of proprietary software  
companies with non-viral free licenses is like fighting against tanks  
with just bare hands. Corporations -- software ones included -- are  
*not* like us. They may contain some "decent people" but they are not  
themselves "decent people" like we are, they are soulless entities. We  
shouldn't make the mistake of personifying them, that is, of projecting  
our inner traits of honesty, decency, humanity, honor, or morality onto  
them: they have none of those. They just have *agendas*.


GPL gives developers of free software at least half a chance. It  
saddens me to see how many people fail, or refuse, to see that.


--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
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/1293792231.692...@compax



Re: making iso image with gnome?

2010-12-31 Thread Klistvud

Dne, 31. 12. 2010 10:33:09 je Jude DaShiell napisal(a):
What program by default is used along alongside brasero in gnome to  
make an iso image from a directory or directory tree's contents?


Well, I wouldn't know about "default" but I successfully use  
GnomeBaker. At least one of the two uses mkisofs as backend, if I'm not  
mistaken, so you may try that if you're a CLI guy.


--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
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/1293792621.692...@compax



Re: saytime kills sound

2010-12-31 Thread Elimar Riesebieter
* Camaleón [101230 17:23 +]:
[...]
> Nope, it's not even visible :-?

Don't bother us with wasteful stuff. See [0]. Saytime is actually
unusable.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587124

Elimar


-- 
  Learned men are the cisterns of knowledge, 
  not the fountainheads ;-)


--
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/20101231104242.ga4...@samweis.home.lxtec.de



Re: Setting Access Control for Printers and browser

2010-12-31 Thread Camaleón
On Thu, 30 Dec 2010 07:39:02 -0800, Christian Simo wrote:

> On Thu, Dec 30, 2010 at 2:19 AM, Camaleón wrote:
> 
>> Can you expand the information? The more details you provide the better
>> so people can have an idea of your requirements.
>>
> I want  to set up the authentication system, so user can login before
> use a printer or the browser for internet.
> It's can be also be able to know who was printing?

(...)

For printing, I would review CUPS documentation on policies:

http://www.cups.org/documentation.php/doc-1.4/policies.html

Concrete steps on how to setting up will vary based on how are you 
sharing the printer (ipp, samba...).

For network browsing, there are "proxies" like Squid that can be used for 
this same purpose (restrict access to web sites by using ACL and 
controlling/auditing  your users bandwith).

http://www.squid-cache.org/

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/pan.2010.12.31.11.19...@gmail.com



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Mike Bird
On Thu December 30 2010 22:27:33 Arthur Machlas wrote:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=608437

Wow, that was fast!  Thank you all!


-- 
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/201012310325.40518.mgb-deb...@yosemite.net



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Mike Bird
On Thu December 30 2010 22:29:00 Arthur Machlas wrote:
> Have you considered file-rc?

file-rc is on our list as a possible fallback but the key seems to
be to recover and then retain the combined intelligence that Debian
Developers have encoded into those Snn/Knn values over the years.

The rcN.d format is an excellent design if we can just keep insserv
from mangling it.

--Mike Bird


-- 
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/201012310330.35965.mgb-deb...@yosemite.net



Re: saytime kills sound

2010-12-31 Thread Camaleón
On Fri, 31 Dec 2010 11:42:42 +0100, Elimar Riesebieter wrote:

> * Camaleón [101230 17:23 +]:
> [...]
>> Nope, it's not even visible :-?
> 
> Don't bother us with wasteful stuff. 

That sounds a bit rough... what do you exactly consider is "wasteful" in  
helping people?

> See [0]. Saytime is actually
> unusable.
> 
> [0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587124

Well, that can explain some things (distorted sound output) but once you 
are stuck and lost your sound at all, it would be nice to know how to 
restore it without the needing of restarting the system.

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/pan.2010.12.31.11.30...@gmail.com



05_debian_theme in unstable's grub-pc

2010-12-31 Thread Brian
A portion of /etc/grub.d/05_debian_theme in grub-pc 1.98+20100804-11 has:

   # Earlier versions of grub-pc copied the default background image to 
/boot/grub
   # during postinst. Remove those obsolete images if they haven't been touched 
by
   # the user. They are still available under /usr/share/images/desktop-base/ if
   # desktop-base is installed.
   while read checksum background; do
   if [ -f "${background}" ] && [ "x`sha1sum "${background}"`" = 
"x${checksum}  ${
   background}" ]; then
   echo "Removing old background image: ${background}" >&2
   rm "${background}"
   fi
   done 

Re: 05_debian_theme in unstable's grub-pc

2010-12-31 Thread Steve Kemp
On Fri Dec 31, 2010 at 11:44:01 +, Brian wrote:

> I understand what its purpose is but am unclear as to the meaning of
> 
>. . . if they haven't been touched by the user.
> 
> as it doesn't appear possible to alter the sha1sum of a file by touching it.

  It's a shorthand way of saying "modified" - which would clearly
 change the hash.

  "I didn't touch the cake", is like "I didn't eat the cake" :)

Steve
-- 
Debian GNU/Linux System Administration
http://www.debian-administration.org/


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



Re: [OT] Re: microsoft.com -> NetBSD

2010-12-31 Thread Camaleón
On Thu, 30 Dec 2010 13:47:15 -0500, Brad Alexander wrote:

>> I can only say that I love BSD licenses. I know many people can be
>> anger by this but I find that BSD licences are the best exponent for
>> the true and unconditional user freedom.
> 
> I agree with Camaleón. Not to end 2010 with a flame war, but this is the
> one thing that irritates me most about the FSF. They advocate free
> software, which is a laudable goal, but they seem to only acknowledge it
> *if* you conform to their definition of free. By definition, if a user
> chooses to, they should be *free* to use commercial software and be as
> equally accepted as someone who opts not to have any binary blobs on
> their system. In their own way, Stallman and the FSF are trying to
> accomplish lock-in as much as the vendors...

Well, I don't see any strong contradictions in BSD licences (tagged as 
"new/modified") and the FSF... in fact the Modified BSD licencse it is 
listed in their site and marked as "GPL compatible":

http://www.gnu.org/licenses/license-list.html#GPLCompatibleLicenses

So we (BSD and FSF lovers) can all be happy :-)

In brief, I think non-copyleft licences are more user-oriented than gpl-
ed ones (which put the "full powers" on developer's hand).

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/pan.2010.12.31.12.58...@gmail.com



Re: [OT] Re: microsoft.com -> NetBSD

2010-12-31 Thread Andrei Popescu
On Jo, 30 dec 10, 18:40:57, Camaleón wrote:
> On Thu, 30 Dec 2010 10:11:43 -0800, S Mathias wrote:
> 
> > http://research.microsoft.com/en-us/downloads/754fee75-c5a0-4542-
> bf9b-47f236c0a90b/default.aspx
> > 
> > Any comments?
> 
> Additional information:
> 
> http://www.bsdnewsletter.com/2010/12/News180.html
> 
> I can only say that I love BSD licenses. I know many people can be anger 
> by this but I find that BSD licences are the best exponent for the true 
> and unconditional user freedom.

The most interesting for me was this (emphasis mine):

,
| Microsoft released their NetBSD installation ISO image with everything: 
| their custom scheduler, *full sources*, tools, man pages, etc. [...]
| (Under the nice NetBSD license.)
`

especially since the BSD license does not force them to release sources, 
or to release them under same license.

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: Installed Debian today.

2010-12-31 Thread Miles Bader
Robert Holtzman  writes:
>> LOL LTS is much buggy then non-LTS. 9.10 was the only stable version i have
>> used.
>
> That's the biggest bunch of BS I've seen in a long time. I've used the
> last 3 LTS releases and they have been completely stable.

So your experience is different.  Great.

> Your posts reflect several earmarks of a troll. 

and yours has several earmarks of an infuriated fanboy

-Miles

-- 
Alone, adj. In bad company.


-- 
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/87y676t7gz@catnip.gol.com



Re: 05_debian_theme in unstable's grub-pc

2010-12-31 Thread Brian
On Fri 31 Dec 2010 at 12:23:30 +, Steve Kemp wrote:

>   It's a shorthand way of saying "modified" - which would clearly
>  change the hash.
> 
>   "I didn't touch the cake", is like "I didn't eat the cake" :)

Thanks. That was one interpretation I thought of. So it's nothing to do
with touch(1)? Changing a file's timestamp wouldn't alter the hash.


-- 
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/20101231125830.ge32...@desktop



Re: [OT] Re: microsoft.com -> NetBSD

2010-12-31 Thread John Hasler
Brad Alexander writes:
> Not to end 2010 with a flame war, but this is the one thing that
> irritates me most about the FSF. They advocate free software, which is
> a laudable goal, but they seem to only acknowledge it *if* you conform
> to their definition of free.

The FSF explicitly acknowledges the BSD as a Free license.

> By definition, if a user chooses to, they should be *free* to use
> commercial software...

They are.
-- 
John Hasler


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



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Tom H
On Fri, Dec 31, 2010 at 6:30 AM, Mike Bird  wrote:
> On Thu December 30 2010 22:29:00 Arthur Machlas wrote:
>>
>> Have you considered file-rc?
>
> file-rc is on our list as a possible fallback but the key seems to
> be to recover and then retain the combined intelligence that Debian
> Developers have encoded into those Snn/Knn values over the years.

file-rc's moving towards using dependency-based boot:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573004


-- 
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/aanlktinx409uhbjg1zkwrasrsertadcftixqt3_gb...@mail.gmail.com



Re: [slightly OT] Internet accessible home security systems using Debian?

2010-12-31 Thread Camaleón
On Thu, 30 Dec 2010 13:37:20 -0800, Rick Thomas wrote:

> Does anybody have any experience installing/using an internet accessible
> home security system?
> 
> We recently bought a retirement home, but it will be a year or so before
> we can move in -- leaving the place uninhabited most of the time.  I'd
> like to install an inexpensive (under $1000 for parts -- I'll do the
> installation myself) CC-TV  ("CC"="closed circuit") and recorder that
> can be connected to a Linux-based computer I can access over the
> Internet.
> 
> Has anybody done such a thing?  Any recommendations?

There was a recent Unixmen article on this subject:

***
Howto Turn your old webcam into a motion-detecting security camera in 
Linux
http://www.unixmen.com/linux-tutorials/1018-how-to-turn-your-webcam-into-a-motion-detecting-security-spy-camera-in-linux
***

> A friend recommended Apex CC-TV.  Their web site has a setup with 4
> cameras and a 250GB DVR that has "the ability to remotely view live and
> recorded video from any Internet connection."   Has anybody here ever
> dealt with them?  Any thoughts?

You could also consider small domo IP networked cameras which provide an 
embedded mini web-server and they're easy to setup and control (basically 
you only need to provide the power and a dsl/cable Internet connection). 
Some of the more advanced devices also allow storing the data remotely or 
sending e-mails with attached images when motion is deteced or at 
predefined/regular intervals.

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/pan.2010.12.31.14.50...@gmail.com



Re: saytime kills sound

2010-12-31 Thread Hugo Vanwoerkom

Camaleón wrote:

On Fri, 31 Dec 2010 11:42:42 +0100, Elimar Riesebieter wrote:


* Camaleón [101230 17:23 +]:
[...]

Nope, it's not even visible :-?
Don't bother us with wasteful stuff. 


That sounds a bit rough... what do you exactly consider is "wasteful" in  
helping people?



See [0]. Saytime is actually
unusable.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587124


Well, that can explain some things (distorted sound output) but once you 
are stuck and lost your sound at all, it would be nice to know how to 
restore it without the needing of restarting the system.




There is something funny going on: when you get the source you do not 
get the Debian version: because that mentions using sox and there is no 
sox call through execl in saytime.c.


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/ifksa5$ou...@dough.gmane.org



Re: [slightly OT] Internet accessible home security systems using Debian?

2010-12-31 Thread Mirco Piccin
Hi again

>> Does anybody have any experience installing/using an internet accessible
>> home security system?

> You could also consider small domo IP networked cameras which provide an
> embedded mini web-server and they're easy to setup and control (basically
> you only need to provide the power and a dsl/cable Internet connection).

i prefer the Foscam ipcams:
http://www.foscam.com/
that are quite cheap (and can be used also in ZoneMinder environment)

Regards
M


Re: USB CD/DVD what's compatible

2010-12-31 Thread godo

On 12/31/2010 02:21 AM, Johnny wrote:

I am thinking of buying a USB CD/DVD recorder which one would be
compatible. I did a google search, still doing research on USB CD/DVD
recorders. I have not come up with anything yet.
I figured I would ask here.

Johnny



Hi,
I have Transcend TS8XDVDRW-W and he works with my Squeeze/Sid.

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


--
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/4d1dfc59.2070...@dobosevic.com



lenny to squeeze upgrade - printer not working

2010-12-31 Thread Filipe Freire
Hi

just upgraded from lenny to squeeze and the printer is not working.  I
manage it via http://localhost:631

jobs are sent and lpq says that they are printing but in cups the printer
status is Processing - "Printer is offline."

needless to say eveything was working fine before the upgrade.  Tried
restarting cups and lpd but did not make a difference.  The  printer is a HP
Deskjet 6500.

Any suggestions, shared experiences are welcome.

Best
Filipe


Re: lenny to squeeze upgrade - printer not working

2010-12-31 Thread Peter Beck
On Fri, 2010-12-31 at 18:36 +0100, Filipe Freire wrote:
> jobs are sent and lpq says that they are printing but in cups the
> printer status is Processing - "Printer is offline."

Hi Filipe,

Not sure, but as far as I can remember I had this recently too and
cupsenable did solve this issue...

Cheers
Peter

-- 
Wer die Freiheit aufgibt um Sicherheit zu gewinnen, 
der wird am Ende beides verlieren.


-- 
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/1293817185.13765.157.ca...@peanut.datentraeger.li



Re: [OT] Stupid consumers and inferior hardware (was: Monitor question)

2010-12-31 Thread briand
On Thu, 30 Dec 2010 10:03:24 -0500 (EST)
Stephen Powell  wrote:

> 
> Manufacturers are not doing this because the consumer wants it.  They
> are doing it to cut costs.  And they think they can get away with it.
> And sadly, in most cases, they are right.  Most consumers can't even
> tell that they are being ripped off.  If consumers stopped buying
> these inferior items, manufacturers would stop producing them.  But
> they don't. They keep buying them.  We're getting what we deserve,
> I'm afraid.
> 

they get away with it because most people run windows, the mfr provides
the driver, and when it breaks, people expect it because it's windows.

Remember the "tulip" ethernet chip ?  Friend of mine loaned me a card
for ethernet and it worked great.  I bought one and it didn't work
worth a darn.  Got his board back - worked great.

Examined the board carefully, they were exactly the same.  oh, except
for one minor thing.  the tulip chip had "rev B" on it.  My friends was
"rev A".

You will always be in trouble with hardware under Linux because of the
lack of mfr's drivers, and when they do provide drivers they are
generally binary objects, e.g. NVIDIA.

It's very frustrating, so I for one appreciate your rant :-)

Brian


-- 
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/20101231095025.056bc...@bamboo.deldotd.com



Re: 05_debian_theme in unstable's grub-pc

2010-12-31 Thread Bob Proulx
Brian wrote:
> Steve Kemp wrote:
> >   It's a shorthand way of saying "modified" - which would clearly
> >  change the hash.
> > 
> >   "I didn't touch the cake", is like "I didn't eat the cake" :)
> 
> Thanks. That was one interpretation I thought of. So it's nothing to do
> with touch(1)? Changing a file's timestamp wouldn't alter the hash.

Correct.  As Steve said, it is a common speech idiom for "modified".
In the way it was used it had nothing to do with the 'touch' command.

Bob


signature.asc
Description: Digital signature


Re: lenny to squeeze upgrade - printer not working

2010-12-31 Thread Peter Beck

> On Fri, 2010-12-31 at 18:36 +0100, Filipe Freire wrote:

> > Thanks Peter, it worked.

Hi Filipe,

great to hear that.
btw: don't reply to me directly, reply to the list ;)

A happy new year for you too!
Regards Peter



-- 
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/1293819721.13765.162.ca...@peanut.datentraeger.li



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Mike Bird
On Fri December 31 2010 06:32:27 Tom H wrote:
> file-rc's moving towards using dependency-based boot:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573004

It's bad enough that script kiddies insist on breaking things
they don't understand.  But then they abuse the Debian packaging
system by "requiring" instead of "recommending" unnecessary
packages so that people are forced to use their silly hacks.

Oh well.  I'm sure we'll find a way to preserve the many
years of work by Debian Developers that is encoded in the
Snn/Knn values.  The only question is whether it's a clean
on-off switch or whether we have to hack the source.

Here's to freedom and a great insserv-or-not-insserv new year!

--Mike Bird


-- 
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/201012311029.54026.mgb-deb...@yosemite.net



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Bob Proulx
Mike Bird wrote:
> But then they abuse the Debian packaging system by "requiring"
> instead of "recommending" unnecessary packages so that people are
> forced to use their silly hacks.

The new APT default is that Recommends are the same as Requires and so
a lot of unnecessary packages are now installed.  Those should now be
pushed into Suggests.

Bob


signature.asc
Description: Digital signature


Re: Re: Arrow keys won't scroll history in squeeze konsole/bash

2010-12-31 Thread Filipe Freire

Hi David,

did you find a solution for the problem with the arrow keys?  I just 
upgrade from lenny to squeeze and I am having exactly the same problem 
you reported in the debian users list.


Best,
Filipe


--
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/4d1e192f.1050...@lorentz.leidenuniv.nl



lenny to squeeze - key arrows not all working

2010-12-31 Thread Filipe Freire
Hi debians,

near the end of having everything working after my upgrade to squeeze.  One
last issue.

My keyboard, non usb, got its standard arrow key shortcuts disabled after
upgrade.  Tested with a usb keyboard and there everything works fine but
that is not my keyboard so still need to solve this.
Tried most options with gnome keyboard shortcuts and gconf-editor.  Is this
now a limitation form having a non usb keyboard?

Best,
Filipe


installing X with apt-get

2010-12-31 Thread Attila Csosz
Hi,

I'd like to install a minimal X window system with 'apt-get install', with a
simple window manager (for example icewm). How to do that?
I tried "apt-get install xserver-xorg xbase-clients xinit" but still have a
font problem (X exiting)
What is the simplest command for later use?

Thanks


Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Arthur Machlas
On Fri, Dec 31, 2010 at 12:35 PM, Bob Proulx  wrote:
> Mike Bird wrote:
>> But then they abuse the Debian packaging system by "requiring"
>> instead of "recommending" unnecessary packages so that people are
>> forced to use their silly hacks.
>
> The new APT default is that Recommends are the same as Requires and so
> a lot of unnecessary packages are now installed.  Those should now be
> pushed into Suggests.
>
> Bob

This post is pretty much entirely OT, but let's not start the New Year
with innaccurate information. Recommends are NOT the same as Requires.
What's happened - as of Lenny I thought, but perhaps Squeeze - is that
the option to "install recommends automatically" is now turned on by
default instead of off by default. You are, of course, free to change
it back to off before building up your minimal/customized install.

As for all the talk of losing years of wisdom and bug squashing and
what-not, I'm not really sure that's the case, but a debate about the
worthiness of insserv as a successor to all the Snn Knn links is
probably better suited to another thread, perhaps one where more dev's
hang out than here on user. In any event, if you hope to convince
people of that, I think calling DD's "Script kiddies", especially one
who just resolved the bug you noted and I reported within about 12
hrs, probably won't leave them too open to taking your position
seriously.


--
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/aanlktik_gd1fc2npuv2vkl153vbozmixuobrucs=v...@mail.gmail.com



Re: lenny to squeeze - key arrows not all working

2010-12-31 Thread Peter Beck
On Fri, 2010-12-31 at 19:41 +0100, Filipe Freire wrote:
> got its standard arrow key shortcuts disabled after upgrade

System -> Preferences -> Keyboard -> Mouse Keys is disabled ?
If the Mouse keys are enabled, the numberblock on the keyboard behaves
strange (imo)...maybe this is also affecting the arrowkeys ?

Cheers
Peter


-- 
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/1293822271.13765.165.ca...@peanut.datentraeger.li



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Andrei Popescu
On Vi, 31 dec 10, 11:35:26, Bob Proulx wrote:
> Mike Bird wrote:
> > But then they abuse the Debian packaging system by "requiring"
> > instead of "recommending" unnecessary packages so that people are
> > forced to use their silly hacks.
> 
> The new APT default is that Recommends are the same as Requires and so
> a lot of unnecessary packages are now installed.  Those should now be
> pushed into Suggests.

Feel free to file bugs for every package which abuses Recommends. Beware 
though, that Recommends, according to Policy, should be installed "on 
all but unusual installations".

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


signature.asc
Description: Digital signature


Re: installing X with apt-get

2010-12-31 Thread Andrei Popescu
On Vi, 31 dec 10, 19:49:40, Attila Csosz wrote:
> Hi,
> 
> I'd like to install a minimal X window system with 'apt-get install', with a
> simple window manager (for example icewm). How to do that?
> I tried "apt-get install xserver-xorg xbase-clients xinit" but still have a
> font problem (X exiting)
> What is the simplest command for later use?

You also need xfonts-base and possbily also xfonts-100dpi and 
xfonts-75dpi

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


signature.asc
Description: Digital signature


pci express wireless card doesn't show up in lspci

2010-12-31 Thread briand
Hi all,

the card is an Intel 3945ABG.

not seeing it in the lspci listing.

the PCI express port IS showing up.

The card could be bad, but it seems extremely unlikely as it's brand
new.

MB is an Intel Atom D945GSEJT.

I haven't done anything with PCI express card before, just want to make
sure that I'm not missing anything obvious.

I can install the iwl3945 driver, but it doesn't say anything about
detecting a card, and the card still doesn't show up even with the
driver installed.

I'm very suspicious that I've got something disabled somewhere...

Thanks

Brian


-- 
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/2010123914.0b484...@bamboo.deldotd.com



Re: installing X with apt-get

2010-12-31 Thread briand
On Fri, 31 Dec 2010 19:49:40 +0100
Attila Csosz  wrote:

> Hi,
> 
> I'd like to install a minimal X window system with 'apt-get install',
> with a simple window manager (for example icewm). How to do that?
> I tried "apt-get install xserver-xorg xbase-clients xinit" but still
> have a font problem (X exiting)
> What is the simplest command for later use?
> 
> Thanks

Here's the fonts I've got on my system.  I'm running as simply as I
can, with openbox for a window manager (and lxpanel).  Don't even have
a "login manager" or whatever it's called.  Just startx using .xsession.


ii  libxfont1   1:1.4.1-2 
 X11 font rasterisation library
ii  xfonts-100dpi   1:1.0.3   
 100 dpi fonts for X
ii  xfonts-base 1:1.0.3   
 standard fonts for X
ii  xfonts-encodings1:1.0.4-1 
 Encodings for X.Org fonts
ii  xfonts-mathml   4 
 Type1 Symbol font for MathML
ii  xfonts-utils1:7.6~1   
 X Window System font utility programs

Brian


-- 
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/20101231112400.6498d...@bamboo.deldotd.com



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Bob Proulx
Andrei Popescu wrote:
> Bob Proulx wrote:
> > Mike Bird wrote:
> > > But then they abuse the Debian packaging system by "requiring"
> > > instead of "recommending" unnecessary packages so that people are
> > > forced to use their silly hacks.
> > 
> > The new APT default is that Recommends are the same as Requires and so
> > a lot of unnecessary packages are now installed.  Those should now be
> > pushed into Suggests.
> 
> Feel free to file bugs for every package which abuses Recommends. Beware 
> though, that Recommends, according to Policy, should be installed "on 
> all but unusual installations".

The question is really one of philosophy.  Do you start with a good
foundation and then build upward?  Or do you start with a large fully
filled out structure and then remove the extraneous material?

I am a builder and so desire starting small and then adding on as
needed.  But if you are a sculptor then you desire to start fully
formed and to remove the material you don't want present.

I realize that these two ideologies are in opposition.  But I think
one is more scalable than the other and more suitable for a universal
operating system.

Bob


signature.asc
Description: Digital signature


Re: installing X with apt-get

2010-12-31 Thread Brian
On Fri 31 Dec 2010 at 19:49:40 +0100, Attila Csosz wrote:

> Hi,
> 
> I'd like to install a minimal X window system with 'apt-get install', with a
> simple window manager (for example icewm). How to do that?
> I tried "apt-get install xserver-xorg xbase-clients xinit" but still have a
> font problem (X exiting)
> What is the simplest command for later use?

I did something similar recently but without a window manager:

apt-get install xserver-xorg-video-geode

then

apt-get install xinit

followed by installing an X terminal-emulator. You will want something
other than the geode server.


-- 
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/20101231191329.gf32...@desktop



Re: pci express wireless card doesn't show up in lspci

2010-12-31 Thread Camaleón
On Fri, 31 Dec 2010 11:19:14 -0800, briand wrote:

> Hi all,
> 
> the card is an Intel 3945ABG.
> 
> not seeing it in the lspci listing.

(...)

Just in case, put the output of "lspci -nn | grep -i network" and 
"dmesg | grep -i network".

Also:

http://wiki.debian.org/iwlwifi

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/pan.2010.12.31.19.37...@gmail.com



Re: lenny to squeeze - key arrows not all working

2010-12-31 Thread Camaleón
On Fri, 31 Dec 2010 19:41:00 +0100, Filipe Freire wrote:

> My keyboard, non usb, got its standard arrow key shortcuts disabled
> after upgrade.  Tested with a usb keyboard and there everything works
> fine but that is not my keyboard so still need to solve this. Tried most
> options with gnome keyboard shortcuts and gconf-editor.  Is this now a
> limitation form having a non usb keyboard?

Any warning/error/unusual message in xorg's log file?

cat /var/log/Xorg.0.log | grep -i xkb

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/pan.2010.12.31.19.46...@gmail.com



Re: pci express wireless card doesn't show up in lspci

2010-12-31 Thread briand
On Fri, 31 Dec 2010 19:37:55 + (UTC)
Camaleón  wrote:

> On Fri, 31 Dec 2010 11:19:14 -0800, briand wrote:
> 
> > Hi all,
> > 
> > the card is an Intel 3945ABG.
> > 
> > not seeing it in the lspci listing.
> 
> (...)
> 
> Just in case, put the output of "lspci -nn | grep -i network" and 
> "dmesg | grep -i network".
> 
> Also:
> 
> http://wiki.debian.org/iwlwifi
> 
> Greetings,
> 

Good idea on the dmesg, I forgot about that !

Sadly the results are blank.

My guess is broken bios.  I'm working on downloading the latest.

When I went through the bios set-up I saw nothing related to
pci-express.  I'll look again...

Brian


--
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/20101231115208.6386a...@bamboo.deldotd.com



Re: pci express wireless card doesn't show up in lspci

2010-12-31 Thread Klistvud

Dne, 31. 12. 2010 20:19:14 je bri...@aracnet.com napisal(a):

Hi all,

the card is an Intel 3945ABG.

not seeing it in the lspci listing.

the PCI express port IS showing up.

The card could be bad, but it seems extremely unlikely as it's brand
new.

MB is an Intel Atom D945GSEJT.

I haven't done anything with PCI express card before, just want to  
make

sure that I'm not missing anything obvious.

I can install the iwl3945 driver, but it doesn't say anything about
detecting a card, and the card still doesn't show up even with the
driver installed.

I'm very suspicious that I've got something disabled somewhere...

Thanks

Brian



BIOS?

--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
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/1293825433.1409...@compax



Re: [OT] Stupid consumers and inferior hardware

2010-12-31 Thread Doug

On 12/31/2010 12:50 PM, bri...@aracnet.com wrote:

On Thu, 30 Dec 2010 10:03:24 -0500 (EST)
Stephen Powell  wrote:


Manufacturers are not doing this because the consumer wants it.  They
are doing it to cut costs.

/snip/

they get away with it because most people run windows, the mfr provides
the driver, and when it breaks, people expect it because it's windows.


/snip/

You will always be in trouble with hardware under Linux because of the
lack of mfr's drivers, and when they do provide drivers they are
generally binary objects, e.g. NVIDIA.

It's very frustrating, so I for one appreciate your rant :-)

Brian



Why does it bother you that the driver is a binary?  Are you qualified to
modify it if you had the source code?  Certainly 99% of us are not, nor
would we want to if we could.  In the immortal words of Anne Landers,
"If it ain't broke, don't fix it!"

(I, for one, am very happy that NVIDIA provides the driver.  I just
installed a card with their GeForce code in it, and I needed the driver.)

--doug

--
Blessed are the peacemakers...for they shall be shot at from both sides. --A. 
M. Greeley


--
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/4d1e383b.1030...@optonline.net



Re: permissions all zero when using 'cp'

2010-12-31 Thread Mike McClain
On Thu, Dec 30, 2010 at 08:26:31PM +0100, Martin Lorenz wrote:


> stat64("testfile2", 0xbfffd7b0) = -1 ENOENT (No such file or
> directory)
> 
> stat64("testfile1", {st_dev=makedev(144, 109), st_ino=37590572,
> st_mode=S_IFREG|S_ISUID|0450, st_nlink=1, st_uid=0, st_gid=0,
> st_blksize=4096, st_blocks=8, st_size=32, st_atime=2010/12/30-20:22:29,
> st_mtime=2010/12/30-20:22:29, st_ctime=2010/12/30-20:22:29}) = 0
> 
> stat64("testfile2", 0xbfffd624) = -1 ENOENT (No such file or
> directory)
> 
> open("testfile1", O_RDONLY|O_LARGEFILE) = 3
> open("testfile2", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0) = 4
> 

I see a difference when I run the same commands.
root@/deb40a:~> ( 
env -i; 
date > test1; 
strace -v -e trace=file -o /tmp/cp.strace.out cp test1 test2; 
cat /tmp/cp.strace.out; 
umask; )
This is the strace output minus the environment:
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
access("/etc/ld.so.preload", R_OK)  = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)  = 3
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/libacl.so.1", O_RDONLY)  = 3
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/libc.so.6", O_RDONLY)= 3
access("/etc/ld.so.nohwcap", F_OK)  = -1 ENOENT (No such file or directory)
open("/lib/libattr.so.1", O_RDONLY) = 3
lstat64("test2", 0xb790)= -1 ENOENT (No such file or directory)
stat64("test1", {st_dev=makedev(3, 1), st_ino=216364, st_mode=S_IFREG|0600, 
st_nlink=1, st_uid=0, st_gid=0, st_blksize=4096, st_blocks=2, st_size=21, 
st_atime=2010/12/31-09:04:24, st_mtime=2010/12/31-09:04:24, 
st_ctime=2010/12/31-09:04:24}) = 0
open("test1", O_RDONLY|O_LARGEFILE) = 3
open("test2", O_WRONLY|O_CREAT|O_LARGEFILE, 0100600) = 4
0077

You may have trimmed the 'access' and 'open' statements from your post 
but if you didn't and haven't built a static 'cp' then the version you're
running isn't accessing the libs.

When I run the same commands as user mike I see these diffs:
st_mode=S_IFREG|0644, st_uid=1000, st_gid=1000
open("test2", O_WRONLY|O_CREAT|O_LARGEFILE, 0100644) = 4
and umask is 0033.

The longer you run a cracked system the longer the cracker has to do 
something you'll like even less.

If you've room the easiest way I've seen to recover is to re-install on
a newly created partition then compare the new to the old before 
incorporating anything from the old into the new and NEVER boot the old
again.

Be sure to harden your system before putting the new one online since
someone already has the keys to your current system.
Use secure passwords, something like 'M05o05m41', your Mom's name
scrambled in with her birthday.

Good luck,
Mike
-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


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



Re: lenny to squeeze - key arrows not all working

2010-12-31 Thread Filipe Freire
Hi Peter,

mouse keys is disable.  Three of the arrow keys on the numbers keypad to the
right of the keyboard are working.  The plain four arrows keys are
completely off.  sigh...

But you are right, if I enable mouse keys even those that worked before stop
working.

Best
Filipe


On Fri, Dec 31, 2010 at 8:04 PM, Peter Beck  wrote:

> On Fri, 2010-12-31 at 19:41 +0100, Filipe Freire wrote:
> > got its standard arrow key shortcuts disabled after upgrade
>
> System -> Preferences -> Keyboard -> Mouse Keys is disabled ?
> If the Mouse keys are enabled, the numberblock on the keyboard behaves
> strange (imo)...maybe this is also affecting the arrowkeys ?
>
> Cheers
> Peter
>
>
> --
> 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/1293822271.13765.165.ca...@peanut.datentraeger.li
>
>


Re: lenny to squeeze - key arrows not all working

2010-12-31 Thread Filipe Freire
Hi Camaleón

this is what I get with cat /var/log/Xorg.0.log | grep -i xkb

(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"
(**) Option "xkb_rules" "evdev"
(**) Option "xkb_model" "pc105"

Filipe


On Fri, Dec 31, 2010 at 8:46 PM, Camaleón  wrote:

> On Fri, 31 Dec 2010 19:41:00 +0100, Filipe Freire wrote:
>
> > My keyboard, non usb, got its standard arrow key shortcuts disabled
> > after upgrade.  Tested with a usb keyboard and there everything works
> > fine but that is not my keyboard so still need to solve this. Tried most
> > options with gnome keyboard shortcuts and gconf-editor.  Is this now a
> > limitation form having a non usb keyboard?
>
> Any warning/error/unusual message in xorg's log file?
>
> cat /var/log/Xorg.0.log | grep -i xkb
>
> 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/pan.2010.12.31.19.46...@gmail.com
>
>


Re: pci express wireless card doesn't show up in lspci

2010-12-31 Thread briand
On Fri, 31 Dec 2010 20:57:13 +0100
Klistvud  wrote:

> Dne, 31. 12. 2010 20:19:14 je bri...@aracnet.com napisal(a):
> > Hi all,
> > 
> > the card is an Intel 3945ABG.
> > 
> > not seeing it in the lspci listing.
> > 
> > the PCI express port IS showing up.
> > 
> > The card could be bad, but it seems extremely unlikely as it's brand
> > new.
> > 
> > MB is an Intel Atom D945GSEJT.
> > 
> > I haven't done anything with PCI express card before, just want to  
> > make
> > sure that I'm not missing anything obvious.
> > 
> > I can install the iwl3945 driver, but it doesn't say anything about
> > detecting a card, and the card still doesn't show up even with the
> > driver installed.
> > 
> > I'm very suspicious that I've got something disabled somewhere...
> > 
> > Thanks
> > 
> > Brian
> > 
> 
> BIOS?
> 

YES !  Hidden in the depths of the mines of menus, past the balrog, I
found an enable for the pci-express mini slot.  It was set to disable.
I enabled it.  Works much better now :-)


Brian


-- 
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/20101231123801.6f12a...@bamboo.deldotd.com



Re: [OT] Stupid consumers and inferior hardware

2010-12-31 Thread briand
On Fri, 31 Dec 2010 15:08:27 -0500
Doug  wrote:

> On 12/31/2010 12:50 PM, bri...@aracnet.com wrote:
> > On Thu, 30 Dec 2010 10:03:24 -0500 (EST)
> > Stephen Powell  wrote:
> >
> >> Manufacturers are not doing this because the consumer wants it.
> >> They are doing it to cut costs.
> /snip/
> > they get away with it because most people run windows, the mfr
> > provides the driver, and when it breaks, people expect it because
> > it's windows.
> >
> /snip/
> > You will always be in trouble with hardware under Linux because of
> > the lack of mfr's drivers, and when they do provide drivers they are
> > generally binary objects, e.g. NVIDIA.
> >
> > It's very frustrating, so I for one appreciate your rant :-)
> >
> > Brian
> >
> >
> Why does it bother you that the driver is a binary?  Are you
> qualified to modify it if you had the source code?  Certainly 99% of
> us are not, nor would we want to if we could.  In the immortal words
> of Anne Landers, "If it ain't broke, don't fix it!"
> 
> (I, for one, am very happy that NVIDIA provides the driver.  I just
> installed a card with their GeForce code in it, and I needed the
> driver.)
> 

Having NVIDIA supply the driver, especially the accelerated 3D driver
is, of course, better than nothing.

yes i am capable of modifying drivers, and have done so, although
not for video.  however, making the source accessible speeds the fixing
of bugs and generally makes the driver more robust.

having source means not (necessarily) having to wait on nvidia to apply
a patch.  sometimes patches to fix a problem are very simple and even
somebody not that familiar with the subsystem in question can fix it.
when the graphic card, or any other hardware, gets old enough which is
common for MANY linux systems, nvidia will stop fixing bugs completely
for old cards. planned obscelence and all that.

so having NVIDIA provide support is a good thing, but I think it's
perfectly ok to be bothered by the fact that source is not available.
don't forget you are discussing a video card.  why do companies keep
source "secret" for their old tech 10/100 cards.  why do old tech, been
around for 100 years cards have bugs in the first place ?  They
have bugs because they rev the silicon to save 0.005 on the price of
the chip and then don't tell anybody.  why don't they tell anybody ?
because you're getting a binary driver from them for windows.

lack of robustness is due to cost cutting and general ass-hattery on
the part of the mfrs.  it will always be thus unless source is
available, or even better, open hardware.


Brian


-- 
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/20101231124806.76d22...@bamboo.deldotd.com



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Mike Bird
On Fri December 31 2010 11:24:34 Bob Proulx wrote:
> The question is really one of philosophy.  Do you start with a good
> foundation and then build upward?  Or do you start with a large fully
> filled out structure and then remove the extraneous material?

Harmful RECOMMENDS can at least be removed or blocked.

When unnecessary and harmful packages are REQUIRED in order to satisfy
some script kiddy's ego that's abuse of the packaging system.

--Mike Bird


-- 
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/201012311305.02059.mgb-deb...@yosemite.net



Re: [OT] Stupid consumers and inferior hardware

2010-12-31 Thread Klistvud

Dne, 31. 12. 2010 21:08:27 je Doug napisal(a):

On 12/31/2010 12:50 PM, bri...@aracnet.com wrote:

On Thu, 30 Dec 2010 10:03:24 -0500 (EST)
Stephen Powell  wrote:

Manufacturers are not doing this because the consumer wants it.   
They

are doing it to cut costs.

/snip/
they get away with it because most people run windows, the mfr  
provides
the driver, and when it breaks, people expect it because it's  
windows.



/snip/
You will always be in trouble with hardware under Linux because of  
the

lack of mfr's drivers, and when they do provide drivers they are
generally binary objects, e.g. NVIDIA.

It's very frustrating, so I for one appreciate your rant :-)

Brian


Why does it bother you that the driver is a binary?  Are you  
qualified to
modify it if you had the source code?  Certainly 99% of us are not,  
nor

would we want to if we could.  In the immortal words of Anne Landers,
"If it ain't broke, don't fix it!"


Precisely the problem. I had this problem with at least two pieces of  
hardware:
- a Belkin PCMCIA wireless card that lost any support about 2 years  
after I purchased it. No Windows after XP support it. As opposed to  
that, I can easily make it work in Debian via ndiswrapper. Now just  
imagine if that driver wasn't binary: Linux volunteers would probably  
support it for another 10-20 years.
- the in-built Broadcom wireless card in my laptop. Has been having  
problems from the very beginning. Uses a binary blob. In my experience,  
if there was no binary blob, and the development was handed over to the  
Linux community, the card would probably work without a hitch.


Just my 2¢. YMMV

I just don't TRUST proprietary developers.

--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
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/1293830081.1409...@compax



Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread Mike Bird
On Fri December 31 2010 10:51:18 Arthur Machlas wrote:
> As for all the talk of losing years of wisdom and bug squashing and
> what-not, I'm not really sure that's the case, but a debate about the
> worthiness of insserv as a successor to all the Snn Knn links is
> probably better suited to another thread, perhaps one where more dev's
> hang out than here on user. In any event, if you hope to convince
> people of that, I think calling DD's "Script kiddies", especially one
> who just resolved the bug you noted and I reported within about 12
> hrs, probably won't leave them too open to taking your position
> seriously.

Nobody has called the Apache2 maintainers "script kiddies".
Most Debian Developers are excellent and dedicated to Debian
rather than their own egos.  It is the DD's work in developing
the Snn/Knn values over many years that needs to be protected
from randomization by the script kiddies.

The script kiddies are those who abused the Debian packaging
system to make sysv-rc REQUIRE the harmful and unnecessary
insserv.

--Mike Bird


-- 
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/201012311313.39902.mgb-deb...@yosemite.net



Re: Installed Debian today.

2010-12-31 Thread Robert Holtzman
On Fri, Dec 31, 2010 at 10:09:00PM +0900, Miles Bader wrote:
> Robert Holtzman  writes:
> >> LOL LTS is much buggy then non-LTS. 9.10 was the only stable version i have
> >> used.
> >
> > That's the biggest bunch of BS I've seen in a long time. I've used the
> > last 3 LTS releases and they have been completely stable.
> 
> So your experience is different.  Great.

Mine and a few thousand others.

> 
> > Your posts reflect several earmarks of a troll. 
> 
> and yours has several earmarks of an infuriated fanboy

I'm no fanboy of any distro, let alone Ubuntu. I dual boot with Lenny
and will probably go to squeeze as my primary when it's released. I
don't like Shuttleworth's dictatorial attitude.

Take a tip: don't jump to unwarranted conclusions. 

-- 
Bob Holtzman
Key ID: 8D549279
"If you think you're getting free lunch,
 check the price of the beer"


signature.asc
Description: Digital signature


access point using 3945

2010-12-31 Thread briand
Hello,

looks like one good way to go about it is to use hostapd.

however there's supposed to be nl80211 driver which I need.

I can .h files when I search through debian, but no binary looking
thingy, and the hostapd package does not contain it.

Can anyone shed some light on this.

Looks like the iwl3945 driver can NOT be used to operate as an access
point.

Thanks,

Brian


-- 
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/20101231140004.75642...@bamboo.deldotd.com



PostgreSQL+ZFS

2010-12-31 Thread Atif CEYLAN

Hi all,
I have a large postgresql database system and I want to migrate to a new 
and fast storage system (10 Gbp/s FC network). But 150x3 ssd disk on my 
db server and I want to use ext4 file system (raid5) at the ssd disks as 
xlog storage or use zfs (raidz) as disk buffer cache.

What is your idea?

--
/**
 * @author Atıf CEYLAN
 * Software Developer&  System Admin
 * http://www.atifceylan.com
 */


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

Archive: http://lists.debian.org/4d1e6013.2010...@atifceylan.com



Re: [OT] Stupid consumers and inferior hardware

2010-12-31 Thread Brian
On Fri 31 Dec 2010 at 15:08:27 -0500, Doug wrote:

> Why does it bother you that the driver is a binary?  Are you qualified to
> modify it if you had the source code?

Maybe he could; maybe he couldn't. But somebody could.

> Certainly 99% of us are not, nor would we want to if we could.

Really?

> In the immortal words of Anne Landers, "If it ain't broke, don't fix it!"

'Tis the season of non sequiturs.

> (I, for one, am very happy that NVIDIA provides the driver.  I just
> installed a card with their GeForce code in it, and I needed the driver.)

Everyone else is happy for you 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/20101231225010.gg32...@desktop



Re: [FIXED] saytime kills sound

2010-12-31 Thread Hugo Vanwoerkom

Hugo Vanwoerkom wrote:

Camaleón wrote:

On Fri, 31 Dec 2010 11:42:42 +0100, Elimar Riesebieter wrote:


* Camaleón [101230 17:23 +]:
[...]

Nope, it's not even visible :-?
Don't bother us with wasteful stuff. 


That sounds a bit rough... what do you exactly consider is "wasteful" 
in  helping people?



See [0]. Saytime is actually
unusable.

[0] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587124


Well, that can explain some things (distorted sound output) but once 
you are stuck and lost your sound at all, it would be nice to know how 
to restore it without the needing of restarting the system.




There is something funny going on: when you get the source you do not 
get the Debian version: because that mentions using sox and there is no 
sox call through execl in saytime.c.




So I took the source that one gets with 'apt-get source saytime' and
changed it:

1. Don't write to /dev/audio but use excl to call sox to write to /dev/dsp.
2. Generate the deb with 'dpkg-buildpackage -uc -us -rfakeroot' and then 
execute the binary through the alsa-oss wrapper, like so: 'aoss saytime'


That says the time clearly and does not kill the sound.

I enclose the patch as an attachment, if such a thing is possible.

Hugo







--- saytime.c	2010-12-30 10:15:26.0 -0600
+++ /home/hugo/saytime.1.0-22.build/saytime-1.0/saytime.c	2010-12-31 17:04:54.0 -0600
@@ -12,6 +12,7 @@
 */
 
 #include 
+#include 
 #include 
 #include 
 #include 
@@ -30,6 +31,7 @@
 ** Then use Sun's sound demo to dissect the lines into separate files.
 ** It's not really that much work, it took me about an hour.
 */
+#define MAX_STR_LEN 512
 
 #define PH_ONE		1
 #define PH_TWO		2
@@ -63,6 +65,7 @@
 #define PH_SECONDS	30
 
 void saynumber(), saydigit(), sayphrase(), sayfile(), sayclose();
+char * 		call_program_and_get_last_line_of_output 	(char *call);
 
 main( argc, argv )
 int argc;
@@ -387,60 +390,26 @@
 char *filename;
 {
 int filefd;
-int r, w;
-unsigned char buf[1024];
 char pathname[200];
 
-if ( audiofd == -1 )
-	{
-	audiofd = open( "/dev/audio", O_WRONLY | O_NDELAY );
-	if ( audiofd < 0 )
-	{
-	perror( "opening /dev/audio" );
-	exit( 1 );
-	}
-	}
+char parm1[200];
+char parm2[200];
 
-//(void) sprintf( pathname, "%s/%s", SOUND_DIR, filename );
 (void) sprintf( pathname, "%s/%s", "/home/hugo/saytime.1.0-22.build/saytime-1.0/sounds", filename );
+
 filefd = open( pathname, O_RDONLY );
-if ( filefd < 0 )
-	{
+if ( filefd < 0 ) {
 	perror( "opening audio file" );
 	exit( 1 );
-	}
+}
+close( filefd );
 
-for ( ; ; )
-	{
-	r = read( filefd, buf, sizeof(buf) );
-	if ( r < 0 )
-	{
-	perror( "reading from audio file" );
-	exit( 1 );
-	}
-	if ( r == 0 )
-	break;
+sprintf(parm1,"cat %s | sox -t.ul - -t ossdsp /dev/dsp",pathname);
+sprintf(parm2,"%s",call_program_and_get_last_line_of_output(parm1));
 
-	for ( ; ; )
-	{
-	w = write( audiofd, buf, r );
-	if ( w < 0 )
-		{
-		perror( "writing to audio device" );
-		exit( 1 );
-		}
-	if ( w != 0 )
-		break;
-	usleep( 1000 );
-	}
-	if ( w != r )
-	{
-	(void) fprintf( stderr, "read returned %d, write returned %d\n", r, w );
-	exit( 1 );
-	}
-	}
-close( filefd );
-}
+usleep( 1000 );
+
+}
 
 void
 sayclose( )
@@ -449,3 +418,40 @@
 	close( audiofd );
 audiofd = -1;
 }
+
+/*
+ * *call_program_and_get_last_line_of_ouput() -- Hugo Rabson *
+ *   *
+ * Purpose:  Run a program. Save its last line of output. Return it. *
+ * Called by:... *
+ * Params:   call call to executable w/params*
+ * Returns:  char*pointer to static string containing last line  *
+ *of output of executable (stdout+stderr)*   
+ */
+
+char *
+call_program_and_get_last_line_of_output (char *call)
+{
+/** buffers **/
+static char result[MAX_STR_LEN];
+char tmp[MAX_STR_LEN];
+
+/** pointers */
+FILE *fin;
+
+/** initialize data **/
+result[0] = '\0';
+
+/***/
+if ((fin = popen (call, "r"))) {
+	for (fgets (tmp, MAX_STR_LEN, fin); !feof (fin); fgets (tmp, MAX_STR_LEN, fin)) {
+	if (strlen (tmp) > 1) {
+		strcpy (result, tmp);
+	}
+	}
+	pclose (fin);
+}
+//  strip_spaces (result);
+return (result);
+}
+


Re: insserv + apache2 + bind9 = pain

2010-12-31 Thread David Jardine
On Fri, Dec 31, 2010 at 01:13:39PM -0800, Mike Bird wrote:

> [...] 

> The script kiddies are those who abused the Debian packaging
> system to make sysv-rc REQUIRE the harmful and unnecessary
> insserv.

By the way, apt-cache shows me for sysv-rc:

Priority: required
Depends: ... insserv ...

And yet insserv has:

Priority: optional

Does that make sense?  Not to a layman like me.

Cheers,
David


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110101000135.ga4...@gennes.augarten



Re: installing X with apt-get

2010-12-31 Thread Mark Neyhart
Attila Csosz wrote:
> I'd like to install a minimal X window system with 'apt-get install', with a 
> simple window manager (for example icewm). How to do that?
> I tried "apt-get install xserver-xorg xbase-clients xinit" but still have a 
> font problem (X exiting)
> What is the simplest command for later use?

I use icewm on a Lenny system.  I installed two X packages and then icewm.

apt-get install xserver-xorg-core
apt-get install xfonts-base
apt-get install icewm


-- 
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/4d1e7b80.10...@legis.state.ak.us



Re: [OT] Stupid consumers and inferior hardware

2010-12-31 Thread John Jason Jordan
On Fri, 31 Dec 2010 12:48:06 -0800
 dijo:

>On Fri, 31 Dec 2010 15:08:27 -0500
>Doug  wrote:

>> > You will always be in trouble with hardware under Linux because of
>> > the lack of mfr's drivers, and when they do provide drivers they
>> > are generally binary objects, e.g. NVIDIA.

>> Why does it bother you that the driver is a binary?  Are you
>> qualified to modify it if you had the source code?  Certainly 99% of
>> us are not, nor would we want to if we could.
> >
>> (I, for one, am very happy that NVIDIA provides the driver.  I just
>> installed a card with their GeForce code in it, and I needed the
>> driver.)

>Having NVIDIA supply the driver, especially the accelerated 3D driver
>is, of course, better than nothing.
>
>yes i am capable of modifying drivers, and have done so, although
>not for video.  however, making the source accessible speeds the fixing
>of bugs and generally makes the driver more robust.
>
>having source means not (necessarily) having to wait on nvidia to apply
>a patch. 

It will be a long time before I install an nVidia proprietary driver
again.

1)
I have a Thinkpad T61 with nVidia Quadro NVS 140M. I needed to do a
presentation and the projector was capable of 1400x1050. For reasons
not worth bothering with here, I needed every pixel I could get. I had
been using the nouveau driver since installing the OS a year ago, but
couldn't get it to give me the full resolution from the projector. I
installed the nVidia driver instead, but it wouldn't work well either.
Finally, I discovered how to get the proper resolution using the
nouveau driver, so I uninstalled nVidia's driver and reinstalled
nouveau. Going back to nouveau turned out to be a major PITA. I finally
got the nouveau driver working again, and then later discovered that
Fontmatrix, ksysguard, VirtualBox and Avidemux would not launch. The
error message is that they are looking for an nVidia library. I have
spent hours trying to figure out what makes those apps think there is
an nVidia library, but have not yet succeeded. I reinstalled the nVidia
driver and then the apps will launch, but I have to boot to safe mode
and startx separately or it hangs on boot (two competing drivers). At
the moment I am running the nouveau driver and hoping I won't need one
of those apps until I can figure out what happened.

2) I have a desktop that started out with Intrepid, and I installed the
nVidia driver for the GeForce 6150 chip on the motherboard. Everything
was fine until I did several dist-upgrades to Lucid. Afterwards X would
not start. I had to uninstall the proprietary drivers and install the
nouveau drivers to get it to boot normally. I have upgraded dozens of
computers with the nv and nouveau drivers and never had a problem.

I don't generally have a problem with proprietary drivers, but it sure
is easier figuring out and resolving a problem when the driver is open
source.


-- 
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/20101231173328.68f26...@mailhost.pdx.edu



Re: permissions all zero when using 'cp'

2010-12-31 Thread Cameron Hutchison
Martin Lorenz  writes:

>r...@vs152058:~# (
>> env -i
>> date -R > testfile1
>> ls -ldog testfile1
>> echo
>> rm -f testfile2
>> echo
>> cp testfile1 testfile2
>> ls -ldog testfile2
>> )
>- -r-Sr-x--- 1 32 30. Dez 20:22 testfile1

This is really wierd. Your testfile1 should not have been created with
these permissions. I dont know what would cause this apart from bugs or
some sort of corruption.

>stat64("testfile1", {st_dev=makedev(144, 109), st_ino=37590572,
>st_mode=S_IFREG|S_ISUID|0450, st_nlink=1, st_uid=0, st_gid=0,
>st_blksize=4096, st_blocks=8, st_size=32, st_atime=2010/12/30-20:22:29,
>st_mtime=2010/12/30-20:22:29, st_ctime=2010/12/30-20:22:29}) = 0

>stat64("testfile2", 0xbfffd624) = -1 ENOENT (No such file or
>directory)

>open("testfile1", O_RDONLY|O_LARGEFILE) = 3
>open("testfile2", O_WRONLY|O_CREAT|O_EXCL|O_LARGEFILE, 0) = 4

>does this tell you something?

It tells me why your testfile2 has zero permissions - because cp(1)
created it that way. The third argument to open(2) when used with
O_CREAT is the permissions to use on the new file (the kernel will apply
the umask).

cp(1) should have used a value of 0450 for that (since it uses the
source file permissions). I don't know why it used 0.

I'm sorry that I can't provide any answers. Maybe by pointing out these
anomalies, someone else may see what is wrong.


-- 
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/51f.4d1e8489.ba...@getafix.xdna.net



Re: [OT] Stupid consumers and inferior hardware

2010-12-31 Thread Bob Proulx
John Jason Jordan wrote:
> It will be a long time before I install an nVidia proprietary driver
> again.
> ... so I uninstalled nVidia's driver and reinstalled nouveau. Going
> back to nouveau turned out to be a major PITA. ...
> ... I have spent hours trying to figure out what makes those apps
> think there is an nVidia library,

You didn't say but I think from this I can tell that you installed the
binary nvidia driver using the vendor nvidia installer.  Which is
different from installing the non-free Debian packaging of that same
driver.

The vendor installer doesn't track the files and therefore
uninstalling is particularly a problem.  There isn't a handle on what
to remove.  Unless extreme care is taken it is difficult to get back
to the state from before the installation.

That is one of the big advantages of installing using a package
manager such as dpkg.  When uninstalling the package the system state
is returned to the known previous state.

Bob


signature.asc
Description: Digital signature


Shoes for local shop

2010-12-31 Thread Feather Glory Footwear ltd.

coming soon

tks
jay


Re: Re: NAT

2010-12-31 Thread Shaun

Hey what do I do

Sent from my iPho


--
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/514ef421-acdc-40ab-bc25-7b306c8d2...@rockscapes.com.au



imapget: an IMAP mail download and filter script

2010-12-31 Thread Joel Roth
Hi all,

I've cleaned up a perl script that I use to download 
mail from an IMAP server. 

It's now available to download from github:

  http://github.com/bolangi/imapget

Why bother?

- simple, lightweight 
  + single script alternative to fetchmail/procmail
  + doesn't use a .forward file
  + independent of local mail system
- arbitrary filtering rules
- filtering rules in perl syntax (a plus for some people)
- whitelist for personal mail
- delivers to mbox or Maildir folders
- skips duplicate messages
- can connect to server via SSL
- moves downloaded messages to server Trash folder
- logging

What it doesn't do out of the box:

- spam filtering
- POP3

Other considerations:

- no config files
- all configuration is by editing the source code

Acknowledgment: based on the popget script by Simon Cozens

Cheers (and wishing you a Happy New Year)

-- 
Joel Roth


-- 
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/20110101064200.ga18...@sprite