[Bash script] How can I read a tty device?

2013-05-16 Thread Magicloud Magiclouds
Hi,

  Say I have device /dev/ttyACM0. If I `stty -F /dev/ttyACM0 raw`, then
`cat /dev/ttyACM0` in one term, and `echo -e "QUERYCOMMAND" > /dev/ttyACM0`
in another term. I would get the data in first term.

  But if echo first, then cat. The data seemed lost. Cat would not get
anything. So I think these two commands must be run at the same time.

  So I put this process be in a script like this:

(stty -F $tty raw
currentSettings=""
while [ 1 ]
do
c=`dd if=$tty count=1`
currentSettings=${currentSettings}${c}
if [ c == '.' ]
then
break
fi
done
echo -n $currentSettings > $conf) &
echo -e "${query}?." > $tty
until [ -e $conf ]
do
sleep 1
done
currentSettings=`cat $conf`

  The script stuck at dd, it did not get anything.

  What should I do?
-- 
竹密岂妨流水过
山高哪阻野云飞

And for G+, please use magiclouds#gmail.com.


Re: stuck on apt-get upgrade; error in version string; apt-get -f install won't help

2013-05-16 Thread Charles Kroeger
On Fri, 17 May 2013 02:30:01 +0200
Nick Lidakis  wrote:

> E: Sub-process /usr/bin/dpkg returned an error code (1)

Here's my version of the same code (1)

#apt-get -f install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  libgl1-mesa-glx
The following packages will be upgraded:
  libgl1-mesa-glx
1 upgraded, 0 newly installed, 0 to remove and 141 not upgraded.
4 not fully installed or removed.
Need to get 0 B/134 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? 

a yes gets you a code (1)

I could remove libgl1-mesa-glx but that would take with it:
alsamixergui
bluefish
claws-mail-fancy-plugin
filezilla
glew-utils
gvfs
gvfs-backends
gvfs-daemons
libfltk1.1
libglew1.7
libglu1-mesa
libvisual-0.4plugins   etc etc etc...19 odd packages including xorg

Not something you want to purge from the system just yet.

-- 
CK


-- 
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/avln1pfa4g...@mid.individual.net



Re: postfix virtual host

2013-05-16 Thread m...@pmars.jp
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, 16 May 2013 20:41:57 +0200
Pol Hallen  wrote:

> > Don't remove both lines, only remove "virtual_alias_domains", the
> > "virtual_mailbox_domains" config setting should be there.
> 
> I've same error:
> 
> May 16 20:37:07 server1 postfix/smtpd[19799]: NOQUEUE: reject: RCPT
> from nm4-vm0.bullet.mail.ird.yahoo.com[77.238.189.211]: 550 5.1.1
> : Recipient address rejected: User unknown in
> local recipient table; from=
> to= proto=SMTP
> helo=
> 
> why "user unknown?"
> 
> I follow this howto:
> 
> http://dannorth.net/2007/09/09/virtual-mailboxes-with-courier-imap-and-postfix/
> 
> 

Hi, 
I'm not so sure I remember properly but when you create a virtual file
or a .db, it has to be turn into a file postfix understand, with the
postmap command.

I think your virtual-alias-map file is a file you create by yourself but
has not been turned into a file postfix understand, with the postmap
command:
"postmap /etc/postfix/virtual" will create a file
named /etc/postfix/virtual.db that can be used by postfix.

I'm telling that because according to man postmap a hash file should
end up in .db not just a file without a format type.

To check your mapping is working you can try this:
"postmap -q f...@nuvolabianca.org /etc/postfix/virtual"

If you get a "f...@nuvolabianca.org" as an answer then your mapping is
working and the cause of your problem is different.

Did you read the howto at workaround.org? It is with sql though but
there are explanation for .db as well.

It is very well explained and works very well as too (I'm using it for
a year and a half without a glitch).

http://workaround.org/ispmail/squeeze/postfix-database-configuration

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iQEcBAEBAgAGBQJRlYeVAAoJELURjTtpxqLuNxIH/3oVJ4FrcnRhWuKCBiySa2PR
6L4BprDCKq6NiXQ1LdQ6WkJAp6JprjkWKW6fS7e4XLjbEGqwOnsRXJhlbvp+6Qmg
wUOFGejyL2XAO/Fln9zHIgypkKgCAq6orfaheUMKPFSTOcMle35fuq1c3HtSCveo
eDHqEp6dCb4i+i/R92ZOSyMz1+hYvUlOEkT38B64MogyxdXkPPXH1pVg/ASPtTmo
CEsFHcmapOpXg+x30cQ+ULn219n1qB431hHSstpMWbG9yrfobYCbk/SBr3HN/NR3
2Xcr4vF5fzmWf1LMwzhizmpxnXWGozqljcGk5AGygzXekTRhVz7R+eyhMxLMFSY=
=1Pf8
-END PGP SIGNATURE-


stuck on apt-get upgrade; error in version string; apt-get -f install won't help

2013-05-16 Thread Nick Lidakis
I don't know how best to proceed without doing more damage. I just recently
tried and apt-get upgrade and ran into the following:

apt-get upgrade
Reading package lists... Done
Building dependency tree   
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 mjpegtools : Depends: liblavfile-2.0-0 but it is not installed
  Depends: liblavjpeg-2.0-0 but it is not installed
  Depends: liblavplay-2.0-0 but it is not installed
  Depends: libmjpegutils-2.0-0 but it is not installed
  Depends: libmpeg2encpp-2.0-0 but it is not installed
  Depends: libmplex2-2.0-0 but it is not installed


Then:

phobos:/home/nick# apt-get -f install
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
  libdns81 libgoffice-0.8-8 libgoffice-0.8-8-common libisc83 liblapack3gf
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  liblavfile-2.0-0 liblavjpeg-2.0-0 liblavplay-2.0-0 libmjpegutils-2.0-0
libmpeg2encpp-2.0-0 libmplex2-2.0-0
The following NEW packages will be installed:
  liblavfile-2.0-0 liblavjpeg-2.0-0 liblavplay-2.0-0 libmjpegutils-2.0-0
libmpeg2encpp-2.0-0 libmplex2-2.0-0
0 upgraded, 6 newly installed, 0 to remove and 270 not upgraded.
108 not fully installed or removed.
Need to get 0 B/280 kB of archives.
After this operation, 745 kB of additional disk space will be used.
Do you want to continue [Y/n]? 
dpkg: warning: parsing file '/var/lib/dpkg/available' near line 502642
package 'cnews':
 error in Version string 'cr.g7-40.4': version number does not start with
