Nettoyage du spam: décembre 2012

2013-01-01 Thread Christian PERRIER
Comme nous sommes en 2013 (à part d'éventuels lecteurs francophones du
Pacifique ou ceux égarés à l'Ouest des États-Unis), il est désormais
possible de traiter les archives du mois de décembre 2012 des listes
francophones.

N'oubliez bien sûr pas d'ajouter votre nom à la liste des relecteurs
pour que nous sachions où nous en sommes.

Détails du processus de nettoyage du spam sur:
[0] http://wiki.debian.org/I18n/FrenchSpamClean






-- 





-- 




signature.asc
Description: Digital signature


meilleurs voeux 2013

2013-01-01 Thread Bernard Schoenacker
bonjour,

je souhaite à toutes et à tous des meilleurs voeux pour l'année
deux mille treize

slt
bernard
attachment: 400_F_44866654_AaPyOgy1cWWJNxQNeDCbNrJCxDBONKGO.jpg

Re: meilleurs voeux 2013

2013-01-01 Thread Jérôme
Le mardi 01 janvier 2013 à 10:17 +0100, Bernard Schoenacker a écrit :
 bonjour,
 
 je souhaite à toutes et à tous des meilleurs voeux pour
 l'année
 deux mille treize
 
 slt
 bernard 

Bonne année aussi au meilleur ;)

ぁけぉめ☆m(_ _)mことょろ\(^0^)/

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/1357033015.5774.0.camel@azuki.jisui



Re: meilleurs voeux 2013

2013-01-01 Thread ptilou
+ 1

@ +

Ptilou

-- 
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/38e3cf91-1678-44c8-a6a0-5423a61d5...@googlegroups.com



Re: meilleurs voeux 2013

2013-01-01 Thread Francois Mescam

On 01/01/2013 10:56, ptilou wrote:

+ 1

@ +

Ptilou


+1

--
F.Mescam

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/kbue39$tjj$1...@ger.gmane.org



Re:meilleurs voeux 2013

2013-01-01 Thread stephane.gargoly
Bonjour,

Moi aussi, je vous souhaite, à tous les utilisateurs, une bonne année 2013, une 
bonne santé et, bien sur, plein de bonnes choses avec Debian.

Avec peut-être une nouvelle version stable au cours du 1er semestre 2013... ;-)

Salut à tous,

Stéphane


 Message du 01/01/13 10:18
 De : Bernard Schoenacker 
 A : Debian debian user french 
 Copie à : 
 Objet : meilleurs voeux 2013

 bonjour,
 
 je souhaite à toutes et à tous des meilleurs voeux pour l'année
 deux mille treize
 
 slt
 bernard
 
 [ 400_F_44866654_AaPyOgy1cWWJNxQNeDCbNrJCxDBONKGO.jpg (34.5 Ko) ]

Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: 
http://lists.debian.org/1584673861.273672.1357053257622.JavaMail.www@wwinf8224



Re: meilleurs voeux 2013

2013-01-01 Thread Bzzz
On Tue, 1 Jan 2013 10:17:32 +0100


Bonjour, cochez les cases souhaitées:

[ ] bon [ ] bonne

[ ] année   [ ] anniversaire
[ ] fête[ ] week-end
[ ] appétit [ ] bourre
[ ] à rien  [ ] fête des morts
[ ] voyage  [ ] vacances

[ ] 2013   [ ] 2014   [ ] 2015
[ ] 2016   [ ] 2017   [ ] 2018
[ ] 2019

-- 
(+LittleLama) ptin ya un truc ki vien drentrer dans ma piaule
(+LittleLama) un truc monstrueux
(+LittleLama) un croisement d'abeille de bourdon frelon et de sanglier
(+berzerker_38|et_65) ct pas ta soeur ?

--
Lisez la FAQ de la liste avant de poser une question :
http://wiki.debian.org/fr/FrenchLists

Pour vous DESABONNER, envoyez un message avec comme objet unsubscribe
vers debian-user-french-requ...@lists.debian.org
En cas de soucis, contactez EN ANGLAIS listmas...@lists.debian.org
Archive: http://lists.debian.org/20130101162558.67368106@anubis.defcon1



Re: Bls: Pinjaman

2013-01-01 Thread mu'ammal hamidy
sempat kaget juga
kok ada orang mo ngutang duit... hekekekk
30jt lagi...
BTW...
saya absen pak... hadirr...
-- 
 LIfE gOoD 


browsers lägger av squeeze 6

2013-01-01 Thread Per Andersson

Jag kör squeeze 6 på en gammal Via Epia-M. Det går sakta, men fungerar. För en 
tid sedan lade mina browsers  (Chromium, Iceweasel) av efter att ha fungerat 
några minuter. Oftast (?) hände det i samband med att jag öppnade en ny flik.Är 
det här ett specifikt fenomen för mig? Vad göra?/Per
  

Re: rt3090

2013-01-01 Thread Gunther Furtado
Em 27.12.2012, quinta, Manoel Pedro de Araújo disse:

 Compilei o drive rt3090.
 
 quando eu rodo modprobe -r rt2860sta

esse rt2860sta é o módulo que vc acabou de compilar?

# man modprobe

 
 resulta em
 FATAL: Module rt2860sta is in use.
 
 quando eu rodo modprobe -v rt3090sta
 me fornece
 
 insmod /lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko
 FATAL: Error inserting rt3090sta
 (/lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko):
 Device or resource busy

vc seguiu as sugestões de alteração do /etc/network/interfaces?

se sim, o que houve?

 
 aguem pode me ajudar?
 
 
 -- 
 Manoel


-- 

Cuando la guática pide comídica
Pone al cristiánico firme y guerrérico
Por sus poróticos y sus cebóllicas,
No hay regimiéntico que los deténguica
Si tienen hámbrica los populáricos. Violeta Parra

Gunther Furtado
Curitiba - Paraná - Brasil
gunfurt...@gmail.com
skype:gunfurtado


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130101104409.68aff...@shrknemo.gbmc.net



Re: dropbox

