my l2tp connection stopped

2011-05-26 Thread Shell Xu
 I was bought a Xen vps and wanna let my friends use l2tp to
connect it. Here is it info.

Linux  2.6.32-5-amd64 #1 SMP Wed Jan 12 03:40:32 UTC 2011 x86_64 GNU/Linux
Debian GNU/Linux 6.0

My problem is when I use an android to connect with server,
sometime (not more then 1/10) will be successed, others will failure.
server stop response after "STATE_QUICK_R2: IPsec SA established
transport mode {ESP=>0x07d49ece <0x2291ef79 xfrm=3DES_0-HMAC_SHA1
NATOA=none NATD=IP:4500 DPD=none}" in /var/log/auth.log.
I followed this guide(https://humou.net/blog/201102061326.html),
it's written by Chinese so you don't have to read it. Here is my
configure file.

--ipsec.conf---
version2.0# conforms to second version of ipsec.conf specification
config setup
nat_traversal=yes
virtual_private=%v4:10.0.0.0/8,%v4:192.168.0.0/17,%v4:172.16.0.0/12
oe=off
protostack=netkey

conn L2TP-PSK-NAT
rightsubnet=vhost:%priv
also=L2TP-PSK-noNAT

conn L2TP-PSK-noNAT
authby=secret
pfs=no
auto=add
keyingtries=3
rekey=no
ikelifetime=8h
keylife=1h
type=transport
left=MY IP ADDR
leftprotoport=17/1701
right=%any
rightprotoport=17/%any
--end of file---

--ipsec.secrets---
216.24.204.70 %any: PSK "My PSK"
--end of file---

--/etc/xl2tpd/xl2tpd.conf-
[global]; Global parameters:
ipsec saref = yes
[lns default]; Our fallthrough LNS definition
exclusive = no; * Only permit one tunnel per host
ip range = 192.168.235.10-192.168.235.254; * Allocate from this IP range
local ip = 192.168.235.1; * Our local IP to use
length bit = yes; * Use length bit in payload?
refuse pap = yes; * Refuse PAP authentication
refuse chap = yes; * Refuse CHAP authentication
require authentication = yes; * Require peer to authenticate
ppp debug = yes; * Turn on PPP debugging
pppoptfile = /etc/ppp/options.xl2tpd
--end of file---

--/etc/ppp/options.xl2tpd-
require-mschap-v2
ms-dns 8.8.8.8
ms-dns 8.8.4.4
asyncmap 0
auth
crtscts
lock
hide-password
modem
debug
name l2tpd
proxyarp
mtu 1410
mru 1410
nodefaultroute
lcp-echo-interval 30
lcp-echo-failure 6
#idle 1800
connect-delay 1
--end of file---

-IPTABLES--
Chain INPUT (policy DROP)
target prot opt source   destination
ACCEPT all  --  anywhere anywherestate
RELATED,ESTABLISHED
ACCEPT esp  --  anywhere anywhere
ACCEPT ah   --  anywhere anywhere
ACCEPT udp  --  anywhere anywhereudp dpt:isakmp
ACCEPT udp  --  anywhere anywhereudp dpt:openvpn
ACCEPT udp  --  anywhere anywhereudp dpt:l2f
ACCEPT tcp  --  anywhere anywheretcp dpt:1723
ACCEPT udp  --  anywhere anywhereudp dpt:4500
--end of file---

-sysctl-
net.ipv4.ip_forward = 1
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.conf.default.accept_redirects = 0
net.ipv4.conf.all.send_redirects = 0
net.ipv4.conf.default.send_redirects = 0
--end of file---

My problem is similar with this
one(http://ubuntuforums.org/archive/index.php/t-1317361.html), but all
suggestion not work in my server.
Did anybody seen this problem before? Any suggestion will be appreciated.


-- 
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/BANLkTi=0idsTc=u2na260jwj2zd8fwu...@mail.gmail.com



Re: Building Chromium from source on Debian 6.0.1 Stable

2011-05-26 Thread William Hopkins
On 05/27/11 at 05:57am, Abhishek Dasgupta wrote:
> On 2011-05-27, William Hopkins  wrote:
> >  On 05/26/11 at 10:57pm, Perry Thompson wrote:
> > > Following my previous question, someone recommended I build Chromium
> > > from source. Is that possible to do on Stable? I tried to do it from
> > > apt-get, but there were still dependency issues. Am I doing it wrong?
> > > Should I be doing it another way?
> > >
> > > If I remember correctly, I tried...
> > >
> > > sudo apt-get source chromium-browser
> 
> apt-get source can be run as normal user as well.
> 
> > > sudo apt-get build-dep chromium-browser
> >  You should build-dep first.
> [snip]
> > > Any and all help would be greatly appreciated.
> >  I missed the original thread, can you link it? Why are you building from 
> > so=
> >  urce? Using the debian tools, you'll just end up with an identical copy to 
> > =
> >  the binary version already available.
> 
> Not really, as he is building on stable, using (I guess) the source
> from sid, which has the latest version.

The command he listed was plain apt-get source, which doesn't imply sid 
sources. 
I guess this is what I get for chiming in without reading all the history.
> 
> There is a new distro, Progress Linux [1], which is essentially squeeze
> + some backports. Their archive has backports [2] of iceweasel, icedove,
> chromium and other common packages. While I have not used the chromium
> packages, I did try iceweasel and icedove and it installed OK on my
> squeeze system. There is also a source repo for the backports, so you
> can see what changes, if any, from the sid version were made to make the

I usually find simply building a debian package from the latest sid source 
provides a working backport. Package dependencies are determined on build from 
what's present. 
I do NOT recommend installing deb packages from debian derivatives as this sort 
of thing is troublesome for your dependency system. Using them for reference is 
a good idea, though.

-- 
Liam


signature.asc
Description: Digital signature


Re: Building Chromium from source on Debian 6.0.1 Stable

2011-05-26 Thread Abhishek Dasgupta
On 2011-05-27, William Hopkins  wrote:
>  On 05/26/11 at 10:57pm, Perry Thompson wrote:
> > Following my previous question, someone recommended I build Chromium
> > from source. Is that possible to do on Stable? I tried to do it from
> > apt-get, but there were still dependency issues. Am I doing it wrong?
> > Should I be doing it another way?
> >
> > If I remember correctly, I tried...
> >
> > sudo apt-get source chromium-browser

apt-get source can be run as normal user as well.

> > sudo apt-get build-dep chromium-browser
>  You should build-dep first.
[snip]
> > Any and all help would be greatly appreciated.
>  I missed the original thread, can you link it? Why are you building from so=
>  urce? Using the debian tools, you'll just end up with an identical copy to =
>  the binary version already available.

Not really, as he is building on stable, using (I guess) the source
from sid, which has the latest version.

There is a new distro, Progress Linux [1], which is essentially squeeze
+ some backports. Their archive has backports [2] of iceweasel, icedove,
chromium and other common packages. While I have not used the chromium
packages, I did try iceweasel and icedove and it installed OK on my
squeeze system. There is also a source repo for the backports, so you
can see what changes, if any, from the sid version were made to make the
backport work.

[1]: http://progress-linux.org
[2]: http://progress-linux.org/releases/artax-backports/1.9.0_pre1/

-- 
Abhishek


-- 
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/slrnitufad.2c2.abh...@squirrel.abhidg.net



Re: 0 years 1st programmed computer? - Re: Poll Summary & Poll 1b - What Smartphone do you use?

2011-05-26 Thread Mihira Fernando

On 05/27/2011 08:55 AM, Freeman wrote:

and a habit of attempting to impress attractive young women with it all.


Did this ever work ?  :D


--
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/4ddf3b5f.9000...@gmail.com



Re: 0 years 1st programmed computer? - Re: Poll Summary & Poll 1b - What Smartphone do you use?

2011-05-26 Thread giovanni_re
On Thu, 26 May 2011 20:25:32 -0700, "Freeman"  said:
> On Thu, May 26, 2011 at 04:48:25PM -0700, giovanni_re wrote:
> > On Tue, 17 May 2011 19:07:09 -0700, "Freeman"  said:
> > > On Mon, May 16, 2011 at 09:48:23PM -0700, giovanni_re wrote:

> > > > What is the # of years in your Age, Programming, Debian?
> > > 
> > > 50-something, 0, 7

> > I'm thinking perhaps you didn't press on some key hard enough.
> > 
> > Are you sure your answer to #2 is "0"?  ;)

> No stubborn/sticky keys. :)
> 
> At this juncture I would like to reference another post to the thread:
> 
> "This fascinates me. You think everyone on this list is a programmer?"
> 
> Excepting myself, looks like your expectation was correct, at least
> regarding thread respondents.
> 
> debian-users is where the best info with the best signal-to-noise ratio
> is
> so here I am.
> 
> I've done lots of html, plenty of bash, some perl and a little php. I
> have a
> special backup for all the system files in /etc and /usr/share that I
> have
> tweaked so as to ease the carry-forward to new releases. 
> 
> But, not a programmer, just an enthusiast/hobbiest with a love of Debian,


:)

If that's the way you want to read my question, fine by me.  ;)


The way _I_ read my question:
>> > > 2)  How many years ago did you 1st program a computer?  0 to #,
>> > > or N=Never

is "How many years ago did you 1st program a computer?"

;)  :)


If you wish, please let me know if that # is different from "0".  
:)

==  Join in the Global monthly meetings, via voice, about all Free SW HW & 
Culture
http://sites.google.com/site/berkeleytip/
Smartphone Debian:  http://wiki.debian.org/Smartphone


-- 
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/1306473569.20238.1456568...@webmail.messagingengine.com



Re: Samba usershares & permissions problem

2011-05-26 Thread William Hopkins
On 05/26/11 at 05:34pm, Alan Chandler wrote:
> I have a fairly simple requirement
> 
> I am running Debian Unstable on my Desktop and I want to provide a
> folder for my Windows 7 laptop to deposit some files.
> 
> I thought that the simplest approach would be using samba on its
> own, but I then discovered the existance of nautilus-share which
> should make it so much easier when I want to swap around things.
You were initially correct. Running samba alone would be simpler from a 
troubleshooting perspective.
I suggest you try that, get it working (there are numerous tutorials on the 
web, forum posts, the archive for debian-user and probably a samba ML) and then 
compare the config to what nautilus-share is creating.

Also, more people are likely to be familiar with samba itself than 
nautilus-share.
> 
> But I don't understand why.  Can anyone help
Good luck!


-- 
Liam


signature.asc
Description: Digital signature


Re: does Debian labeled for AMD-64 run on Pentium cpu family 6?

2011-05-26 Thread Stan Hoeppner
On 5/26/2011 10:50 PM, tarcisio praciano-pereira wrote:
> I have a Pentium cpu family 6 (copy from /proc/cpuinfo) model 23 - Dual
> Core, cpuid level 13.  I hope I have no missed the important
> information.
> 
> Does Debian 6.0 labeled for AMD-64 run in this CPU?

Yes.

-- 
Stan


-- 
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/4ddf249b.8080...@hardwarefreak.com



Re: does Debian labeled for AMD-64 run on Pentium cpu family 6?

2011-05-26 Thread William Hopkins
On 05/27/11 at 12:50am, tarcisio praciano-pereira wrote:
> I have a Pentium cpu family 6 (copy from /proc/cpuinfo) model 23 - Dual
> Core, cpuid level 13.  I hope I have no missed the important
> information.
> 
> Does Debian 6.0 labeled for AMD-64 run in this CPU?
> 
> Regards
> 
> Tarcisio

To see if your CPU is 64-bit, look for the lm tag in cpuinfo
The AMD64 architecture is for any 64-bit CPU other than the Itanium family, and 
I am reasonably sure if you had an Itanium you would know it.

-- 
Liam


signature.asc
Description: Digital signature


does Debian labeled for AMD-64 run on Pentium cpu family 6?

2011-05-26 Thread tarcisio praciano-pereira
I have a Pentium cpu family 6 (copy from /proc/cpuinfo) model 23 - Dual
Core, cpuid level 13.  I hope I have no missed the important
information.

