Re: Google smtp and pop

2022-03-05 Thread Douglas McGarrett




On 3/4/22 22:50, 황병희 wrote:

Yours for a Google-free world...

Well i like very much chromebook. Currently i'm using Debian 11
Bullseye under chromebook ^^^

Sincerely, Linux fan Byung-Hee



I thought Chromebook was a locked OS that you could not modify or add to.
I'm not looking for a Chromebook, but I'm curious.  --doug



Re: A .profile puzzle

2021-10-17 Thread Douglas McGarrett




On 10/17/21 8:38 PM, David Christensen wrote:

On 10/17/21 2:12 PM, Stefan Monnier wrote:

normally when a storm comes through i turn off the PC anyways because
I really don't want to have things fried (even if i do have the UPS
and surge protection).


Hmmm does turning them off make any difference w.r.t a surge large
enough to pass through the surge suppression?

I thought the only effective way to make a difference is to
*unplug* them.



+1 if you service is overhead and your concern is lightning strikes.


David


You should unplug the charger to the laptop from the AC line AND
from the laptop, and don't forget to disconnect the LAN if it is wired.
However, you can't disconnect everything in the computer area or
you'll go crazy! It would be a good idea to disconnect the router from
the modem and from power. I got a bad hit from lightning in July,
and it did take out the router and a desktop and a laptop, and damaged
a printer, not to mention other devices around the house--like the TV,
ferinstance!
--doug



Re: Your Thoughts on Printer Replacement

2021-09-22 Thread Douglas McGarrett




On 9/17/21 6:41 PM, Charles Curley wrote:

I have an HP Officejet Pro L7700, which is starting to show its age.
Also HP has discontinued the standard size cartridges. I can get the
large ones. I suspect I could buy a printer for what four large
cartridges would cost me.

Requirements:

* I print rarely, and I do use color. The carts on the L7700 tend to
   go bad before they empty, Inkjet or laser? Or other?

* Buster and Bullseye should both support any recommendations. I don't
   use Windows.

I've had good results with HP over the years, and they support Linux
well.

Reccomendations?


Obviously ink will get thick or dry completely if you don't use it up in a
reasonable time (which is what???) so laserjet is the way to go. I don't
think that the powder ever goes bad.
--doug



Re: Help! Thunderbird lost my passwords

2021-08-03 Thread Douglas McGarrett



On 7/19/21 1:15 AM, Alexander V. Makartsev wrote:

On 19.07.2021 05:13, w...@mgssub.com wrote:

I installed tbird 78.12.0 (64-bit)
 and it can't find my email passwords. I have browsed signons.sqlite
 and the passwords seem to be there in the middle of the db. I have 
tried to install a prior version of tbird but dpkg has thwarted those 
efforts so far! Any other ideas suggestions would be appreciated!


Many TIA!
Dennis
If you didn't setup "Master Password" in ThunderBird, you can try 
"Mail PassView" utility from NirSoft. [1]

It works with WINE.
If password database files were not corrupted somehow, it will show 
stored accounts and passwords from TB profile.



[1] https://www.nirsoft.net/utils/mailpv.html
I recently downloaded and installed T/B after having lost the use of it 
a couple of months ago when it refused
to recognize my password or any new one. Now it is working, and I hope 
it continues. At any rate, I did not see
anything about a Master Password. What is it, and where is it, and 
should I need it?

--doug


Re: Problem with Grub

2021-06-19 Thread Douglas McGarrett




On 6/19/21 12:19 PM, William Lee Valentine wrote:

I had installed a back version of Debian in a partition on a
500-megahertz computer that was otherwise running Windows 2000 and
MS-DOS.

When I had finished installing Linux, on that machine, Grub wanted to
know whether I wanted it installed in the master boot record. It
reported seeing Windows 2000 and MS-DOS in other bootable partitions. I
agreed. Grub has allowed me to boot any of the three of these when the
BIOS has executed.

I later installed Debian 10.2 in a partition on a 64-bit computer that
was otherwise running Windows 10.

When I had finished installing Linux, Grub wanted to know whether I
wanted it installed on the master boot record. It reported seeing
"Windows Vista" in another bootable partition. I agreed. This time,
however, Grub modified the master boot record to allow only Linux to be
booted. I had to pay to have Windows 10 reinstalled.

I tried again, this time avoiding the master boot record entirely. I
asked that Grub install itself on a 3.5" diskette (in a USB floppy
drive). It did not. It installed itself instead on the master boot
record, again allowing only Linux to be booted. Again I had to pay to
have Windows 10 reinstalled.

I have now another 64-bit computer, running Windows 10, whose BIOS
provides the option of booting from a USB device. If I install Debian
10.2 in a partition on this computer, would I tell Grub to make the
partition bootable? Would Grub instead install itself on the master boot
record anyway, allowing only Linux to be booted? I can not afford to
lose access to Windows 10 again.

Thank you for your assistance.

-- William Lee Valentine


I suppose it's kinda late for this advice, but you did not have to pay 
twice for Windows.
You should have just ordered a disk or a USB stick with Windows on it. 
Install it--if
it's a newer computer, it probably has the windows code number in the 
BIOS, but
even if it doesn't, you should be able to install Windows any number of 
times from the

one source device, ON THE SAME COMPUTER. I don't know what you mean by
"paying to have it installed"--- you install it yourself from the 
software you have paid
for ONCE. It is not difficult, only time consuming, and you may have to 
try a couple of

times to get the earliest parts the way you want them. Then install Linux.
(I haven't installed Debian, but I've installed a number of Linux 
systems, both deb and KDE

over Windows, and usually it "just works.")
--doug



Re: Samba Domain Controller

2019-06-20 Thread Douglas Chirinos
Webmin te ayudaría

El jue., 20 de jun. de 2019 3:55 PM, Eriel Perez 
escribió:

> Colegas, dejenme hacerles una pregunta.
>
> Existira alguna herramienta como webmin, phpldapadmin, etc para que
> samba domain controller sea mas facil de configurar?
>
> Espero me entiendan.
>
> Gracias.
>
>


Freeze while typing decryption password at boot

2017-09-18 Thread Douglas
Hi, I'm Doug.

I'll describe this issue here in the hopes of finding what package should I 
vinculate the bug report to.
When typing my decryption password at boot, two or three characters are caught 
at first, but then my input is completely ignored for 1 ~ 2 seconds. The 
password entry is completely frozen during that time. I fail to enter the right 
password all the time. The second try works.

I've seen this issue in:

Fedora 26
Debian 9 (did not affect Debian 8)

I appreciate some enlightenment on this and how to proceed.

novidade para você

2016-12-08 Thread Douglas Gatto
olá, venho aqui para trazer uma novidade para você
você ja trabalha na internet, ou deseja trabalhar

para você trabalhar na internet, você precisa investir em conhecimento, porém 
os cursos de hoje ensinam as mesmas coisas, onde o resultado é demorar e o 
gasto é muito alto. você que trabalha na internet em qualquer segmento, e 
deseja fazer vendas diárias de forma gratuita e diferente de tudo que você ja 
pesquisou.

[1] máquina de lista

então hojé é seu dia de sorte, esqueça a forma antiga de capturar emails, por 
página de captura e demorar meses e anos para ter uma lista grande e 
qualificada, você vai conseguir fazer a sua lista em um dia, com emails super 
segmentados e vendas diárias, ou você que trabalha com multinivel, terá muitos 
contatos para cadastrar.

porque você deve conhecer [2] a máquina de lista?

1 não precisa investir em nada
2 você vai formar uma lista super segmentada em um dia
3 da forma tradicional, demoraria meses ou anos para montar uma lista

se você quer, mudar de idéia e ter esse poderoso conhecimento e ja começar a 
fazer vendas hoje, [3] clique aquie conheça esse método profissional

clique aqui em baixo e veja como tudo funciona

[4] clique aqui

[5] view this email in your browser
you are receiving this email because of your relationship with douglas. please 
[6] reconfirmyour interest in receiving emails from us.  if you do not wish to 
receive any more emails, you can [7] unsubscribe here.
this message was sent to t...@test.com by douglas gatto
douglasempreendedordigi...@gmail.com

unsubscribe| manage subscription| forward email| report abuse


 References:

1. u=6a77aca
2. u=6a77aca
3. u=6a77aca
4. u=6a77aca
5. 
http://dicasparatrabalharonline.bmetrack.com/c/v?e=A70EBF=A9A12=0=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D
6. 
http://dicasparatrabalharonline.bmetrack.com/c/opt?e=A70EBF=A9A12=0=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D
7. 
http://dicasparatrabalharonline.bmetrack.com/c/u?e=A70EBF=A9A12=0=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D


This message was sent to debian-user-portuguese@lists.debian.org by 
douglasempreendedordigital.gmail@mail.benchmarkapps.com

You can modify/update your subscription via the link below.

Unsubscribe from all mailings
http://dicasparatrabalharonline.bmetrack.com/c/su?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Manage Subscription
http://dicasparatrabalharonline.bmetrack.com/c/s?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Forward Email
http://dicasparatrabalharonline.bmetrack.com/c/f?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Report Abuse
http://dicasparatrabalharonline.bmetrack.com/Abuse?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


douglasempreendedordigi...@gmail.com