2013-01-01 Thread Sérgio GMAIL
Tem que executar o programa que foi instalado, para que seja configurado no
seu ambiente.
Depois disto foi de boa para mim. Apareceu na bandeja do sistema, atualizou
os arquivos.. etc.. !


Em 31 de dezembro de 2012 23:41, Manoel Pedro de Araújo
mpara...@gmail.comescreveu:

 no meu gnome não tem a opção iniciar automaticamente. O que eu devo fazer?

 Em 31 de dezembro de 2012 16:49, China china.lis...@gmail.com escreveu:

 Abra o programa e vá nas preferências, marque a opção de iniciar
 automaticamente e mostrar notificações. Isso deve resolver.

 Feliz 2013!

 2012/12/30 Manoel Pedro de Araújo mpara...@gmail.com:
  instalo o dropbox no no debian interface gnome mas não aparece o icone
 na
  area d etrabalho.
 
  alguem pode me ajudar?
 
  --
  Manoel



 --
 @chinabhz




 --
 Manoel




-- 
Att,
*Sérgio H. Berlotto Jr *(*chave gpg FC78845B*)
E-mails: sergio.berlotto [at] gmail.com
Site : http://pythonrs.wordpress.com
Twitter: @berlottocdd http://twitter.com/#%21/berlottocdd


Re: rt3090

2013-01-01 Thread Manoel Pedro de Araújo
2013/1/1 Gunther Furtado gunfurt...@gmail.com

 Em 27.12.2012, quinta, Manoel Pedro de Araújo disse:

  Compilei o drive rt3090.
 
  quando eu rodo modprobe -r rt2860sta

 esse rt2860sta é o módulo que vc acabou de compilar?

 # man modprobe


Compilei o drive rt3090

 
  resulta em
  FATAL: Module rt2860sta is in use.
 
  quando eu rodo modprobe -v rt3090sta
  me fornece
 
  insmod
 /lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko
  FATAL: Error inserting rt3090sta
  (/lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko):
  Device or resource busy

 vc seguiu as sugestões de alteração do /etc/network/interfaces?

 se sim, o que houve?

 
  aguem pode me ajudar?
 
 
  --
  Manoel


 --

 Cuando la guática pide comídica
 Pone al cristiánico firme y guerrérico
 Por sus poróticos y sus cebóllicas,
 No hay regimiéntico que los deténguica
 Si tienen hámbrica los populáricos. Violeta Parra

 Gunther Furtado
 Curitiba - Paraná - Brasil
 gunfurt...@gmail.com
 skype:gunfurtado


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/20130101104409.68aff...@shrknemo.gbmc.net




-- 
Manoel


drive rt3090

2013-01-01 Thread Manoel Pedro de Araújo
Estou desesperado compilei o drive abaixo mas nao consigo concluir veja.


Compilei o drive rt3090.

quando eu rodo modprobe -r rt2860sta

resulta em
FATAL: Module rt2860sta is in use.

quando eu rodo modprobe -v rt3090sta
me fornece

insmod /lib/modules/2.6.32-5-amd64/
kernel/drivers/net/wireless/rt3090sta.ko
FATAL: Error inserting rt3090sta
(/lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko):
Device or resource busy

aguem pode me ajudar?

-- 
Manoel


skype

2013-01-01 Thread Manoel Pedro de Araújo
Olá, pessoal, o skype no meu pc amd64

quand eu compilo da uma falha de segmentação. Alguem pode me ajudar?

-- 
Manoel


Re: drive rt3090

2013-01-01 Thread Gunther Furtado
Em 01.01.2013, terça, Manoel Pedro de Araújo disse:

 Estou desesperado compilei o drive abaixo mas nao consigo concluir
 veja.


 Compilei o drive rt3090.

Manoel,

Como root digite:

# echo rt2860sta  /etc/modprobe.d/rt2860-blacklist.conf

# echo rt3090sta  /etc/modules

e reinicie seu computador. Quando isto tiver terminado

# lsmod | grep rt