Does Debian 6.0 labeled for AMD-64 run in this CPU?

Regards

Tarcisio


Re: [SOLVED] need help with clamav

2011-05-26 Thread Mark Grieveson
On Thu, 26 May 2011 12:53:59 -0500, Ron Johnson 
wrote:

> > safer (admittedly, if I were to deactivate the root account and set
> > up some sort of sudo thingy, as seems more common now, I might be
> > safer --  
> 
> So, you log into your GUI as root?

No.  I always log in as regular user.  I use su rather than sudo when I
need administrative privileges, generally on the command-line (if in
x-windows, then in a terminal emulator).

Thanks for your concern,

Mark


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



Re: Building Chromium from source on Debian 6.0.1 Stable

2011-05-26 Thread William Hopkins
On 05/26/11 at 10:57pm, Perry Thompson wrote:
> Following my previous question, someone recommended I build Chromium
> from source. Is that possible to do on Stable? I tried to do it from
> apt-get, but there were still dependency issues. Am I doing it wrong?
> Should I be doing it another way?
> 
> If I remember correctly, I tried...
> 
> sudo apt-get source chromium-browser
> sudo apt-get build-dep chromium-browser
You should build-dep first.
> 
> And before I could compile it using apt-get, it gave me a bunch of
> dependency issues. If you need me to I can reproduce this to show you all.
Sure, share the details. build-dep should resolve all dependency issues.
> 
> Any and all help would be greatly appreciated.
I missed the original thread, can you link it? Why are you building from 
source? Using the debian tools, you'll just end up with an identical copy to 
the binary version already available.
> 

-- 
Liam


signature.asc
Description: Digital signature


Re: 0 years 1st programmed computer? - Re: Poll Summary & Poll 1b - What Smartphone do you use?

2011-05-26 Thread Freeman
On Thu, May 26, 2011 at 04:48:25PM -0700, giovanni_re wrote:
> On Tue, 17 May 2011 19:07:09 -0700, "Freeman"  said:
> > On Mon, May 16, 2011 at 09:48:23PM -0700, giovanni_re wrote:
> > 
> > . . .
> > > OK:  What Smartphone do you use?
> > > Manufacturer name, Model name, OS name, Cell Carrier name, Country you
> > > live in.
> > 
> > Treo, Palm, Verizon, US. I still hate it after 4 years.
> > 
> > > What is the # of years in your Age, Programming, Debian?
> > 
> > 50-something, 0, 7
> > 
> > P.S. The Treo, a replacement already, lost its screen since the last
> > pole.
> > :) I checked the cable but cleaning connections didn't fix it.
> > 
> > Rather than spend money on new parts, or a new contract with Verizon over
> > new equipment, I went to a second-hand electronics store and bought the
> > cheapest Verizon phone I could find with a good battery and switched my
> > number to it.  I am putting all the phone budget I can toward a simmed
> > Android, I think.  And I'll get some Debian going on it.
> 
> Hi Freeman :)
> 
> I got a laugh out of your reply here - in a nice way.
> 
> I'm thinking perhaps you didn't press on some key hard enough.
> 
> Are you sure your answer to #2 is "0"?  ;)
> 
> (Please reply to the list - I'm "to"ing you cause this reply is to a
> message from last week.  ;)  )
> 

No stubborn/sticky keys. :)

At this juncture I would like to reference another post to the thread:

"This fascinates me. You think everyone on this list is a programmer?"

Excepting myself, looks like your expectation was correct, at least
regarding thread respondents.

debian-users is where the best info with the best signal-to-noise ratio is
so here I am.

I've done lots of html, plenty of bash, some perl and a little php. I have a
special backup for all the system files in /etc and /usr/share that I have
tweaked so as to ease the carry-forward to new releases. 

But, not a programmer, just an enthusiast/hobbiest with a love of Debian, a
high error rate, a strong penchant for having the best customized old
laptops possible, a soar butt at times, and a habit of attempting to impress
attractive young women with it all.

Thanks.

-- 
Regards,
Freeman

"Microsoft is not the answer. Microsoft is the question. NO (or Linux) is the
answer." --Somebody


-- 
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/20110527032531.GA3120@Deneb.office



Building Chromium from source on Debian 6.0.1 Stable

2011-05-26 Thread Perry Thompson
Following my previous question, someone recommended I build Chromium
from source. Is that possible to do on Stable? I tried to do it from
apt-get, but there were still dependency issues. Am I doing it wrong?
Should I be doing it another way?

If I remember correctly, I tried...

sudo apt-get source chromium-browser
sudo apt-get build-dep chromium-browser

And before I could compile it using apt-get, it gave me a bunch of
dependency issues. If you need me to I can reproduce this to show you all.

Any and all help would be greatly appreciated.


-- 
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/4ddf132e.8060...@yahoo.fr



0 years 1st programmed computer? - Re: Poll Summary & Poll 1b - What Smartphone do you use?

2011-05-26 Thread giovanni_re
Hi Freeman :)

I got a laugh out of your reply here - in a nice way.

I'm thinking perhaps you didn't press on some key hard enough.

Are you sure your answer to #2 is "0"?  ;)

(Please reply to the list - I'm "to"ing you cause this reply is to a
message from last week.  ;)  )


On Tue, 17 May 2011 19:07:09 -0700, "Freeman"  said:
> On Mon, May 16, 2011 at 09:48:23PM -0700, giovanni_re wrote:
> 
> . . .
> 
> > =
> > =  Poll 1b:  3 Additional Poll questions now:  
> >  Age, Programming years, Debian years
> > 
> > As I was reading over the poll responses, I thought
> > "It would be useful to know something about the smartphone users.
> > Specifically, in years:

> > 2)  How many years ago did you 1st program a computer?  0 to #,
> > or N=Never

> > =
> > OK:  What Smartphone do you use?
> > Manufacturer name, Model name, OS name, Cell Carrier name, Country you
> > live in.
> 
> Treo, Palm, Verizon, US. I still hate it after 4 years.
> 
> > What is the # of years in your Age, Programming, Debian?
> 
> 50-something, 0, 7
> 
> P.S. The Treo, a replacement already, lost its screen since the last
> pole.
> :) I checked the cable but cleaning connections didn't fix it.
> 
> Rather than spend money on new parts, or a new contract with Verizon over
> new equipment, I went to a second-hand electronics store and bought the
> cheapest Verizon phone I could find with a good battery and switched my
> number to it.  I am putting all the phone budget I can toward a simmed
> Android, I think.  And I'll get some Debian going on it.

Got a URL  for how you'll get Deb on it?

==  Join in the Global monthly meetings, via voice, about all Free SW HW & 
Culture
http://sites.google.com/site/berkeleytip/
Smartphone Debian:  http://wiki.debian.org/Smartphone


-- 
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/1306453705.32727.1456496...@webmail.messagingengine.com



Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-26 Thread John Hasler
Mike Mestnik writes:
> My current plan is to convert the file to XML storing away comments
> and partial white space as well as the settings.  Then I should be
> able to edit the setting a write the file back out.

Why the XML?  Why not just parse the file?
-- 
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/877h9doyeb@thumper.dhh.gt.org



Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-26 Thread Thierry Chatelet
On Friday 27 May 2011 00:16:53 Mike Mestnik wrote:
> In-Reply-To: <20080412023656.gr14...@yi.org>

which is here: 
http://lists.debian.org/debian-user/2008/04/msg01249.html

but, sorry, it's way above my knowledge.
Thierry


-- 
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/201105270055.34858.tchate...@free.fr



Re: (hopefully perl) API to /etc/network/interfaces?

2011-05-26 Thread Mike Mestnik
In-Reply-To: <20080412023656.gr14...@yi.org>

Hello,
  This is an old thread, but I find myself in a similar situation.  I'd
like to edit a 4in6 tunnel endpoint and reconfigure the interface. 
While I can handle the Apache/sudo parts of this I'm stuck with... OK
now how and I going to change this one value out of this whole file?

My current plan is to convert the file to XML storing away comments and
partial white space as well as the settings.  Then I should be able to
edit the setting a write the file back out.

Any better ideas?  For this project Perl seams to be the ideal language.

I may contact the ifupdown maintainer to include this in his package, so
I'm looking to get it done right.


-- 
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/4dded155.3050...@mikemestnik.net



Re: LVM: combining two logical volumes, how?

2011-05-26 Thread William Hopkins
On 05/26/11 at 02:40pm, Boyd Stephen Smith Jr. wrote:
> In <4dde7e85.50...@heard.name>, Ken Heard wrote:
> >In a box with Squeeze I have one volume group (VG1) with only one (at
> >the moment) physical volume (/dev/md1).  Two of the six current logical
> >volumes (LV) in VG1 are are /dev/VG1/root (/) and /dev/VG1/usr.  I want
> >to (1) enlarge /dev/VG1/root, (2) transfer the contents of /dev/VG1/usr
> >to it, and (3) remove /dev/VG1/usr.
> >
> >Enlarging /dev/VG1/root is easy (I think) using the lvextend command,
> >and so is removing /dev/VG1/usr using the lvremove command.  What I
> >cannot find is any command or information to do the second step,
> >transfer the entire contents of one LV to another.  Is it possible to do
> >what I want to do?
> 
> You would do that via cp, rsync, etc.
> 
> Something like this could work:
> mount -o bind / /mnt
> # view of the / file systems without any other mounts under /mnt
> mount -o remount,ro /usr # Make sure no one is writing to the /usr file system
> rsync -HaAxX --progress --stats /usr/. /mnt/usr
> # Copy the data, including hard links, acls, and extended attributes
> umount /mnt # Remove the view
> sync;sync;sync # Precaution
> umount /usr
> # Fully unmount /usr, exposing the copy created on the / file system

If this is a live filesystem, your best bet is to boot up with a liveCD or boot 
disk, basically any other OS so writes won't be happening to /usr when you go 
to move it into the newly-extended root LV. 

--
Liam


signature.asc
Description: Digital signature


Re: Problem with the global weigh of several files

2011-05-26 Thread Karl Vogel
>> On Thu, 26 May 2011 17:12:25 +0200, 
>> "Gorka"  said:

G> I am looking for the best way of appending commands to obtain the global
G> amount of Mb of the modified files of my PC.  Something like this:
G> find ./ -mtime -7 | du -Sch

#!/bin/ksh
# filesize summary; optional argument is starting directory.
export PATH=/usr/local/bin:/bin:/usr/bin

case "$1" in
"") dir="$HOME" ;;
*)  dir="$1" ;;
esac

test -d "$dir" || { echo "$dir: not a directory"; exit 1; }
cd $dir|| { echo "$dir: cannot cd"; exit 2; }
dir=$(pwd)

find . -type f -mtime -7 -printf "%s\n" | gawk -v "d=$dir" \
 'BEGIN { size = 0; }
 { size += $1; }
 END {
   printf "%s: %d new files using %.1f Mb\n", d, NR, size/1048576;
 }'

exit 0

-- 
Karl Vogel  I don't speak for the USAF or my company

Men are like a fine wine.  They start out as grapes and it's up to women
to stomp the sh*t out of them until they turn into something acceptable
to have with dinner.


-- 
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/20110526215044.41031b...@kev.msw.wpafb.af.mil



Re: received sms possible or not with debian ??

2011-05-26 Thread Brian
On Thu 26 May 2011 at 20:54:15 +0100, thuillier-charmet wrote:

> where i can find this "convert sms to voice" program ?

For text to speech on Debian a starting point might be:

http://www.debian.org/devel/debian-accessibility/software


-- 
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/20110526212128.GQ3027@desktop



Re: How to stop a message which requires the Enter key

2011-05-26 Thread Arno Schuring
Ken Heard (k...@heard.name on 2011-05-24 12:13 -0400):
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> Arno Schuring wrote:
> 
> > I suspect the reason is that you're using encrypted swap partitions,
[..]