Email Marketing
BenchmarkEmail.com
 [http://dicasparatrabalharonline.bmetrack.com]

View this email in your browser: 

http://dicasparatrabalharonline.bmetrack.com/c/v?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


You are receiving this email because of your relationship with Douglas. Please 
reconfirm your interest in receiving emails from us.  If you do not wish to 
receive any more emails, you can unsubscribe here or report abuse.

http://dicasparatrabalharonline.bmetrack.com/c/u?e=A70EBF=A9A12=628B3B0E=fTHoM8aX4cn%2BC4SCDONW22WoLpeBQX09v941ZJtMUumEQ1vvVRitHw%3D%3D=265F6855


Compiz on Debian 7.1 problem

2013-10-07 Thread Douglas Brito
good day, please be possible to add repositories in compiz again, many users 
here in Brazil, the viviaolinux.org need this package and it is no longer 
possible to use the debian, some are switching distributions for this problem, 
it is not possible to compile it, or use the version 0.9.9 of ubuntu, any tips?
thank you 

Re: Instalar Synaptic Debian 6

2012-05-16 Thread Douglas Zambrano

apt-get install synaptic

en una linea de comandos

El 16/05/12 15:53, Constantino Vargas escribió:

El día 16 de mayo de 2012 14:39,l...@ida.cu  escribió:

hola a todos

Alguien me puede decir como instalar Synaptic en Debian 6 pues no tengo eso
en el menu al parecer y por lo que me he dado cuenta Debian se instala con
un minimo

Como instalar Synaptic desde repositorio sin internet?

suponiendo que tiene el DVD 1 en la lectora de dvd, abres una consola
y como usuario root escribes lo siguiente.

#apt-get install synaptic

con eso se instala synaptic.

saludos





--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fb40d56.5050...@yahoo.es



Re: Anclar conecciones telefonicas

2012-03-16 Thread Douglas Flores
Usa Asterisk.

Saludos.



El 16 de marzo de 2012 10:52, Armando Felipe Fuentes Denis 
danny.erne...@cha.jovenclub.cu escribió:

 tengo una duda como podria yo anclar en Linux las conecciones telefonicas
 a los numeros de telefenos correspondiente de cada usuario.

 --
 Armando Felipe Fuentes Denis
 Administrador de Red, Programador Web()
 Joven Club de Computación y Electrónica Regla I
 Marti 372 e/ Aranguren y 27 de Noviembre
 Regla. Habana. Cuba.
 Telef: (07) 797-8787
 (07) 7944814
 Linux User: 549846
 Ecured: 
 www.ecured.cu/index.php/**Usuario:Armando.cha.jchttp://www.ecured.cu/index.php/Usuario:Armando.cha.jc
 Web: www.livego.com www.lacubanada.com
 Facebook: www.facebook.com/CubaRed
 e-mail: armandofelipe1...@gmail.com
 danny.erne...@cha.jovenclub.cu


 --
 To UNSUBSCRIBE, email to 
 debian-user-spanish-REQUEST@**lists.debian.orgdebian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive: 
 http://lists.debian.org/**4F636FC4.7010002@cha.**jovenclub.cuhttp://lists.debian.org/4f636fc4.7010...@cha.jovenclub.cu




-- 
*Ing. Douglas Flores.*
*Linux no es Alternativa, es Solución.*
Asterisk Users #1009.


Re: Debian is asking for DVD...

2011-11-12 Thread Douglas Saylor
On Sat, Nov 12, 2011 at 2:01 AM, Victor Nitu vic...@debian-linux.ro wrote:


 Please paste the contents of /etc/apt/sources.list here, as I
 suspect a setup removable media still hanging around in the settings.

 I hope you have network access on the troubling machine...


#

# deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 CD Binary-1
20111008-13:01]/ squeeze main

deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official i386 CD Binary-1
20111008-13:01]/ squeeze main

deb http://ftp.us.debian.org/debian/ squeeze main
deb-src http://ftp.us.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main
deb-src http://security.debian.org/ squeeze/updates main

# squeeze-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ squeeze-updates main
deb-src http://ftp.us.debian.org/debian/ squeeze-updates main

Ah ...so I could # or since it's copied twice, delete out the deb cdrom
notation?
(I do have network access)


Chomium The sync server is busy...

2011-11-12 Thread Douglas Saylor
I've been getting this message for 2-days now. Anyone know if this is a
Google or Debian problem?


Into: Coming over to Debian from Ubuntu

2011-11-11 Thread Douglas Saylor
I used Debian once before, years ago  at the time Debian seemed difficult
to configure  software was way behind the times. I don't know if I'm just
getting older  more cranky, but I *think* I'd rather have older but stable
 just works. For now, I'll have the option to boot into either Debian or
Ubuntu. I've used Ubuntu for years, but this Unity is killing me. Maybe
Debian will be a better fit for me. If so, I'll shrink my Ubuntu partition
or, maybe even delete the partition. If not, vise-versa ...Linux does give
you options.

I've put my time in with Unity as my main OS ...I'm not a fan. I tried to
like Unity. At this point, instead of seeming dated I'm betting Debian is
going to seem more like the old Ubuntu I once loved where as Unity is just
frustrating. I *wanted* to like Unity. I appreciate the *concept* of one OS
for phones, tablets  computers. Regretfully, Unity has only taught me to
appreciate how great my iPhone works.

For the same reason Canonical wants to be on multiple devices, I could see
my next computer purchase being a Mac. I found Unity ...while pretty... was
also cumbersome, poorly executed, non-intuitive, buggy *very* frustrating.
*Meanwhile* iOS is *so* polished, so easy, so intuitive  yes*very* pretty.
*If* Unity ever makes it to phones/tablets, I'm sure I'll give it a good
look-see on those devices. I must admit though, it'll take a *lot* for me
to switch from iOS. While I prefer my Linux just work, I *demand* my
phone just works. Anyway, back to configuring the new OS.


Browse the Web setting

2011-11-11 Thread Douglas Saylor
New to Debian. So the Browse the Web icon ...I want to change this to
point to Chromium. How do I do that? I can't word it correctly to get
Google to find the answer lol! Thanks!


Debian is asking for DVD...

2011-11-11 Thread Douglas Saylor
...installing VLC player. I'm using a UBS flash drive on my netbook, so no
CD. Advice please?


Re: Amenazado por comentario ANTINAZI

2011-09-25 Thread Douglas Zambrano

El 24/09/11 13:47, alexander villalba escribió:



El 24 de septiembre de 2011 10:54, Jose Maldonado 
sk8ghost...@gmail.com mailto:sk8ghost...@gmail.com escribió:


-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

El 23/09/11 23:05, alexander villalba escribió:
 Fui amenazado de ser filtrado de la lista, además de insultado,
por hacer un
 comentario antinazi. Lo hice porque me parecio oportuno hacerlo
con un
 usuario al que prefiero no referirme más de momento.

 Queda evidenciado con eso la presencia de simpatizantes
pro-nazis en esta
 lista, cosa que me parece alarmante, preocupante y no entiendo
porque no he
 visto hasta ahora la reacción que el caso merece.


Mira las cantidad de estupideces que haz dicho en esta lista:


 López Denazis Santiago:

 no lo estaba corriendo. El problema era que el network-manager
no tenia
 permisos de ejecución, ninguno. ¡No digo yo que pasan unas cosas
!!! y me
 decia que el archivo .service no estaba allí !!!... no debía
comenzar por
 decir que no estaba corriendo el Network-Manager?



 Una observación que me siento obligado a hacer en cuanto a ese
apellido de
 Denazis, se que tal vez no tengas la culpa, pero simplemente me
cae gordo
 sobre todo por ciertas experiencias desagradables que he tenido.
Es decir
 yo, debo decir, insisto, aborrezco el nazismo. Solo por si
acaso. No digo
 más para no ponerme más polemico, como me paso en un hilo
anterior. Me
 disculpo si tu apellido, desde luego, no tienen nada que ver con
ello.

Otro de tus estúpidos mensajes:

 creo que obviamente no te gusta mi comentario antinazi, ¡eso es
absurdo!.
 Aquí el que tiene las de perder es usted o ustedes, creanse o
lo que se
 crean o se hayan imaginado lo que quieran imaginarse.

 Entonces ahora si lo voy aclarar: creo que el nazimo es la
peor basura,
 la peor caterva de canallas y sádicos que ha podido mal parir
la humanidad.
 Estoy absolutamente en contra de la mas minima promoción de
esa gangrena
 mental y con ello no estoy nada solo. No se trata de que yo
en lo personal
 no lo acepte, es que simplemente ES INACEPTABLE, en Europa se
entiende así
 y  hasta las más timidas posturas pro- nazi se han tratado
con total
 repulsión y repudio (la cosa ha llegado hasta la
exageración), sobretodo, y
 no me refiero a los pobres como dices tu guevones que rapan
la cabeza o se
 tatuan una svastika y salen a caminar o a lucirce por allí,
cuando eso ha
 venido de algún politico o personalidad importante .

 así que definitivamente no me explico como por haber dado un
comentario
 antinazi puedes tu venir a filtrar mis mensajes o a quitarme
de la lista.


Y en este te luciste a la grande:

 NAZI y LINUX-GNU son antiteticos ... como aceite y agua, así que
no se que
 sistema operativo van a tener que buscarse para que le pongan
el Logo de
 Adolfo Hitler

Hijo de puta, bazofia humana, mal nacido mama penes, pudrete
enfermo de
mierda.

 que mentes de pollo!!!

Lacra, enfermo es lo que eres un puto troll que solo contamina esta
lista con sus putos comentarios.


 provocar intencionadamente a los usuarios o lectores, creando
controversia,
 provocar reacciones predecibles, especialmente por parte de usuarios
 novatos, con fines diversos, desde el simple divertimento hasta
interrumpir
 o desviar los temas de las discusiones, o bien provocar
 *flamewarshttp://es.wikipedia.org/wiki/Flamewar
 *, enfadando a sus participantes y enfrentándolos entre sí. El
*troll* puede
 ser más o menos sofisticado, desde mensajes groseros, ofensivos
o fuera de
 tema, sutiles provocaciones o mentiras difíciles de detectar, con la
 intención en cualquier caso de confundir o provocar la reacción
de los
 demás. Actualmente también se usa este término para cualquier
tipo de
 travesura

Justo lo que eres, tremenda definición de ti mismo.

Deberian sacarte de la lista, lastima que esta sea una lista abierta,
mientras tanto estas FILTRADO BASURA

- --
God in his heaven, all right in the Earth!!!
DIOS EN SU CIELO, TODO BIEN EN LA TIERRA!!!
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAk599hgACgkQiedU9l6YqvHkMQD+PNK/UGsL9o2mTJTS57LT1bPN
ejaDzqIPhgbsp3hl94wA/1hjOsmLoukAYWoMsCjMvkyx8I4c4FjY1IPCoCO16Kej
=L01H
-END PGP SIGNATURE-


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

Manual de ldap

2011-07-01 Thread Douglas Zambrano

Amigos un favor como puedo conseguir un manual completo de ldap


Gracias y disculpen



Douglas Zambrano
Venezuela


--
To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4e0e5a71.9060...@yahoo.es



Re: Ayuda con Asterisk

2011-05-20 Thread Douglas Flores
Sería bueno ver los archivos de configuración para saber que fue lo que
hicistes.

saludos.



El 20 de mayo de 2011 12:10, Maximiliano Marin Bustos
maxma...@gmail.comescribió:

 Hola Gente! Tengo el siguiente problema con Asterisk.
 Instale asterisk via apt y cree algunos anexos y usuarios en sip.conf
 y extensions.conf.
 El punto es que cuando me quiero conectar por zoiper (softphone), no
 se conecta nunca y sale registering y de ahi no sale.
 Asterisk me dice esto:

 Aristoteles*CLI sip show users
 Username Secret Accountcode Def.Context ACL NAT
 81 81 internal No RFC3581
 80 80 internal No RFC3581
 Aristoteles*CLI

 No se que hacer.
 Quien me echa una manito?


 --
 To UNSUBSCRIBE, email to debian-user-spanish-requ...@lists.debian.org
 with a subject of unsubscribe. Trouble? Contact
 listmas...@lists.debian.org
 Archive:
 http://lists.debian.org/BANLkTimNXsP2ovjOLnf2=0peufq3+ya...@mail.gmail.com




-- 
Ing. Douglas Flores.
Linux no es Alternativa, es Solución.
Asterisk Users #1009.


Re: conversor USB/Serial + GPS garmin etrex

2011-03-22 Thread Douglas Gemignani
Opa,

1) tenta rodar o software como root, as vezes acontece problemas de
permissão depois do ln
2) roda com --debug
3) roda com 2debugfile tipo
4) da um cat /dev/ttyUSB0


Douglas Gemignani


2011/3/19 Fred Maranhão fred.maran...@gmail.com

 Em 16 de março de 2011 21:26, Helio Loureiro he...@loureiro.eng.br
 escreveu:
  Se não achar onde mudar, faça uma mega gambiarra e remova a porta ttyS1.
 
   Depois crie um link simbólico do mesmo para ttyUSB0.
 
  # ls -l /dev/ttyUSB0
  crw-rw 1 root dialout 188, 0 Mar 15 01:19 /dev/ttyUSB0
 
  # ls -l /dev/ttyS1
  lrwxrwxrwx 1 root root 12 Mar 15 01:17 /dev/ttyS1 - /dev/ttyUSB0
 
  # gpsbabel -D9 -i garmin -f /dev/ttyUSB0 -o gpx -F foobar.gpx
  GPSBabel Version: 1.4.2
 
  E não faz mais nada... o comando gpsbabel não termina nunca. depois de
  um tempo eu paro ele com ctrl+c.
 
  tentei também usar o gpsbabelfe, que tem interface gráfica. mas também
  não funcionou. dá uma tele 'process GPS babel' e nela fica.
 
 
 
  Olha se ele não cria o ttyUSB1 tb.  Se tiver criado, precisa do
  ttyS2-ttyUSB1.
 
  ./helio
 

 parece que a ordem dos parâmetros altera o comportamento do gpstrans.

 Vejam a diferença de execuções botando o -p antes ou depois de outro
 parâmetro. usei como outro parâmetro o -t que pega a hora do gps (que
 por sua vez vem do satélite)

 $ gpstrans -p/dev/ttyUSB0 -t
 GPStrans (ASCII) - Version 0.41
 Copyright (c) 2005 by Carsten Tschach (tsch...@zedat.fu-berlin.de)
 Linux/KKJ mods by Janne Sinkkonen ja...@iki.fi (1996)
 Copyright (c) 2000 German Grid by Andreas Lange 
 andreas.la...@rhein-main.de
 Copyright (c) 1998,2000 Mayko-mXmap mods by Matthias Kattanek 
 mat...@ugraf.com
 Copyright (c) 2001 Development by Joao Seabra-CT2GNL sea...@ci.aac.uc.pt
 Copyright (c) 2005 Development by Jim Van Zandt j...@comcast.removeme.net
 
 ^C
 Don't touch me...but you've pressed CTRL-C
 It was your choiceexiting

 antes de apertar control+c eu espero 30 segundos. quando nada acontece
 aperto o ctrl+c

 $ gpstrans -t -p/dev/ttyUSB0
 GPStrans (ASCII) - Version 0.41
 Copyright (c) 2005 by Carsten Tschach (tsch...@zedat.fu-berlin.de)
 Linux/KKJ mods by Janne Sinkkonen ja...@iki.fi (1996)
 Copyright (c) 2000 German Grid by Andreas Lange 
 andreas.la...@rhein-main.de
 Copyright (c) 1998,2000 Mayko-mXmap mods by Matthias Kattanek 
 mat...@ugraf.com
 Copyright (c) 2001 Development by Joao Seabra-CT2GNL sea...@ci.aac.uc.pt
 Copyright (c) 2005 Development by Jim Van Zandt j...@comcast.removeme.net
 
 ERROR:  The initialization of port /dev/ttyS1 has failed.

 ou seja, ele estava procurando na porta errada (/dev/ttyS1) quando não
 recebia o parâmetro da porta no início. mas recebendo o parâmetro da
 porta no início, ele simplesmente não faz nada.

 também fiz o que helio loureiro sugeriu.

 (como root)
 # rm /dev/ttyS1
 # ln -s /dev/ttyUSB0 /dev/ttyS1

 (como usuário normal)
 $ ls -l /dev/ttyS1
 lrwxrwxrwx 1 root root 12 Mar 19 23:49 /dev/ttyS1 - /dev/ttyUSB0
 $ gpstrans -t
 GPStrans (ASCII) - Version 0.41
 Copyright (c) 2005 by Carsten Tschach (tsch...@zedat.fu-berlin.de)
 Linux/KKJ mods by Janne Sinkkonen ja...@iki.fi (1996)
 Copyright (c) 2000 German Grid by Andreas Lange 
 andreas.la...@rhein-main.de
 Copyright (c) 1998,2000 Mayko-mXmap mods by Matthias Kattanek 
 mat...@ugraf.com
 Copyright (c) 2001 Development by Joao Seabra-CT2GNL sea...@ci.aac.uc.pt
 Copyright (c) 2005 Development by Jim Van Zandt j...@comcast.removeme.net
 
 ^C
 Don't touch me...but you've pressed CTRL-C
 It was your choiceexiting

 pensei que poderia ser permissão, mas o ttyUSB0 está com grupo dialup.
 e meu usuário está neste grupo:

 $ ls -l /dev/ttyUSB0
 crw-rw 1 root dialout 188, 0 Mar 19 23:45 /dev/ttyUSB0
 $ groups
 fredm adm lp dialout fax cdrom floppy audio dip video plugdev scanner
 netdev lpadmin powerdev fuse

 Helio também perguntou se ele não cria o ttyUSB1. não cria. olha aí:

 # ls /dev/ttyUSB*
 /dev/ttyUSB0

 acho que fiquei com duas possibilidades: ou o gps garmin etrex não
 funciona no linux, ou o adaptador usb-serial não funciona.

 Mas alguma sugestão?

 Fred


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




Re: OT: Asterisk

2010-12-29 Thread Douglas Flores
Carlos, Asterisk es un potente software para Centrales Telefónicas IP's,
puedes usar telefonos IP con soporte para SIP, y también una gran cantidad
de softphones para Linux o para Windows con soportes para SIP y en algunos
casos IAX(Protocolo propio de Asterisk).

La cantidad de ancho de banda a utilizar va a depender del tipo de codecs
que vayas a usar, ejemplo: el ULAW, ALAW son codecs que requieren ancho de
banda moderado, por otra parte tienes el GSM que es algo económico de ancho
de banda y tienes el G.729 y el G.723 que son bien económicos.

Por otra parte tienes que considerar que si quieres poner una central
telefónica para usuarios en una misma LAN con menos de 50 extensiones, por
la naturaleza de la conexión te recomiendo un GSM o si quieres un ULAW o
ALAW para mejor calidad de voz.

y sí!!! Asterisk permite la conexión de otros usuarios externos(desde
INTERNET) sin ningún problema, aquí toma un papel muy importante la
consideración de los codecs a ulitizar y el ancho de banda reservado para
comunicación.

Tal y como lo menciona el compañero en el correo anterior, deberías de
suscribirte a alguna lista de Asterisk, ejemplo: Asterisk-ES; también
visitar algunas páginas en las que mencione ASterisk ejemplo:
www.sinologic.net, www.voip-info.com, www.asterisk.org,
www.tusoluciontic.com.ni,entre otras.

Saludos.




El 29 de diciembre de 2010 07:14, Federico Alberto Sayd
fs...@uncu.edu.arescribió:

  El 28/12/10 12:17, Carlos Valderrama escribió:

  Buenas días,



 Este OT es para tratar el tema de asterisk a groso modo, alguien tendrá
 experiencias con el mismo, saben si de casualidad se puede instalar
 teléfonos IP en el

 cuanto de ancho de banda consume, puedo interconectar otros locales contra
 mi central Asterisk



 Gracias por el apoyo prestado



 Saludos

 Carlos Valderrama P.

 No conozco demasiado de Asterisk pero he oído mucho y es muy potente.
 Puedes interconectar varios asterisk, conectarlos a centrales propietarias
 que tengan soporte sip. Puedes utilizar una pc como teléfono con algún
 programa de softphone. Puedes gestionar envío de faxes, etc.

 Te sugiero que te suscribas a alguna lista de Asterisk y empieces a
 experimentar.

 Saludos




-- 
Ing. Douglas Flores.
Linux no es Alternativa, es Solución.
Asterisk Users #1009.


Re: Instalacion de Asterisk + Asterisk-GUI en Debian Lenny

2010-12-23 Thread Douglas Flores
Clientes Asterisk para Linux: Ekiga y Twinkle, son los más comunes. Para
windows podes usar el Voix Phone(IAX), Xlite(gratis) y el eyeBeam(pagado o
crakeado), también tenés el Zoiper.

Saludos.



El 23 de diciembre de 2010 06:16, onvi...@gmail.com escribió:

 Saludos.


 Bueno por los momentos solo me ha funcionado Ubuntu + Zentyal (Asterisk +
 Ejabberd) pero no he podido hacer funcionar Asterisk en Debian

 Orlando Nuñez - Este mensaje ha sido enviado gracias al servicio BlackBerry
 de Movilnet
 --
 *From: * German Cardozo gcard...@gmail.com
 *Date: *Fri, 24 Dec 2010 00:16:15 +1930
 *To: *Debian User Spanishdebian-user-spanish@lists.debian.org
 *Subject: *Re: Instalacion de Asterisk + Asterisk-GUI en Debian Lenny

 Hola Orlando...

 Me entusiasma que tus pruebas vayan muy bien con Asterisk. En verdad he
 tenido poca experiencia con este servidor, a parte de leer un poco aquí y
 allá. He querido hacer algunas pruebas más serías pero no ha habido tiempo.

 Hace tiempo administre una central IP de Cisco, CallManager, con los
 teléfonos de la misma marca, he hice algunas pruebas con algunos Soft-phone
 libres como Ekiga.

 Seguro alguien del grupo puede darte mayor información respecto a los
 clientes soft-phone más usados. Pero para cualquier otra cosa, no dudes en
 seguir preguntando.

 Saludos,

 Germán Cardozo Chirinos
 ~ carpe diem ~

 On Dec 22, 2010 2:32 PM, Orlando Nuñez onvi...@gmail.com wrote:



 El 14 de diciembre de 2010 17:31, onvi...@gmail.com escribió:

 Saludos German.   Muchas gracias por tu respuesta, supongo que el
 problema era Asteris-GUI...

 Saludos Geman.

 Gracias, me paso algo extraño, lo instale en 1 minuto, realmente es
 muy fácil de instalar, incluso cree las extensiones y pude configurarlas en
 los computadores con Sfl[phone] http://www.sflphone.org/ este cliente te
 indica cuando esta conectado, pero cuando intentaba hacer alguna llamada me
 salia error en los clientes, de ninguna manera pude hacer una llamada, un
 amigo me dijo que probara Ubuntu + Zentyal apenas termino la instalación de
 Ubuntu, instale Zentyal y listo, pero de verdad me gustaría realizar estas
 pruebas: Asterisk + FreePBX y Asterisk + Asterisk-GUI

 Gracias

 --
 - - - - - - - - - - - - - - - - - - -
 Orlando Nuñez





-- 
Ing. Douglas Flores.
Linux no es Alternativa, es Solución.
Asterisk Users #1009.


Re: VoiP con asterisk sobre debian lenny

2010-12-09 Thread Douglas Flores
Definitivamente usa una distro que tengo incluido todo, es más fácil de
administrar, si lo que quieres es aprender te recomiendo que empieces a
buscar en google como instalar Asterisk desde 0, en lo particular es
preferible adminstrar Asterisk desde puro comandos.

En caso de que desees una soolucion rápida pues instala algo directamente
empaquetado como Elastix, Trixbox o AsteriskNow.

Saludos.



El 9 de diciembre de 2010 10:38, ymach...@inivit.cu escribió:

 Saludos Listeros

 Algun admin ha configurado alguna centralita telefonica, es decir haya
 compilado sobre debian lenny, asterisk + freepbx + dahdi?, Tengo una tarjeta
 Digium

 Yo quisiera saber como tengo que configurar mi asterisk para que pueda usar
 los troncales de la tarjeta y llamar a telefonos fijos, localmente funciona
 ok, es decir entre pcs.

 Por favor Agradeceria cualquiera ayuda

 Saludos

 --
 
  * Yuniesky Machado Rojas   *
* Administrador de Redes   *
* Instituto Nacional de Investigación en Viandas Tropicales
  *GNU/Linux User #481684 (http://counter.li.org)
 
 Instituto de Investigaciones de Viandas Tropicales.
 http://www.inivit.villaclara.cu


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




-- 
Ing. Douglas Flores.
Linux no es Alternativa, es Solución.
Asterisk Users #1009.


Re: Descargar vídeo de conferencia.

2010-10-25 Thread Douglas Cerna
--- On Mon, 10/25/10, Javier San Roman arup...@caolin.net wrote:

 Bueno, estaré pendiente para ver como evoluciona esto. En
 Squeeze, de momento 
 no a cambiado nada.

Yo uso Squeeze y sí ha cambiado :(

Creo que depende de la versión del Flash player que uses. You uso la 10.2 para 
64 bits y me encontré con el lío del /tmp

Y en el directorio de perfil de mi iceweasel ni siquiera tengo el directorio 
'cache'. Donde se descarga el archivo sigue siendo un misterio para mi :)

Saludos, Douglas

... allí­ es cuando te das cuenta que las cosas malas pueden resultar bastante 
buenas... - Lionel Messi

Por favor, evite enviarme adjuntos de Word, Excel o PowerPoint.
Vea http://www.gnu.org/philosophy/no-word-attachments.es.html



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



Re: TELEFONO por MODEM

2010-10-19 Thread Douglas Flores
ASTERISK

saludos.



El 19 de octubre de 2010 10:28, juan alejandro martines linares 
isla...@infomed.sld.cu escribió:

 Hola a todos, necesito una ayuda de ustedes, necesito poder grabar una
 lo mismo ya sea entrante o que se haga desde mi casa , pero necesito
 saber un programa que me sirva para lo que pido , para saber si la linea
 se esta usando y si este me notifica que se esta usando tener algo con
 que grabar esa llamada, a ver si así me explico,quisiera hacer todo esto
 desde mi pc con linux, gracias de antemano.


 --

 Este mensaje le ha llegado mediante el servicio de correo electronico que
 ofrece Infomed para respaldar el cumplimiento de las misiones del Sistema
 Nacional de Salud. La persona que envia este correo asume el compromiso de
 usar el servicio a tales fines y cumplir con las regulaciones establecidas

 Infomed: http://www.sld.cu/


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




-- 
Ing. Douglas Flores.
Linux no es Alternativa, es Solución.
Asterisk Users #1009.


Segfault in smbpasswd

2010-07-29 Thread Douglas Caro

Smbpasswd returns a segfault with libc.so.6

Using gdb, ruturn this:
#smbpasswd user1

Program received signal SIGSEGV, Segmentation fault.
---Type return to continue, or q return to quit---
[Switching to Thread 0xb7ab56d0 (LWP 31569)]
0xb7c5a922 in free () from /lib/i686/cmov/libc.so.6

#uname -a
Linux hera 2.6.26-2-686 #1 SMP Tue Mar 9 17:35:51 UTC 2010 i686 GNU/Linux

Thanks!

Douglas Caro
Brazil


--
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/4c518837.5020...@lightcomm.com.br



Re: pptp

2010-05-17 Thread Douglas Gaigher
Boa noite Anderson

neste artigo vc encontra informações de como criar um servidor pptpd
autenticando em um diretório LDAP via kerberos.

http://poptop.sourceforge.net/dox/replacing-windows-pptp-with-linux-howto.phtml

Abraço



Em 17 de maio de 2010 17:59, Anderson Bertling
andersonbertl...@gmail.comescreveu:

 boa noite
  estou configurando uma vpn a usar a autenticação do samba em
 /etc/samba/smbpasswd, instalei apenas o samba e o pptpd mas não consigo
 passar a autenticação alguem sabe como devo fazer para autenticar pelo samba
 ?

 desde ja fico grato !

 --
 Att

 Anderson Bertling




-- 
Douglas Gaigher
Analista de Sistemas Windows/Linux
Email/GTalk: douglas.ti...@gmail.com
MSN: douglas.ti...@hotmail.com
Skype: douglas.ti.br
Cel.: (21) 9289-8422

O papel reciclado utiliza aproximadamente 60% menos energia e água para ser
feito do que o papel novo. Use papel reciclado.
Antes de imprimir, pense em sua responsabilidade e compromisso com o Meio
Ambiente.


Remasterizar o BrDesktop

2010-05-16 Thread DOUGLAS DOMINGOS

ola
boa noite
primeiramente gostaria de parabeniza-los pela otima distro linux baseada no 
debian lenny.
ela é eficaz e bem leve, permitindo que meu antigo pentium 3 voltasse a vida.
bem, como em toda distro linux sempre há muita modificação a se fazer depois da 
instalação,
e por isso gostaria de saber como faço para remasterizar o BrDesktop para me 
evitar retrabalhos futuros .
desde já agradeço

Douglas
  
_
VOCÊ PODE TER 25 GB GRATUITOS PARA ARMAZENAR SEUS ARQUIVOS NA WEB. VEJA AQUI 
COMO.
http://www.windowslive.com.br/public/product.aspx/view/1?cname=skydriveocid=Hotmail:MSN:Messenger:Tagline:1x1:skydrive:-

Re: no-ip

2010-02-23 Thread Douglas S. Bregolin
2010/2/23 Douglas S. Bregolin douglasbrego...@gmail.com:
 Tenta, como root:
 # dpkg-reconfigure no-ip2

Retificando:
# dpkg-reconfigure noip2


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



Re: no-ip

2010-02-22 Thread Douglas S. Bregolin
Tenta, como root:
# dpkg-reconfigure no-ip2

2010/2/22 Jeferson Nataniel Slywitch jeferson.slywi...@gmail.com:
 boa noite a todos, alguém conseguiu configurar o no-ip? porque eu tentei o
 tutorial do próprio site, usei tutoriais que achei no google, mas nenhum
 obtive exito...

 ele da um erro que ele não consegue gerar o arquivo noip2.conf

 tentei também configurar manualmente este arquivo e nada


 obrigado!


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



Re: Vizualizador simples de imagens

2010-01-05 Thread Douglas S. Bregolin
2010/1/5 Edson Marquezani Filho edsonmarquez...@gmail.com:
 Pessoal, eu queria a indicação de um programa visualizador de imagens
 simples, no estilo daquele que o Windows tem, que exibe em uma janela
 apenas a imagem, e permite passear pelos arquivos do diretório com
 controle de teclado e/ou fazer pequenas operações, como aumentar o
 zoom ou rotacionar uma imagem (apenas para visualização).
 Na época em que eu usava Kurumin, havia um programa desse tipo
 instalado, mas eu não lembro o nome. Já instalei outros programas de
 gerenciamento de acervo de fotos, mas não é isso que eu quero,
 exatamente. Queria um visualizador simples e leve.

 Se puderem indicar um programa desse tipo, fico grato.

 Obrigado.


Simples mesmo é o feh.


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



Re: OpenBox e Pypanel

2009-10-30 Thread Douglas S. Bregolin
Tem o tint2 (http://code.google.com/p/tint2/).

2009/10/30 caio abreu ferreira
 Lista

 Como taskbar do Openbox eu estava utilizando o aplicativo Pypanel. Mas 
 infelizmente esse aplicativo foi
 descontinuado. Por acaso alguém teria algum aplicativo para poder substituir 
 o Pypanel?

 Obrigado.


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



Re: remount removeable drive in Lenny - how? [solved]

2009-07-20 Thread Douglas A. Tutty
On Sun, Jul 19, 2009 at 01:11:47PM -0600, Paul E Condon wrote:
 On 2009-07-19_18:57:40, Andrei Popescu wrote:
  On Sun,19.Jul.09, 08:11:21, Paul E Condon wrote:
   I have no objection to the status of hal as a required part of a
   standard desktop installation, but I do have a question as to how best
   to deal with a peculiar situation.
   
   I have several USB hard drives (ones with rotating machinery inside,
   not solid state 'disks'). From time to time I need to perform format
   maintenance on one of them. In order to do this, I look in /dev to see
   what device name has been assigned to the drive, umount it, and do
   whatever - e2fsck, tune2fs, etc. But when I'm finish doing
   maintenance, how to I remount it without pulling the USB cable,
   waiting a while, and reinserting the cable? Is there a console command
   that I can type that avoids the extra wear on the fragile little
   connectors and plugs? I'm looking for something that retriggers the
   look-up of volume label and the creation of a mount-point in /media as
   was there before I started mucking about.
  
  This thread seems interesting
 
 Correction:
   This thread *is* interesting
  
  http://www.linuxquestions.org/questions/linux-software-2/re-detectmount-usb-hard-drive-623089/
  
  (the first hit when I googled: hal redetect devices)
  
 
 The solution is in the parted package. 

The kernel finds devices in paralell so the device order is random, 

udev fixes this with UUIDs and LABELs

Now, hal is deemed essential to Xorg and it messes up simple cases.

now we need parted to solve the problem of hal which was to solve the
problem of udev, which was to solve the kernel problem.

argh.

Of course, all these extra packages and systems will have general bugs
and the possibility of security bugs.

Did somebody call this progress?

Doug.


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



Re: problems during installation

2009-07-17 Thread Douglas A. Tutty
On Fri, Jul 17, 2009 at 03:33:37PM +1000, w0102926 wrote:
 Hi
 I attempted to install debian GNU/Linux 5.0 several times
 today, but every time the process gets to select and install
 software, nothing appears to happen, I have left it for up
 to an hour with please wait 1% complete on the screen. The
 rest of the process happens instantly which leads to the
 conclusion something isn't right. Any help would be greatly
 appreciated 

We need more info.  What CD are you using?  Are you installing the
software from the network or the CD?

Personally, I always just install the base system (or the standard
system) with no DTE or other stuff, from the CD.  Then I boot up the
system, get networking going and add software later.

Doug.


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



Re: DVD download

2009-07-08 Thread Douglas A. Tutty
On Sun, Jul 05, 2009 at 04:42:46PM -0400, Mark Neidorff wrote:
 This concerns the 5.02 amd64 DVD #1
 
 Yesterday I downloaded the debian-502-amd64-DVD-1.iso file from debian.org's 
 site.  It was 4.4 Gb, but it failed sha1sum verification, so today I again 
 downloaded it, but it is now 2.0 Gb and again fails sha1sum.  I have now 
 downloaded the same file-- debian-502.amd64-DVD-1.iso -- from 2 mirrors and 
 each time the file is 2.0 Gb in size.  So, I'm guessing that something has 
 gone wrong at Debian and the errors are mirrored to the other sites?
 
 Should I even bother downloading the DVD image now or send a report to 
 debian?  
 If I should send a report, who should I send it to?

Try using rsync to an rsync mirror.

I'm on dialup and often find that after a week of getting a CD a bit at
a time, that there are some errors.  Rsync fixes it.

Doug.


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



chown question

2009-07-02 Thread Douglas A. Tutty
Hello all,

I have a really basic question; I really messed up my box.

I was doing a reinstall on an old box after a drive failure.  I restored
/home but one of the UIDs were created differently so I needed to chown
their directory, including all the hidden files in their ~/.

Without thinking, as root I did a:

r...@plot:/home/dtbrowser# chown -R dtbrowser.dtbrowser .*

Unfortunatly, no everyting on the box is owned by dtbrowser.  It walked
up the file tree (presumably via . and ..) and changed everything.

I know that I could have used find to look for all files owned by the
old UID, plunked it through xargs and chowned them that way, but is
there a way, as root, to chown directly the hidden files without
chowning the whole box?

Just for my future reference?

Thanks,

Doug.


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



Re: OT: launching jobs in a combined serial parallel way

2009-06-25 Thread Douglas A. Tutty
On Wed, Jun 24, 2009 at 10:05:20PM -0400, Scott Gifford wrote:
 Douglas A. Tutty dtu...@vianet.ca writes:
  On Mon, Jun 22, 2009 at 08:17:44PM -0400, Kamaraju S Kusumanchi wrote:

  While you may think its terribly inefficient, it isn't really.  A fancy
  wait function is just polling anyway, you're just making it overt.
 
 Just to clarify, wait(2) and the shell wait builtin do not poll, they
 instruct the kernel to put the process to sleep until a child process
 finishes, then wake it up and return from the wait call.  Because of
 that they are very efficient.  Still, if the programs in question are
 doing a great deal of work, the extra work required by polling will
 not be very significant in comparison.

Isn't that just passing the polling on to the kernel?  At some level,
some process has to see if a pid exists, if not, wait a period, then
check again.  

Doug.


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



Re: is it possible to install a desktop-manager without python and perl?

2009-06-24 Thread Douglas A. Tutty
On Mon, Jun 22, 2009 at 09:49:26PM -0500, Cybe R. Wizard wrote:
 
 Although there have been attempts to design one universal
 computer language that serves all purposes, all of them have failed to
 be generally accepted as filling this role.

Ada does a good job.  Except that since no OS is written in it, to get
OS system calls, you have to use the underlying system libraries, which
are usually in C.  This is simple in Ada, but its still mixed-language.  

Of course, if you care to, even on i386 I guess you could start from
scratch and build an embedded system without an underlying OS, all in
Ada.  However, there would be little point.

On the other hand, if you're designing a new air traffic control system
for a country (e.g. Canada), you write it in Ada from scratch with no
underlying OS, no other libraries.  Ditto if you're building a new
fly-by-wire system for an airliner.  

The US military, before they decided to go C.O.T.S. specified Ada for
everything.  They wanted one language that could do everything, and they
got it.  The problem for the rest of us is that people were already
comfortable with all the rules that they could break with C.  For a
commercial company that earns money fixing its own bugs, it doesn't make
commercial sense to retrain everyone in Ada and retool in Ada, only to
inadvertanly write software with fewer bugs (and what bugs there are,
easier to fix).  

Doug.


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



Re: OT: launching jobs in a combined serial parallel way

2009-06-24 Thread Douglas A. Tutty
On Mon, Jun 22, 2009 at 08:17:44PM -0400, Kamaraju S Kusumanchi wrote:
 
 Currently I have a shell script that works as below.
 1) launch proga, progb in the background using nohup.
 2) Ask proga, progb to write a file when they finish.
 3) Every five minutes check if these files are present. If they are present,
 launch progc.
 
 This gets me going for now. But it looks terribly inefficient. I would
 appreciate if someone can provide a better solution.

While you may think its terribly inefficient, it isn't really.  A fancy
wait function is just polling anyway, you're just making it overt.
You also have the ability to have proga and progb only touch the file if
they complete successfully.  If you merely wait until their ps
disappears, you don't know if they crashed or properly completed.

Doug.


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



Re: Backup config files in home directory

2009-06-22 Thread Douglas A. Tutty
On Sun, Jun 21, 2009 at 01:01:52AM +0800, ronggui wong wrote:
 
 I have other files and directories in the home directory, and I just
 want to backup all the config files, most of them are hidden files and
 directories. Now I use tar and manually exclude my other files and
 directories with --exclude argument. Is there a better way to do this?

You'd have to define 'better'.  A tar archive is certanly easy to
restore.  You can even just pull in one file out of an archive.  You can
look into the archive interactivly with midnight commander.  

Personally, I use tar for all my backups.

Doug.


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



Re: any substitute for x window system?

2009-06-22 Thread Douglas A. Tutty
On Mon, Jun 22, 2009 at 11:58:22AM +0800, 明覺 wrote:
 I'm looking for a pure c/c++ programmed desktop manager, while the
 xorg is depandent on perl, so i do not like it, is there any graphics
 system which depands only on c/c++ to replace x window system? thanks

I think that you'll find that you need to start writing things from
scratch yourself.  Since debian requires perl (e.g for debconf), you'll
be better off with NetBSD.  Then, write a program in C that looks at
every non-binary file to see if what language its in.

Can you tolerate shell scripts?  If not, you'll have to write a C-based
initscript.  This may be easier on BSD since it doesn't use SysVinit.

Take away the ideological furvor.  It would be an excellent learning
experience to rewrite, from scratch, everything in NetBSD that is not C.
It would be very hard with Debian since every time you update, you'll
have to do it all over again.

Enjoy.

Doug.


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



Re: Filesystem UncorrectableError for IDE disk on 2.6.26?

2009-06-19 Thread Douglas A. Tutty
On Fri, Jun 19, 2009 at 09:11:07AM +, Glyn Astill wrote:
 
 Just upgraded an etch machine to lenny, and with it I've gone from the
 2.6.18-6 kernel up to 2.6.26-1 kernel.
 
 I'm seeing the following errors under heavy disk activity:
 
 Jun 18 18:08:05 xglyn2 kernel: [14214.048193] ide: failed opcode was:
 unknown Jun 18 18:08:11 xglyn2 kernel: [14220.846157] hdc: dma_intr:
 status=0x51 { DriveReady SeekComplete Error } Jun 18 18:08:11 xglyn2
 kernel: [14220.846157] hdc: dma_intr: error=0x40 { UncorrectableError
 }, LBAsect=26482377, sector=26482370
 
 
 Previous to using 2.6.26-1 I did try 2.6.26-2 (both 686) and that gave
 me tons of these errors upon boot up. I thought going back to the
 2.6.26-1 version had resolved the issue but it's obviously just less
 severe.
 
 Anyone seen similar or got any ideas?
 
 btw, the heavy disk activity is loading 80GB postgres database - I've
 switched back to 2.6.18 to try this again but I suspect it'll be fine.

If you get the same errors if you boot again with the 2.6.18 kernel,
then I'd say the disk was dying.  However, if you don't get the errors
with the the old kernel but do with the new, then the new kernel isn't
working with either the disk or the IDE controller.  If the latter,
bummer.  Since I run old hardware, I hate upgrading to a new kernel
because it likely means that more of my hardware has to be migrated away
from linux to one of the BSDs.

Doug.


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



Re: exim4 query

2009-06-17 Thread Douglas A. Tutty
On Wed, Jun 17, 2009 at 12:10:17PM +0100, Yuriy Kuznetsov wrote:
 
 I'm trying to figure out how to use exim4 for sending/receiving mails in
 console mode.
 Any recommendation for good instructions/how-tos ?
 
I think that the only way to dirctly tell exim4 to send mail is to speak
SMTP to it, since it is a Mail Transfer Agent.  Most people use a Mail
User Agent to talk to it, e.g. mutt.  Receiving mail, for most people,
is done with a mail fetcher, e.g. fetchmail, that pulls the mail from a
POP or IMAP server, hands it off to your local exim4 MTA, which puts it
in your mailbox.  You then read the mail with your MUA, e.g. mutt.

Doug.


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



Re: Automatically creating user accounts from exim

2009-06-17 Thread Douglas A. Tutty
On Wed, Jun 17, 2009 at 03:26:41PM +0200, David wrote:
 Okay, this is kind of a weird question, but it came up at work.
 
 I'm a complete exim newbie (I've never configured it before, beyond
 'dpkg-reconfigure exim4-config'), but a project came up where the
 manager wants to use exim in a weird way. Basically, this needs to
 happen:
 
 1) Exim receives a mail, from a trusted IP address
 
 2) If the mail is to a non-existant user account, then create the
 system account,  deliver the mail to the new account's mail file

Since this mail is coming from a trusted server, why not have a script
on that server first check (via ssh) if the user exists?  Or, have it
send the mail blindly.  If the user doesn't exist, exim bounces it back.
the sending script then uses ssh to create the user on the target
system.

 3) And always, after delivering a mail (for new or existing users):
 Call an external script, so that our custom logic can see the new
 mails immediately after they appear, and do some further handling.

Are you sure that email is the best route at all for this traffic?  Mail
to non-existant user so that a script on a remote box can read the mail?
Why not just rsync (or scp) over ssh a file containing the information?
Or, have programmes at each end running with a socket between them?  Or
use have the target script put the output to stdout, pipe it through
ssh to the receiving script taking it from stdin via a pipe from ssh?

Doug.
 


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



Re: exim4 query

2009-06-17 Thread Douglas A. Tutty
On Wed, Jun 17, 2009 at 10:52:18AM -0500, Boyd Stephen Smith Jr. wrote:
 In 3df35b760906170818re166e28x8be9006d7...@mail.gmail.com, Yuriy 
 Kuznetsov wrote:
 Could you give some commands as examples of sending emails with exim4,
 please?
 
 Install bsd-mailx.
 echo 'Body of the message' | mailx -s 'Subject Line' 'to#1' 'to#2'
 
 OR
 
 printf 'dot-stuffed-Headers\n\ndot-stuffed-Body of message' | \
   /usr/sbin/sendmail

This may be what he meant, but isn't that for which he asked.  

To answer Yuriy's question, I don't know enough SMTP to be able to talk
to exim directly to send a mail with exim4.  

mailx works well for scripts or short emails from the command line.  For
normal everyday use, install mutt.

Doug.


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



Re: [OT] The perfect system ...

2009-06-13 Thread Douglas A. Tutty
On Fri, Jun 12, 2009 at 08:52:05PM +0100, AG wrote:

 If I was to plan to build the perfect system from scratch, using a  
 motherboard bundle (with up to 8GB DDR RAM), top line graphics card,  
 ditto sound card that would allow connection with an external amp to  
 jive up the sound quality - what might this thing of technological  
 beauty be?

Obsolete by the time you build it?

Top-line sound card isn't a sound card at all.  They are usually a card
connected to an external box (better sound quality, all the analog stuff
outside of the noisy computer case).

Two years ago, I build a box:

Asus M2M-SLI MB (built-in sound), 8 SATA ports, two gigabit ethernet
ports, 10 USB, yada, yada.  Athlon 3800+

1 GB ram.  never had the need to expand.

Asus EN7300GT silent 256 MB video (nvidia).

Two Seagate SATA drives.

LG DVD burner.

Hooked up to my 21 Intergraph drafting monitor.

---

The sound was great through the stereo.

The video was great with the nVidia kernel module (etch non-free) and
the dvd codecs from debian-multimedia.org.  VLC was able to have the
hardware resize the image from a 1024x768 box to 1600x1...@75hz with
hardware smoothing.

In short, it did everything I wanted it to do.



I had the 3800+ because the X2 wasn't quite available yet.  Now
everything has muliple cores, 8GB ram is common, terabytes of storage
are near and dear to many (yet backing that much data up to something
reliable is an issue, as is software raid sync time).



Determine what you want the box to do.  If its only watching movies,
most new computers with a decent video card will do that as is and isn't
anything special.

Doug.


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



Re: flash drive encryption between different OS's

2009-06-07 Thread Douglas A. Tutty
On Sat, Jun 06, 2009 at 10:30:14AM -0700, Kelly Clowers wrote:
 On Sat, Jun 6, 2009 at 07:35, Douglas A. Tutty dtu...@vianet.ca wrote:
  On Fri, Jun 05, 2009 at 03:58:33PM -0400, Daryl Styrk wrote:
  I'm looking for a solution to encrypt a flash drive formated in FAT32 so
  it can easily be decrypted across multiple OS's with the least amount of
  software needed.
 
  I don't do windows.  Does it have OpenSSL?  I encrypt stuff with that
  since the BSDs have it too.  Just pipe it through. e.g. stuff.tgz
  becomes stuff.tgz.aes
 
 Is that secure? I mean, SSL is for streams, not blocks, but I guess I
 don't know how that affects security if used in the opposite manner...

Well, the openssl has the encrypt function for encrypting files.  AES is
a block cypher anyway, even in a stream SSL breaks up the stream into
blocks for encryption.

Doug.


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



Re: Best way of restoring /etc from backups after fresh install?

2009-06-06 Thread Douglas A. Tutty
On Fri, Jun 05, 2009 at 05:57:26PM +, Laurentiu Pancescu wrote:
snip

 I guess the automatically generated uids during the new installation
 were different from the ones in my backed up passwd/group files.
 
 What would be the best way to restore the full system in such a case?

snip
 
 BTW, can anyone suggest a better backup approach? I normally follow
 testing, where new versions of packages appear often, so I would like
 to avoid backing up everything (/usr eats up too much space with
 incremental backups). Backing up /etc, /home and some files in /var
 would be ideal, since I can get the rest by installing, but how can I
 best restore the full system in such a case?

I usually end up doing a full reinstall when there's a new major release
number (e.g. 4.* to 5.*).  Here's what I do.  I'm on dialup:

1.  A minimal install (don't select any tasks).  Create
my own username during the install.
2.  Install mc, links2, ppp, pppconfig, exim4, and configure
3.  Set up sources.list to use the correct mirror and
security.debian.org
4.  Run an aptitude update
5.  Install security updates.
6.  Restore my backups (which were created in /var/local/backup)
back to /var/local/backup from backup media.
7.  untar etc.tgz.aes (via pipe through openssl) to /root/restore
8.  Inspect the old passwd file for username/UIDs to recreate
9.  Recreate those users, ensure that the UID's match.
10. untar home/ from backup.tgz.aes
11. using the list of packages that were installed, reinstall
in related chunks (so I get some packages installed rather
than waiting 5 days to get _any_ packages installed).
12. Once I get all packages reinstalled, ln -s /root/restore to
/home/dtutty/restore
13. (lucky 13), Have one VT with my own user reading ~/restore/etc/*
and the other VT as root, compare each file and change as
necessary.  It only takes about an hour.  I find that this gives
me the advantage of getting the updated file (e.g. newer
options, comments) but with my old config needs met.

I hope this helps.

Doug.

 P.S. Please cc me when replying, I'm not subscribed to debian-user
 (too high volume).

Done


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



Re: flash drive encryption between different OS's

2009-06-06 Thread Douglas A. Tutty
On Fri, Jun 05, 2009 at 03:58:33PM -0400, Daryl Styrk wrote:
 I'm looking for a solution to encrypt a flash drive formated in FAT32 so
 it can easily be decrypted across multiple OS's with the least amount of
 software needed.  

I don't do windows.  Does it have OpenSSL?  I encrypt stuff with that
since the BSDs have it too.  Just pipe it through. e.g. stuff.tgz
becomes stuff.tgz.aes

Doug.


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



Re: lvm on a single big partition or just a single big partition?

2009-06-05 Thread Douglas A. Tutty
On Thu, Jun 04, 2009 at 07:23:19PM -0500, Zhengquan Zhang wrote:
 On Thu, Jun 04, 2009 at 09:39:42AM -0400, Douglas A. Tutty wrote:
  On Wed, Jun 03, 2009 at 10:04:36PM -0500, Zhengquan Zhang wrote:
   On Wed, Jun 03, 2009 at 06:48:03PM -0400, Douglas A. Tutty wrote:
On Wed, Jun 03, 2009 at 11:44:00AM -0500, Zhengquan Zhang wrote:
 
  I put /tmp on tmpfs, with encrypted swap (so that /tmp ends up encrypted
  also).  Yes, /usr (4G) , /var (4-6G, depending ), and /home (encrypted)
  are on separate LVs.  Sizes depend on what I'm doing.  /usr mostly holds
  instaled packages so 4G is fine for my desktop system.  
  
  I also have /var/tmp and /var/local as separate LVs, encrypted.  I keep
  my backups in /var/local.  KDE keeps lots of otherwise private stuff in
  /var/tmp.
 
 Great setup, Thanks, Doug, so do you how much space(PE) do you leave
 unassigned for later use?

Since I only have two 36 GB drives, I don't leave any space unassigned.
My current box is an HP NetServer LPr, which has two hot-swap bays.  The
scsi drives are connected to an HP NetRaid card which is set up to
present two logical drives to the OS: one is raid1 (for the system), and
the other is raid0 (for /home and anything else that is routinely
backed-up and wouldn't cause a system crash if it died).  If I need more
space, I'll get an external scsi enclosure and move the hot-swap drives
to it (the NetRaid card only has one channel) and add more drives.  

Right now on this box I'm not acutally using LVM since I can do most of
what it can do with the NetRaid card.  I used LVM on my SATA-equipped
Athlon box that didn't have a raid card.

FYI, here's my df:


FilesystemSize  Used Avail Use% Mounted on
/dev/sda1 477M  166M  311M  35% /
tmpfs 506M   16K  506M   1% /lib/init/rw
udev   10M  124K  9.9M   2% /dev
tmpfs 506M 0  506M   0% /dev/shm
/dev/mapper/sdb2_crypt
   26G  2.7G   24G  11% /home
/dev/sda3 2.4G  1.5G  863M  64% /usr
/dev/sda5 1.4G  874M  548M  62% /var
/dev/mapper/sda6_crypt
   16G  4.4G   12G  28% /var/local
/dev/mapper/sdb1_crypt
  952M   16M  937M   2% /var/tmp
tmpfs 500M   68K  500M   1% /tmp

Doug.


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



Re: lvm on a single big partition or just a single big partition?

2009-06-04 Thread Douglas A. Tutty
On Wed, Jun 03, 2009 at 10:04:36PM -0500, Zhengquan Zhang wrote:
 On Wed, Jun 03, 2009 at 06:48:03PM -0400, Douglas A. Tutty wrote:
  On Wed, Jun 03, 2009 at 11:44:00AM -0500, Zhengquan Zhang wrote:
  With one big partition, you lose the ability to:
  
  -   have a separate /var (or /var/log) to keep logs from
  filling up /
  
  -   have different mount options (e.g. noexec, nodev) on
  /home
  
  -   have a separate /home
  
  
  Without LVM, you lose the ability to :
  
  -   resize partitions as needed
  
  -   migrate data from one disk to another, e.g. if a drive
  starts misbehaving but you need to keep the system live
  rather than reinstalling/restoring.
 
 Could you elaborate more on this? As far as migration is concerned, what
 is the advantage of LVM?

Your system is operating.  You start to get either SMART indications
that the drive is dying or errors (e.g. retries, times-out, etc) in
syslog.  You add a drive to the system at least as big as the failing
drive.  You make it a physical volume for LVM, and add it to the VG of
the failing drive.  You then tell LVM to remove the failing drive from
the LV.  LVM will migrate the data, extent by extent, from the old drive
to the new drive, all while the system is still active.  Its all in the
LVM-HOWTO (tldp, in the doc-linux-html package). 

  Instead of a separate /boot, I often use a separate / (which contains
  /boot).  In this way, the / partition isn't part of LVM (I make it 500
  MB and usually only have under 200 MB used) and can be booted into if
  the need arises, with more tools available than within the initrd.  Most
  of my boxes won't boot a live CD.
 
 So I guess for /tmp /var /usr etc you have separate LVs? or else a 500M
 / should be too small?

I put /tmp on tmpfs, with encrypted swap (so that /tmp ends up encrypted
also).  Yes, /usr (4G) , /var (4-6G, depending ), and /home (encrypted)
are on separate LVs.  Sizes depend on what I'm doing.  /usr mostly holds
instaled packages so 4G is fine for my desktop system.  

I also have /var/tmp and /var/local as separate LVs, encrypted.  I keep
my backups in /var/local.  KDE keeps lots of otherwise private stuff in
/var/tmp.


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



Re: Consulta de tarjeta para asterisk

2009-06-03 Thread Douglas Flores
José Rojas la marca digium es en realidad EXCELENTE de hecho es super
Excelente!!!  pero también puedes un producto más generico con las tarjetas
OpenVox de buena calidad y de buena durabilidad... En Nicaragua, que es un
país vecino tuyo, hay una empresa que vende estos productos
www.tusolucionTIC.com.ni http://www.tusoluciontic.com.ni/

Espero que te sirva estos datos. bye.

Saludos y que Dios te bendiga.


-- 
Ing. Douglas Flores.
Linux no es Alternativa, es Solución.
Asterisk Users #1009.


Re: lvm on a single big partition or just a single big partition?

2009-06-03 Thread Douglas A. Tutty
On Wed, Jun 03, 2009 at 11:44:00AM -0500, Zhengquan Zhang wrote:
 Though I have used lvm for some time, I have one question that I don't
 
 understand.   
 
   
 
 For one harddrive I often create a /boot parition that is not lvm and 
 
 create a huge partition on the rest of the harddrive for PV of lvm. Now   
 
 I am thinking what is the difference between doing partition like this
 
 and just a single big partition without lvm?  
 

With one big partition, you lose the ability to:

-   have a separate /var (or /var/log) to keep logs from
filling up /

-   have different mount options (e.g. noexec, nodev) on
/home

-   have a separate /home


Without LVM, you lose the ability to :

-   resize partitions as needed

-   migrate data from one disk to another, e.g. if a drive
starts misbehaving but you need to keep the system live
rather than reinstalling/restoring.


Instead of a separate /boot, I often use a separate / (which contains
/boot).  In this way, the / partition isn't part of LVM (I make it 500
MB and usually only have under 200 MB used) and can be booted into if
the need arises, with more tools available than within the initrd.  Most
of my boxes won't boot a live CD.

Doug.


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



Re: replacing hard disk

2009-06-02 Thread Douglas A. Tutty
On Mon, Jun 01, 2009 at 04:43:12PM -0300, Claudio wrote:
 I think this tool *dd*, resolve your problem.
 
 http://www.linuxweblog.com/dd-image
 
 http://www.mckeay.net/2004/10/18/using-dd-to-clone-a-hd/

Or, you can use tar to create to stdout, pipe the output to another tar
process to extract from stdin.


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



Re: ed 1.33 install errors

2009-06-02 Thread Douglas A. Tutty
On Mon, Jun 01, 2009 at 09:13:47PM -0400, Rob Bochan wrote:
 On Monday 01 June 2009 08:53:19 pm Jude DaShiell wrote:
  Script started on Mon Jun  1 20:50:14 2009
  localhost:~# aptitude install ed
...
  update-alternatives: error: alternative path /bin/ed doesn't exist.
  dpkg: error processing ed (--configure):
subprocess installed post-installation script returned error exit status
  2 Errors were encountered while processing:
ed
  E: Sub-process /usr/bin/dpkg returned an error code (1)
 
 I got the same error here. I fixed it by creating a symlink from /usr/bin/ed 
 to /bin/ and that cleared it up. I'd imagine it's a bug in the package.

Considering that the main use of ed is either for scripted editing or
for editing when ncurses (or gui) isn't working, the bug is probably
having it in /usr/bin instead of /bin.  In Lenny, its in /bin (at least
on my box).  I would argue that another bug is that its not statically
linked but Debian doesn't seem to worry about having basic stuff static
and refer people to a live CD for system rescue.

Doug.


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



Re: Realtek Device ffff (rev 10) is not recognized with 8139too

2009-06-01 Thread Douglas A. Tutty
On Mon, Jun 01, 2009 at 03:43:21PM +, Marcelo Luiz de Laia wrote:
 
 Here are the outputs of some commands.
 

What does dmesg show?

Doug.


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



Re: replacing hard disk

2009-06-01 Thread Douglas A. Tutty
On Mon, Jun 01, 2009 at 07:39:08PM +0200, Jan Willem Stumpel wrote:
 
 So tomorrow it's off to the computer shop to get a new hard disk.
 
 Are there any tips on moving the whole system from the old disk to
 the new one? Or do I just have to re-install ubuntu, re-install
 any updates and extra programs which are installed, find and copy
 modified config files, mails, bookmarks, etc?

Moving the / partition to a new drive is very OS-specific.  You may want
to ask on a ubuntu mailing list.

Doug.


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



Re: What hardware to use for Debian Firewall/Gateway or server?

2009-05-30 Thread Douglas A. Tutty
On Fri, May 29, 2009 at 10:18:56PM +0200, Csanyi Pal wrote:
 Jan Willem Stumpel jstum...@planet.nl writes:
  Csanyi Pal wrote:
  So: can one install on it say a Debian GNU/Linux Lenny? 
 
  Mind that it is a headless device. Everything has to be done
  through ssh (or local telnet). It has no cd-rom drive, keyboard,
  or monitor. But it is just a Debian system (for powerpc, not for
  i386). Everything behaves just like your desktop Debian system.
 
 Say I'll upgrade Debian Etch on it to Debian Lenny and make a mess of
 the operating system somehow through ssh connection.
 Then what can I do?
 
 And if one can setup the first boot media to USB stick how can install
 the system without to seeing anything?
 
 How can they install the Debian system in the Factory of the BUBBA??

Many headless embedded-type devices have a serial port as a bios/system
console.  Just use that to log in.



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



Re: konqueror, fish, stalled

2009-05-30 Thread Douglas A. Tutty
On Sat, May 30, 2009 at 09:19:13PM +0800, Umarzuki Mochlis wrote:
 Whenever I tried to copy file(s) bigger than 900 MB using fish protocol, it
 stalled. Any way to prevent this?

Try a different protocol.  Use rsync or scp (or mc with shell link) from
a command line.

Doug.


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



Re: hylafax

2009-05-29 Thread Douglas A. Tutty
On Thu, May 28, 2009 at 10:08:37PM -0400, Tom Low-Shang wrote:
 Is Hylafax still the only open source fax server available? 

Last time I did fax, I used mgetty+sendfax.  It worked just fine.

Doug.


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



Lenny kpdf much slower than on etch

2009-05-29 Thread Douglas A. Tutty
Hello all,

I'm finding that kpdf is much slower on Lenny than on Etch.  When I load
a new doc, it takes forever to generate the first page (and the
thumbnails).  Is there some setting I can change somewhere?  

This is on my dual-P-II-450.  It takes 100% of a CPU for about 10
seconds before I can start to read a 10 page document.

Thanks,

Doug.


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



Re: Operating system-level virtualization: how to make it?

2009-05-28 Thread Douglas A. Tutty
On Wed, May 27, 2009 at 09:39:38AM -0500, Victor Padro wrote:
 On Wed, May 27, 2009 at 8:40 AM, Douglas A. Tutty dtu...@vianet.ca wrote:
  On Tue, May 26, 2009 at 08:46:49PM +0200, Laurent Guignard wrote:
   On Fri, 22 May 2009 18:02:27 +, Sylvain Le Gall wrote:
On 22-05-2009, Sthu Deus sthu.d...@gmail.com wrote:

  AFAIK, virtualization on i386/amd64, beyond the os-specific software or
  testing issues, is a gimmick.  It may provide one extra layer for
  someone to try to break out of but it also adds an extra layer to hold
  bugs.

 There is nothing like LPAR in x86/amd64 architecture. Totally different
 arch.
 
 Believe me I work for the eye bee m company.

That was my point.  Unless the hardware provides the virtualization
(such as LPARs), then it doesn't accomplish much.  

doug.


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



Re: KDE is now broken (Fwd: Heads-up: KDE4 hitting testing tonight (UTC) )

2009-05-28 Thread Douglas A. Tutty
On Wed, May 27, 2009 at 11:18:54AM -0500, lee wrote:
 On Tue, May 26, 2009 at 10:46:47AM -0500, Boyd Stephen Smith Jr. wrote:
  In 20090526142918.gc5...@cat.rubenette.is-a-geek.com, lee wrote:
  On Mon, May 25, 2009 at 01:17:16PM -0500, Boyd Stephen Smith Jr. wrote:
   Use the old software.  It might not run on the latest release of Debian,
   but it should run on whatever version you had before.  Older releases
   are maintained in the archive, and you can archive whatever you need
   yourself if you don't want to depend on the Debian infrastructure.
 
  How do you get it to run on
  contemporary hardware?
  
  Run it on the hardware you were running it on before.  We are talking about 
  accessing the data for the purpose of migration; you should still have the 
  hardware (and software) you are migrating from.
 
 1.) When I'm changing hardware, I'm usually replacing board, CPU and
 RAM. I take that out of the case and put the new stuff in. That means
 I can't run the software on the old hardware anymore, not without
 changing the stuff out again. It would really suck if I had to do
 that.

If your backup/archive hardware won't connect to the new computer, then
you'll need to migrate the data to new archive hardware first, then
migrate the computer to new hardware.

 2.) I'm not so much talking about migration as about keeping data
 readable. Keep it on your disks or put it aside on some removable
 storage medium, then after 15 or 30 years, try to read it. Having used
 a mysql database to store the data doesn't make it easier to read it
 after 15 or 30 years.

As far as I know, the only digital media that is designed to last that
long on the shelf without data loss is tape.  Since tape technology
moves apace, you should probably archive a couple of tape drives along
with the data.
 
  Find your local LUG and ask around.  I can virtually guarantee that there 
  someone with a storage unit full of old hardware they are keeping for some 
  reason.  Even better if you have a local FreeGeek.
 
 Who would keep all the old hardware? And for what? And it's nothing
 you could rely on.

Actually, I need old hardware.  Newer hardware gives my wife headaches.
It varies, though.  Usually, she can tolerate my NetServer LPr dual
P-II-450, but right now its a problem.  I'll get my 486 out of storage
and put NetBSD on it and see how it is for her.  Of course, its
ISA and won't boot if there's a drive bigger than 1.2 GB on either IDE
controller.  What I really need is an old 100 MHz or slower SMP server
with scsi.  Or, at least, an ISA scsi card.

 
 How do you maintain 15 or 30 year old hardware?

Carefully.  Memory is still available for my 486.  The biggest problem
for me is hard drives; they die and aren't made small anymore.  Scsi
fixes that (since there are no bios issues with scsi). 
 
  And who guarantees that 30 year old hardware you kept in
  storage will still work when you need it?
  
  You do.
 
 No, I don't. I have no way to do that. I didn't manufacture it. I can
 only assume that it might work or not after 30 years.
 
 If what you're saying is practical for you, go ahead and keep your
 pile of hardware over 30 years or longer and try to put something
 together to read your data when you need to. That isn't practical for
 me.
 
Choose hardware in the first place that allows upgrade.  E.g. scsi
drives instead of IDE.  

Also, do you really need the data to sit on a shelf for 30 years, or can
it be cycled to new media every 5 years?  

There's something to be said for tarring to a raw disk partition (so
there's no filesystem to be corrupted), and putting the same data to
three different drives.  Then using some data comparision utility
(there's a deb available, I forget the name) to choose the correct block
for every block of the data.  This is far more reliable given three
partially corrupted data sets than e.g. raid where if a certain number
of blocks fail, the whole disk is marked bad. 

Doug.


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



Re: KDE is now broken (Fwd: Heads-up: KDE4 hitting testing tonight (UTC) )

2009-05-28 Thread Douglas A. Tutty
On Wed, May 27, 2009 at 01:51:25PM -0500, lee wrote:
 On Wed, May 27, 2009 at 09:21:15PM +0300, Dotan Cohen wrote:
  If the issue is saving $20 on a case, then you are just $20 short of
  having a working solution. Sounds good to me.
 
 Where do you get a good case for $20? Shop around a bit and you'll
 find that useable ones start at about $250, and good ones cost more
 --- if you can find one at all.

Buy an old computer and use that case.

Doug.


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



Re: KDE is now broken (Fwd: Heads-up: KDE4 hitting testing tonight (UTC) )

2009-05-28 Thread Douglas A. Tutty
On Thu, May 28, 2009 at 10:08:00AM -0500, lee wrote:
 On Thu, May 28, 2009 at 09:42:57AM -0400, Douglas A. Tutty wrote:
  As far as I know, the only digital media that is designed to last that
  long on the shelf without data loss is tape.  Since tape technology
  moves apace, you should probably archive a couple of tape drives along
  with the data.
 
 Well, I used to have some tape drives when the disks were smaller, but
 I haven't looked into them for years. I always bought them used, and
 they were still rather expensive.
 
 Can you get a reliable tape drive, incl. some tapes, that stores at
 least 1TB per tape, for max. $200 now?

No.  You can get used LTO-3 drives for about $250 on ebay.  Tapes, of
whatever capacity, end up costing about $50 each (I suppose unless you
buy in great volume).  You have to do the math once you determine your
data set size to know whether its cheaper to have a lower-capacity drive
with more tapes or a higher-capacity drive with fewer tapes.  

I just went through the math for my 12 GB data-set size and compared
tape to USB sticks (not for archive, but for off-site backup).  The
break-even point was 72GB: less than that and USB sticks (16 GB) were
cheaper; more than that and a used LTO-3 tape changer was cheaper.

   Who would keep all the old hardware? And for what? And it's nothing
   you could rely on.
  
  Actually, I need old hardware.  Newer hardware gives my wife headaches.
 
 Why is that? It limits her to very slow hardware which could be a
 problem sooner or later because the old hardware isn't up to the task
 anymore. It depends on what she wants to do, of course ...


Whether it limits her (actually me) or not is not the issue.  If it
gives her a headache then I can't use it at all, which is very limiting.
Other than web-browsing (e.g. firefox/iceweasel), I can do everything on
my 486 if I have enough drives.  

  controller.  What I really need is an old 100 MHz or slower SMP server
  with scsi.  Or, at least, an ISA scsi card.
 
 You can still get that --- but for how long?
 
 
   How do you maintain 15 or 30 year old hardware?
  
  Carefully.  Memory is still available for my 486.  The biggest problem
  for me is hard drives; they die and aren't made small anymore.  Scsi
  fixes that (since there are no bios issues with scsi). 
 
 Yeah, SCSI is great, but it's not affordable anymore. What's the price
 for a 1TB SCSI disk now? Like $1500? And I'd need two because I don't
 put data on disks that aren't at least RAID1. I've seen too many disks
 failing for that.

Look at the sweet-spot price point for used scsi drives, then get a used
hardware raid card.  My HP NetServer LPr (dual P-II-450) came with 1 GB
ram, two 36 GB scsi drives, and a HP NetRaid 1si card for $65 (and all
cables, terminators, etc).  You can get the raid cards cheap if used.
Get a 14-bay external scsi hot-swap enclosure to hook up to it (another
$50) and load it up with the scsi drives (of whatever size).  

Of course, if you have to pay for power, I guess at some point its
cheaper to buy two 1TB drives.

 And look at the cables and terminators. You end up paying about $100
 just to connect a few SCSI disks. I still have the controller and
 disks, but the cables got lost when moving. They'd be nice to have,
 though rather loud, but I didn't want to spend all the money on
 cables. You can get 1TB SATA disks for the price of the SCSI cables
 and the terminators ...

And forgo the reliability.  You really comparing SATA to SCSI?  SAS to
SCSI sure; SATA to IDE sure.  

Check ebay for the cables and terminators.  There are lots of computer
recyclers that only sell through ebay.

 In your case, you could have the computer for your wife boot over the
 network and run it without any disks. Put the sever for that at some
 place where it doesn't bother her.

That would be about 500 feet away.  First, I'd have to buy a lot that's
big enough, then build a data centre 500 feet away...

  Also, do you really need the data to sit on a shelf for 30 years, or can
  it be cycled to new media every 5 years?  
 
 I keep it on the disks. I don't have a solution for making backups
 anymore. I'm going to need new disks soon, and I'm also going to need
 a second set for backups (still better than none) --- but I don't have
 the money for that atm.
 
  There's something to be said for tarring to a raw disk partition (so
  there's no filesystem to be corrupted), and putting the same data to
  three different drives.  Then using some data comparision utility
  (there's a deb available, I forget the name) to choose the correct block
  for every block of the data.  This is far more reliable given three
  partially corrupted data sets than e.g. raid where if a certain number
  of blocks fail, the whole disk is marked bad. 
 
 You want to buy 8 sets of 3 disks each for your dayly and monthly
 backups and an SATA controller that can do hotplug? That's about
 $2500 --- maybe you can get a tape drive for that kind of money

Re: Operating system-level virtualization: how to make it?

2009-05-27 Thread Douglas A. Tutty
On Tue, May 26, 2009 at 08:46:49PM +0200, Laurent Guignard wrote:
 On Fri, 22 May 2009 18:02:27 +, Sylvain Le Gall wrote:
  On 22-05-2009, Sthu Deus sthu.d...@gmail.com wrote:
   How I can organize a Operating system-level virtualization on a server
   for every service I would isolate?
  
  Use a chroot (standard) or a vserver (search for vserver in debian
  archives there is a kernel version and two packages for userland tools).
  
  vserver is more flexible and allow you to assign IP address et al.
 
 Beyond the question, what is the interest to virtualize services. I understand
 the need to virtualize different machine for OS specific server software,
 tests and so on.
 Is there anywhere to find when virtualization is the best way to solve a
 problem and when it isn't ?
 

Unless something has changed, to be really secure, virtualization has to
be fully supported in the hardware of the CPU so that there are no CPU
instructions that can be issued from within the virtual machine to break
out of it.  i386/amd64 don't meet that criteria.  I don't know what
other vendors have, but e.g. IBM's Power architecture does, and provides
logical partitions (LPARs) at the firmware level which appear to the OS
as a real piece of hardware.

AFAIK, virtualization on i386/amd64, beyond the os-specific software or
testing issues, is a gimmick.  It may provide one extra layer for
someone to try to break out of but it also adds an extra layer to hold
bugs.

Doug.


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



Re: Luks encrypted partition gets identified as ntfs

2009-05-27 Thread Douglas A. Tutty
On Wed, May 27, 2009 at 06:52:20AM +0100, Aron wrote:

 About 4 years of research I have in there so far got that gut feeling  
 it's going up in smokes.

I surely hope you have backups, either not encrypted or encrypted with
something else (I use openssl).

Doug.


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



Re: Lenny. Do I need to check the system after improper shutdown?

2009-05-25 Thread Douglas A. Tutty
On Mon, May 25, 2009 at 11:33:31PM +0400, Mark Goldshtein wrote:
 Hello, list!
 
 Do I need to clean up something or check hard drive consistency after
 system's hang up during recovering from Suspend-to-RAM state? An
 improper system shutdown by 'power' key was forcibly applied and
 during a boot process were reports about journal transactions
 replayed.

That was it.  The journal replayed with no problems, so everything is
consistant.  However, you may have lost data, but fsck can't help that;
its job is to make the filesystem consistant.

Doug.


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



Re: What hardware to use for Debian Firewall/Gateway or server?

2009-05-22 Thread Douglas A. Tutty
On Thu, May 21, 2009 at 09:31:14PM +0200, Csanyi Pal wrote:
 I have at my home a small network:
 firewall/gateway: Pentium II Class PC box with 64 MB RAM, 5,1 GB HDD
 server  : Pentium IV Class PC box with  2 GB RAM, 60 GB HDD
 desktop : Pentium IV Class PC box with  2 GB RAM, 2 * 320 GB HDD
 
 On all these PC boxes run Debian GNU/Linux:
 firewall/gateway: Etch
 Server  : Etch
 desktop : Lenny
 
 The firewall has a buggy hardware and can't to install on it Lenny so
 I decide to buy a new hardware for firewall/gateway.

Put the drive in another computer, install to that drive, then move the
drive back?

 I think about that that I could to use the server box as a
 firewall/gateway and the new PC box for the server..
 
 What is the recommended new hardware for firewall/gateway or for a
 web, mail, file  printer server at a small home network? 

Well, since the PII worked just fine, I think you'll find that any
computer on which you can install Lenny will work for you.  I used to
use a 486 with 32 MB ram but Etch couldn't install on it.  It runs
OpenBSD very well.



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



how capture segfault trace for bug report; lenny megaraid driver?

2009-05-22 Thread Douglas A. Tutty
Hello all,

I use an HP NetRaid 1si raid card in my HP NetServer LPr.  It worked
fine on Etch and was able to retreive status info from /proc/megaraid,
e.g. 

# cat /proc/megaraid/hba0/raiddrives-0-9

With Lenny, there are a couple of problems:

1.  Rescue mode doesn't see the drives even though they show up in
dmesg.

2.  When I cat any info in the /proc/megaraid/ tree, the first time,
I get a segfault.  A second time just hangs.  The process is
immortal (it doesn't even get killed by init on shutdown).

I'd like to get this fixed, or at least submit a bug report.  However,
how do I capture the segfault info (I don't have a serial console at
this time, but I suppose that's a possibility).  

I've tried:

1.  ulimit -c 10; cd /var/tmp/; cat /proc/megaraid

no core file anywhere that I can find

2.  script to megaraiderr file; cat /proc/megaraid 21

The script just gives the segfault warning, but all the messages
are lost.

Nothing is logged to syslog.

Questions:

1.  How do I capture the info?

2.  To whome do I submit a bug report?

Thanks,

Doug.


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



Re: sudo vs. su (was Re: new to list, new to debian, new to linux)

2009-05-22 Thread Douglas A. Tutty
On Fri, May 22, 2009 at 05:50:28PM -0500, dwain wrote:
 On Fri, May 22, 2009 at 2:16 PM, George nutn...@comcast.net wrote:
 
  I was a little disappointed being called out on my suggestions in my
  original post. Obviously the person isn’t a sys admin and from my
  understanding the whole purpose of sudo is so the user only has root
  privileges for that given command instead of during the entire terminal
  session. I personally see nothing wrong with what I suggested other then
  using visudo to edit the sudoers file instead of vim.
 
 
 i too was disappointed.  i tried su and authentication failed.  how do i
 update my system without being able to log in as root?
 
 now i don't mind a spirited discussion on the pros and cons of sudo vs. su,
 but my original question still has not been answered; and with this new
 development i am really at a loss.
 
 you are saying that  sudo and su are not available from a user console, then
 how do i fix this so i can become root when i need to?
 

Root login from a secure serial console has been described as the
ultimate command line of last resort.  I always have a serial console
set up in inittab (and in grub too for that matter).  I guess if you
can't log in as root (or otherwise get root), you'll need to boot a live
CD such as grml and fix whatever is preventing you from getting root.  

A last resort would be:

1.  physically disconnect the box from the network.
2.  boot a live CD
3.  edit the password file to allow root login without a password
4.  reboot into the system and log in as root
5.  passwd as root and give yourself a root password.
6.  shutdown
7.  reconnect the box to the network.
8.  carry on as normal.


If you want to use sudo for most things, but have root login available,
put the root password in a card in an envelope in a locked location.
You'll know if someone needed the root password by the tear in the
envelope.  Unless it was removed, the root login should be recorded in
syslog as well.

Doug.


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



Re: Convert HTML to PDF from CLI?

2009-05-20 Thread Douglas A. Tutty
On Tue, May 19, 2009 at 01:15:25PM +0300, Dotan Cohen wrote:
 2009/5/19 Dotan Cohen dotanco...@gmail.com:
  I don't know if can handle UTF-8, but I see nobody mention htmldoc, which 
  is
  in debian etch, I suppose must be in lenny, so another option to try.
 
 
  I did not know about htmldoc, that is a great program! It does not
  support UTF8 as packaged for Debian, however, according to wikipedia
  version 1.9 does support UTF8 and I will try to install that now.
 
 
 Scratch that, even with basic UTF8 support, Arabic and Hebrew are not 
 supported:
 http://www.htmldoc.org/articles.php?L28

I'm just doing an aptitude search (~dhtml ~dpdf !doc), trying to see if
there's something not considered before in this thread.

I've never used OpenOffice, but I see unoconv.  Its supposed to be able
to convert from any file OO can import to any file it can export.  Can
OO import html and export pdf, with your UTF requirements?

Doug.


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



Re: LVM how to

2009-05-20 Thread Douglas A. Tutty
On Wed, May 20, 2009 at 07:17:48AM +1000, gianni wrote:
 how can I resize the LVM default partition layout of debian?
 the root is to small around 400mb... I looked around the web but it look
 like I need to do that from a rescue cd, which one should I use?
 any good link for a easy how to :)

No rescue CD required.

Install (if you can) the doc-linux-HOWTO package, or go to tldp.org and
read the LVM HOWTO.  It has examples of how to do most things.  Then
read the man pages for each command.  Basically, you have to shrink the
file system size (resize), then shrink (resize) the LV its on.  Then
grow (resize) the target LV, then grown (resize) the target filesystem.

Do a backup first, please.

Doug.


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



Re: Hardware diagnostics

2009-05-20 Thread Douglas A. Tutty
On Tue, May 19, 2009 at 11:37:51PM -0400, Scott Gifford wrote:
 
 I have a Debian Etch installation that's beoming increasingly
 unstable.  It periodically freezes up, with nothing in the logs until
 it is rebooted.  I suspect a hardware problem, and would like to
 identify it or rule it out before doing an upgrade to Lenny.
 
 Can anybody recommend a good hardware diagnostic or burn-in program?
 I have used memtest86 and will try that, but ideally I'd like to
 stress test more of the system than just the memory.  Something that
 can run on Debian Etch while the machine is live is ideal, or
 something that can be run from a boot CD.  Free is preferred (of
 course), but any suggestions are welcome.
 
 Also, if anybody has a suggestion of what might fix an Etch system
 that's freezing up periodically with nothing in the logs, those
 suggestions are welcome too.  :-)
 
Apart from diags for specific hardware (e.g. my HP NetServer LPr
diagnostic disk), I use GRML (grml.org) 0.9 CD.  I run bad blocks (or
the appropriate fs checker with badblocks read/write/verify check) on
all filesystems.  grml also has memtest+ as a boot option (it can't run
properly with an OS running as well).

Have the kernel do verbose logging.  Consider remote logging; if your
hard drive freezes, there's no way for the log to be written.  Any
serious drive errors should be sent to the console unless you've told
the kernel to not send messages to the console; I guess you won't see
them if you are in X at the time; consider a serial console to another
box (or a real VT).  

Doug.


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



Re: Convert HTML to PDF from CLI?

2009-05-17 Thread Douglas A. Tutty
On Sun, May 17, 2009 at 06:37:45PM +, Andrew Malcolmson wrote:
 On Mon, May 11, 2009 at 12:30 PM, Dotan Cohen dotanco...@gmail.com wrote:
  I need to convert an HTML document to PDF from the CLI. Currently, I
 ...
 
  Any other ideas? Is there a konqueror- or KDE way to do this? Am I
  missing something obvious? Thanks!

Konqueror wouldn't be from the command line.  If you are willing to use
konqueror, then just 'print' it to a pdf file.  It works great.

Doug.


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



Re: failed to upgrade to next kernel package

2009-05-17 Thread Douglas A. Tutty
On Sun, May 17, 2009 at 07:04:11PM -0400, Patrick Wiseman wrote:
 [Replying to debian-user, including OP's reply to me, which was
 presumably intended for debian-user.]
 
 On Sun, May 17, 2009 at 6:32 PM, gianni giovanni.favor...@gmail.com wrote:
  Hi Patrick
  this is the result from df -h
  Filesystem            Size  Used Avail Use% Mounted on
  /dev/mapper/machina-root
                       322M  272M   34M  90% /
  tmpfs                 1.5G     0  1.5G   0% /lib/init/rw
  udev                   10M  128K  9.9M   2% /dev
  tmpfs                 1.5G     0  1.5G   0% /dev/shm
  /dev/sda1             228M   25M  191M  12% /boot
  /dev/mapper/machina-home
                       136G   99G   32G  76% /home
  /dev/mapper/machina-usr
                       4.6G  3.1G  1.4G  70% /usr
  /dev/mapper/machina-var
                       2.8G  1.3G  1.4G  49% /var
  tmpfs                 1.5G   20K  1.5G   1% /tmp
 
  the system is only 1 week old... I used the default option with the LVM,
  what should I delete?
 
 You have a very small root partition (322M) apparently, which is
 almost full, and which is where /lib resides (as you have no separate
 mapping for it).  I'm not sure what to suggest at this point (which is
 why these conversations should stay on the list; others may have all
 kinds of partition magic they can suggest, perhaps to expand the root
 partition while preserving your others, etc.).

Do you have a kernel that you are not using to boot which you could
remove, e.g. a -1 if you are trying to install a -2 version kernel?

I have a 477 MB / partition, of which 166 MB is used and I have both
2.6.26-1-686 and 2.6.26-2-686 kernels installed.

You should probably see what is taking up so much space in / since you
have separate /home, /var, /usr, with /tmp on tmpfs.  FYI, my /boot only
has 14 MB in it (two kernels, plus the grub stuff).

If there is nothing extraneous in / (including stuff in /root that
shouldn't be there), since this is LVM, can't you resize the partitions?
Assuming that you don't have any free space in the machina VG, take 500
MB from machine-home and add it to machina-root, taking care to do
whatever filesystem resizing is necessary (depending on what filesystem
type you are using).

Doug.


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



Re: Safe change of uid

2009-05-12 Thread Douglas A. Tutty
On Mon, May 11, 2009 at 05:27:14PM -0500, Elmer E. Dow wrote:
 Douglas A. Tutty wrote:
 On Mon, May 11, 2009 at 08:54:47AM -0500, Elmer E. Dow wrote:
 Please cc me as I am not currently subscribing to the list.

 Since you only just created the user, I'd just go ahead and delete it
 (use:
 # cd /var/tmp
 # deluser --remove-all-files --backup

 then use adduser to create the new user

 To be safe, I'd then examine the backup tarball to ensure that nothing
 was removed accidentally, before deleting the tarball.

 From what I've read, it's like deluser in that it only deletes the user  
 stuff in the home directory, so I still need to edit /etc/passwd,  
 /etc/group, /etc/shadow, etc. and delete the user's group. Or is there a  
 command to take care of those, too? If there is, I haven't found it yet.  
 Or will adduser overwrite the previous info when I add the new user of  
 the same name?

 I've read of permission problems, boot problems, etc. caused by changing  
 uid so I'm a bit paranoid.

If you use deluser, you won't have to edit other files.  That's what
deluser is for.  

If you find any files in the backup that the user will need, you can
untar the tarball, chown them to the new user, and give them back.  I
tend to use Midnight Commander (mc) for that type of thing.

Doug.


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



Re: Asterisk - Lineas externas

2009-05-11 Thread Douglas Flores
Estimado Carlos,

Primeramente debes de instalar tu tarjeta FXO. Los archivos de configuracion
se encuentran en zapata.conf y zaptel.conf, estos archivos sson si se trata
de la version ZAPTEL. Si se trata de DAHDI pues los archivos cambian de
nombre: system.conf y chan_dahdi.conf.

Ahora lo del IVR (Gracias por llamar a) esto lo haces en el Dialplan en
el archivo de configuracion extensions.conf  En INTERNET puedes encontrar
mayor informacion.

Saludos.

El 11 de mayo de 2009 12:47, Carlos Eduardo Velásquez Chaves 
debianl...@cuna.ac.cr escribió:

 Perdon se me fue al privado:

 Carlos Eduardo Velásquez Chaves wrote:

 Luis San Martin Rojas wrote:

 2009/5/11 Carlos Eduardo Velásquez Chaves debianl...@cuna.ac.cr:


 Hola a todos,

 Estoy implementando un Astersik con Debian Lenny, ya tengo configurado
 todo
 lo concerniente a la parte interna, extensiones, correo de voz, etc.
 todo
 funciona bien hasta el momento.

 El asunto es que ahora quiero tomar las líneas de la central telefónica
 convencional y conectarlas al asterisk a la tarjeta FXO y configurar:
 - Sacar la llamada hacia el servicio externo marcando 9



 Debes configurar tu Dialplan y las reglas de llamadas salientes.

 Ok, para configurarlo en el dialplan, sería en extensions.conf cierto?



 - Recibir las llamadas y que salga la contestadora (Gracias por llamar a
 ...)



 Eso se llama IVR

 Pero que archivos toco para esto? Estuve revisando con links y están muy
 buenos, necesito seguir leyendo, pero si pudieran decirme cuales son los
 archivos me serviría demasiado, gracias.

 Saludos



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




-- 
Ing. Douglas Flores.
Linux no es Alternativa, es Solución.
Asterisk Users #1009.


Re: Safe change of uid

2009-05-11 Thread Douglas A. Tutty
On Mon, May 11, 2009 at 08:54:47AM -0500, Elmer E. Dow wrote:
 Just finished a fresh Lenny install and added an account for my daughter  
 -- and kuser assigned it uid 500 instead of 1001, which I must correct.  
 After looking at man pages and archives, I see that kuser in the past  
 has done well creating accounts but not modifying them. Is that still  
 true with the version used in Lenny? Is usermod a better option for  
 dealing with this situation or would deleting and recreating the account  
 -- either using kuser or userdel -- be the simplest and best method?

 Please cc me as I am not currently subscribing to the list.


Since you only just created the user, I'd just go ahead and delete it
(use:
# cd /var/tmp
# deluser --remove-all-files --backup

then use adduser to create the new user

To be safe, I'd then examine the backup tarball to ensure that nothing
was removed accidentally, before deleting the tarball.

I've never used (or heard of) kuser to know why it created uid 500.

Doug.


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



Re: filter utility to send cron e-mail only if unexpected output

2009-05-06 Thread Douglas A. Tutty
On Wed, May 06, 2009 at 11:27:55AM -0400, Barclay, Daniel wrote:
 Does Debian have any utility to address the following situation?
 
 I have some scripts that I run both manually and as cron jobs.  The scripts
 generate stdout/stderr output reporting what they're doing.
 
 I want to see the output when I run the scripts manually.  However, when the
 scripts are run by cron, normally I don't want cron to e-mail me that bulky
 output for each run--I want the output (the full output) only when the output
 is different than expected (e.g., if something has gone wrong or has changed,
 which I want to notice).

Why not rewrite the scripts to take a command-line option such as either
-q (quiet) or -v (verbose), and have it print out the required detail
depending on the option?  Then have that option supplied by cron when
its run (or by you when you run it manually).

Doug.


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



Re: tar up a symbolic linked directory

2009-05-04 Thread Douglas A. Tutty
On Sun, May 03, 2009 at 11:23:33PM -, Cameron Hutchison wrote:
 Douglas A. Tutty dtu...@vianet.ca writes:
 On Sat, May 02, 2009 at 09:04:38PM +, T o n g wrote:
  I want to tar up a symbolic linked directory as if it is a real
  directory. Is there any easy way to do it?
  
  Let me explain with an example (that you can try):
  
   mkdir d1
   touch d1/{a,b,c}
   ln -s c d1/d
   ln -s d1 d2
  
  I want that the result tar file looks like this:
  
   tar -tvzf d2.tgz
   drwxrwx--x tong/tong 0 2009-05-01 09:38 d2/
   -rw-rw tong/tong 0 2009-05-01 09:37 d2/a
   -rw-rw tong/tong 0 2009-05-01 09:37 d2/b
   -rw-rw tong/tong 0 2009-05-01 09:37 d2/c
   lrwxrwxrwx tong/tong 0 2009-05-01 09:38 d2/d - c
  
  Any easy way to do it? 
 
 add -h to the tar parameters.  It dereferences the symbolic lyinks.
 However, then you won't get the d2/d - c reference.
 
 I can't see that it would be possible to dereference the top-level
 symlink but no others. No commands that I know of support selective
 symlink dereferencing, except find(1) with -H.
 
 That lead me to try:
 $ find -H d2 | cpio -o -L -H ustar  d2.tar
 
 This comes close, storing d2/d as a link, but as a hardlink, not a
 symlink.

Before we get too far down the garden path, would you review the why
of this?

It may be simpler to do it in a couple of steps.  Tar up those you want
with the dereferencing, telling tar to ignore those you want without
dereferencing, then do a second tar run without dereferencing, telling
tar to ignore those you did with dereferencing, appending it to the
first tarball.

Doug.


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



Re: BSD handbook - was Re: debiantutorials.org seeks input and new blood

2009-05-03 Thread Douglas A. Tutty
On Sun, May 03, 2009 at 07:01:39AM -0500, Neal Hogan wrote:
 On Sat, May 2, 2009 at 1:19 PM, Bret Busby b...@busby.net wrote:
  On Sat, 2 May 2009, Neal Hogan wrote:
  On Sat, May 2, 2009 at 9:30 AM, Douglas A. Tutty dtu...@vianet.ca wrote:
  On Sat, May 02, 2009 at 06:27:44AM -0500, Neal Hogan wrote:

  So, if BSD is more complicated than using package management like RPM in Red
  Hat and .deb in Debian/Ubuntu, then it is probably too complicated for me.
 
 
 It's not . . . http://www.openbsd.org/ports.html

The ports system works very easily, very similar to apt-get.  However,
right now, they don't have security updates for ports in -stable.

If you run -current and want to update a port, AFAIK, you have to
upgrade to the next snapshot for the whole system.  For me, that's a lot
of bandwidth on dialup.

Doug.


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



Re: Backing Up CMOS Settings Under Linux

2009-05-03 Thread Douglas A. Tutty
On Sun, May 03, 2009 at 05:32:28PM -0400, Michael Pobega wrote:
 On Sun, May 03, 2009 at 03:19:50PM -0500, Martin McCormick wrote:
  I first thought it was my imagination, but I have had
  two Dell Dimension computers change their boot drive order. I
  don't know when it happens because they change to boot the hard
  drive just after trying the floppy such that the CDROM is last.
  This makes it hard to boot from any CDROM until the CMOS gets
  changed back.
  
  As a computer user who is blind, this is annoying
  because one must look at the screen to set things back as there
  is no network interface or serial port or much of anything else
  up when in BIOS setup mode.
  
 
 Perhaps you should try editing your /etc/fstab and mounting the devices
 by their UUIDs, rather than their /dev/ names. I'd go into more detail,
 but I have to head out; a quick Google search for mounting by UUID
 should suffice.
 
AIUI, the problem is how to boot from CDROM instead of the hard drive.
Can grub, booted by the bios, then boot a CDROM, or a floppy?

Doug.


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



Re: tar up a symbolic linked directory

2009-05-03 Thread Douglas A. Tutty
On Sat, May 02, 2009 at 09:04:38PM +, T o n g wrote:
 Hi, 
 
 I want to tar up a symbolic linked directory as if it is a real
 directory. Is there any easy way to do it?
 
 Let me explain with an example (that you can try):
 
  mkdir d1
  touch d1/{a,b,c}
  ln -s c d1/d
  ln -s d1 d2
 
 I want that the result tar file looks like this:
 
  tar -tvzf d2.tgz
  drwxrwx--x tong/tong 0 2009-05-01 09:38 d2/
  -rw-rw tong/tong 0 2009-05-01 09:37 d2/a
  -rw-rw tong/tong 0 2009-05-01 09:37 d2/b
  -rw-rw tong/tong 0 2009-05-01 09:37 d2/c
  lrwxrwxrwx tong/tong 0 2009-05-01 09:38 d2/d - c
 
 Any easy way to do it? 

add -h to the tar parameters.  It dereferences the symbolic lyinks.
However, then you won't get the d2/d - c reference.

Doug.


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



Re: debian and ubuntu - answer from user not pretending to be guru

2009-05-03 Thread Douglas A. Tutty
On Sun, May 03, 2009 at 07:29:07AM -0500, John Hasler wrote:
 Bret Busby wrote:
  Before I try it, please advise whether, in removing the sudo facility for
  users, the package management (both adding/removing packages, and,
  downloading and installing updates, and using synaptic) will work by
  entering only the root password.
 
 The package management software just needs root privileges.  It doesn't
 care how it got them.
 
 Nobody is suggesting anything exotic here.  Sudo is intended to be
 configured by the system administrator.  That's you.

However, does the package management software (as aptitude does) store
user preferences in the home directory?  If, for example, you always run
aptitude as yourself then give it the root password when prompted, it
stores your preferences in your home directory.  If you later run
aptitude as root, those prefernces won't be active.  Also, vis-versa.

Doug.


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



Re: BSD handbook - was Re: debiantutorials.org seeks input and new blood

2009-05-02 Thread Douglas A. Tutty
On Sat, May 02, 2009 at 06:27:44AM -0500, Neal Hogan wrote:
 
 FYI - While many of the fBSD folks will tout there ports/package
 system, I found it to be a pain (especially the upgrade), as did many
 others. There has recently been some chatter on their general mailing
 list to overhaul how they handle packages. Again, I found oBSD's
 package handling system to be superior.
 
Last I looked (last week), OBSD doesn't have security updates (patches)
for their packages; they only provide patches for the base release.  If
you want to run -current, then the packages get security patches.  Since
I'm on dialup, that would mean a lot of bandwidth time; basically, every
time firefox or some third-party app required a security fix, I'd have
to download the source for _everything_ and recompile _everything_.  

I wish I had time to work out a system that would run on base OpenBSD
yet compile debs with OpenBSD's souped-up compiler.  Then one would have
the security of OpenBSD with good package security (Debian's security
team with OpenBSD's compiler, with good responsivness).

All the BSD's have a system to audit your installed packages for ones
listed in a database as being insecure but the follow-on of patches to
fix them is missing.

Doug.


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



Re: USB PCI card to buy: [SOLVED] Startech PCI625USB2I

2009-04-27 Thread Douglas A. Tutty
On Thu, Apr 09, 2009 at 10:01:40AM -0400, Douglas A. Tutty wrote:
 On Tue, Apr 07, 2009 at 10:52:41PM +0300, Dotan Cohen wrote:
  It's been a _long_ time since I've had a problem with a PCI USB card.
  If nobody pipes up with a negative, then I'd suggest that you give it
  a shot. The odds are in your favor.
  
  By the way, you may want to write to Belkin and ask them if the card
  will work with Linux. At the very least, you are expressing interest
  in having Belkin develop for Linux. They will never write works with
  Linux on the box if nobody is asking for it. Here is their address:
  http://www.belkin.com/contactus/index.asp
 
 Here's the reply I received from Startech:
 
 Both chipsets (Nvidia and NEC) are natively supported in the Linux =
 kernel since 2.4.x, but we do not directly support these cards in Linux, =
 nor have we tested with Debian, so compatibility cannot be guaranteed.
 
 Sincerely,
 Ray Aoki
 Technical Support Team
 StarTech.com
 Tel: 519 455-9675
 Tel: 800 265-1844
 Fax: 519 455-9425

The Startech PCI625USB2I 6-port (4 external, 2 internal) with the nVidia
chipset works just fine, using the normal usbcore module, handled
automatically by udev in Etch.

Just thought I'd close out this thread with a solution for the archive.

Thanks for your help.

Doug.


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



Re: debiantutorials.org seeks input and new blood

2009-04-27 Thread Douglas A. Tutty
On Sun, Apr 26, 2009 at 01:10:15PM -0400, JoeHill wrote:
 Dotan Cohen wrote: 
  Maybe you forgot how great of an OS Win98 was at the time.
 
 This has to be a joke. Win 98 wasn't even an operating system. It was an
 application that ran on top of DOS for pete's sake. 
 
  That was a different world than today, and even now seeing how responsive
  Win98 is on old hardware (it flies on 64 MiB RAM) it makes me wonder why
  Debian is sometimes sluggish on 512 MiB machines with 1 GHz
  procesors.
 
 What?? I seriously hope I'm misunderstanding you here. You're wondering why a
 modern, fully functional OS needs more resources than a flaky featurless GUI
 that was still running on top of 16 bit DOS code?

They call it progress.  95% of what I do with my computer is the same as
what I did on my 486.  Progress means that I now need a computer a
thousand times more powerful with five-hundred times more drive space to
do exactly the same thing.  

I would be very happy with Debian Woody (or even Potato) with security
updates only.

Then again, modern monitors won't plug into my 486 since it doesn't have
holes for all the pins on the D-sub.  Luckily, I have a few spare
monitors.

Doug.


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



Re: debiantutorials.org seeks input and new blood

2009-04-27 Thread Douglas A. Tutty
On Sun, Apr 26, 2009 at 11:27:24AM +0300, Dotan Cohen wrote:
 
 Document it all you want. But don't expect Joe Toothbrush to read it
 all. If one _wants_ go through pages upon pages of docs to create
 something new, that's great and the more the merrier. But if one
 _must_ go through the docs to use the product, then by virtue or
 Occam's razor the OS with the least documentation is the easiest to
 use.

I remember when I got OS/2.  It came with lots of books on the OS, to
which I added a full set of RedBooks, and I had to learn REXX, with its
own set of books and RedBooks.  I spent a week floating out in a canoe
(while the rest of the family had a reunion) reading.  

That was for my 386, back in the days when computers cost about what a
car did, and ram went for $1,000 / MB.  I forget how much AutoCad cost.

I'm one to read the 1000 page book cover-to-cover.  That way, I'll
rememeber a significant amount and know exactly where to look when I
need something I don't remember.

Doug.


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



Re: Installing on Compaq Armada 1500c - boot

2009-04-27 Thread Douglas A. Tutty
On Sat, Apr 25, 2009 at 07:51:06PM +0100, Nuno Magalh??es wrote:
 I have this old laptop laying around. Currently is has no CD drive and
 i'd hate to rely on floppies. It does have a working PCMCIA eth card
 and a minimal OpenBSD that sees my LAN.
 
 I can't access its BIOS and i doubt it has one... these laptops used
 to have the bios in a hdd partition and this one got a new drive a
 while ago. So, i'm kinda stranded on that but i doubt it supported PXE
 (my initial idea) anyway. The floppies i have laying around for the
 bios utilities are kinda corrupted and won't help much - creating a
 new bios partition would require unalocated diskspace anyway. Any
 suggestions for giving this laptop a bios would be appreciated.
 
 So then i decided maybe the bootloader could support PXE or some other
 form of booting, but i'm still searching for BSD stuff on that
 matter...

I'm assuming that you can't boot a USB stick.

The OpenBSD install floppy can give you a shell running OpenBSD in
memory.  From within that, you can probably get your network going.  You
should then be able to repartition the hard drive (using fdisk) to clear
out the OpenBSD install.  Then install debootstrap and run it.  It
should pull in a basic Debian system and install it on the drive.  See
the installation manual for the use of debootstrap (installing from
another flavour of UNIX).  

You may want to dd a copy of grub-disk (its a debian package) that gives
you a grub menu (editable) for booting an OS.

Doug.


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



Re: HP proliant ML115 G5 on debian lenny

2009-04-27 Thread Douglas A. Tutty
On Sat, Apr 25, 2009 at 03:09:28PM -0500, Zhengquan Zhang wrote:
 On Sat, Apr 25, 2009 at 10:03:21AM -0400, Douglas A. Tutty wrote:
 
  I don't keep a backup server in the safety deposit box :), I keep the
  backup media.  In this case, big USB stick (hard drives don't fit and
 
 This opens another option of using USB drive for very important data.
 But the capacity of USB sticks are small. 

Back to my question of what is the backup set size.  

Right now, I'm using 16 GB USB sticks, but larger are available (32, 64
MB).  

Before I got the sticks, I did a cost comparision between new USB sticks
and used LTO-1 tape drive ($250) and tapes.  The break-even point
assuming 2 sets (one at home, the other in the bank) was 72 GB.
However, USB sticks are a lot more robust than tapes.  Tapes should be
transported to the bank in a padded carrier, and don't drop them when
you transfer to the safety deposit box.

  Apparently, a number of data centers in the World Trade Centre had their
  off-site backup in the other tower.  Keep that in mind when you choose
  the different building.
 
 That is true. They two building should be of different heights.

:)

Doug.


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



Re: debiantutorials.org seeks input and new blood

2009-04-27 Thread Douglas A. Tutty
On Mon, Apr 27, 2009 at 09:57:40AM -0400, H.S. wrote:
 Douglas A. Tutty wrote:
 SNIP
  I'm one to read the 1000 page book cover-to-cover.  That way, I'll
  rememeber a significant amount and know exactly where to look when I
  need something I don't remember.
 
 Now a days google is a *huge* help in this.
 
Not if the book isn't on-line for google to index.


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



Re: debiantutorials.org seeks input and new blood

2009-04-27 Thread Douglas A. Tutty
On Mon, Apr 27, 2009 at 10:10:13AM -0400, Miles Fidelman wrote:
 H.S. wrote:
 Douglas A. Tutty wrote:
 On Sun, Apr 26, 2009 at 11:27:24AM +0300, Dotan Cohen wrote:

 Now a days google is a *huge* help in this.
   
 There's still something awfully useful and compelling about a serious 
 reference manual, all in one place, with a comprehensive 
 table-of-contents, detailed index, and embedded references.
 
Especially when the problem is that the computer won't boot, or can't
get on the internet to run google...

Doug.


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



Re: Poledit / GPO

2009-04-26 Thread Douglas Sales
Cara voce ta procurando na lista errada, isso e lista de discussao Debian e
nao Windows!

Acho que voce conseguira sanar suas duvidas no site do Techner.

[]s
dsales

2009/4/26 Flávio Barros flaviobar...@gmail.com

 Alguém tem experiência nesse assunto ?

 --
 Desde já agradeço,
 +++
 Flávio de Oliveira Barros
 Manaus - Amazonas - Brasil

 Copiar é bom!
 Seja Legal
 Use Software Livre



Re: HP proliant ML115 G5 on debian lenny

2009-04-25 Thread Douglas A. Tutty
On Fri, Apr 24, 2009 at 02:54:38PM -0500, Zhengquan Zhang wrote:
 On Fri, Apr 24, 2009 at 03:19:01PM -0400, Douglas A. Tutty wrote:
Well, debian has different requirements re licensing of modules.  Your
guess may be wrong if HP has provided a propriatary module for the
kernel that e.g. suse has included in its kernel but debian can't
include.  For some things (e.g. the nVidia driver), you can still get an
install done and add a module later; for the boot drive that becomes a
bit of a problem :)
 
 I understand what a boot drive is now. But I still do not understand why
 'for the boot drive that becomes a bit of a problem'. particularly I
 don't understand what 'that' refers to. Does that mean I will fail to
 install lenny on it or adding module on boot drive is more of a problem?

If the kernel needs a module to find the drive which will be the boot
drive, then the installer kernel would need the module before the
installer could find the disk on which to install.  I don't know if the
installer program has a means of adding a module then rescanning for
hard drives.

 
 
  3.  Copy the data from the backup server to some remote location 
  either with removable media or a second backup server at a
  remote location.  A lot of this depends on the size of the
  backup set and your options of remote location.  I keep a backup
  in the bank's safety deposit box.
 
 safety deposit box? are you serious:) so how to vent the heat?

I don't keep a backup server in the safety deposit box :), I keep the
backup media.  In this case, big USB stick (hard drives don't fit and
sticks are cheaper and more rugged than LTO-1 tapes [and no separate
drive required]).

 I will put the backup machine in a different building.

Apparently, a number of data centers in the World Trade Centre had their
off-site backup in the other tower.  Keep that in mind when you choose
the different building.


Another consideration:  Imagine that all you have is the backup media.
What info will you need to use that media to recreate the entire system?
Will you need any printed documentation to access the data on the media?
Will you need any special hardware (e.g. a tape drive of a particular
model) to access the media?  Is the data encrypted?  What happens if the
media is lost or stolen?  Here, media could be your disk array; they
still fit in a backpack.

Doug.


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



Re: HP proliant ML115 G5 on debian lenny

2009-04-24 Thread Douglas A. Tutty
On Thu, Apr 23, 2009 at 10:18:23AM -0500, Zhengquan Zhang wrote:
 Dear debian community,
 
 We plan to buy an HP proliant ML115 G5 for server backup.  The CPUs
 would be amd opteron 64bit. And there is embedded sata raid controller.
 I will use raid1 on two 1T harddrives.
 
 I would like to consult debian community to see if anyone have some
 experience with installing lenny on it. I searched debian wiki and other
 sites, but did not find specific info on this particular type of HP
 server. And on HP website, the debian compatible list does not include
 this type. I am especially concerned with the raid controller part. Will
 that work with lenny?

The only __definitive__ way to know would be to take the netinst CD to
the box, boot it up and check dmesg (and the installer screens) and see
if it sees the drives.  Note that embedded sata raid controllers are
generally fake raid.  You're better off just using them as normal disk
interfaces (don't try to configure as raid) and using software raid from
the installer CD.

Doug.


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



Re: HP proliant ML115 G5 on debian lenny

2009-04-24 Thread Douglas A. Tutty
On Fri, Apr 24, 2009 at 09:41:12AM -0500, Zhengquan Zhang wrote:
 On Fri, Apr 24, 2009 at 10:34:21AM -0400, Douglas A. Tutty wrote:
  The only __definitive__ way to know would be to take the netinst CD to
  the box, boot it up and check dmesg (and the installer screens) and see
  if it sees the drives.  Note that embedded sata raid controllers are
  generally fake raid.  You're better off just using them as normal disk
  interfaces (don't try to configure as raid) and using software raid from
  the installer CD.
 
 This is exactly what I want to know. I 'guess' if it officially supports
 redhat and suse, debian will have no problem seeing the hardware. But I
 am not sure about the so called embedded raid, and could you explain a
 little bit why it is 'fake'?

Well, debian has different requirements re licensing of modules.  Your
guess may be wrong if HP has provided a propriatary module for the
kernel that e.g. suse has included in its kernel but debian can't
include.  For some things (e.g. the nVidia driver), you can still get an
install done and add a module later; for the boot drive that becomes a
bit of a problem :)

So-called 'fake' raid is, as I understand it, hardware that allows you
to configure the raid in the bios, but the actual raid happens in
windows software rather than in the hardware.

 Also, is there any other penalty or downside for using software raid?
 As I know, for RAID 1, the performance is not affected much. 

There is very little performance difference for software raid.  Think
about two scenarios:

1.   hardware raid

application tells the OS to tell the logical drive
(device presented to the OS by the hardware raid card)
to store some data.  OS waits while the actual disks
store the data after the hardware has sent the data to
both disks.

2.  software raid

application tells the OS to tell the md (device
presented to the rest of the OS kernel by the software raid
portion of the OS kernel) to store some data.  The OS
waits while the md driver sends the data to both disks.


For there to be any observable performance hit, the wait while the data
is presented to each disk would have to be considerable; the wait while
the data goes to the disks is the same.
 
 And the server will merely be used for backup.
 
A couple of issues then.  

1.  Performance may or may not be an issue, depending on how many
other computers will be using the server for data backup at the
same time.  

2.  With hardware raid, unless the raid card can save the
configuration to each disk in the array, if something happens to
the card (which could happen if a drive fails and takes down the
controller), then the whole array could be caput if you put in a
new controller card.

3.  With software raid, the configuration is on the disk itself.
Pop those disks in a new box and they should work (assuming that
the new box's hardware can be booted by the old box's initrd).

4.  Hardware raid comes into its own with exotic raid types (e.g.
raid50 or raid60), with hot spares, hot swap, auto rebuild, etc.

5.  There has been some talk recently here on the increased
liklyhood of raid failue after a single drive failure.
Apparently, the time it takes for a replacment second drive to
rebuild makes the liklihood of the other drive failing before
the rebuild is complete of some concern with very large drive
sizes.  In this case, having three active raid1 drives with a
hot spare (4 drives total) is one way to mitigate this risk.

You may need to do lots of research depending on:

1.  The size of your backup set

2.  The importance of the data

3.  The number of locations of the backup data.


Good luck.

Doug.


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



Re: Boot Debian to a command line and prevent X from starting on boot

2009-04-24 Thread Douglas A. Tutty
On Fri, Apr 24, 2009 at 02:05:00PM -0400, debian debian wrote:

 On Fri, Apr 24, 2009 at 11:25 AM, Robert Menes
 viewtiful.icc...@gmail.com wrote:
  Hi folks, I have a Debian lenny-stable install that I need a little
  memory refresher with.
 
  I need to boot and go straight to a terminal, and not start X on
  bootup. I know there was a
  way of doing so, but I forgot (I'm a little rusty and need to not be rusty).
 
  Can someone tell me how to just boot and land on the command line,
  bypassing X? Thanks!

 You could always boot into single user mode (add single or s to
 the kernel boot options)
 
Never having used an X login manager (only using startx), I don't know
if single works.  Therefore, if you find that you still get X, then
add init=/bin/sh to the kernel command line.

This will mean that init does not start, and therefore no initscripts
run.  You will have to mount your / drive (or manually run each
initscript in order with the start parameter) before you can edit any
files.

When done, you can exec init to get going again.

Doug.


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



Re: HP proliant ML115 G5 on debian lenny

2009-04-24 Thread Douglas A. Tutty
On Fri, Apr 24, 2009 at 01:41:45PM -0500, Zhengquan Zhang wrote:
 On Fri, Apr 24, 2009 at 02:10:41PM -0400, Douglas A. Tutty wrote:
 
 Thank you very much for your reply!
 
  Well, debian has different requirements re licensing of modules.  Your
  guess may be wrong if HP has provided a propriatary module for the
  kernel that e.g. suse has included in its kernel but debian can't
  include.  For some things (e.g. the nVidia driver), you can still get an
  install done and add a module later; for the boot drive that becomes a
  bit of a problem :)
 
 My plan is to use the 250G harddrive as system drive and use 2x1T
 dardrives to do RAID 1 backup for several other servers. So what do you
 mean by 'for the boot drive'? 

The boot drive is whatever drive the system boots with.  In the model
you're describing, it would be the 250 GB hard drive.  Note, that for a
simple backup server, any drive over 1 GB (say 6 GB) will hold all the
system you need.

For extra redundancy, you may want to experiment and try installing a
system onto a 6 GB partition on one of the drives.  I bet you'll find it
more than big enough.  You could then reinstall, but put a 6 GB (or 10 or
12, whatever) partition at the beginning of each drive, in a raid1
fashion.  In this way, if any drive fails, you'll still be able to boot
the system.

  So-called 'fake' raid is, as I understand it, hardware that allows you
  to configure the raid in the bios, but the actual raid happens in
  windows software rather than in the hardware.
  
 
 Could you please explain 'in windows software' a little bit? Does that
 means the processing for raid is done in CPU rather that in the RAID
 controller?

Yes, with fake raid, the hardware can't do any raid processing.  It is
done by the main CPU just as in normal software raid.

   And the server will merely be used for backup.
   
  A couple of issues then.  
  
  1.  Performance may or may not be an issue, depending on how many
  other computers will be using the server for data backup at the
  same time.  
 
 three linux servers(1 development server 1 mail and web server and 1
 misc server) will be backing up their data to the back up server I
 purchase.

Will they be backing-up at once or one-at-a-time?

If one-at-a-time, then unless those servers are using raid striping, the
throughput of the servers' hard disk will be similar to the throughput
of the backup server's hard disk.  However, if all three boxes will be
spitting data to the backup server as fast as their hard drive (and
network) can move the data, then the backup server will need to be of
higher performance if it to avoid being a bottleneck.

  2.  With hardware raid, unless the raid card can save the
  configuration to each disk in the array, if something happens to
  the card (which could happen if a drive fails and takes down the
  controller), then the whole array could be caput if you put in a
  new controller card.
 
 So this must be the downside of using hardware RAID?
 
Unless the card can safe the config to the actual disks.  

Another is that the raid cards have their own cache.  If you don't have
a UPS, then you'll want to set up the cache so that they don't tell the
OS that the data is on disk until it really is on disk (not just in its
cache), unless you get a raid card with a battery backup for its cache.

  3.  With software raid, the configuration is on the disk itself.
  Pop those disks in a new box and they should work (assuming that
  the new box's hardware can be booted by the old box's initrd).
 
 This is great!
 
  
  4.  Hardware raid comes into its own with exotic raid types (e.g.
  raid50 or raid60), with hot spares, hot swap, auto rebuild, etc.
 
 I will only use raid 1, that is because this is simple and effective as
 it appears.

However, re performance (above), if you have three boxes streaming data
to the backup server, you may want raid10 (which you can do with
software raid) or raid 50, or raid60 (which can handle multiple drive
failures).  Its always a trade-off.

  2.  The importance of the data
 
 mailing list archives, web data, database, svn repos.. home
 directories.. They are very important and I can not afford to lose any
 of them.
 
  
  3.  The number of locations of the backup data.
  
 
 What do you mean by this? Is it ok to put all of the backup in one
 backup server?

That means a single point of failure.  What happens if the power supply
fries the whole backup server?

Think of it as several steps:

1.  Backup the data, somewhere on the same box (optional)

2.  Copy the backup data to the backup server.

3.  Copy the data from the backup server to some remote location 
either with removable media or a second backup server at a
remote location.  A lot of this depends on the size of the
backup set and your options of remote location.  I keep a backup
in the bank's safety deposit box.



-- 
To UNSUBSCRIBE, email to debian

Re: debian with raid1+cryptsetup+lvm on notebook?

2009-04-21 Thread Douglas A. Tutty
On Tue, Apr 21, 2009 at 12:39:38PM +0200, Peter Jordan wrote:
 Hello,
 
 since my ThinkPad T400 has two 250GB HD, i considered to install debian 
 testing with raid1+cryptsetup+lvm on it.
 
 Has anyone experience with that kind of setup?
 
 Any significant reasons against my plan?

Sounds like a good idea.  I think that the installer has that
out-of-the-box as one of the guided-partitioning options.  If not, you
can certainly do it manually.

This came up not that long ago.  It was suggested that having /
encrypted can prevent someone trojaning executables on / (e.g. /bin/ls).
However, since you need an unencrypted /boot, then someone could trojan
the kernel or the initrd itself (perhaps to email the attacker the
password you enter to decrypt the filesystem), who knows?

I suppose that you could have /boot on a USB stick so that without the
stick, the laptop won't boot and there won't be any unencrypted data on
the laptop.  There's good LUKS documentation: read it.

I'm sure that this has been (and is being) looked at by people with a
particular interest in laptop security.  Just don't assume that
raid1+crypsetup+lvm will make your laptop absoulutly secure.

Doug.


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



  1   2   3   4   5   6   7   8   9   10   >