xen 3.1 - stable?

2007-08-30 Thread Frank
What's the problem whith xen 3.1? Does it run not  stable? Does sombody 
use xen 3.1   productive?


The install scirpt seems to be better than from 3.0.3.1 the xen etch 
installer because it recognices software raid devices and does'nt change 
them as the xen 3.0.3.1 installer does.



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Better iptables firewall

2007-08-30 Thread ndemou
On 8/30/07, Michael Pobega <[EMAIL PROTECTED]> wrote:
> [...]
> I'm hoping some seasoned Debian sysadmins out there can help me by
> advising me on how to better setup iptables...My current setup is:

quite some info you can find here
Securing Debian howto
http://www.debian.org/doc/manuals/securing-debian-howto/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: make or preprocessor error - ddrescue-1.5

2007-08-30 Thread 应富鸣
Can you tell us the version of your Debian?
Mine is Lenny(testing). I tried to compile ddrescue-1.5.
My information is below:
[EMAIL PROTECTED]:~/ddrescue/ddrescue-1.5$ ./configure

creating config.status
creating Makefile
VPATH = .
prefix = /usr/local
exec_prefix = $(prefix)
bindir = $(exec_prefix)/bin
datadir = $(prefix)/share
infodir = $(datadir)/info
mandir = $(datadir)/man
sysconfdir = $(prefix)/etc
CC = gcc
CXX = g++
CPPFLAGS =
CFLAGS = -Wall -W -O2
CXXFLAGS = -Wall -W -O2
LDFLAGS =
OK. Now you can run make.
[EMAIL PROTECTED]:~/ddrescue/ddrescue-1.5$ make
g++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
g++  -Wall -W -O2 -c -o block.o block.cc
g++  -Wall -W -O2 -c -o ddrescue.o ddrescue.cc
g++  -Wall -W -O2 -c -o logbook.o logbook.cc
g++  -Wall -W -O2 -DPROGVERSION=\"1.5\" -c -o main.o main.cc
g++  -o ddrescue arg_parser.o block.o ddrescue.o logbook.o main.o

It succeeded. Could you install g++ and try again?


On 8/29/07, Adam W <[EMAIL PROTECTED]> wrote:
> For the recovery I am trying to do the direct disc accrss ability of
> ddrescue-1.[4|5] is recomended. I have the same problems when I try
> 1.4. The stable / testing / unstabe only have ddrescue-1.2x. So, I got
> ddrescue-1.5 from GNU.
>
> Thanks.
>
> I extract the archive and cd to the directory.
>
> $ ./configure
>
> creating config.status
> creating Makefile
> VPATH = .
> prefix = /usr/local
> exec_prefix = $(prefix)
> bindir = $(exec_prefix)/bin
> datadir = $(prefix)/share
> infodir = $(datadir)/info
> mandir = $(datadir)/man
> sysconfdir = $(prefix)/etc
> CC = gcc
> CXX = c++
> CPPFLAGS =
> CFLAGS = -Wall -W -O2
> CXXFLAGS = -Wall -W -O2
> LDFLAGS =
> OK. Now you can run make.
> $ make
> c++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
> make: c++: Command not found
> make: *** [arg_parser.o] Error 127
> $
>
> apt-cache serch c++ didn't help me
> I have cpp and gcc installed in /usr/bin/
> So, I try linking them with c++
>
> $ su
> # ln -T /usr/bin/cpp /usr/bin/c++ && make && install
> c++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
> c++: "-c" is not a valid option to the preprocessor
> make: *** [arg_parser.o] Error 1
> # rm /usr/bin/c++ && ln -T /usr/bin/gcc /usr/bin/c++ && make && install
> c++  -Wall -W -O2 -c -o arg_parser.o arg_parser.cc
> c++: error trying to exec 'cc1plus': execvp: No such file or directory
> make: *** [arg_parser.o] Error 1
> #
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: i686 Port