> > /etc/initramfs-tools/initramfs.conf.d/* and remove (or comment) it.
> In this directory there is one file named "resume" which has only one
> line:
> 
> RESUME=/dev/mapper/VG1-swap_crypt
> 
> I commented it out.
So far so good...

> > Then regenerate your initramfs (update-initramfs -u)
> 
> Running this command generated the following response:
> 
> update-initramfs: Generating /boot/initrd.img-2.6.26-2-686
> cryptsetup: WARNING: target VG1-swap_crypt has a random key, skipped
I did not expect this, so I took a look it my cryptsetup files (they're
from Squeeze, please verify on your system),
and /usr/share/initramfs-tools/hooks/cryptroot contains the following
in get_resume_devices():

if [ -e /etc/uswsusp.conf ]
if [ -e /etc/suspend.conf ]
for opt in $(cat /proc/cmdline);
if [ -e /etc/initramfs-tools/conf.d/resume ]

So it looks for resume devices in all the above locations as well as on
the kernel command line. But looking further in the file, it seems that
the warning is generated when determining what /modules/ to include in
the ramfs, not to determine the resume path. So it looks like a red
herring after all.

> Next I changed the resume file to refer to a unencrypted partition not
> part of VG1:
> 
> RESUME=/dev/md0/boot
> 
> An then ran once more update-initramfs -u, which this time returned
> 
> cryptsetup: WARNING: found more than one resume device candidate:
>  /dev/mapper/VG1-swap_crypt
>  /dev/md0/boot
> cryptsetup: WARNING: target VG1-swap_crypt has a random key, skipped
After reading the cryptsetup code, this is expected. But the only
effect is that the kernel modules for md0/boot have now been included
in the initramfs (if they weren't already).

> 
> And rebooted once more -- but still have the problem.
But here we can make progress: did the "could not stat" message search
for the VG1-swap device, or for md0/boot? If it searched for md0 then
at least we're looking in the right place, but if it was still looking
for VG1 then the resume device is not set by the initramfs conf file.

> Finally, now that I know the path of the resume file I change the line
> in the file back to the original, ran update-initramfs -u, and
> rebooted.
> 
> When the "could not stat" message was received, this time I did what
> was asked: enter the path of the resume
> file /etc/initramfs-tools/conf.d and hit the "Enter" key.  At that
> point the "could not stat" message was received again; but pushing
> the "Enter" key without any path entered continued the boot as before.
At the time it is asking for the resume device, / is not mounted yet.
Could you check the complete kernel command line (press e in the grub
menu), and remove any resume= arguments if they are present?


HTH,
Arno


-- 
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/20110526232621.41bde...@neminis.loos.site



Re: received sms possible or not with debian ??

2011-05-26 Thread Chris Brennan
On Thu, May 26, 2011 at 4:16 PM, thuillier-charmet
 wrote:

At the moment i have a free mail box where i can
> received fax or voice message with an intermdiate of free phone number.
> i wish to received a sms on this mail box (without bought a mobil) when
> someone like my bank sent to me a sms !
> how i can do that ?
> thanks.


Have you thought about Google Voice?



-- 
> A: Yes.
> >Q: Are you sure?
> >>A: Because it reverses the logical flow of conversation. > >>>Q: Why is top 
> >>posting frowned upon?


Strange Bind 9 crash (lenny, squeeze)

2011-05-26 Thread Jan Ingvoldstad
Hi.

At $workplace, two of our internal, caching DNS servers, running Bind
9 experienced crashes in quick order today.

I was wondering if other Debian users with Bind 9 have experienced
similar crashes lately, and know how to avoid them (installing other
recursive DNS servers is, of course, an option).

They were both running 1:9.6.ESV.R4+dfsg-0+lenny1 at the time, and
here's the log lines from daemon.log I think are relevant (the logs
are fairly spammy):

May 26 17:16:14 dns2 named[13336]: buffer.c:285: REQUIRE(b->used + 1
<= b->length) failed
May 26 17:16:14 dns2 named[13336]: exiting (due to assertion failure)

May 26 17:36:15 dns1 named[4488]: buffer.c:285: REQUIRE(b->used + 1 <=
b->length) failed
May 26 17:36:15 dns1 named[4488]: exiting (due to assertion failure)

I then upgraded "dns2" to squeeze, which provides 1:9.7.3.dfsg-1~squeeze1.

There was a change: more log entries in daemon.log:


May 26 22:26:19 dns2 named[1608]: buffer.c:285: REQUIRE(b->used + 1 <=
b->length) failed, back trace
May 26 22:26:19 dns2 named[1608]: #0 0xb77ebfa0 in ??
May 26 22:26:19 dns2 named[1608]: #1 0xb7411093 in ??
May 26 22:26:19 dns2 named[1608]: #2 0xb7412d78 in ??
May 26 22:26:19 dns2 named[1608]: #3 0xb76793ce in ??
May 26 22:26:19 dns2 named[1608]: #4 0xb76f7e3e in ??
May 26 22:26:19 dns2 named[1608]: #5 0xb76feb9f in ??
May 26 22:26:19 dns2 named[1608]: #6 0xb7433ebb in ??
May 26 22:26:19 dns2 named[1608]: #7 0xb7235955 in ??
May 26 22:26:19 dns2 named[1608]: #8 0xb708be7e in ??
May 26 22:26:19 dns2 named[1608]: exiting (due to assertion failure)


The relevant code snippet from lib/isc/buffer.c is:


void
isc__buffer_putuint48(isc_buffer_t *b, isc_uint64_t val) {
isc_uint16_t valhi;
isc_uint32_t vallo;

REQUIRE(ISC_BUFFER_VALID(b));
REQUIRE(b->used + 6 <= b->length);

valhi = (isc_uint16_t)(val >> 32);
vallo = (isc_uint32_t)(val & 0x);
ISC__BUFFER_PUTUINT16(b, valhi);
ISC__BUFFER_PUTUINT32(b, vallo);
}


This function is used via the macro isc_buffer_putuint48 only in lib/dns/tsig.c.

I have googled for these problems, and found other examples of Bind 9
falling over because of assertion failures, but not for this
particular case. I have also found that Bind 10 has copied this code
verbatim, which may not be such a good idea, if it falls over every so
often. :)
--
Jan


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



Re: Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread wzab

Boyd Stephen Smith Jr. wrote:


 It reads those permissions from the file system stored on the block device
 specified in the root= kernel command-line parameter.

 File system permissions are persistent.  If you don't see them change you
 can't be sure whether nothing is trying to change them OR coming is trying to
 change them, but to what they already are.  If you do see them change, then
 you can start isolating the problem.


OK. You are right! I was quite convinced that only the subdirectories' 
permissions
are stored in the filesystem image, while root node permissions are defined by 
the mountpoint.
My mistake!

So now I only have to investigate how the problem was generated.
Two affected machines are the ones in which I've upgraded disks without 
reinstalation of the
system.
Maybe after formating the permissions in the filesystem were set to 0777, and 
later, when
I copied the files with "cp -a" the permissions to the root node remained 
untouched.
Otherwise I should assume that both systems got compromised :-(.

--
Thanks a lot,
Wojtek



--
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/4ddeb935.2080...@ise.pw.edu.pl



Re: ia64 and i386

2011-05-26 Thread Arno Schuring
Jeroen van Aart (jer...@mompl.net on 2011-05-24 13:39 -0700):
> Mathieu Malaterre wrote:
> > amd64 is possible. Since from amd64 you can still run x86 code ...
> > but not the other way around. Is there a drawback when installing
> > an amd64 kernel ?
> 
> 32 bits is likely to play more video codecs than 64 bits, by virtue
> of the w64codecs package lacking a bit. And to the best of my
> knowledge just because you can run 32 bits binaries on a 64 bits
> kernel doesn't mean w32codecs will actually work. I keep an older 32
> bits system around just because of that.
To add to this, Windows games (and thus most Wine users) need the 32-bit
OpenGL libraries to get 3D acceleration, and they are not available as
a package for amd64 (yet). So yes, there are valid reasons to run
32-bit Linux even on 64-bit systems.

For myself, I run i386 on my Pentium D because 64-bit support on the
earlier Intel models was actually slower than 32-bit -- but with the
amd64 kernel. This works fine except it used to break dkms (it tried to
compile 32-bit modules, which the 64-bit kernel won't load).


Regards,
Arno


-- 
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/20110526223552.4db6c...@neminis.loos.site



Re: received sms possible or not with debian ??

2011-05-26 Thread thuillier-charmet
Le Thu, 26 May 2011 18:56:28 + (UTC),
Camaleón  a écrit :

> On Thu, 26 May 2011 19:24:17 +0100, thuillier-charmet wrote:
> 
> > Le Thu, 26 May 2011 11:05:10 + (UTC), Camaleón
> >  a écrit :
> > 
> >> On Wed, 25 May 2011 20:22:50 +0100, thuillier-charmet wrote:
> >> 
> >> > i am looking a tip(s) for received sms without commercial
> >> > intermediate ? i am more beginner than a geek, so thanks in
> >> > advance for a full explanation.
> >> 
> >> You meant receive, send or manage them?
> >> 
> >> For sending I can see several ways to achieve it. You can:
> 
> (...)
> 
> > thanks
> > Only for received sms (but without mobil phone) (see answer to Ron
> > Johson)
> 
> Then better if you explain a bit more what are your goals (do you
> want to receive/route your sms to your e-mail inbox?) and what kind
> of service do you currently have.
> 
> It is still not crystal clear to me but if I'm on the right track,
> I'm afraid you'll have to contact your provider to check if that kind
> of service is possible but I'm still unsure why you think your OS has 
> anything to do here :-?
> 
> Greetings,
> 
At the moment i have a free mail box where i can
received fax or voice message with an intermdiate of free phone number.
i wish to received a sms on this mail box (without bought a mobil) when
someone like my bank sent to me a sms ! 
how i can do that ?
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/20110526211610.39820...@illogal.net



Re: received sms possible or not with debian ??

2011-05-26 Thread thuillier-charmet
Le Thu, 26 May 2011 20:23:09 +0100,
Brian  a écrit :

> On Thu 26 May 2011 at 19:10:43 +0100, thuillier-charmet wrote:
> 
> > i want only received sms :
> > 
> > In my reality i have a phone number (but no mobil phone) for
> > received vocal message on a mail-box.
> > I wish to received a sms on this
> > mail-box with intermediate of this phone number,
> > But i don't "how to do that" because at my level of knowledge there
> > are no "convert-program" for do that !
> > So that 'll be great tips to imagine or create this !
> 
> You can receive a vocal message on your phone number because there is
> a machine there which will accept it. It will not accept an sms.
> 
> There are phones which will accept an sms but converting voice to sms
> doesn't appear have software in Debian to do it.
> 
> It is possible to convert sms to voice because BT in the UK do it.
> 
> 
thanks
where i can find this "convert sms to voice" program ?


--
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/20110526205415.27371...@illogal.net



Re: su without a password (not root)

2011-05-26 Thread William Hopkins
On 05/26/11 at 07:31pm, Stanisław Findeisen wrote:
> pam_wheel lets you su to root without typing a password if you are a
> member of a specific group.
> 
> I need a PAM module with more flexible applicant user / target user
> pairs management. For instance I'd like to be able to su with no
> password from user A to users B and C, but not to root.
> 
> What is the way to do it?

If you must use PAM, consider a usage of pam_listfile and an authorized list of 
target users, or setting sense=deny and blacklisting root specifically. 
Configuring multiple pam modules to work together may be necessary to meet 
every part of your requirement, and this can be complicated and invites serious 
study and testing prior to implementation.

If PAM is not an absolute requirement, simply consider allowing the specific su 
commands via sudo. The sudo configuration is a much more straightforward access 
control and can be easily configured not to require passwords.

A basic sudoers example is listed:

User_AliasSU_USERS = username1,username2,username3 #users who may use 
su-to-user
Cmnd_AliasSU_NOT_ROOT = /usr/bin/su - targetuser1, /usr/bin/su - targetuser2

SU_USERS  ALL = NOPASSWD: SU_NOT_ROOT

now username1, 2 and 3 can sudo su - targetuser1 or sudo su - targetuser2 
without password, and attempts to su - or sudo su - will fail and be logged. 

Hope this helps!

--
Liam


signature.asc
Description: Digital signature


Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread William Hopkins
On 05/26/11 at 09:21pm, wzab wrote:
> > How many machines are we talking about? It seems coincidental.
> > The only corollation is that squeeze did move to using UUIDs by default.
> 
> I've investigated 5 machines. In three of them permissions are set to 0755
> and in two to 0777.
> I've tried to boot different kernels (with initrd and without initrd), boot
> with "init=/bin/bash" to skip running all init scripts, but results are still 
> the same.
> 
> The most interesting fact is that even for the same standard Debian kernel
> 2.6.38.2 permissions in machines differ...
> 
> I tried to investigate in sources how kernel selects initial permissions for 
> root node,
> but I didn't succeed...
The kernel does not, AFAIK,  modify the filesystem permissions on boot. They 
are set as an attribute in the root inode. 

Instead of thinking of the filesystem as permissionless before boot, consider 
that even when turned off, the permissions attribute is set. If you take the 
drive out and attach it to another system to analyze, you will see the same 
permissions, since they are stored in the filesystem.

> 
> The problem is really serious, as it allows the plain user to change 
> configuration of machine...
> I hope it is a silly misconfiguration in 2 of my machines...

It most likely is. 

--
Liam


signature.asc
Description: Digital signature


Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread Boyd Stephen Smith Jr.
In <4ddea84e.1030...@ise.pw.edu.pl>, wzab wrote:
>I tried to investigate in sources how kernel selects initial permissions for
>root node, but I didn't succeed...

It reads those permissions from the file system stored on the block device 
specified in the root= kernel command-line parameter.

File system permissions are persistent.  If you don't see them change you 
can't be sure whether nothing is trying to change them OR coming is trying to 
change them, but to what they already are.  If you do see them change, then 
you can start isolating the problem.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: LVM: combining two logical volumes, how?

2011-05-26 Thread Boyd Stephen Smith Jr.
In <4dde7e85.50...@heard.name>, Ken Heard wrote:
>In a box with Squeeze I have one volume group (VG1) with only one (at
>the moment) physical volume (/dev/md1).  Two of the six current logical
>volumes (LV) in VG1 are are /dev/VG1/root (/) and /dev/VG1/usr.  I want
>to (1) enlarge /dev/VG1/root, (2) transfer the contents of /dev/VG1/usr
>to it, and (3) remove /dev/VG1/usr.
>
>Enlarging /dev/VG1/root is easy (I think) using the lvextend command,
>and so is removing /dev/VG1/usr using the lvremove command.  What I
>cannot find is any command or information to do the second step,
>transfer the entire contents of one LV to another.  Is it possible to do
>what I want to do?

You would do that via cp, rsync, etc.

Something like this could work:
mount -o bind / /mnt
# view of the / file systems without any other mounts under /mnt
mount -o remount,ro /usr # Make sure no one is writing to the /usr file system
rsync -HaAxX --progress --stats /usr/. /mnt/usr
# Copy the data, including hard links, acls, and extended attributes
umount /mnt # Remove the view
sync;sync;sync # Precaution
umount /usr
# Fully unmount /usr, exposing the copy created on the / file system

Why doesn't LVM do this?  Because, you might not put file systems on LVs and 
it doesn't understand the dozen different file systems you might have on the 
two LVs, even if they are both file systems.

LVM operates at the LE / PE (block) level, it doesn't really understand 
anything besides that.  vgmerge exists because that can be handled at the 
block level basically by rewriting all the metadata on one VG.  We can know 
that is the correct operation because only LVM itself reads / writes that 
metadata.  lvmerge could certainly be done at the block level, but then the 
file systems or device mapper devices or whatever you put on top of your LVs 
could be confused.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: [SOLVED] need help with clamav

2011-05-26 Thread Ron Johnson

On 05/26/2011 02:02 PM, Brian wrote:
[snip]


Broadly I agree with your sentiments. Now all that remains is to
convince the other 100,000,000+ who run everything as root to adopt the
same atitude. Antivirus software is for after the event. Failure has
already taken place.



Obligatory xkcd reference: http://xkcd.com/463/

--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
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/4ddeac58.9070...@cox.net



Re: received sms possible or not with debian ??

2011-05-26 Thread Brian
On Thu 26 May 2011 at 19:10:43 +0100, thuillier-charmet wrote:

> i want only received sms :
> 
> In my reality i have a phone number (but no mobil phone) for received
> vocal message on a mail-box.
> I wish to received a sms on this
> mail-box with intermediate of this phone number,
> But i don't "how to do that" because at my level of knowledge there are
> no "convert-program" for do that !
> So that 'll be great tips to imagine or create this !

You can receive a vocal message on your phone number because there is a
machine there which will accept it. It will not accept an sms.

There are phones which will accept an sms but converting voice to sms
doesn't appear have software in Debian to do it.

It is possible to convert sms to voice because BT in the UK do it.


-- 
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/20110526192309.GP3027@desktop



Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread wzab

 How many machines are we talking about? It seems coincidental.
 The only corollation is that squeeze did move to using UUIDs by default.


I've investigated 5 machines. In three of them permissions are set to 0755
and in two to 0777.
I've tried to boot different kernels (with initrd and without initrd), boot
with "init=/bin/bash" to skip running all init scripts, but results are still 
the same.

The most interesting fact is that even for the same standard Debian kernel
2.6.38.2 permissions in machines differ...

I tried to investigate in sources how kernel selects initial permissions for 
root node,
but I didn't succeed...

The problem is really serious, as it allows the plain user to change 
configuration of machine...
I hope it is a silly misconfiguration in 2 of my machines...
--
Regards,
Wojtek


--
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/4ddea84e.1030...@ise.pw.edu.pl



Re: Wrong permissions 0777 on "/" in my debian/testing system

2011-05-26 Thread Boyd Stephen Smith Jr.
In <4dde9275.5000...@elektron.elka.pw.edu.pl>, 
wzabo...@elektron.elka.pw.edu.pl wrote:
>To isolate the problem, I've booted two machines with "init=/bin/bash".
>Anyway in one machine permissions to "/" were set to 0755, while in the
>second one the were set to 0777, just as during normal boot.
>
>So the problem must be associated somehow with bootloader (grub),
>as no initialization scripts are run in this case...

File system permissions are stored persistently.  If they don't change, you 
have no indication whether they were set or not.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net   ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/


signature.asc
Description: This is a digitally signed message part.


Re: [SOLVED] need help with clamav

2011-05-26 Thread Brian
On Thu 26 May 2011 at 13:04:38 -0400, Mark Grieveson wrote:

Apologies for picking this out and snipping your very useful technical
response but . . . .

> Others here have argued that it's not necessary to worry about viruses
> and stuff when using Linux, but I still like to do it to feel a bit
> safer (admittedly, if I were to deactivate the root account and set up
> some sort of sudo thingy, as seems more common now, I might be safer --
> but oh well).

Feeling safer and being safer are not the same. I bet you agree with
that. The way I understand it is that clamv doesn't protect a Debian
machine so, having no other OS here, it has no function I can use.

As for sudo being inherently safer - there are arguments for and
against. I'm not convinced it is. Whatever is meant by safer.

>It seems like the right thing to do good to actively try
> not to spread viruses and malware (even if such malware doesn't affect
> your own system.)  It's the act of a decent netizen, I feel.

Broadly I agree with your sentiments. Now all that remains is to
convince the other 100,000,000+ who run everything as root to adopt the
same atitude. Antivirus software is for after the event. Failure has
already taken place.


-- 
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/20110526190213.GO3027@desktop



Re: no beep under emacs

2011-05-26 Thread Frederic Baldit
Le jeudi 26 mai 2011 à 17:59 +, Camaleón a écrit :
> On Thu, 26 May 2011 19:28:46 +0200, Frederic Baldit wrote:
> 
> > Le jeudi 26 mai 2011 à 17:22 +, Camaleón a écrit :
> >> On Thu, 26 May 2011 18:52:08 +0200, Frederic Baldit wrote:
> >> 
> >> > Le jeudi 26 mai 2011 à 12:06 +, Camaleón a écrit :
> >> >> On Thu, 26 May 2011 10:45:17 +0200, Frederic Baldit wrote:
> >> >> 
> >> >> > I have the following pbm with emacs (23.2.1) under squeeze and
> >> >> > gnome desktop (2.30.2): I don't hear any beep when pressing, e.g.,
> >> >> > Ctl g. When running emacs within a terminal, with emacs -nw, I
> >> >> > hear the beep. Running it in a X window (as ussual) I don't hear
> >> >> > any beep.
> >> >> 
> >> >> (...)
> >> >> 
> >> >> Open the gconf editor and search for "bell" to ensure the beep is
> >> >> enabled system-wide (/apps/metacity/general/audible_bell [x]).
> >> > the beep is enabled. I had checked this before.
> >> 
> >> Does 'echo -e "\a"' produce the standard beep?
> > yes it produces a beep, the gnome system beep
> 
> (...)
> 
> What do you mean by "the gnome system beep"? Can you record a sample and 
> upload to any site so we can hear it?
Here is it, attached. I found it
in /usr/share/sounds/freedesktop/stereo.
> 
> Also, as root run "amixer | grep -i beep" and put here the ouput.
fred@Siula-Grande:sudo amixer | grep -i beep
Simple mixer control 'PC Beep',0
> 
> I suppose you also checked that "pcspkr" or "snd-pcsp" modules are 
> loaded, right?
fred@Siula-Grande:lsmod | grep pcspkr 
pcspkr  1699  0 
fred@Siula-Grande:lsmod | grep snd*
snd_hda_codec_idt  42513  1 
snd_hda_intel  20051  1 
snd_hda_codec  54244  2 snd_hda_codec_idt,snd_hda_intel
snd_hwdep   5380  1 snd_hda_codec
snd_pcm60503  2 snd_hda_intel,snd_hda_codec
snd_seq42913  0 
snd_timer  15582  2 snd_pcm,snd_seq
snd_seq_device  4493  1 snd_seq
snd46542  10
snd_hda_codec_idt,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_seq,snd_timer,snd_seq_device
soundcore   4598  1 snd
snd_page_alloc  6265  2 snd_hda_intel,snd_pcm

Hope it helps!
  Frédéric.



bell.oga
Description: audio/ogg


Re: Wrong permissions 0777 on "/" in my debian/testing system

2011-05-26 Thread William Hopkins
On 05/26/11 at 07:48pm, wzabo...@elektron.elka.pw.edu.pl wrote:
> To isolate the problem, I've booted two machines with "init=/bin/bash".
> Anyway in one machine permissions to "/" were set to 0755, while in the
> second one the were set to 0777, just as during normal boot.
> 
> So the problem must be associated somehow with bootloader (grub),
> as no initialization scripts are run in this case...
Filesystem permissions are not set by GRUB. You can boot any OS, liveCD, 
netboot image, etc. and see the same permissions.

--
Liam


signature.asc
Description: Digital signature


Re: received sms possible or not with debian ??

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 19:24:17 +0100, thuillier-charmet wrote:

> Le Thu, 26 May 2011 11:05:10 + (UTC), Camaleón 
> a écrit :
> 
>> On Wed, 25 May 2011 20:22:50 +0100, thuillier-charmet wrote:
>> 
>> > i am looking a tip(s) for received sms without commercial
>> > intermediate ? i am more beginner than a geek, so thanks in advance
>> > for a full explanation.
>> 
>> You meant receive, send or manage them?
>> 
>> For sending I can see several ways to achieve it. You can:

(...)

> thanks
> Only for received sms (but without mobil phone) (see answer to Ron
> Johson)

Then better if you explain a bit more what are your goals (do you want to 
receive/route your sms to your e-mail inbox?) and what kind of service do 
you currently have.

It is still not crystal clear to me but if I'm on the right track, I'm 
afraid you'll have to contact your provider to check if that kind of 
service is possible but I'm still unsure why you think your OS has 
anything to do here :-?

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.2011.05.26.18.56...@gmail.com



Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread William Hopkins
On 05/26/11 at 05:31pm, wzab wrote:
> OK. I've found one regularity:
> Machines with correct permissions have the root partition defined by
> UUID in the /etc/fstab.
> Machines with incorrect permissions have root partition defined as
> e.g. /dev/sda2.
> Can it be really source of the problem?
How many machines are we talking about? It seems coincidental.
The only corollation is that squeeze did move to using UUIDs by default.

--
Liam


signature.asc
Description: Digital signature


Re: Anyone solved the b43legacy 1 Mb/s issue in Squeeze?

2011-05-26 Thread Stan Hoeppner
On 5/26/2011 12:59 PM, Mark wrote:
> On Wed, May 25, 2011 at 9:01 PM, Stan Hoeppner wrote:
> 
>> On 5/25/2011 10:28 PM, Mark wrote:
>>> This is a long-standing issue with b43legacy wireless and transmission
>> rates
>>> being slow, across various Linux distros and many years.  Since I
>> upgraded
>>> to Squeeze I was hopeful the rate issue would be fixed but alas it is
>> not.
>>> I can run "iwconfig wlan0 rate 54M" to get wicd and iwconfig to say it's
>> 54
>>> Mb/s but it's actually connected at 1 Mb/s in reality.  Any chance
>> someone
>>> on this list has figured out a solution that my hours of Googling did not
>>> produce?  ndiswrapper didn't solve the problem based on other peoples'
>>> experiences, FWIW.
>>
>> Providing some technical information may actually get you some help.
>> You've stated you have a speed problem with a wireless card, but didn't
>> even state which card, or rev of chip.  The way you've formed your
>> inquiry you have limited possible responders to those on this list who
>> actually have the same exact Broadcom chip you have, but you haven't
>> stated which one you have.
>>
>> This is a technical mailing list.  Provide some technical details please.
>>
> 
> 02:03.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g
> Wireless LAN Controller [14e4:4320] (rev 02)
> 
> Here are the Google hits I referenced:
> http://www.google.com/search?q=bcm43xx+1+mb%2Fs+linux&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=iceweasel-a#hl=en&client=iceweasel-a&rls=org.mozilla:en-US:unofficial&sa=X&ei=sZPeTd71IJTZiAKfxdnqCg&sqi=2&ved=0CBUQBSgA&q=wireless+1Mb/s+linux&spell=1&bav=on.2,or.r_gc.r_pw.&fp=859f00ba5791172e&biw=1680&bih=858
> 
> What else should I provide?  Using vanilla Squeeze, wicd as wireless
> manager.  Already configured wicd wireless-settings.conf to be 54 Mb/s but
> the RX rate remains slow.
> 
> Was curious if anyone had figured out a workaround.

You haven't mentioned whether the proprietary Broadcom driver provides
full speed.  Thus, we don't know if your card has a problem, or if you
simply can't get the FLOSS driver working.  If the Broadcom driver
works, why are you beating your head against the wall with the FLOSS
driver problem?

You also haven't mentioned your testing methodology.  If your test
consists of pulling a file via FTP over your home wired broadband
connection, which is only 1mb/s, then of course you'll only get 1mb/s RX
rates.  If test is over public WiFi with a verified throughput higher
than 1mb/s, then that information is obviously relevant.

Details, details, details.

-- 
Stan


-- 
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/4ddea06b.90...@hardwarefreak.com



Re: received sms possible or not with debian ??

2011-05-26 Thread thuillier-charmet
Le Thu, 26 May 2011 11:05:10 + (UTC),
Camaleón  a écrit :

> On Wed, 25 May 2011 20:22:50 +0100, thuillier-charmet wrote:
> 
> > i am looking a tip(s) for received sms without commercial
> > intermediate ? i am more beginner than a geek, so thanks in advance
> > for a full explanation.
> 
> You meant receive, send or manage them?
> 
> For sending I can see several ways to achieve it. You can:
> 
> a) Send your self the SMS with your own modem and the proper program
> 
> b) Use your cell-phone provider SMS gateway (no additional equipment 
> needed)
> 
> c) Use a third-party service (like [1]) but if you don't want 
> intermediates you can jump this one :-)
> 
> I had b) setup for my UPS alerts and works like a charm (it was very
> easy to setup deploy) but if you need to send bulk SMS maybe a) or c)
> are the most suitable options.
> 
> [1] http://en.smspc.net/
> 
> Greetings,
> 

thanks
Only for received sms (but without mobil phone) (see answer to Ron
Johson)


--
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/20110526192417.1b692...@illogal.net



Re: Anyone solved the b43legacy 1 Mb/s issue in Squeeze?

2011-05-26 Thread Mark
On Thu, May 26, 2011 at 11:25 AM, Camaleón  wrote:

> On Thu, 26 May 2011 11:01:29 -0700, Mark wrote:
>
> > Unfortunately my card needs b43legacy since it is a BCM 4306 rev 02
> > model...
>
> Ouch!
>
> > any other ideas?
>
> Buying a new USB/PC Card wireless adapter? O:-)
>

Good suggestion - a while ago I swapped it out with an Intel 2200 wifi card
and the BIOS rejected it/didn't detect a wifi card, but haven't done the
usb/pc card method yet.  I hate using extra hardware that duplicates the
function of existing hardware, but may not have much choice if I want faster
rates.


>
> Sorry, that chipset seems to be a bit problematic.
>
> However, you can load a LiveCD for any recent distribution that bundles
> the most updated kernel (2.6.39.x?) and b43 legacy drivers to see if you
> see any improvement.
>

I'll give this a shot at some point.  Last year when I researched this
issue, reports were that the 2.6.32 kernel ran the b43 module better.  That
has turned out not to be the case so far.

Thanks for your help.
Mark


Re: su without a password (not root)

2011-05-26 Thread Jimmy Wu
How about using sudo + sudoers instead?

2011/5/26 Stanisław Findeisen :
> pam_wheel lets you su to root without typing a password if you are a
> member of a specific group.
>
> I need a PAM module with more flexible applicant user / target user
> pairs management. For instance I'd like to be able to su with no
> password from user A to users B and C, but not to root.
>
> What is the way to do it?
>
> Thanks!
>
> --
> Eisenbits - proven software solutions: http://www.eisenbits.com/
> OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0
>
>
> --
> 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/4dde8e85.3040...@eisenbits.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/banlktimcob2m9jdr4xps-7rbrephzto...@mail.gmail.com



Re: received sms possible or not with debian ??

2011-05-26 Thread thuillier-charmet
Le Wed, 25 May 2011 22:22:40 -0500,
Ron Johnson  a écrit :

> On 05/25/2011 02:22 PM, thuillier-charmet wrote:
> > i am looking a tip(s) for received sms without commercial
> > intermediate ? i am more beginner than a geek, so thanks in advance
> > for a full explanation.
> >
> 
> You want to send/receive SMS messages with cell phones without
> hooking in some how with the cell phone provider?
> 
> Or am I misunderstanding you?
> 

i want only received sms :

In my reality i have a phone number (but no mobil phone) for received
vocal message on a mail-box.
I wish to received a sms on this
mail-box with intermediate of this phone number,
But i don't "how to do that" because at my level of knowledge there are
no "convert-program" for do that !
So that 'll be great tips to imagine or create this !
!
?
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/20110526191043.5abc3...@illogal.net



Re: Anyone solved the b43legacy 1 Mb/s issue in Squeeze?

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 11:01:29 -0700, Mark wrote:

> On Thu, May 26, 2011 at 6:04 AM, Camaleón  wrote:
> 
>> On Wed, 25 May 2011 20:28:58 -0700, Mark wrote:
>>
>> > This is a long-standing issue with b43legacy wireless and
>> > transmission rates being slow, across various Linux distros and many
>> > years.  Since I upgraded to Squeeze I was hopeful the rate issue
>> > would be fixed but alas it is not. I can run "iwconfig wlan0 rate
>> > 54M" to get wicd and iwconfig to say it's 54 Mb/s but it's actually
>> > connected at 1 Mb/s in reality. Any chance someone on this list has
>> > figured out a solution that my hours of Googling did not produce? 
>> > ndiswrapper didn't solve the problem based on other peoples'
>> > experiences, FWIW.
>>
>> There is a very good and complete page on this module that explains the
>> difference between the two drivers (b43/b43legacy) and when to use each
>> of them:
>>
>> http://wireless.kernel.org/en/users/Drivers/b43
>>
>> If you wireless card supports it, you can try to load b43 which seems
>> to support a wider range of devices.
>>
>>
> Unfortunately my card needs b43legacy since it is a BCM 4306 rev 02
> model...

Ouch!

> any other ideas?

Buying a new USB/PC Card wireless adapter? O:-)

Sorry, that chipset seems to be a bit problematic.

However, you can load a LiveCD for any recent distribution that bundles 
the most updated kernel (2.6.39.x?) and b43 legacy drivers to see if you 
see any improvement.

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.2011.05.26.18.25...@gmail.com



Re: Wicd Wireless Woes

2011-05-26 Thread Bob McGowan

On 05/24/2011 02:09 PM, Wayne Topa wrote:

On 05/24/2011 05:04 PM, Wayne Topa wrote:

On 05/24/2011 11:33 AM, Bill wrote:

Hi folks,

I'm having problems connecting to my wireless access point using wicd.
Wicd seems to be running ok. I can connect and disconnect from my wired
network at will. Wicd also detects a variety of wireless networks in my
neighborhood, including my own, but won't connect. It claims there's a
bad password, but I've triple checked that. It's correct.

I'm including the relevant information from the wicd log below. I hope
someone can point me in the right direction. Wicd is complaining about
a variety of things, any of which could be the real cause of the
problem.


After a re-read of your OP, I have more questions, mainly how are you
starting wicd? I ask that because I have reviewed my squeeze logs where
I did have problems getting wide to associate, and find no reference to
wicd-cli in them.

I start wicd on a console with wicd-curses and in X with wicd-gtk. My
logs show no wicd-cli calls at all.

Hope this helps, some

WT



My old eyes are seeing things.  Forget the wicd-cli  I read it wrong!!!
wpa-cli != wicd-cli.

Sorry for the noise
And for replying to you directly.  Iceweasel just dropped the
reply-to-list button and I didn't notice it until after I hit send.  G




I've missed earlier emails on this subject, so this may have been said 
and found wanting.


In Ubuntu land, there have been many references to this type of problem. 
 The bottom line appears to be that 'wicd' and 'network-manager' get 
installed together (that is, when you install 'wicd', 'network-manager' 
is not removed), and they interfere with each other.


Remove *all* packages related to 'network-manager' that are installed. 
This has worked for me on several different Ubuntu/Kubuntu releases.


I don't know what the Ubuntu references are, that info's all on my home 
system.


--
Bob McGowan


--
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/4dde8f15.4010...@symantec.com



Wrong permissions 0777 on "/" in my debian/testing system

2011-05-26 Thread wzabo...@elektron.elka.pw.edu.pl

To isolate the problem, I've booted two machines with "init=/bin/bash".
Anyway in one machine permissions to "/" were set to 0755, while in the
second one the were set to 0777, just as during normal boot.

So the problem must be associated somehow with bootloader (grub),
as no initialization scripts are run 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/4dde9275.5000...@elektron.elka.pw.edu.pl



Re: Anyone solved the b43legacy 1 Mb/s issue in Squeeze?

2011-05-26 Thread Mark
On Thu, May 26, 2011 at 6:04 AM, Camaleón  wrote:

> On Wed, 25 May 2011 20:28:58 -0700, Mark wrote:
>
> > This is a long-standing issue with b43legacy wireless and transmission
> > rates being slow, across various Linux distros and many years.  Since I
> > upgraded to Squeeze I was hopeful the rate issue would be fixed but alas
> > it is not. I can run "iwconfig wlan0 rate 54M" to get wicd and iwconfig
> > to say it's 54 Mb/s but it's actually connected at 1 Mb/s in reality.
> > Any chance someone on this list has figured out a solution that my hours
> > of Googling did not produce?  ndiswrapper didn't solve the problem based
> > on other peoples' experiences, FWIW.
>
> There is a very good and complete page on this module that explains the
> difference between the two drivers (b43/b43legacy) and when to use each
> of them:
>
> http://wireless.kernel.org/en/users/Drivers/b43
>
> If you wireless card supports it, you can try to load b43 which seems to
> support a wider range of devices.
>

Unfortunately my card needs b43legacy since it is a BCM 4306 rev 02
model...any other ideas?


Re: no beep under emacs

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 19:28:46 +0200, Frederic Baldit wrote:

> Le jeudi 26 mai 2011 à 17:22 +, Camaleón a écrit :
>> On Thu, 26 May 2011 18:52:08 +0200, Frederic Baldit wrote:
>> 
>> > Le jeudi 26 mai 2011 à 12:06 +, Camaleón a écrit :
>> >> On Thu, 26 May 2011 10:45:17 +0200, Frederic Baldit wrote:
>> >> 
>> >> > I have the following pbm with emacs (23.2.1) under squeeze and
>> >> > gnome desktop (2.30.2): I don't hear any beep when pressing, e.g.,
>> >> > Ctl g. When running emacs within a terminal, with emacs -nw, I
>> >> > hear the beep. Running it in a X window (as ussual) I don't hear
>> >> > any beep.
>> >> 
>> >> (...)
>> >> 
>> >> Open the gconf editor and search for "bell" to ensure the beep is
>> >> enabled system-wide (/apps/metacity/general/audible_bell [x]).
>> > the beep is enabled. I had checked this before.
>> 
>> Does 'echo -e "\a"' produce the standard beep?
> yes it produces a beep, the gnome system beep

(...)

What do you mean by "the gnome system beep"? Can you record a sample and 
upload to any site so we can hear it?

Also, as root run "amixer | grep -i beep" and put here the ouput.

I suppose you also checked that "pcspkr" or "snd-pcsp" modules are 
loaded, right?

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.2011.05.26.17.59...@gmail.com



Re: Anyone solved the b43legacy 1 Mb/s issue in Squeeze?

2011-05-26 Thread Mark
On Wed, May 25, 2011 at 9:01 PM, Stan Hoeppner wrote:

> On 5/25/2011 10:28 PM, Mark wrote:
> > This is a long-standing issue with b43legacy wireless and transmission
> rates
> > being slow, across various Linux distros and many years.  Since I
> upgraded
> > to Squeeze I was hopeful the rate issue would be fixed but alas it is
> not.
> > I can run "iwconfig wlan0 rate 54M" to get wicd and iwconfig to say it's
> 54
> > Mb/s but it's actually connected at 1 Mb/s in reality.  Any chance
> someone
> > on this list has figured out a solution that my hours of Googling did not
> > produce?  ndiswrapper didn't solve the problem based on other peoples'
> > experiences, FWIW.
>
> Providing some technical information may actually get you some help.
> You've stated you have a speed problem with a wireless card, but didn't
> even state which card, or rev of chip.  The way you've formed your
> inquiry you have limited possible responders to those on this list who
> actually have the same exact Broadcom chip you have, but you haven't
> stated which one you have.
>
> This is a technical mailing list.  Provide some technical details please.
>

02:03.0 Network controller [0280]: Broadcom Corporation BCM4306 802.11b/g
Wireless LAN Controller [14e4:4320] (rev 02)

Here are the Google hits I referenced:
http://www.google.com/search?q=bcm43xx+1+mb%2Fs+linux&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:unofficial&client=iceweasel-a#hl=en&client=iceweasel-a&rls=org.mozilla:en-US:unofficial&sa=X&ei=sZPeTd71IJTZiAKfxdnqCg&sqi=2&ved=0CBUQBSgA&q=wireless+1Mb/s+linux&spell=1&bav=on.2,or.r_gc.r_pw.&fp=859f00ba5791172e&biw=1680&bih=858

What else should I provide?  Using vanilla Squeeze, wicd as wireless
manager.  Already configured wicd wireless-settings.conf to be 54 Mb/s but
the RX rate remains slow.

Was curious if anyone had figured out a workaround.


Re: [SOLVED] need help with clamav

2011-05-26 Thread Ron Johnson

On 05/26/2011 12:04 PM, Mark Grieveson wrote:
[snip]


Others here have argued that it's not necessary to worry about viruses
and stuff when using Linux, but I still like to do it to feel a bit
safer (admittedly, if I were to deactivate the root account and set up
some sort of sudo thingy, as seems more common now, I might be safer --


So, you log into your GUI as root?


but oh well).  It seems like the right thing to do good to actively try
not to spread viruses and malware (even if such malware doesn't affect
your own system.)  It's the act of a decent netizen, I feel.



No email-borne malware should ever be able to leave your email folder, 
so all you need to do is scan it once and then just incoming mail.


Any malware that makes it into your Linux /usr directory can't harm 
Windows users because of the fundamental differences between Linux & 
Windows.


--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
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/4dde93b7.9050...@cox.net



su without a password (not root)

2011-05-26 Thread Stanisław Findeisen
pam_wheel lets you su to root without typing a password if you are a
member of a specific group.

I need a PAM module with more flexible applicant user / target user
pairs management. For instance I'd like to be able to su with no
password from user A to users B and C, but not to root.

What is the way to do it?

Thanks!

-- 
Eisenbits - proven software solutions: http://www.eisenbits.com/
OpenPGP: E3D9 C030 88F5 D254 434C  6683 17DD 22A0 8A3B 5CC0


-- 
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/4dde8e85.3040...@eisenbits.com



Re: no beep under emacs

2011-05-26 Thread Frederic Baldit
Le jeudi 26 mai 2011 à 17:22 +, Camaleón a écrit :
> On Thu, 26 May 2011 18:52:08 +0200, Frederic Baldit wrote:
> 
> > Le jeudi 26 mai 2011 à 12:06 +, Camaleón a écrit :
> >> On Thu, 26 May 2011 10:45:17 +0200, Frederic Baldit wrote:
> >> 
> >> > I have the following pbm with emacs (23.2.1) under squeeze and gnome
> >> > desktop (2.30.2): I don't hear any beep when pressing, e.g., Ctl g.
> >> > When running emacs within a terminal, with emacs -nw, I hear the
> >> > beep. Running it in a X window (as ussual) I don't hear any beep.
> >> 
> >> (...)
> >> 
> >> Open the gconf editor and search for "bell" to ensure the beep is
> >> enabled system-wide (/apps/metacity/general/audible_bell [x]).
> > the beep is enabled. I had checked this before.
> 
> Does 'echo -e "\a"' produce the standard beep?
yes it produces a beep, the gnome system beep
> 
> Also, if there is a "beep" device in your GNOME sound applet, check it is 
> enabled and volume set to a high level.
PC beep is not mutted and is at the maximum level.

  Frédéric.



-- 
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/1306430926.2955.2.ca...@siula-grande.lan



Re: no beep under emacs

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 18:52:08 +0200, Frederic Baldit wrote:

> Le jeudi 26 mai 2011 à 12:06 +, Camaleón a écrit :
>> On Thu, 26 May 2011 10:45:17 +0200, Frederic Baldit wrote:
>> 
>> > I have the following pbm with emacs (23.2.1) under squeeze and gnome
>> > desktop (2.30.2): I don't hear any beep when pressing, e.g., Ctl g.
>> > When running emacs within a terminal, with emacs -nw, I hear the
>> > beep. Running it in a X window (as ussual) I don't hear any beep.
>> 
>> (...)
>> 
>> Open the gconf editor and search for "bell" to ensure the beep is
>> enabled system-wide (/apps/metacity/general/audible_bell [x]).
> the beep is enabled. I had checked this before.

Does 'echo -e "\a"' produce the standard beep?

Also, if there is a "beep" device in your GNOME sound applet, check it is 
enabled and volume set to a high level.

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.2011.05.26.17.22...@gmail.com



Re: [SOLVED] need help with clamav

2011-05-26 Thread Mark Grieveson
> > The posting was fine.  I use clamav in Squeeze, but I have not had
> > the same problems that you cited.  It works fine for me; hence, I
> > did not respond since I had no feedback to give.  
> 
> Thanks for the comment Mark.


You're welcome.  One problem I did have with clamav was when it was run
to scan everything.  It would get stuck in the /sys directory for some
reason.  So, I excluded that directory, and it has worked fine since.
I use the command line to run it, and I run it as root user.

I have a file called "theclam" which I keep in my /usr/local/bin
directory (so that I can simply type "theclam" -- w/out quotes -- to
run it).  The file contains the following:

exec clamscan / --exclude-dir=/sys --detect-pua --detect-broken -i -r
--log=/home/mark/clamscanresult -v --max-filesize=4000m

The above doesn't delete the files that it flags.  Instead, within the
log file, it marks them as "FOUND -- blah blah explanation blah".  I
then do a case-sensitive search for the word "FOUND", and check out the
files.

Rather than the older "volatile" repository, you need the following in
your sources.list to get the most recent updates:

# latest clamav clamav-daemon and avscan for squeeze
deb http://mirrors.kernel.org/debian squeeze-updates main contrib

Also, to scan rar files, you'll need the libclamunrar package (I think
it's libclamunrar6), along with either unrar from non-free, or
unrar-free.  libclamunrar is in the aforementioned squeeze-updates
repository.

Others here have argued that it's not necessary to worry about viruses
and stuff when using Linux, but I still like to do it to feel a bit
safer (admittedly, if I were to deactivate the root account and set up
some sort of sudo thingy, as seems more common now, I might be safer --
but oh well).  It seems like the right thing to do good to actively try
not to spread viruses and malware (even if such malware doesn't affect
your own system.)  It's the act of a decent netizen, I feel.

Mark


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



Re: no beep under emacs

2011-05-26 Thread Frederic Baldit
Le jeudi 26 mai 2011 à 12:06 +, Camaleón a écrit :
> On Thu, 26 May 2011 10:45:17 +0200, Frederic Baldit wrote:
> 
> > I have the following pbm with emacs (23.2.1) under squeeze and gnome
> > desktop (2.30.2): I don't hear any beep when pressing, e.g., Ctl g. When
> > running emacs within a terminal, with emacs -nw, I hear the beep.
> > Running it in a X window (as ussual) I don't hear any beep.
> 
> (...)
> 
> Open the gconf editor and search for "bell" to ensure the beep is enabled 
> system-wide (/apps/metacity/general/audible_bell [x]).
the beep is enabled. I had checked this before.

  Thank's,
  Frédéric.



-- 
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/1306428728.2546.1.ca...@siula-grande.lan



Re: LVM: combining two logical volumes, how?

2011-05-26 Thread Alan Chandler

On 26/05/11 17:38, Alan Chandler wrote:

On 26/05/11 17:23, Ken Heard wrote:

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In a box with Squeeze I have one volume group (VG1) with only one (at
the moment) physical volume (/dev/md1). Two of the six current logical
volumes (LV) in VG1 are are /dev/VG1/root (/) and /dev/VG1/usr. I want
to (1) enlarge /dev/VG1/root, (2) transfer the contents of /dev/VG1/usr
to it, and (3) remove /dev/VG1/usr.

Enlarging /dev/VG1/root is easy (I think) using the lvextend command,
and so is removing /dev/VG1/usr using the lvremove command. What I
cannot find is any command or information to do the second step,
transfer the entire contents of one LV to another. Is it possible to do
what I want to do?

Regards, Ken Heard


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

iEUEARECAAYFAk3efoQACgkQlNlJzOkJmTdQ2gCfcm2uLRAxIvw4KSKVTO4ZFHBK
UFYAl1QzdLnRFfo3zyljE6loTHUByXc=
=wv3O
-END PGP SIGNATURE-




Mount the /dev/VG1/usr somewhere other than its normal mount point and
then user rsync to copy data from this alternative mount point into a
directory (not mounted) where it would have been



Sorry, didn't mean to reply directly - should have copied the list
--
Alan Chandler
http://www.chandlerfamily.org.uk


--
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/4dde824f.2010...@chandlerfamily.org.uk



Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread wzabo...@elektron.elka.pw.edu.pl

W dniu 26.05.2011 17:31, wzab pisze:

OK. I've found one regularity:
Machines with correct permissions have the root partition defined by
UUID in the /etc/fstab.
Machines with incorrect permissions have root partition defined as e.g.
/dev/sda2.
Can it be really source of the problem?



No, it was just random coincidence.
I still can't see any reason why in two machines, running the same 
kernel "2.6.38-2-686 #1 SMP Sun May 8 14:49:45 UTC 2011 i686 GNU/Linux"

the permissions on "/" are different.

One machine:
# stat /
  File: `/'
  Size: 704 Blocks: 1  IO Block: 4096   katalog
Device: 803h/2051d  Inode: 2   Links: 24
Access: (0777/drwxrwxrwx)  Uid: (0/root)   Gid: (0/root)
Access: 2011-05-25 20:02:27.0 +0200
Modify: 2011-04-22 17:00:41.0 +0200
Change: 2011-04-22 17:00:41.0 +0200

Second machine:
# stat /
  File: `/'
  Size: 4096Blocks: 8  IO Block: 4096   katalog
Device: 816h/2070d  Inode: 2   Links: 22
Access: (0755/drwxr-xr-x)  Uid: (0/root)   Gid: (0/root)
Access: 2011-05-20 19:38:55.183501032 +0200
Modify: 2011-04-23 18:39:16.879433592 +0200
Change: 2011-04-23 18:39:16.879433592 +0200


--
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/4dde7e56.1090...@elektron.elka.pw.edu.pl



Samba usershares & permissions problem

2011-05-26 Thread Alan Chandler

I have a fairly simple requirement

I am running Debian Unstable on my Desktop and I want to provide a 
folder for my Windows 7 laptop to deposit some files.


I thought that the simplest approach would be using samba on its own, 
but I then discovered the existance of nautilus-share which should make 
it so much easier when I want to swap around things.


I followed instructions in /usr/share/doc/nautilus-share, adding myself 
to the sambashare group and right clicking on an appropriate folder 
inside my home dir (several layers in) and adding sharing.  Clicking on 
guests-allow.


Checking the permissions of things

/var/lib/samba/usershares is 1777 and owned by root:sambashare

the file inside /var/lib/samba/usershare that represents my share has 
permissions 644 and is owned by alan:alan (ie me).  Its contents include 
the path to my share and the following two lines.


usershare_acl=S-1-1-0:F
guest_ok=y


the directory I am pointing to (ie the one I am sharing) has ownership 
alan:sambashare and 777 permissions.


When I scan the network in Windows 7 in normal mode, it can't find my 
machine.  However I am able to connect by entering \\Kanga (my machines 
name) and then its sees it.


I can now read from this share, but not write to it.

Looking in the samba log (or more explicitly /var/log/samba/log.smbd I 
see my windows laptop log in as user nobody and then get permission denied.


But I don't understand why.  Can anyone help

--
Alan Chandler
http://www.chandlerfamily.org.uk


--
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/4dde8114.9040...@chandlerfamily.org.uk



LVM: combining two logical volumes, how?

2011-05-26 Thread Ken Heard
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

In a box with Squeeze I have one volume group (VG1) with only one (at
the moment) physical volume (/dev/md1).  Two of the six current logical
volumes (LV) in VG1 are are /dev/VG1/root (/) and /dev/VG1/usr.  I want
to (1) enlarge /dev/VG1/root, (2) transfer the contents of /dev/VG1/usr
to it, and (3) remove /dev/VG1/usr.

Enlarging /dev/VG1/root is easy (I think) using the lvextend command,
and so is removing /dev/VG1/usr using the lvremove command.  What I
cannot find is any command or information to do the second step,
transfer the entire contents of one LV to another.  Is it possible to do
what I want to do?

Regards, Ken Heard


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

iEUEARECAAYFAk3efoQACgkQlNlJzOkJmTdQ2gCfcm2uLRAxIvw4KSKVTO4ZFHBK
UFYAl1QzdLnRFfo3zyljE6loTHUByXc=
=wv3O
-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/4dde7e85.50...@heard.name



Re: USR 5633 Robotics Modem in Debian

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 11:14:49 -0500, Ron Johnson wrote:

> On 05/26/2011 06:43 AM, Camaleón wrote:

(...)

 Yep, but that's a "controller-based" modem (a PCI card that has the
 full components to achieve the modem task, all done by hardware),
 they are not called "serial modems". "Serial", in this case, just
 refers to the interface.


>>> Those modems (I also had a couple of them back in the day) *are*
>>> serial modems.  There just wasn't a DE-9 connector on them.
>>
>> (...)
>>
>> I do hope you understand there is a slightly difference between rs-232
>> and PCI interfaces.
>>
>>
> And I hope you understand that "serial" doesn't mean "RS-232".

Should you had read the full thread you wouldn't had said that.

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.2011.05.26.16.21...@gmail.com



Re: USR 5633 Robotics Modem in Debian

2011-05-26 Thread Ron Johnson

On 05/26/2011 06:43 AM, Camaleón wrote:

On Wed, 25 May 2011 20:43:14 -0500, Ron Johnson wrote:


On 05/25/2011 08:17 AM, Camaleón wrote:

On Wed, 25 May 2011 07:41:38 -0500, John Hasler wrote:


Camaleón writes:

How can a modem be both "serial" (rs-232) and "internal"


By having a UART on the card and appearing to the computer as a serial
port.  I have several of these in my junkbox (all ISA, though).


:-D

Yep, but that's a "controller-based" modem (a PCI card that has the
full components to achieve the modem task, all done by hardware), they
are not called "serial modems". "Serial", in this case, just refers to
the interface.



Those modems (I also had a couple of them back in the day) *are* serial
modems.  There just wasn't a DE-9 connector on them.


(...)

I do hope you understand there is a slightly difference between rs-232
and PCI interfaces.



And I hope you understand that "serial" doesn't mean "RS-232".

--
"Neither the wisest constitution nor the wisest laws will secure
the liberty and happiness of a people whose manners are universally
corrupt."
Samuel Adams, essay in The Public Advertiser, 1749


--
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/4dde7c79.6020...@cox.net



Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread wzab

OK. I've found one regularity:
Machines with correct permissions have the root partition defined by 
UUID in the /etc/fstab.
Machines with incorrect permissions have root partition defined as e.g. 
/dev/sda2.

Can it be really source of the problem?

--
TIA,
Wojtek


--
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/4dde724a.8020...@ise.pw.edu.pl



Re: Problem with the global weigh of several files

2011-05-26 Thread Jochen Schulz
Gorka:
> 
> I am looking for the best way of appending commands to obtain the global
> amount of Mb of the modified files of my PC.
> 
> Something like this:
> 
> find ./  -mtime -7 | du -Sch

In bytes:

find ./ -mtime -7 -ls | awk 'BEGIN { s=0 } { s+=$7 } END { print s } '

You can use 'print s/1024' in order to get kiB and so on.

J.
-- 
If I was Mark Chapman I would have shot John Lennon with a water pistol.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 15:39:10 +0200, Wojtek Zabolotny wrote:

> I've just accidentally discovered, that as a plain user I'm able to
> create directories in root directory of my Dabian/testing system.
> Investigating the problem, I've found, that I can also rename
> directories, which is even worse (just imagine creating "/etc.new" with
> special contents and then renaming "mv /etc /etc.old ; mv /etc.new
> /etc").
> Looking for possible causes, I've found, that stat gives the following
> status:
> 
> stat /
>File: `/'
>Size: 608   Blocks: 1  IO Block: 4096   katalog
> Device: 803h/2051dInode: 2   Links: 25 Access:
> (0777/drwxrwxrwx)  Uid: (0/root)   Gid: (0/root) Access:
> 2011-05-26 15:27:31.0 +0200 Modify: 2011-05-26
> 15:27:31.0 +0200 Change: 2011-05-26 15:27:31.0 +0200
> 
> Why "Access" is 0777???
> In /etc/fstab root is mounted as:
> 
> /dev/sda3   /   reiserfs notail,relatime  0 
>  1
> 
> I have to check my other machines, but the problem is definitely strange
> and annoying! Has anyone found similar phenomenon in his/her system?

This is what I get:

test@debian:~$ cat /etc/debian_version
wheezy/sid


test@debian:/$ stat /
  File: `/'
  Size: 592 Blocks: 1  IO Block: 4096   directory
Device: 802h/2050d  Inode: 2   Links: 23
Access: (0755/drwxr-xr-x)  Uid: (0/root)   Gid: (0/root)
Access: 2011-05-26 17:10:49.0 +0200
Modify: 2011-05-26 17:10:49.0 +0200
Change: 2011-05-26 17:10:49.0 +0200


test@debian:/$ cat /etc/fstab | grep reiser
UUID=c623724b-fab2-4930-a2d5-f673cfa84b63 /   reiserfs notail   
   0   1


And no directory under "/" can be created by plain users:

test@debian:~$ cd /
test@debian:/$ mkdir data
mkdir: cannot create directory `data': Permission denied

Review your last commands (history), just in case... :-?

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.2011.05.26.15.20...@gmail.com



Re: Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread wzab
I've checked other systems maintained by me, and I've found that the 
problem occurs in two laptops only.
Two stationary systems and one laptop (with system installed last time) 
have permissions on / correctly set to 0755.



--
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/4dde6b23.4070...@ise.pw.edu.pl



Problem with the global weigh of several files

2011-05-26 Thread Gorka
Hi. 

I am looking for the best way of appending commands to obtain the global
amount of Mb of the modified files of my PC.

Something like this:

 

find ./  -mtime -7 | du -Sch

 

Any idea?

 

 

 



Problema Suma de Tamaños

2011-05-26 Thread Gorka

Buenas.

Ando buscando la mejor forma de concatenar comandos para obtener la suma de
los tamaños (es decir, los Mb) de todos los ficheros modificados en mi
ordenador en la última semana. Algo tipo:

find ./  -mtime -7 | du -Sch

¿Alguna idea?


--
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/00a701cc1bb6$e3379410$a9a6bc30$@yahoo.es



Wrong permissions to "/" in my debian/testing system

2011-05-26 Thread Wojtek Zabolotny

Hi,
I've just accidentally discovered, that as a plain user I'm able to create 
directories in root directory of my Dabian/testing system.
Investigating the problem, I've found, that I can also rename directories, which is even worse (just imagine creating "/etc.new" with special contents and then renaming "mv /etc /etc.old ; mv /etc.new 
/etc").

Looking for possible causes, I've found, that stat gives the following status:

stat /
  File: `/'
  Size: 608   Blocks: 1  IO Block: 4096   katalog
Device: 803h/2051dInode: 2   Links: 25
Access: (0777/drwxrwxrwx)  Uid: (0/root)   Gid: (0/root)
Access: 2011-05-26 15:27:31.0 +0200
Modify: 2011-05-26 15:27:31.0 +0200
Change: 2011-05-26 15:27:31.0 +0200

Why "Access" is 0777???
In /etc/fstab root is mounted as:

/dev/sda3   /   reiserfs notail,relatime  0   1

I have to check my other machines, but the problem is definitely strange and 
annoying!
Has anyone found similar phenomenon in his/her system?
--
TIA & Regards,
Wojciech M Zabolotny, PhD


--
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/4dde57fe.9000...@elka.pw.edu.pl



Re: Anyone solved the b43legacy 1 Mb/s issue in Squeeze?

2011-05-26 Thread Camaleón
On Wed, 25 May 2011 20:28:58 -0700, Mark wrote:

> This is a long-standing issue with b43legacy wireless and transmission
> rates being slow, across various Linux distros and many years.  Since I
> upgraded to Squeeze I was hopeful the rate issue would be fixed but alas
> it is not. I can run "iwconfig wlan0 rate 54M" to get wicd and iwconfig
> to say it's 54 Mb/s but it's actually connected at 1 Mb/s in reality. 
> Any chance someone on this list has figured out a solution that my hours
> of Googling did not produce?  ndiswrapper didn't solve the problem based
> on other peoples' experiences, FWIW.

There is a very good and complete page on this module that explains the 
difference between the two drivers (b43/b43legacy) and when to use each 
of them:

http://wireless.kernel.org/en/users/Drivers/b43

If you wireless card supports it, you can try to load b43 which seems to 
support a wider range of devices.

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.2011.05.26.13.04...@gmail.com



Re: no beep under emacs

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 10:45:17 +0200, Frederic Baldit wrote:

> I have the following pbm with emacs (23.2.1) under squeeze and gnome
> desktop (2.30.2): I don't hear any beep when pressing, e.g., Ctl g. When
> running emacs within a terminal, with emacs -nw, I hear the beep.
> Running it in a X window (as ussual) I don't hear any beep.

(...)

Open the gconf editor and search for "bell" to ensure the beep is enabled 
system-wide (/apps/metacity/general/audible_bell [x]).

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.2011.05.26.12.06...@gmail.com



Re: USR 5633 Robotics Modem in Debian

2011-05-26 Thread Camaleón
On Wed, 25 May 2011 20:43:14 -0500, Ron Johnson wrote:

> On 05/25/2011 08:17 AM, Camaleón wrote:
>> On Wed, 25 May 2011 07:41:38 -0500, John Hasler wrote:
>>
>>> Camaleón writes:
 How can a modem be both "serial" (rs-232) and "internal"
>>>
>>> By having a UART on the card and appearing to the computer as a serial
>>> port.  I have several of these in my junkbox (all ISA, though).
>>
>> :-D
>>
>> Yep, but that's a "controller-based" modem (a PCI card that has the
>> full components to achieve the modem task, all done by hardware), they
>> are not called "serial modems". "Serial", in this case, just refers to
>> the interface.
>>
>>
> Those modems (I also had a couple of them back in the day) *are* serial
> modems.  There just wasn't a DE-9 connector on them.

(...)

I do hope you understand there is a slightly difference between rs-232 
and PCI interfaces.

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.2011.05.26.11.43...@gmail.com



Re: [SOLVED] need help with clamav

2011-05-26 Thread Camaleón
On Thu, 26 May 2011 00:55:57 +, Juan R. de Silva wrote:

> On Wed, 25 May 2011 11:08:36 +, Camaleón wrote:

>> You can try to manually download the "bytecode.cvd" and then restart
>> the clamd daemon.
> 
> I've not tried it since, first, I have no idea would to do with the damn
> thing after download ( :-> ), 

You had to drop the file under "/var/lib/clamav".

> and, second, as far as I could see from
> the debug output freshclam did not have any trouble to download it.
> Rather it was  failing attempting to read it.

The downloaded file could have been corrupted somehow although the 
download process went fine :-)

>> Are you behind some kind of proxy?
> 
> No proxy.
> 
> And finally here how I resolved the problem.
> 
> I compared /var/lib/clamav folders content in Squeeze and in Lucid. I
> found in Lucid bytecode.cld file which was missing in Squeeze. I gave it
> a try just copying bytecode.cld to Squeeze, and clamav started working
> as a good boy.

Yep, that file (bytecode.cld) is present in my Lenny system.

> So, it looks to me like Squeeze clamav package has a bug. It either does
> not configure clamav upon installation properly or simply missing some
> file/s in package.

AKAIK, that file is not provided by Debian but from ClamAV servers when 
you run the update routine. Maybe something went wrong at your side, 
maybe a bad mirror with wrong data? :-?

> Thanks Camaleón, you were the only one to reply. And this puzzles me
> BTW. I doubt people do not use clamav in Debian. Is there anything wrong
> with my posting. I'm new to Debian community and willing to learn. :-)

You're welcome, but no replies usually means that no one is experiencing 
the same behaviour and that can indicate indeed you were having a 
localized problem with a concrete mirror :-)

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.2011.05.26.11.36...@gmail.com



Re: Difficulty Installing squeeze - More info

2011-05-26 Thread Camaleón
On Wed, 25 May 2011 18:34:49 -0400, Ethan Rosenberg wrote:

> Dear list -

(please, try to keep the messages in the same thread for better finding 
them in the archive)
 
> I am trying to install squeeze from Debian-6.0.1a-i386-CD-1.iso. The
> installation fails with the message "The CD-ROM" does not contain a
> valid Release file".
> 
> Here are some details of the system:
> 
> Dell Optiplex 260
> 2 GB RAM
> 1.4 GB Pentium 4
> 40 GB blank hard drive.
> 
> I am a newbie, so please walk me thru this.
> 
> Ethan Rosenberg
> 
> ==
> 
> The failing step is: "Detect and mount CD-ROM".

It seems your CD/DVD device is not detected. You can try the installation 
with an USB key instead of a CD.

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.2011.05.26.11.10...@gmail.com



Re: Difficulty Installing squeeze

2011-05-26 Thread Brian
On Wed 25 May 2011 at 18:26:24 -0400, Ethan Rosenberg wrote:

> Dear list -
>
> I am trying to install squeeze from Debian-6.0.1a-i386-CD-1.iso. The  
> installation fails with the message "The CD-ROM" does not contain a  
> valid Release file".

Perhaps it doesn't. I'd download a netinst image from a different mirror
and burn it at slow speed. It will get a result (works/doesn't work)
faster than choosing a larger iso. You can then weigh up your options
from there.


-- 
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/20110526104925.GM3027@desktop



Re: received sms possible or not with debian ??

2011-05-26 Thread Camaleón
On Wed, 25 May 2011 20:22:50 +0100, thuillier-charmet wrote:

> i am looking a tip(s) for received sms without commercial intermediate ?
> i am more beginner than a geek, so thanks in advance for a full
> explanation.

You meant receive, send or manage them?

For sending I can see several ways to achieve it. You can:

a) Send your self the SMS with your own modem and the proper program

b) Use your cell-phone provider SMS gateway (no additional equipment 
needed)

c) Use a third-party service (like [1]) but if you don't want 
intermediates you can jump this one :-)

I had b) setup for my UPS alerts and works like a charm (it was very easy 
to setup deploy) but if you need to send bulk SMS maybe a) or c) are the 
most suitable options.

[1] http://en.smspc.net/

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.2011.05.26.11.05...@gmail.com



Missing directory in LTSP 5.2 chroot

2011-05-26 Thread Markus Homburg

Hi there,

I'm not quite sure if it's a real bug, but after installing LTSP-Client
on squeeze there was no sound. The Server was fine, because
I tried to connect from a lenny LTSP-Client to the squeeze
Server and the sound was working fine. So it must be a client problem.
The problem is that the directory /var/lib/pulse will not be
created automatically in the chroot. So after I made the directory
the sound was working.

Best regards
 Markus


--
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/4dde10c8.8020...@gmx.li



no beep under emacs

2011-05-26 Thread Frederic Baldit
Hi,
I have the following pbm with emacs (23.2.1) under squeeze and gnome
desktop (2.30.2): I don't hear any beep when pressing, e.g., Ctl g. When
running emacs within a terminal, with emacs -nw, I hear the beep.
Running it in a X window (as ussual) I don't hear any beep.

It seems that gnome has redirected the system beep, so that other
applications (terminal, gedit,...) are correctly producing the beep
(which is not the internal PC beep, but a new sound defined with the
system default sound theme), but this simply doesn't work for emacs.

If anyone has an idea to fix this, I would be interested. I was
wondering if compiling emacs from the sources would solve it.
Thank's in advance.
  Frédéric.


-- 
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/1306399517.2509.13.ca...@siula-grande.lan



Ring Linda eller Petra

2011-05-26 Thread LInda & Petra



Alla företagare söker nya vägar att utveckla sitt företag. Vi hjälper dig!
Visa detta e-postmeddelande somwebbsida.
http://www2.carmamail.com/mail/OBS?muid=1Y3vU7894926170



Nyhetsbrev | Maj 2011







Bra möjligheter för ditt företag!

.



epostarna.se
Post: Box 3535 | 114 09 Stockholm
Besök: Baltzar von Platens gata 12 | 112 42 Stockholm
Tel: 08-55 11 63 30 | Fax: 08-15 99 25
E-mail:i...@epostarna.se
mailto:i...@epostarna.se



Om du inte vill få nyhetsbrevet skickat till dig i fortsättningenavanmäler du 
dig här.
http://www2.carmamail.com/OptOut/Default.aspx?guid=1Y3vU7&mid=894926170


Re: [SOLVED] need help with clamav

2011-05-26 Thread M-L
On Thu, 26 May 2011 00:55:57 + (UTC)
"Juan R. de Silva"  wrote:

> Thanks Camaleón, you were the only one to reply. And this puzzles me
> BTW. I doubt people do not use clamav in Debian. Is there anything
> wrong with my posting. I'm new to Debian community and willing to
> learn. :-)

Not certain this needs a reply but just in case. A newbie might think
they are being left out in the cold. However being a newbie you may not
yet have the feeling of Debian and are offended unreasonably and
unjustifiably.

I've installed clamav on windows computers, on many occasions. But never
required it, nor installed it, for Debian or any other Linux flavour.
Other Linux users probably have the same experience as my own.

I thought you were putting it onto a personal computer, not a server
and just wanted to play with it. Having no experience with it in Linux,
was therefore unable, even to make a stupid suggestion.

Apologies for that, if they are required.

Charlie
-- 
Registered Linux User:- 329524
***

As for the pyramids, there is nothing to wonder at in them so much as
the fact that so many men could be found degraded enough to spend their
lives constructing a tomb for some ambitious booby, whom it would have
been wiser and manlier to have drowned in the Nile, and then given his
body to the dogs. - Henry David Thoreau

***

Debian GNU/Linux - just the best way to create magic

-


--
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/20110526180111.083379dc@taowild



Re: [SOLVED] need help with clamav

2011-05-26 Thread Scott Ferguson
On 26/05/11 10:55, Juan R. de Silva wrote:


> So, it looks to me like Squeeze clamav package has a bug. It either does
> not configure clamav upon installation properly or simply missing some
> file/s in package.

Or you are the only one to encounter this problem. The total lack of
people with similar symptoms.


> 
> Thanks Camaleón, you were the only one to reply. And this puzzles me BTW.

Don't mistake silence for a lack of an audience, sometimes it just means
we have nothing useful to contribute ;-)  (no 1st post fools here)


> I doubt people do not use clamav in Debian. 

I suspect you will find very few people here who regularly scan their
GNU boxes for Windoof malware.

> Is there anything wrong with
> my posting. I'm new to Debian community and willing to learn. :-)

Your posting is fine, though a little short on details.

I have had a problem with ClamAV under Lenny (needs permissions
changed), but no problems with Squeeze (KDE).

By no problems I mean I still get the warning on shutting down ClamAV
GUI that freshclam is being terminated, but it's not a real error.
Freshclam still runs whether the ClamAV GUI is up or not.

As pointed out by others - antivirus utilities have little use in Linux,
I only install it on machines where the user will be sending files from
Windoof users to Windoof users... especially as users can *not* execute
files in their home directories (with my builds).

Cheers

-- 
Tuttle? His name's Buttle.
There must be some mistake.
Mistake? [Chuckles]
We don't make mistakes.


-- 
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/4dde0632.5000...@gmail.com



Re: How to rip double discs albums?

2011-05-26 Thread Andrei Popescu
On Jo, 26 mai 11, 01:36:42, Ron Johnson wrote:
> 
> Another strong vote for abcde.  Lets you rip to a multitude of
> formats and naming styles, is multi-processing, so transcodes song
> #1 while ripping song #2 and lets you edit the cddb file before
> processing starts.

I always liked jack (the ripper), but haven't used it in a while.

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


signature.asc
Description: Digital signature