e confira qual versão do m[odulo foi carregada.

abs.,

gunther



 quando eu rodo modprobe -r rt2860sta

 resulta em
 FATAL: Module rt2860sta is in use.

 quando eu rodo modprobe -v rt3090sta
 me fornece

 insmod /lib/modules/2.6.32-5-amd64/
 kernel/drivers/net/wireless/rt3090sta.ko
 FATAL: Error inserting rt3090sta
 (/lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko):
 Device or resource busy

 aguem pode me ajudar?

 --
 Manoel


--

Cuando la guática pide comídica
Pone al cristiánico firme y guerrérico
Por sus poróticos y sus cebóllicas,
No hay regimiéntico que los deténguica
Si tienen hámbrica los populáricos. Violeta Parra

Gunther Furtado
Curitiba - Paraná - Brasil
gunfurt...@gmail.com
skype:gunfurtado


--
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CALKj2Cp8cUHOTR31eqYrXiDSo9iB+Y_orbp2zZ6tHZtd=jj...@mail.gmail.com



Re: drive rt3090

2013-01-01 Thread Gunther Furtado
Em Ter, 2013-01-01 às 21:08 -0200, Gunther Furtado escreveu:
 Em 01.01.2013, terça, Manoel Pedro de Araújo disse:
 
  Estou desesperado compilei o drive abaixo mas nao consigo concluir
  veja.
 
 
  Compilei o drive rt3090.
 
 Manoel,
 
 Como root digite:
 
 # echo rt2860sta  /etc/modprobe.d/rt2860-blacklist.conf

ops!

aqui deveria ser (acho):

# echo blacklist rt2860sta  /etc/modprobe.d/rt2860-blacklist.conf
 
 # echo rt3090sta  /etc/modules
 
 e reinicie seu computador. Quando isto tiver terminado
 
 # lsmod | grep rt
 
 e confira qual versão do m[odulo foi carregada.
 
 abs.,
 
 gunther
 
 
 
  quando eu rodo modprobe -r rt2860sta
 
  resulta em
  FATAL: Module rt2860sta is in use.
 
  quando eu rodo modprobe -v rt3090sta
  me fornece
 
  insmod /lib/modules/2.6.32-5-amd64/
  kernel/drivers/net/wireless/rt3090sta.ko
  FATAL: Error inserting rt3090sta
  (/lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko):
  Device or resource busy
 
  aguem pode me ajudar?
 
  --
  Manoel
 
 
 --
 
 Cuando la guática pide comídica
 Pone al cristiánico firme y guerrérico
 Por sus poróticos y sus cebóllicas,
 No hay regimiéntico que los deténguica
 Si tienen hámbrica los populáricos. Violeta Parra
 
 Gunther Furtado
 Curitiba - Paraná - Brasil
 gunfurt...@gmail.com
 skype:gunfurtado

-- 
Gunther Furtado gunfurt...@gmail.com


-- 
To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1357083254.3753.0.ca...@lapido.gbcm.net



Re: drive rt3090

2013-01-01 Thread Manoel Pedro de Araújo
Fiz o que vc pediu e obtive o resultado

# lsmod | grep rt
parport_pc 18855  0
parport27954  3 parport_pc,ppdev,lp
rt2860sta 454557  1
crc_ccitt   1323  1 rt2860sta



Em 1 de janeiro de 2013 20:34, Gunther Furtado gunfurt...@gmail.comescreveu:

 Em Ter, 2013-01-01 às 21:08 -0200, Gunther Furtado escreveu:
  Em 01.01.2013, terça, Manoel Pedro de Araújo disse:
 
   Estou desesperado compilei o drive abaixo mas nao consigo concluir
   veja.
  
  
   Compilei o drive rt3090.
 
  Manoel,
 
  Como root digite:
 
  # echo rt2860sta  /etc/modprobe.d/rt2860-blacklist.conf

 ops!

 aqui deveria ser (acho):

 # echo blacklist rt2860sta  /etc/modprobe.d/rt2860-blacklist.conf
 
  # echo rt3090sta  /etc/modules
 
  e reinicie seu computador. Quando isto tiver terminado
 
  # lsmod | grep rt
 
  e confira qual versão do m[odulo foi carregada.
 
  abs.,
 
  gunther
 
 
  
   quando eu rodo modprobe -r rt2860sta
  
   resulta em
   FATAL: Module rt2860sta is in use.
  
   quando eu rodo modprobe -v rt3090sta
   me fornece
  
   insmod /lib/modules/2.6.32-5-amd64/
   kernel/drivers/net/wireless/rt3090sta.ko
   FATAL: Error inserting rt3090sta
   (/lib/modules/2.6.32-5-amd64/kernel/drivers/net/wireless/rt3090sta.ko):
   Device or resource busy
  
   aguem pode me ajudar?
  
   --
   Manoel
 
 
  --
 
  Cuando la guática pide comídica
  Pone al cristiánico firme y guerrérico
  Por sus poróticos y sus cebóllicas,
  No hay regimiéntico que los deténguica
  Si tienen hámbrica los populáricos. Violeta Parra
 
  Gunther Furtado
  Curitiba - Paraná - Brasil
  gunfurt...@gmail.com
  skype:gunfurtado

 --
 Gunther Furtado gunfurt...@gmail.com


 --
 To UNSUBSCRIBE, email to debian-user-portuguese-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: http://lists.debian.org/1357083254.3753.0.ca...@lapido.gbcm.net




-- 
Manoel


Re: No suitable module for running kernel found : virtualbox-ose

2013-01-01 Thread Johan Grönqvist

2013-01-01 08:39, Contact. Vardhan skrev:

i am using debian 6.0.6.

please look into the data  provide me a possible solution :

[1] installation of virtualbox-ose :

# aptitude install virtualbox-ose

 [...]

Setting up virtualbox-ose (3.2.10-dfsg-1) ...
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modulesNo suitable module for running kernel found 
... failed!
  failed!
invoke-rc.d: initscript virtualbox-ose, action restart failed.

 [...]

Building initial module for 2.6.32-5-amd64
[...]
DKMS: install Completed.
Stopping VirtualBox kernel modules.
Starting VirtualBox kernel modules.

[3] boot log:

http://pastebin.com/LS3ipPFc

 Dec 30 07:28:07  kernel: [  157.143740] vboxdrv: Successfully loaded 
 version 3.2.10_OSE (interface 0x00140001).



I do not see a problem. What are the symptoms that make you believe that 
there is a problem?


You seem to quote the error message from the installation process, but 
later in the same installation process it automatically rebuilds the 
kernel module without problems, and the boot-log seems to say that the 
module was loaded without error.


/ johan


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

Archive: http://lists.debian.org/50e2b447.8080...@gmail.com



Re: RSA Key authentication

2013-01-01 Thread Andrei POPESCU
On Lu, 31 dec 12, 12:58:05, Bob Proulx wrote:
 Thore wrote:
 
  Another question is: How must I configure it that I only can login
  with the user password my passphrase for the key and the keys?
  so tripple protection against brute force.
 
 I recommend not to do this.  Make sure you have a good non-guessable
 password and then don't use it unless you need it.  If you don't use
 it then it can't be sniffed.  If it is secure then it can't be
 guessed.  In which case it isn't safer to disable it.  And having it
 available for that emergency when you need it is very useful.

I understood that Thore wants to have triple authentication: 
passphrase for the key, the key *and* the user password.

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


signature.asc
Description: Digital signature


Re: Is this OK in C++ and C?

2013-01-01 Thread Florian Weimer
* Zbigniew Komarnicki:

 Is this OK or is this a bug, when the wariable 'n' is
 initializing by negative value? There no any warning.
 Is this normal? I know that value -5 is converted
 to unsigned but probably this should by printed a warning,
 when this is a constant value. What do you think about this?

$ g++ -Wsign-conversion t.cc
t.cc: In function ‘int main()’:
t.cc:7:25: warning: negative integer implicitly converted to unsigned type 
[-Wsign-conversion]

This is with GCC 4.7 in wheezy.  This warning isn't in -Wall or
-Wextra, probably because the false-positive rate is atrocious.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87ip7hqher@mid.deneb.enyo.de



RE: Is this OK in C++ and C?

2013-01-01 Thread Mark Allums
 Joe Pfeiffer
 Jari Fredriksson ja...@iki.fi writes:
 
  31.12.2012 20:33, Zbigniew Komarnicki kirjoitti:
  Is this OK or is this a bug, when the wariable 'n' is
  initializing by negative value? There no any warning.
  Is this normal? I know that value -5 is converted
  to unsigned but probably this should by printed a warning,
  when this is a constant value. What do you think about this?
 
 
  // prog.cpp
  #include iostream
  using namespace std;
 
  int main()
  {
  const unsigned int n = -5;
 
cout  The variable n is:   n  endl;
 
return 0;
  }
 
  Results:
  $ g++ -Wall -W  prog.cpp -o prog
  $ ./prog
  The variable n is: 4294967291
 
  Thank you.
 
 
  This is a known bug in Debian GNU/Linux. Happy new year ;)
 
 Where does the standard require a warning in this case?  If no warning
 is required, the behavior is not a bug.
 

It is a bug, just not a compiler bug.  It is a bug in the user 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/014901cde812$7c4a9390$74dfbab0$@allums.com



RE: Is this OK in C++ and C?

2013-01-01 Thread Mark Allums
 Is this OK or is this a bug, when the wariable 'n' is
 initializing by negative value? There no any warning.
 Is this normal? I know that value -5 is converted
 to unsigned but probably this should by printed a warning,
 when this is a constant value. What do you think about this?
 
 
 // prog.cpp
 #include iostream
 using namespace std;
 
 int main()
 {
 const unsigned int n = -5;
 
   cout  The variable n is:   n  endl;
 
   return 0;
 }
 
 Results:
 $ g++ -Wall -W  prog.cpp -o prog
 $ ./prog
 The variable n is: 4294967291


This is expected behavior, but not defined by the standard because the result 
is not portable.  That is, a rollover value will occur, but it could vary 
depending on the width of an int, and possibly by the binary representation.  
As far as I know all systems that Debian with gcc runs on are two's complement, 
but still...  

I cannot speak to the C++11 standard because ISO/ANSI are not asking a 
reasonable price for the specification docs, and I can't afford the price.   

A good compiler *may* warn you about this, but it may not do so by default.  
You may have to turn the warnings on.  Note:  gcc's -Wall is tricky.  You may 
still not get what you expect.  

This kind of type shenanigan is allowed in C/C++ because of silent standard 
conversions.  A strongly-(enough)-typed language will not permit conversions to 
or from signed-unsigned without a cast or a conversion function.  C/C++ 
allows this because there is no loss of significant digits (precision).


  


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/014b01cde813$cf3879e0$6da96da0$@allums.com



Re: lightdm login screen minor issue

2013-01-01 Thread Claudius Hubig
Hello cr...@gtek.biz,

what a wonderful name :)

cr...@gtek.biz wrote:
 At the login screen, there are two buttons in the top right-hand corner,
 one for switching hi-contrast and large fonts on or off, and the other
 for restarting or shutting the system down. That power button has no
 functionality to it. When I click on it, a blank panel opens and there is
 nothing to click on. I am at a loss trying to figure out what drives that
 missing functionality. Can anyone give me a nudge in the right direction?

What packages related to lightdm do you have installed? To check, try
something like

# dpkg -l lightdm*

Do you have upower installed? lightdm suggests it, and it appears to
be related to system-wide power management. Again, try

# dpkg -l upower

to see if/what is installed.

Best,

Claudius


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130101113932.0135f...@ares.home.chubig.net



Fwd: Re (2): Running vlc from another machine.

2013-01-01 Thread Brad Alexander
Forwarding back to list...


-- Forwarded message --
From:  peasth...@shaw.ca
Date: Mon, Dec 31, 2012 at 11:50 PM
Subject: Re (2): Running vlc from another machine.
To: stor...@gmail.com
Cc: peasth...@shaw.ca


From:   Chris Davies chris-use...@roaima.co.uk
Date:   Tue, 01 Jan 2013 02:11:14 +
 I'm going to assume (dangerously) that since you're running vlc rather
 than cvlc you don't really mean console but local X Windows screen.

Yes, I should have said, In a local LXTerminal, 

 Don't run telnet, use ssh instead.

OK, thanks.

 DISPLAY=:0 vlc *.WAV

It produces sound correctly and a flock of messages.

peter@dalton:~$ DISPLAY=:0 vlc *.WAV
VLC media player 1.1.3 The Luggage (revision exported)
Warning: call to srand(1357015068)
Warning: call to rand()
Blocked: call to unsetenv(DBUS_ACTIVATION_ADDRESS)
Blocked: call to unsetenv(DBUS_ACTIVATION_BUS_TYPE)
Warning: call to signal(13, 0x1)
Blocked: call to setlocale(6, )
Blocked: call to sigaction(17, 0xb71780d4, 0xb7178048)
Warning: call to srand(1357015068)
Warning: call to rand()
Warning: call to srand(1357015068)
Warning: call to rand()
Warning: call to srand(1357015068)
Warning: call to rand()
Warning: call to srand(1357015068)

 cvlc *.WAV

Correct sound again and more messages.

peter@dalton:~$ cvlc *.WAV
VLC media player 1.1.3 The Luggage (revision exported)
Warning: call to srand(1357015446)
Warning: call to rand()
Blocked: call to unsetenv(DBUS_ACTIVATION_ADDRESS)
Blocked: call to unsetenv(DBUS_ACTIVATION_BUS_TYPE)
[0x9e0b51c] inhibit interface error: Failed to connect to the D-Bus session daem
on: /usr/bin/dbus-launch terminated abnormally with the following error: Autolau
nch error: X11 initialization failed.

[0x9e0b51c] main interface error: no suitable interface module
[0x9e08d44] main interface error: no suitable interface module
[0x9d618fc] main libvlc error: interface globalhotkeys,none initialization fai
led
[0x9e08d44] dummy interface: using the dummy interface module...

Thanks for the help, ... Peter E.


--
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/
http://members.shaw.ca/peasthope/index.html#Itinerary 


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CAKmZw+ZBijSON+uTQJdAyaZkRDX_O7j8jd_z9j=gb7dz3hh...@mail.gmail.com



Fwd: Re (2): Running vlc from another machine.

2013-01-01 Thread Brad Alexander
Forwarding back to the list...


-- Forwarded message --
From:  peasth...@shaw.ca
Date: Mon, Dec 31, 2012 at 11:54 PM
Subject: Re (2): Running vlc from another machine.
To: stor...@gmail.com
Cc: peasth...@shaw.ca


From:   Brad Alexander stor...@gmail.com
Date:   Mon, 31 Dec 2012 22:14:01 -0500
 Telnet? Aside from the security concerns, you can set up ssh ...

OK, thanks.

 vlc has some sort of streaming interface.
 ...
 Here are a couple of links ...

Will read.  Thanks for the help,... Peter E.

--
123456789 123456789 123456789 123456789 123456789 123456789 123456789 12
Tel +13606390202  Bcc: peasthope at shaw.ca  http://carnot.yi.org/
http://members.shaw.ca/peasthope/index.html#Itinerary 


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



Re: lightdm login screen minor issue

2013-01-01 Thread craig
On Tuesday, January 1, 2013 05:39, Claudius Hubig debian_1...@chubig.net 
said:

 Hello cr...@gtek.biz,
 
 what a wonderful name :)
 
 cr...@gtek.biz wrote:
 At the login screen, there are two buttons in the top right-hand corner,
 one for switching hi-contrast and large fonts on or off, and the other
 for restarting or shutting the system down. That power button has no
 functionality to it. When I click on it, a blank panel opens and there is
 nothing to click on. I am at a loss trying to figure out what drives that
 missing functionality. Can anyone give me a nudge in the right direction?
 
 What packages related to lightdm do you have installed? To check, try
 something like
 
 # dpkg -l lightdm*
 
 Do you have upower installed? lightdm suggests it, and it appears to
 be related to system-wide power management. Again, try
 
 # dpkg -l upower
 
 to see if/what is installed.
 
 Best,
 
 Claudius