2007-08-30 Thread Jörg-Volker Peetz
Gregory Seidman wrote:
> On Tue, Aug 28, 2007 at 04:06:10PM +0100, Richard Thompson wrote:
>> I was wondering why debian doesn't have a port of packages optimised for
>> i686, I realise they have support for i386, which obviously incudes
>> everything from an intel 386 to the latest and greatest intel and amd
>> processors (running in 32bit), ultimatley the i686 already has 'support'
>> however I just thought it would be great if a port was available where
>> the packages had been compiled specifically for i686 as I have noticed
>> that when I use i686 optimised distro's such as arch, or even slackware
>> there is a noticable performance difference.
> 
> This comes up on the list from time to time. The general answer is that
> packages that benefit from processor-specific compilation (e.g. the kernel,
> Marillat's mplayer "unofficial" packages, etc.) do exist in
> processor-specific forms. The vast majority of packages, however, do not
> benefit sufficiently from processor-specific compilation to justify the
> complication of supporting extra versions of the packages, much less the
> infrastructure to automatically select the correct package for your
> processor when using apt.
> 
>> Richard Thompson
> --Greg

The installation manual
(http://www.de.debian.org/releases/stable/i386/ch02s01.html.en) says
that the "i386" architecture packages support *i486* processors and later.
There is also a libc6-686 package optimized for i686.
-- 
Regards,
Jörg-Volker.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



xen or xen-vserver - difference?

2007-08-30 Thread Frank

What the differece between this packages?

xen-linux-system-2.6.18-5-xen-686 - XEN system with Linux 2.6.18 image 
on i686
xen-linux-system-2.6.18-5-xen-vserver-686 - XEN system with Linux 2.6.18 
image on i686



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: xen or xen-vserver - difference?

2007-08-30 Thread Sylvain Le Gall
On 30-08-2007, Frank <[EMAIL PROTECTED]> wrote:
> What the differece between this packages?
>
> xen-linux-system-2.6.18-5-xen-686 - XEN system with Linux 2.6.18 image 
> on i686
> xen-linux-system-2.6.18-5-xen-vserver-686 - XEN system with Linux 2.6.18 
> image on i686
>
>

XEN is a patch on the linux kernel to enable running linux as domX 
vserver is a patch on the linux kernel to create vserver in linux (sort
of super chroot).

-xen-686 is a package with only the first patch
-xen-vserver-686 is a package with the two patches

Have a look at :
http://linux-vserver.org/
http://www.cl.cam.ac.uk/research/srg/netos/xen/

(in fact xen+vserver is a proof of concept that you can build a kernel
with this two patches)

Regards,
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



hdparm configuration help

2007-08-30 Thread Joris Huizer
Hello,

After the recent udev + hdparm problems, I'm thinking
of reconfiguring hdparm (hdparm currently is not
configured, just reinstalled, so I'm assuming it's
currently using default settings)


This is the output of `hdparm -v -i /dev/hda`:


/dev/hda:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 78165360, start
= 0

 Model=IC35L040AVER07-0, FwRev=ER4OA46A,
SerialNo=SXPTX283824
 Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs
}
 RawCHS=16383/16/63, TrkSize=0, SectSize=0,
ECCbytes=40
 BuffType=DualPortCache, BuffSize=1916kB,
MaxMultSect=16, MultSect=off
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes,
LBAsects=78165360
 IORDY=on/off, tPIO={min:240,w/IORDY:120},
tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
udma3 udma4 *udma5 
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-5 T13 1321D revision 1: 
ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5

 * signifies the current active mode


/dev/hdb:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 80293248, start
= 0

 Model=Maxtor 2F040J0, FwRev=VAM51JJ0,
SerialNo=F10SPCNE
 Config={ Fixed }
 RawCHS=16383/16/63, TrkSize=0, SectSize=0,
ECCbytes=57
 BuffType=DualPortCache, BuffSize=2048kB,
MaxMultSect=16, MultSect=off
 CurCHS=4047/16/255, CurSects=16511760, LBA=yes,
LBAsects=80293248
 IORDY=on/off, tPIO={min:120,w/IORDY:120},
tDMA={min:120,rec:120}
 PIO modes:  pio0 pio1 pio2 pio3 pio4 
 DMA modes:  mdma0 mdma1 mdma2 
 UDMA modes: udma0 udma1 udma2 udma3 udma4 udma5 udma3
udma4 udma5 *udma6 
 AdvancedPM=yes: disabled (255) WriteCache=enabled
 Drive conforms to: ATA/ATAPI-7 T13 1532D revision 0: 
ATA/ATAPI-1 ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4
ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

 * signifies the current active mode


Could someone tell me what settings are appropiate for
my hard discs? I tried before with, what didn't really
seem to push things, but problems with modules not
loading reappeared

Thanks,

Joris



   

Building a website is a piece of cake. Yahoo! Small Business gives you all the 
tools to get online.
http://smallbusiness.yahoo.com/webhosting 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: xen or xen-vserver - difference?

2007-08-30 Thread askxuefeng
 On 30-08-2007, Frank <[EMAIL PROTECTED]> wrote:
> What the differece between this packages?
>
> xen-linux-system-2.6.18-5-xen-686 - XEN system with Linux 2.6.18 image 
> on i686
> xen-linux-system-2.6.18-5-xen-vserver-686 - XEN system with Linux 
> 2.6.18 image on i686
>
>
> 
> XEN is a patch on the linux kernel to enable running linux as domX vserver
is a patch on the linux kernel to create vserver in linux (sort of super
chroot).
> 
> -xen-686 is a package with only the first patch
> -xen-vserver-686 is a package with the two patches
> 
> Have a look at :
> http://linux-vserver.org/
> http://www.cl.cam.ac.uk/research/srg/netos/xen/
> 
> (in fact xen+vserver is a proof of concept that you can build a kernel
with this two patches)
> 
> Regards,
> Sylvain Le Gall

if i want to install xen on debian and make windows xp as guest operating
system, which packages should i install?
i saw someone said:
xen-linux-system-2.6.8-5-xen-686
libc6-xen
bridge-utils
xen-tools
xen-ioemu-3.0.3-1

but i don't know what these packages use for.

thanks in advance.

  yours,
xuefeng.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what is /command directory?

2007-08-30 Thread Mark Neidorff
On Saturday 25 August 2007 07:52 pm, Richard Lyons wrote:
> I just noticed with a sinking feeling that my root partition is 96% full.
> I do wish I hadn't let the installer use LVM and choose its own sizes.
> Now I am stuck trying to work round its choices.  I also notice a number
> of directories I've never heard of before under root:
>command, package, service
>
> 'service' contains a symlink to /etc/tinydns, left over from an attempt
> to install tinydns, I assume.  Is it likely the others also belong to
> tinydns, because if so I can delete them as it didn't run anyway.
>
> TIA
> --
> richard

On my system, /service and /command are each 4k since they only contain 
links.  /package is 1.8M. 
Check yours from a terminal (as root) with:
#du -h /command
#du -h /service
#du -h /package
These directories belong to the DJB series of packages, so if you are not 
using tinydns, you can remove them, but you will be saving very little space.

Mark


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xen or xen-vserver - difference?

2007-08-30 Thread Sylvain Le Gall
Hello,

On 30-08-2007, askxuefeng <[EMAIL PROTECTED]> wrote:
>  On 30-08-2007, Frank <[EMAIL PROTECTED]> wrote:
>> What the differece between this packages?
>>
>> xen-linux-system-2.6.18-5-xen-686 - XEN system with Linux 2.6.18 image 
>> on i686
>> xen-linux-system-2.6.18-5-xen-vserver-686 - XEN system with Linux 
>> 2.6.18 image on i686
>>
>>
>> 
>> XEN is a patch on the linux kernel to enable running linux as domX vserver
> is a patch on the linux kernel to create vserver in linux (sort of super
> chroot).
>> 
>> -xen-686 is a package with only the first patch
>> -xen-vserver-686 is a package with the two patches
>> 
>> Have a look at :
>> http://linux-vserver.org/
>> http://www.cl.cam.ac.uk/research/srg/netos/xen/
>> 
>> (in fact xen+vserver is a proof of concept that you can build a kernel
> with this two patches)
>> 
>> Regards,
>> Sylvain Le Gall
>
> if i want to install xen on debian and make windows xp as guest operating
> system, which packages should i install?
> i saw someone said:
> xen-linux-system-2.6.8-5-xen-686
> libc6-xen
> bridge-utils
> xen-tools
> xen-ioemu-3.0.3-1
>
> but i don't know what these packages use for.
>

Unfortunately, i stop using xen because it doesn't fit my need and was
not as flexible and lightweight as vserver is (but you can run
only linux distribution inside this kind of super chroot).

Using my ancient memory, i can try to guess something:
- xen-linux-system-2.6.8-5-xen-686: the kernel
- libc6-xen: the libc6 you need to use with the kernel above
- bridge-utils: what you need to create bridged network to make
  domU/dom0 communicate through a kind of network
- xen-tools: some utils to manage xen
- xen-ioemu: tools to use the Intel VT technologies (but i never use it,
  so it is really a guess)

I think, all this packages are mandatory.

Take a look at:
http://wiki.debian.org/Xen
http://wiki.debian.org/DebianInstaller/Xen

Regards,
Sylvain Le Gall


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Garmin GPS on USB port

2007-08-30 Thread Douglas A. Tutty
On Wed, Aug 29, 2007 at 09:57:45PM -0400, Bernard wrote:
> On 8/29/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > On Wed, Aug 29, 2007 at 09:16:14PM -0400, Bernard wrote:
> > >
> > > problem.  Eventually, I will have to plug my GPS on a laptop with
> > > USB port only so I have to find a solution.  According to a few
> > > things read on the web I have to load the garmin_gps module.  I
> > > did it with succes but the documentation found said to use
> > > /dev/ttyUSB? which device I don't have.  Maybe I still have a few
> > > things to understand about the USB devices and udev!

> > Your documentation may not have taken udev into account.  Assuming
> > that you're using standard Etch, run tail -f /var/log/syslog and
> > then plug in the gps and see if a message appears that tells you
> > what device it connects to.  I've never hooked my GPS up to the
> > computer.  However, for comparison, my Palm comes up as something
> > like /dev/pilot.
> 
> Ok, here is what I got from syslog:
> 
> Aug 29 21:53:15 zherc kernel: usb 1-2: USB disconnect, address 3 Aug
> 29 21:53:28 zherc kernel: usb 1-2: new full speed USB device using
> uhci_hcd and address 4 Aug 29 21:53:28 zherc kernel: usb 1-2:
> configuration #1 chosen from 1 choice
> 
> Do you seen something useful from this?
> 

There were no further messages?

Does the Debian gpsman or gpsd package documents have anything to suggest?
I note that many of the packages found with aptitude search ~dgarmin
mention attaching a GPS via serial port however gpsd says serial or USB.
Perhaps the documentation in that package will give you some pointers.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: what is /command directory?

2007-08-30 Thread Richard Lyons
On Thu, Aug 30, 2007 at 05:58:13AM -0400, Mark Neidorff wrote:

> On Saturday 25 August 2007 07:52 pm, Richard Lyons wrote:
> > I just noticed with a sinking feeling that my root partition is 96% full.
> > I do wish I hadn't let the installer use LVM and choose its own sizes.
> > Now I am stuck trying to work round its choices.  I also notice a number
> > of directories I've never heard of before under root:
> >command, package, service
> >
> > 'service' contains a symlink to /etc/tinydns, left over from an attempt
> > to install tinydns, I assume.  Is it likely the others also belong to
> > tinydns, because if so I can delete them as it didn't run anyway.
> >
> > TIA
> > --
> > richard
> 
> On my system, /service and /command are each 4k since they only contain 
> links.  /package is 1.8M. 
> Check yours from a terminal (as root) with:
> #du -h /command
> #du -h /service
> #du -h /package
> These directories belong to the DJB series of packages, so if you are not 
> using tinydns, you can remove them, but you will be saving very little space.

Thanks Mark.  I have now removed them -- and a stack of symlinks to them
in /usr/bin /usr/local/bin and so on.  And then I remembered I had to
purge package djbinstaller as well!  Pity it never worked though --
people who use tinydns speak well of it.

No, you are right, it saves little space, but it does tidy things up and
remove some non FHS directories.

-- 
richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Better iptables firewall

2007-08-30 Thread Douglas A. Tutty
On Thu, Aug 30, 2007 at 12:25:25AM -0400, Michael Pobega wrote:
> Currently I'm using iptables as my main firewall, and I'm having no
> trouble with it whatsoever. But lately (Since college has started) I've
> been connecting to a lot more networks, with more peers connected. I'm
> worried about somebody breaking through the security on my laptop and
> doing something malicious.
> 
> I'm hoping some seasoned Debian sysadmins out there can help me by
> advising me on how to better setup iptables...My current setup is:
> 
> 
> # Generated by iptables-save v1.3.6 on Mon Jun 18 09:55:18 2007
> *filter
> :INPUT DROP [0:0]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [35639:3072343]
> -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A INPUT -i lo -j ACCEPT
> -A INPUT -p icmp -m limit --limit 1/sec -j ACCEPT
> -A INPUT -p icmp -j DROP
> #-A INPUT -p tcp -m tcp --dport 5030 -j ACCEPT
> #-A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
> #-A INPUT -p tcp -m tcp --dport 15000 -j ACCEPT
> COMMIT
> # Completed on Mon Jun 18 09:55:18 2007
> 
> The commented rules are uncommented in my ruleset for home (I only have
> those ports forwarded on my home router, so opening them outside is a 
> potential security hazard)
> 
 
It looks like you're allowing unlimited output which means that if
something does break into your system then they can use your system to
spit stuff out without you knowing.  Overall, it seems like very few
rules.

Personally, I use shorewall to setup my netfilter rules.  If nothing
else, you probably should install the shorewall-doc package since it
covers the subject very well.  Here are my relavent shorewall configs
with the pramble-comments removed.  This box is my main box and also
acts as a firewall for the rest of the network.

Policy first:
###
#SOURCE DESTPOLICY  LOG LIMIT:BURST
#   LEVEL
loc net REJECT  info
fw  net REJECT  info
net all DROP -
all all REJECT  info
#LAST LINE -- DO NOT REMOVE

Then the rules:
#
#ACTION SOURCE  DESTPROTO   DESTSOURCE  
ORIGINALRATEUSER/
#   PORT(S) PORT(S) DEST
LIMIT   GROUP
#SECTION ESTABLISHED
#SECTION RELATED
SECTION NEW
DNS/ACCEPT  loc fw
DNS/ACCEPT  loc net
DNS/ACCEPT  fw  net
DNS/ACCEPT  fw  loc
SSH/ACCEPT  loc fw
SSH/ACCEPT  fw  loc
NTP/ACCEPT  fw  net
NTP/ACCEPT  fw  loc
NTP/ACCEPT  loc fw
POP3/ACCEPT fw  net
POP3/ACCEPT fw  loc
POP3/ACCEPT loc fw
POP3S/ACCEPTfw  net
POP3S/ACCEPTfw  loc
POP3S/ACCEPTloc fw
SMTP/ACCEPT loc fw
SMTP/ACCEPT fw  net
SMTP/ACCEPT fw  loc
SMTPS/ACCEPTloc fw
SMTPS/ACCEPTfw  net
SMTPS/ACCEPTloc fw
Syslog/ACCEPT   fw  loc
Syslog/ACCEPT   loc fw
FTP/ACCEPT  loc net
FTP/ACCEPT  fw  net
FTP/ACCEPT  fw  loc
Ping/ACCEPT loc net
Ping/ACCEPT fw  net
Ping/ACCEPT loc fw
Ping/ACCEPT fw  loc
HTTP/ACCEPT fw  net
HTTP/ACCEPT loc net
HTTP/ACCEPT fw  loc
HTTPS/ACCEPTfw  net
HTTPS/ACCEPTloc net
HTTPS/ACCEPTfw  loc
Rsync/ACCEPTloc net
Rsync/ACCEPTloc fw
Rsync/ACCEPTfw  net
Rsync/ACCEPTfw  loc
Trcrt/ACCEPTloc net
Trcrt/ACCEPTfw  net
Trcrt/ACCEPTloc fw
Trcrt/ACCEPTfw  loc
ACCEPT  fw  loc tcp printer
ACCEPT  loc fw  tcp printer
# for GnuPG (OpenPGP) to retreive/send keys to key server
ACCEPT  fw  net tcp 11371
ACCEPT  fw  net udp 11371
ACCEPT  loc net tcp 11371
ACCEPT  loc net udp 11371
#LAST LINE -- ADD YOUR ENTRIES BEFORE THIS ONE -- DO NOT REMOVE


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: how to provide extra library paths?

2007-08-30 Thread P Kapat
I forgot to "Reply All" my previous mail. Here it is:

Hi Michael,

On 8/29/07, Michael Marsh <[EMAIL PROTECTED]> wrote:
> On 8/29/07, P Kapat <[EMAIL PROTECTED]> wrote:
> > I have the following lines in .bash_profile (bash is my default shell):
> >   export LD_LIBRARY_PATH=$HOME/usr/lib:$HOME/usr/local/lib
> >   export LD_LIBRARYPATH="Nonsense" # just a stub
> > When I log into this machine from a VT or remotely (ssh) I have
> > LD_LIBRARY_PATH as expected (as well as LD_LIBRARYPATH). But, when I
> > login locally (to a KDE session) and start a konsole (or xterm)
> > LD_LIBRARY_PATH is absent, LD_LIBRARYPATH is present though.
> >
> > If I have the same lines in .bashrc, then both the variables are
> > present in konsole/xterm. So, something is "unset"ing LD_LIBRARY_PATH
> > after .bash_profile is executed.
>
> I'd guess the problem is just the opposite.  Your .bash_profile is
> only being executed for login shells.  If KDE isn't starting login
> shells, then only your .bashrc is being executed.

I am not quite sure about that because I have a lot of other variables
and things in .bash_profile which is available from konsole or xterm.
For example, my PATH is being set in
.bash_profile which ofcourse is available from konsole or xterm. And
.bashrc is being sourced inside .bash_profile.

> Is there a reason that you don't want to set this in .bashrc?

Not really! I am living that way right now. But ideally, a library
path need be defined once, shouldn't it?

> If so, you can probably
> change some resource (I'm not familiar with KDE) so that starting
> konsole or xterm opens a login shell, rather than the default
> non-login.  For xterm, the option is "-ls".  You might be able to set
> this from X resources as
> XTerm*loginShell: true

I will look into that soon.

> Of course, the fact that you're getting LD_LIBRARYPATH set seems a bit
> odd (to me, at least).  Does it have the value you set in
> .bash_profile?

Yes.

> Is that a KDE-standard variable?

Of course not! I was just playing with the variable name :) In fact,
as I mentioned earlier, I do have other variables (exported) in
.bash_profile which are available (with their appropriate values)
inside konsole or xterm.

--
Regards
PK
--
http://counter.li.org  #402424


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Garmin GPS on USB port

2007-08-30 Thread Philippe Marzouk
On Thu, Aug 30, 2007 at 10:26:12AM +, Douglas A. Tutty wrote:
> On Wed, Aug 29, 2007 at 09:57:45PM -0400, Bernard wrote:
> > On 8/29/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > > On Wed, Aug 29, 2007 at 09:16:14PM -0400, Bernard wrote:
> > > >
> > > > problem.  Eventually, I will have to plug my GPS on a laptop with
> > > > USB port only so I have to find a solution.  According to a few
> > > > things read on the web I have to load the garmin_gps module.  I
> > > > did it with succes but the documentation found said to use
> > > > /dev/ttyUSB? which device I don't have.  Maybe I still have a few
> > > > things to understand about the USB devices and udev!
> 
> > > Your documentation may not have taken udev into account.  Assuming
> > > that you're using standard Etch, run tail -f /var/log/syslog and
> > > then plug in the gps and see if a message appears that tells you
> > > what device it connects to.  I've never hooked my GPS up to the
> > > computer.  However, for comparison, my Palm comes up as something
> > > like /dev/pilot.
> > 
> > Ok, here is what I got from syslog:
> > 
> > Aug 29 21:53:15 zherc kernel: usb 1-2: USB disconnect, address 3 Aug
> > 29 21:53:28 zherc kernel: usb 1-2: new full speed USB device using
> > uhci_hcd and address 4 Aug 29 21:53:28 zherc kernel: usb 1-2:
> > configuration #1 chosen from 1 choice
> > 
> > Do you seen something useful from this?
> > 
> 
> There were no further messages?
> 
> Does the Debian gpsman or gpsd package documents have anything to suggest?
> I note that many of the packages found with aptitude search ~dgarmin
> mention attaching a GPS via serial port however gpsd says serial or USB.
> Perhaps the documentation in that package will give you some pointers.
> 

Depending on the package he may have to modprobe garmin_gps to get
/dev/ttyUSB0
Other programs can access directly the gps through libusb (gpsbabel for
instance).

http://www.gpsbabel.org/os/Linux_Hotplug.html

Philippe


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Richard Lyons
On Thu, Aug 30, 2007 at 01:00:44AM +0200, Florian Kulzer wrote:

> On Tue, Aug 28, 2007 at 20:09:03 +0100, Richard Lyons wrote:
> > On Sun, Aug 26, 2007 at 12:27:32AM +0200, Florian Kulzer wrote:
> > > # activated by this option in ~/.muttrc:
> > > # set sendmail="/path/to/sendmail-via-ssh.sh"
> > > 
> > > cat - | ssh myvm "/usr/sbin/sendmail -oem -oi $@"
[...]
> > I assume this script is intended to address a real sendmail or exim4,
> > rather than the msmtp installed for the trial of method 1.  As I read
> > the manual, the -oem -oi options are not relevant to msmtp.
> 
> Yes, it should just be
> 
> cat - | ssh myvm "/usr/bin/msmtp $@"
[...]
> 
> > So I think I really need the ssh-agent.  Help anybody?
> 
> Ssh-agent is part of the openssh-client package. It should be started
> with every X session by the /etc/X11/Xsession.d/90x11-common_ssh-agent
> script. (See "ps -e | grep ssh-agent".)

Oh yes, I see it is set up to start if available...
> 
> However, ssh-agent needs a frontend to handle the interaction with the
> user when a passphrase for a private key has to be entered. This seems
> to be what you are missing. Install one of the packages that provide
> "ssh-askpass":

I installed gtk-led-askpass and added a line "/usr/bin/gtk-led-askpass" in
~/GNUstep/Library/WindowMaker/autostart, but this simply caused Xwindows
to open in a frozen state (waiting for my response on a non-visible
window, I assume since the ssh-agent process was running). This is
probably easy enough to resolve, but it will still require me to enter
the reasonably secure passphrase (read "excessively long") that I chose,
so perhaps I shall stay with method 1, the ssh tunnel, which works
easily enough.

The only thing that would make it more convenient still would be if I
could see how to write scripts to open and close the tunnel.  They would
need to check if it is already open first.  When opening or closing the
tunnel the scripts would also set sendmail= apropriately.  Then I could
map them to hotkeys in mutt.  When I am attached to our home network, I
can send direct, but when I am on a laptop elsewhere or in Italy I need
to use the tunnelling.  So the possibility of easy switching would be
useful.

-- 
richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Nouveau mail

2007-08-30 Thread Dsapi Dsapi
Bonjour à tous.

Je tiens à vous informer que les nouvelles concernant les sites vous seront
envoyés par le biais du mail : [EMAIL PROTECTED]

Celui-ci restant réservé pour le service clientèle des sites.

Le spam sera DETRUIT DEFINITIVEMENT, sans réponse.

Merci pour votre compréhension.

Dsapi

-- 
Business at :
http://www.net-working.fr/ (French Website)
http://www.net-business.ws/ (English Website)


xen kernel security

2007-08-30 Thread Frank
I'm wondering about the old xen kernel. What's about the security 
patches which are implemented in the standard kernel? Do the debian xen 
packages contains this patches or is it only the old kernel 2.6.18.5?


Is the debian xen 2.6.18.5 kernel the same as the official xen 2.6.18.5 
kernel?



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Ping my modem........

2007-08-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/29/07 21:05, Charlie wrote:
> On Wednesday 29 August 2007 23:31, Ron Johnson shared this with us all:
>> --} Thanks Ron,
>> --} >
>> --} > I am still learning to use it.
>> --}
>> --} Either I'm a Unix wizard, or it's really pathetically simple to use.
>> --}
>> --}   $ mtr www.cox.net
>> --}
>> --}   $ mtr -r www.cox.net
>> --}
>> --}   $ mtr -n www.cox.net
>> --}
>> --}   $ mtr 70.168.47.91
>> --}
>> --} There's more, but that'll do 99.5% of what you'll ever need it to do
>> --} for you.
>> --}
>> --} --
>> --} Ron Johnson, Jr.
>> --} Jefferson LA  USA
> 
> 
> Thanks Ron,
> 
> You are and I am pathetically simple and uneducated to boot. :-)
> 
> What you posted is what I used.
> 
> I hadn't tried the -n switch though. I don't think I need it for my modem 
> address.
> 
> Practicing a bit of pinging and mtring now. Just in case I require it for 
> future use.

Nah.  You're probably "just" a nervous ex-Windows user.

But hey, bravo for running "xterm" and using the CLI

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

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