digit
(Reading database ... 186047 files and directories currently installed.)
Unpacking libmjpegutils-2.0-0 (from
.../libmjpegutils-2.0-0_1%3a2.0.0+debian-2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libmjpegutils-2.0-0_1%3a2.0.0+debian-2_i386.deb
(--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/libmjpegutils-2.0.so.0.0.0',
which is also in package libmjpegtools-2.0-0:i386 1:2.0.0-dmo1
Unpacking liblavfile-2.0-0 (from
.../liblavfile-2.0-0_1%3a2.0.0+debian-2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/liblavfile-2.0-0_1%3a2.0.0+debian-2_i386.deb
(--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/liblavfile-2.0.so.0.0.0', which
is also in package libmjpegtools-2.0-0:i386 1:2.0.0-dmo1
Unpacking liblavjpeg-2.0-0 (from
.../liblavjpeg-2.0-0_1%3a2.0.0+debian-2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/liblavjpeg-2.0-0_1%3a2.0.0+debian-2_i386.deb
(--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/liblavjpeg-2.0.so.0.0.0', which
is also in package libmjpegtools-2.0-0:i386 1:2.0.0-dmo1
Unpacking liblavplay-2.0-0 (from
.../liblavplay-2.0-0_1%3a2.0.0+debian-2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/liblavplay-2.0-0_1%3a2.0.0+debian-2_i386.deb
(--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/liblavplay-2.0.so.0.0.0', which
is also in package libmjpegtools-2.0-0:i386 1:2.0.0-dmo1
Unpacking libmpeg2encpp-2.0-0 (from
.../libmpeg2encpp-2.0-0_1%3a2.0.0+debian-2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libmpeg2encpp-2.0-0_1%3a2.0.0+debian-2_i386.deb
(--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/libmpeg2encpp-2.0.so.0.0.0',
which is also in package libmjpegtools-2.0-0:i386 1:2.0.0-dmo1
Unpacking libmplex2-2.0-0 (from
.../libmplex2-2.0-0_1%3a2.0.0+debian-2_i386.deb) ...
dpkg: error processing
/var/cache/apt/archives/libmplex2-2.0-0_1%3a2.0.0+debian-2_i386.deb
(--unpack):
 trying to overwrite '/usr/lib/i386-linux-gnu/libmplex2-2.0.so.0.0.0', which
is also in package libmjpegtools-2.0-0:i386 1:2.0.0-dmo1
Errors were encountered while processing:
 /var/cache/apt/archives/libmjpegutils-2.0-0_1%3a2.0.0+debian-2_i386.deb
 /var/cache/apt/archives/liblavfile-2.0-0_1%3a2.0.0+debian-2_i386.deb
 /var/cache/apt/archives/liblavjpeg-2.0-0_1%3a2.0.0+debian-2_i386.deb
 /var/cache/apt/archives/liblavplay-2.0-0_1%3a2.0.0+debian-2_i386.deb
 /var/cache/apt/archives/libmpeg2encpp-2.0-0_1%3a2.0.0+debian-2_i386.deb
 /var/cache/apt/archives/libmplex2-2.0-0_1%3a2.0.0+debian-2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The initial error on the first attempt was the version string errors. I know
sid in kinda crazy right now but what's the best way to proceed?


-- 
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/20130517002724.GB11767@phobos



Re: recommend a laser printer

2013-05-16 Thread Patrick Bartek
On Thu, 16 May 2013, Rob Owens wrote:

> I'm trying to buy a black and white laser printer for a family member
> running Wheezy.  Can anybody recommend one that you've purchased
> recently, which used native cups drivers available in Wheezy, which
> cost $100US or less?


I installed Wheezy 64-bit with just Openbox as the window manager--no
sessions manager, no login manager, etc.--a couple months ago, and I had
absolutely NO problems configuring my 6 or 7 year old Samsung ML-1710.
It's been superceded by a few models since then, all around $100US.  I'm sure 
there will be no problems setting them up as well.  Samsung printers are Linux 
friendly.

B


-- 
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/20130516171704.59e04...@debian7.boseck208.net



Re: recommend a laser printer

2013-05-16 Thread Anon 4495
I have an HP 4050N and it is a very reliable printer, works with every OS I
have tried. I got mine for $75 shipped, It had over 200k pages when I got
it, but I have had it for about 5 years now with no problems.


Re: Kernel 3.8 + nvidia?

2013-05-16 Thread Brad Alexander
Had a chance to look in to this this evening. Apparently the nvidia-smi
nvidia-settings nvidia-kernel-source libnvidia-ml1:amd64 packages are still
at 304.88 rather than 313.30.

I guess I'm going to try rolling everything back to 304.88...


On Thu, May 16, 2013 at 4:54 AM, Brad Alexander  wrote:

> Well, I upgraded, which installed a newer version of the nvidia drivers
> (313-30). So I gave them a spin on 3.8-1. Booted up on it, and did a
> dpkg-reconfigure nvidia-kernel-dkms.
>
> It built fine, but at the end, a message popped up saying
>
> nvidia:
> Running module version sanity check.
> Error! Module version 313.30 for nvidia.ko
> is not newer than what is already found in kernel 3.8-1-amd64 (313.30).
> You may override bhy specofying --force.
>
> And when I try to insert the module, I get:
>
> # modprobe nvidia
> [  229.364270] Module len 8728526 truncated
> ERROR: could not insert nvidia: Exec format error
>
> Any ideas?
> --b
>
>
>
> On Wed, May 15, 2013 at 11:14 AM, Brad Alexander wrote:
>
>> In my case, possibly my upgrades from experimental. I think I have seen a
>> couple of other threads where pulling previous updates from experimental
>> has lead to problems once the freeze ended.
>>
>> I'm going to downgrade to the nvidia drivers in sid and try 3.8 again.
>>
>>
>> On Wed, May 15, 2013 at 2:46 AM, Mark Allums  wrote:
>>
>>> On a Dell Precision M4600 laptop, I installed a clean Wheezy release,
>>> installed nvidia drivers along with the dkms packages that go with. Because
>>> of network driver trouble, I took the kernel from sid.
>>> After that, everything works fine. I mean, video is fine.  Networking
>>> still a problem. Here is my version information:
>>>
>>> $ dpkg -l | grep nvidia
>>> ii  glx-alternative-nvidia 0.2.2
>>>  amd64allows the selection of NVIDIA as GLX provider
>>> ii  libgl1-nvidia-alternatives 304.88-1
>>>   amd64transition libGL.so* diversions to glx-alternative-nvidia
>>> ii  libgl1-nvidia-glx:amd64304.88-1
>>>   amd64NVIDIA binary OpenGL libraries
>>> ii  libglx-nvidia-alternatives 304.88-1
>>>   amd64transition libgl.so diversions to glx-alternative-nvidia
>>> ii  libxvmcnvidia1:amd64   304.88-1
>>>   amd64NVIDIA binary XvMC library
>>> ii  nvidia-alternative 304.88-1
>>>   amd64allows the selection of NVIDIA as GLX provider
>>> ii  nvidia-glx 304.88-1
>>>   amd64NVIDIA metapackage
>>> ii  nvidia-installer-cleanup   20120630+3
>>>   amd64Cleanup after driver installation with the
>>> nvidia-installer
>>> ii  nvidia-kernel-common   20120630+3
>>>   amd64NVIDIA binary kernel module support files
>>> ii  nvidia-kernel-dkms 304.88-1
>>>   amd64NVIDIA binary kernel module DKMS source
>>> ii  nvidia-settings304.88-1
>>>   amd64Tool for configuring the NVIDIA graphics driver
>>> ii  nvidia-support 20120630+3
>>>   amd64NVIDIA binary graphics driver support files
>>> ii  nvidia-vdpau-driver:amd64  304.88-1
>>>   amd64NVIDIA vdpau driver
>>> ii  xserver-xorg-video-nvidia  304.88-1
>>>   amd64NVIDIA binary Xorg driver
>>>
>>>   linux-image-3.8-1-amd643.8.12-1
>>> amd64Linux 3.8 for 64-bit PCs
>>> ii  linux-image-amd64  3.8+47
>>>   amd64Linux for 64-bit PCs (meta-package)
>>>
>>>
>>> Thanks.  That's good to know.  Only some folks are affected.  I wonder
>>> why?
>>>
>>>
>>>
>>>
>>>
>>>
>>
>


RE: recommend a laser printer

2013-05-16 Thread Mark Allums
 
> I'm trying to buy a black and white laser printer for a family member
> running Wheezy.  Can anybody recommend one that you've purchased
> recently, which used native cups drivers available in Wheezy, which cost
> $100US or less?

HP printers may or may not be high quality (that is subjective), but they 
usually are well supported in Linux, in part because the drivers are open 
sourced by HP and freely available.  I don't know about sub-$100, but many are 
sub-$150.  Several Brother models are pretty good value for the money as well, 
although I don't know about driver support.






--
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/00c401ce528d$bb2c1da0$318458e0$@allums.com



Re: Fluxbox questions

2013-05-16 Thread Lisi Reisz
On Thursday 16 May 2013 19:12:45 Sharon Kimble wrote:
> >   To kill it you'll need its' PID - try ps -A in a terminal window.
> >
> > But first I need to know what the programme name is,

Or be very patient, and read through all the applications running, starting at 
the bottom of teh list ( <# ps ax>) until you get to a DE or WM, then note 
its/their PID and kill it/them.

I have done this in similar circumstances.

HTH
Lisi


--
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/201305162300.10701.lisi.re...@gmail.com



Alquiler vacacional de apartamentos en Vera (Almería)

2013-05-16 Thread Alquiler en Vera
Buenos días:
Tenemos disponibles para alquilar 14 casas adosadas y varios apartamentos Vera 
en el entorno de Puerto Rey.
Los alquila directamente la propiedad, sin intermediarios, y desde 250 euros la 
semana.
Si quiere que le mandemos todos los detalles puede contactar con nosotros en 
vera_alqui...@extraxl.es
Un saludo
GSX Servicios SL



Setting hostname and dnsdomainname from DHCP lease info (wheezy)

2013-05-16 Thread Joao Roscoe
Dear Gurus,

I have several desktop boxes running debian (new image with wheezy is
in the oven right  now). I got those boxes networking configured via
DHCP, and the addresses are reserved by MAC address.

To get the hostname/IP/MAC info in a single place, I configured the
windows based DHCP server so that it also delivers DHCP option 12 -
hostname info. Then, I included the script below into
/etc/dhcp/dhclient-enter.d/

This arrangement appears do be working fine - my debian box (the
staging one) does gets its hostname and dnsdomainname from DHCP lease
at boot time.

Now, my questions:

1. Dou you gurus out there have any comments on this arrangement? Does
it look nice? Am I missing anything?

2. I would like to include exim4 configuration in my script (to avoid
the generic "From: xyz@localhost.localdomain in mail header, seen
below), but I have not started to do my homework on that. Any tips?

Best regards,
Joao


-- Forwarded message --
From: Joao Carlos de Lima Roscoe 
Date: Thu, May 16, 2013 at 2:59 PM
Subject: Hostname/Domainname setter
To: joao.ros...@gmail.com


#
# The purpose of this script is setting /etc/hostname and /etc/hosts
files according to new hostname from DHCP

# To enable this script set the following variable to "yes"
RUN="yes"

# Touch config files only if all needed data is available (keep old
files, otherwise)
if [[ -n "${new_host_name}" && -n "${new_domain_name}" && -n
"${new_ip_address}" ]]; then

  if [ "$RUN" = "yes" ]; then

# Remove old hostname file, if any
  if [ -s "/etc/hostname" ]; then
  chmod 777 /etc/hostname
  rm /etc/hostname
fi

# Create new hostname file
echo ${new_host_name} > /etc/hostname

# Remove old "hosts" file, if any
if [ -s "/etc/hosts" ]; then
  chmod 777 /etc/hosts
  rm /etc/hosts
fi

# Create new hosts file
echo "# Created by /etc/dhcp/dhclient-enter-hooks.d/hostname" > /etc/hosts
echo "127.0.0.1localhost" >> /etc/hosts
echo ${new_ip_address}""${new_host_name}"."${new_domain_name}"
   "${new_host_name} >> /etc/hosts
echo "" >> /etc/hosts
echo "# The following lines are desirable for IPv6 capable hosts"
>> /etc/hosts
echo "::1 localhost ip6-localhost ip6-loopback" >> /etc/hosts
echo "ff02::1 ip6-allnodes" >> /etc/hosts
echo "ff02::2 ip6-allrouters" >> /etc/hosts
  fi
fi


-- 
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/CAKaijp2=hztyrnzcb6q74qbjbfpgim-lblhvhxqkrhkus7b...@mail.gmail.com



Re: Fluxbox questions

2013-05-16 Thread Linux-Fan
On 05/16/2013 09:09 PM, Sharon Kimble wrote:
> On 16 May 2013 19:25, Linux-Fan  wrote:

[...]

>> It should actually output a tree which (on my system, lightdm will of
>> course be different) ends with
>>
>> ~$ pstree | tail -n 10
>>  |-udevd---2*[udevd]
>>  |-xdm-+-Xorg
>>  | `-xdm---ck-launch-sessi-+-fluxbox-+-icedove-bin-...
>>  | | |-java---17*[{java}]
>>  | | |-xcompmgr
>>  | | |-xscreensaver
>>  | | `-xterm---bash-+-pstree
>>  | |`-tail
>>  | `-ssh-agent
>>  `-z_space_dapp
>>
>> With lightdm I guess there should be some sort of "lightdm"-subtree
>> (instead of xdm on my system). You could look for its subprocesses and
>> terminate those which could be a window manager left from your DE.
>> However, I have also seen processes which no longer stick below the
>> correct part of the tree but instead go directly below init after their
>> parent was terminated. Therefore you might also try to look at pstree
>> (or htop) while in your DE to find out about the window manager and
>> check the whole tree for that process afterwards.
>>
> 
> This is my pstree http://dpaste.com/1168992/ and i close all wm programmes
> under lightdm, but its still not allowing me to log back into fluxbox.

I find this part most interesting:

 ├─2*[lightdm─┬─Xorg]
 │├─lightdm─┬─lxsession─┬─caja───3*[{caja}]]
 ││ │   ├─claws-mail───{claws-mail}]
 ││ │   ├─clipit]
 ││ │   ├─lxpanel]
 ││ │   ├─openbox]
 ││ │   ├─pcmanfm]
 ││ │   ├─ssh-agent]
 ││ │   ├─zim]
 ││ │   └─{lxsession}]
 ││ └─{lightdm}]
 │├─lightdm]
 │└─2*[{lightdm}]]

There is a whole lot of programs still running -- check the lxsession
subtree: An openbox (which is a window manager) is still running and
some other LXDE stuff as well (pcmanfm, lxpanel), also a mail client. To
kill the last window manager just terminate "openbox" via killall
openbox. However, it might be required to terminate the whole tree,
probably something like killall -s TERM lxsession or such. On the other
hand, I am unsure how much lxsession belongs to lightdm, i.e. might it
be necessary to keep lightdm running?

>> Htop has a similar view activated by pressing F5 but you can
>> additionally browse it and check how much of your CPU the process occupies.
>>
> This is really bugging me, and I may have to write a script to kill
> everything before I log into fluxbox.

Or a script to terminate your session upon logoff.

HTH
Linux-Fan

-- 
http://masysma.ohost.de/


-- 
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/51953d4a.9040...@web.de



Re: recommend a laser printer

2013-05-16 Thread Nick Lidakis
On Thu, May 16, 2013 at 12:08:40PM -0400, Rob Owens wrote:
> I'm trying to buy a black and white laser printer for a family member running 
> Wheezy.  Can anybody recommend one that you've purchased recently, which used 
> native cups drivers available in Wheezy, which cost $100US or less?

You didn't say if they were using it for home or office, but I'd recommend a
used HP 4000 Laserjet TN. I got my second from eBay from a seller that
reconditions of lease machines; It had a very low page count.

These work out of the box with CUPS, have excellent print quality and is 
network ready. They've been on the market a long time and parts are readily
available for very reasonable prices. Though, they are super reliable.

I paid $150 with shipping and the unit looked barely used. These were over
$1000 retail when new.

Nick


-- 
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/20130516200223.GA11767@phobos



Re: FQDN via DHCP, then used in exim4

2013-05-16 Thread Klaus Doering

Joe,

Yes, I've set the "A" and the "MX" record to the same FQDN, and that is
also the HELO string. (at least now that I adjusted the entry in the
hosts file.)

Thanks,
Klaus

On 16/05/13 19:06, Joe wrote:
Apart from any other issue, please note that the HELO string provided 
by your mailserver really needs to be a hostname which can be resolved 
in *public* DNS. On the assumption that you're not running your own 
public DNS server, then you will need an A record with your domain 
host. It's easiest if you use the same A record your MX points to, 
though it's not necessary. Not all mail servers will require their 
senders to have a resolvable HELO, but many will, including my exim4. 
It's disabled by default, I think, but it's a useful spam reduction 
technique. Oddly, some of the pickiest servers now seem to be Exchange 
installations. 



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



Re: FQDN via DHCP, then used in exim4

2013-05-16 Thread Klaus Doering

Stan, Thank you for the teaching. Indeed, there are many books I should
have read already, alas, there are a great many subjects about which
important books are written. So, I go along and learn when things don't
work as expected. Like now.

The story about using DHCP to assign fixed addresses doesn't seem to be
as clear cut as might appear from your tone, either:

http://serverfault.com/questions/199104/dhcp-addressing-vs-static-addressing-for-servers

I do take your point about the developer's perspective, and if that's the
way things work, then I have no problem editing config files on
the server for IP, host name and domain name. Indeed, as I described
earlier, that's exactly what I'd done already.

It's just curious that some services seem to acknowledge the DHCP
assigned domain name, while others don't. And _that_ question is still
open.

Klaus

On 16/05/13 15:01, Stan Hoeppner wrote:

On 5/16/2013 3:02 AM, Klaus Doering wrote:
...


Sorry long post. Can anybody shine light on this, and maybe even know
how to make use of the DHCP provided
domain name in exim?

First, using a DHCP server, in a consumer broadband router or otherwise,
to assign -sticky static- addresses and hostnames is counterproductive
and counter intuitive.  You're doing this because you've never been
taught not to.  I'm teaching you now:  Don't do this.  Now you will ask
me why, and I will direct you to Google as I don't have time to write
you the many books you should already have read on the subject.

DHCP is for assigning resources to -client- computers, not -server-
computers.  You will not find a server application (mail) developer who
codes for your DHCP situation.  They all code assuming addresses and
hostnames are assigned within local UNIX files, or assuming you will
manually configure such things.

To answer your EXIM question, read this thread:
http://serverfault.com/questions/46545/how-do-i-change-exim4s-primary-hostname-on-a-debian-box




--
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/519530d7.2020...@gmail.com



Re: Fluxbox questions

2013-05-16 Thread Sharon Kimble
On 16 May 2013 19:25, Linux-Fan  wrote:

> On 05/16/2013 08:09 PM, Sharon Kimble wrote:
> > On 16 May 2013 17:04, Linux-Fan  wrote:
> >>> B - Periodically, when logging back into fluxbox from another DE I get
> >> this
> >>> error message showing in the logs 'BScreen::BScreen: an error occured
> >> while
> >>> querying the X server.
> >>> another window manager already running on display:0
> >>> Error: Couldn't find screens to manage.
> >>> Make sure you don't have another window manager running.'
> >>> I'm not aware of another window manager still running, but how do I
> kill
> >> it
> >>> if it is please?
> >>
> >> If you have htop installed you could use it to interactively find out
> >> which processes are running on a virtual console. If you do not have
> >> htop, you might also try pstree and kill (-s TERM) processes still
> >> running below your login manager (if any).
> >>
> >
> > I've installed 'htop' and am having a play with it. 'Pstree' seems to be
> > showing everything in alpha order, how to get it showing what is below
> > my log on manager, which is 'lightdm'?
>
> It should actually output a tree which (on my system, lightdm will of
> course be different) ends with
>
> ~$ pstree | tail -n 10
>  |-udevd---2*[udevd]
>  |-xdm-+-Xorg
>  | `-xdm---ck-launch-sessi-+-fluxbox-+-icedove-bin-...
>  | | |-java---17*[{java}]
>  | | |-xcompmgr
>  | | |-xscreensaver
>  | | `-xterm---bash-+-pstree
>  | |`-tail
>  | `-ssh-agent
>  `-z_space_dapp
>
> With lightdm I guess there should be some sort of "lightdm"-subtree
> (instead of xdm on my system). You could look for its subprocesses and
> terminate those which could be a window manager left from your DE.
> However, I have also seen processes which no longer stick below the
> correct part of the tree but instead go directly below init after their
> parent was terminated. Therefore you might also try to look at pstree
> (or htop) while in your DE to find out about the window manager and
> check the whole tree for that process afterwards.
>

This is my pstree http://dpaste.com/1168992/ and i close all wm programmes
under lightdm, but its still not allowing me to log back into fluxbox.

>
> Htop has a similar view activated by pressing F5 but you can
> additionally browse it and check how much of your CPU the process occupies.
>
> This is really bugging me, and I may have to write a script to kill
everything before I log into fluxbox.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy,  Fluxbox 1.3.5, LibreOffice 4.0.3.3,
Registered Linux user 334501


Re: FQDN via DHCP, then used in exim4

2013-05-16 Thread Joe
On Thu, 16 May 2013 09:02:57 +0100
Klaus Doering  wrote:


> 
> The RaspPi (running Raspbian, a version of Wheezy for the ARMHF 
> architecture) also acts as a mail server, talking
> SMTP to the wider world using exim4. After I got an error message
> from some strict server telling me
> 
>   504 5.5.2: Helo command rejected: need fully-qualified hostname
> 
> 
> I noticed that exim does NOT use the DHCP-provided domain name.
> The unqualified host name is set in /etc/hostname, and in /etc/hosts
> I intentionally did not set the external IP or
> domain name.
> 

Apart from any other issue, please note that the HELO string provided
by your mailserver really needs to be a hostname which can be resolved
in *public* DNS. On the assumption that you're not running your own
public DNS server, then you will need an A record with your domain
host. It's easiest if you use the same A record your MX points to,
though it's not necessary.

Not all mail servers will require their senders to have a resolvable
HELO, but many will, including my exim4. It's disabled by default, I
think, but it's a useful spam reduction technique. Oddly, some of the
pickiest servers now seem to be Exchange installations.

-- 
Joe


-- 
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/20130516190616.034fd...@jretrading.com



Re: postfix virtual host

2013-05-16 Thread Pol Hallen
> Don't remove both lines, only remove "virtual_alias_domains", the
> "virtual_mailbox_domains" config setting should be there.

I've same error:

May 16 20:37:07 server1 postfix/smtpd[19799]: NOQUEUE: reject: RCPT from
nm4-vm0.bullet.mail.ird.yahoo.com[77.238.189.211]: 550 5.1.1
: Recipient address rejected: User unknown in
local recipient table; from=
to= proto=SMTP
helo=

why "user unknown?"

I follow this howto:

http://dannorth.net/2007/09/09/virtual-mailboxes-with-courier-imap-and-postfix/


-- 
Pol


-- 
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/51952875.9090...@fuckaround.org



Re: Fluxbox questions

2013-05-16 Thread Linux-Fan
On 05/16/2013 08:09 PM, Sharon Kimble wrote:
> On 16 May 2013 17:04, Linux-Fan  wrote:
>>> B - Periodically, when logging back into fluxbox from another DE I get
>> this
>>> error message showing in the logs 'BScreen::BScreen: an error occured
>> while
>>> querying the X server.
>>> another window manager already running on display:0
>>> Error: Couldn't find screens to manage.
>>> Make sure you don't have another window manager running.'
>>> I'm not aware of another window manager still running, but how do I kill
>> it
>>> if it is please?
>>
>> If you have htop installed you could use it to interactively find out
>> which processes are running on a virtual console. If you do not have
>> htop, you might also try pstree and kill (-s TERM) processes still
>> running below your login manager (if any).
>>
> 
> I've installed 'htop' and am having a play with it. 'Pstree' seems to be
> showing everything in alpha order, how to get it showing what is below
> my log on manager, which is 'lightdm'?

It should actually output a tree which (on my system, lightdm will of
course be different) ends with

~$ pstree | tail -n 10
 |-udevd---2*[udevd]
 |-xdm-+-Xorg
 | `-xdm---ck-launch-sessi-+-fluxbox-+-icedove-bin-...
 | | |-java---17*[{java}]
 | | |-xcompmgr
 | | |-xscreensaver
 | | `-xterm---bash-+-pstree
 | |`-tail
 | `-ssh-agent
 `-z_space_dapp

With lightdm I guess there should be some sort of "lightdm"-subtree
(instead of xdm on my system). You could look for its subprocesses and
terminate those which could be a window manager left from your DE.
However, I have also seen processes which no longer stick below the
correct part of the tree but instead go directly below init after their
parent was terminated. Therefore you might also try to look at pstree
(or htop) while in your DE to find out about the window manager and
check the whole tree for that process afterwards.

Htop has a similar view activated by pressing F5 but you can
additionally browse it and check how much of your CPU the process occupies.

-- 
http://masysma.ohost.de/


-- 
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/519524a0.4070...@web.de



Re: postfix virtual host

2013-05-16 Thread staticsafe
On 5/16/2013 14:17, Pol Hallen wrote:
>> According to the documentation [0]:
>> "NEVER list a virtual MAILBOX domain name as a virtual ALIAS domain!"
> 
> huh? ... ok
> 
> I removed these 2 lines:
> 
>> virtual_alias_domains = nuvolabianca.org
>> virtual_mailbox_domains = nuvolabianca.org
> 
> now the mail bounces to sender, logs:
> 
> May 16 20:12:00 server1 postfix/smtpd[18037]: NOQUEUE: reject: RCPT from
> nm21.bullet.mail.ird.yahoo.com[212.82.108.136]: 550 5.1.1
> : Recipient address rejected: User unknown in
> local recipient table; from=
> to= proto=SMTP helo=
> 
> Pol
> 
> 

Don't remove both lines, only remove "virtual_alias_domains", the
"virtual_mailbox_domains" config setting should be there.

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
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/519522e9.5030...@staticsafe.ca



Re: postfix virtual host

2013-05-16 Thread Pol Hallen
> According to the documentation [0]:
> "NEVER list a virtual MAILBOX domain name as a virtual ALIAS domain!"

huh? ... ok

I removed these 2 lines:

> virtual_alias_domains = nuvolabianca.org
> virtual_mailbox_domains = nuvolabianca.org

now the mail bounces to sender, logs:

May 16 20:12:00 server1 postfix/smtpd[18037]: NOQUEUE: reject: RCPT from
nm21.bullet.mail.ird.yahoo.com[212.82.108.136]: 550 5.1.1
: Recipient address rejected: User unknown in
local recipient table; from=
to= proto=SMTP helo=

Pol


-- 
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/519522d1.9000...@fuckaround.org



Re: Fluxbox questions

2013-05-16 Thread Sharon Kimble
On 16 May 2013 18:07, Frank McCormick  wrote:

> On 05/16/2013 11:35 AM, Sharon Kimble wrote:
>
>> I've been using 'fluxbox' for about a month now and really like it, but
>> I do have some questions that I haven't been able to find answers for.
>>
>> A - In the menu, how can I get working lines for logging off, I
>> currently use '[exec] (Log off) {exit}' but aren't satisfied with it,
>> and also for restarting fluxbox, currently '[restart] (Restart)
>> {restart}' ?
>>
>
>   What exactly is wrong with those commands ?
>

They don't seem to work quickly, I'm looking for something which is speedy.

>
>
B - Periodically, when logging back into fluxbox from another DE I get
>> this error message showing in the logs 'BScreen::BScreen: an error
>> occured while querying the X server.
>> another window manager already running on display:0
>> Error: Couldn't find screens to manage.
>> Make sure you don't have another window manager running.'
>> I'm not aware of another window manager still running, but how do I kill
>> it if it is please?
>>
>
>
>   To kill it you'll need its' PID - try ps -A in a terminal window.
>
> But first I need to know what the programme name is, and there's the
problem.

Thanks
Sharon.
-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy,  Fluxbox 1.3.5, LibreOffice 4.0.3.3,
Registered Linux user 334501


Re: Fluxbox questions

2013-05-16 Thread Sharon Kimble
On 16 May 2013 17:04, Linux-Fan  wrote:

> On 05/16/2013 05:35 PM, Sharon Kimble wrote:
> > I've been using 'fluxbox' for about a month now and really like it, but I
> > do have some questions that I haven't been able to find answers for.
> >
> > A - In the menu, how can I get working lines for logging off, I currently
> > use '[exec] (Log off) {exit}' but aren't satisfied with it, and also for
> > restarting fluxbox, currently '[restart] (Restart) {restart}' ?
>
> Check /etc/X11/fluxbox/fluxbox-menu, on my system this ends:
>[restart] (Restart)
>[exit] (Exit)
> Which does logout and restart. Are they a better solution for you?
>

I cant get back into fluxbox yet I cant say.

>
> > B - Periodically, when logging back into fluxbox from another DE I get
> this
> > error message showing in the logs 'BScreen::BScreen: an error occured
> while
> > querying the X server.
> > another window manager already running on display:0
> > Error: Couldn't find screens to manage.
> > Make sure you don't have another window manager running.'
> > I'm not aware of another window manager still running, but how do I kill
> it
> > if it is please?
>
> If you have htop installed you could use it to interactively find out
> which processes are running on a virtual console. If you do not have
> htop, you might also try pstree and kill (-s TERM) processes still
> running below your login manager (if any).
>

I've installed 'htop' and am having a play with it. 'Pstree' seems to be
showing everything in alpha order, how to get it showing what is below
my log on manager, which is 'lightdm'?

Thanks
Sharon.

> --
>
>
>
> --
> 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/51950375.7060...@web.de
>
>


-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy,  Fluxbox 1.3.5, LibreOffice 4.0.3.3,
Registered Linux user 334501


Re: postfix virtual host

2013-05-16 Thread staticsafe
On 5/16/2013 13:55, Pol Hallen wrote:
>> - output of `postconf -n`
>> - relevant logs from postfix (/var/log/mail.log)
> 
> Sure! Thanks :-)
> 
[::]
snip
> log:
> 
> May 16 19:23:39 server1 postfix/pipe[15522]: 49AD3758239:
> to=, relay=spamassassin, delay=2.6,
> delays=0.37/0/0/2.2, dsn=2.0.0, status=sent (delivered via spamassassin
> service)
> 
> Pol
> 
> 

According to the documentation [0]:
"NEVER list a virtual MAILBOX domain name as a virtual ALIAS domain!"

You have:
virtual_alias_domains = nuvolabianca.org
virtual_mailbox_domains = nuvolabianca.org

Get rid of the "virtual_alias_domains".

Your logs also show that the mail was delivered to spamassassin, does
spamassassin log where that went?

[0] - http://www.postfix.org/VIRTUAL_README.html
-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
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/5195207b.1020...@staticsafe.ca



Re: postfix virtual host

2013-05-16 Thread Pol Hallen
> - output of `postconf -n`
> - relevant logs from postfix (/var/log/mail.log)

Sure! Thanks :-)

alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
always_bcc = c...@fuckaround.org
anvil_rate_time_unit = 1800s
append_dot_mydomain = no
biff = no
config_directory = /etc/postfix
home_mailbox = Maildir/
inet_interfaces = all
inet_protocols = ipv4
mailbox_size_limit = 3
maximal_queue_lifetime = 10d
message_size_limit = 15000
mydestination = fuckaround, fuckaround.org, localhost.localdomain, localhost
mydomain = fuckaround.org
myhostname = server1.fuckaround.org
mynetworks = 127.0.0.0/8, 192.168.1.0/24, 10.10.10.0/24
myorigin = /etc/mailname
recipient_delimiter = +
relayhost = smtp.fastwebnet.it
smtp_tls_session_cache_database = btree:${queue_directory}/smtp_scache
smtpd_banner = $myhostname
smtpd_client_connection_rate_limit = 50
smtpd_client_recipient_rate_limit = 400
smtpd_client_restrictions = permit_mynetworks,
reject_unauth_destination,permit_sasl_authenticated,
check_policy_service inet:127.0.0.1:6
smtpd_recipient_limit = 100
smtpd_tls_cert_file = /etc/ssl/certs/smtpd.crt
smtpd_tls_key_file = /etc/ssl/private/smtpd.key
smtpd_tls_session_cache_database = btree:${queue_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains = nuvolabianca.org
virtual_mailbox_base = /home/vhosts/nuvolabianca.org
virtual_mailbox_maps = hash:/etc/postfix/vmailbox
virtual_minimum_uid = 100 virtual_uid_maps = static:5000
virtual_gid_maps = static:5000 virtual_alias_maps =
hash:/etc/postfix/virtual
virtual_mailbox_domains = nuvolabianca.org

log:

May 16 19:23:39 server1 postfix/pipe[15522]: 49AD3758239:
to=, relay=spamassassin, delay=2.6,
delays=0.37/0/0/2.2, dsn=2.0.0, status=sent (delivered via spamassassin
service)

Pol


-- 
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/51951d9f.4050...@fuckaround.org



Re: where is the samba script?

2013-05-16 Thread Wayne Topa
On 05/16/2013 11:39 AM, abdelkader belahcene wrote:
> 
> *Hi,
> I want to remove the samba server,  I can't find  the running script
> here is output of commands:
> 
> # ls /etc/rc2.d
> 
> K20speech-dispatcher  S19cpufrequtils  S30mdm S75sudo
> K23ntpS20hddtemp   S50pulseaudio  S99acpi-support
> K99ondemand   S20kerneloopsS50rsync   S99grub-common
> READMES20vsftpdS70dns-clean   S99rc.local
> S05loadcpufreqS30lightdm   S70pppd-dns
> 
> ps aux | grep mb
> root   970  0.0  0.1  21424  3848 ?Ss   May14   0:00 smbd -F
> root   993  0.0  0.0  21528  1356 ?SMay14   0:00 smbd -F
> root  2067  0.0  0.1  13360  2152 ?Ss   May14   0:33 nmbd -D
> 
> the smbd and nmbd  are  running, where are the starting script, by
> default the init level is 2 ( so there should be in rc2.d)
> 
> thanks for help
> regards

Not running samba here but if I recall correctly the script is in
/etc/init.d. So the command  service samba stop should work.

HTH
WT


-- 
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/51951c6f.7040...@gmail.com



Re: postfix virtual host

2013-05-16 Thread staticsafe
On 5/16/2013 13:35, Pol Hallen wrote:
> Hi folks :-)
> 
> I don't understand why virtual host doesn't run :-/ I read many many
> howto but I can't resolve.
> 
> Thanks for the help!
> 
> virtual_alias_domains = nuvolabianca.org
> virtual_mailbox_domains = nuvolabianca.org
> virtual_mailbox_base = /home/vhosts/nuvolabianca.org
>  virtual_mailbox_maps = hash:/etc/postfix/vmailbox
>  virtual_minimum_uid = 100
>  virtual_uid_maps = static:5000
>  virtual_gid_maps = static:5000
>  virtual_alias_maps = hash:/etc/postfix/virtual
> 
> cat virtual
> f...@nuvolabianca.org fred
> 
> cat vmailbox
> f...@nuvolabianca.org nuvolabianca.org/fred/
> 
> fred does not exist on my system
> 
> should be create a dir inside /home/vhosts/nuvolabianca.org
> 
> mailq
> 
> 25279758236*3506 Thu May 16 19:22:01  abouti...@yahoo.it
>  f...@nuvolabianca.org
> 
> Pol
> 
> 
To help you debug this issue, we need two things:

- output of `postconf -n`
- relevant logs from postfix (/var/log/mail.log)

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
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/51951bd9.80...@staticsafe.ca



postfix virtual host

2013-05-16 Thread Pol Hallen
Hi folks :-)

I don't understand why virtual host doesn't run :-/ I read many many
howto but I can't resolve.

Thanks for the help!

virtual_alias_domains = nuvolabianca.org
virtual_mailbox_domains = nuvolabianca.org
virtual_mailbox_base = /home/vhosts/nuvolabianca.org
 virtual_mailbox_maps = hash:/etc/postfix/vmailbox
 virtual_minimum_uid = 100
 virtual_uid_maps = static:5000
 virtual_gid_maps = static:5000
 virtual_alias_maps = hash:/etc/postfix/virtual

cat virtual
f...@nuvolabianca.org   fred

cat vmailbox
f...@nuvolabianca.org   nuvolabianca.org/fred/

fred does not exist on my system

should be create a dir inside /home/vhosts/nuvolabianca.org

mailq

25279758236*3506 Thu May 16 19:22:01  abouti...@yahoo.it
 f...@nuvolabianca.org

Pol


-- 
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/519518e1.5010...@fuckaround.org



Re: how to boot a system with a broken but non-essential LVM VG

2013-05-16 Thread Ross Boylan
I'm reluctant to eliminate the bad LV's because there's still a faint hope
of recovering the failed disk.
As for using --partial, the problem is that I don't know how to intervene
in the current vgchange activation that's going on.  If I could, I would
just avoid activating the damaged VG at all.
Ross


On Wed, May 15, 2013 at 11:07 PM, emmanuel segura wrote:

> Look this
> http://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/lost_PV_remove_from_VG.html
>
>
> 2013/5/16 Ross Boylan 
>
>> One of the disks that was in an LVM Volume Group died, as a result of
>> which LVM reports an error when the system starts.  I believe because of
>> the errors from lvm the boot sequence stops.  After several minutes it
>> times out.  At that point a shell prompt appears.   The missing physical
>> disk is no longer essential for the system to boot, and the damaged VG
>> still has some good volumes in  it, so I do
>> vgchange -ay
>> which reports errors but activates what it can
>> and
>> cryptsetup luksOpen /dev/myVG/myCryptRoot CryptRoot
>> when I exit the shell the system boot continues successfully.  I'm using
>> grub2 on amd64 and a standard initramfs for wheezy.  Note that myVG is not
>>  the damaged volume group.
>>
>> Is there some way I can achieve the same effect without manual
>> intervention (except for the crypto pass-phrase) and without the wait for
>> timeout?
>>
>> Ross Boylan
>>
>>
>> --
>> To UNSUBSCRIBE, email to 
>> debian-user-REQUEST@lists.**debian.orgwith
>>  a subject of "unsubscribe". Trouble? Contact
>> listmas...@lists.debian.org
>> Archive: 
>> http://lists.debian.org/**519422cf.9010...@biostat.ucsf.**edu
>>
>>
>
>
> --
> esta es mi vida e me la vivo hasta que dios quiera
>


Re: DHCP not authoritive.

2013-05-16 Thread William Thompson
I'm not on the list, please keep me in CC.

On Thu, May 16, 2013 at 12:56:24PM -0400, staticsafe wrote:
> On 5/16/2013 11:30, William Thompson wrote:
> > 
> > I have a DHCP server that is setup to be authoritive for networks that are
> > relayed to it.  It is also setup to give a static IP to a couple devices on
> > the locally attached network.
> > 
> > In my config, I have "not authoritive;" in the main part and also in the
> > definition for the local network.
> > 
> > This is the local network definition:
> > subnet 172.17.0.0 netmask 255.255.0.0 {
> > not authoritative;
> > }
> > 
> > What I don't like is the logs:
> > 2013-05-16 11:09:18 segfault64 dhcpd: DHCPINFORM from 172.17.x.x via br0: 
> > not authoritative for subnet 172.17.0.0
> > 
> > I think it should not log these if it was explicitly told not to be
> > authoritive for this.  Or have a config option to not log it.

> A quick glance through the man page [0] suggests that what you are
> asking for is not possible.

I kinda thought so.

> What you are asking for doesn't make much sense either, DHCPINFORM is
> part of the standard DHCP process, why should dhcpd *not* log that?

It's not just DHCPINFORM, it's all broadcast dhcp packets.  It does not send
packets back to the client, but it logs them.  It's just spamming the logs
with things that are irrellevent to the setup.  This DHCP server is for
the networks I've setup for various things.  The main network (which this is
directly connected and is not authoritive for) is ran by another DHCP
server.

I had considered just blocking broadcast DHCP.  I'd have to make some other
changes for it though.


-- 
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/20130516170414.gi2...@electro-mechanical.com



Re: Fluxbox questions

2013-05-16 Thread Frank McCormick

On 05/16/2013 12:53 PM, André Nunes Batista wrote:

I do not wish to hijack this thread, but I have a similar question:



   Why don't you just start a new thread ?




I started using openbox a few days ago and since then I use pm-suspend
on terminal to suspend my debian machine. The thing is pm-suspend
requires root permission and obmenu runs with standard permissions.

Is there a way out? Any group I should add my standard user?



   Why don't you just run it from the menu using sudo ?






--
Cheers
Frank


--
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/519510e4.8060...@videotron.ca



Re: Fluxbox questions

2013-05-16 Thread Frank McCormick

On 05/16/2013 11:35 AM, Sharon Kimble wrote:

I've been using 'fluxbox' for about a month now and really like it, but
I do have some questions that I haven't been able to find answers for.

A - In the menu, how can I get working lines for logging off, I
currently use '[exec] (Log off) {exit}' but aren't satisfied with it,
and also for restarting fluxbox, currently '[restart] (Restart) {restart}' ?


  What exactly is wrong with those commands ?




B - Periodically, when logging back into fluxbox from another DE I get
this error message showing in the logs 'BScreen::BScreen: an error
occured while querying the X server.
another window manager already running on display:0
Error: Couldn't find screens to manage.
Make sure you don't have another window manager running.'
I'm not aware of another window manager still running, but how do I kill
it if it is please?



  To kill it you'll need its' PID - try ps -A in a terminal window.

--
Cheers
Frank


--
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/51951256.1060...@videotron.ca



How to run pm-suspend as user? [was: Re: Fluxbox questions]

2013-05-16 Thread Andrei POPESCU
On Jo, 16 mai 13, 13:53:11, André Nunes Batista wrote:
> I do not wish to hijack this thread, but I have a similar question:

But you did hijack the thread and your question is not similar. I'm 
changing the subject to make it more visible.
 
> I started using openbox a few days ago and since then I use pm-suspend
> on terminal to suspend my debian machine. The thing is pm-suspend
> requires root permission and obmenu runs with standard permissions.
> 
> Is there a way out? Any group I should add my standard user?

One way would be sudo with the NOPASSWD option.

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


signature.asc
Description: Digital signature


Re: DHCP not authoritive.

2013-05-16 Thread staticsafe
On 5/16/2013 11:30, William Thompson wrote:
> I'm not on the list, please keep me in CC.
> 
> I have a DHCP server that is setup to be authoritive for networks that are
> relayed to it.  It is also setup to give a static IP to a couple devices on
> the locally attached network.
> 
> In my config, I have "not authoritive;" in the main part and also in the
> definition for the local network.
> 
> This is the local network definition:
> subnet 172.17.0.0 netmask 255.255.0.0 {
> not authoritative;
> }
> 
> What I don't like is the logs:
> 2013-05-16 11:09:18 segfault64 dhcpd: DHCPINFORM from 172.17.x.x via br0: not 
> authoritative for subnet 172.17.0.0
> 
> I think it should not log these if it was explicitly told not to be
> authoritive for this.  Or have a config option to not log it.
> 
> 
A quick glance through the man page [0] suggests that what you are
asking for is not possible.

What you are asking for doesn't make much sense either, DHCPINFORM is
part of the standard DHCP process, why should dhcpd *not* log that?

[0] - http://linux.die.net/man/5/dhcpd.conf

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
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/51950fb8.50...@staticsafe.ca



Re: Fluxbox questions

2013-05-16 Thread André Nunes Batista
I do not wish to hijack this thread, but I have a similar question:

I started using openbox a few days ago and since then I use pm-suspend
on terminal to suspend my debian machine. The thing is pm-suspend
requires root permission and obmenu runs with standard permissions.

Is there a way out? Any group I should add my standard user?


root@tagesuhu-pc:/home/andre# which pm-suspend
/usr/sbin/pm-suspend
root@tagesuhu-pc:/home/andre# ls -la /usr/sbin/pm-suspend
lrwxrwxrwx 1 root root 29 Jan 16  2012 /usr/sbin/pm-suspend
-> ../lib/pm-utils/bin/pm-action
root@tagesuhu-pc:/home/andre# exit
exit
andre@tagesuhu-pc:$ /usr/sbin/pm-suspend
This utility may only be run by the root user.
andre@tagesuhu-pc:$ ls -la /usr/lib/pm-utils/bin/pm-action 
-rwxr-xr-x 1 root root 2903 Jan 16  2012 /usr/lib/pm-utils/bin/pm-action

-- 
-- André Nunes Batista


--- Begin Message ---
I've been using 'fluxbox' for about a month now and really like it, but I
do have some questions that I haven't been able to find answers for.

A - In the menu, how can I get working lines for logging off, I currently
use '[exec] (Log off) {exit}' but aren't satisfied with it, and also for
restarting fluxbox, currently '[restart] (Restart) {restart}' ?

B - Periodically, when logging back into fluxbox from another DE I get this
error message showing in the logs 'BScreen::BScreen: an error occured while
querying the X server.
another window manager already running on display:0
Error: Couldn't find screens to manage.
Make sure you don't have another window manager running.'
I'm not aware of another window manager still running, but how do I kill it
if it is please?

Hopefully thanks
Sharon.

-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy,  Fluxbox 1.3.5, LibreOffice 4.0.3.3,
Registered Linux user 334501
--- End Message ---


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


Re: recommend a laser printer

2013-05-16 Thread st

Rob Owens wrote:


I'm trying to buy a black and white laser printer for a family member
running Wheezy.  Can anybody recommend one that you've purchased recently,
which used native cups drivers available in Wheezy, which cost $100US or
less?


Brother HL-2132. Cartridges don't last long, but otherwise it's
a great printer for its cost.

--
Best nightdreams.
Serge Tiunov,   "Do you really think you think
http://e-head.net   when you do think you do?"


--
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/51950bca.4010...@kem.ru



Re: recommend a laser printer

2013-05-16 Thread staticsafe
On 5/16/2013 12:08, Rob Owens wrote:
> I'm trying to buy a black and white laser printer for a family member running 
> Wheezy.  Can anybody recommend one that you've purchased recently, which used 
> native cups drivers available in Wheezy, which cost $100US or less?
> 
> Thanks
> 
> -Rob
> 
> 
Not under $100 but an excellent printer:
http://www.brother.ca/en-CA/printers/1/ProductDetail/hl2270dw/Overview

-- 
staticsafe
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Please don't top post - http://goo.gl/YrmAb
Don't CC me! I'm subscribed to whatever list I just posted on.


-- 
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/51950b44.5060...@staticsafe.ca



Re: where is the samba script?

2013-05-16 Thread Andrei POPESCU
On Jo, 16 mai 13, 16:39:07, abdelkader belahcene wrote:
> *Hi,
> I want to remove the samba server,  I can't find  the running script
> here is output of commands:
> 
> # ls /etc/rc2.d
> 
> K20speech-dispatcher  S19cpufrequtils  S30mdm S75sudo
> K23ntpS20hddtemp   S50pulseaudio  S99acpi-support
> K99ondemand   S20kerneloopsS50rsync   S99grub-common
> READMES20vsftpdS70dns-clean   S99rc.local
> S05loadcpufreqS30lightdm   S70pppd-dns
> 
> ps aux | grep mb
> root   970  0.0  0.1  21424  3848 ?Ss   May14   0:00 smbd -F
> root   993  0.0  0.0  21528  1356 ?SMay14   0:00 smbd -F
> root  2067  0.0  0.1  13360  2152 ?Ss   May14   0:33 nmbd -D
> 
> the smbd and nmbd  are  running, where are the starting script, by default
> the init level is 2 ( so there should be in rc2.d)

Not necessarily. Without looking into it I would guess that samba is 
started in runlevel 1, because it can be used to mount remote shares 
that users might need on login.

According to 'apt-file search samba | grep init.d' the initscript is 
/etc/init.d/samba. 'service samba stop' should stop the daemon and 
'update-rc.d samba disable' should prevent it from starting at boot.

Of course, this assumes you still want to keep samba installed. Purging
the package should take care of everything.

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


signature.asc
Description: Digital signature


recommend a laser printer

2013-05-16 Thread Rob Owens
I'm trying to buy a black and white laser printer for a family member running 
Wheezy.  Can anybody recommend one that you've purchased recently, which used 
native cups drivers available in Wheezy, which cost $100US or less?

Thanks

-Rob


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



Re: Fluxbox questions

2013-05-16 Thread Linux-Fan
On 05/16/2013 05:35 PM, Sharon Kimble wrote:
> I've been using 'fluxbox' for about a month now and really like it, but I
> do have some questions that I haven't been able to find answers for.
> 
> A - In the menu, how can I get working lines for logging off, I currently
> use '[exec] (Log off) {exit}' but aren't satisfied with it, and also for
> restarting fluxbox, currently '[restart] (Restart) {restart}' ?

Check /etc/X11/fluxbox/fluxbox-menu, on my system this ends:
   [restart] (Restart)
   [exit] (Exit)
Which does logout and restart. Are they a better solution for you?

> B - Periodically, when logging back into fluxbox from another DE I get this
> error message showing in the logs 'BScreen::BScreen: an error occured while
> querying the X server.
> another window manager already running on display:0
> Error: Couldn't find screens to manage.
> Make sure you don't have another window manager running.'
> I'm not aware of another window manager still running, but how do I kill it
> if it is please?

If you have htop installed you could use it to interactively find out
which processes are running on a virtual console. If you do not have
htop, you might also try pstree and kill (-s TERM) processes still
running below your login manager (if any).

> Hopefully thanks
> Sharon.

HTH
Linux-Fan

-- 
http://masysma.ohost.de/


-- 
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/51950375.7060...@web.de



DHCP not authoritive.

2013-05-16 Thread William Thompson
I'm not on the list, please keep me in CC.

I have a DHCP server that is setup to be authoritive for networks that are
relayed to it.  It is also setup to give a static IP to a couple devices on
the locally attached network.

In my config, I have "not authoritive;" in the main part and also in the
definition for the local network.

This is the local network definition:
subnet 172.17.0.0 netmask 255.255.0.0 {
not authoritative;
}

What I don't like is the logs:
2013-05-16 11:09:18 segfault64 dhcpd: DHCPINFORM from 172.17.x.x via br0: not 
authoritative for subnet 172.17.0.0

I think it should not log these if it was explicitly told not to be
authoritive for this.  Or have a config option to not log 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/20130516153053.ge2...@electro-mechanical.com



where is the samba script?

2013-05-16 Thread abdelkader belahcene
*Hi,
I want to remove the samba server,  I can't find  the running script
here is output of commands:

# ls /etc/rc2.d

K20speech-dispatcher  S19cpufrequtils  S30mdm S75sudo
K23ntpS20hddtemp   S50pulseaudio  S99acpi-support
K99ondemand   S20kerneloopsS50rsync   S99grub-common
READMES20vsftpdS70dns-clean   S99rc.local
S05loadcpufreqS30lightdm   S70pppd-dns

ps aux | grep mb
root   970  0.0  0.1  21424  3848 ?Ss   May14   0:00 smbd -F
root   993  0.0  0.0  21528  1356 ?SMay14   0:00 smbd -F
root  2067  0.0  0.1  13360  2152 ?Ss   May14   0:33 nmbd -D

the smbd and nmbd  are  running, where are the starting script, by default
the init level is 2 ( so there should be in rc2.d)

thanks for help
regards
*
*
*
*
*


Fluxbox questions

2013-05-16 Thread Sharon Kimble
I've been using 'fluxbox' for about a month now and really like it, but I
do have some questions that I haven't been able to find answers for.

A - In the menu, how can I get working lines for logging off, I currently
use '[exec] (Log off) {exit}' but aren't satisfied with it, and also for
restarting fluxbox, currently '[restart] (Restart) {restart}' ?

B - Periodically, when logging back into fluxbox from another DE I get this
error message showing in the logs 'BScreen::BScreen: an error occured while
querying the X server.
another window manager already running on display:0
Error: Couldn't find screens to manage.
Make sure you don't have another window manager running.'
I'm not aware of another window manager still running, but how do I kill it
if it is please?

Hopefully thanks
Sharon.

-- 
A taste of linux = http://www.sharons.org.uk/index.html
efever = http://www.efever.blogspot.com/
efever = http://sharon04.livejournal.com/
Debian Wheezy,  Fluxbox 1.3.5, LibreOffice 4.0.3.3,
Registered Linux user 334501


Re: audit security

2013-05-16 Thread Ralf Mardorf
On Thu, 2013-05-16 at 16:07 +0300, Andrei POPESCU wrote:
> > IIRC for Debian it's called "lock package" by Synaptic, I don't remember
> > how it's called by apt, but Google does help:
> 
> I find it unfortunate that Synaptic Author(s) did not stick to the same 
> wording as apt/itude/dpkg.

Regarding to the Wiki Synaptic is made for the Debian package management
system in the first place, that's why I agree with you. To "hold" or to
"lock" something, both is understandable and it should be used what
already was used before. Assumed Synaptic was made for different package
management systems in the first place or apt/itude/dpkg would use some
cryptic formulations, then it would be ok to use another word.

The Coder(s) easily could and should "fix" this.

Regards,
Ralf



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



Re: FQDN via DHCP, then used in exim4

2013-05-16 Thread Stan Hoeppner
On 5/16/2013 3:02 AM, Klaus Doering wrote:
...

> Sorry long post. Can anybody shine light on this, and maybe even know
> how to make use of the DHCP provided
> domain name in exim?

First, using a DHCP server, in a consumer broadband router or otherwise,
to assign -sticky static- addresses and hostnames is counterproductive
and counter intuitive.  You're doing this because you've never been
taught not to.  I'm teaching you now:  Don't do this.  Now you will ask
me why, and I will direct you to Google as I don't have time to write
you the many books you should already have read on the subject.

DHCP is for assigning resources to -client- computers, not -server-
computers.  You will not find a server application (mail) developer who
codes for your DHCP situation.  They all code assuming addresses and
hostnames are assigned within local UNIX files, or assuming you will
manually configure such things.

To answer your EXIM question, read this thread:
http://serverfault.com/questions/46545/how-do-i-change-exim4s-primary-hostname-on-a-debian-box

-- 
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/5194e6ad.1080...@hardwarefreak.com



How to investigate system hangs?

2013-05-16 Thread Dawid Toton
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

I am running wheezy. It worked perfectly for a year or two.
But yesterday (and today again) my system got deadlocked. I'm not sure
where to look for causes.
Both events went like this:
* I open the lid, the system resumes
* I enter the password, I get applications apparently working
* after short time, like few mouse clicks, everything becomes unresponsive
* the mouse cursor can move
* the system is still able to log USB mouse plug event, however the
plugged mouse is apparently not listened to
* ctrl+alt+f1 doesn't bring me a terminal (even after SysRq+R)
* SysRq commands are logged and executed, so I can reboot with it

I have looked at nearly everything at /var/log, but I see nothing
suspiscious for my untrained eye.

May I ask some advice? Do you know of some recent major changes that
would e.g. affect some WiFi operation or something else that activates
few seconds after system resume?
How do I check what package upgrades preceded the hangs?

Dawid
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJRlOj/AAoJEGrf9U3demxwhRgIAJryFL/hVNgE934Hd98rQ8uE
oMzyU8JBALpQqz6yBy6/4QbX0mXOXzFpzOGqyhTN87tBpJETQftvz/gPckC9DB6u
ZmC4nGxUfolMjimlhxg+KGsXTtv2R//YrxXmodWerCHRBtgkiJeymbRGruuHVwq4
mbabcikxEOWSuECt7mM8THUl0Hu4KgNvQzmGBxoeQKE0rq1Lprmkhz3oI1DRsxqz
cp07+pyU5qD8w/jrvYFz42K5Ek8OQc28naH42kx8j0XpA/nmf6RMj2yRo1B1Ue3k
te+hlRqocKw3ZPVpW6OcVXu9MSI5Bu6WtFZCLzPjp66XJx5m3k2bq2V3nGlt93g=
=t88A
-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/kn2pdq$746$1...@ger.gmane.org



FQDN via DHCP, then used in exim4

2013-05-16 Thread Klaus Doering

Hi All, just joined this mailing list after years of lurking :-)

On my home network I run approx. 10 clients, mostly Debian powered (from 
a fileserver and several laptops and
desktops to NSLU2s and a Raspberry PI). It is set-up such that the 
router (Billion 7800N) also serves as a DHCP and as
the local DNS server. Most clients on the LAN are assigned a fixed IP 
address, and I achieve that by providing a list of
MAC addresses, hostnames and corresponding IP address on the router. 
Further, the router also knows and serves
my domain name (something like 'my-domain-name.me.uk'), and the DHCP 
clients request all this info. Works a treat.

This is an example of a file in /var/lib/dhcp:

$ cat /var/lib/dhcp/dhclient.eth0.leases
lease {
  interface "eth0";
  fixed-address 192.168.0.77;
  option subnet-mask 255.255.255.0;
  option routers 192.168.0.1;
  option dhcp-lease-time 86400;
  option dhcp-message-type 5;
  option domain-name-servers 192.168.0.1;
  option dhcp-server-identifier 192.168.0.1;
  option host-name "rpi";
  option domain-name "my-domain-name.me.uk";
  renew 4 2013/05/16 02:00:04;
  rebind 4 2013/05/16 02:00:04;
  expire 4 2013/05/16 02:00:04;
}
(...)


The RaspPi (running Raspbian, a version of Wheezy for the ARMHF 
architecture) also acts as a mail server, talking
SMTP to the wider world using exim4. After I got an error message from 
some strict server telling me


 504 5.5.2: Helo command rejected: need fully-qualified hostname


I noticed that exim does NOT use the DHCP-provided domain name.
The unqualified host name is set in /etc/hostname, and in /etc/hosts I 
intentionally did not set the external IP or

domain name.

$cat /etc/hostname
rpi

$ cat /etc/hosts
127.0.0.1localhost
127.0.1.1rpi

Now, I can make exim work by manually providing the domain name in 
/etc/hosts and /etc/mailname,


$ cat /etc/hosts
127.0.0.1localhost
127.0.1.1rpi.my-domain-name.me.uk rpi

but somehow I had hoped that the DHCP served domain name should suffice 
for all services? And despite of what it
says in the comments inside the exim config file ( 
/etc/exim4/conf.d/main/01_exim4-config_listmacrosdefs )



# Decide which domain to use to add to all unqualified addresses.
# If MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN is defined, the primary
# hostname is used. If not, but MAIN_QUALIFY_DOMAIN is set, the value
# of MAIN_QUALIFY_DOMAIN is used. If both macros are not defined,
# the first line of /etc/mailname is used.
.ifndef MAIN_PRIMARY_HOSTNAME_AS_QUALIFY_DOMAIN
.ifndef MAIN_QUALIFY_DOMAIN
qualify_domain = ETC_MAILNAME
.else
qualify_domain = MAIN_QUALIFY_DOMAIN
.endif
.endif

it is not sufficient to set the domain in /etc/mailname, instead 
/etc/hosts must contain the FQDN.


Sorry long post. Can anybody shine light on this, and maybe even know 
how to make use of the DHCP provided

domain name in exim?

Thanks
Klaus


--
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/519492b1.7040...@gmail.com



Re: apt-get upgraded kernel, zero bytes download?

2013-05-16 Thread Raffaele Morelli
2013/5/16 Joel Rees 

>
> conf.d/50unattended-upgrades has stable and security uncommented in the
> Unattended-Upgrade::Allowed-Origins section. Does that take precedence
> over, say, 10periodic? Or is the kernel not part of the
> Download-Upgradeable-Packages clause (set to "0")?
>
> And nothing shows for the kernel this month at all in history.log or
> term.log.
>
> But apticron did send me a mail about it, with a list of legitimate
> looking fixes and urgency set high, claiming dann frazier was in charge of
> the upgrade.l
>

I would suggest you to manage upgrades without synaptic, doing an apt-get
update/upgrade and see what's going to be upgraded it's quite easy and it
takes a little time

just my 0.02€
/r


Re: Kernel 3.8 + nvidia?

2013-05-16 Thread Brad Alexander
Well, I upgraded, which installed a newer version of the nvidia drivers
(313-30). So I gave them a spin on 3.8-1. Booted up on it, and did a
dpkg-reconfigure nvidia-kernel-dkms.

It built fine, but at the end, a message popped up saying

nvidia:
Running module version sanity check.
Error! Module version 313.30 for nvidia.ko
is not newer than what is already found in kernel 3.8-1-amd64 (313.30).
You may override bhy specofying --force.

And when I try to insert the module, I get:

# modprobe nvidia
[  229.364270] Module len 8728526 truncated
ERROR: could not insert nvidia: Exec format error

Any ideas?
--b



On Wed, May 15, 2013 at 11:14 AM, Brad Alexander  wrote:

> In my case, possibly my upgrades from experimental. I think I have seen a
> couple of other threads where pulling previous updates from experimental
> has lead to problems once the freeze ended.
>
> I'm going to downgrade to the nvidia drivers in sid and try 3.8 again.
>
>
> On Wed, May 15, 2013 at 2:46 AM, Mark Allums  wrote:
>
>> On a Dell Precision M4600 laptop, I installed a clean Wheezy release,
>> installed nvidia drivers along with the dkms packages that go with. Because
>> of network driver trouble, I took the kernel from sid.
>> After that, everything works fine. I mean, video is fine.  Networking
>> still a problem. Here is my version information:
>>
>> $ dpkg -l | grep nvidia
>> ii  glx-alternative-nvidia 0.2.2
>>  amd64allows the selection of NVIDIA as GLX provider
>> ii  libgl1-nvidia-alternatives 304.88-1
>> amd64transition libGL.so* diversions to glx-alternative-nvidia
>> ii  libgl1-nvidia-glx:amd64304.88-1
>> amd64NVIDIA binary OpenGL libraries
>> ii  libglx-nvidia-alternatives 304.88-1
>> amd64transition libgl.so diversions to glx-alternative-nvidia
>> ii  libxvmcnvidia1:amd64   304.88-1
>> amd64NVIDIA binary XvMC library
>> ii  nvidia-alternative 304.88-1
>> amd64allows the selection of NVIDIA as GLX provider
>> ii  nvidia-glx 304.88-1
>> amd64NVIDIA metapackage
>> ii  nvidia-installer-cleanup   20120630+3
>> amd64Cleanup after driver installation with the nvidia-installer
>> ii  nvidia-kernel-common   20120630+3
>> amd64NVIDIA binary kernel module support files
>> ii  nvidia-kernel-dkms 304.88-1
>> amd64NVIDIA binary kernel module DKMS source
>> ii  nvidia-settings304.88-1
>> amd64Tool for configuring the NVIDIA graphics driver
>> ii  nvidia-support 20120630+3
>> amd64NVIDIA binary graphics driver support files
>> ii  nvidia-vdpau-driver:amd64  304.88-1
>> amd64NVIDIA vdpau driver
>> ii  xserver-xorg-video-nvidia  304.88-1
>> amd64NVIDIA binary Xorg driver
>>
>>   linux-image-3.8-1-amd643.8.12-1
>>   amd64Linux 3.8 for 64-bit PCs
>> ii  linux-image-amd64  3.8+47
>> amd64Linux for 64-bit PCs (meta-package)
>>
>>
>> Thanks.  That's good to know.  Only some folks are affected.  I wonder
>> why?
>>
>>
>>
>>
>>
>>
>


Re: audit security

2013-05-16 Thread Andrei POPESCU
On Jo, 16 mai 13, 10:41:31, Ralf Mardorf wrote:
> 
> For Debian and Ubuntu it's possible to protect packages against
> upgrading. I'm not booted to Debian or Ubuntu now, however, for Arch it'
> s possible too,

Ok, I understand now. However, this has nothing to do with my 
explanation of dist-upgrade. Consider this situation:

Currently stable (wheezy) has:

Package: linux-image-
Depends: linux-image-3.2.0-4-

Now imagine a severe security bug is found in the kernel and the fix 
requires an increase in the ABI version[1]. Stable would then have:

Package: linux-image-
Depends: linux-image-3.2.0-5-

Because the linux-image-3.2.0-5- package is not installed 
'apt-get upgrade' will not be able to upgrade linux-image- and 
you have to use 'dist-upgrade'.
 
[1] IIRC something like this already happened during the lifetime of 
squeeze.
 
> IIRC for Debian it's called "lock package" by Synaptic, I don't remember
> how it's called by apt, but Google does help:

I find it unfortunate that Synaptic Author(s) did not stick to the same 
wording as apt/itude/dpkg.

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


signature.asc
Description: Digital signature


Wheezy LXDE - desktop user unset

2013-05-16 Thread Klistvud

Hello fellow Debianites!

Plain vanilla wheezy-LXDE install here - as installed from a  
wheezy-lxde-desktop-amd64 installation CD.


When I issue 'users' or 'who' in a virtual terminal, the desktop  
session user - although logged in - is not shown. On the other hand, if  
I run lxterminal - the default LXDE terminal emulator - *inside* the  
desktop environment and issue the above commands, the user is listed  
correctly.


On my old squeeze GNOME install, the above commands always show the  
logged-in GNOME session user - which is how things 'should' be I  
suppose?


Any hints? TIA

--
Cheerio,

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


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



Re: audit security

2013-05-16 Thread Ralf Mardorf
On Thu, 2013-05-16 at 11:25 +0300, Andrei POPESCU wrote:
> On Mi, 15 mai 13, 10:39:28, Ralf Mardorf wrote:
> > 
> > Thank you,
> > 
> > I wasn't aware about this, resp. I didn't had in mind, that at least
> > somebody might lock packages. I'm not sure if Debian and Ubuntu do
> > inform about updates for locked packages.
> 
> I have no idea what you mean by "locked packages".

For Debian and Ubuntu it's possible to protect packages against
upgrading. I'm not booted to Debian or Ubuntu now, however, for Arch it'
s possible too,

[rocketmouse@archlinux ~]$ cat /etc/pacman.conf
[snip]
# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
IgnorePkg   = ardour virtualbox virtualbox-host-dkms virtualbox-host-modules 
virtualbox-ext-oracle
[snip]

IIRC for Debian it's called "lock package" by Synaptic, I don't remember
how it's called by apt, but Google does help:

http://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package

Regards,
Ralf


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



(X/Xmonad) us-intl, some dead keys do not work in terminal emulator

2013-05-16 Thread Franco
Hello Debianer, I have a problem with US-international keyboard 
layout and X (I use Xmonad as WM).

As you know, dead keys like '`' allow you to make combinations 
such as '`'+'e'='è'.

This works in any X application (midori, etc.), but *not* in terminal 
emulators (like xterm, urxvt).

I poked a bit at the config files, with no luck. What do?

setxkbmap -print leads to:

xkb_keymap {
xkb_keycodes  { include "evdev+aliases(qwerty)" };
xkb_types { include "complete"  };
xkb_compat{ include "complete"  };
xkb_symbols   { include "pc+us(intl)+inet(evdev)"   };
xkb_geometry  { include "pc(pc105)" };
};


-- 
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/loom.20130516t122911...@post.gmane.org



Re: apt-get upgraded kernel, zero bytes download?

2013-05-16 Thread Joel Rees
On Wed, May 15, 2013 at 10:14 PM, Raffaele Morelli <
raffaele.more...@gmail.com> wrote:

> 2013/5/15 Joel Rees 
>
>> On Wed, May 15, 2013 at 8:52 PM, Raffaele Morelli <
>> raffaele.more...@gmail.com> wrote:
>>
>>> 2013/5/15 Joel Rees 
>>>
 (My system speaks to me in Japanese, so the messages below are my
 translations.)

>>>
>>> that's a big issue :-)
>>>
>>
>> Nah, c'mon, my Japanese is perfect. Kanpeki-tte-yuttoru yanka.
>>
>> :-\
>>
>
> yeah, you win B-)
>

... the booby prize, I suppose.

The times I have had Japanese assume that, just because I have pretty good
pronunciation and grammar, I can read their minds, ...


> You're right. The squeeze3 kernel, etc. packages are right there in the
>> cache directory.
>>
>> Odd. The dates are Saturday afternoon and evening. I just checked
>> synaptic, and it says notify, not download. Synaptic isn't going to have a
>> separate setting for download-in-background is it?
>>
>> But I'm pretty sure I ran apt-get update and upgrade in proper order on
>> Sunday and Monday.  Any idea why the install would wait until today?
>>
>>
> Can't help you here, I do not use synaptic at all but apt-get upgrade it's
> quite straightforward... have a look at you history to check what went on
> with apt-get
> Moreover, check your atp logs
>

Okay, I have a little time to check the configuration and logs before the
sandman does me in tonight.

conf.d/50unattended-upgrades has stable and security uncommented in the
Unattended-Upgrade::Allowed-Origins section. Does that take precedence
over, say, 10periodic? Or is the kernel not part of the
Download-Upgradeable-Packages clause (set to "0")?

And nothing shows for the kernel this month at all in history.log or
term.log.

But apticron did send me a mail about it, with a list of legitimate looking
fixes and urgency set high, claiming dann frazier was in charge of the
upgrade.l

-- 
--
Joel Rees


Re: Computer output and translations [was: Re: apt-get upgraded kernel, zero bytes download?]

2013-05-16 Thread Lisi Reisz
On Thursday 16 May 2013 09:35:37 Andrei POPESCU wrote:
> > My hint was supposed to indicate that setting LANGUAGE is a better way
> > to post English messages. Quoting them verbatim is always better, no
> > matter how good your translation is.
>
> With my Romanian translator hat on I strongly agree to Jochen. The
> quality of translations may vary a lot and even if the translation is
> very good, it's almost impossible to get to the same exact wording if
> you translate it back to the source language.
>
> Not to mention that sometimes even the original wording is not...
> optimal.

I have had to do exactly what is under discussion.  My bi-lingual 
granddaughter now has a Mac (running Mac OSX) laptop that is entirely in 
Japanese.  When I was trouble-shooting for her, I gave her the commands and 
she translated the replies for me.  Both her Japanese and her English are 
excellent - at educated native speaker standard.

But how I wish that I had known about LANGUAGE = C .  As it was, I had to do 
tiny steps at a time, because only that way could I keep track of where we 
were, and what the computer was trying to say to me.

Lisi


-- 
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/201305161013.20766.lisi.re...@gmail.com



Re: git-buildpackage

2013-05-16 Thread Andrei POPESCU
On Mi, 15 mai 13, 21:57:29, Loyall, David wrote:
> Hello.
> 
> Originally I authored this message for the developer of 
> git-buildpackage, but then I realized that I have no idea how many 
> such inquiries he might receive, so I'd better not send one more.
... 
> I believe that the source of my trouble is that 1) I don't have any 
> experience building packages *without* gbp and 2) the gpb 
> documentation is written for those who would like to migrate to gpb 
> from other build tools.

Then you would be in the best position to improve the documentation.

> Would you recommend some documentation?

No, I would recommend you post to debian-mentors instead.

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


signature.asc
Description: Digital signature


Re: Doing last part of update

2013-05-16 Thread Andrei POPESCU
On Mi, 15 mai 13, 13:16:04, ken wrote:
> Hey, group,
> 
> A cron job on a system I was just handed does this:
> 
> /usr/bin/apt-get dist-upgrade -d -y -o APT::Get::Show-Upgraded=true

Hopefully there is also an 'apt-get update' before that, otherwise this 
is useless. If you are now responsible for this system you might want to 
look at apticron, cron-apt, unattended-upgrades or so. These should be 
much better documented than some custom cron job.

> So there are some packages downloaded which need to be finished up.
> I've been using the "other" linux distro for a long time and haven't
> used debian in a very long time.  Truth be told, I'm a little shaky
> about doing this, don't want to remarkably mess up.  It's been
> recommended that I use aptitude.  But how would this play out?
> What's the method least likely to encounter difficulty.

You may use your tool of choice, but given that the first part was done 
with apt-get I would stick with it (just to reduce variables).

The next step would be simply

apt-get upgrade

Check the proposed actions and confirm if everything looks good to you. 
If some packages are not upgraded you will need to follow-up with

apt-get dist-upgrade

Do keep in mind that having to resort to dist-upgrade means packages 
need to be installed and/or removed. Examine proposed actions carefully 
before applying.

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


signature.asc
Description: Digital signature


Computer output and translations [was: Re: apt-get upgraded kernel, zero bytes download?]

2013-05-16 Thread Andrei POPESCU
On Mi, 15 mai 13, 15:24:30, Jochen Spieker wrote:
> 
> My hint was supposed to indicate that setting LANGUAGE is a better way
> to post English messages. Quoting them verbatim is always better, no
> matter how good your translation is.

With my Romanian translator hat on I strongly agree to Jochen. The 
quality of translations may vary a lot and even if the translation is 
very good, it's almost impossible to get to the same exact wording if 
you translate it back to the source language.

Not to mention that sometimes even the original wording is not... 
optimal.

BTW, some of the list subscribers might be interested in the Smith 
Review Project http://wiki.debian.org/I18n/SmithReviewProject

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


signature.asc
Description: Digital signature


Re: audit security

2013-05-16 Thread Andrei POPESCU
On Mi, 15 mai 13, 10:39:28, Ralf Mardorf wrote:
> 
> Thank you,
> 
> I wasn't aware about this, resp. I didn't had in mind, that at least
> somebody might lock packages. I'm not sure if Debian and Ubuntu do
> inform about updates for locked packages.

I have no idea what you mean by "locked packages".

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


signature.asc
Description: Digital signature