Re: Install debian 5.0 without press ENTER key?

2009-03-16 Thread my mail


--- On Mon, 3/16/09, Daryl Styrk  wrote:

From: Daryl Styrk 
Subject: Re: Install debian 5.0 without press ENTER key?
To: debian-user@lists.debian.org
Date: Monday, March 16, 2009, 5:11 AM

my mail wrote:
> can i install leny without install key, like another distro linux, will 
> automatically run installer if you don't anything in 30 seconds.
> 
> I have boot using debian dvd but after 30 s without i press the enter key, 
> the installer not running.
> 
> it's possible to install leny without press the enter?
> 
> 
> thx
> 
> 
>       
> 

> Have a look at this.
> http://users.telenet.be/mydotcom/howto/linux/automatic.htm or
> http://tinyurl.com/czxgk8
> 
> and http://tinyurl.com/d5ztzn
> 
> I've never tried one, but I see where it could be handy.


thanks for the link. but i just want automate the press ENTER for the first 
time i boot using dvd installer. 

I mean when i boot using DVD installer to install debian leny, i do not to 
press the ENTER key to start the installation, how to do it?

thx







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



Anyone? Re: usb flash drive locks up pc, squeeze, lenny, not ubuntu

2009-03-16 Thread whollygoat
On Thu, Mar 12, 2009 at 11:57:24PM -0700, whollyg...@letterboxes.org wrote:

Ubuntu 7.10 doesn't have this problem, but I tried lenny and it does it, too.
Looked at loaded modules on Ubuntu and Squeeze.  usb_storage was missing on
squeeze, but after loading, problem persisted.

Googling hasn't helped.  

No ideas here?

> Hi,
> 
> Recently installed testing for the first time.  Whenever
> I try to use a usb flash drive the machine freezes: no
> keyboard, no mouse, no ssh from the outside, not even
> an answer to a ping.
> 
> Most often this happens right after plugging in the drive.
> Once I was able to work maybe 4 or 5 minutes before things
> locked up.  Couple of times I've been able to get to prompt
> and mount the drive.
> 
> Tried a couple of differnt usb thumb drives.  All cause 
> the squeeze machine to lock up, none cause and etch machine
> to lock up.
> 
> Thought it might have been related to pmount or hal recently
> installed, but I purged them and the problem persists.  Except
> for ssh, I've purging everything added since the install, but 
> the box still hangs when using usb flash drives.
> 
> Nothing in the logs.
> 
> kernel 2.6.26
> 
> Any suggestions?
> 
> wg


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



Re: Xorg failure

2009-03-16 Thread Javier Barroso
On Fri, Mar 13, 2009 at 1:30 AM, Emanoil Kotsev  wrote:
> Javier Barroso wrote:
>
>
>>>
>>> I was using the xserver-xorg-video-intel.  Now, I'm using Ubuntu.  I
>>> didn't really want to do so; but, I couldn't tolerate crashes every hour,
>>> every few days.
>> There is a bug in bugtracker system, but nobody answered :( :
>> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491230
>
> Xorg intel changed between etch and lenny. You probably did not remove your
> xorg.conf.

My friend do it and worked (from this thread):
"Which driver are you using? A friend had a problem like yours, but
reboot worked for him (without any xorg.conf). This was with a intel
video card."

Regards


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



Iceweasel address completion non-working?

2009-03-16 Thread Tshepang Lekhonkhobe
Hi,

I booted into Friday's Sid this morning to find that there's no
address completion in Iceweasel and upgraded to latest Unstable, and
still no pleasure. Where can I look? Last I checked, on Friday, there
was no problem.

-- 
my place on the web:
floss-and-misc.blogspot.com


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



Re: pppd curiosity

2009-03-16 Thread Adrian Levi
2009/3/16 Umarzuki Mochlis :
> Frankly, I don't really know how to answer that other than giving you the
> full dialing message

What was the command you typed to get that message?
PS I am subscrubed, you don't need to email me, just the list is fine.

Adrian

-- 
24x7x365 != 24x7x52 Stupid or bad maths?
 hm. I've lost a machine.. literally _lost_. it responds to
ping, it works completely, I just can't figure out where in my
apartment it is.


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



Re: Install debian 5.0 without press ENTER key?

2009-03-16 Thread randall

my mail wrote:

--- On Mon, 3/16/09, Daryl Styrk  wrote:

From: Daryl Styrk 
Subject: Re: Install debian 5.0 without press ENTER key?
To: debian-user@lists.debian.org
Date: Monday, March 16, 2009, 5:11 AM

my mail wrote:
  

can i install leny without install key, like another distro linux, will 
automatically run installer if you don't anything in 30 seconds.

I have boot using debian dvd but after 30 s without i press the enter key, the 
installer not running.

it's possible to install leny without press the enter?


thx


   




  

Have a look at this.
http://users.telenet.be/mydotcom/howto/linux/automatic.htm or
http://tinyurl.com/czxgk8

and http://tinyurl.com/d5ztzn

I've never tried one, but I see where it could be handy.




thanks for the link. but i just want automate the press ENTER for the first time i boot using dvd installer. 


I mean when i boot using DVD installer to install debian leny, i do not to 
press the ENTER key to start the installation, how to do it?
  
you need to set the "timeout" option in isolinux.cfg, this requires you 
to change the cd or dvd you are using.


i once made some notes on how to do is once, its ubuntu based but should 
largely also  apply to debian

http://www.songshu.org/index.php/customise-the-ubuntu-installer


--

www.songshu.org
Just another collection of nuts


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




Re: Iceweasel address completion non-working?

2009-03-16 Thread Tshepang Lekhonkhobe
On Mon, Mar 16, 2009 at 9:46 AM, Tshepang Lekhonkhobe
 wrote:
> Hi,
>
> I booted into Friday's Sid this morning to find that there's no
> address completion in Iceweasel and upgraded to latest Unstable, and
> still no pleasure. Where can I look? Last I checked, on Friday, there
> was no problem.

I just logged in with another user and found this problem absent. Only
I still don't know where to start. Preferences don't give me much.


-- 
my place on the web:
floss-and-misc.blogspot.com


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



Re: Iceweasel address completion non-working?

2009-03-16 Thread Matthew Smith

Quoth Tshepang Lekhonkhobe at 2009-03-16 19:10...

I booted into Friday's Sid this morning to find that there's no
address completion in Iceweasel and upgraded to latest Unstable, and
still no pleasure. Where can I look? Last I checked, on Friday, there
was no problem.


I just logged in with another user and found this problem absent. Only
I still don't know where to start. Preferences don't give me much.


If you don't get a satisfactory response from this list (or if you are 
in a hurry) I would suggest that you try Googling for the answer - but 
look not for Iceweasel but Firefox. I just tried this search:


firefox address completion option

...and got what looked like likely answers.

Cheers

M

--
Matthew Smith
Smiffytech - Technology Consulting & Web Application Development
Business:  http://www.smiffytech.com/
Blog/personal: http://www.smiffysplace.com/
LinkedIn:  http://www.linkedin.com/in/smiffy
Skype: msmiffy
Twitter:   @smiffytech


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




Re: debian/lenny: keyboard doesn't work after software upgrade

2009-03-16 Thread Thorny
> thanks. I post message in my mail client that puts quotes below reply.

It would also be a good idea to post in text only for this list.


> I've been happily using 2.6.24 kernel without meeting much problems.
> Recently just out of curiosity I did a upgrade (not dist-upgrade yet).
> Is there outstanding improvements in 2.6.26 that make it strongly
> recommended to dist-upgrade? Because I have many packages and drivers to
> be re-compiled if I do a dist-upgrade.
> 
> 
Not really any compelling reason that I know of to upgrade the kernel for
a working system. I'm not really familiar with that kernel version,
someone else might post if they have recommendations.

> The source in my source list is:
> deb http://debian.yorku.ca/debian/ testing main contrib non-free deb-src
> http://debian.yorku.ca/debian/ testing main contrib non-free
> 
> I think the problem is caused by 'testing' dist previously referred to
> 'Lenny', but now referred to unstable? If I want to update my system for
> lenny, do I need to change the 'testing' to 'stable'?
> 
> 
Yes, I think you found the reason you had that xkb-data from squeeze.

It is probably a leftover from your using Lenny (or parts of
Lenny) before the release date. And, yes, it should have been changed to
stable after release before you upgraded. The possible problem at this
point is that you now probably have a somewhat mixed system and changing
it now might be problematic. Sometimes it could work and sometimes it
could give you a mess.

I like to use codenames in my sources list. For example:
http://debian.yorku.ca/debian/ lenny main contrib non-free. That can be a
way to avoid surprises in the time after a new release.

You might try pinning at 1001 for stable, if you are familiar with apt
pinning, and upgrade until the system gets back in sync with stable. But
no guarantee that it would downgrade back to a pure Lenny safely and don't
try it if you don't understand what is involved.

It can't hurt for you to have a look at the Lenny release notes
http://www.debian.org/releases/lenny/i386/release-notes/
especially the section Chapter 4. Upgrades from previous releases. 


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



reconfig network interface

2009-03-16 Thread linux china
after I replace a new network card in Debian, the network interface
eth0 is not up anymore. Before the replacement, the network is fine,

if I try to ifup eth0, I got error like
"eth0: ERROR while getting interface flags: No such device
SIOCSIFNETASK: no such device
SIOCSIFBRDADDR: no such device
eth0: ERROR while getting interface flags: No such device
 Failed to bring up eth0",

Any suggestions?


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



Re: reconfig network interface

2009-03-16 Thread randall

linux china wrote:

after I replace a new network card in Debian, the network interface
eth0 is not up anymore. Before the replacement, the network is fine,

if I try to ifup eth0, I got error like
"eth0: ERROR while getting interface flags: No such device
SIOCSIFNETASK: no such device
SIOCSIFBRDADDR: no such device
eth0: ERROR while getting interface flags: No such device
 Failed to bring up eth0",

Any suggestions?


  
is the old card still mentioned in 
/etc/udev/rules.d/z25_persistent-net.rules


you can remove this file and it will create a new one on reboot, my 
guess is that your new card shows up as eth3, you can simply change this 
in above mentioned file.




--

www.songshu.org
Just another collection of nuts


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




Re: reconfig network interface

2009-03-16 Thread linux china
There is one file named 70-persistent-net.rules, I guess this is my
old one, I didn't find any filename beginning with z in that
directory, it doesn't matter I guess.

So could I remove this file and reboot system?

On Mon, Mar 16, 2009 at 5:18 PM, randall  wrote:
> linux china wrote:
>>
>> after I replace a new network card in Debian, the network interface
>> eth0 is not up anymore. Before the replacement, the network is fine,
>>
>> if I try to ifup eth0, I got error like
>> "eth0: ERROR while getting interface flags: No such device
>> SIOCSIFNETASK: no such device
>> SIOCSIFBRDADDR: no such device
>> eth0: ERROR while getting interface flags: No such device
>>  Failed to bring up eth0",
>>
>> Any suggestions?
>>
>>
>>
>
> is the old card still mentioned in
> /etc/udev/rules.d/z25_persistent-net.rules
>
> you can remove this file and it will create a new one on reboot, my guess is
> that your new card shows up as eth3, you can simply change this in above
> mentioned file.
>
>
>
> --
>
> www.songshu.org
> Just another collection of nuts
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



Re: reconfig network interface

2009-03-16 Thread randall

linux china wrote:

There is one file named 70-persistent-net.rules, I guess this is my
old one, I didn't find any filename beginning with z in that
directory, it doesn't matter I guess.

So could I remove this file and reboot system?
  
i just checked and it apparently changed into 70-persistent-net.rules in 
Lenny instead of the 25 on Etch.


but yes, this file is regenerated on start up if its not there, you can 
also manually change it and then it will be read on start up.
if the new card is listed as eth3 you can just change it into eth0 if 
you like


i once made some notes on the link below if you'd like to double check.
http://www.songshu.org/index.php/replacing-disfuctioning-marvel-ethernet-controller


On Mon, Mar 16, 2009 at 5:18 PM, randall  wrote:
  

linux china wrote:


after I replace a new network card in Debian, the network interface
eth0 is not up anymore. Before the replacement, the network is fine,

if I try to ifup eth0, I got error like
"eth0: ERROR while getting interface flags: No such device
SIOCSIFNETASK: no such device
SIOCSIFBRDADDR: no such device
eth0: ERROR while getting interface flags: No such device
 Failed to bring up eth0",

Any suggestions?



  

is the old card still mentioned in
/etc/udev/rules.d/z25_persistent-net.rules

you can remove this file and it will create a new one on reboot, my guess is
that your new card shows up as eth3, you can simply change this in above
mentioned file.



--

www.songshu.org
Just another collection of nuts


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






--

www.songshu.org
Just another collection of nuts


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




Re: reconfig network interface

2009-03-16 Thread linux china
thank you professional support, I removed the file and after reboot,
my network eth0 is back and is working now, thanks.

On Mon, Mar 16, 2009 at 5:39 PM, randall  wrote:
> linux china wrote:
>>
>> There is one file named 70-persistent-net.rules, I guess this is my
>> old one, I didn't find any filename beginning with z in that
>> directory, it doesn't matter I guess.
>>
>> So could I remove this file and reboot system?
>>
>
> i just checked and it apparently changed into 70-persistent-net.rules in
> Lenny instead of the 25 on Etch.
>
> but yes, this file is regenerated on start up if its not there, you can also
> manually change it and then it will be read on start up.
> if the new card is listed as eth3 you can just change it into eth0 if you
> like
>
> i once made some notes on the link below if you'd like to double check.
> http://www.songshu.org/index.php/replacing-disfuctioning-marvel-ethernet-controller
>
>> On Mon, Mar 16, 2009 at 5:18 PM, randall  wrote:
>>
>>>
>>> linux china wrote:
>>>

 after I replace a new network card in Debian, the network interface
 eth0 is not up anymore. Before the replacement, the network is fine,

 if I try to ifup eth0, I got error like
 "eth0: ERROR while getting interface flags: No such device
 SIOCSIFNETASK: no such device
 SIOCSIFBRDADDR: no such device
 eth0: ERROR while getting interface flags: No such device
  Failed to bring up eth0",

 Any suggestions?




>>>
>>> is the old card still mentioned in
>>> /etc/udev/rules.d/z25_persistent-net.rules
>>>
>>> you can remove this file and it will create a new one on reboot, my guess
>>> is
>>> that your new card shows up as eth3, you can simply change this in above
>>> mentioned file.
>>>
>>>
>>>
>>> --
>>>
>>> www.songshu.org
>>> Just another collection of nuts
>>>
>>>
>>> --
>>> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
>>> subject
>>> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>>>
>>>
>>>
>
>
> --
>
> www.songshu.org
> Just another collection of nuts
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



msginit doesn't work

2009-03-16 Thread Chris

Hi everyone,

I try to use msginit to generate a po file, but it doesn't work.

msginit -l zh_CN.UTF-8

The new message catalog should contain your email address, so that users 
can
give you feedback about the translations, and so that maintainers can 
contact

you in case of unexpected technical problems.