iD8DBQFG1rufS9HxQb37XmcRAg/sAKCyie5sYeJOUFeDBHU3fcH8GoN5nwCaAxlf
N6PZx4UfLDIzM9V1SDrmxgw=
=7sRT
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: which fonts config file?

2007-08-30 Thread Jose Rodriguez
On Mon, 27 Aug 2007 21:00:16 +0200
Andrei Popescu <[EMAIL PROTECTED]> wrote:

> On Fri, Aug 24, 2007 at 07:56:39PM +0100, Jose Rodriguez wrote:
> > I get different fonts when I start the GUI by issuing startx
> > than using kdm. I would like to know which configuration files
> > are read in each case so I can adjust them to my taste.
> 
> I think this is more an issue of DPI. You can check with
> 
>   xdpyinfo | grep resolution
> 
> startx is a script so you can just view it and trace the config
> file. As for kdm you'll just have to read the fine manual.
> 
> Regards,
> Andrei

Thanks for the reply. You are actually right, I got different DPI
settings depending on how I started the X session. What I did was
changing to 96x96 points per inch through KDE control panel and am
now happy.

Thanks again
Jose


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



CTRL-D needed

2007-08-30 Thread michael bailey

 The stable release of Etch has recently been
installed on an old Abit BE6 II motherboard. The
previous system run on this board was a 2.4 Sarge.

 Whenever, Etch is booted, the boot stops at several
points, saying CTRL-D is needede to continue the boot.
 This has not happened on the Sarge system.

 Any reasons for the change in boot procedure ?






  

Luggage? GPS? Comic books? 
Check out fitting gifts for grads at Yahoo! Search
http://search.yahoo.com/search?fr=oni_on_mail&p=graduation+gifts&cs=bz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



configuration center in debian?

2007-08-30 Thread Johann Horwath
hello,

is there something like a gui-configuration-center (bootloader, network,
software-(de)installation,...) in debian?

greetings
hans

 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: configuration center in debian?

2007-08-30 Thread Roberto D'Oliveira
2007/8/30, Johann Horwath <[EMAIL PROTECTED]>:
> hello,
>
> is there something like a gui-configuration-center (bootloader, network,
> software-(de)installation,...) in debian?
>
> greetings
> hans
>
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>

If you want something like a "centralized control center" you can try
with webmin : http://www.webmin.com/

-- 
Saludos,
Roberto D'Oliveira


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Garmin GPS on USB port

2007-08-30 Thread Wayne Topa
Bernard([EMAIL PROTECTED]) is reported to have said:
> On 8/29/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> >
> > On Wed, Aug 29, 2007 at 09:16:14PM -0400, Bernard wrote:
> > >
> > > I try to communicate with my GPS via a USB port but without success.  I
> > used
> > > to do it with a serial connection without problem.  Eventually, I will
> > have
> > > to plug my GPS on a laptop with USB port only so I have to find a
> > solution.
> > > According to a few things read on the web I have to load the garmin_gps
> > > module.  I did it with succes but the documentation found said to use
> > > /dev/ttyUSB? which device I don't have.  Maybe I still have a few things
> > to
> > > understand about the USB devices and udev!
> > >
> > > I would like to know if someone have been able to communicate with a
> > Garmin
> > > GPS via a USB port and how you did it.  Or maybe someone with a good
> > > understanding of USB and udev could help me understand what is going on
> > and
> > > what I should do to make it work.
> >
> > Your documentation may not have taken udev into account.  Assuming that
> > you're using standard Etch, run tail -f /var/log/syslog and then plug in
> > the gps and see if a message appears that tells you what device it
> > connects to.  I've never hooked my GPS up to the computer.  However, for
> > comparison, my Palm comes up as something like /dev/pilot.
> >
> > Doug.
> 
> 
> Ok, here is what I got from syslog:
> 
> Aug 29 21:53:15 zherc kernel: usb 1-2: USB disconnect, address 3
> Aug 29 21:53:28 zherc kernel: usb 1-2: new full speed USB device using
> uhci_hcd and address 4
> Aug 29 21:53:28 zherc kernel: usb 1-2: configuration #1 chosen from 1 choice
> 
> Do you seen something useful from this?

Here is what syslog shows when I plug in my usb GPS puck.
Aug 30 10:27:15 buddy kernel: usb 1-5.4: new full speed USB device using 
ehci_hcd and address 4
Aug 30 10:27:15 buddy kernel: usb 1-5.4: configuration #1 chosen from 1 choice
Aug 30 10:27:15 buddy kernel: pl2303 1-5.4:1.0: pl2303 converter detected
Aug 30 10:27:15 buddy kernel: usb 1-5.4: pl2303 converter now attached to 
ttyUSB0

Try doing a modprobe ehci_hcd _before_ you plug the Garmin in.

lsusb here shows
Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303
Serial Port
Bus 001 Device 003: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE
Adapter
Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc.

Wayne

-- 
Press any key to continue or any other key to quit...
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: CTRL-D needed

2007-08-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/30/07 08:40, michael bailey wrote:
>  The stable release of Etch has recently been
> installed on an old Abit BE6 II motherboard. The
> previous system run on this board was a 2.4 Sarge.
> 
>  Whenever, Etch is booted, the boot stops at several
> points, saying CTRL-D is needede to continue the boot.
>  This has not happened on the Sarge system.
> 
>  Any reasons for the change in boot procedure ?

At which point is it pausing?

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

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

iD8DBQFG1tfXS9HxQb37XmcRAsbgAJ9sdxlRJkG5LNbqCwKMs/vVA4f0YACfVrCP
TEamE/0+KLb0G9pA31e8TVY=
=0t5o
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AW: configuration center in debian?

2007-08-30 Thread Johann Horwath

thank you roberto for your tip - i think most of my wishes are fulfilled now
:-)

exept: starting/stopping/configuring wifi/bluetooth and configuring
x-server. i didn't see a module in webmin during my quick-search. 

is there some gui-thing for those jobs?

greetings
hans
 


> -Ursprüngliche Nachricht-
> Von: Roberto D'Oliveira [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 30. August 2007 16:16
> An: debian-user@lists.debian.org
> Betreff: Re: configuration center in debian?
> 
> 
> 2007/8/30, Johann Horwath <[EMAIL PROTECTED]>:
> > hello,
> >
> > is there something like a gui-configuration-center 
> (bootloader, network,
> > software-(de)installation,...) in debian?
> >
> > greetings
> > hans
> >
> >
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> >
> >
> 
> If you want something like a "centralized control center" you can try
> with webmin : http://www.webmin.com/
> 
> -- 
> Saludos,
> Roberto D'Oliveira
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 



Re: konsole + system bell

2007-08-30 Thread Hugo Vanwoerkom

Douglas A. Tutty wrote:

On Wed, Aug 29, 2007 at 12:48:41PM -0500, Hugo Vanwoerkom wrote:

Douglas A. Tutty wrote:

 >

Unfortunatly for you, the computer that I'm directly attached to me is
on the floor below (monitor, keyboard, and mouse cables run through the
floor) so I can only hear the beep if the room is quiet.  It is noisy
right now.  Perhaps you will have some luck.
That's an interesting hookup: I'd like that, but where do you get the 
mon/mouse/kbd cables that long? I'd put the noise in the next room here :-)


 
10' extension cords.  The box in on a shelf half-way up the wall

directly below my mini-desk in the living room.  Makes for a totally
silent operation even though the hostname on the box is 'rocky' since
its fan sounds like a gravel truck.  Its a P-II given away because if
was full (as in packed) of cat hair; messed up the CPU fan bearings
among other things.



Too bad I already ordered from Newegg. Found 16ft vga + USB + kbd 
extenders. But I did not come across audio cable extenders for that size.


Hugo


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: AW: configuration center in debian?

2007-08-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/30/07 09:45, Johann Horwath wrote:
> thank you roberto for your tip - i think most of my wishes are fulfilled now
> :-)
> 
> exept: starting/stopping/configuring wifi/bluetooth and configuring
> x-server. i didn't see a module in webmin during my quick-search. 
> 
> is there some gui-thing for those jobs?

I hear that Ubuntu has some great point-and-drool tools.

> 
>> -Ursprüngliche Nachricht-
>> Von: Roberto D'Oliveira [mailto:[EMAIL PROTECTED] 
>> Gesendet: Donnerstag, 30. August 2007 16:16
>> An: debian-user@lists.debian.org
>> Betreff: Re: configuration center in debian?
>>
>>
>> 2007/8/30, Johann Horwath <[EMAIL PROTECTED]>:
>>> hello,
>>>
>>> is there something like a gui-configuration-center 
>> (bootloader, network,
>>> software-(de)installation,...) in debian?
>>>
>>> greetings
>>> hans
>>>
>>>
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>>> with a subject of "unsubscribe". Trouble? Contact 
>> [EMAIL PROTECTED]
>>>
>> If you want something like a "centralized control center" you can try
>> with webmin : http://www.webmin.com/
>>
>> -- 
>> Saludos,
>> Roberto D'Oliveira
>>
>>
>> -- 
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
>> with a subject of "unsubscribe". Trouble? Contact 
>> [EMAIL PROTECTED]
>>
> 


- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

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

iD8DBQFG1tnwS9HxQb37XmcRAqRzAKCw2EUu2JhbJ/0fNlbf/VPeMMM3ZACg5IC+
x14iaJ6TamcfKD6cnUmG00U=
=ZrM4
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Configuration center

2007-08-30 Thread Eeltje


It depends on your Window manager. Are you using KDE, Gnome or whatever?
--
Eeltje de Vries


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




AW: AW: configuration center in debian?

2007-08-30 Thread Johann Horwath
hi ron,

knowing all the - heavy - discussions about ubuntu versus debian i really
want to stay with debian. ;-)

are those tools only available in/for ubuntu? where do i get them?

greetings
hans

 


> -Ursprüngliche Nachricht-
> Von: Ron Johnson [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 30. August 2007 16:54
> An: debian-user@lists.debian.org
> Betreff: Re: AW: configuration center in debian?
> 
> 
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> On 08/30/07 09:45, Johann Horwath wrote:
> > thank you roberto for your tip - i think most of my wishes 
> are fulfilled now
> > :-)
> > 
> > exept: starting/stopping/configuring wifi/bluetooth and configuring
> > x-server. i didn't see a module in webmin during my quick-search. 
> > 
> > is there some gui-thing for those jobs?
> 
> I hear that Ubuntu has some great point-and-drool tools.
> 
> > 
> >> -Ursprüngliche Nachricht-
> >> Von: Roberto D'Oliveira [mailto:[EMAIL PROTECTED] 
> >> Gesendet: Donnerstag, 30. August 2007 16:16
> >> An: debian-user@lists.debian.org
> >> Betreff: Re: configuration center in debian?
> >>
> >>
> >> 2007/8/30, Johann Horwath <[EMAIL PROTECTED]>:
> >>> hello,
> >>>
> >>> is there something like a gui-configuration-center 
> >> (bootloader, network,
> >>> software-(de)installation,...) in debian?
> >>>
> >>> greetings
> >>> hans
> >>>
> >>>
> >>>
> >>>
> >>> --
> >>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> >>> with a subject of "unsubscribe". Trouble? Contact 
> >> [EMAIL PROTECTED]
> >>>
> >> If you want something like a "centralized control center" 
> you can try
> >> with webmin : http://www.webmin.com/
> >>
> >> -- 
> >> Saludos,
> >> Roberto D'Oliveira
> >>
> >>
> >> -- 
> >> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> >> with a subject of "unsubscribe". Trouble? Contact 
> >> [EMAIL PROTECTED]
> >>
> > 
> 
> 
> - --
> Ron Johnson, Jr.
> Jefferson LA  USA
> 
> Give a man a fish, and he eats for a day.
> Hit him with a fish, and he goes away for good!
> 
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.6 (GNU/Linux)
> 
> iD8DBQFG1tnwS9HxQb37XmcRAqRzAKCw2EUu2JhbJ/0fNlbf/VPeMMM3ZACg5IC+
> x14iaJ6TamcfKD6cnUmG00U=
> =ZrM4
> -END PGP SIGNATURE-
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 



AW: Configuration center

2007-08-30 Thread Johann Horwath
i want to use mostly kde but also gnome.

hans

 