Hi Claudius

As requested:
$ dpkg -l lightdm*
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersionArchitecture   Description
+++-===-==-==-===
ii  lightdm 1.2.2-4i386   simple display manager
un  lightdm-greeter none(no description available)
un  lightdm-gtk none(no description available)
ii  lightdm-gtk-greeter 1.1.6-2i386   simple display manager 
(GTK+ greeter)

$ dpkg -l upower
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ NameVersionArchitecture   Description
+++-===-==-==-===
ii  upower  0.9.17-1   i386   abstraction for power 
management

Looks like I've got both installed correctly. I did compare the full dpkg
list on this system and another system that installed all of the task
recommends, and I don't see any power related packages that are missing.

This is not a do or die situation, but I would like to understand what I
may have missed. I appreciate the suggestions.


Sent - Gtek Web Mail



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1357044950.048131...@webmail.gtek.biz



Re: amavis-clamav fails

2013-01-01 Thread Tony van der Hoff
On 27/12/12 14:32, Tony van der Hoff wrote:
 Hi,
 
 Running postfix/amavis/clamav on my mail server; of late (last week or
 two) I'm seeing error messages in syslog:
 
 Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) ESMTP::10024
 /var/lib/amavis/tmp/amavis-20121227T130337-18681:
 bounce-debian-user=lists_0711=vanderhoff@lists.debian.org -
 t...@vanderhoff.org SIZE=5530 Received: from vanderhoff.org
 ([127.0.0.1]) by localhost (vanderhoff.org [127.0.0.1]) (amavisd-new,
 port 10024) with ESMTP for t...@vanderhoff.org; Thu, 27 Dec 2012
 13:52:43 + (GMT)
 Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) Checking:
 qrJCYwQLf+d7 [82.195.75.100]
 bounce-debian-user=lists_0711=vanderhoff@lists.debian.org -
 t...@vanderhoff.org
 Dec 27 13:52:43 vanderhoff amavis[18681]: (18681-03) ClamAV-clamd: Can't
 send to socket /var/run/clamav/clamd.ctl: Transport endpoint is not
 connected, retrying (1)
 Dec 27 13:52:44 vanderhoff amavis[18681]: (18681-03) (!)ClamAV-clamd:
 Can't connect to UNIX socket /var/run/clamav/clamd.ctl: No such file or
 directory, retrying (2)
 Dec 27 13:52:51 vanderhoff amavis[18681]: (18681-03) (!)ClamAV-clamd
 av-scanner FAILED: run_av error: Too many retries to talk to
 /var/run/clamav/clamd.ctl (Can't connect to UNIX socket
 /var/run/clamav/clamd.ctl: No such file or directory) at (eval 103) line
 373.\n
 Dec 27 13:52:51 vanderhoff amavis[18681]: (18681-03) (!!)WARN: all
 primary virus scanners failed, considering backups
 
 I've tried restarting clamav-daemon, amavis and postscript; no obvious
 error messages, and the problem persists.
 
 Can anyone please suggest what's going wrong?
 
 Cheers, Tony
 