Which is your email address?
1 a...@gmail.com
2 b...@gmail.com
3 bbsh...@gmail.com
4 ch...@debian

Please choose the number, or enter your email address.
4 [enter]

It stucks here.

I've examined the script /usr/lib/gettext/user-email that verifies the 
email address. It just requires something like   *...@*.*   . But whatever 
a fully qualified domain name I give here, it stucks and doesn't show 
any messages.Could anyone help me?



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




Re: Random crashes in squeeze

2009-03-16 Thread Sjoerd Hardeman
Andrew Sackville-West schreef:
> On Sun, Mar 15, 2009 at 10:22:11PM +0100, Sjoerd Hardeman wrote:
>> Hi all,
>>
>> My laptop (a dell XPS 1330) started about five days ago with suddenly
>> crashing, mostly from idle state. The caps-lock and scroll-lock light
>> start blinking and the system stops responding.
>> I have checked my memory using memtest86+, and cannot find any problem.
>> Also, nothing appears in any logfile (at least, not that I can find).
>> Can anybody tell me how I can e.g. generate more logging, or do anything
>> else to produce more useful information to solve this issue?
> 
> Not much help, but I've seen similar behavior on my Linux Certified
> LC2210DC (rebadged Asus). Seems to be associated with kernel 2.6.26
> and a custom compiled 2.6.27.7, but I've not been able to narrow it
> down at all, due to a hard lock. Maybe we can look for things in
> common?
> 
> lspci output below
> 
> A
> 
> 
> and...@delappy:~/documents/farwest$ lspci
> 00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML
> and 945GT Express Memory Controller Hub (rev 03)
> 00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS,
> 943/940GML Express Integrated Graphics Controller (rev 03)
> 00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME,
> 943/940GML Express Integrated Graphics Controller (rev 03)
> 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
> Definition Audio Controller (rev 02)
> 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
> Port 1 (rev 02)
> 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express
> Port 2 (rev 02)
> 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> UHCI Controller #1 (rev 02)
> 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> UHCI Controller #2 (rev 02)
> 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> UHCI Controller #3 (rev 02)
> 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB
> UHCI Controller #4 (rev 02)
> 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2
> EHCI Controller (rev 02)
> 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
> 00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface
> Bridge (rev 02)
> 00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE
> Controller (rev 02)
> 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller
> (rev 02)
> 02:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG
> [Golan] Network Connection (rev 02)
> 03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
> 03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
> (rev 08)
> 03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
> Host Adapter (rev 17)
> 03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
> Adapter (rev 08)
> 03:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8169
> Gigabit Ethernet (rev 10)
> 
> 
> 
Hmm, I don't see much overlap.
sjo...@laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile PM965/GM965/GL960 Memory
Controller Hub (rev 0c)
00:01.0 PCI bridge: Intel Corporation Mobile PM965/GM965/GL960 PCI
Express Root Port (rev 0c)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #5 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #2 (rev 02)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio
Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 2 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 4 (rev 02)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express
Port 6 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI
Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI
Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f2)
00:1f.0 ISA bridge: Intel Corporation 82801HEM (ICH8M) LPC Interface
Controller (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E)
SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller
(rev 02)
01:00.0 VGA compatible controller: nVidia Corporation GeForce 8400M GS
(rev a1)
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
(rev 05)
03:01.1 SD Host controller: Ricoh C

iomega portable hard drive

2009-03-16 Thread Marcelo Chiapparini
Hello!

is it possible to put to work a 120 GB Iomega Portable Hard Drive (usb
powered) under Lenny? I own one myself, but I can't mount it. I
googled a bit too, but without success besides the fact that there is
no direct linux support for it.

Thanks in advance!

Marcelo


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



Re: iomega portable hard drive

2009-03-16 Thread Aioanei Rares

Marcelo Chiapparini wrote:

Hello!

is it possible to put to work a 120 GB Iomega Portable Hard Drive (usb
powered) under Lenny? I own one myself, but I can't mount it. I
googled a bit too, but without success besides the fact that there is
no direct linux support for it.

Thanks in advance!

Marcelo


  
You should try recompiling your kernel making sure the proper modules 
are enabled.



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




ACPI init

2009-03-16 Thread linux china
While booting Debian lenny, I saw there are errors during ACPI
initiation process on console, like error inserting fan, error
inserting processor and thermap, how to get rid of these error
messages?


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



stream audio WAV file to local usb port

2009-03-16 Thread Russell L. Harris

I need to stream an audio file in WAV format to a local USB port.

Connected to the USB port is a Henry Engineering USB-AES Matchbox

( http://www.henryeng.com/usbaesmb.html )

in order to convert the WAV file to an AES/EBU stream for further 
processing by apparatus which has an AES/EBU input.


Does this require a streaming audio server?  Or is FTP (such as provided 
by Midnight Commander) sufficient?


RLH


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




Re: Random crashes in squeeze

2009-03-16 Thread Sjoerd Hardeman

明覺 wrote:
I had a similar case, I had 2G memory first, then 1G of it was removed, 
then my machine got dead randomly, then I plug in the removed 1G memory 
again, and resolved this problem. Maybe it's not your case.
I haven't done anything to the hardware, so I think it is unrelated. 
However, strange it certainly is. Thanks for your reply.


Sjoerd

--
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments



signature.asc
Description: OpenPGP digital signature


Re: ACPI init

2009-03-16 Thread randall

linux china wrote:

While booting Debian lenny, I saw there are errors during ACPI
initiation process on console, like error inserting fan, error
inserting processor and thermap, how to get rid of these error
messages?

  

the messages are pretty harmless, but there is a way to disable it.
OR you disable it in the BIOS OR you disable it in the kernel

in case you want to dual boot with windows then the last option would be 
the best because windows will probably not start if its turned of in the 
bios.


to disable it in the kernel:
there is a file called /boot/grub/menu.lst where the boot options are listed

if you see a line similair like this, it is what you see when you start 
up and can select which kernel to boot

kernel  /vmlinuz-2.6.26-1-vserver-amd64 root=/dev/md1 ro

what you can do is to add the following parameters "noapic nolapic 
acpi=off "

so the complete line would look like this:
kernel  /vmlinuz-2.6.26-1-vserver-amd64 root=/dev/md1 ro noapic 
nolapic acpi=off





www.songshu.org
Just another collection of nuts


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




Re: Iceweasel address completion non-working?

2009-03-16 Thread Tshepang Lekhonkhobe
On Mon, Mar 16, 2009 at 10:46 AM, Matthew Smith  wrote:
> Quoth Tshepang Lekhonkhobe at 2009-03-16 19:10...
>>>
>>> I booted into Friday's Sid this morning to find that there's no
>>> address completion in Iceweasel and upgraded to latest Unstable, and
>>> still no pleasure. Where can I look? Last I checked, on Friday, there
>>> was no problem.
>>
>> I just logged in with another user and found this problem absent. Only
>> I still don't know where to start. Preferences don't give me much.
>
> If you don't get a satisfactory response from this list (or if you are in a
> hurry) I would suggest that you try Googling for the answer - but look not
> for Iceweasel but Firefox. I just tried this search:
>
> firefox address completion option
>
> ...and got what looked like likely answers.

Thanks for the suggestions, but they didn't help. The problem looks a
bit worse, since even my history seems lost (but still got entry
autocompletion like my GMail login usernames and passwords intact).
The navigation (bak and forward) buttons are also non-functional. I
tried these through Iceweasel resets and no help.

With a different profile, and same unix user, these problems are non-existent.


-- 
my place on the web:
floss-and-misc.blogspot.com


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



Re: iomega portable hard drive

2009-03-16 Thread Thorny
On Mon, 16 Mar 2009 07:11:55 -0300, Marcelo Chiapparini wrote:

> Hello!
> 
> is it possible to put to work a 120 GB Iomega Portable Hard Drive (usb
> powered) under Lenny? I own one myself, but I can't mount it. I googled a
> bit too, but without success besides the fact that there is no direct
> linux support for it.
> 

The best way to get a useable answer to this would be to explain why you
can't mount it. What method(s) you tried and what error messages you
received, that can help to figure out what went wrong and what is
necessary to make it mount. Since it's a USB device, it should be possible
to mount it. 


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



Re: Measure "cp" Speed?

2009-03-16 Thread Volkan YAZICI
On Thu, 12 Mar 2009, Zaki Akhmad  writes:
> I am wondering, how do I measure the speed while I am doing cp
> command?

Check this[1] out. And various "cp progress bar" related discussions
will probably interest you.


Regards.

[1] http://www.mail-archive.com/bug-coreut...@gnu.org/msg00610.html


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



Re: Iceweasel address completion non-working?

2009-03-16 Thread Eduardo M KALINOWSKI
Tshepang Lekhonkhobe wrote:
> Thanks for the suggestions, but they didn't help. The problem looks a
> bit worse, since even my history seems lost (but still got entry
> autocompletion like my GMail login usernames and passwords intact).
> The navigation (bak and forward) buttons are also non-functional. I
> tried these through Iceweasel resets and no help.
>
> With a different profile, and same unix user, these problems are non-existent.
>
>   

I'd recommend moving your profile to another place and starting with a
fresh one. Then try restoring your old items (bookmarks, etc) from the
old copy, and then installing your extensions one by one. You may find
the problem again, but at least you'll know who is the culprit.


-- 
Portable, adj.:
Survives system reboot.

Eduardo M KALINOWSKI
edua...@kalinowski.com.br


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



Re: IP Forward Problems

2009-03-16 Thread Gerard Hooton
-Original Message-
From: Alex Samad 
To: debian-user@lists.debian.org
Subject: Re: IP Forward Problems
Date: Mon, 16 Mar 2009 10:02:28 +1100
Mailer: Mutt/1.5.18 (2008-05-17)

On Fri, Mar 13, 2009 at 12:44:40PM +1100, Alex Samad wrote:
> On Thu, Mar 12, 2009 at 10:43:52AM -, Gerard Hooton wrote:
> > 
> > > On Wed, Mar 11, 2009 at 01:07:06PM +, Gerard Hooton wrote:
> > >> Hello,
> 
> [snip]
> 
> > >
> > > why do you have 3 interface into the same ip network ? I presume there
> > > are all attached to the same ethernet broadcast domain ?
> > >
> > > that shouldn't be causing the problem though. have you done a tcpdump to
> > > see what traffic is being forwarded ? The other question is why do you
> > > need to forward ?
> > >
> > > can you do an ip route please
> > 
> > OK 
> > 
> > ip route
> > 143.239.0.0/16 dev eth0  proto kernel  scope link  src 143.239.184.13
> > 143.239.0.0/16 dev eth1  proto kernel  scope link  src 143.239.184.75
> > default via 143.239.1.199 dev eth0  src 143.239.184.12
> 
> So still the other questions, why do you need to route ie why do you
> need forward?

Another thing to check is proxy_arp 

sysctl -a | grep arp | sort | less

net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.default.arp_accept = 0
net.ipv4.conf.default.arp_announce = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.arp_ignore = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.eth0.arp_accept = 0
net.ipv4.conf.eth0.arp_announce = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.arp_ignore = 0
net.ipv4.conf.eth0.proxy_arp = 0
net.ipv4.conf.lo.arp_accept = 0
net.ipv4.conf.lo.arp_announce = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.arp_ignore = 0
net.ipv4.conf.lo.proxy_arp = 0
net.ipv4.conf.wlan0.arp_accept = 0
net.ipv4.conf.wlan0.arp_announce = 0
net.ipv4.conf.wlan0.arp_filter = 0
net.ipv4.conf.wlan0.arp_ignore = 0
net.ipv4.conf.wlan0.proxy_arp = 0

Results:-
error: permission denied on key 'net.ipv4.route.flush'
error: permission denied on key 'net.ipv6.route.flush'
error: "Invalid argument" reading key "fs.binfmt_misc.register"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe0"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe1"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe2"
error: "Invalid argument" reading key "dev.parport.parport0.autoprobe3"
dev.parport.default.spintime = 500
dev.parport.default.timeslice = 200
dev.parport.parport0.base-addr = 8881912
dev.parport.parport0.devices.active = none
dev.parport.parport0.devices.lp.timeslice = 200
dev.parport.parport0.dma = 3
dev.parport.parport0.irq = 7
dev.parport.parport0.modes = PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA
dev.parport.parport0.spintime = 500
net.ipv4.conf.all.arp_accept = 0
net.ipv4.conf.all.arp_announce = 0
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.arp_ignore = 0
net.ipv4.conf.all.proxy_arp = 0
net.ipv4.conf.default.arp_accept = 0
net.ipv4.conf.default.arp_announce = 0
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.arp_ignore = 0
net.ipv4.conf.default.proxy_arp = 0
net.ipv4.conf.eth0.arp_accept = 0
net.ipv4.conf.eth0.arp_announce = 0
net.ipv4.conf.eth0.arp_filter = 0
net.ipv4.conf.eth0.arp_ignore = 0
net.ipv4.conf.eth0.proxy_arp = 0
net.ipv4.conf.eth1.arp_accept = 0
net.ipv4.conf.eth1.arp_announce = 0
net.ipv4.conf.eth1.arp_filter = 0
net.ipv4.conf.eth1.arp_ignore = 0
net.ipv4.conf.eth1.proxy_arp = 0
net.ipv4.conf.lo.arp_accept = 0
net.ipv4.conf.lo.arp_announce = 0
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.arp_ignore = 0
net.ipv4.conf.lo.proxy_arp = 0
(END) 





//Ger





> 
> 
> [snip]
> 
> -- 
> "If you're sick and tired of the politics of cynicism and polls and 
> principles, come and join this campaign."
> 
>   - George W. Bush
> 02/16/2000
> Hilton Head, S.C.



-- 
Gerard Hooton.
Department of Microelectronic Engineering U.C.C.
Butler Building,
Enterprise Centre,
North Mall.
Cork.

Tel: +353 21 4904576
Fax: +353 21 4904573
http://www.ue.ucc.ie/




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



Re: Iceweasel address completion non-working?

2009-03-16 Thread Tshepang Lekhonkhobe
On Mon, Mar 16, 2009 at 1:38 PM, Eduardo M KALINOWSKI
 wrote:
> Tshepang Lekhonkhobe wrote:
>> Thanks for the suggestions, but they didn't help. The problem looks a
>> bit worse, since even my history seems lost (but still got entry
>> autocompletion like my GMail login usernames and passwords intact).
>> The navigation (bak and forward) buttons are also non-functional. I
>> tried these through Iceweasel resets and no help.
>>
>> With a different profile, and same unix user, these problems are 
>> non-existent.
>>
>>
>
> I'd recommend moving your profile to another place and starting with a
> fresh one. Then try restoring your old items (bookmarks, etc) from the
> old copy, and then installing your extensions one by one. You may find
> the problem again, but at least you'll know who is the culprit.