> -Ursprüngliche Nachricht-
> Von: Eeltje [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 30. August 2007 17:02
> An: debian-user@lists.debian.org
> Betreff: Configuration center
> 
> 
> 
> It depends on your Window manager. Are you using KDE, Gnome 
> or whatever?
> -- 
> Eeltje de Vries
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 



X config issues

2007-08-30 Thread Kent West
With one of the newer updates to X, Xinerama became problematic with an 
Intel video chipset, which broke my dual-monitor setup (the second video 
card is nVidia-based). After months of living without my dual-monitor 
setup to which I had become accustomed, I finally snagged another 
nVidia-based PCI cards that I threw in my box. After running "X 
-configure", I got a new almost working xorg.conf file; I had to remove 
any references to the Intel chipset and it's matching non-existent 
monitor, and maybe a couple of other small tweaks, to end up with the 
following:


===

[EMAIL PROTECTED]:/home/westk:> cat /etc/X11/xorg.conf
Section "ServerLayout"
   Identifier "X.org Configured"
   Screen  0  "Screen0" 0 0
   Screen  1  "Screen1" RightOf "Screen0"
   InputDevice"Mouse0" "CorePointer"
   InputDevice"Keyboard0" "CoreKeyboard"
   Option "Xinerama"
EndSection

Section "Files"
   RgbPath  "/etc/X11/rgb"
   ModulePath   "/usr/lib/xorg/modules"
   FontPath "/usr/share/fonts/X11/misc"
   FontPath "/usr/share/fonts/X11/cyrillic"
   FontPath "/usr/share/fonts/X11/100dpi/:unscaled"
   FontPath "/usr/share/fonts/X11/75dpi/:unscaled"
   FontPath "/usr/share/fonts/X11/Type1"
   FontPath "/usr/share/fonts/X11/100dpi"
   FontPath "/usr/share/fonts/X11/75dpi"
   FontPath "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
   Load  "glx"
   Load  "dri"
   Load  "GLcore"
   Load  "record"
   Load  "xtrap"
   Load  "extmod"
   Load  "dbe"
EndSection

Section "InputDevice"
   Identifier  "Keyboard0"
   Driver  "kbd"
EndSection

Section "InputDevice"
   Identifier  "Mouse0"
   Driver  "mouse"
   Option  "Protocol" "auto"
   Option  "Device" "/dev/input/mice"
   Option  "ZAxisMapping" "4 5 6 7"
EndSection

Section "Monitor"
   Identifier   "Monitor0"
   VendorName   "VSC"
   ModelName"G220fb"
### Comment all HorizSync and VertRefresh values to use DDC:
   HorizSync30.0 - 110.0
   VertRefresh  50.0 - 180.0
   Option  "DPMS"
   Option  "TargetRefresh" "75"
   DisplaySize  400   300  # mm
EndSection

Section "Monitor"
   Identifier   "Monitor1"
   VendorName   "GWY"
   ModelName"VX1110"
### Comment all HorizSync and VertRefresh values to use DDC:
   HorizSync31.0 - 115.0
   VertRefresh  50.0 - 160.0
   Option  "DPMS"
   Option  "TargetRefresh" "75"
   DisplaySize  400   300  # mm
EndSection

Section "Device"
   Identifier  "Card0"
   Driver  "nv"
   VendorName  "nVidia Corporation"
   BoardName   "NV17 [GeForce4 MX 440]"
   BusID   "PCI:1:8:0"
EndSection

Section "Device"
   Identifier  "Card1"
   Driver  "nv"
   VendorName  "nVidia Corporation"
   BoardName   "NV17 [GeForce4 MX 440]"
   BusID   "PCI:1:7:0"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device "Card0"
   Monitor"Monitor0"
   SubSection "Display"
   Viewport   0 0
   Depth 1
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 8
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 15
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 16
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 24
   EndSubSection
EndSection

Section "Screen"
   Identifier "Screen1"
   Device "Card1"
   Monitor"Monitor1"
   SubSection "Display"
   Viewport   0 0
   Depth 1
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 4
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 8
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 15
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 16
   EndSubSection
   SubSection "Display"
   Viewport   0 0
   Depth 24
   EndSubSection
EndSection

===

My problem is that X seems to completely ignore my desire to set my DPI 
to 96 via the DisplaySize setting of 400x300mms. Instead, xdpyinfo reports:



screen #0:
 dimensions:3456x1392 pixels (876x353 millimeters)
 resolution:100x100 dots per inch
 depths (7):24, 1, 4, 8, 15, 16, 32


/var/log/Xorg.0.log is perusable at http://www.acu.edu/~westk/Xorg.0.log

Any clues would be appreciated.

--
Kent


--
To UNSUBSCRIBE, email to [EMAIL PROTEC

kde panels !

2007-08-30 Thread Rick
have the typical kde panel below to launch my apps, and applets, virtual 
desktop HOWEVER, its getting crowded... I would like to do the 
following "IF Possible"

is there a way to add a new panel, and have it display only "Open Windows or 
Open Apps"... again, the original panel is very crowded,
and I would like to move ALL "Open Windows" Open Browsers..and Open Apps...
to that New panel, and have that New panel just display those item only.

Thanks -
Richard



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: All New rc2.d Scripts get Ignored. Debian from KNOPPIX

2007-08-30 Thread Martin McCormick
Bob McGowan writes:
> During startup, /etc/inittab uses the /etc/init.d/rc script to run the
> various scripts in the rc?.d directories. It has a commented out line for
> debugging. If you uncomment it, from what I can see, it will tell you what
> it's doing. It looks like this will propagate to the scripts that it runs,
> so you may expect to see a lot of stuff printed during boot.

This turns out to be an extremely useful thing to know.
What actually happens, however, is the script doesn't execute
the starts and stops but echoes what it would have done. You can
run it that way even after the system is fully booted. You just
call it and supply the runlevel number as the first argument to
get some idea of what it is thinking. Of course, it works
perfectly every time and calls all existing scripts in the right
order.

What I don't have is a log of any rc2.d activity. I
think it all goes to the screen very fast. As a computer user
who happens to be blind, this isn't much use, but these things
usually go too fast for anybody to read.

On some UNIX systems, such messages as "Starting secure
shell," etc, are logged as the daemons fire up. On this system,
/etc/init.d/ssh does, in fact, echo such a message but that's
one of the 2 scripts I can't get to start during boot. Something
is still happening to those 2 scripts when the sequence reaches
them and there is no log trace anywhere as to what it was.

As I originally said, Oralux is a KNOPPIX distribution
but can be installed as Debian on the hard disk.

Can anybody think of any way to add enough verbosity to
the logging of the boot process to try to trap what is not
happening?

The other interesting thing I have noticed about this
system is that it doesn't log any ALSA messages about what sound
card is in use, etc. The sound does appear to be in working
order as aplay and the speech synthesizer both work (not at the
same time because of the sound card.)

When I usually install Linux, I use a serial console.
That is not an option as there are no native serial ports on
this system. I need every screen message to go to a file
somewhere and that may tell me something new.

I think when I finally fix the problem, I will have
learned a lot, but I've been about 2 minutes from solving it for
the last 5 days.:-)

Martin McCormick


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: AW: AW: configuration center in debian?

2007-08-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/30/07 10:33, Johann Horwath wrote:
> hi ron,
> 
> knowing all the - heavy - discussions about ubuntu versus debian i really
> want to stay with debian. ;-)

It's been way too long since I've used KDE.  I'm pretty sure that it
has more "control center" utilities than GNOME does.

Do you have a minimal KDE install, or a rich one?

> are those tools only available in/for ubuntu? where do i get them?
> 
> 
>> -Ursprüngliche Nachricht-
>> Von: Ron Johnson [mailto:[EMAIL PROTECTED] 
>> Gesendet: Donnerstag, 30. August 2007 16:54
>> An: debian-user@lists.debian.org
>> Betreff: Re: AW: configuration center in debian?
>>
>>
> On 08/30/07 09:45, Johann Horwath wrote:
 thank you roberto for your tip - i think most of my wishes 
> are fulfilled now
 :-)

 exept: starting/stopping/configuring wifi/bluetooth and configuring
 x-server. i didn't see a module in webmin during my quick-search. 

 is there some gui-thing for those jobs?
> I hear that Ubuntu has some great point-and-drool tools.
> 
> -Ursprüngliche Nachricht-
> Von: Roberto D'Oliveira [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 30. August 2007 16:16
> An: debian-user@lists.debian.org
> Betreff: Re: configuration center in debian?
>
>
> 2007/8/30, Johann Horwath <[EMAIL PROTECTED]>:
>> hello,
>>
>> is there something like a gui-configuration-center 
> (bootloader, network,
>> software-(de)installation,...) in debian?
>>
>> greetings
>> hans
>>
>>
>>
>>
>> --
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> If you want something like a "centralized control center" 
> you can try
> with webmin : http://www.webmin.com/

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

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

iD8DBQFG1uhvS9HxQb37XmcRAo5jAJ49USbgCdGp7N1bj2qUAEU+mbKB2wCeKbJY
NUStDTQCpItxB74432CtGfs=
=5FTS
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: configuration center in debian?

2007-08-30 Thread Chris
On Thu, 2007-08-30 at 15:59 +0200, Johann Horwath wrote:
> hello,
> 
> is there something like a gui-configuration-center (bootloader, network,
> software-(de)installation,...) in debian?
> 
AFAIK there is no such thing as a "gui-configuration-center". There are,
however, gui-tools for system management. Have a look at
http://packages.debian.org/unstable/gnome/gnome-system-tools
it mentions:
" Nowadays there are tools for managing: 
- Users and groups
 - Date and time
 - Network configuration
 - Bootloaders
 - Runlevels"

I am sure KDE has equivalent tools. As for software-(de)installation,
also know as package-management, there is aptitude. If that is not gui
enough, you might want to try synaptic.

You can find out what software is available by querying apt-cache. 
-- 
Chris <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



[OT] revision control: git vs mercurial as replacement for bzr

2007-08-30 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[I don't want to start a flame; just to investigate which application is
best for my particular purpose. No offence intended to anyone.]

I currently use bzr for revision control of mainly text (eg. LaTeX)
documents and simple 'scripts' to analyse scientific data, ie. not
exactly what people usually consider 'source control management'. A
typical project involves hundreds of LaTeX-files bundled into a large
document system or on the order of 1 (static) data files that are
analysed with say up to 100 scripts and input files for gnuplot (only
those require to be versioned).

The tree of LaTeX-document also contains binary data (like figures and
pdf output files) that don't require version control, but should ideally
be synchronized between branches. (With bzr, I use a blundering
combination of rsync and 'bzr merge|pull' to synchronize all files).

I am slightly leaning towards mercurial, because it is available for
potential collaborators with MS's OS. Most of all however, I want the
tool that is powerful and efficient (both usage, time and space).

Thanks for your opinions!

Johannes

Note:
The main motivation for my switch is that bzr is still too much in
development for my taste (with etch's version). The tutorial [1] and
even the one page quick reference [2] have several commands different
and new to etch's version. I'd rather have a 'current generation'
version control system instead of a quickly evolving, slightly buggy
'next-generation' bzr.

[1] http://doc.bazaar-vcs.org/bzr.dev/tutorial.htm
[2] http://m0n5t3r.info/stuff/bzr-quickref/bzr-quickref.pdf
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG1uq9C1NzPRl9qEURAsjRAJ9pdorUGvofP3WseVsIv57ABKukeACfSmQX
PtTAYFWm3JOIxDbaHhz65D0=
=9JXe
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



AW: configuration center in debian?

2007-08-30 Thread Johann Horwath
thank you very much, chris, for pointing me to packages.debian.org! 

this was very helpful ( - maybe some search-time is now needed... :-) )

greetings
hans

 