Followup for those scanning the archives:

I had an off-list reply as follows:
Make sure this is in order:

http://www200.pair.com/mecham/spam/clamav-amavisd-new.html

If clamav or amavis-new have been upgraded, the config files may have
changed.


This howto was useful in identifying the problem, but didn't address my
particular issue.

In fact, I changed permissions on /var/run/clamav from 755 to 775, and
restarted clamav-daemon successfully.

Cheers, Tony

-- 
Tony van der Hoff  | mailto:t...@vanderhoff.org
Ariège, France |


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/50e2e26f.7080...@vanderhoff.org



Re: lightdm login screen minor issue

2013-01-01 Thread Claudius Hubig
Hello cr...@gtek.biz,

cr...@gtek.biz wrote:
 ii  lightdm 1.2.2-4i386   simple display manager
 ii  lightdm-gtk-greeter 1.1.6-2i386   simple display manager 
 (GTK+ greeter)
 ii  upower  0.9.17-1   i386   abstraction for power 
 management

That looks ok, yes. You might have mis-configured
ConsoleKit/PolicyKit in such a way that it doesn’t allow
unauthenticated users (i.e. the login screen) to shut down the
system. However, I have no idea how to fix that :)

Best,

Claudius


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130101130858.463a9...@ares.home.chubig.net