I did not know exactly how I was supposed to do what you advised, but
I got rid of HOME/.mozilla/firefox/junk/*.sqlite files and am back on
top, even though I lost my history.

Thanks for your help...


-- 
my place on the web:
floss-and-misc.blogspot.com


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



Re: pppd curiosity

2009-03-16 Thread Umarzuki Mochlis
2009/3/16 Adrian Levi 

> 2009/3/16 Umarzuki Mochlis :
> > Frankly, I don't really know how to answer that other than giving you the
> > full dialing message
>
> What was the command you typed to get that message?
> PS I am subscrubed, you don't need to email me, just the list is fine.
>
> Adrian
>


the commands:
===
modprobe usbserial vendor=0x19d2 product=0x0001
wvdial umobilepin
wvdial umobile

wvdial.conf

[Dialer umobilepin]
Init1 = AT+CPIN=1234
Baud = 720
Modem = /dev/ttyUSB0

[Dialer umobile]
Init2 = ATZ
Init5 = AT+CGDCONT?
Modem Type = USB Modem
Modem = /dev/ttyUSB0
Password = none
Username = none
Baud = 720

[Dialer celcom3g]
Init2 = ATZ
Init5 = AT+CGDCONT?
Modem Type = USB Modem
Modem = /dev/ttyUSB0
Password = none
Username = none
Baud = 720


>
> [snipped]
>



-- 
Regards,

Umarzuki Mochlis
http://gameornot.net


Re: Random crashes in squeeze

2009-03-16 Thread Sjoerd Hardeman

Sjoerd Hardeman wrote:

Andrew Sackville-West schreef:

On Sun, Mar 15, 2009 at 10:22:11PM +0100, Sjoerd Hardeman wrote:

Hi all,

My laptop (a dell XPS 1330) started about five days ago with suddenly
crashing, mostly from idle state. The caps-lock and scroll-lock light
start blinking and the system stops responding.
I have checked my memory using memtest86+, and cannot find any problem.
Also, nothing appears in any logfile (at least, not that I can find).
Can anybody tell me how I can e.g. generate more logging, or do anything
else to produce more useful information to solve this issue?

Not much help, but I've seen similar behavior on my Linux Certified
LC2210DC (rebadged Asus). Seems to be associated with kernel 2.6.26
and a custom compiled 2.6.27.7, but I've not been able to narrow it
down at all, due to a hard lock. Maybe we can look for things in
common?

lspci output below

>> 

03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
(rev 08)
03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 17)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 08)


sjo...@laptop:~$ lspci
..
03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
(rev 05)
03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
Host Adapter (rev 22)
03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
Adapter (rev 12)
03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
After a more thorough look, We seem to have the same card reader. 
However, I hardly believe that can cause all this trouble.
I have been using the 2.6.26 kernel for some time, with very few crashes 
(say once a month, at most). Suddenly, the number of hard crashes has 
increased, to something like once a day. It can of course just be a 
coincidence (we'll see, if it now stops crashing for a half year I had 
just a stroke of bad luck). Anyway, since the hard crashes are annoying 
it would be nice to figure what is causing them so I can sort my problem 
and maybe even help others.
It is of course very possible that my hardware is faulty, that's why I 
checked my memory. Are there any other easy checks to be done?

Thanks so far for your thinking!

Sjoerd



signature.asc
Description: OpenPGP digital signature


Re: iomega portable hard drive

2009-03-16 Thread 明覺
On Mon, Mar 16, 2009 at 6:11 PM, Marcelo Chiapparini <
marcelo.chia...@gmail.com> wrote:

> Hello!
>
> is it possible to put to work a 120 GB Iomega Portable Hard Drive (usb
> powered) under Lenny? I own one myself, but I can't mount it. I
> googled a bit too, but without success besides the fact that there is
> no direct linux support for it.

if your usb hd is formatted under windows by ntfs format, maybe you need to
install the ntfs-3g package to mount the usb hd, as my usb hd, which is 30G
formatted by ntfs.


>
>
> Thanks in advance!
>
> Marcelo
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
>
>


-- 
My platform is debian sid AMD64 gnome.


Re: iomega portable hard drive

2009-03-16 Thread Douglas A. Tutty
On Mon, Mar 16, 2009 at 07:11:55AM -0300, Marcelo Chiapparini wrote:
> is it possible to put to work a 120 GB Iomega Portable Hard Drive (usb
> powered) under Lenny? I own one myself, but I can't mount it. I
> googled a bit too, but without success besides the fact that there is
> no direct linux support for it.

It may not need direct support.  When you plug it in, udev should create
a /dev/sd* node for it and report this in /var/log/syslog.  

At a command line, run:
$ tail -f /var/log/syslog

and plug in the drive.

See what shows up, then mount the drive.  

If you're trying to use a desktop environment to do this, hopefully
someone who as run a DTE will know.

Doug.


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



Re: Install debian 5.0 without press ENTER key?

2009-03-16 Thread Douglas A. Tutty
On Mon, Mar 16, 2009 at 09:21:14AM +0100, randall wrote:
> >--- On Mon, 3/16/09, Daryl Styrk  wrote:
> >From: Daryl Styrk 
> >  
> >>can i install leny without install key, like another distro linux, will 
> >>automatically run installer if you don't anything in 30 seconds.
> >>
> >>I have boot using debian dvd but after 30 s without i press the enter 
> >>key, the installer not running.
> >>
> >>it's possible to install leny without press the enter?

> >I mean when i boot using DVD installer to install debian leny, i do not to 
> >press the ENTER key to start the installation, how to do it?
> >  
> you need to set the "timeout" option in isolinux.cfg, this requires you 
> to change the cd or dvd you are using.
> 
> i once made some notes on how to do is once, its ubuntu based but should 
> largely also  apply to debian
> http://www.songshu.org/index.php/customise-the-ubuntu-installer

I found it far easier, in this case, to use the usb-stick method.
Altering the boot params is trival.  You can include the .iso image on
the stick for the hd-media installer to use.  See the installation
manual.

Doug.


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



Re: xhost: cannot connect to X server

2009-03-16 Thread Douglas A. Tutty
On Sun, Mar 15, 2009 at 10:05:20PM +0100, Dirk Vervoort wrote:
> Florian Kulzer wrote:
> >On Sat, Mar 14, 2009 at 23:22:32 +0100, Dieder Vervoort wrote:
> >>I can' t make xhost to work.
> >>I searched around but couldn' t find a solution.
  
> >If your goal is to run X applications via ssh, then I would try this:
> >
> >http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-xssh
> 
> Many thanks, because the remote system is light, I do not prefer to use 
> SSH 

I have use ssh to run remote X apps using my 486 (32 MB ram) as a client
to a bigger box many times.  The issue has always been how much memory
xorg needed, not the impact of ssh.  Before dismissing ssh, why not try
it since its trivial to set up?


Doug.


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



recursive grep and openoffice

2009-03-16 Thread John O Laoi
Hello,

 I sometimes need to find a file, and I only know of some text contained
therein.

So I launch a search as follows:

 $ grep -r "text i am looking for" /home/john

 OR

 $ find /home/john -type f -exec grep -i * **"text i am looking for" * '{}'
\; -print

 where /home/john is my home directory.

 The problem is that this does not search within  .odt  openoffice files.

It will located any  .doc  files that contain the string, but not openoffice
files.

This is a big nuisance, as most of my files are now .odt files.

 Some research has let me know that openoffice files are zip files that
contain other files.

 I am using etch (soon to upgrade).


 Has anybody got a solution that will recursively search a directory looking
for a file that contains some specified text, and will search within
openoffice file?


 John


Re: GTK fonts too big

2009-03-16 Thread Matus UHLAR - fantomas
> On Fri, 13 Mar 2009 18:08:32 +0100
> Matus UHLAR - fantomas  wrote:
> > afer upgrading to lenny I have noticed that fonts in GTK applications
> > are too big. It seems that GTK does count font size from DPI
> > resolution (hbigger DPI, higher font).
> > 
> > Is there any way to force GTK to ignore DPI for displaying fonts?
> > I did NOT ask for better display to have bigger fonts, but to have
> > them smaller (my eyes are good yet).
> > 
> > I would like to keep correct DPI for other applications.

On 15.03.09 22:40, Daniel Dickinson wrote:
> Is DPI actually correctly calculated by X? (X doesn't get that right
> for all monitors and 'estimates' for monitors that don't give it
> resolution and size information, which can lead to this sort of thing).
> 
> You /var/log/Xorg.0.log will have that information.
> 
> You may need to set DisplaySize in /etc/X11/xorg.conf (man xorg.conf)

Yes, it is. I've had correct DisplaySize in xorg.conf for some time, but
this problem has not appeared before. But after upgrading to lenny,
calculated DPI of 129x129 resulted in oversized fonts, so I've had to force
it back to 100x100, in order to change it back.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
BSE = Mad Cow Desease ... BSA = Mad Software Producents Desease


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



Re: GTK fonts too big

2009-03-16 Thread Matus UHLAR - fantomas
> On Fri, Mar 13, 2009 at 01:08:32PM EDT, Matus UHLAR - fantomas wrote:
> > afer upgrading to lenny I have noticed that fonts in GTK applications are
> > too big. It seems that GTK does count font size from DPI resolution (hbigger
> > DPI, higher font).

On 15.03.09 19:33, Chris Jones wrote:
> Are you talking about the fonts that GTK apps use to display "content",
> or the fonts used in GTK widgets (menus, toolbars.. etc.) ??

Widgets.

> > Is there any way to force GTK to ignore DPI for displaying fonts?  I
> > did NOT ask for better display to have bigger fonts, but to have them
> > smaller (my eyes are good yet).
> 
> Assuming you are talking about widget fonts and that you are not using
> gnome as your desktop (?) .. just a few isolated GTK apps.. you may have
> to take a look at files called .gtkrc* or gtkrc (home directory.. /etc..
> possibly other places..) and figure out the syntax of the font-related
> statements by trial and error.

I already did and there were no settins there (but binding Ctrl-U to clear
current line). 

> As to doing it a bit more efficiently and in a more user-friendly
> manner, I've had some success in the past with neat little utilities
> called gtk-theme-switch and gtk-theme-switch2 .. there's a not very
> obvious button on their main window where you can click and start a font
> chooser that lets you set the size of GTK widgets fonts and if IIRC, see
> the result of your changes w/o having to restart the apps or the X
> session..

I've been playing with gtk-theme-switch, and I found out that configuring
smaller font size did "fix" the behaviour. However I'm surprised that the
real font size in pixels is not the number I set in the gtk-theme-switch
(and in .gtkrc) but something different. Maybe the number does not specify
the size in pixels but in inches/100 ?

> This worked in "etch" and I have no idea if "lenny" has it as well.

I didn't need to set this in etch nor lenny yet.

> > I would like to keep correct DPI for other applications.
> 
> At least that's the way I do it.. 
> 
> First, I set the DPI to it's real value by dividing one of my screen's
> dimensions in pixels by its physical dimensions in inches, and _then_ I
> proceed to change font sizes to suit my preferences.
> 
> The last time I had to go through the font-tweaking hassle was about two
> years ago and some/all of the above may no longer be true. In this event
> I'm sure s/o more knowledgeable will correct me.

I've had correct DisplaySize, but that was what caused the problem after
upgraqding to lenny.

-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
They that can give up essential liberty to obtain a little temporary
safety deserve neither liberty nor safety. -- Benjamin Franklin, 1759


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



Re: ACPI init

2009-03-16 Thread linux china
I added these additional parameters to kernel boot line, it seems this
doesn't help, I can still see these error messages. I know this is
caused by another motherboard replacements.

I also noticed there is a line before these error message, something
like "ACPI unable to load system description tables", is this the root
cause?

On Mon, Mar 16, 2009 at 6:50 PM, randall  wrote:
> linux china wrote:
>>
>> While booting Debian lenny, I saw there are errors during ACPI
>> initiation process on console, like error inserting fan, error
>> inserting processor and thermap, how to get rid of these error
>> messages?
>>
>>
>
> the messages are pretty harmless, but there is a way to disable it.
> OR you disable it in the BIOS OR you disable it in the kernel
>
> in case you want to dual boot with windows then the last option would be the
> best because windows will probably not start if its turned of in the bios.
>
> to disable it in the kernel:
> there is a file called /boot/grub/menu.lst where the boot options are listed
>
> if you see a line similair like this, it is what you see when you start up
> and can select which kernel to boot
> kernel          /vmlinuz-2.6.26-1-vserver-amd64 root=/dev/md1 ro
>
> what you can do is to add the following parameters "noapic nolapic acpi=off
> "
> so the complete line would look like this:
> kernel          /vmlinuz-2.6.26-1-vserver-amd64 root=/dev/md1 ro noapic
> nolapic acpi=off
>
>
>
>
> www.songshu.org
> Just another collection of nuts
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject
> of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>


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



Re: recursive grep and openoffice

2009-03-16 Thread Sjoerd Hardeman

John O Laoi wrote:

Hello,

I sometimes need to find a file, and I only know of some text contained 
therein.

|The problem is that this does not search within  .odt  openoffice files.|

|It will located any  .doc  files that contain the string, but not 
openoffice files.|

You mean MS-word? How do you do that?
|Has anybody got a solution that will recursively search a directory 
looking for a file that contains some specified text, and will search 
within openoffice file?|

What about
 find . -name *.odt -exec unzip -c {} content.xml | grep "what you want 
to find"\; -print


Sjoerd

--
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments



signature.asc
Description: OpenPGP digital signature


Consolechars Question

2009-03-16 Thread Thomas H. George
During bootup (Lenny) the console font changes to a thin, wiry font
and then changes again to a font with much fatter characters.  The final
font is very readable but when I start mutt the symbols used to indicate
threading of messages are weird.

I installed console-tools and found the command consolechars -d changes
to a font simple symbols to indicate threading.

I don't mind resetting the font after each bootup but I am curious.
What font am I using?  Is there a way of displaying the available
English fonts?

Tom


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



ldonfig errors

2009-03-16 Thread mitch
ran aptitude update and then safe-upgrade and the following error
messages came up.

Googled for help, found some bugs from last year.

Is this a bug or an error that is correctable?


debian:/home/mitch# aptitude safe-upgrade
Reading package lists... Done
Building dependency tree   
Reading state information... Done
Reading extended state information  
Initializing package states... Done
Reading task descriptions... Done  
Resolving dependencies...
Resolving dependencies...
The following NEW packages will be installed:
  libtwolame0{a} 
The following packages will be REMOVED:
  libarchive1{u} libcdio-paranoia0{u} libopenobex1{u} 
The following packages will be upgraded:
  cpio cpp debconf debconf-utils g++ gcc gstreamer0.10-plugins-ugly
gvfs 
  java-common java-gcj-compat java-gcj-compat-headless libcurl3 
  libcurl3-gnutls libgcj-bc libgcj-common libgtop2-7 libgtop2-common 
  libgvfscommon0 libpam-modules libpam-runtime libpam0g libpng12-0
libpng3 
  libsane libsmbclient libvirt0 libwbclient0 mtools pmount samba 
  samba-common sane-utils smbclient smbfs 
34 packages upgraded, 1 newly installed, 3 to remove and 0 not upgraded.
Need to get 0B/27.1MB of archives. After unpacking 11.7MB will be used.
Do you want to continue? [Y/n/?] y
Writing extended state information... Done
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 153988 files and directories currently installed.)
Removing libarchive1 ...
ldconfig: Writing of cache data failed: No such file or directory
dpkg: error processing libarchive1 (--remove):
 subprocess post-removal script returned error exit status 1
Removing libcdio-paranoia0 ...
ldconfig: Writing of cache data failed: No such file or directory
dpkg: error processing libcdio-paranoia0 (--remove):
 subprocess post-removal script returned error exit status 1
Removing libopenobex1 ...
ldconfig: Writing of cache data failed: No such file or directory
dpkg: error processing libopenobex1 (--remove):
 subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
 libarchive1
 libcdio-paranoia0
 libopenobex1
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Reading package lists... Done 
Building dependency tree   
Reading state information... Done
Reading extended state information  
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done



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



Re: recursive grep and openoffice

2009-03-16 Thread Sjoerd Hardeman

Sjoerd Hardeman wrote:

What about
 find . -name *.odt -exec unzip -c {} content.xml | grep "what you want 
to find"\; -print

This one is not working, use
 find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep "what
 you want to find"' \; -print
instead.

Sjoerd


--
()  ascii ribbon campaign - against html e-mail
/\  www.asciiribbon.org   - against proprietary attachments



signature.asc
Description: OpenPGP digital signature


AMD64 in vmware

2009-03-16 Thread T o n g
Hi,

Quick question, is it possible to test AMD64 ios under vmware which is 
hosted under i386? IIRC, launching AMD64 apps under chroot in i386 won't 
work, but I don't about this.

thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



RE: AMD64 in vmware

2009-03-16 Thread Stackpole, Chris
> From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g
> Sent: Monday, March 16, 2009 9:49 AM
> Subject: AMD64 in vmware
> 
> Hi,
> 
> Quick question, is it possible to test AMD64 ios under vmware which is
> hosted under i386? IIRC, launching AMD64 apps under chroot in i386
won't
> work, but I don't about this.

You are asking if you can run a 64bit VM guest on a 32bit host?

Sorry. Can't do it. Even if you have a 64bit processor, if you only have
a 32bit host it won't work.

Have fun!
~Stack~


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



Re: Xorg failure

2009-03-16 Thread owens
>
>
>
> Original Message 
>From: javibarr...@gmail.com
>To: delop...@yahoo.com
>Subject: Re: Xorg failure
>Date: Mon, 16 Mar 2009 08:46:49 +0100
>
>>On Fri, Mar 13, 2009 at 1:30 AM, Emanoil Kotsev 
>wrote:
>>> Javier Barroso wrote:
>>>
>>>
>
> I was using the xserver-xorg-video-intel.  Now, I'm using
>Ubuntu.  I
> didn't really want to do so; but, I couldn't tolerate crashes
>every hour,
> every few days.
 There is a bug in bugtracker system, but nobody answered :( :
 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=491230
>>>
>>> Xorg intel changed between etch and lenny. You probably did not
>remove your
>>> xorg.conf.
>>
>>My friend do it and worked (from this thread):
>>"Which driver are you using? A friend had a problem like yours, but
>>reboot worked for him (without any xorg.conf). This was with a intel
>>video card."
>>
>>Regards
>>
If you did an upgrade you'll probably find your old xorg.conf in the
X11 directory with an installation extension.  You can compare the
old to the new to see what's happening
Larry
>>
>>-- 
>>To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
>>with a subject of "unsubscribe". Trouble? Contact listmas...@lists.d
>ebian.org
>>
>>




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



Re: AMD64 in vmware

2009-03-16 Thread David A. Parker

Stackpole, Chris wrote:

From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g
Sent: Monday, March 16, 2009 9:49 AM
Subject: AMD64 in vmware

Hi,

Quick question, is it possible to test AMD64 ios under vmware which is
hosted under i386? IIRC, launching AMD64 apps under chroot in i386

won't

work, but I don't about this.


You are asking if you can run a 64bit VM guest on a 32bit host?

Sorry. Can't do it. Even if you have a 64bit processor, if you only have
a 32bit host it won't work.



I thought this was possible as long as the physical CPU has VT support 
enabled and the BIOS supports it as well.  Perhaps I'm mistaken, though.


- Dave

--

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


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




RE: AMD64 in vmware

2009-03-16 Thread Stackpole, Chris
> From: David A. Parker [mailto:dpar...@utica.edu]
> Sent: Monday, March 16, 2009 10:06 AM
> Subject: Re: AMD64 in vmware
> 
> Stackpole, Chris wrote:
> >> From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g
> >> Sent: Monday, March 16, 2009 9:49 AM
> >> Subject: AMD64 in vmware
> >>
> >> Hi,
> >>
> >> Quick question, is it possible to test AMD64 ios under vmware which
is
> >> hosted under i386? IIRC, launching AMD64 apps under chroot in i386
> > won't
> >> work, but I don't about this.
> >
> > You are asking if you can run a 64bit VM guest on a 32bit host?
> >
> > Sorry. Can't do it. Even if you have a 64bit processor, if you only
have
> > a 32bit host it won't work.
> >
> 
> I thought this was possible as long as the physical CPU has VT support
> enabled and the BIOS supports it as well.  Perhaps I'm mistaken,
though.

I stand corrected.

After googling the VT support, it does indeed look like this is
possible. You just have to have the VT hardware support. 

Thanks for letting me know! I learned something new*!

~Stack~

*If you learn something new everyday, does this mean I just met my quota
and can go home early? :)


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



Re: recursive grep and openoffice

2009-03-16 Thread Bob Cox
On Mon, Mar 16, 2009 at 15:29:50 +0100, Sjoerd Hardeman 
(sjo...@lorentz.leidenuniv.nl) wrote: 

> Sjoerd Hardeman wrote:
>> What about
>>  find . -name *.odt -exec unzip -c {} content.xml | grep "what you want 
>> to find"\; -print
> This one is not working, use
>  find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep "what
>  you want to find"' \; -print

Ingenious - but I think the *.odt needs to be within quotation marks for
this to work, (i.e. '*.odt'). 

-- 
Bob Cox.  Stoke Gifford, near Bristol, UK.
Please reply to the list only.  Do NOT send copies directly to me.
Debian on the NSLU2: http://bobcox.com/slug/


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



Re: Consolechars Question

2009-03-16 Thread Johannes Wiedersich
Thomas H. George wrote:
> What font am I using?  Is there a way of displaying the available
> English fonts?

What is an 'English font'? Do you mean ascii or Latin?


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



Re: recursive grep and openoffice

2009-03-16 Thread Rainer Kluge
Bob Cox schrieb:
> On Mon, Mar 16, 2009 at 15:29:50 +0100, Sjoerd Hardeman 
> (sjo...@lorentz.leidenuniv.nl) wrote: 
> 
>> Sjoerd Hardeman wrote:
>>> What about
>>>  find . -name *.odt -exec unzip -c {} content.xml | grep "what you want 
>>> to find"\; -print
>> This one is not working, use
>>  find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep "what
>>  you want to find"' \; -print
> 
> Ingenious - but I think the *.odt needs to be within quotation marks for
> this to work, (i.e. '*.odt'). 
> 

{} should also be quoted, in case that there are file names with spaces or other
special characters. And grep (or sh) output should be redirected to dev/null:

find . -name *.odt -exec sh -c 'unzip -c "{}" content.xml | grep "what  you want
to find" > /dev/null' \; -print


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



Re: recursive grep and openoffice

2009-03-16 Thread H.S.
Sjoerd Hardeman wrote:
> Sjoerd Hardeman wrote:
>> What about
>>  find . -name *.odt -exec unzip -c {} content.xml | grep "what you
>> want to find"\; -print
> This one is not working, use
>  find . -name *.odt -exec sh -c 'unzip -c {} content.xml | grep "what
>  you want to find"' \; -print
> instead.
> 
> Sjoerd
> 
> 

How about various desktop search tools that Linux has (tracker, beagle,
kerry)?


-- 

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


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



Re: Boot CD and terms of use

2009-03-16 Thread Boyd Stephen Smith Jr.
On Sunday 15 March 2009 15:33:23 Oliver Schneider wrote:
> > IANAL and TINLA, but you will probably only need to provide 
source for
> > software that appears on the image that was licensed to your 
company
> > under the LGPL or GPL.  Those licenses give a number of 
options for how
> > you can satisfy the requirement to provide source.
>
> Well, as far as I know a "pointer" (e.g. hyper link) to the 
source is
> sufficient unless it's a modified version of the GPL'd product. 
Also, we
> could for example offer a download of all source DEBs from our 
customer
> zone as well. This is kind of pointless though, because it would 
make
> more sense to offer the tools (scripts) to create the image and 
have
> those tools use an existing installation of Etch or Lenny, for 
example.

Distribution of binaries built from GPLv2 source is covered by 
section 3 of that license.  The relevant options are:
a) Accompany it with the complete corresponding machine-readable 
source code, which must be distributed under the terms of Sections 
1 and 2 above on a medium customarily used for software 
interchange; or, 
b) Accompany it with a written offer, valid for at least three 
years, to give any third party, for a charge no more than your 
cost of physically performing source distribution, a complete 
machine-readable copy of the corresponding source code, to be 
distributed under the terms of Sections 1 and 2 above on a medium 
customarily used for software interchange; or, 
c) Accompany it with the information you received as to the offer 
to distribute corresponding source code. (This alternative is 
allowed only for noncommercial distribution and only if you 
received the program in object code or executable form with such 
an offer, in accord with Subsection b above.)

Usually, this prohibits "simply" providing a "pointer" to the 
source code.  The other versions on the GPL and the various 
versions of the LGPL have similar clauses, though the wording is 
different. Option a is certainly not a "pointer"; option b can 
only involve a "pointer" if your organization and guarantee that 
pointer works for 3 years (if you use someone else's server and it 
goes down permanently after a year, suddenly you are in violation 
of the GPL); option c may or may not be applicable to you.

(I'm not sure if Debian's distribution method counts as option a 
or option b, but I'd be inclined to say option a, since the 
official Debian machines distribute the source code along-side the 
binaries.)
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: how to get past apt-get errors? is there a manual workaround? SOLVED

2009-03-16 Thread will trillich
Thanks, Daniel --

We got it to work by inserting "exit 0" as the first line of code in
/etc/init.d/postgresql-7.4. (Tried the
/var/lib/dpkg/info/postgresql-7.4.prerm tweaks you suggested but still
had trouble.) This was acceptable in our case because 7.4 was NOT
running, there was NO pidfile, so just a quick return-from-init was a
very sane approach.

Now we are once again able to "apt-get upgrade"! Many thanks.

[Note to Boyd --

Thanks to you, too! And sorry about the non-technical quoting... been
communicating with office workers for too long, plus I'm not on the
debian-user list so I just copy/paste from lists.debian.org, sorry for
the inconvenience!

One of my favorite snippets:
No.
> Should you post the answer above the question?

Unfortunately, gmail encourages pre-post and all our end-user
clientele prefer it, so I've wound up adopting sloppy email habits.
Argh! ]


On Wed, Mar 11, 2009 at 03:26:39PM -0600, will trillich
 was heard to say:
> Hi debianites -- a question for DPKG and APT experts:
>
> We're stuck with apt-get and haven't found a way past it yet -- any
> ideas would be welcome:
>
> Our postgresql-client-7.4 is missing its libpq.so.3 file, which means
> that pg_controldata can't do its thing, so that anything related to
> that debian package breaks/kills the whole apt process... meaning that
> apt-get is broken! (Perhaps we had a blip during the ice storm last
> month and this file wound up a casualty.)

  Your problem has to do with postgresql, not apt.  I would guess that
maybe apt was trying to remove the old postgresql, and it got as far
as removing libpq.so.3 but didn't manage to remove postgresql for some
reason (maybe exactly the same reason it can't remove it now).  I think
it should remove postgresql before the libraries it requires ... but I
have seen it make poor (less robust) decisions about how to actually
execute an install in the past.

> Starting PostgreSQL 7.4 database server:
> main/usr/lib/postgresql/7.4/bin/pg_controldata: error while loading
> shared libraries: libpq.so.3: cannot open shared object file: No such
> file or directory
> Error: Could not parse locale out of pg_controldata output
>  failed!

  Ouch.  What version of Debian are you running?  The oldest version of
libpq I can find in the archive is libpq4 (from etch), and lenny only
has libpq5!  I was going to suggest downloading libpq3 and installing
it manually, but you can't do that if you don't have it.  I might also
try editing /var/lib/dpkg/info/postgresql-7.4.prerm and commenting out
the block where it checks for the old pid file.  That's assuming, of
course, that you're really sure that there are no running servers (I
assume that the script has a good reason for trying to stop the server)

  Daniel

-- 
will trillich -- http://faq.serensoft.com/
With a burning "yes" around your high priorities you can easily say
"no" to things that are urgent but not important. -- S. Covey


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



can't reinstall php

2009-03-16 Thread Pet
Hi,

what I did:

1. apt-get remove php5
2. installed php5.1.6 from sources (just needed it for old scripts)
3. then removed 5.1.6 manually
4. tried to install apt-get install php5 again
5. now php -v produce: bash: php: command not found
6. tried apt-get install php5-cli error:Not replacing deleted config
file /etc/php5/cli/php.ini

I just wont now working apache with php, but if I run an php file in
browser, it offers download it.
No idea now hot to repair my apache+php installation.

Any help would be appreciated


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



Re: Consolechars Question

2009-03-16 Thread Chris Jones
On Mon, Mar 16, 2009 at 10:24:47AM EDT, Thomas H. George wrote:
> During bootup (Lenny) the console font changes to a thin, wiry font
> and then changes again to a font with much fatter characters.  The final
> font is very readable but when I start mutt the symbols used to indicate
> threading of messages are weird.
> 
> I installed console-tools and found the command consolechars -d changes
> to a font simple symbols to indicate threading.
> 
> I don't mind resetting the font after each bootup but I am curious.
> What font am I using?  Is there a way of displaying the available
> English fonts?

$ show consolefont

.. may be what you are looking for?

CJ


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



Re: pppd curiosity

2009-03-16 Thread Sjoerd Hiemstra
Op Mon, 16 Mar 2009 07:21:13 +0800 Umarzuki Mochlis wrote:

> --> Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
> --> --> PAP (Password Authentication Protocol) may be flaky.
> --> Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
> --> --> CHAP (Challenge Handshake) may be flaky.

>From long ago, when I had a dialup connection, I remember the solution
to this:

chmod +s /usr/sbin/pppd(as root)


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



Re: can't reinstall php

2009-03-16 Thread Tzafrir Cohen
On Mon, Mar 16, 2009 at 06:11:13PM +0100, Pet wrote:
> Hi,
> 
> what I did:
> 
> 1. apt-get remove php5

But you haven't purged anything.

> 2. installed php5.1.6 from sources (just needed it for old scripts)
> 3. then removed 5.1.6 manually
> 4. tried to install apt-get install php5 again
> 5. now php -v produce: bash: php: command not found
> 6. tried apt-get install php5-cli error:Not replacing deleted config
> file /etc/php5/cli/php.ini

One possible way: purge php-cli and re-install it.

apt-get --purge remove php-cli
apt-get install php-cli

> 
> I just wont now working apache with php, but if I run an php file in
> browser, it offers download it.

This is not related to php-cli, though may be from a similar cause.

For starters:

  a2enmod mod_php5

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


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



Re: AMD64 in vmware

2009-03-16 Thread Mark Allums

Stackpole, Chris wrote:

From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g
Sent: Monday, March 16, 2009 9:49 AM
Subject: AMD64 in vmware

Hi,

Quick question, is it possible to test AMD64 ios under vmware which is
hosted under i386? IIRC, launching AMD64 apps under chroot in i386

won't

work, but I don't about this.


You are asking if you can run a 64bit VM guest on a 32bit host?

Sorry. Can't do it. Even if you have a 64bit processor, if you only have
a 32bit host it won't work.



Can be done on Core i7.  Requires virtualization support in hardware.

Mark Allums


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




Problem with upgrading libc6

2009-03-16 Thread NFN Smith

I have a server that is running etch, and before upgrading to lenny,
there's a a couple of packages with a lot of local configuration work in
them that I want to upgrade individually to lenny versions first, so
that I don't have the problem of having to adjust for lenny-specific
changes to packages at the same time I'm upgrading the server.  This
server is running AMD-64 versions of Debian.

For these packages, updates are requiring upgrade of libc6, that's
giving me problems in version conflicts between libc6 and libc6-dev.
libc6 upgrades, but for some reason libc6 dev doesn't.


Highlights from screen logs, when I run:

aptitude -t stable install libc6


The following NEW packages will be installed:
  linux-libc-dev [2.6.26-13]
The following packages will be REMOVED:
  linux-kernel-headers [2.6.18-7]
The following packages will be upgraded:
  binutils [2.17-3 -> 2.18.1~cvs20080103-7]
  libc6 [2.3.6.ds1-13etch9 -> 2.7-18]
  libc6-dev [2.3.6.ds1-13etch9 -> 2.7-18]
  locales [2.3.6.ds1-13etch9 -> 2.7-18] tzdata [2008e-1etch3 -> 2008h-2]




Preparing to replace locales 2.3.6.ds1-13etch9 (using 
.../locales_2.7-18_all.deb) ...
Unpacking replacement locales ...
dpkg: linux-kernel-headers: dependency problems, but removing anyway as you 
request:
 libc6-dev depends on linux-kernel-headers.


Here's the beginning of the conflict.  Locales seems OK, but removal
linux-kernel-headers causes problems with libc6-dev.


Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.26-13_amd64.deb) ...
Preparing to replace binutils 2.17-3 (using 
.../binutils_2.18.1~cvs20080103-7_amd64.deb) ...
Unpacking replacement binutils ...
Preparing to replace libc6-dev 2.3.6.ds1-13etch9 (using 
.../libc6-dev_2.7-18_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.3.6.ds1-13etch9 (using .../libc6_2.7-18_amd64.deb) 
...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.7-18_amd64.deb 
(--unpack):
 dpkg: warning - old post-removal script killed by signal (Segmentation fault)


Here's where it gets worse -- segmentation fault.


dpkg: error while cleaning up:
 subprocess pre-installation script killed by signal (Segmentation fault)
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.7-18_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.7-18); however:
  Package libc6 is not installed.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured


Here's the core conflict -- new version of libc6 and old version of
libc6-dev.


Setting up linux-libc-dev (2.6.26-13) ...
dpkg: dependency problems prevent configuration of locales:
 locales depends on glibc-2.7-1; however:
  Package glibc-2.7-1 is not installed.


This one prevents correct configuration of locales


dpkg: error processing locales (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of binutils:
 binutils depends on libc6 (>= 2.7-1); however:
  Package libc6 is not installed.
dpkg: error processing binutils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
 locales
 binutils



At the end, three essential packages not upgraded.

At this point, I went back and reinstalled libc6 from etch:



Downgrade the following packages:
binutils [2.18.1~cvs20080103-7 (stable, stable, now) -> 2.17-3 (oldstable, 
oldstable)]
libc6-dev [2.7-18 (stable, stable, now) -> 2.3.6.ds1-13etch9 (oldstable, 
oldstable)]
locales [2.7-18 (stable, stable, now) -> 2.3.6.ds1-13etch9 (oldstable, 
oldstable)]

Score is -160

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  binutils [2.18.1~cvs20080103-7 -> 2.17-3]
  libc6-dev [2.7-18 -> 2.3.6.ds1-13etch9]
  locales [2.7-18 -> 2.3.6.ds1-13etch9]
0 packages upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not 
upgraded.



Following this downgrade, libc6 (and related dependencies) are all still
at etch versions.

Is there a way of getting around this one (perhaps booting from a CD and
using the rescue shell)?  Or is it going to be faster/easier to simply
back up the machine and rebuild it?

Smith


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




Re: Problem with upgrading libc6

2009-03-16 Thread Mike Bird
On Mon March 16 2009 09:42:54 NFN Smith wrote:
> Is there a way of getting around this one (perhaps booting from a CD and
> using the rescue shell)?  Or is it going to be faster/easier to simply
> back up the machine and rebuild it?

With tricky upgrades I usually remove all -dev packages first
and reinstall them after.  They're not usually needed during
the upgrade and removing them avoids a bunch of dependency
issues.

The other thing we often have to remove in tricky cases is
Open Office.

YMMV a lot,

--Mike Bird


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



Re: Consolechars Question

2009-03-16 Thread Thomas H. George
On Mon, Mar 16, 2009 at 01:13:39PM -0400, Chris Jones wrote:
> On Mon, Mar 16, 2009 at 10:24:47AM EDT, Thomas H. George wrote:
> > During bootup (Lenny) the console font changes to a thin, wiry font
> > and then changes again to a font with much fatter characters.  The final
> > font is very readable but when I start mutt the symbols used to indicate
> > threading of messages are weird.
> > 
> > I installed console-tools and found the command consolechars -d changes
> > to a font simple symbols to indicate threading.
> > 
> > I don't mind resetting the font after each bootup but I am curious.
> > What font am I using?  Is there a way of displaying the available
> > English fonts?
> 
> $ show consolefont
> 
> .. may be what you are looking for?
> 
> CJ
> 
maybe, but I have no such command.  locale says LANG=en_US.UTF-8, I
didn't think to check the output of locale before issuing the
consolechars -d command.  I will do so after the next reboot.  I
normally shutdown the system every night.

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


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



Re: AMD64 in vmware

2009-03-16 Thread Victor Padro
On Mon, Mar 16, 2009 at 11:29 AM, Mark Allums  wrote:

> Stackpole, Chris wrote:
>
>> From: news [mailto:n...@ger.gmane.org] On Behalf Of T o n g
>>> Sent: Monday, March 16, 2009 9:49 AM
>>> Subject: AMD64 in vmware
>>>
>>> Hi,
>>>
>>> Quick question, is it possible to test AMD64 ios under vmware which is
>>> hosted under i386? IIRC, launching AMD64 apps under chroot in i386
>>>
>> won't
>>
>>> work, but I don't about this.
>>>
>>
>> You are asking if you can run a 64bit VM guest on a 32bit host?
>>
>> Sorry. Can't do it. Even if you have a 64bit processor, if you only have
>> a 32bit host it won't work.
>>
>
>
> Can be done on Core i7.  Requires virtualization support in hardware.
>
> Mark Allums
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
>
>
Quick answer: yes you can, as others said you need to have the virt
extensions(vmx, svn)

-- 
"It is human nature to think wisely and act in an absurd fashion."

"Todo el desorden del mundo proviene de las profesiones mal o mediocremente
servidas"


Moving to LVM

2009-03-16 Thread André Berger
Hi there!

I'm on Etch and have got two external USB disks, one GB each in size.
Disk1 contains one ext3 partition and my media files, and is full.
Disk2 is empty and should take future media files. I don't have a
third disk I could use for backups.

My plan is to create a Logical Volume Group to span two partitions
located on different disks, and export that LV group via NFS. If I
got it right (please correct me), I need partitions of type 8e on
both disks. So I thought I

1 partition disk2 8e 
2 create a LV group and add disk2/p1 to it
3 create an ext3 filesystem on the LV
3 copy the data from disk1/p1 to the LV
4 partition disk1/p1 8e
5 add disk1/p1 to the LV group
6 resize the LV ext3 filesystem to 2 TB, so it spans both disks resp.
  partitions

Does this sound right to you? Maybe you could help me with the
necessary command as well...  

What happens if, for whatever reason, just one of the disks is
available?

-André

-- 
May as well be hung for a sheep as a lamb!
Linkstation/KuroBox/HG/HS/Tera Kernel 2.6/PPC from 
iPhone 


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



Re: Moving to LVM

2009-03-16 Thread randall

André Berger wrote:

Hi there!

I'm on Etch and have got two external USB disks, one GB each in size.
Disk1 contains one ext3 partition and my media files, and is full.
Disk2 is empty and should take future media files. I don't have a
third disk I could use for backups.

My plan is to create a Logical Volume Group to span two partitions
located on different disks, and export that LV group via NFS. If I
got it right (please correct me), I need partitions of type 8e on
both disks. So I thought I

1 partition disk2 8e 
2 create a LV group and add disk2/p1 to it

3 create an ext3 filesystem on the LV
3 copy the data from disk1/p1 to the LV
4 partition disk1/p1 8e
5 add disk1/p1 to the LV group
6 resize the LV ext3 filesystem to 2 TB, so it spans both disks resp.
  partitions
  
you're basically on the right track, but there are 3 things to 
understand about LVM

1 Physical Volume
2 Volume Group
3 Logical Volume

1 in this case is disk1 and (eventually) disk2
2 is (eventually) disk1 + disk2 together so they appear as one
3 is a partition you can place on 2



What happens if, for whatever reason, just one of the disks is
available?
  

to make a long story short,
if you combine the 2 disks as one, you are going to wish you had a third 
disk for backups.

-André

  



--

www.songshu.org
Just another collection of nuts


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




Re: Random crashes in squeeze

2009-03-16 Thread Andrew Sackville-West
On Mon, Mar 16, 2009 at 01:19:18PM +0100, Sjoerd Hardeman wrote:
> Sjoerd Hardeman wrote:
>> Andrew Sackville-West schreef:
>>> On Sun, Mar 15, 2009 at 10:22:11PM +0100, Sjoerd Hardeman wrote:
 Hi all,

 My laptop (a dell XPS 1330) started about five days ago with suddenly
 crashing, mostly from idle state. The caps-lock and scroll-lock light
 start blinking and the system stops responding.
 I have checked my memory using memtest86+, and cannot find any problem.
 Also, nothing appears in any logfile (at least, not that I can find).
 Can anybody tell me how I can e.g. generate more logging, or do anything
 else to produce more useful information to solve this issue?
>>> Not much help, but I've seen similar behavior on my Linux Certified
>>> LC2210DC (rebadged Asus). Seems to be associated with kernel 2.6.26
>>> and a custom compiled 2.6.27.7, but I've not been able to narrow it
>>> down at all, due to a hard lock. Maybe we can look for things in
>>> common?
>>>
>>> lspci output below
> >> 
>>> 03:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev b3)
>>> 03:01.1 FireWire (IEEE 1394): Ricoh Co Ltd R5C552 IEEE 1394 Controller
>>> (rev 08)
>>> 03:01.2 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
>>> Host Adapter (rev 17)
>>> 03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
>>> Adapter (rev 08)
>>> 
>> sjo...@laptop:~$ lspci
>> ..
>> 03:01.0 FireWire (IEEE 1394): Ricoh Co Ltd R5C832 IEEE 1394 Controller
>> (rev 05)
>> 03:01.1 SD Host controller: Ricoh Co Ltd R5C822 SD/SDIO/MMC/MS/MSPro
>> Host Adapter (rev 22)
>> 03:01.2 System peripheral: Ricoh Co Ltd R5C843 MMC Host Controller (rev 12)
>> 03:01.3 System peripheral: Ricoh Co Ltd R5C592 Memory Stick Bus Host
>> Adapter (rev 12)
>> 03:01.4 System peripheral: Ricoh Co Ltd xD-Picture Card Controller (rev ff)
> After a more thorough look, We seem to have the same card reader.  

What kernel? My 2.6.27.7 is customized specifically because the 2.6.27
in debian at the time didn't have that card reader enabled and I
needed it for boot (encryption key on sd card). So, maybe it is the
card reader. I've since switched to a usb key and could abandon that
kernel and see what happens.

A


signature.asc
Description: Digital signature


Re: any software for 3D surfaces visualization in debian sid?

2009-03-16 Thread Jörg-Volker Peetz
In Debian sid there is sagemath (a really big package) which itself uses, a.o.,
python-matplotlib. Maybe, you like to try one of them?
-- 
Regards,
Jörg-Volker.


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



Re: how to get past apt-get errors? is there a manual workaround? SOLVED

2009-03-16 Thread Boyd Stephen Smith Jr.
On Monday 16 March 2009 11:33:33 will trillich wrote:
> Thanks to you, too! And sorry about the non-technical quoting...

Not a big issue.  I greatly prefer interleaved, but it's not official list 
policy or anything.

> I'm not on the
> debian-user list so I just copy/paste from lists.debian.org,

If you'll mention it in your message, I'll gladly CC you.

> Unfortunately, gmail encourages pre-post

How does it do that?

Starting with the cursor at the top is proper behavior for an mail composer.  
That way you can read through the quoted text, removing what is not relevant 
and interspersing your comments directly below the text you found relevant.

Full-quoting and sticking a few lines at the bottom is as bad or worse as 
full-quoting and sticking stuff at the top.  The context can get muddled 
instead of dropped, and the amount of scrolling can become quite annoying.

> and all our end-user
> clientele prefer it, so I've wound up adopting sloppy email habits.

It happens.  Some communities really do prefer top posting for whatever 
reason, and it's usually in a new members best interest to conform.  "Differ 
in substance, not style."
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: Problem with upgrading libc6

2009-03-16 Thread Boyd Stephen Smith Jr.
On Monday 16 March 2009 13:06:59 Mike Bird wrote:
> With tricky upgrades I usually remove all -dev packages first
> and reinstall them after.

That seems to make things work better here, as well.  I also tend to remove 
-dbg packages, too.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: any software for 3D surfaces visualization in debian sid?

2009-03-16 Thread tyler
Star Liu  writes:

> I'm looking for a free software which can draw 3D picture if I setup
> mathmetical equations and specify its scope, it's an important part of
> my current project. thanks!

gnuplot might do what you need.

Tyler

-- 
When in doubt, use brute force.
   --Ken Thompson


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



Re: Moving to LVM

2009-03-16 Thread Johannes Wiedersich
André Berger wrote:
> What happens if, for whatever reason, just one of the disks is
> available?

You are out of luck and loose access to any of your data.

You didn't expect something else, did you?

Cheers,
Johannes


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



Re: Moving to LVM

2009-03-16 Thread Boyd Stephen Smith Jr.
In <20090316183713.ga...@fuchs>, André Berger wrote:
>My plan is to create a Logical Volume Group to span two partitions
>located on different disks, and export that LV group via NFS. If I
>got it right (please correct me), I need partitions of type 8e on
>both disks.

LVM is happy to use any block device as a PV.  I use whole disks in some 
cases and partitions in other cases.  Even if you are using partitions, they 
don't have to be of type 8e normally.  (I have found some installer programs 
that don't like it when your PVs are not partitions of type 8e, but I 
consider those broken; the LVM core is not picky in that regard.)

>So I thought I
>
>1 partition disk2 8e
>2 create a LV group and add disk2/p1 to it
2a Create a PV from disk2/p1
2b Create a VG containing one PV, disk2/p1
2c Create a LV from that VG. 
>3 create an ext3 filesystem on the LV
>3 copy the data from disk1/p1 to the LV
>4 partition disk1/p1 8e
>5 add disk1/p1 to the LV group
5a Create a PV from disk1/p1
5b Extend the existing VG by adding disk1/p1
>6 resize the LV ext3 filesystem to 2 TB, so it spans both disks resp.
>  partitions

>Does this sound right to you? Maybe you could help me with the
>necessary command as well...

# disk1/p1 = /dev/sda1
# disk2/p1 = /dev/sdb1
pvcreate /dev/sdb1
vgcreate vg_name /dev/sdb1
lvcreate -L size -n lv_name vg_name
mkfs.ext3 /dev/mapper/vg_name-lv_name
mkdir /mnt/old
mkdir /mnt/new
mount /dev/sda1 /mnt/old
mount /dev/mapper/vg_name-lv_name /mnt/new
rsync -aHAX --progress --stats /mnt/old/. /mnt/new/.
umount /mnt/old
umount /mnt/new # Entirely optional.
pvcreate /dev/sda1
vgextend vg_name /dev/sda1
lvextend -L new_size vg_name/lv_name

I think that's correct, but I'm not looking at a man page right now and it's 
been a while since I needed to extend a VG.

>What happens if, for whatever reason, just one of the disks is
>available?

The entire VG is unavailable.  It can be manually brought up in partial 
mode.  In partial mode, only the LVs that reside entirely on available disks 
will be available -- they must have NO sectors allocated on unavailable 
disks.  In a disaster recovery scenario, it is possible to insert a 
different device (/dev/zero might work, usually a new disk is better) as the 
missing PV, but this should be a last-resort behavior.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: AMD64 in vmware

2009-03-16 Thread Stefan Monnier
> Thanks for letting me know! I learned something new*!
[...]
> *If you learn something new everyday, does this mean I just met my quota
> and can go home early? :)

Beware: you may also learn something new at home (or even on the way
home), so your best bet is to go straight to tomorrow,


Stefan



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



Re: Moving to LVM

2009-03-16 Thread Stefan Monnier
> What happens if, for whatever reason, just one of the disks is
> available?

You lose it all (pretty much).  For that reason, it's not recommended,
unless you have backups elsewhere.


Stefan


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



Re: Boot CD and terms of use

2009-03-16 Thread Stefan Monnier
> a) Accompany it with the complete corresponding machine-readable 
> source code, which must be distributed under the terms of Sections 
> 1 and 2 above on a medium customarily used for software 
> interchange; or, 
[...]
> Usually, this prohibits "simply" providing a "pointer" to the
> source code.  The other versions on the GPL and the various

IIUC, the internet is a "medium customarily used for software 
interchange" nowadays.  Of course, you do need to make sure that you
will be able to point to an appropriate URL for the following 3 years,
which may require you to store your own archive.


Stefan



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



Re: Boot CD and terms of use

2009-03-16 Thread Boyd Stephen Smith Jr.
In , Stefan Monnier 
wrote:
>> a) Accompany it with the complete corresponding machine-readable
>> source code, which must be distributed under the terms of Sections
>> 1 and 2 above on a medium customarily used for software
>> interchange; or,
>
>[...]
>
>> Usually, this prohibits "simply" providing a "pointer" to the
>> source code.  The other versions on the GPL and the various
>
>IIUC, the internet is a "medium customarily used for software
>interchange" nowadays.  Of course, you do need to make sure that you
>will be able to point to an appropriate URL for the following 3 years,
>which may require you to store your own archive.

Option a requires the source and binary to be distributed on the same 
medium.  This means that a source repository on the Internet doesn't satisfy 
this option for binaries distributed on CDs.

Now, *if* the Internet is considered a "medium customarily used for software 
interchange", a URL that was live for at least 3 years after the date the 
binaries were distributed could be part of "a written offer [...] to give 
any third party [...] a complete machine-readable copy of the corresponding 
source code".  That URL could NOT be protected behind a EULA, TOS, mandatory 
registration, or selective-authentication system (it must be accessible to 
"ANY third party").
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: Print to PDF with lpr

2009-03-16 Thread Michael Wagner
* Tzafrir Cohen  15.03.2009
> On Sun, Mar 15, 2009 at 11:47:43PM +0200, Dotan Cohen wrote:
> > I just noticed that I can in fact print PDF files this way, so the
> > problem is that I am trying to print an ODT file. How can I convert
> > that ODT to PDF on the command line? I have googled that before and
> > could not figure it out, even after installing OOo scripts and other
> > nasties.
> 
> As mentioned in previous threads: abirod should be able to do that.

Or you can use the "cups-pdf" package.

-+
Package: cups-pdf|
Priority: optional   |
Version: 2.5.0-1 |
Depends: ghostscript, libpaper-utils, cups-client, libc6 (>= 2.7-1)  |
Pre-Depends: cups (>= 1.1.15)|
Suggests: system-config-printer-gnome | system-config-printer-kde | \|
system-config-printer|
Description: PDF printer for CUPS|
 CUPS-PDF provides a PDF Writer backend to CUPS. This can be used as a   |
 virtual printer in a paperless network or to perform testing on CUPS.   |
 .   |
 Documents are written to a configurable directory (by default to ~/PDF) |
 or can be further manipulated by a post-processing command. |
 .   |
 Homepage:  http://www.cups-pdf.de   |
Enhances: cups   |
Tag: role::app-data, use::converting, use::printing, works-with::text,   |
works-with-format::pdf   |
-+

With this package you can make a PDF in every application.

Hth Michael

-- 
UNIX always presumes you know what you're doing.
You're the human being, after all, and it is a mere operating system. 


signature.asc
Description: Digital signature


Re: Moving to LVM

2009-03-16 Thread Boyd Stephen Smith Jr.
In , Stefan Monnier 
wrote:
>> What happens if, for whatever reason, just one of the disks is
>> available?
>
>You lose it all (pretty much).  For that reason, it's not recommended,
>unless you have backups elsewhere.

You don't really lose it all.  If the disk is just unavailable, the VG is 
just unavailable.  Bringing both disks on-line simultaneously will restore 
your access to the VG and all its LVs.

If one disk dies or gets corrupted, you can still recover some of the data 
on the other disk.  LVs that reside only on the good disk(s) will be 
completely safe.  LVs that reside only on the bad disk(s) will be entirely 
lost.

For accessing LVs that have segments allocated from both disks, you can get 
the old PV's UUID from the VGDA backups (or the good disk) and create a new 
PV with the same UUID.  Then, you can fsck your file systems and continue 
with data recovery.  It's not pretty, and you'll almost certainly lose more 
data than if the disks were completely separate file systems, but you should 
be able to recover some data.  You can make this easier by making sure a 
backup file system header is stored on each disk.

IMO, LVM is a replacement for partition tables not for RAID or backups.
-- 
Boyd Stephen Smith Jr.   ,= ,-_-. =.
b...@iguanasuicide.net  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.net/\_/



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


Re: Print to PDF with lpr

2009-03-16 Thread Dotan Cohen
> Or you can use the "cups-pdf" package.
>

That's what I am using. However, it appears that cups cannot accept an
ODF file as input. I suppose that OOo is internally converting the ODF
to PS for printing.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


Re: iptables question

2009-03-16 Thread Andrei Popescu
On Mon,12.Jan.09, 14:50:48, Paul Cartwright wrote:
> I used to be able to ssh to my desktop, then.. I couldn't ( sounds like my 
> K3B 
> issue:).
> I noticed someone else with a message about iptables, and I basically copied 
> his script:
> # iptables -I INPUT -p tcp -m state --state NEW --dport 22 -i eth0 -j ACCEPT
> 
> except changed it to my ssh port 22. Now I can ssh back to my box again.
> What would reset my iptables, did we have some updates with would put in a 
> vanilla config file somewhere?? is there an iptables .conf ( or whatever) 
> file, I didn't see one in the man pages, though I didn't look REAL hard at 
> all 297 pages...

I know this is old, but...

AFAICT iptables has no config at all on Debian (dpkg -L shows no files 
in /etc). The only suspect would be some of the frontends. I would look 
into the reverse dependencies of iptables (a.k.a the packages depending 
on iptables). Try this:

aptitude search '?installed ?depends(iptables)'

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: Digital signature


Problem with upgrading libc6

2009-03-16 Thread NFN Smith
I have a server that is running etch, and before upgrading to lenny, 
there's a a couple of packages with a lot of local configuration work in 
them that I want to upgrade individually to lenny versions first, so 
that I don't have the problem of having to adjust for lenny-specific 
changes to packages at the same time I'm upgrading the server.  This 
server is running AMD-64 versions of Debian.


For these packages, updates are requiring upgrade of libc6, that's 
giving me problems in version conflicts between libc6 and libc6-dev. 
libc6 upgrades, but for some reason libc6 dev doesn't.



Highlights from screen logs, when I run:

   aptitude -t stable install libc6


The following NEW packages will be installed:
  linux-libc-dev [2.6.26-13]
The following packages will be REMOVED:
  linux-kernel-headers [2.6.18-7]
The following packages will be upgraded:
  binutils [2.17-3 -> 2.18.1~cvs20080103-7]
  libc6 [2.3.6.ds1-13etch9 -> 2.7-18]
  libc6-dev [2.3.6.ds1-13etch9 -> 2.7-18]
  locales [2.3.6.ds1-13etch9 -> 2.7-18] tzdata [2008e-1etch3 -> 2008h-2]




Preparing to replace locales 2.3.6.ds1-13etch9 (using 
.../locales_2.7-18_all.deb) ...
Unpacking replacement locales ...
dpkg: linux-kernel-headers: dependency problems, but removing anyway as you 
request:
 libc6-dev depends on linux-kernel-headers.


Here's the beginning of the conflict.  Locales seems OK, but removal
linux-kernel-headers causes problems with libc6-dev.


Unpacking linux-libc-dev (from .../linux-libc-dev_2.6.26-13_amd64.deb) ...
Preparing to replace binutils 2.17-3 (using 
.../binutils_2.18.1~cvs20080103-7_amd64.deb) ...
Unpacking replacement binutils ...
Preparing to replace libc6-dev 2.3.6.ds1-13etch9 (using 
.../libc6-dev_2.7-18_amd64.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.3.6.ds1-13etch9 (using .../libc6_2.7-18_amd64.deb) 
...
Checking for services that may need to be restarted...
Checking init scripts...
Unpacking replacement libc6 ...
dpkg: error processing /var/cache/apt/archives/libc6_2.7-18_amd64.deb 
(--unpack):
 dpkg: warning - old post-removal script killed by signal (Segmentation fault)


Here's where it gets worse -- segmentation fault.


dpkg: error while cleaning up:
 subprocess pre-installation script killed by signal (Segmentation fault)
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.7-18_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.7-18); however:
  Package libc6 is not installed.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured


Here's the core conflict -- new version of libc6 and old version of
libc6-dev.


Setting up linux-libc-dev (2.6.26-13) ...
dpkg: dependency problems prevent configuration of locales:
 locales depends on glibc-2.7-1; however:
  Package glibc-2.7-1 is not installed.


This one prevents correct configuration of locales


dpkg: error processing locales (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of binutils:
 binutils depends on libc6 (>= 2.7-1); however:
  Package libc6 is not installed.
dpkg: error processing binutils (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
 locales
 binutils



At the end, three essential packages not upgraded.

At this point, I went back and reinstalled libc6 from etch:



Downgrade the following packages:
binutils [2.18.1~cvs20080103-7 (stable, stable, now) -> 2.17-3 (oldstable, 
oldstable)]
libc6-dev [2.7-18 (stable, stable, now) -> 2.3.6.ds1-13etch9 (oldstable, 
oldstable)]
locales [2.7-18 (stable, stable, now) -> 2.3.6.ds1-13etch9 (oldstable, 
oldstable)]

Score is -160

Accept this solution? [Y/n/q/?] y
The following packages will be DOWNGRADED:
  binutils [2.18.1~cvs20080103-7 -> 2.17-3]
  libc6-dev [2.7-18 -> 2.3.6.ds1-13etch9]
  locales [2.7-18 -> 2.3.6.ds1-13etch9]
0 packages upgraded, 0 newly installed, 3 downgraded, 0 to remove and 0 not 
upgraded.



Following this downgrade, libc6 (and related dependencies) are all still 
at etch versions.


Is there a way of getting around this one (perhaps booting from a CD and 
using the rescue shell)?  Or is it going to be faster/easier to simply 
back up the machine and rebuild it?


Smith


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




Re: Print to PDF with lpr

2009-03-16 Thread Matthew Smith

Quoth Dotan Cohen at 2009-03-17 08:24...

Or you can use the "cups-pdf" package.


That's what I am using. However, it appears that cups cannot accept an
ODF file as input. I suppose that OOo is internally converting the ODF
to PS for printing.


Think there is a little confusion here that needs to be cleared up:

ODF if not supposed to be a printable format.  It is the native format 
used by OOo to store its working files for editing, not printing - it is 
NOT a page description language like PDF or PostScript.


To print ODF, it needs to be rendered as a page description language 
such as PDF, PostScript, etcetera.  This is what happens when you select 
'Export to PDF' in OOo.


Trying to think of a good analogy to clarify this.  The best that 
springs to mind is HTML.  If you print an HTML file, you just get the 
page source printed.  If you print it from your browser, however, the 
HTML, CSS, images, etcetera, are rendered in the familiar form that you 
see when visiting a web page.


It would certainly be possible to write a command-line application to 
convert ODF to PostScript, PDF etcetera.  The document format is open so 
there is nothing stopping anyone from cobbling something together with, 
say Perl and XSLT.  If nobody has done this and you don't fancy writing 
it yourself, I'm afraid that you will still need to use OOo to render to 
a printable format.


Hope this makes sense.

Cheers

M

--
Matthew Smith
Smiffytech - Technology Consulting & Web Application Development
Business:  http://www.smiffytech.com/
Blog/personal: http://www.smiffysplace.com/
LinkedIn:  http://www.linkedin.com/in/smiffy
Skype: msmiffy
Twitter:   @smiffytech


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




Re: iomega portable hard drive

2009-03-16 Thread Marcelo Chiapparini
Hello Douglas

2009/3/16 Douglas A. Tutty :
> On Mon, Mar 16, 2009 at 07:11:55AM -0300, Marcelo Chiapparini wrote:
>> is it possible to put to work a 120 GB Iomega Portable Hard Drive (usb
>> powered) under Lenny? I own one myself, but I can't mount it. I
>> googled a bit too, but without success besides the fact that there is
>> no direct linux support for it.
>
> It may not need direct support.  When you plug it in, udev should create
> a /dev/sd* node for it and report this in /var/log/syslog.
>
> At a command line, run:
> $ tail -f /var/log/syslog
>
> and plug in the drive.
>
> See what shows up, then mount the drive.

here follows the output. Sorry for the long log...

Mar 16 19:36:24 yggdrasill kernel: [ 6171.559461] usb 3-2: new full
speed USB device using uhci_hcd and address 4
Mar 16 19:36:24 yggdrasill kernel: [ 6171.724615] usb 3-2:
configuration #1 chosen from 1 choice
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] scsi5 : SCSI
emulation for USB Mass Storage devices
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb-storage: device found at 4
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb-storage: waiting
for device to settle before scanning
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb 3-2: New USB
device found, idVendor=059b, idProduct=0272
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb 3-2: New USB
device strings: Mfr=81, Product=57, SerialNumber=44
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb 3-2: Product:
Iomega HDD USB2.0 Drive
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb 3-2: Manufacturer: Iomega
Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb 3-2:
SerialNumber: 56780D96EC35
Mar 16 19:36:24 yggdrasill NetworkManager:  [1237242984.480140]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_59b_272_56780D96EC35').
Mar 16 19:36:24 yggdrasill NetworkManager:  [1237242984.563176]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_59b_272_56780D96EC35_if0').
Mar 16 19:36:24 yggdrasill NetworkManager:  [1237242984.596214]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_59b_272_56780D96EC35_usbraw').
Mar 16 19:36:29 yggdrasill kernel: [ 6177.509493] usb-storage: device
scan complete
Mar 16 19:36:29 yggdrasill kernel: [ 6177.517493] scsi 5:0:0:0:
Direct-Access ST912082 2A    PQ: 0 ANSI: 0
Mar 16 19:36:29 yggdrasill kernel: [ 6177.540014] sd 5:0:0:0: [sda]
234441648 512-byte hardware sectors (120034 MB)
Mar 16 19:36:29 yggdrasill kernel: [ 6177.544022] sd 5:0:0:0: [sda]
Write Protect is off
Mar 16 19:36:29 yggdrasill kernel: [ 6177.544032] sd 5:0:0:0: [sda]
Mode Sense: 27 00 00 00
Mar 16 19:36:29 yggdrasill kernel: [ 6177.544037] sd 5:0:0:0: [sda]
Assuming drive cache: write through
Mar 16 19:36:29 yggdrasill kernel: [ 6177.548984] sd 5:0:0:0: [sda]
234441648 512-byte hardware sectors (120034 MB)
Mar 16 19:36:29 yggdrasill kernel: [ 6177.554860] sd 5:0:0:0: [sda]
Write Protect is off
Mar 16 19:36:29 yggdrasill kernel: [ 6177.554872] sd 5:0:0:0: [sda]
Mode Sense: 27 00 00 00
Mar 16 19:36:29 yggdrasill kernel: [ 6177.554877] sd 5:0:0:0: [sda]
Assuming drive cache: write through
Mar 16 19:36:29 yggdrasill NetworkManager:  [1237242989.522010]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_59b_272_56780D96EC35_if0_scsi_host').
Mar 16 19:36:29 yggdrasill NetworkManager:  [1237242989.526945]
nm_hal_device_added(): New device added (hal udi is
'/org/freedesktop/Hal/devices/usb_device_59b_272_56780D96EC35_if0_scsi_host_scsi_device_lun0').
Mar 16 19:36:59 yggdrasill kernel: [ 6177.554886]  sda:<6>usb 3-2:
reset full speed USB device using uhci_hcd and address 4
Mar 16 19:37:30 yggdrasill kernel: [ 6247.201428] usb 3-2: reset full
speed USB device using uhci_hcd and address 4
Mar 16 19:38:01 yggdrasill kernel: [ 6282.953728] usb 3-2: reset full
speed USB device using uhci_hcd and address 4
Mar 16 19:38:32 yggdrasill kernel: [ 6317.559655] usb 3-2: reset full
speed USB device using uhci_hcd and address 4
Mar 16 19:39:03 yggdrasill kernel: [ 6350.586207] usb 3-2: reset full
speed USB device using uhci_hcd and address 4
Mar 16 19:39:34 yggdrasill kernel: [ 6385.055989] usb 3-2: reset full
speed USB device using uhci_hcd and address 4
Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] sd 5:0:0:0: [sda]
Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK,SUGGEST_OK
Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] end_request: I/O
error, dev sda, sector 0
Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] __ratelimit: 4
messages suppressed
Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] Buffer I/O error on
device sda, logical block 0
Mar 16 19:40:06 yggdrasill kernel: [ 6420.388444] usb 3-2: reset full
speed USB device using uhci_hcd and address 4

and nothing appears in /dev, like /dev/sda... so I can't mount it.
What is going wrong?

Thank you very much for the help!

Marce

Re: Print to PDF with lpr

2009-03-16 Thread randall

Matthew Smith wrote:


It would certainly be possible to write a command-line application to 
convert ODF to PostScript, PDF etcetera.  The document format is open 
so there is nothing stopping anyone from cobbling something together 
with, say Perl and XSLT.  If nobody has done this and you don't fancy 
writing it yourself, I'm afraid that you will still need to use OOo to 
render to a printable format.


i've never done it myself and can provide very little useful tips but i 
know that you can run openoffice "headless" to do exactly that and 
several folks do.  i think you can google for several examples for the 
needed scripts.








--

www.songshu.org
Just another collection of nuts


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




re: xhost: cannot connect to X server

2009-03-16 Thread Dieder Vervoort

On Sun, Mar 15, 2009 at 22:05:20 +0100, 
Dieder Vervoort wrote: 
 > Florian Kulzer wrote: 
 >> On Sat, Mar 14, 2009 at 23:22:32 +0100, Dieder Vervoort wrote: 
 >>> I can' t make xhost to work. 
 >>> I searched around but couldn 't find a solution. 
 
[...] 
 
>>> die...@koala:~$ xhost + 
 >>> access control disabled, clients can connect from any host 
 
>> If your goal is to run X applications via ssh, then I would try this: 
 
>> http://www.debian.org/doc/manuals/reference/ch-tune.en.html#s-xssh 
 
[...] 
 
> Many thanks, because the remote system is light, I do not prefer to use   
 > SSH ( sorry, the line telenet 192.168.1.8 was missing in the problem   
 > description)) 
 > When I telnet from a Slackware client to the remote host running Lenny +   
 > JWM-desktop it is working fine ! 
 > So the problem is client pc running Lenny + KDE + xhost +  does not   
 > accept  incoming  TCP + X 
 
The first thing to check is if X really was started without "-nolisten 
 tcp": 
 
$ ps -ef | grep "[/]bin/X " 
 root  9482  9480  0 22:49 tty7 00:00:01 /usr/bin/X -br :0 vt7 -auth 
/var/run/xauth/A:0-qdt4bc 
 
...and if X is actually listening on port 6000: 
 
# netstat -plant | grep 6000 
 tcp0  0 0.0.0.0:60000.0.0.0:*   LISTEN 
 9482/X 
 tcp6   0  0 :::6000 :::*LISTEN 
 9482/X 
 
If that has gone wrong than you did not remove the "-nolisten tcp" 
 option from the relevant file; this depends on how you start X. For 
 example, if you use KDM to start your X session then you have to change 
 
ServerArgsLocal=-nolisten tcp 
 
to 
 
ServerArgsLocal= 
 
in /etc/kde3/kdm/kdmrc. 
 
If you can confirm that your server is listening on port 6000 then you 
 probably should check if you have a local iptables rule that blocks 
 connections to this port. 
 
-- 
 Regards,| http://users.icfo.es/Florian.Kulzer 
   Florian   | 
 
-- 
 
Hi Florian,

I double checked kdmrc and xserverrc, and these must be right.

I have ServerArgsLocal= 
and -nolisten TCP removed from xserverrc.

Unfortunatly I have forgotten to run your cli commands,

removed KDE and installed Gnome, still not functioning
( I am going to reinstall it)

But I couldn't wait 

I have tested the local function from 2 other pc's

 Etch + Gnome  = OK
 Slackware + KDE = Ok there was no need to modify kdmrc !

The pleasant surprise: in my local-X I have not only the webrowser where I can
choose a streaming, and the VLC console pops up on my local host as a child of 
the browser window !  


So what is working:
Remote: old portable Pentium II 66Mhz 96 Mb Ram Debian Lenny + JWM + sound card.
Local in xterm: xhost + 
telnet to Remote export Dispalay > Konqueror + VLC 

Many Thanks, I am going to try the Lenny / KDE later

Dieder






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



Re: Print to PDF with lpr

2009-03-16 Thread Dotan Cohen
> Think there is a little confusion here that needs to be cleared up:
>
> ODF if not supposed to be a printable format.  It is the native format used
> by OOo to store its working files for editing, not printing - it is NOT a
> page description language like PDF or PostScript.
>

I now know that. But I didn't just a day ago!

> To print ODF, it needs to be rendered as a page description language such as
> PDF, PostScript, etcetera.  This is what happens when you select 'Export to
> PDF' in OOo.
>
> Trying to think of a good analogy to clarify this.  The best that springs to
> mind is HTML.  If you print an HTML file, you just get the page source
> printed.  If you print it from your browser, however, the HTML, CSS, images,
> etcetera, are rendered in the familiar form that you see when visiting a web
> page.
>
> It would certainly be possible to write a command-line application to
> convert ODF to PostScript, PDF etcetera.  The document format is open so
> there is nothing stopping anyone from cobbling something together with, say
> Perl and XSLT.  If nobody has done this and you don't fancy writing it
> yourself, I'm afraid that you will still need to use OOo to render to a
> printable format.
>
> Hope this makes sense.
>

Thanks, Matthew. The problem with ODF is that there is no reference
implementation. Not all programs will display it as OOo. But I just
discovered this OOo extension which allows the user to save the
document as PDF with the ODF file embedded for editing:
http://extensions.services.openoffice.org/project/pdfimport

This is, in my opinion, the perfect document format. The only thing
missing from the extension is better save support, as the user
currently must be careful to export (not save) as a Hybrid PDF file.

-- 
Dotan Cohen

http://what-is-what.com
http://gibberish.co.il

א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת
ا-ب-ت-ث-ج-ح-خ-د-ذ-ر-ز-س-ش-ص-ض-ط-ظ-ع-غ-ف-ق-ك-ل-م-ن-ه‍-و-ي
А-Б-В-Г-Д-Е-Ё-Ж-З-И-Й-К-Л-М-Н-О-П-Р-С-Т-У-Ф-Х-Ц-Ч-Ш-Щ-Ъ-Ы-Ь-Э-Ю-Я
а-б-в-г-д-е-ё-ж-з-и-й-к-л-м-н-о-п-р-с-т-у-ф-х-ц-ч-ш-щ-ъ-ы-ь-э-ю-я
ä-ö-ü-ß-Ä-Ö-Ü


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



Re: Consolechars Question

2009-03-16 Thread Chris Jones
On Mon, Mar 16, 2009 at 02:18:40PM EDT, Thomas H. George wrote:

[...]

> maybe, but I have no such command.  

Sorry .. was in too much of a rush to proofread before posting.

The command is "showconsolefont" and it's part of the kbd package.

  http://www.geocities.com/fcky1000/fcky/showconsolefont.png

CJ


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



Acomdata 320 Gb external USB & Linux/Sidux.

2009-03-16 Thread s. keeling
Acomdata 320 Gb external USB has so far been useless on every Linux
I've tried it with.  Thanks to a hint from d-u, I finally got around
to loading usb_storage ("Doh!").  That manages to get this drive to
elicit "sdb" (finally).

The box says it's USB 2.0 ("Interface: Hi-Speed USB 2.0").  "Acomdata
E5 HybridDrive with stand".  "Windows Vista Compatible," fwiw.

But see the end.  fdisk sees nothing on this thing.  Previously, all I
could find on this thing was a read-only ptn, ca. 3 Gb, and system saw
it as /dev/sr?.

HTF do I partition this thing?!?  :-|  No hurry; it's just annoying.
Surely Sidux should be able to handle hardware I bought last year.
:-(  Drat.  

I've fought with this thing on a Compaq Evo desktop running etch, an
AMD Sempron running Slack and Sidux, and an HP Pavilion AMD Turion 64
bit.  Ideas?  What am I missing?  Thanks.

   ---
Mar 16 16:48:14 newmil kernel: usbcore: registered new interface driver 
usb-storage
Mar 16 16:48:14 newmil kernel: USB Mass Storage support registered.
Mar 16 17:00:08 newmil kernel: usb 2-2: new full speed USB device using 
ohci_hcd and address 3
Mar 16 17:00:08 newmil kernel: usb 2-2: not running at top speed; connect to a 
high speed hub
Mar 16 17:00:08 newmil kernel: usb 2-2: configuration #1 chosen from 1 choice
Mar 16 17:00:08 newmil kernel: scsi8 : SCSI emulation for USB Mass Storage 
devices
Mar 16 17:00:08 newmil kernel: usb 2-2: New USB device found, idVendor=0c0b, 
idProduct=b311
Mar 16 17:00:08 newmil kernel: usb 2-2: New USB device strings: Mfr=1, 
Product=2, SerialNumber=3
Mar 16 17:00:08 newmil kernel: usb 2-2: Product: USB 2.0 CD + HDD
Mar 16 17:00:08 newmil kernel: usb 2-2: Manufacturer: DMI
Mar 16 17:00:08 newmil kernel: usb 2-2: SerialNumber: 03280800058C
Mar 16 17:00:13 newmil kernel: isa bounce pool size: 16 pages
Mar 16 17:00:13 newmil kernel: scsi scan: INQUIRY result too short (5), using 36
Mar 16 17:00:13 newmil kernel: scsi 8:0:0:0: CD-ROMDMI  USB2.0 
CD-ROM1.15 PQ: 0 ANSI: 0
Mar 16 17:00:13 newmil kernel: scsi 8:0:0:1: Direct-Access DMI  USB2.0 
Storage   1.15 PQ: 0 ANSI: 0
Mar 16 17:00:13 newmil kernel: sr1: scsi3-mmc drive: 52x/52x cd/rw xa/form2 
cdda tray
Mar 16 17:00:13 newmil kernel: sr 8:0:0:0: Attached scsi generic sg2 type 5
Mar 16 17:00:13 newmil kernel: sd 8:0:0:1: [sdb] Attached SCSI disk
Mar 16 17:00:13 newmil kernel: sd 8:0:0:1: Attached scsi generic sg3 type 0
(0) phreaque /home/keeling_ things
(0) newmil [root] /root_ fdisk -l /dev/sdb
(0) newmil [root] /root_ fdisk /dev/sdb

Unable to read /dev/sdb
   ---


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)http://www.xs4all.nl/~js/gnksa/  Linux Counter #80292
- -http://www.faqs.org/rfcs/rfc1855.htmlPlease, don't Cc: me.


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



reboot/shutdown hangs at 'acpid:exiting'

2009-03-16 Thread Michael Yang
After recent upgrade, my system becomes kind of mess up.

My story is that I did a apt-get upgrade of some packages to squeeze/sid by
accident(I didn't change the 'testing' in my source.list). So I downgrade
most of packages back to dist lenny by pinning packages except the kernel
(2.6.24 kernel) and few packages. Everything works well but the acpid.

The problem is every time when I reboot or shutdown the system, the screen
hangs at the message 'acpid exiting'.

The version of acpid is 1.0.8-1 which is lenny version.

I also tried the new version but didn't get through.

Anybody has ideas of how to resolve the problem.

Thanks.
Michael.


Re: Problem with upgrading libc6

2009-03-16 Thread Douglas A. Tutty
On Fri, Mar 13, 2009 at 12:32:38PM -0700, NFN Smith wrote:
> I have a server that is running etch, and before upgrading to lenny, 
> there's a a couple of packages with a lot of local configuration work in 
> them that I want to upgrade individually to lenny versions first, so 
> that I don't have the problem of having to adjust for lenny-specific 
> changes to packages at the same time I'm upgrading the server.  This 
> server is running AMD-64 versions of Debian.
> 
> For these packages, updates are requiring upgrade of libc6, that's 
> giving me problems in version conflicts between libc6 and libc6-dev. 
> libc6 upgrades, but for some reason libc6 dev doesn't.
> 
> 
> Highlights from screen logs, when I run:
> 
>aptitude -t stable install libc6

Think of libc as the heart of your computer's software.  You just
instructed your computer to do a hart transplant without the patient
going on bypass.  

OK, its the best analogy I could come up with.  I don't know if fixing
this is possible, hopefully someone can help you.  I hope you had good
backups (if not, do them now if you can).  

Doug.


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



Re: iomega portable hard drive

2009-03-16 Thread Douglas A. Tutty
On Mon, Mar 16, 2009 at 07:47:16PM -0300, Marcelo Chiapparini wrote:
> 2009/3/16 Douglas A. Tutty :
> > On Mon, Mar 16, 2009 at 07:11:55AM -0300, Marcelo Chiapparini wrote:
> >> is it possible to put to work a 120 GB Iomega Portable Hard Drive (usb
> >> powered) under Lenny? I own one myself, but I can't mount it. I
> >> googled a bit too, but without success besides the fact that there is
> >> no direct linux support for it.
> >
> > It may not need direct support. ?When you plug it in, udev should create
> > a /dev/sd* node for it and report this in /var/log/syslog.
> >
> > At a command line, run:
> > $ tail -f /var/log/syslog
> >
> > and plug in the drive.
> >
> > See what shows up, then mount the drive.
> 
> here follows the output. Sorry for the long log...
> 
> Mar 16 19:36:24 yggdrasill kernel: [ 6171.730447] usb 3-2: Product:
> Iomega HDD USB2.0 Drive

> Mar 16 19:36:24 yggdrasill NetworkManager:  [1237242984.480140]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_59b_272_56780D96EC35').

> Mar 16 19:36:29 yggdrasill kernel: [ 6177.517493] scsi 5:0:0:0:
> Direct-Access ST912082 2A    PQ: 0 ANSI: 0
> Mar 16 19:36:29 yggdrasill kernel: [ 6177.540014] sd 5:0:0:0: [sda]
> 234441648 512-byte hardware sectors (120034 MB)

> Mar 16 19:36:29 yggdrasill NetworkManager:  [1237242989.522010]
> nm_hal_device_added(): New device added (hal udi is
> '/org/freedesktop/Hal/devices/usb_device_59b_272_56780D96EC35_if0_scsi_host').

> Mar 16 19:36:59 yggdrasill kernel: [ 6177.554886]  sda:<6>usb 3-2:
> reset full speed USB device using uhci_hcd and address 4
> Mar 16 19:37:30 yggdrasill kernel: [ 6247.201428] usb 3-2: reset full
> speed USB device using uhci_hcd and address 4

> Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] sd 5:0:0:0: [sda]
> Result: hostbyte=DID_ABORT driverbyte=DRIVER_OK,SUGGEST_OK
> Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] end_request: I/O
> error, dev sda, sector 0
> Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] __ratelimit: 4
> messages suppressed
> Mar 16 19:39:35 yggdrasill kernel: [ 6386.107479] Buffer I/O error on
> device sda, logical block 0
> Mar 16 19:40:06 yggdrasill kernel: [ 6420.388444] usb 3-2: reset full
> speed USB device using uhci_hcd and address 4
> 
> and nothing appears in /dev, like /dev/sda... so I can't mount it.
> What is going wrong?
 
Remember what I said about Desktop Environments?  Network Manager with
hal is part of a desktop environment.  Its fitzing with the drives.

Your kernel is seeing the drive, assigning it to /dev/sda (around
19:37).  A couple of minutes later (19:39:35) something causes the drive
to abort.

Perhaps someone can tell you how to get out the DTE while you
troubleshoot this.

Doug.


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



Re: Problem with upgrading libc6

2009-03-16 Thread NFN Smith

Douglas A. Tutty wrote:



OK, its the best analogy I could come up with.  I don't know if fixing
this is possible, hopefully someone can help you.  I hope you had good
backups (if not, do them now if you can).  


Turns out that it's not necessarily a problem.

As long as I don't reboot the server, backing out of the problem is 
doable -- all I have to do is revert to the previous libc6, using:


  aptitude -t oldstable install libc6

and things are back to where they were.

However, if a reboot is done, then that is a near-disaster condition -- 
libc6 is sufficiently deep in the system that it's pretty much 
impossible to resolve the conflict.


A couple of years ago, I was working on this machine with a consultant, 
and we tried to do this upgrade then.  Following a reboot, we made 
another try to resolve -- another attempt to upgrade libc6-dev failed, 
as did an attempt to downgrade libc6.  We tried to remove libc6 
entirely, and that crashed the machine.


Here's how we managed to get out of that problem:

http://aleph-null.tv/go.php?doc=20070920-2351-503.xml

Thus, since the upgrade we wanted wasn't essential, we decided to not 
bother with it then.  However, we're now to the point where we need to 
get the machine upgraded to lenny, so we need to figure out a way around 
the problem.


I need to do some checking, but removal of libc6-dev (and possibly other 
-dev packages) before attempting an upgrade seems to have merit.


Smith


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




Re: Ext3 for flash drive

2009-03-16 Thread Emanoil Kotsev
Stefan Monnier wrote:

>>> Why ext2 rather than ext3?
>> I think you trimmed that line a bit prematurely in that it went on to
>> say "flash drive".  ext2 is arguably better than ext3 for flash drives
>> because of the reduced number of writes to disk.
> 
> The extra writes of ext3 have 2 consequences:
> 1 - slow things down
> 2 - wear out the media
> 
> Only point 2 is specific to flash, and it only matters if it will cause
> the media to die sooner.  With current flash media, obsolescence will
> come much sooner than death, so ext3 is just as suited for flash as it
> is for magnetic media.
>  
> 
> Stefan


Very interesting story!

does it apply on CF cards? The name says flash, so I would assume yes? But
still, I think it really reasonable to consider the life of the media.

regards


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



Re: It's possible to install Debian 5.0 using serial console?

2009-03-16 Thread Emanoil Kotsev
 
> 
> thanks for this, but if i mus enter the extra parameter, i need keyboard
> and monitor attached into this machine, can i add this parameter into
> grub?

Not necessary. the device should either provide access to configuration menu
with kind of vga cable you plugin to reconfigure the bios, or if there is
no vga console it would be configured to output everything to the console

> 
> if i can what program i can use to edit the debian dvd iso so i can edit
> the boot configuration
> 
> many2 thanks

I would do following. 
1) find out which speed the device supports on the serial console by reading
the documentation and/or specification. 
2) Take a computer with serial port and configure it to match the spec of
the device (useally setserial on linux)
3) connect the pc with the device with a serial cable
4) run a program to talk to the serial port (usually minicom on linux)
5) configure the program (minicom) to talk to the local serial port which is
connected to the device
6) fire up the device (I mean turn it on) - and there it is in the serial
chat program (minicom) I see how the device displays the debian logo in
monochrom colors

regards





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



Re: Advice about ext3, please (An experiment & results)

2009-03-16 Thread Emanoil Kotsev
Stefan Monnier wrote:

>> an issue with the flash drives is their life cycle. they support about
>> 10 writes or so in average - there was article I read recently
> 
> For large enough drives, 10 writes will take several years
> of constant write access.  So I wouldn't worry about it.
> 
> 
> Stefan

Well several years is not very precise. I was thinking to let my firewall
run on a CF drive. The last one served for 10years, so ...

thanks


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



Re: AMD64 in vmware

2009-03-16 Thread T o n g
Thanks everyone for the reply. 

On Mon, 16 Mar 2009 11:06:48 -0400, David A. Parker wrote:

>> You are asking if you can run a 64bit VM guest on a 32bit host?
>> 
>> Sorry. Can't do it. Even if you have a 64bit processor, if you only
>> have a 32bit host it won't work.
>> 
>> 
> I thought this was possible 

Interesting, IIRC, launching AMD64 apps under chroot in i386 won't work, 
is this still true? 

> as long as the physical CPU has VT support
> enabled and the BIOS supports it as well.

How can I tell? 

$ grep -i vt /proc/cpuinfo || echo no
no

Does it means that my CPU has no VT support?

Thanks

-- 
Tong (remove underscore(s) to reply)
  http://xpt.sourceforge.net/techdocs/
  http://xpt.sourceforge.net/tools/


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



Re: Boot CD and terms of use

2009-03-16 Thread Stefan Monnier
> Option a requires the source and binary to be distributed on the same 
> medium.

Yes, sorry I erased the right option (b) and kept the wrong one (a).

> Now, *if* the Internet is considered a "medium customarily used for software 
> interchange", a URL that was live for at least 3 years after the date the 
> binaries were distributed could be part of "a written offer [...] to give 
> any third party [...] a complete machine-readable copy of the corresponding 
> source code".  That URL could NOT be protected behind a EULA, TOS, mandatory 
> registration, or selective-authentication system (it must be accessible to 
> "ANY third party").

Actually, the URL doesn't have to live 3 years.  But you should be able
for the next 3 years to provide an appropriate URL (which could change
daily if you want).  Also it may be behind a selective-authentication
system, as long as anybody who has the a copy of the written offer can
get the necessary authentication.

Those nitpicks can make a significant difference if your customers are
unlikely to pass on the written offer to others, in which case even tho,
in theory, the source code could be available to anybody, it may end up
staying somewhat "secret".


Stefan


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



Re: Ext3 for flash drive

2009-03-16 Thread Stefan Monnier
> does it apply on CF cards? The name says flash, so I would assume yes? But
> still, I think it really reasonable to consider the life of the media.

Yes, same thing.  BTW, regarding the life of the media: let's say the
internal maximum write speed is 50MB/s, an expected lifetime of
10-writes, and a capacity of 30GB, that gives you a "minimum time to
write failure" of 2 years (30GB * 10 / 50MB/s).  I.e. it will take
about 2 years of continuous write operation before the flash will fail
because of excessive writes.  As I said: I wouldn't worry about it.


Stefan


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



Re: Postfix Version/Upgrading

2009-03-16 Thread Jeff Grossman
Matthew Smith  wrote:

>Quoth Jeff Grossman at 2009-03-16 14:32...
>> I am running Debian Testing.  I just switched from Sendmail to Postfix
>> on my machine.  This machine is used as an e-mail and web server.  I
>> noticed that the version in Debian is 2.5.5.  The current version
>> available on postfix.org is 2.5.6.  Is it safe/smart to download the
>> source from postfix.org and do a make upgrade or should I just wait
>> for the Debian version to be updated to 2.5.6?
>
>I'd be inclined to go to the Postfix site and have a look at the 
>changelogs to see what the difference in the two version is.  If the 
>later version isn't fixing a nasty security flaw,  I wouldn't be too 
>worried about using the older one.

Thanks for the information.  After reading the release_notes there are
a few fixes to the milter support which I use.  What is the best
method to update Postfix on Debian?  Is it safe to just download the
source and run make upgrade?  Will that mess anything up once Debian
releases the 2.5.6 version via their repository?

Thanks,
Jeff


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



Re: AMD64 in vmware

2009-03-16 Thread David Parker
> Thanks everyone for the reply. 
> 
> On Mon, 16 Mar 2009 11:06:48 -0400, David A. Parker wrote:
> 
> >> You are asking if you can run a 64bit VM guest on a 32bit host?
> >> 
> >> Sorry. Can't do it. Even if you have a 64bit processor, if 
> you only
> >> have a 32bit host it won't work.
> >> 
> >> 
> > I thought this was possible 
> 
> Interesting, IIRC, launching AMD64 apps under chroot in i386 
> won't work, 
> is this still true? 
>

I don't think the chroot will work, but VMware will run a 64-bit guest on a 
32-bit host if your CPU has VT support.

> > as long as the physical CPU has VT support
> > enabled and the BIOS supports it as well.
> 
> How can I tell? 
> 
> $ grep -i vt /proc/cpuinfo || echo no
> no
> 
> Does it means that my CPU has no VT support?
> 

I'm not sure if there is a way to tell from the CPU flags in cpuinfo.  If you 
can reboot the machine, the VT option should be somewhere in the BIOS if it is 
supported.

    - Dave




Re: AMD64 in vmware

2009-03-16 Thread Victor Padro
On Mon, Mar 16, 2009 at 8:39 PM, David Parker  wrote:

> > Thanks everyone for the reply.
> >
> > On Mon, 16 Mar 2009 11:06:48 -0400, David A. Parker wrote:
> >
> > >> You are asking if you can run a 64bit VM guest on a 32bit host?
> > >>
> > >> Sorry. Can't do it. Even if you have a 64bit processor, if
> > you only
> > >> have a 32bit host it won't work.
> > >>
> > >>
> > > I thought this was possible
> >
> > Interesting, IIRC, launching AMD64 apps under chroot in i386
> > won't work,
> > is this still true?
> >
>
> I don't think the chroot will work, but VMware will run a 64-bit guest on a
> 32-bit host if your CPU has VT support.
>
> > > as long as the physical CPU has VT support
> > > enabled and the BIOS supports it as well.
> >
> > How can I tell?
> >
> > $ grep -i vt /proc/cpuinfo || echo no
> > no
> >
> > Does it means that my CPU has no VT support?
> >
>
> I'm not sure if there is a way to tell from the CPU flags in cpuinfo.  If
> you can reboot the machine, the VT option should be somewhere in the BIOS if
> it is supported.
>
> - Dave
>

cat /proc/cpuinfo
and look for vmx(intel) or svn(amd) extensions


-- 
"It is human nature to think wisely and act in an absurd fashion."

"Todo el desorden del mundo proviene de las profesiones mal o mediocremente
servidas"


  1   2   >