> -Ursprüngliche Nachricht-
> Von: Chris [mailto:[EMAIL PROTECTED] 
> Gesendet: Donnerstag, 30. August 2007 18:00
> An: debian-user@lists.debian.org
> Betreff: Re: configuration center in debian?
> 
> 
> On Thu, 2007-08-30 at 15:59 +0200, Johann Horwath wrote:
> > hello,
> > 
> > is there something like a gui-configuration-center 
> (bootloader, network,
> > software-(de)installation,...) in debian?
> > 
> AFAIK there is no such thing as a "gui-configuration-center". 
> There are,
> however, gui-tools for system management. Have a look at
> http://packages.debian.org/unstable/gnome/gnome-system-tools
> it mentions:
> " Nowadays there are tools for managing: 
> - Users and groups
>  - Date and time
>  - Network configuration
>  - Bootloaders
>  - Runlevels"
> 
> I am sure KDE has equivalent tools. As for software-(de)installation,
> also know as package-management, there is aptitude. If that is not gui
> enough, you might want to try synaptic.
> 
> You can find out what software is available by querying apt-cache. 
> -- 
> Chris <[EMAIL PROTECTED]>
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 



Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Florian Kulzer
On Thu, Aug 30, 2007 at 12:59:10 +0100, Richard Lyons wrote:
> On Thu, Aug 30, 2007 at 01:00:44AM +0200, Florian Kulzer wrote:

[...]

> > Ssh-agent is part of the openssh-client package. It should be started
> > with every X session by the /etc/X11/Xsession.d/90x11-common_ssh-agent
> > script. (See "ps -e | grep ssh-agent".)
> 
> Oh yes, I see it is set up to start if available...
> > 
> > However, ssh-agent needs a frontend to handle the interaction with the
> > user when a passphrase for a private key has to be entered. This seems
> > to be what you are missing. Install one of the packages that provide
> > "ssh-askpass":
> 
> I installed gtk-led-askpass and added a line "/usr/bin/gtk-led-askpass" in
> ~/GNUstep/Library/WindowMaker/autostart, but this simply caused Xwindows
> to open in a frozen state (waiting for my response on a non-visible
> window, I assume since the ssh-agent process was running). This is
> probably easy enough to resolve, but it will still require me to enter
> the reasonably secure passphrase (read "excessively long") that I chose,
> so perhaps I shall stay with method 1, the ssh tunnel, which works
> easily enough.

I realize now that I made a mistake in my earlier mail: At the start of
the X session I run "ssh-add" and not gtk-led-askpass. It seems that
this also works for windowmaker:

http://www.windowmaker.info/faq.php?chapter=5#109

(I think you don't need the "eval `ssh-agent`" line since that part is
 already handled by /etc/X11/Xsession.d/90x11-common_ssh-agent.)

> The only thing that would make it more convenient still would be if I
> could see how to write scripts to open and close the tunnel.  They would
> need to check if it is already open first.  When opening or closing the
> tunnel the scripts would also set sendmail= apropriately.  Then I could
> map them to hotkeys in mutt.  When I am attached to our home network, I
> can send direct, but when I am on a laptop elsewhere or in Italy I need
> to use the tunnelling.  So the possibility of easy switching would be
> useful.

I never tried to set up something like that. I don't think you need port
forwarding if you have the remote execution of msmtp working, no matter
where you are. Just add your laptop's id_*.pub identities to
~/.ssh/authorized_keys on the vm. Of course, this requires that ssh
works from wherever you are, but if ssh does not work than you cannot
use port forwarding either.

-- 
Regards,| http://users.icfo.es/Florian.Kulzer
  Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hdparm configuration help

2007-08-30 Thread Chris
On Thu, 30 Aug 2007 02:08:28 -0700, Joris Huizer wrote:

> Hello,
> 
> After the recent udev + hdparm problems, I'm thinking of reconfiguring
> hdparm (hdparm currently is not configured, just reinstalled, so I'm
> assuming it's currently using default settings)
> 
> 
> This is the output of `hdparm -v -i /dev/hda`:
> 
> 
> /dev/hda:
>  multcount=  0 (off)
>  IO_support   =  1 (32-bit)
>  unmaskirq=  1 (on)
>  using_dma=  0 (off)
>  keepsettings =  0 (off)
>  readonly =  0 (off)
>  readahead= 256 (on)
>  geometry = 65535/16/63, sectors = 78165360, start
> = 0



> 
> /dev/hdb:
>  multcount=  0 (off)
>  IO_support   =  1 (32-bit)
>  unmaskirq=  1 (on)
>  using_dma=  0 (off)
>  keepsettings =  0 (off)
>  readonly =  0 (off)
>  readahead= 256 (on)
>  geometry = 65535/16/63, sectors = 80293248, start
> = 0

 
 
> Could someone tell me what settings are appropiate for my hard discs?
I
> tried before with, what didn't really seem to push things, but
problems
> with modules not loading reappeared
> 

You need to turn on at least dma. I suppose the output of hdparm
-t /dev/yourdisk is not very cheerful with dma turned off.
I recently built a new system and it defaults to dma turned on. I've not
edited /etc/defaults/hdparm or /etc/hdparm/.conf. So as to why yours
seems to be turned off I do not know.

I get this: 
cevnet:~#hdparm /dev/hda

/dev/hda:
 multcount =  0 (off)
 IO_support=  1 (32-bit)
 unmaskirq =  1 (on)
 using_dma =  1 (on)
 keepsettings  =  0 (off)
 readonly  =  0 (off)
 readahead = 2048 (on)
 geometry  = 65535/16/63, sectors = 80293248, start = 0

cevnet:~#hdparm -t /dev/hda

/dev/hda:
 Timing buffered disk reads:   92 MB in  3.14 seconds =  29.31 MB/sec

the other disc does better than that though: 

cevnet:~#hdparm  /dev/hdb

/dev/hdb:
 multcount =  0 (off)
 IO_support=  1 (32-bit)
 unmaskirq =  1 (on)
 using_dma =  1 (on)
 keepsettings  =  0 (off)
 readonly  =  0 (off)
 readahead = 2048 (on)
 geometry  = 24792/255/63, sectors = 398297088, start = 0

cevnet:~#hdparm -t /dev/hdb

/dev/hdb:
 Timing buffered disk reads:  172 MB in  3.02 seconds =  56.95 MB/sec



-- 
Chris <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



How to bind keys to commands, without requiring login?

2007-08-30 Thread Masatran, R. Deepak
I want to bind some keys to commands. I can do this using my window manager,
but I want it to work even if (1) Nobody is logged in OR if (2) the screen
is locked with a screen-saver.

I am using Debian 4.0, with GDM, and Sawfish.

-- 
Masatran, R. Deepak 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: X config issues

2007-08-30 Thread Chris
On Thu, 2007-08-30 at 10:51 -0500, Kent West wrote:
> With one of the newer updates to X, Xinerama became problematic with an 
> Intel video chipset, which broke my dual-monitor setup (the second video 
> card is nVidia-based). After months of living without my dual-monitor 
> setup to which I had become accustomed, I finally snagged another 
> nVidia-based PCI cards that I threw in my box. After running "X 
> -configure", I got a new almost working xorg.conf file; I had to remove 
> any references to the Intel chipset and it's matching non-existent 
> monitor, and maybe a couple of other small tweaks, to end up with the 
> following:
> 

> 
> Any clues would be appreciated.

A guess: did you edit /etc/defaults/nvidia-kernel now that you have 2
nvidia cards?

-- 
Chris <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Better iptables firewall

2007-08-30 Thread John L Fjellstad
Michael Pobega <[EMAIL PROTECTED]> writes:

> # Generated by iptables-save v1.3.6 on Mon Jun 18 09:55:18 2007
> *filter
> :INPUT DROP [0:0]
> :FORWARD ACCEPT [0:0]
> :OUTPUT ACCEPT [35639:3072343]
> -A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
> -A INPUT -i lo -j ACCEPT
> -A INPUT -p icmp -m limit --limit 1/sec -j ACCEPT
> -A INPUT -p icmp -j DROP
> #-A INPUT -p tcp -m tcp --dport 5030 -j ACCEPT
> #-A INPUT -p tcp -m tcp --dport 8080 -j ACCEPT
> #-A INPUT -p tcp -m tcp --dport 15000 -j ACCEPT
> COMMIT
> # Completed on Mon Jun 18 09:55:18 2007

I took the rules look fine

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Editing a text file with sed

2007-08-30 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Joe Hart wrote:
[snip]

> I appreciate the answer, I didn't even know about the fmt command until now.  
> It does seem to work in the example, but not on the real file(s) that I am 
> working with.  Something makes me think that these files have some very 
> strange characters in them, but they don't seem to show up when I cat the 
> file.

Try the 'strings' command for removing non-printable characters.
(Package: binutils)

HTH,

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

iD8DBQFG1wOGC1NzPRl9qEURApiQAJwPYoaN8BSZx4eJVv1zVAH8o0ErzgCeJUbD
OXcAleS05wqNPUfnzYMT4mY=
=mcx6
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



USB/HID keyboard

2007-08-30 Thread jidanni
I cannot figure out how to get
input: Generic USB K/B as /class/input/input5
input: USB HID v1.10 Keyboard [Generic USB K/B] on usb-:00:1d.1-2
to get read. I hit on the keys and nothing happens.

I want to try out this second keyboard and I can't.
I see the above dmesg message, but I can't make what I type on that
second keyboard do anything.
$ cat < /dev/input/event0 works great proving my laptop's keyboard is
getting read. But using other numbers than 0 all don't work for the
other keyboard.  modprobe usbkbd;  modprobe xtkbd; don't help.

When I connect the keyboard, its lights flash as they should, so the
connection is OK.

I am hoping to use this in X, console, and maybe even at the lilo
prompt. It is a PS/2 keyboard connected via a HID/USB adapter.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



upgrading ubuntu to debian

2007-08-30 Thread Britton Kerin

I just bought a computer that came with ubuntu and would like to switch
it to pure debian.  Is there a standard way to do this that someone 
could point me to?

(Though I will say that little hack where the shell tells you which 
 package a program is in looks pretty cute and helpful :)

Thanks,
Britton



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Cavan Mejias
Just get a debian cd (check architecture) and boot. When it asks what to do
tell it to format the entire hard drive and install Debian. Or did you want
to keep some aspects of Ubuntu?

On 8/30/07, Britton Kerin <[EMAIL PROTECTED]> wrote:
>
>
> I just bought a computer that came with ubuntu and would like to switch
> it to pure debian.  Is there a standard way to do this that someone
> could point me to?
>
> (Though I will say that little hack where the shell tells you which
> package a program is in looks pretty cute and helpful :)
>
> Thanks,
> Britton
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


Re: upgrading ubuntu to debian

2007-08-30 Thread Mathias Brodala
Hi.

Britton Kerin, 30.08.2007 20:19:
> (Though I will say that little hack where the shell tells you which 
>  package a program is in looks pretty cute and helpful :)

Not sure what you mean here, but that’s what apt-file is for.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature


Re: Editing a text file with sed

2007-08-30 Thread Keith Christian
Joe, you could also try the 'par' program, see:

http://packages.debian.org/cgi-bin/search_packages.pl?searchon=names&version=all&exact=1&keywords=par

It has a lot of options and can handle more complex documents than fmt can.

Keith


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: hdparm configuration help

2007-08-30 Thread Hugo Vanwoerkom

Joris Huizer wrote:

Hello,

After the recent udev + hdparm problems, I'm thinking
of reconfiguring hdparm (hdparm currently is not
configured, just reinstalled, so I'm assuming it's
currently using default settings)


This is the output of `hdparm -v -i /dev/hda`:


/dev/hda:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 78165360, start
= 0





/dev/hdb:
 multcount=  0 (off)
 IO_support   =  1 (32-bit)
 unmaskirq=  1 (on)
 using_dma=  0 (off)
 keepsettings =  0 (off)
 readonly =  0 (off)
 readahead= 256 (on)
 geometry = 65535/16/63, sectors = 80293248, start
= 0



How did dma get turned off? Did you do that yourself?

Hugo



--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: kde panels !

2007-08-30 Thread Mumia W..

On 08/30/2007 10:53 AM, Rick wrote:
have the typical kde panel below to launch my apps, and applets, virtual 
desktop HOWEVER, its getting crowded... I would like to do the 
following "IF Possible"


is there a way to add a new panel, and have it display only "Open Windows or 
Open Apps"... again, the original panel is very crowded,

and I would like to move ALL "Open Windows" Open Browsers..and Open Apps...
to that New panel, and have that New panel just display those item only.

Thanks -
Richard





In KDE, you can add a "child panel." If the normal panel is at the 
bottom of the screen, the child panel will appear along one of the sides 
or at the top of the screen. It will initially be empty, so you can add 
whatever you wish to it.




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: upgrading ubuntu to debian

2007-08-30 Thread Michael Pobega
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thu, Aug 30, 2007 at 10:19:06AM -0800, Britton Kerin wrote:
> 
> I just bought a computer that came with ubuntu and would like to switch
> it to pure debian.  Is there a standard way to do this that someone 
> could point me to?
> 
> (Though I will say that little hack where the shell tells you which 
>  package a program is in looks pretty cute and helpful :)
> 
> Thanks,
> Britton
> 
> 

Unless you REALLY know what you're doing, upgrading from Ubuntu to
Debian (And vice-versa) is nearly impossible and unsupported by the
Debian community (If you did try it, we probably wouldn't be able to
help you). Too many things are done differently between the two
operating systems, for example, while Debian uses root to do many tasks
by default Ubuntu has no true root user and instead uses sudo.

If I were you I'd backup my /home partition and reinstall as Debian; The
first thing you should do is create a /home partition when you get a new
computer anyway.

If you don't mind me asking, what company did you purchase the laptop
from?

- -- 
If programmers deserve to be rewarded for creating innovative
programs, by the same token they deserve to be punished if they
restrict the use of these programs. 
 - Richard Stallman
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFG1xPmg6qL2BGnx4QRAjA0AKCx5SdtCW/6oEQVt6Egc5NEowjzigCfdv5+
XvDholIc16E1eCAEylXyuMk=
=KhY+
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: NetworkManager help, esp. after suspend

2007-08-30 Thread Jesse Sheidlower
On Thu, Aug 30, 2007 at 12:49:46AM +0200, Wolodja Wentland wrote:
> On Wed, Aug 29, 2007 at 18:19 -0400, Jesse Sheidlower wrote:
> > 
> > I'm a relatively new Debian user, running an up-to-date Etch on
> > a ThinkPad T60.
> Welcome. I am running Debian on a T60 as well and am very pleased with 
> it so far.
> 
> I guess you know http://thinkwiki.org ? It is a great source for 
> thinkpad related informations.

Yes, I've found it very useful in general, esp. when I was installing,
though it didn't have anything helpful for this.

> > I'm having some trouble getting the NetworkManager app to work
> [ ... nm not working properly ... ]
> > Is there anything I should be doing differently? The docs on
> > NetworkManager are pretty slim. If it works as advertised it
> > would be really convenient, but I do need to be able to come
> > out of a suspend a join a network immediately.
> 
> Try editing /etc/hibernate/common.conf and uncomment
> 
> ### networkmanager
> EnableNMReconnect yes
> ^

I didn't have this line in that file, and it's not documented in
hibernate.conf.

> that might do the trick. That said it is not always working and i have 
> to click "Enable Networking" twice after wake-up occasionally. 
> 
> You did configure nm as stated in:
> 
> /usr/share/doc/network-manager/README.Debian

Yes, though I didn't find it too relevant. At least if it is relevant,
I'm not sure how. My /etc/network/interfaces is:

---
# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
allow-hotplug eth0
---

The NM README file would suggest that eth1 (my wireless interface)
is managed by NM, since it's not explicitly listed here, and this
is in general the case (i.e. that NM manages eth1), though my
problem is the failure of NM to connect to a network after a resume,
and that network-admin _does_ manage to do this (though not reflected
in the NM panel app).

If the NM README file is telling me to do something else, I'm afraid
my reading comprehension skills are too poor to make sense of it :-(

Thanks.

Jesse Sheidlower


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Richard Lyons
On Thu, Aug 30, 2007 at 05:58:11PM +0200, Florian Kulzer wrote:
[...]
> I don't think you need port
> forwarding if you have the remote execution of msmtp working, no matter
> where you are. Just add your laptop's id_*.pub identities to
> ~/.ssh/authorized_keys on the vm. 

Of course.  It is amazing how clear explanation of particular problems
helps to elucidate the generalities too.

Florian, thank you for all your guidance.  It has been an education as
well as solving a long-running problem.

-- 
richard


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



vdrift package

2007-08-30 Thread Rody
since the 40r1 release debian has deleted the vdrift package from their 
repo's. does anyone still have these packages for me to download or know how 
i can recreate te deb file from my installed version?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Hal Vaughan
On Thursday 30 August 2007, Michael Pobega wrote:
> On Thu, Aug 30, 2007 at 10:19:06AM -0800, Britton Kerin wrote:
> > I just bought a computer that came with ubuntu and would like to
> > switch it to pure debian.  Is there a standard way to do this that
> > someone could point me to?
> >
> > (Though I will say that little hack where the shell tells you which
> >  package a program is in looks pretty cute and helpful :)
> >
> > Thanks,
> > Britton
>
> Unless you REALLY know what you're doing, upgrading from Ubuntu to
> Debian (And vice-versa) is nearly impossible and unsupported by the
> Debian community (If you did try it, we probably wouldn't be able to
> help you). Too many things are done differently between the two
> operating systems, for example, while Debian uses root to do many
> tasks by default Ubuntu has no true root user and instead uses sudo.

While it's just a small, niggling detail and may be just semantics, 
there is a true root account on Ubuntu that can be used the same as a 
root account on any Debian release.  The only difference is it doesn't 
have a password on setup.  I used:

sudo passwd
(or maybe it was sudo passwd root)

and created a password for root and can use my root account on my Ubuntu 
workstation just like I do the root account on any of my Debian 
servers.

Hal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Sarunas Burdulis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Britton Kerin wrote:
> I just bought a computer that came with ubuntu and would like to switch
> it to pure debian.  Is there a standard way to do this that someone 
> could point me to?
There is no standard way. Fresh reinstall is perhaps the closest to "standard".

If you have time to spare, change your sources.list to point to Debian 
repositories, run apt-get and see what mess you end up in... I did a
reverse---Debian to Ubuntu---upgrade once and it took much longer to clean up 
things, than a fresh install and config.

If your new computer works fine with Ubuntu, I would save the output of lspci, 
lsmod and a .tgz of /etc, just in case you'll need a hint while
trying to make some component to work in Debian.

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

iD8DBQFG1x2/ejaFVltl6E8RAk4fAKCNgtpGRGWICrrKWnbHjz2z7TBBdwCeJuPm
jG3mGRoqEPOmzkO9aUt70Ro=
=LP04
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vdrift package

2007-08-30 Thread Celejar
On Thu, 30 Aug 2007 21:32:56 +0200
Rody <[EMAIL PROTECTED]> wrote:

> since the 40r1 release debian has deleted the vdrift package from their 
> repo's. does anyone still have these packages for me to download or know how 
> i can recreate te deb file from my installed version?
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

http://snapshot.debian.net/

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to bind keys to commands, without requiring login?

2007-08-30 Thread Celejar
On Thu, 30 Aug 2007 22:27:56 +0530
"Masatran, R. Deepak" <[EMAIL PROTECTED]> wrote:

> I want to bind some keys to commands. I can do this using my window manager,
> but I want it to work even if (1) Nobody is logged in OR if (2) the screen
> is locked with a screen-saver.
> 
> I am using Debian 4.0, with GDM, and Sawfish.

Have you tried the standard 'xbindkeys'?

> Masatran, R. Deepak 

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/30/07 14:37, Hal Vaughan wrote:
[snip]
>  
> While it's just a small, niggling detail and may be just semantics, 
> there is a true root account on Ubuntu that can be used the same as a 
> root account on any Debian release.  The only difference is it doesn't 
> have a password on setup.

You've GOT to be kidding...  Right?  Please?

>   I used:
> sudo passwd
> (or maybe it was sudo passwd root)
> 
> and created a password for root and can use my root account on my Ubuntu 
> workstation just like I do the root account on any of my Debian 
> servers.



- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

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

iD8DBQFG1yE6S9HxQb37XmcRAr36AKCglmnzT+YKpmXJ9kQ4rSuhrnYtTQCgoSl9
kJrc9kCCDeTOaqpC4qwWlDU=
=Ob6L
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



question about DROP in NIC interface

2007-08-30 Thread ann kok
Hi all

When I type netstat -i

there is number in RX-DRP but RX-ERR is 0

ls it normal?

how is problem to make this RX-DRP


router> netstat -i
Kernel Interface table
RX-ERR  RX-DRP 
0   1365203   
0   2556544 
0   17805602   

Thank you for your help


  

Park yourself in front of a world of choices in alternative vehicles. Visit the 
Yahoo! Auto Green Center.
http://autos.yahoo.com/green_center/ 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Hal Vaughan
On Thursday 30 August 2007, Ron Johnson wrote:
> On 08/30/07 14:37, Hal Vaughan wrote:
> [snip]
>
> > While it's just a small, niggling detail and may be just semantics,
> > there is a true root account on Ubuntu that can be used the same as
> > a root account on any Debian release.  The only difference is it
> > doesn't have a password on setup.
>
> You've GOT to be kidding...  Right?  Please?

On Debian you enter the root pw at setup.  You don't on Ubuntu, but when 
I setup a new Ubuntu system, all I do is create a root password w/ sudo 
and from then on it works like any other system with a root account.

Is that so surprising, or did I miss something?

Hal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bluetooth mouse not connecting using Lenny

2007-08-30 Thread wimpunk

Hi List,

Since my upgrade to Lenny, my mouse doesn't connect automatically
anymore.  To get my mouse working, I have to remove my USB bluetooth
dongle and put it back.  I've compared the modules before and after but
everything is the same.  Any one a suggestion what's going wrong?

Kind regards,

wimpunk.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: upgrading ubuntu to debian

2007-08-30 Thread Celejar
On Thu, 30 Aug 2007 16:03:17 -0400
Hal Vaughan <[EMAIL PROTECTED]> wrote:

> On Thursday 30 August 2007, Ron Johnson wrote:
> > On 08/30/07 14:37, Hal Vaughan wrote:
> > [snip]
> >
> > > While it's just a small, niggling detail and may be just semantics,
> > > there is a true root account on Ubuntu that can be used the same as
> > > a root account on any Debian release.  The only difference is it
> > > doesn't have a password on setup.
> >
> > You've GOT to be kidding...  Right?  Please?
> 
> On Debian you enter the root pw at setup.  You don't on Ubuntu, but when 
> I setup a new Ubuntu system, all I do is create a root password w/ sudo 
> and from then on it works like any other system with a root account.
> 
> Is that so surprising, or did I miss something?

I think that Ron understands that the root account on Ubuntu is
accessible by anyone without entering a password; I seem to recall
(from posts to this list) that actually no one can access the Ubuntu
root account until a password has been set for it.

> Hal

Celejar
--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Sarunas Burdulis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Ron Johnson wrote:
> On 08/30/07 14:37, Hal Vaughan wrote:
> [snip]
> 
>> While it's just a small, niggling detail and may be just semantics, 
>> there is a true root account on Ubuntu that can be used the same as a 
>> root account on any Debian release.  The only difference is it doesn't 
>> have a password on setup.
> 
> You've GOT to be kidding...  Right?  Please?
"doesn't have a password" does not mean "empty password" in this case. 
/etc/shadow has "!" for root's password field, which, together with pam
config, prevents logging into account.

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

iD8DBQFG1yVqejaFVltl6E8RAmhNAKCpDQVFkJl7dSHbYoaou7u0fqjXnACfaW8F
fe+nlzmG7LCK4hrvYrtiFrE=
=qnWM
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Ron Johnson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 08/30/07 15:15, Sarunas Burdulis wrote:
> Ron Johnson wrote:
>> On 08/30/07 14:37, Hal Vaughan wrote: [snip]
> 
>>> While it's just a small, niggling detail and may be just
>>> semantics, there is a true root account on Ubuntu that can be
>>> used the same as a root account on any Debian release.  The
>>> only difference is it doesn't have a password on setup.
>>
>> You've GOT to be kidding...  Right?  Please?
>
> "doesn't have a password" does not mean "empty password" in this
> case. /etc/shadow has "!" for root's password field, which,
> together with pam config, prevents logging into account.

Ah, ok.  That makes me feel *much* better.

- --
Ron Johnson, Jr.
Jefferson LA  USA

Give a man a fish, and he eats for a day.
Hit him with a fish, and he goes away for good!

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

iD8DBQFG1ykIS9HxQb37XmcRAgVVAJwPTCUAsKbmUIgCvER6lC8jp97ncwCbBlJM
MTlZHrOucWFjskwBVyP5mqA=
=g9mL
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: vdrift package

2007-08-30 Thread Rody
Op donderdag 30 augustus 2007 21:41, schreef Celejar:
> On Thu, 30 Aug 2007 21:32:56 +0200
>
> Rody <[EMAIL PROTECTED]> wrote:
> > since the 40r1 release debian has deleted the vdrift package from their
> > repo's. does anyone still have these packages for me to download or know
> > how i can recreate te deb file from my installed version?
> >
> >
> > --
> > To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> > with a subject of "unsubscribe". Trouble? Contact
> > [EMAIL PROTECTED]
>
> http://snapshot.debian.net/

Thanks, i did not know this "fallback" site before.

I also found the deb files from my current installation 
in /var/cache/apt/archives.

Rody

>
> Celejar
> --
> mailmin.sourceforge.net - remote access via secure (OpenPGP) email
> ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



how find postscript for a Unicode character.

2007-08-30 Thread Hendrik Boom
Now I've written a program that takes minimally marked-up text and
formats it as a Postscript file.  I take the generated
Postscript file and send igtto a Postscript orinter using xpp.

That works fine for most of the text I have to print

The minimal markup notation is pure nonstandard hackery.  In fact
the program has several front ends that accept a few markup notations,
including one that's easy to use on ,u alphasmart keyboard. (Also, several
back ends will generate html or plain ASCII text instead of postscript) The
program usually accepts text in UTF-8 form.

Every now and then I have text containing unusual (non-ASCII)
characters.  It converts them politely from UTF-8 to Unicode, and then
does not know how to produce appropriate Postscript for my
printer. This is probably a matter of identifying an appropriate font that
contains that character, and then sending that to my printer in some way.

I can probably find ways to sent the glyph to the printer, provided I can
find a suitable font entry somewhere.  Now Linux (I'm using Debian etch)
has extensive font mechanisms.  How can I use these to convert Unicode to
Postscript-compatible glyph?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Cassiano Bertol Leal
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Celejar wrote:
> On Thu, 30 Aug 2007 16:03:17 -0400
> Hal Vaughan <[EMAIL PROTECTED]> wrote:
> 
>> On Thursday 30 August 2007, Ron Johnson wrote:
>>> On 08/30/07 14:37, Hal Vaughan wrote:
>>> [snip]
>>>
 While it's just a small, niggling detail and may be just semantics,
 there is a true root account on Ubuntu that can be used the same as
 a root account on any Debian release.  The only difference is it
 doesn't have a password on setup.
>>> You've GOT to be kidding...  Right?  Please?
>> On Debian you enter the root pw at setup.  You don't on Ubuntu, but when 
>> I setup a new Ubuntu system, all I do is create a root password w/ sudo 
>> and from then on it works like any other system with a root account.
>>
>> Is that so surprising, or did I miss something?
> 
> I think that Ron understands that the root account on Ubuntu is
> accessible by anyone without entering a password; I seem to recall
> (from posts to this list) that actually no one can access the Ubuntu
> root account until a password has been set for it.

Not being able to access an account without a password is default even
for Debian, AFAIK. I have done this once, deleting the password hash
from an account in /etc/shadow, and then trying to login with that user.
Couldn't find a way, and actually used it as some form of security. This
is probably what happens in Ubuntu, too.

Considering that the user has full sudo access and that the root account
actually exists, it should be no surprise that a 'sudo passwd root'
would give the user login access to the root account.

>> Hal
> 
> Celejar

Cassiano
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFG1ys9q4Bz51JiUuERAtovAJ9zCYL9JtOvXyVTTTWgUyDFBKqjQwCgwLEJ
uzonzf4ybFc104UlhR7SMzY=
=sVn5
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Hal Vaughan
On Thursday 30 August 2007, Cassiano Bertol Leal wrote:
> Celejar wrote:
> > On Thu, 30 Aug 2007 16:03:17 -0400
> >
> > Hal Vaughan <[EMAIL PROTECTED]> wrote:
> >> On Thursday 30 August 2007, Ron Johnson wrote:
> >>> On 08/30/07 14:37, Hal Vaughan wrote:
> >>> [snip]
> >>>
>  While it's just a small, niggling detail and may be just
>  semantics, there is a true root account on Ubuntu that can be
>  used the same as a root account on any Debian release.  The only
>  difference is it doesn't have a password on setup.
> >>>
> >>> You've GOT to be kidding...  Right?  Please?
> >>
> >> On Debian you enter the root pw at setup.  You don't on Ubuntu,
> >> but when I setup a new Ubuntu system, all I do is create a root
> >> password w/ sudo and from then on it works like any other system
> >> with a root account.
> >>
> >> Is that so surprising, or did I miss something?
> >
> > I think that Ron understands that the root account on Ubuntu is
> > accessible by anyone without entering a password; I seem to recall
> > (from posts to this list) that actually no one can access the
> > Ubuntu root account until a password has been set for it.
>
> Not being able to access an account without a password is default
> even for Debian, AFAIK. I have done this once, deleting the password
> hash from an account in /etc/shadow, and then trying to login with
> that user. Couldn't find a way, and actually used it as some form of
> security. This is probably what happens in Ubuntu, too.
>
> Considering that the user has full sudo access and that the root
> account actually exists, it should be no surprise that a 'sudo passwd
> root' would give the user login access to the root account.

Yes.  It was my mistake in how I was wording things.  I was in a hurry 
and thinking about another email, so I wasn't specific about the issue 
of not being able to log in.  I was just thinking about what I did that 
worked.

Hal


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Garmin GPS on USB port

2007-08-30 Thread Douglas A. Tutty
On Thu, Aug 30, 2007 at 10:36:18AM -0400, Wayne Topa wrote:
> Bernard([EMAIL PROTECTED]) is reported to have said:
> > On 8/29/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > > On Wed, Aug 29, 2007 at 09:16:14PM -0400, Bernard wrote:
> > > >
> > > > module.  I did it with succes but the documentation found said to use
> > > > /dev/ttyUSB? which device I don't have.  Maybe I still have a few things
> > > to
> > > > understand about the USB devices and udev!
> > > >
> > > > I would like to know if someone have been able to communicate with a
> > > Garmin
> > > > GPS via a USB port and how you did it.  Or maybe someone with a good
> > > > understanding of USB and udev could help me understand what is going on
> > > and
> > > > what I should do to make it work.
 
> Here is what syslog shows when I plug in my usb GPS puck.
> kernel: usb 1-5.4: new full speed USB device using ehci_hcd and address 4
> kernel: usb 1-5.4: configuration #1 chosen from 1 choice
> kernel: pl2303 1-5.4:1.0: pl2303 converter detected
> kernel: usb 1-5.4: pl2303 converter now attached to ttyUSB0
> 

Well, according to the kernel, you have a ttyUSB0.  In your initial
posting, you said you didn't have a ttyUSB.  Do you have a ttyUSB0
anywhere under /dev?  Try using find.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: All New rc2.d Scripts get Ignored. Debian from KNOPPIX

2007-08-30 Thread Douglas A. Tutty
On Thu, Aug 30, 2007 at 10:53:42AM -0500, Martin McCormick wrote:
 
>   When I usually install Linux, I use a serial console.
> That is not an option as there are no native serial ports on
> this system. I need every screen message to go to a file
> somewhere and that may tell me something new.
> 

If you have a paralell port you could print to a printer with a paralell
port and find a way to get that read.  Or, if the box has USB, you could
hook up a usb/serial adapter and use that.  See the
remote-serial-console-HOWTO for details.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: konsole + system bell

2007-08-30 Thread Douglas A. Tutty
On Thu, Aug 30, 2007 at 09:52:35AM -0500, Hugo Vanwoerkom wrote:
> Douglas A. Tutty wrote:
> >10' extension cords.  The box in on a shelf half-way up the wall
> >directly below my mini-desk in the living room.  Makes for a totally
> >silent operation even though the hostname on the box is 'rocky' since
> >its fan sounds like a gravel truck.  Its a P-II given away because if
> >was full (as in packed) of cat hair; messed up the CPU fan bearings
> >among other things.
> 
> Too bad I already ordered from Newegg. Found 16ft vga + USB + kbd 
> extenders. But I did not come across audio cable extenders for that size.

Well, I don't do audio for this box.  But audio is just 1/8" sterio
headphone extension; get uncoiled.  For mic, you'd want mic extension
cord.  Radio Shack (US) or "The Source" (CDN) would have it.  Or you
could just run USB and put a USB sound card at the monitor.

I don't know what the limit is but 16' might be pushing it.  I ran 20'
once but that was with a 9" bw monitor.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: How to bind keys to commands, without requiring login?

2007-08-30 Thread Douglas A. Tutty
On Thu, Aug 30, 2007 at 10:27:56PM +0530, Masatran, R. Deepak wrote:
> I want to bind some keys to commands. I can do this using my window
> manager, but I want it to work even if (1) Nobody is logged in OR if
> (2) the screen is locked with a screen-saver.
> 
> I am using Debian 4.0, with GDM, and Sawfish.

Do you mean that you want a key on a keyboard to run a command even if
nobody is logged in?  Under what user do you want such commands to run?
It sounds like a security hole of some dimension to me.

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Garmin GPS on USB port

2007-08-30 Thread Bernard
Thanks all for your help.

First, my digital camera works like a charm.

When I plug my GPS I have only those two lines in /var/log/syslog:
Aug 30 17:23:15 zherc kernel: usb 1-2: new full speed USB device using
uhci_hcd and address 4
Aug 30 17:23:15 zherc kernel: usb 1-2: configuration #1 chosen from 1 choice

No /dev/ttyUSB0

Also, the module ehci_hcd is already loaded so no need to modprobe it.

The output of lsusb (after the GPS has been plugged) is the following:
Bus 004 Device 001: ID :
Bus 003 Device 001: ID :
Bus 002 Device 002: ID 046d:c506 Logitech, Inc. MX-700 Cordless Mouse
Receiver
Bus 002 Device 001: ID :
Bus 001 Device 004: ID 4348:5523
Bus 001 Device 001: ID :

By the way, this is a Garmin GPS III+ if it could help.

I use a usb-to-serial adapter.  Does it need a driver or something?

Thanks again,
Bernard

On 8/30/07, Wayne Topa <[EMAIL PROTECTED]> wrote:
>
> Bernard([EMAIL PROTECTED]) is reported to have said:
> > On 8/29/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > >
> > > On Wed, Aug 29, 2007 at 09:16:14PM -0400, Bernard wrote:
> > > >
> > > > I try to communicate with my GPS via a USB port but without
> success.  I
> > > used
> > > > to do it with a serial connection without problem.  Eventually, I
> will
> > > have
> > > > to plug my GPS on a laptop with USB port only so I have to find a
> > > solution.
> > > > According to a few things read on the web I have to load the
> garmin_gps
> > > > module.  I did it with succes but the documentation found said to
> use
> > > > /dev/ttyUSB? which device I don't have.  Maybe I still have a few
> things
> > > to
> > > > understand about the USB devices and udev!
> > > >
> > > > I would like to know if someone have been able to communicate with a
> > > Garmin
> > > > GPS via a USB port and how you did it.  Or maybe someone with a good
> > > > understanding of USB and udev could help me understand what is going
> on
> > > and
> > > > what I should do to make it work.
> > >
> > > Your documentation may not have taken udev into account.  Assuming
> that
> > > you're using standard Etch, run tail -f /var/log/syslog and then plug
> in
> > > the gps and see if a message appears that tells you what device it
> > > connects to.  I've never hooked my GPS up to the computer.  However,
> for
> > > comparison, my Palm comes up as something like /dev/pilot.
> > >
> > > Doug.
> >
> >
> > Ok, here is what I got from syslog:
> >
> > Aug 29 21:53:15 zherc kernel: usb 1-2: USB disconnect, address 3
> > Aug 29 21:53:28 zherc kernel: usb 1-2: new full speed USB device using
> > uhci_hcd and address 4
> > Aug 29 21:53:28 zherc kernel: usb 1-2: configuration #1 chosen from 1
> choice
> >
> > Do you seen something useful from this?
>
> Here is what syslog shows when I plug in my usb GPS puck.
> Aug 30 10:27:15 buddy kernel: usb 1-5.4: new full speed USB device using
> ehci_hcd and address 4
> Aug 30 10:27:15 buddy kernel: usb 1-5.4: configuration #1 chosen from 1
> choice
> Aug 30 10:27:15 buddy kernel: pl2303 1-5.4:1.0: pl2303 converter detected
> Aug 30 10:27:15 buddy kernel: usb 1-5.4: pl2303 converter now attached to
> ttyUSB0
>
> Try doing a modprobe ehci_hcd _before_ you plug the Garmin in.
>
> lsusb here shows
> Bus 001 Device 004: ID 067b:2303 Prolific Technology, Inc. PL2303
> Serial Port
> Bus 001 Device 003: ID 05e3:0702 Genesys Logic, Inc. USB 2.0 IDE
> Adapter
> Bus 001 Device 002: ID 05e3:0606 Genesys Logic, Inc.
>
> Wayne
>
> --
> Press any key to continue or any other key to quit...
> ___
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
Bernard Fay

Il est bien agréable d'être important, mais il plus important d'être
agréable.


Re: Garmin GPS on USB port

2007-08-30 Thread Bernard
I have the following:
/dev/.static/dev/ttyUSB10
/dev/.static/dev/ttyUSB11
/dev/.static/dev/ttyUSB12
/dev/.static/dev/ttyUSB13
/dev/.static/dev/ttyUSB14
/dev/.static/dev/ttyUSB15
/dev/.static/dev/ttyUSB0
/dev/.static/dev/ttyUSB1
/dev/.static/dev/ttyUSB2
/dev/.static/dev/ttyUSB3
/dev/.static/dev/ttyUSB4
/dev/.static/dev/ttyUSB5
/dev/.static/dev/ttyUSB6
/dev/.static/dev/ttyUSB7
/dev/.static/dev/ttyUSB8
/dev/.static/dev/ttyUSB9

What means /.static/dev/?


On 8/30/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
>
> On Thu, Aug 30, 2007 at 10:36:18AM -0400, Wayne Topa wrote:
> > Bernard([EMAIL PROTECTED]) is reported to have said:
> > > On 8/29/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> > > > On Wed, Aug 29, 2007 at 09:16:14PM -0400, Bernard wrote:
> > > > >
> > > > > module.  I did it with succes but the documentation found said to
> use
> > > > > /dev/ttyUSB? which device I don't have.  Maybe I still have a few
> things
> > > > to
> > > > > understand about the USB devices and udev!
> > > > >
> > > > > I would like to know if someone have been able to communicate with
> a
> > > > Garmin
> > > > > GPS via a USB port and how you did it.  Or maybe someone with a
> good
> > > > > understanding of USB and udev could help me understand what is
> going on
> > > > and
> > > > > what I should do to make it work.
>
> > Here is what syslog shows when I plug in my usb GPS puck.
> > kernel: usb 1-5.4: new full speed USB device using ehci_hcd and address
> 4
> > kernel: usb 1-5.4: configuration #1 chosen from 1 choice
> > kernel: pl2303 1-5.4:1.0: pl2303 converter detected
> > kernel: usb 1-5.4: pl2303 converter now attached to ttyUSB0
> >
>
> Well, according to the kernel, you have a ttyUSB0.  In your initial
> posting, you said you didn't have a ttyUSB.  Do you have a ttyUSB0
> anywhere under /dev?  Try using find.
>
> Doug.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
Bernard Fay

Il est bien agréable d'être important, mais il plus important d'être
agréable.


Re: docBook or latex

2007-08-30 Thread Vincent Lefevre
On 2007-08-29 21:38:44 +, Douglas A. Tutty wrote:
> Try tex4ht.  Makes html, docbook, +?

On the same file:

vin:~/wd/tex> tex4ht wcinverse.tex

tex4ht.c (2007-04-21-21:07 kpathsea)
tex4ht wcinverse.tex 
--- warning --- Problem with command line
--- error --- Can't find/open file `wcinverse.dvi'

The man page says that I have to use the htlatex shell script, but
it fails when trying to create the dvi (now, I usually directly use
pdflatex, and it seems that latex can't handle figures in PDF, and
BTW, I created the figure with inkscape, so that it is available in
SVG too, which would be more suitable for the web).

The htlatex should problably detect PDF figures and executed
"pdftops -eps" on them. I did that manually, but htlatex gave me
the following error:


tex4ht.c (2007-04-21-21:07 kpathsea)
tex4ht -f/wcinverse.tex 
  -i/usr/share/texmf/tex4ht/ht-fonts/ 
--- warning --- Can't find/open file `tex4ht.env | .tex4ht'
--- error --- Illegal storage address

t4ht.c (2007-01-05-03:17 kpathsea)
t4ht -f/wcinverse.tex 
--- warning --- Can't find/open file `tex4ht.env | .tex4ht'
--- warning --- Can't find/open file `wcinverse.lg'

/usr/share/doc/tex4ht/README.Debian.gz says:

  The configuration file for tex4ht is searched for by kpathsearch
  library routines. You can put this file in the following places (see
  README.kpathsea for details).

$PWD/tex4ht.env, $PWD/.tex4ht, $HOME/tex4ht.env, $HOME/.tex4ht
/usr/share/texmf/tex4ht/tex4ht.env

  The last file is provided by the package as a symlink to
  /etc/tex4ht/tex4ht.env in keeping with the Debian convention on
  configuration files.

The symbolic link and /etc/tex4ht/tex4ht.env both exist. So, I don't
understand why it can't be found.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xterm won't start

2007-08-30 Thread Vincent Lefevre
On 2007-08-29 15:39:42 -0700, Paul Scott wrote:
> No terminal I have tried will start.

> rxvt fails.  The error message is:
> 
> urxvt: can't initialize pseudo-tty, aborting.
> 
> Text mode Emacs 21 also fails.

So, the problem seems to come from your kernel (since the old one works).
Another suggestion: compare the output of dmesg with both kernels.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xterm won't start on AMD K6 with stock 2.6.22-1-486 kernel

2007-08-30 Thread Vincent Lefevre
On 2007-08-29 20:40:28 -0700, Paul Scott wrote:
> So have I been missing the main point?  Is the recent change in 
> CONFIG_LEGACY_PTYS the problem?

I have no problems with this recent change on my x86 machine.
Also, if I understand correctly, most programs no longer use
"legacy" pty's. And ttyrec, which still uses them, fails with
the new kernel. The fact that xterm still works on my machine
suggests that it should not be affected by this change on your
machine either. I'd say that the cause is something else,
perhaps related to the loaded modules on your machine.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: docBook or latex

2007-08-30 Thread Douglas A. Tutty
On Thu, Aug 30, 2007 at 11:46:05PM +0200, Vincent Lefevre wrote:
> On 2007-08-29 21:38:44 +, Douglas A. Tutty wrote:
> > Try tex4ht.  Makes html, docbook, +?
> 
[snip slew of errors when using tex4ht directly from the command line]

Reading /usr/share/doc/tex4ht/html/index.html, says that:

Usage is simplified via the Perl script mk4ht which can be
called directly to combine the above operations transparently.
For example, the source of this document can be processed using

mk4ht htlatex tex4ht_doc.tex


So have you tried mk4ht htlatex?

As for images, I haven't had reason to include images so I have read the
docs on what formats it will accept.  

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: package version numbers

2007-08-30 Thread Bob Proulx
Rick Pasotto wrote:
> Aptitude reports that for several packages:
> 
>   Depends: libglib1.2 (>= 1.2.0) but it is not installable
> 
> however 'apt-cache policy libglib1.2' reports:
> 
> libglib1.2:
>   Installed: 1.2.10-17
>   Candidate: 1.2.10-17
>   Version table:
>  *** 1.2.10-17 0
> 100 /var/lib/dpkg/status
> 
> Isn't 1.2.10 >= 1.2.0?

I did not look but frequently you will find that the package listed is
not installable due to problems with its dependencies and not because
the version is not adequate.  Try this:

  aptitude install -s libglib1.2

Or:

  apt-get install -s libglib1.2

I am guessing that it will be uninstallable and this will show what
those problems will be.  Probably one of the dependencies below it is
not sufficient.

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: docBook or latex

2007-08-30 Thread Steve Mazurek
On 8/30/07, Douglas A. Tutty <[EMAIL PROTECTED]> wrote:
> On Thu, Aug 30, 2007 at 11:46:05PM +0200, Vincent Lefevre wrote:
> > On 2007-08-29 21:38:44 +, Douglas A. Tutty wrote:
> > > Try tex4ht.  Makes html, docbook, +?
> >
> [snip slew of errors when using tex4ht directly from the command line]
>
> Reading /usr/share/doc/tex4ht/html/index.html, says that:
>
>   Usage is simplified via the Perl script mk4ht which can be
>   called directly to combine the above operations transparently.
>   For example, the source of this document can be processed using
>
>   mk4ht htlatex tex4ht_doc.tex
>
>
> So have you tried mk4ht htlatex?
>
> As for images, I haven't had reason to include images so I have read the
> docs on what formats it will accept.
>
> Doug.
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Copy ./ to subdirectory.

2007-08-30 Thread Bob Proulx
Mike Bird wrote:
> James Preece wrote:
> > cp -r ./ backup
>
> I'd use rsync locally.

+1 on rsync.  It is the perfect tool for this task.

> First a dry-run in case I'd made a mistake:

Excellent advice.  Follow the advice or suffer for it when a typo is
made! :-)

> rsync -a --delete --exclude=backup /mydirectory/ /mydirectory/backup/
> ...
> Please note that trailing slashes on directory names are significant
> to rsync.

That is another important point.  If the source includes a trailing
slash then it means that directory.  Plus on other systems such as
HP-UX in particular there are bugs which cause this to behave
differently than it should.  I have found that specifying the
source directory into the destination directory above with a trailing
slash to be most portable.

  rsync -avn sourcedir destdir/

This results in:

  destdir/sourcedir

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Migrate debian services to a new debian system

2007-08-30 Thread Bob Proulx
Jochen Schulz wrote:
> [EMAIL PROTECTED]:
> > Okay, so I want to make the asrock my server...it is quieter and uses
> > less power.  I don't have a lot of time for trouble shooting etc. so I
> > want to plan this out so it mostly works on the first shot.  My
> > strategy is to setup each services one at a time...then transfer to
> > the new system and disable it on the old.
> 
> If I were you, I'd just install a stock Debian kernel on the server (if
> it doesn't already have one) and swap the hard drives between the two
> machines. That might already do it.

Sounds like a good plan to me.  If it doesn't boot on the new machine
with the kernel from old one after installing a stock kernel then boot
KNOPPIX, chroot into the system, reinstall the kernel.  The problem
that might arise is if the new system needs a specific kernel driver
that the old system does not need.  This is configured into the
/boot/initrd.img-$(uname -r) file and may need to be rebuilt.

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: [OT] revision control: git vs mercurial as replacement for bzr

2007-08-30 Thread Bob Proulx
Johannes Wiedersich wrote:
> [I don't want to start a flame; just to investigate which application is
> best for my particular purpose. No offence intended to anyone.]

Almost impossible in a public forum.

You might want to look at this reference which compares features.

  http://better-scm.berlios.de/comparison/comparison.html

This is a quite dated now article but still interesting read:

  http://www.dwheeler.com/essays/scm.html

> I am slightly leaning towards mercurial, because it is available for
> potential collaborators with MS's OS. Most of all however, I want the
> tool that is powerful and efficient (both usage, time and space).

I use Git daily and find it to be quite a good performer.  It is very
fast.  For most of the strange corner case behaviors it seems to get
more of them Right(TM) than other systems.  YMMV.

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Bob Proulx
Ron Johnson wrote:
> Hal Vaughan wrote:
> > While it's just a small, niggling detail and may be just semantics, 
> > there is a true root account on Ubuntu that can be used the same as a 
> > root account on any Debian release.  The only difference is it doesn't 
> > have a password on setup.
> 
> You've GOT to be kidding...  Right?  Please?

Why is this such a surprise?  Ubuntu uses sudo for everything and by
default the root password is disabled.  Upon installation a user
password is configured into the sudoers configuration so that
explicitly logging into the root account is not needed.  But if you
configure a root password then of course this enables the root login
the same as traditional systems.

Bob


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Garmin GPS on USB port

2007-08-30 Thread Wayne Topa
Bernard([EMAIL PROTECTED]) is reported to have said:
> Thanks all for your help.
> 
> First, my digital camera works like a charm.
> 
> When I plug my GPS I have only those two lines in /var/log/syslog:
> Aug 30 17:23:15 zherc kernel: usb 1-2: new full speed USB device using
> uhci_hcd and address 4
> Aug 30 17:23:15 zherc kernel: usb 1-2: configuration #1 chosen from 1 choice
> 
> No /dev/ttyUSB0
> 
> Also, the module ehci_hcd is already loaded so no need to modprobe it.
> 
> The output of lsusb (after the GPS has been plugged) is the following:
> Bus 004 Device 001: ID :
> Bus 003 Device 001: ID :
> Bus 002 Device 002: ID 046d:c506 Logitech, Inc. MX-700 Cordless Mouse
> Receiver
> Bus 002 Device 001: ID :
> Bus 001 Device 004: ID 4348:5523
> Bus 001 Device 001: ID :
> 
> By the way, this is a Garmin GPS III+ if it could help.
> 
> I use a usb-to-serial adapter.  Does it need a driver or something?
> 
> Thanks again,
> Bernard
> > Here is what syslog shows when I plug in my usb GPS puck.
> > Aug 30 10:27:15 buddy kernel: usb 1-5.4: new full speed USB device using
> > ehci_hcd and address 4
> > Aug 30 10:27:15 buddy kernel: usb 1-5.4: configuration #1 chosen from 1
> > choice
> > Aug 30 10:27:15 buddy kernel: pl2303 1-5.4:1.0: pl2303 converter detected
> > Aug 30 10:27:15 buddy kernel: usb 1-5.4: pl2303 converter now attached to
> > ttyUSB0

Yes!  Thats what the "usb 1-5.4: pl2303 converter now attached to
ttyUSB0" is.  You said you had the converter so I 'thought' (my bad),
yu knew that.

modprobe pl2303  should do it for you.

Wayne

-- 
Don't hit the keys so hard, it hurts.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: xterm won't start on AMD K6 with stock 2.6.22-1-486 kernel

2007-08-30 Thread Wayne Topa
Paul Scott([EMAIL PROTECTED]) is reported to have said:
> Wayne Topa wrote:
>> Paul Scott([EMAIL PROTECTED]) is reported to have said:
>>   
>>> Laptop with AMD K6 running Debian sid
>>>
>>> xterm works w/ stock 2.6.17-2-486
>>>
>>> with stock 2.6.22-1-486 attempting to start xterm gives:
>>>
>>> xterm: Error 32, errno 2: No such file or directory
>>> Reason: get_pty: not enough ptys
>>>
>>> I have upgraded almost anything that needed it that would have come after 
>>> the 2.6.17-2-486 kernels.  Any of that upgrading may have caused the 
>>> xterm problem.
>>>
>>> TIA for any more ideas.
>>>
>>> 
>> Paul
>>
>> What do you get from
>>
>> grep -i pty /boot/config-$(uname -r)
>>   
> So have I been missing the main point?  Is the recent change in 
> CONFIG_LEGACY_PTYS the problem?  I thought xterm's were working for others 
> so I didn't go far enough with that investigation.
OK
from your Aug 26 post

CONFIG_LEGACY_PTYS=Y
CONFIG_LEGACY_PTY_COUNT+256
   ^  That should be = Not +
That should not have happend, unless you ignored the warning at the top
of the file.  " # Automatically generated make config: don't edit"

Wayne

-- 
What boots up must come down.
___


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread 应富鸣
On 8/31/07, Britton Kerin <[EMAIL PROTECTED]> wrote:
>
> I just bought a computer that came with ubuntu and would like to switch
> it to pure debian.  Is there a standard way to do this that someone
> could point me to?
>
> (Though I will say that little hack where the shell tells you which
>  package a program is in looks pretty cute and helpful :)
>
> Thanks,
> Britton
>
>
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact
> [EMAIL PROTECTED]
>
>

Ubuntu and Debian are not compatible.  Once someone wanted to use the
source of Debian to install packages in Ubuntu, but finally his Ubuntu
crashed.  Many people have done this and got the same result.  So if
you want to transfer Ubuntu to Debian, I suggest you to format your /
partition and reinstall Debian.

Debian is also have the sudo package, but it will not be installed
through the installation.

If you want to use GNOME, Ubuntu is also a good choice. It's very
stable.  But if you want to use KDE, as far as my experience, KUbuntu
is less stable than both GNOME of Ubuntu and KDE of Debian.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Solution

2007-08-30 Thread dunkel


I think it is not current now, but for the guys surfing the net:
The solution is to add these 2 lines to snmpd.conf
interface eth0 - the network card you want to use
agentaddress ip-address:161 - the listening IP address and port


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Solution

2007-08-30 Thread Douglas A. Tutty
On Fri, Aug 31, 2007 at 01:36:03AM +0200, dunkel wrote:
> 
> I think it is not current now, but for the guys surfing the net:
> The solution is to add these 2 lines to snmpd.conf
> interface eth0 - the network card you want to use
> agentaddress ip-address:161 - the listening IP address and port

If you want to put the solution to a problem in the archives so that
others can find it, it would help to tell us what the ** you are talking
about.  While you're at it, for lines you suggest adding to a file, put
them on their own line, and use standard notation e.g  [your ip
address].

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: All New rc2.d Scripts get Ignored. Debian from KNOPPIX

2007-08-30 Thread Martin McCormick
"Douglas A. Tutty" writes:
> If you have a paralell port you could print to a printer with a paralell
> port and find a way to get that read.  Or, if the box has USB, you could
> hook up a usb/serial adapter and use that.  See the
> remote-serial-console-HOWTO for details.

Great ideas. The system in question has one of each. I
might even be able to figure out how to feed the paralell port
in to another system as I do have some other Linux boxes with
paralell ports. I think all but the oldest P.C.'s can receive
through their parallel ports. If I am not mistaken, that was the
operating principle behind the LapLink system.

Thank you.

Martin McCormick WB5AGZ  Stillwater, OK 
Systems Engineer
OSU Information Technology Department Network Operations Group


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



intel dp35dp

2007-08-30 Thread Enrique Morfin
Hi!

I tried to install debian testing on an intel dp35dp
motherboard and intel core 2 duo procesor.

The installer (i386 and amd64) keeps me telling there
is no cdrom.

I installed on another box, then put that HD in the
dp35dp box and it tells me "There is no OS Disc".

Any ideas?

PS: When i installed in other box, i upgraded the
kernel to 2.6.21.


   

Choose the right car based on your needs.  Check out Yahoo! Autos new Car 
Finder tool.
http://autos.yahoo.com/carfinder/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: ssh-agent (was: using a remote IMAP server and smarthost)

2007-08-30 Thread Ken Irving
On Thu, Aug 30, 2007 at 01:00:44AM +0200, Florian Kulzer wrote:
> On Tue, Aug 28, 2007 at 20:09:03 +0100, Richard Lyons wrote:
> > But, again if I understand Florian's earlier post, Method 2 requires the
> > use of sssh-agent.  And I cannot see fromt he man page how to use it or
> > configure it.
> > 
> > IF I simply let mutt run the script as above, I get
> > 
> >   ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory^M
> >   ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory^M
> >   ssh_askpass: exec(/usr/bin/ssh-askpass): No such file or directory^M
> >   Permission denied (publickey,keyboard-interactive).
> >   
> > So I think I really need the ssh-agent.  Help anybody?
> 
> Ssh-agent is part of the openssh-client package. It should be started
> with every X session by the /etc/X11/Xsession.d/90x11-common_ssh-agent
> script. (See "ps -e | grep ssh-agent".)
> 
> However, ssh-agent needs a frontend to handle the interaction with the
> user when a passphrase for a private key has to be entered. This seems
> to be what you are missing. Install one of the packages that provide
> "ssh-askpass":
> ...

You can also explicitly provide a shell to ssh-agent, authorize using
ssh-add, and then ssh to any host on which you've placed your public
key(s) in .ssh/authorized_hosts.  I do that sometimes from consoles on
hosts not running X, for instance, e.g.,

$ ssh-agent bash
$ ssh-add  # ... prompts for passphrase
$ ssh somehost
$ ...

The keychain package can help when it comes to running cron jobs and
such by providing a script which you source to set a few variables to
the authorized keys.  You need to connect to the host once to authorize
those keys, but after that the jobs can run autonomously.  Not sure if
this is relevant...

Ken

-- 
Ken Irving, [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Asking about installation Debian Linux

2007-08-30 Thread €®!© Jansen
Hi dear Mr/Mrs,


Several days ago, I succeded download the DVD version of DVD intel x86 for
Debian Linux and when I wanted to install Linux during the process of
installation I got the problems.
The DVD RW isn't able to be detected. So, from the first step I could not
pass this step that my DVDRW is not detected (I don't know whether it isn't
mounted or not, because I am blank of Linux) I also don't know whether the
DVD RW is non-IDE or non-SCSI CDRom drive or not.
I use Laptop LG E-50 Intel Core Duo T7100 (1.8 GHz), 2048 MB, 160 GB.

I have no idea how to load module and the device to use it. Module manual of
CDROM that I read (such as aztcd,cdrom, cdu31a, cm206, gscd, gscd, isp16,
mcdx, optcd, sbpcd, jscd, sonycd535) are not suitable to mount and detect my
DVDRW for continuing installation the Linux.
even in /dev/ I don't find any hda, hdb, hdc or cdrom... I found ptyp0 -
ptypf, ram0 - ram15, psaux, ppp, null, vcs1-vcsa5, etc

I have read the manual, but I found nothing to solve this problem.
Please help me for solving this matter.

Sincerely yours,
Eric Jansen


Re: Asking about installation Debian Linux

2007-08-30 Thread Douglas A. Tutty
On Fri, Aug 31, 2007 at 02:17:10AM +0200, ??!? Jansen wrote:
> 
> Several days ago, I succeded download the DVD version of DVD intel x86 for
> Debian Linux and when I wanted to install Linux during the process of
> installation I got the problems.
> The DVD RW isn't able to be detected. So, from the first step I could not
> pass this step that my DVDRW is not detected (I don't know whether it isn't
> mounted or not, because I am blank of Linux) I also don't know whether the
> DVD RW is non-IDE or non-SCSI CDRom drive or not.
> I use Laptop LG E-50 Intel Core Duo T7100 (1.8 GHz), 2048 MB, 160 GB.
> 
> I have no idea how to load module and the device to use it. Module manual of
> CDROM that I read (such as aztcd,cdrom, cdu31a, cm206, gscd, gscd, isp16,
> mcdx, optcd, sbpcd, jscd, sonycd535) are not suitable to mount and detect my
> DVDRW for continuing installation the Linux.
> even in /dev/ I don't find any hda, hdb, hdc or cdrom... I found ptyp0 -
> ptypf, ram0 - ram15, psaux, ppp, null, vcs1-vcsa5, etc
> 
> I have read the manual, but I found nothing to solve this problem.
> Please help me for solving this matter.

Have you considered the USB-stick hd-media install method from the
installation manual?  Basically, you download a small file that is a
compressed image of a filesystem that you put on a USB stick, then you
copy the netinst.iso file to the stick and boot away.  

Doug.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: upgrading ubuntu to debian

2007-08-30 Thread Hal Vaughan
On Thursday 30 August 2007, 应富鸣 wrote:
...
> If you want to use GNOME, Ubuntu is also a good choice. It's very
> stable.  But if you want to use KDE, as far as my experience, KUbuntu
> is less stable than both GNOME of Ubuntu and KDE of Debian.

I've found Kubuntu quite stable.  The only difference is the packages 
that are installed initially and things like the boot screen.

Hal



Re: Has recent apache2 upgrade screwed something

2007-08-30 Thread Eric A. Bonney

Mumia W.. wrote:

On 08/23/2007 04:03 PM, Alan Chandler wrote:

[...]


Include /etc/apache2/sites-available/www-common
RewriteRule ^/$ /blog/app   [PT]

[...]


I still get HTTP response "400 No Host matches server name 
www.chandlerfamily.org.uk."


If home.chandlerfamily.org.uk doesn't have the same IP address as 
www.chandlerfamily.org.uk, it won't work.


I advise you to rewrite the entire virtual host section. First read 
the Apache manual on virtual hosting. Don't try to use the Include 
directive until you have virtual hosting working without it.


Try this:


  ServerName www.chandlerfamily.org.uk
  DocumentRoot /var/www/chandlerfamily
  RewriteEngine   on
  ...





I am having something similar with my website that started just a couple 
of days ago. If I type my ip address (I don't have the domain name 
pointing to my ip address yet) I get a 400 Bad Request error from 
Apache2. If however, I type the internal ip address of my server into my 
web browser from behind the firewall and am able to get the website just 
fine. I have verified the firewall settings and the firewall is setup to 
forward all the http traffic to the correct machine. Everything used to 
work just fine, then I upgraded to the latest kernel for Debian Etc and 
now it is broken.


Anyone have any additional ideas?

-Eric


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Fwd: Asking about installation Debian Linux

2007-08-30 Thread €®!© Jansen
Hi dear Mr/Mrs,

Several things I forgot to tell that in newest laptop doesn't have floopy
disk drive anymore and I have no idea about "image" that said during the
installation. I just downloaded the DVD files for installation from
debian.org

Would you mind to tell me with more details what are the commands to detect
my DVD-RW such as modprobe, dmesg and other commands that are related to
installation for detecting hardware (VGA cards, sound cards, ethernet cards,
etc)

first of all I say thank you very much. I appreciate your helps.

Sincerely yours,
Eric Jansen


Re: docBook or latex

2007-08-30 Thread Vincent Lefevre
On 2007-08-30 18:40:26 -0400, Douglas A. Tutty wrote:
> On Thu, Aug 30, 2007 at 11:46:05PM +0200, Vincent Lefevre wrote:
> > On 2007-08-29 21:38:44 +, Douglas A. Tutty wrote:
> Reading /usr/share/doc/tex4ht/html/index.html, says that:
> 
>   Usage is simplified via the Perl script mk4ht which can be
>   called directly to combine the above operations transparently.
>   For example, the source of this document can be processed using
> 
>   mk4ht htlatex tex4ht_doc.tex
> 
> 
> So have you tried mk4ht htlatex?

Same error.

-- 
Vincent Lefèvre <[EMAIL PROTECTED]> - Web: 
100% accessible validated (X)HTML - Blog: 
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



  1   2   >