Re: Debian install including non free

2013-01-01 Thread Oliver Fairhall

Hi,

On 29/12/12 21:42, Zenaan Harkness wrote:

check out debmirror package

also try:
apt-cache search debian | egrep mirror


Thanks so much for your response. I will look into it, and see what I 
can do.


Cheers,

Oliver


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

Archive: http://lists.debian.org/50e310e2@iinet.net.au



Re: Is this OK in C++ and C?

2013-01-01 Thread Joe Pfeiffer
Mark Allums m...@allums.com writes:

 Is this OK or is this a bug, when the wariable 'n' is
 initializing by negative value? There no any warning.
 Is this normal? I know that value -5 is converted
 to unsigned but probably this should by printed a warning,
 when this is a constant value. What do you think about this?
 
 
 // prog.cpp
 #include iostream
 using namespace std;
 
 int main()
 {
 const unsigned int n = -5;
 
   cout  The variable n is:   n  endl;
 
   return 0;
 }
 
 Results:
 $ g++ -Wall -W  prog.cpp -o prog
 $ ./prog
 The variable n is: 4294967291


 This is expected behavior, but not defined by the standard because the
 result is not portable.  That is, a rollover value will occur, but it
 could vary depending on the width of an int, and possibly by the
 binary representation.  As far as I know all systems that Debian with
 gcc runs on are two's complement, but still...

I believe it is indeed defined behavior.

  6.3.1.3 Signed and unsigned integers
1 When a value with integer type is converted to another integer type other 
than _Bool, if
  the value can be represented by the new type, it is unchanged.
2 Otherwise, if the new type is unsigned, the value is converted by repeatedly 
adding or
  subtracting one more than the maximum value that can be represented in the 
new type
  until the value is in the range of the new type.49)

 I cannot speak to the C++11 standard because ISO/ANSI are not asking a
 reasonable price for the specification docs, and I can't afford the
 price.

 A good compiler *may* warn you about this, but it may not do so by
 default.  You may have to turn the warnings on.  Note:  gcc's -Wall is
 tricky.  You may still not get what you expect.

 This kind of type shenanigan is allowed in C/C++ because of silent
 standard conversions.  A strongly-(enough)-typed language will not
 permit conversions to or from signed-unsigned without a cast or a
 conversion function.  C/C++ allows this because there is no loss of
 significant digits (precision).


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1btxr0kav5@snowball.wb.pfeifferfamily.net



Re: Is this OK in C++ and C?

2013-01-01 Thread Joe Pfeiffer
Jerry Stuckle jstuc...@attglobal.net writes:

 On 12/31/2012 7:30 PM, Joe Pfeiffer wrote:
 Jari Fredriksson ja...@iki.fi writes:

 This is a known bug in Debian GNU/Linux. Happy new year ;)

 Where does the standard require a warning in this case?  If no warning
 is required, the behavior is not a bug.



 I don't have a copy of the standard any more, but IIRC it does need a
 warning.  It requires a conversion from signed to unsigned, which can
 cause incorrect data (as in this case).

 Promotions (i.e. short to int, float to double) will never cause a
 loss of data, and do not require warnings.

 But I also admit it's been several years since I looked at the spec
 and my memory isn't what it used to be (at least that's what my wife
 tells me).

Looking into it a bit more, I can't find a place where the C99 standard
requires *any* warnings.  In particular:

  Annex I
  (informative)
  Common warnings
1 An implementation may generate warnings in many situations, none of which are
  specified as part of this International Standard. The following are a few of 
the more
  common situations.

  (a list of warnings follows)

A search doesn't turn up the string warn anywhere in the standard
except in this annex.

(granted, I don't have the final standard, just a draft from 2005.  But
still...)


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1bpq1okaov@snowball.wb.pfeifferfamily.net



Re: Is this OK in C++ and C?

2013-01-01 Thread Zbigniew Komarnicki
On Tuesday 01 of January 2013 08:23:05 you wrote:
 C lessons today? (There are newsgroups for C and C++ questions, but, why not?)

Yes :-)

I wanted to prohibit user to assign negative value to a variable. 
This variable is later passed to a recurrence function as 
argument and of course I got segmentation fault, because 
the function is called 4294967291 times.

I was very surprised when I discover that this code was compiled 
without any warning. I thought if a variable is 'unsigned int'  
then this is not allowed to assign negative value.
That's all. 

Thank you very much.

 --
 Joel Rees
 


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



Re: Is this OK in C++ and C?

2013-01-01 Thread Nate Bargmann
* On 2013 01 Jan 14:14 -0600, Zbigniew Komarnicki wrote:
 On Tuesday 01 of January 2013 08:23:05 you wrote:
  C lessons today? (There are newsgroups for C and C++ questions, but, why 
  not?)
 
 Yes :-)
 
 I wanted to prohibit user to assign negative value to a variable. 
 This variable is later passed to a recurrence function as 
 argument and of course I got segmentation fault, because 
 the function is called 4294967291 times.

Then you will need to bounds test the user input.
 
 I was very surprised when I discover that this code was compiled 
 without any warning. I thought if a variable is 'unsigned int'  
 then this is not allowed to assign negative value.

Consider instead that the code is giving you the value of MAX UNSIGNED
INT - 5.  In other words, the code is allowing you to count backwards
from the maximum integer unsigned value on your system.  That's how I
understand it.

- Nate

-- 

The optimist proclaims that we live in the best of all
possible worlds.  The pessimist fears this is true.

Ham radio, Linux, bikes, and more: http://www.n0nb.us


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20130101203334.gr1...@n0nb.us



Re: Is this OK in C++ and C?

2013-01-01 Thread Marc Auslander
Zbigniew Komarnicki cblas...@gmail.com writes:


 I wanted to prohibit user to assign negative value to a variable. 
 This variable is later passed to a recurrence function as 
 argument and of course I got segmentation fault, because 
 the function is called 4294967291 times.

You MUST check the input.  Consider a user who has an int with the
value he wants to pass.  If there were a check, he'd just write:

func(unsigned int(x)) to get the thing to compile.

Or a user who in error computes a silly large positive value by any nunmber of
means.

There are languages which attempt to do bounds checking statically,
but C isn't like that - which is why buffer overflow still is the
friend of the malware writer.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87y5gcczhh@aptiva.optonline.net



Re: Running vlc from another machine.

2013-01-01 Thread Bob Proulx
Chris Davies wrote:
 peasth...@shaw.ca wrote:
  At the console,
  peter@dalton:~$ vlc *.WAV
  starts a vlc instance and produces audio.
  The same command via a telnet connection is not so successful.
 
 Don't run telnet, use ssh instead.

Agreed.

 Ssh is usually (almost always, by default) configured to carry the
 display across the connection transparently,

Never by default.  It would be a security issue.  Think keyboard
loggers and other nefarious things.

If you want the X Window display forwarded then you would need to
enable it explicitly.  (You may have enabled it either in your
$HOME/.ssh/config for all connections or edited your system
/etc/ssh/ssh_config enabling it globally but it isn't enabled by
default.)

Command line:

  ssh -X other.example.com

Or long form:

  ssh -o ForwardX11=yes other.example.com

Or in the ~/.ssh/config file for a particular host:

  Host other.example.com
ForwardX11 yes

Note that while this works to forward the display that the sound from
vlc won't be forwarded.  The sound will still emit from the underlying
host sound system.  If that is fine great.

I haven't done so but vlc has a streaming interface that I have been
wanting to try out.  Without having used it I think the streaming
interface would probably be the superior solution because it would
stream video and sound together to your remote device.

  Also, vlc doesn't recognize the display as iceweasel does.
  peter@dalton:~$ vlc --display=:0 *.WAV
  vlc: unknown option or missing mandatory argument `--display=:0'
 
 DISPLAY=:0 vlc *.WAV
 or
 export DISPLAY=:0
 vlc *.WAV
 or
 cvlc *.WAV

Agreed.  But the natural follow-on to this would be to use the DISPLAY
to set to a remote display such as:

  DISPLAY=otherhost.example.com:0 vlc *.WAV

And that will run into the issue that by default X Window servers
these days no longer listen to the network for connections.  In the
old days those were wide open.  But these sayd the -nolisten tcp is
passed to X on the command line.

  $ ps -ef | grep X | grep --color -e -nolisten tcp

That configuration is a good safe configuration.  But it means that X
is listening on the localhost 127.0.0.1 address only and won't be
available for network connections.  See this file for details:

  /etc/X11/xinit/xserverrc

On a local friendly private network behind a firewall or not connected
to a hostile network it is probably okay to remove that option and
open the machine up for throwing the display from machine to machine.

Note that then the additional thing you would need is to use 'xhost'
to enable other systems to connect to your display.  This still
operates in the traditional manor that anyone who has used it before
will remember.  Read the man page.  But if you have decided to go this
route then you are probably okay with lowered security in which case
most people tend to use xhost + to keep it simple regardless of the
security implications.

I recommend looking at the vlc network streaming interface.

Bob


signature.asc
Description: Digital signature


Re: RSA Key authentication

2013-01-01 Thread Bob Proulx
Andrei POPESCU wrote:
 Bob Proulx wrote:
  Thore wrote:
   Another question is: How must I configure it that I only can login
   with the user password my passphrase for the key and the keys?
   so tripple protection against brute force.
  
  I recommend not to do this.  Make sure you have a good non-guessable
  password and then don't use it unless you need it.  If you don't use
  it then it can't be sniffed.  If it is secure then it can't be
  guessed.  In which case it isn't safer to disable it.  And having it
  available for that emergency when you need it is very useful.
 
 I understood that Thore wants to have triple authentication: 
 passphrase for the key, the key *and* the user password.

Oh!  Require *both* the rsa ssh key AND the root password.  Thanks for
suggesting that clarification.  I had read that as disabling the root
password.

I do not believe that is easily possible to require both.  It isn't
one of the standard configurations.

It almost certainly seems possible to configure by some method through
the PAM (pluggable authentication module) system however.  If there is
a solution to do this I think in the PAM area would be the place to look.

The upstream openssh list would be the best place to discover this
type of information.

Bob


signature.asc
Description: Digital signature


Re: Is this OK in C++ and C?

2013-01-01 Thread Jari Fredriksson
01.01.2013 22:11, Zbigniew Komarnicki kirjoitti:
 I was very surprised when I discover that this code was compiled 
 without any warning. I thought if a variable is 'unsigned int'  
 then this is not allowed to assign negative value.
 That's all. 
Indeed that is all. C and C++ are light weight code generators, and most
such checks must be coded, they are not generated by the compiler. There
are other languages, like Ada, and Pascal too, being more pedantic for
such issues. But they generate usually more bloated code, as the
compiler just creates the checks into it.

-- 

Q:  What is the burning question on the mind of every dyslexic
existentialist?
A:  Is there a dog?




signature.asc
Description: OpenPGP digital signature


Re: Is this OK in C++ and C?

2013-01-01 Thread Tixy
On Tue, 2013-01-01 at 11:41 -0700, Joe Pfeiffer wrote:
 Looking into it a bit more, I can't find a place where the C99 standard
 requires *any* warnings.  In particular:
 
   Annex I
   (informative)
   Common warnings
 1 An implementation may generate warnings in many situations, none of which 
 are
   specified as part of this International Standard. The following are a few 
 of the more
   common situations.
 
   (a list of warnings follows)
 
 A search doesn't turn up the string warn anywhere in the standard
 except in this annex.

But it probably has quite a few occurrences of 'diagnostic', the C++
standard does; and it states that a 'diagnostic message' shall be issued
if a program breaks the rules of the language except where the standard
explicitly states no diagnostic is required.

With regard to the original question of assigning a negative value to an
unsigned integer, this seems to be allowed and defined behaviour. The
section on integral conversions has:

If the destination type is unsigned, the resulting value is the
least unsigned integer congruent to the source integer (modulo 2
n where n is the number of bits used to represent the unsigned
type). [Note: In a two’s complement representation, this
conversion is conceptual and there is no change in the bit
pattern (if there is no truncation). ]

-- 
Tixy



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1357100719.3353.17.ca...@computer5.home



understanding the role/relationship of the firmware and driver in case of Wi-Fi adapters

2013-01-01 Thread Martin T
Hello,

some Wi-Fi adapters(for example Intel ipw2200 family and many Ralink
cards) require both firmware and drivers in order to operate properly.

1) As I understand, firmware is usually a closed-source binary image
provided by Wi-Fi card manufacturer?
2) What happens with the firmware when card becomes operational? I
mean by definition it should be written to device non-volatile
memory(for example flash memory), but I doubt that this is the case
for Wi-Fi adapters.. Or is it?
3) Last but not least, which aspects are controlled by Wi-Fi card
firmware and what role plays the Wi-Fi adapter driver?


regards,
Martin


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



Re: understanding the role/relationship of the firmware and driver in case of Wi-Fi adapters

2013-01-01 Thread Bob Proulx
Martin T wrote:
 some Wi-Fi adapters(for example Intel ipw2200 family and many Ralink
 cards) require both firmware and drivers in order to operate properly.

Yes.

 1) As I understand, firmware is usually a closed-source binary image
 provided by Wi-Fi card manufacturer?

Yes.  And because of this it doesn't meet the Debian Free Software
Guidelines and can't be part of Debian.  Packages of this firmware
can only go in the non-free repository.

 2) What happens with the firmware when card becomes operational? I
 mean by definition it should be written to device non-volatile
 memory(for example flash memory), but I doubt that this is the case
 for Wi-Fi adapters.. Or is it?

No.  The image is simply loaded into the adapter's ram.  After the
device loses power the memory evaporates.  When power is applied again
the device is once again blank or back to the default power on state
and the firmware must be loaded again.

 3) Last but not least, which aspects are controlled by Wi-Fi card
 firmware and what role plays the Wi-Fi adapter driver?

Most devices today are designed using semi-general purpose hardware
which includes a firmware part to configure and program the device.
Vendors do this because it allows them to ship hardware early and to
fix hardware bugs by making changes to the firmware later.  They can
do this very late and often after shipping the product.  They simply
update the device driver and put it on their web site and their
customers load the new driver.  This can effectively fix an
incorrectly designed piece of hardware in the field.  And that is why
vendors like to design devices that use a firmware component.

That they are programmable does not make them a computer.  They are
usually simply logic devices with memory to program the operation of
them.  There are various techniques such as state machines implemented
with FPGAs and so forth.  Programmable state machines almost always
play a huge part in any electronic chip design.

There isn't a simple rule that says every adapter behaves a certain
way and the firmware does a certain thing on every one of them.  Every
vendor designs their device independently.  Every one of them may be
different.  Which makes it hard to produce a generally correct answer.
All that can really be said is that the firmware is used by the device
to set itself up for the operation it was designed to do.

After loading the device firmware then the kernel device driver has
the task of interacting with the device.  It provides the software
layer that translates between a physical hardware device and the
kernel's software.

Bob
Speaking as a past chip designer.


signature.asc
Description: Digital signature


Re: Debian install including non free

2013-01-01 Thread Bob Proulx
Oliver Fairhall wrote:
 I would like to include non free firmware/software/docs in my
 initial Debian installation. I have read some information online,
 though am still not sure of a few things.

Must it be in the initial installation?

Note that there are some systems that presently must include some
nonfree firmware in the initial system install in order to work.  See
Bug#696571#77 for example.  Hopefully these will be fixed before
Wheezy's release.  But hopefully these are rare corner cases.

 I will make a USB flash install drive, to be used on a number of
 machines, including some which will never see the internet.

Since you will make a USB image this gives you some flexibility to
build a custom install image that includes the additions you want.
I have not personally spent too much time on USB images but this seems
reasonable.

 I am assuming all this material is free, as in beer; is it possible
 to download an image of these collections, or download everything
 from the relevant repositories, and package it in such a way that it
 is available for Debian's installer to use?

Yes.  Anything in non-free is distributable but only free as in free
beer.

There has been a lot of discussion on the mailing lately about preseed
files.  You probably want to read through the archives.

What you want to do is to create a custom usb install image with all
of the packages you want on the image and additionally create a
preseed.cfg file on the image that includes among other things that
you will need something like this with whatever packages you require.
You probably want some of firmware-linux-nonfree, firmware-ipw2x00,
firmware-iwlwifi, firmware-realtek or others.

  d-i pkgsel/include string package1 package2

Here are some resources for you:

  http://wiki.debian.org/DebianInstaller/Preseed
  http://www.debian.org/releases/stable/i386/apb.html

Bob


signature.asc
Description: Digital signature


Re: Is this OK in C++ and C?

2013-01-01 Thread Zbigniew Komarnicki
On Wednesday 02 of January 2013 05:25:19 Tixy wrote:
 On Tue, 2013-01-01 at 11:41 -0700, Joe Pfeiffer wrote:
  Looking into it a bit more, I can't find a place where the C99 standard
  requires *any* warnings.  In particular:
  
Annex I
(informative)
Common warnings
  1 An implementation may generate warnings in many situations, none of which 
  are
specified as part of this International Standard. The following are a few 
  of the more
common situations.
  
(a list of warnings follows)
  
  A search doesn't turn up the string warn anywhere in the standard
  except in this annex.
 
 But it probably has quite a few occurrences of 'diagnostic', the C++
 standard does; and it states that a 'diagnostic message' shall be issued
 if a program breaks the rules of the language except where the standard
 explicitly states no diagnostic is required.
 
 With regard to the original question of assigning a negative value to an
 unsigned integer, this seems to be allowed and defined behaviour. The
 section on integral conversions has:
 
 If the destination type is unsigned, the resulting value is the
 least unsigned integer congruent to the source integer (modulo 2
 n where n is the number of bits used to represent the unsigned
 type). [Note: In a two’s complement representation, this
 conversion is conceptual and there is no change in the bit
 pattern (if there is no truncation). ]
 


Thank you all for your help in understanding my problem.

Best regards,
Zbigniew


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