Re: What are my locale settings, for non-terminal apps?

2010-05-05 Thread Dotan Cohen
On 4 May 2010 01:20, Mark Allums  wrote:
> On 5/3/2010 4:39 PM, Dotan Cohen wrote:
>>
>> I need to have separate locale settings for my terminal apps, so I
>> configure that in .bash_profile. I assume that my desktop environment
>> is using my locale settings from .profile but I'd like to confirm what
>> those settings are. How can I get the output of locale _not_ from a
>> terminal (which will source .bash_profile and thus be incorrect)?
>>
>> Thanks.
>>
>
> I think locale is the same for terminal and non-terminal apps, except you
> can set locale separately for each separate environment.
>
>
> echo $LC
> echo $LC_MESSAGES
> echo $LC_CTYPE
> echo $LC_COLLATE
> echo $LC_TIME
> echo $LC_MONETARY
> echo $LC_NUMERIC
> echo $LC_PAPER
> echo $LC_NAME
> echo $LC_ADDRESS
> echo $LC_TELEPHONE
> echo $LC_MEASUREMENT
> echo $LC_ALL
>
> (unset LC_ALL if you need different locales for different things)
>
> echo $LOCALE
> echo $LANG
> echo $GDM_LANG
>
>
>
>
> In C:
>
>
> #include 
> #include 
> //
> // not tested
> //
>
> char *some_locale="C";
> if setlocale(LC_MESSAGES,some_locale)
>   printf ("messages locale set to %s\n", some_locale);
> else
>   prinf ("setlocale failed\n");
> // .
> // .
> // .
>
>
> Off the top of my head...
>
> MAA
>
>

Thanks, Mark. I'm going to give that a shot in Python, a language that
I'd like to learn anyway.


-- 
Dotan Cohen

http://bido.com
http://what-is-what.com


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



Re: Monitoring UPS battery with SNMP

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 23:28:34 -0300, Daniel Bareiro wrote:

> Recently we acquired a UPS Liebert (Emerson) PS1440RT2-230 where I was
> investigating on the existence of some client for Debian GNU/Linux, but
> the unique one that I could find provided by Emerson requires of a X
> server.

You also have NUT (Network UPS Tools). Maybe your UPS unit works with 
this application :-?

> Since this host is a server, it would not be serving a graphical client.
> Due to this, I'm working in script that can get the state of the UPS
> battery using SNMP with snmpwalk.

Is a java app? If so, some manufacturers alongside the java based 
software, provides ncurses interface for UPS monitoring.

> From the web interface I could obtain in "Support-> Summary -> SNMP
> Capabilities -> Parameters" the OIDs corresponding to the estimated
> minutes remaining and the estimated charge remaining and both seem to
> work:
> 
> Estimated minutes remaining:
> 
> beta-new:~# snmpwalk 10.0.0.153 -c community -v1 1.3.6.1.2.1.33.1.2.3.0
> SNMPv2-SMI::mib-2.33.1.2.3.0 = INTEGER: 60
> 
> Estimated charge remaining:
> 
> beta-new:~# snmpwalk 10.0.0.153 -c community -v1 1.3.6.1.2.1.33.1.2.4.0
> SNMPv2-SMI::mib-2.33.1.2.4.0 = INTEGER: 100
> 
> 
> The problem with this is that also I would need to know some parameter
> that it indicates if the UPS is working on battery mode, because if I
> also do not verify this, after the restitution of the electrical
> provision, the host could doing a shutdown if the script makes the
> verification of battery autonomy and this not yet exceeded the
> determined limit.
> 
> Reading the RFC 1628 [1] (UPS Management Information Base), it could be
> done with upsSecondsOnBattery, although I don't see listing it in the
> OIDs of the web interface. Could also be done this with upsOutputSource
> (upsOutputSource not equal to 3)?

Liebert provides all the MIBs files for their UPS systems:

http://www.liebert.com/servicesupport_pages/servicesupport.aspx?x=intellislot_mibs

As per the doc, that value indicates:

***
   upsOutputSource OBJECT-TYPE
   SYNTAX INTEGER {
   other(1),
   none(2),
   normal(3),
   bypass(4),
   battery(5),
   booster(6),
   reducer(7)
   }
   MAX-ACCESS read-only
   STATUS current
   DESCRIPTION
   "The present source of output power.  The enumeration
   none(2) indicates that there is no source of output
   power (and therefore no output power), for example,
   the system has opened the output breaker."
   ::= { upsOutput 1 }
***

So a value of "3" indicates the units is providing power from AC. But 
note these are "output" values (from what source the UPS is providing 
power to devices) not "input" values (from what source the UPS unit is 
being powered).

> Perhaps although already there is some client (Debian package) which
> contemplates all these considerations and I'm trying to re-invent the
> wheel :-)

It's hard to get a pre-made aplication for this as many manufacturers use 
their own specs (without providing papers) for their UPS units/cables and 
only provide a closed application that may lack from several features.

Next time, before buying a UPS, check whether provides linux support "out-
of-the-box" as many APC-MGE UPS do >:-)

Greetings,

-- 
Camaleón


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



Re: Установка Debian н а x86_64

2010-05-05 Thread Oleg
On Thu, May 06, 2010 at 09:37:18AM +0400, Михаил wrote:
> Здравствуйте.

  Hi. You can use debian-russ...@lists.debian.org for russian speaking
  mailing list. This list use only english.

> В организации стоит сервер спроцессором Intel(R) Xeon(TM). ОС: Red Hat Ent. 
> Lic.5 x86_64.
> Требуется перевести его на Debian.
> Какой дистрибутив выбирать - x86 или AMD64? Какой из них установится на 
> сервак ?
> Спасибо.

  You can use ia64 debian for Xeon 64bit. i386 will work too.

  [ru]Используйте ia64 для 64 разрядного Xeon'а. Дистрибутив i386 тоже будет
  работать[/ru]


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



Kde 3.5 ...

2010-05-05 Thread Jorge Gonçalves
Hello!

First, thank you for the great distro that is Debian, one of the best.

I would like to suggest you some way so that the users keep on using
the good old KDE 3.5 when they migrate to the upcoming Lenny.

Maybe use dummy packages, or rename the packages so that KDE 3.5 could
remain installed, and not be forced to upgrade to Kde4.

I really feel sorry that KDE 3 series is no more being developed, and
when the day cames that I no longer will be able to use KDE 3, I will
switch to Apple or even Windows, but NEVER to kde4 or Gnome!
(and I feel many users out there think like me!!!)

Thank you, keep the good work, Debian is one of the best.
Jorge.


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



Re: network setup question

2010-05-05 Thread Kevin Ross

On 5/5/2010 9:11 PM, Alex Samad wrote:

On Wed, 2010-05-05 at 20:55 -0700, Kevin Ross wrote:
   

On 5/5/2010 6:06 PM, Miles Fidelman wrote:
 

[snip]

   

- I have two network /27 network blocks that are NOT contiguous - I
use one for each box

   

I'm not a networking expert, but this part seems wrong to me.  I don't
think you're supposed to have different subnet addresses on the same
broadcast domain.  If they both had the same subnet address, they would
then talk to each other over the switch and not touch the router.
 

Why do you think this, reason I ask is I had a rather long discussion
with a work college about this and I am wondering were this thinking
comes from.
   


Which part?  The part about different subnets on the same switch or 
hub?  If so, yes I guess there's nothing terribly wrong with doing that, 
other than causing extra traffic to the router between subnets when they 
could be talking directly to each other.


Or is it the part about the two computers talking directly to each other 
without the router if they are on the same subnet?  If so, I'm speaking 
strictly of TCP/IP over Ethernet.  Let's say you have a simple network 
with a router IP address of 192.168.1.1, host A with 192.168.1.2, and 
host B with 192.168.1.3.  All have a subnet mask of 255.255.255.0.


Since we are operating over Ethernet, the TCP/IP stack needs to 
determine the Ethernet address to which to send a packet.  If host A 
wants to send a packet to a host within the subnet, for example to 
192.168.1.3, then it will first send out an ARP request to get the 
Ethernet address of 192.168.1.3.  When it receives it, it will then send 
the packet over Ethernet to the address received via ARP, which will 
cause the packet to go straight to the receiving computer, not to the 
router (if using a switch not a hub).


If the destination IP address is outside of the subnet, then it asks ARP 
for the address of the router, and sends the packet over Ethernet to the 
router.



Another option is to change the subnet mask so that the mask then allows
 

careful you might loose connectivity  with the router.

   


I was only mentioning it as another possibility.  I don't think you will 
lose connectivity with the router, just with other hosts that the 
computer now thinks are in the same subnet, but really need to go 
through the router.  But if you know that you'll never want to talk to 
those hosts, then this is a viable option.




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

Archive: http://lists.debian.org/4be252bd.3080...@familyross.net



Re: adding 192.x with static IP

2010-05-05 Thread Zoran Kolic
> > > Indeed.  I was just trying to help, over the phone, a Windows user set
> > > up a new router, in the absence of a manual.  I told her "go to
> > > 192.168.0.1", then "192.168.1.1".  Nothing doing.  Finally, I searched
> > > online for the manual, which gave the address as "routerlogin.net" or
> > > something like that.  I still have no idea what the IP address is.
> > In my case, "routerlogin.net" gives me my router at 192.188.0.1.
> Thanks, but do you really mean 188, or 168?

192.168.x.x is known to not be available from the wild.
Good thing to have local network. Just as 10.x.x.x, if
you like it better. Setting IP as static helps if one
has server in local network.
The very problem may be the address of the router. As
default it takes something manufacturer thinks fits the
need the best. Linksys has 192.168.1.1. You may always
change it to your liking, just be aware to point all
nodes to that gateway/proxy. It will give you names re-
solution. It will also route all traffic in and out.
Best regards

  Zoran


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



Re: self adaptive apt source

2010-05-05 Thread T o n g
On Thu, 06 May 2010 06:09:21 +0200, godo wrote:

>> I came across an universal apt source site that will detect&  determine
>> the fastest mirror for each individual user. Now I forgot where to find
>> the info. Anyone can help?
>>
> I don't know web site, but maybe apt-spy and netselect-apt can help you.

Nope, there is an automatic self adaptive apt source mechanic in place 
for several months now. No need apt-spy and netselect-apt.

-- 
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
Archive: http://lists.debian.org/hrth6r$ub...@dough.gmane.org



Re: self adaptive apt source

2010-05-05 Thread godo

On 05/06/2010 05:20 AM, T o n g wrote:

Hi,

I came across an universal apt source site that will detect&  determine
the fastest mirror for each individual user. Now I forgot where to find
the info. Anyone can help?

Thanks


Hi,
I don't know web site, but maybe apt-spy and netselect-apt can help you.

--
Bye,
Goran Dobosevic
Hrvatski: www.dobosevic.com
 English: www.dobosevic.com/en/
Registered Linux User #503414


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

Archive: http://lists.debian.org/4be240f1.6090...@dobosevic.com



Re: network setup question

2010-05-05 Thread Alex Samad
On Wed, 2010-05-05 at 20:55 -0700, Kevin Ross wrote: 
> On 5/5/2010 6:06 PM, Miles Fidelman wrote:
[snip]

> > - I have two network /27 network blocks that are NOT contiguous - I 
> > use one for each box
> >
> 
> I'm not a networking expert, but this part seems wrong to me.  I don't 
> think you're supposed to have different subnet addresses on the same 
> broadcast domain.  If they both had the same subnet address, they would 
> then talk to each other over the switch and not touch the router.

Why do you think this, reason I ask is I had a rather long discussion
with a work college about this and I am wondering were this thinking
comes from.

> 

> Another option is to change the subnet mask so that the mask then allows 

careful you might loose connectivity  with the router.

> both computers to appear to be on the same subnet.  This will have the 
> side effect of making other computers that happen to fall within that 
> same subnet inaccessible, since the networking layer will think those 
> computers are on the same subnet and not attempt to go through the 
> router, even though they aren't, and going through the router is required.
> 
> I hope this makes sense.
> 
> -- Kevin
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1273119072.31600.8.ca...@alex-mini.samad.com.au



Re: How to schedule for a repeated task?

2010-05-05 Thread hadi motamedi
>
> Try adding:
>
> expect "% "
>
> or whatever the command prompt is, such as "$ " or "# " before sending the
> commands.
>
>
>
> Thank you for your reply. You were right . So I added the following :
>expect "->"
So it will wait for the system prompt . But still I cannot see any output
from result of issuing 'cmd1' on the remote node . Can you please give me
another hint?


Re: network setup question

2010-05-05 Thread Alex Samad
On Wed, 2010-05-05 at 21:06 -0400, Miles Fidelman wrote: 
> Not sure if this is the right list, sort of a general linux networking 
> question (pointers to a more appropriate list welcomed)
> 
> Setup:
> 
> - I have two servers in a datacenter, currently used for different things
> 
> - I have one gigE cable coming in from one of the datacenter's big 
> routers - that goes into a simple gigE switch - each box is plugged into 
> that switch
> 
> - I have two network /27 network blocks that are NOT contiguous - I use 
> one for each box
> 
> - as I understand the basic setup, any traffic from one of my boxes to 
> the other (one netblock to the other) end up going to the datacenter's 
> router and back (and the traffic gets accounted for in our bill)
> 
> Up to now, I haven't been routing any traffic between boxes, but I'm 
> getting ready to install some cluster software and I expect there to be 
> a lot of inter-box traffic.  So
> 
> I'm now looking for a way to have the inter-box traffic go directly 
> through the gigE switch, and not reach the datacenter's router.  Which 
> leaves me with some questions that are just a bit beyond my general 
> network setup knowledge:
> 
> 1. Yes, I have a cross-over cable plugged directly between the 2nd 
> ethernet card in each box.  I plan to dedicate that for disk mirroring 
> traffic; but I expect I'll end up with things running on one box that 
> need to talk to the other, that may go through the primary ethernet ports.
> 
> 2. Is there a way to use ARP and/or set up routing tables so that 
> inter-box traffic simply goes through the bridge?
> 
> 3. If not, is this something I can do with a simple Linksys switch/router?
> 
> Any guidance would be much appreciated.

if the 2 servers are in the same ethernet broadcast domain - just
because they are in the same switch doesn't mean they can talk directly
- they could be vlan'ed apart. 

Presuming they are then

for example
if server a has ip 192.168.11.10/24 on eth0  - belongs to
192.168.0/255.255.255.0 network
and server b has 10.0.0.254/24 on eth0 - belongs to
10.0.0.0/255.255.255.0



then what you can do is (iproute package is your friend)
on server A
ip r a 10.0.0.254/32 dev eth0 src 192.168.11.10

on server B
ip r a 192.168.11.20/32 dev eth0 serc 10.0.0.254

that should work for you.

you could add these to post-up instructions in /etc/network/interfaces
for eth0

Alex



> 
> Miles Fidelman
> 
> -- 
> In theory, there is no difference between theory and practice.
> In  practice, there is.    Yogi Berra
> 
> 
> 



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1273118314.31600.5.ca...@alex-mini.samad.com.au



Re: network setup question

2010-05-05 Thread Kevin Ross

On 5/5/2010 6:06 PM, Miles Fidelman wrote:
Not sure if this is the right list, sort of a general linux networking 
question (pointers to a more appropriate list welcomed)


Setup:

- I have two servers in a datacenter, currently used for different things

- I have one gigE cable coming in from one of the datacenter's big 
routers - that goes into a simple gigE switch - each box is plugged 
into that switch


- I have two network /27 network blocks that are NOT contiguous - I 
use one for each box




I'm not a networking expert, but this part seems wrong to me.  I don't 
think you're supposed to have different subnet addresses on the same 
broadcast domain.  If they both had the same subnet address, they would 
then talk to each other over the switch and not touch the router.


You should be able to get what you want by adding a second IP address to 
each machine, preferably something in the 192.168.x.x or 10.x.x.x range 
that doesn't conflict with anything else on the network.  Then when you 
access the other machine by the new IP address, since both machines 
would then have the same subnet address, it should just go over the 
switch and not the router.


Another option is to change the subnet mask so that the mask then allows 
both computers to appear to be on the same subnet.  This will have the 
side effect of making other computers that happen to fall within that 
same subnet inaccessible, since the networking layer will think those 
computers are on the same subnet and not attempt to go through the 
router, even though they aren't, and going through the router is required.


I hope this makes sense.

-- Kevin


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

Archive: http://lists.debian.org/4be23daa.5060...@familyross.net



Re: isn't sed s,x,x, one big no-op?

2010-05-05 Thread Teemu Likonen
* 2010-05-06 08:52 (+0800), jida...@jidanni.org wrote:

> In /etc/grub.d/00_header we see
>
>   transform="s,x,x,"
>   grub_prefix=`echo /boot/grub | sed ${transform}`
>   locale_dir=`echo /boot/grub/locale | sed ${transform}`
>
> Isn't that sed line one big no-op? Should I file a bug to have it
> removed or at least have a comment added as to its purpose, or have
> them use a better way to achieve what they are trying to do?

I'm sure it's for a purpose. If you file a bug I'd suggest a wish list
category and tone like "Please document the purpose of ..."

-- 
Feel free to Cc me your replies if you want to make sure I'll notice
them. I can't read all the list mail.


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



Re: Monitoring UPS battery with SNMP

2010-05-05 Thread Stan Hoeppner
Daniel Bareiro put forth on 5/5/2010 9:28 PM:

> Perhaps although already there is some client (Debian package) which
> contemplates all these considerations and I'm trying to re-invent the
> wheel :-)

Does the net module in the Liebert happen to support syslog?  If so, your
job may prove a bit easier.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4be23aac.8060...@hardwarefreak.com



Re: [OT] spam-tagging

2010-05-05 Thread Andrew Sackville-West
On Wed, May 05, 2010 at 04:05:58PM -0500, Boyd Stephen Smith Jr. wrote:
> SPAM deb...@list

lol

A


signature.asc
Description: Digital signature


Re: isn't sed s,x,x, one big no-op?

2010-05-05 Thread Andrew Sackville-West
On Thu, May 06, 2010 at 08:52:39AM +0800, jida...@jidanni.org wrote:
> In /etc/grub.d/00_header we see
> 
>   transform="s,x,x,"
>   grub_prefix=`echo /boot/grub | sed ${transform}`
>   locale_dir=`echo /boot/grub/locale | sed ${transform}`
> 
> Isn't that sed line one big no-op?

looks like it to me. 

> Should I file a bug to have it removed or at least have a comment added
> as to its purpose, or have them use a better way to achieve what they
> are trying to do?

maybe a question is better than a bug report. I imagine it's just a
convenience variable in case someone needs to transform paths for some
reason.

A


signature.asc
Description: Digital signature


self adaptive apt source

2010-05-05 Thread T o n g
Hi,

I came across an universal apt source site that will detect & determine 
the fastest mirror for each individual user. Now I forgot where to find 
the info. Anyone can help?

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
Archive: http://lists.debian.org/hrtci5$j5...@dough.gmane.org



Re: network setup question

2010-05-05 Thread Anand Sivaram
On Thu, May 6, 2010 at 06:36, Miles Fidelman wrote:

> Not sure if this is the right list, sort of a general linux networking
> question (pointers to a more appropriate list welcomed)
>
> Setup:
>
> - I have two servers in a datacenter, currently used for different things
>
> - I have one gigE cable coming in from one of the datacenter's big routers
> - that goes into a simple gigE switch - each box is plugged into that switch
>
> - I have two network /27 network blocks that are NOT contiguous - I use one
> for each box
>
> - as I understand the basic setup, any traffic from one of my boxes to the
> other (one netblock to the other) end up going to the datacenter's router
> and back (and the traffic gets accounted for in our bill)
>
> Up to now, I haven't been routing any traffic between boxes, but I'm
> getting ready to install some cluster software and I expect there to be a
> lot of inter-box traffic.  So
>
> I'm now looking for a way to have the inter-box traffic go directly through
> the gigE switch, and not reach the datacenter's router.  Which leaves me
> with some questions that are just a bit beyond my general network setup
> knowledge:
>
> 1. Yes, I have a cross-over cable plugged directly between the 2nd ethernet
> card in each box.  I plan to dedicate that for disk mirroring traffic; but I
> expect I'll end up with things running on one box that need to talk to the
> other, that may go through the primary ethernet ports.
>
> 2. Is there a way to use ARP and/or set up routing tables so that inter-box
> traffic simply goes through the bridge?
>
> 3. If not, is this something I can do with a simple Linksys switch/router?
>
> Any guidance would be much appreciated.
>
> Miles Fidelman
>
> --
> In theory, there is no difference between theory and practice.
> In  practice, there is.    Yogi Berra
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4be2162b.8050...@meetinghouse.net



Are you using static IP or using dhcp?  If you are using static, then you
could try your local netmask from 255.255.255.224 (/27) to 255.255.255.0
(/24) or so in such a way that it encompasses both networks.   I think this
is the simplest to start with.  If this has problem, you could always alter
the packet using iptables to send it though your second network connection.


Re: How to get Xen working on the latest Debian testing (squeeze)

2010-05-05 Thread Drew Paschal
Could someone provide me with the information to get the sid packages?  I
know it is a line you have to add to the /etc/sources.list file, but I am
not sure what the line should look like.  Also, if I get those in there,
which packages do I install and then do I just reboot and it gets loaded or
what?

On Wed, May 5, 2010 at 5:22 PM, Panayiotis Karabassis wrote:

> On 05/05/2010 08:20 PM, Drew Paschal wrote:
>
>> I have three machines with Squeeze installed and I would like to know a
>> step by step method for installing Xen.  I tried installing it on the stable
>> version, but for some reason, Xen was having trouble with my controller
>> (serveraid-7k).  Could someone post the steps?
>>
> If there is a way I would like to know it as well. I think for some reason
> xen has been postoponed and there are a few packages still missing from
> squeeze (xen-linux-system-*). I noticed they are in sid though.
>
> Regards,
>Panayiotis
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/4be1e1a9.3030...@gmail.com
>
>


Monitoring UPS battery with SNMP

2010-05-05 Thread Daniel Bareiro

Hi all!

Recently we acquired a UPS Liebert (Emerson) PS1440RT2-230 where I was
investigating on the existence of some client for Debian GNU/Linux, but
the unique one that I could find provided by Emerson requires of a X
server.

Since this host is a server, it would not be serving a graphical client.
Due to this, I'm working in script that can get the state of the UPS
battery using SNMP with snmpwalk.

From the web interface I could obtain in "Support-> Summary -> SNMP
Capabilities -> Parameters" the OIDs corresponding to the estimated
minutes remaining and the estimated charge remaining and both seem to
work:

Estimated minutes remaining:

beta-new:~# snmpwalk 10.0.0.153 -c community -v1 1.3.6.1.2.1.33.1.2.3.0
SNMPv2-SMI::mib-2.33.1.2.3.0 = INTEGER: 60

Estimated charge remaining:

beta-new:~# snmpwalk 10.0.0.153 -c community -v1 1.3.6.1.2.1.33.1.2.4.0
SNMPv2-SMI::mib-2.33.1.2.4.0 = INTEGER: 100


The problem with this is that also I would need to know some parameter
that it indicates if the UPS is working on battery mode, because if I
also do not verify this, after the restitution of the electrical
provision, the host could doing a shutdown if the script makes the
verification of battery autonomy and this not yet exceeded the
determined limit.

Reading the RFC 1628 [1] (UPS Management Information Base), it could be
done with upsSecondsOnBattery, although I don't see listing it in the
OIDs of the web interface. Could also be done this with upsOutputSource
(upsOutputSource not equal to 3)?

Perhaps although already there is some client (Debian package) which
contemplates all these considerations and I'm trying to re-invent the
wheel :-)

Thanks in advance for your reply.

Regards,
Daniel

[1] http://tools.ietf.org/html/rfc1628
-- 
Fingerprint: BFB3 08D6 B4D1 31B2 72B9  29CE 6696 BF1B 14E6 1D37
Powered by Debian GNU/Linux Lenny - Linux user #188.598


signature.asc
Description: Digital signature


network setup question

2010-05-05 Thread Miles Fidelman
Not sure if this is the right list, sort of a general linux networking 
question (pointers to a more appropriate list welcomed)


Setup:

- I have two servers in a datacenter, currently used for different things

- I have one gigE cable coming in from one of the datacenter's big 
routers - that goes into a simple gigE switch - each box is plugged into 
that switch


- I have two network /27 network blocks that are NOT contiguous - I use 
one for each box


- as I understand the basic setup, any traffic from one of my boxes to 
the other (one netblock to the other) end up going to the datacenter's 
router and back (and the traffic gets accounted for in our bill)


Up to now, I haven't been routing any traffic between boxes, but I'm 
getting ready to install some cluster software and I expect there to be 
a lot of inter-box traffic.  So


I'm now looking for a way to have the inter-box traffic go directly 
through the gigE switch, and not reach the datacenter's router.  Which 
leaves me with some questions that are just a bit beyond my general 
network setup knowledge:


1. Yes, I have a cross-over cable plugged directly between the 2nd 
ethernet card in each box.  I plan to dedicate that for disk mirroring 
traffic; but I expect I'll end up with things running on one box that 
need to talk to the other, that may go through the primary ethernet ports.


2. Is there a way to use ARP and/or set up routing tables so that 
inter-box traffic simply goes through the bridge?


3. If not, is this something I can do with a simple Linksys switch/router?

Any guidance would be much appreciated.

Miles Fidelman

--
In theory, there is no difference between theory and practice.
In  practice, there is.    Yogi Berra



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

Archive: http://lists.debian.org/4be2162b.8050...@meetinghouse.net



empathy does not log in accounts

2010-05-05 Thread Umarzuki Mochlis
version: 2.28.2 on squeeze
when i start empathy it does not log into my yahoo ans irc (freenode.net)
account
i tried disabling and re-enabling those account but that does not work

when i ran it from command line. i shows this message:
 IRQ's not enabled, falling back to busy waits: 2 0

what could have happened? It is okay before this.

-- 
Regards,

Umarzuki Mochlis
http://debmal.my


isn't sed s,x,x, one big no-op?

2010-05-05 Thread jidanni
In /etc/grub.d/00_header we see

  transform="s,x,x,"
  grub_prefix=`echo /boot/grub | sed ${transform}`
  locale_dir=`echo /boot/grub/locale | sed ${transform}`

Isn't that sed line one big no-op?
Should I file a bug to have it removed or at least have a comment added
as to its purpose, or have them use a better way to achieve what they
are trying to do?


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



Re: More acroread printing problems

2010-05-05 Thread John A. Sullivan III
On Thu, 2010-05-06 at 01:57 +0200, deloptes wrote:
> John A. Sullivan III wrote:
> 
> > On Wed, 2010-05-05 at 16:41 -0400, John A. Sullivan III wrote:
> >> Hello, all.  With the appreciate help from this list, we finally learned
> >> we needed to install Acrobat Reader version 9.3.2 from unstable into our
> >> Lenny systems in order for Acrobat to see our CUPS printers.  However we
> >> are still having problems printing anything other than letter size jobs.
> >> It looks like acroread is creating an lpr command using the -o
> >> PageRegion and setting that option incorrectly.  For example, in one
> >> case we saw -o PageSize=11x17 -p PageRegion=Letter which printed the
> >> 11x17 print job on letter sized paper.  On a plotter we saw -o
> >> PageSize=24x36 -p PageRegion=A4 which resulted in the plotter rejecting
> 
> you have to use sizes supported by the plotter, no?
Yes, exactly.  We told acroread that the page size was 24x36 - a
supported size.  It sent an A4 size print job.
> 
> >> the job as an invalid page size.  Bypassing the Acroread print command
> >> by using a Custom printer and sending the job to KPrinter works so this
> >> seems to be a clear bug in how Acrobat is reading the PPD file and
> >> creating the print command.
> 
> KPrinter or gnome printer have their own rendering engines to translate to
> printer language (as far as I know).
> 
> >> 
> >> Has anyone else encountered this problem? Is there a workaround? If not,
> >> I suppose I'll need to figure out how one reports bugs for acroread to
> >> Adobe.  Thanks - John
> 
> I had a lot of headache years ago. We finally upgraded the firmmemory on one
> of the printers that was printing junk in certain cases. It took about 2
> weeks to find out and a lot of paper. Luckily we had 3 from the same model
> and we noticed on the other 2 one and the same document was printed fine
> but on the 3rd one it was failing. That much on commercial software...
> 
I don't think this is a printer issue as it breaks on each of the
several printers we tried and, when it did not break, it was still
sending the wrong paper size.
> >> 
> >> 
> > Oops! typing a little too fast.  That's appreciated help and the
> > PageRegion is preceded by -o and not -p - John
> 
> I'm not sure that the AcroReader on the client knows the PPD on the server.
> Did you install on both the same ppd? I'm also not sure that it is using it
> at all to create the printable. I think it's the cups server that can not
> prepare the printable for the printer.
Apparently it does read the PPD.  In fact, we had problems with default
paper sizes.  We had set the default paper sizes via KDE but acroread
was ignoring them.  We needed to edit the actual /etc/cups/ppd/ files to
set the defaults before acroread would use them.
> 
> You can try using the ppds from the plotters manufacturer. This was very
> useful approach in many cases.
We are.
> 
> Also I would try printing the same document from Adobe on Windows or Mac.
> 
> regards
Thanks - John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1273105531.19539.84.ca...@family.pacifera.com



Suggestion/Question for the approx apt(itutde) proxy daemon

2010-05-05 Thread Rick Thomas

Hi Eric,

I just started using approx.  I'm really impressed.  It's a great  
piece of work.  Thanks!


Here's a question:  Is it permissible/possible to have two (or more)  
different mirrors listed as servers for the same set of archives?


for example, my approx server's approx.conf file has
security http://security.debian.org/
volatile http://volatile.debian.org/debian-volatile/
debian http://ftp.us.debian.org/debian/

but the University has a fast Internet2 link so I'd like to use that  
to connect when I can.  e.g. I'd like to add

debian http://debian.cs.binghamton.edu/debian/
debian http://debian.lcs.mit.edu/debian/

before the one for ftp.us.d.o and have those be used by preference  
unless our link to I2 is down, in which case have it switch over to  
the more generic ftp.us .


Is this possible now?  Could it be added as a feature in a future  
release?



Thanks!

Rick


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

Archive: 
http://lists.debian.org/f6adaba9-636b-4d51-878c-a8dd8ec73...@cs.rutgers.edu



Re: More acroread printing problems

2010-05-05 Thread deloptes
John A. Sullivan III wrote:

> On Wed, 2010-05-05 at 16:41 -0400, John A. Sullivan III wrote:
>> Hello, all.  With the appreciate help from this list, we finally learned
>> we needed to install Acrobat Reader version 9.3.2 from unstable into our
>> Lenny systems in order for Acrobat to see our CUPS printers.  However we
>> are still having problems printing anything other than letter size jobs.
>> It looks like acroread is creating an lpr command using the -o
>> PageRegion and setting that option incorrectly.  For example, in one
>> case we saw -o PageSize=11x17 -p PageRegion=Letter which printed the
>> 11x17 print job on letter sized paper.  On a plotter we saw -o
>> PageSize=24x36 -p PageRegion=A4 which resulted in the plotter rejecting

you have to use sizes supported by the plotter, no?

>> the job as an invalid page size.  Bypassing the Acroread print command
>> by using a Custom printer and sending the job to KPrinter works so this
>> seems to be a clear bug in how Acrobat is reading the PPD file and
>> creating the print command.

KPrinter or gnome printer have their own rendering engines to translate to
printer language (as far as I know).

>> 
>> Has anyone else encountered this problem? Is there a workaround? If not,
>> I suppose I'll need to figure out how one reports bugs for acroread to
>> Adobe.  Thanks - John

I had a lot of headache years ago. We finally upgraded the firmmemory on one
of the printers that was printing junk in certain cases. It took about 2
weeks to find out and a lot of paper. Luckily we had 3 from the same model
and we noticed on the other 2 one and the same document was printed fine
but on the 3rd one it was failing. That much on commercial software...

>> 
>> 
> Oops! typing a little too fast.  That's appreciated help and the
> PageRegion is preceded by -o and not -p - John

I'm not sure that the AcroReader on the client knows the PPD on the server.
Did you install on both the same ppd? I'm also not sure that it is using it
at all to create the printable. I think it's the cups server that can not
prepare the printable for the printer.

You can try using the ppds from the plotters manufacturer. This was very
useful approach in many cases.

Also I would try printing the same document from Adobe on Windows or Mac.

regards




-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hrt0ls$lt...@dough.gmane.org



RE: How to schedule for a repeated task?

2010-05-05 Thread deloptes
Kevin Ross wrote:

> When I try for this procedure , I just see loging in and loging out from
> the telnet session . Actually , I need to have the output result of
> issuing 'command1' on the remote node to be captured on my local host .
> But when I try manually , say telnet to it and issue the command , I see
> the output on my screen . Please help me how to modify my simple code to
> have the desired result?
> Thank you
> __
> 
> It doesn't require a username or password?
> 

why not try a perl or python script?
you can use them either to call telnet or use the telnet modules.
I guess there are also ready to use samples.
ie. http://www.perlfect.com/articles/telnet.shtml

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hrsui6$f7...@dough.gmane.org



Re: How to get Xen working on the latest Debian testing (squeeze)

2010-05-05 Thread Panayiotis Karabassis

On 05/05/2010 08:20 PM, Drew Paschal wrote:
I have three machines with Squeeze installed and I would like to know 
a step by step method for installing Xen.  I tried installing it on 
the stable version, but for some reason, Xen was having trouble with 
my controller (serveraid-7k).  Could someone post the steps?
If there is a way I would like to know it as well. I think for some 
reason xen has been postoponed and there are a few packages still 
missing from squeeze (xen-linux-system-*). I noticed they are in sid though.


Regards,
Panayiotis


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

Archive: http://lists.debian.org/4be1e1a9.3030...@gmail.com



RE: Memory footprint of a mail server

2010-05-05 Thread Kevin Ross
> So, is there anyone with an idea on how improve memory efficiency here?

I used to use spamassassin, but now I outsource my spam and virus filtering.
Services like mailfoundry and postini do excellent work, they spend all
their waking hours trying to improve spam filtering accuracy.  I personally
get better results using postini than I did with spamassassin.  At only $1
per month per mailbox, it's quite reasonably priced.  And now I have memory
to spare on my 256MB VPS.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/025001caec99$03806ce0$0a8146...@net



Re: debian lenny support time

2010-05-05 Thread Andrei Popescu
On Wed,28.Apr.10, 15:38:37, Israel Garcia wrote:
> Hi,
> Do you know the support time for debian lenny?

Regarding the security support you got two different answers which are 
both true ;)

,[ http://www.debian.org/security/faq#lifespan ]
| Q: How long will security updates be provided?
|
| A: The security team tries to support a stable distribution for about 
| one year after the next stable distribution has been released, except 
| when another stable distribution is released within this year. It is not 
| possible to support three distributions; supporting two simultaneously 
| is already difficult enough. 
`

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


signature.asc
Description: Digital signature


Re: [OT] spam-tagging

2010-05-05 Thread Nuno Magalhães
On Wed, May 5, 2010 at 22:10, Andrei Popescu  wrote:
> See
> http://wiki.debian.org/Teams/ListMaster/ListArchiveSpam#MethodstoNominateSpamfortheReview-Process

Seems complisimple, i'll fiddle with it, thanks.

> P.S. Why do think this is off-topic?

It's not about GNU/Linux Debian, more like meta dunno.

Regards,
Nuno Magalhães

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


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



Re: [OT] spam-tagging

2010-05-05 Thread Nuno Magalhães
On Wed, May 5, 2010 at 22:08, Kevin Ross  wrote:

> What good would that do?  Everyone on the list will have already received the 
> spam.

Assuming the list manager handles multiple lists, which i think it
does, it'll prevent that particular message from being send to other
lists. If there are über filters processing IPs and what not, it'll
speed up the process of submitting those to blacklist maintainers.

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


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



Re: [OT] spam-tagging

2010-05-05 Thread Celejar
On Wed, 5 May 2010 21:52:08 +0100
Nuno Magalhães  wrote:

> Hi,
> 
> An idea that just came to me... With all the (small amounts of,
> granted,) spam that has been coming through the list, would there be a
> feasible way for uses to reply to spam-messages to the list with some
> sort of tag, so that those would be tagged as spam asap? I.e. one
> receives spam, one replies to it (to the list) with a string like
> "SPAM deb...@list" or whatever, and after a few hits of those the
> mailer or whatever would tag that message as spam.
> 
> It would probably take some load of the maintainers' back and give the
> spamed a warm comfy feeling.

Bounce to report-lists...@lists.debian.org ?

http://www.debian.org/MailingLists/#ads

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: [OT] spam-tagging

2010-05-05 Thread Andrei Popescu
On Wed,05.May.10, 21:52:08, Nuno Magalhães wrote:
> Hi,
> 
> An idea that just came to me... With all the (small amounts of,
> granted,) spam that has been coming through the list, would there be a
> feasible way for uses to reply to spam-messages to the list with some
> sort of tag, so that those would be tagged as spam asap? I.e. one
> receives spam, one replies to it (to the list) with a string like
> "SPAM deb...@list" or whatever, and after a few hits of those the
> mailer or whatever would tag that message as spam.

See 
http://wiki.debian.org/Teams/ListMaster/ListArchiveSpam#MethodstoNominateSpamfortheReview-Process

Regards,
Andrei
P.S. Why do think this is off-topic?
-- 
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic


signature.asc
Description: Digital signature


RE: [OT] spam-tagging

2010-05-05 Thread Kevin Ross
> From: Nuno Magalhães [mailto:nunomagalh...@eu.ipp.pt]
> Sent: Wednesday, May 05, 2010 1:52 PM
> 
> Hi,
> 
> An idea that just came to me... With all the (small amounts of,
> granted,) spam that has been coming through the list, would there be a
> feasible way for uses to reply to spam-messages to the list with some
> sort of tag, so that those would be tagged as spam asap? I.e. one
> receives spam, one replies to it (to the list) with a string like
> "SPAM deb...@list" or whatever, and after a few hits of those the
> mailer or whatever would tag that message as spam.
> 
> It would probably take some load of the maintainers' back and give the
> spamed a warm comfy feeling.
> 
> /* ducks for cover */

What good would that do?  Everyone on the list will have already received the 
spam.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/024301caec97$171f3b20$455db1...@net



Re: [OT] spam-tagging

2010-05-05 Thread Preston Boyington

BWAHAHAHAHAHAHAHAHAHAHAHAHAHA!

Boyd Stephen Smith Jr. wrote:

SPAM deb...@list





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

Archive: http://lists.debian.org/4be1dde2.7020...@gmail.com



Re: [OT] spam-tagging

2010-05-05 Thread Boyd Stephen Smith Jr.
SPAM deb...@list


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



[OT] spam-tagging

2010-05-05 Thread Nuno Magalhães
Hi,

An idea that just came to me... With all the (small amounts of,
granted,) spam that has been coming through the list, would there be a
feasible way for uses to reply to spam-messages to the list with some
sort of tag, so that those would be tagged as spam asap? I.e. one
receives spam, one replies to it (to the list) with a string like
"SPAM deb...@list" or whatever, and after a few hits of those the
mailer or whatever would tag that message as spam.

It would probably take some load of the maintainers' back and give the
spamed a warm comfy feeling.

/* ducks for cover */

-- 
()  ascii-rubanda kampajno - kontraŭ html-a retpoŝto
/\  ascii ribbon campaign - against html e-mail


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



NESTE SABADO TEM QUILOMBO HIP-HOP PARTY

2010-05-05 Thread Informativo - Bocada Forte
QUILOMBO HIP-HOP PARTY APRESENTA: 
Shows com: 
Criolo Doido 
Arnaldo Tifu 
Rashid 
Ogi 
Nathy MC 
Rappin´Hood 
DJs: MF, King e Kefing 
VJs: Rodrigo Ovelha e Duenssa 
No lounge: 
Graffiti com Markone Tattoograff 
Freestyle com Afrikan Kids 
B.Boys da Tsuname Allstars + B.Girls 
• Continuamos as gravações do Documentário "Hip-Hop Minha Vida" 
Entrada: 
Masculino - $15 (com flyer, $12) 
Feminino - $10 (free até a meia-noite)

Local: Hole Club

Endereço: Rua Augusta, 2203 - Centro - Metrô Consolação

Cidade/Estado: São Paulo/ SP

Informações do Local: 
(11) 7892-0249 / ID 9*14295 
cont...@quilombohiphop.com.br 
guilhe...@djking.com.br 
www.quilombohiphop.com.br



Re: More acroread printing problems

2010-05-05 Thread John A. Sullivan III
On Wed, 2010-05-05 at 16:41 -0400, John A. Sullivan III wrote:
> Hello, all.  With the appreciate help from this list, we finally learned
> we needed to install Acrobat Reader version 9.3.2 from unstable into our
> Lenny systems in order for Acrobat to see our CUPS printers.  However we
> are still having problems printing anything other than letter size jobs.
> It looks like acroread is creating an lpr command using the -o
> PageRegion and setting that option incorrectly.  For example, in one
> case we saw -o PageSize=11x17 -p PageRegion=Letter which printed the
> 11x17 print job on letter sized paper.  On a plotter we saw -o
> PageSize=24x36 -p PageRegion=A4 which resulted in the plotter rejecting
> the job as an invalid page size.  Bypassing the Acroread print command
> by using a Custom printer and sending the job to KPrinter works so this
> seems to be a clear bug in how Acrobat is reading the PPD file and
> creating the print command.
> 
> Has anyone else encountered this problem? Is there a workaround? If not,
> I suppose I'll need to figure out how one reports bugs for acroread to
> Adobe.  Thanks - John
> 
> 
Oops! typing a little too fast.  That's appreciated help and the
PageRegion is preceded by -o and not -p - John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1273092412.19539.77.ca...@family.pacifera.com



More acroread printing problems

2010-05-05 Thread John A. Sullivan III
Hello, all.  With the appreciate help from this list, we finally learned
we needed to install Acrobat Reader version 9.3.2 from unstable into our
Lenny systems in order for Acrobat to see our CUPS printers.  However we
are still having problems printing anything other than letter size jobs.
It looks like acroread is creating an lpr command using the -o
PageRegion and setting that option incorrectly.  For example, in one
case we saw -o PageSize=11x17 -p PageRegion=Letter which printed the
11x17 print job on letter sized paper.  On a plotter we saw -o
PageSize=24x36 -p PageRegion=A4 which resulted in the plotter rejecting
the job as an invalid page size.  Bypassing the Acroread print command
by using a Custom printer and sending the job to KPrinter works so this
seems to be a clear bug in how Acrobat is reading the PPD file and
creating the print command.

Has anyone else encountered this problem? Is there a workaround? If not,
I suppose I'll need to figure out how one reports bugs for acroread to
Adobe.  Thanks - John


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/1273092061.19539.74.ca...@family.pacifera.com



Re: 64-bit netbooks with Debian linux

2010-05-05 Thread Mark Allums

On 5/5/2010 8:49 AM, Camaleón wrote:

BTW, my Shuttle box has also a ram limitation of 2 GiB (and currently
using only 1 GiB) but has installed "amd64". It runs fine, without
noticeable drawbacks.



A concern was "future-proofing".  More than one GB is not needed now. 
What about later?







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

Archive: http://lists.debian.org/4be1d665.8010...@allums.com



Re: GRUB2 resolution

2010-05-05 Thread Drew Paschal
This worked PERFECTLY.  My steps:

vim /etc/default/grub

I uncommented the GRUB_GFXMODE= line and changed it to:
GRUB_GFXMODE=1280x1024

Under that, I added the line:

GRUB_GFXPAYLOAD_LINUX=1280x1024

I then saved and exited.

I  then ran update-grub and rebooted.  Works great.  Thank you!

On Wed, May 5, 2010 at 3:03 PM, Tom H  wrote:

> On Wed, May 5, 2010 at 2:36 PM, Paul E Condon 
> wrote:
> > On 20100505_131841, Drew Paschal wrote:
> >> I have looked around on google and found some documentation to set the
> >> resolution within grub2 but some of the explanations are a bit vague.
>  Can
> >> someone post a clear and concise way of doing this?  When I tried the
> ones I
> >> found on google, I managed to make the box not boot anymore.
> >
> > Look in /etc/default/grub. Replace the line:
> > #GRUB_GFXMODE=640x480
> > with one the suits your fancy. And remove the # at the beginning.
>
> Also
> GRUB_GFXPAYLOAD_LINUX=
>
>
> --
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmas...@lists.debian.org
> Archive:
> http://lists.debian.org/j2m6d4219cc1005051203xad4deef8j8cc993253febf...@mail.gmail.com
>
>


Data Modeling Tool

2010-05-05 Thread Roman Gelfand
Can somebody recommend a data modeling tool or db case tool for debian?

Thanks in advance


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



Re: GRUB2 resolution

2010-05-05 Thread Tom H
On Wed, May 5, 2010 at 2:36 PM, Paul E Condon  wrote:
> On 20100505_131841, Drew Paschal wrote:
>> I have looked around on google and found some documentation to set the
>> resolution within grub2 but some of the explanations are a bit vague.  Can
>> someone post a clear and concise way of doing this?  When I tried the ones I
>> found on google, I managed to make the box not boot anymore.
>
> Look in /etc/default/grub. Replace the line:
> #GRUB_GFXMODE=640x480
> with one the suits your fancy. And remove the # at the beginning.

Also
GRUB_GFXPAYLOAD_LINUX=


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



Re: GRUB2 resolution

2010-05-05 Thread Paul E Condon
On 20100505_131841, Drew Paschal wrote:
> I have looked around on google and found some documentation to set the
> resolution within grub2 but some of the explanations are a bit vague.  Can
> someone post a clear and concise way of doing this?  When I tried the ones I
> found on google, I managed to make the box not boot anymore.

Look in /etc/default/grub. Replace the line:
#GRUB_GFXMODE=640x480
with one the suits your fancy. And remove the # at the beginning.

Also note the other variables that are set here for future
reference.

-- 
Paul E Condon   
pecon...@mesanetworks.net


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100505183617.gc15...@big.lan.gnu



RE: How to schedule for a repeated task?

2010-05-05 Thread Kevin Ross
Please find below my simple expect telnet script :
/usr/bin/expect
>set name 172.16.17.160
>spawn telnet $name
>set cmd1 command1
>set cmd2 logout
>send "$cmd1"
>send "$cmd2"
>exit
When I try for this procedure , I just see loging in and loging out from the
telnet session . Actually , I need to have the output result of issuing
'command1' on the remote node to be captured on my local host . But when I
try manually , say telnet to it and issue the command , I see the output on
my screen . Please help me how to modify my simple code to have the desired
result?
Thank you
__

It doesn't require a username or password?

I'm guessing it's sending the first command "command1" too soon, before the
command prompt appears, so the other end doesn't see it.  It only sees the
logout command.

Try adding:

expect "% "

or whatever the command prompt is, such as "$ " or "# " before sending the
commands.



-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/023d01caec81$1393a560$3abaf0...@net



Re: How to schedule for a repeated task?

2010-05-05 Thread d . sastre . medina
Hello,

If issuing the commands manually produces the desired output, you
could try autoexpect¹ and edit the output of running an autoexpect
session to your liking. There is a manual page too².

Hope it helps. Regards.

¹http://expect.nist.gov/example/autoexpect
²http://expect.nist.gov/example/autoexpect.man.html

-- 
Huella de clave primaria: 0FDA C36F F110 54F4 D42B  D0EB 617D 396C 448B 31EB


pgp0pjvuZiGkp.pgp
Description: PGP signature


Re: Console freezes when I try to access the NFS mounted directory under Debian and Ubuntu

2010-05-05 Thread Matthew Moore
On Wednesday 05 May 2010 8:52:45 am Octavian Rasnita wrote:
> I have a FreeBSD 7.2-RELEASE-p6 FreeBSD 7.2-RELEASE-p6 #0: Wed Jan  6
> 00:43:01 UTC 2010 that works as an NFS server, with the following line in
> /etc/exports:
[...]
> Both these servers mount the local /srv/data directory to the one exported
> by the server that uses FreeBSD using NFS I use the following line in
> /etc/fstab (where 10.50.28.90 is the IP of the server that runs the NFS
> server):
> 
> 10.50.28.90:/mnt/opt/ebroker /srv/data nfs rw,sync 0 0
> 
> Right after I reboot any of these 2 servers, the /srv/data directory is
> mounted correctly and I can access the files and directories under it, but
> after a certain period of time (that can be minutes, hours or even days),
> the console freezes if I use the command:
> 
> $ cd /srv/data
> or
> $ ls -l /srv/data
> 
> ...and I can't even break it with Ctrl+C.
> The single workaround (for a while) is to reboot the NFS client machine,
> which is not an acceptable solution.
> 
> I have tried to add the "hard" and "intr" options in the line from
> /etc/fstab that mounts /srv/data, hoping that at least I will be able to
> break that frozen directory with Ctrl+C, but nothing changed.
[...]

I may be experiencing a similar issue. On the clients, does dmesg say things 
like 

nfs: server  not responding, still trying
nfs: server  OK

I have been troubleshooting this for the better part of a week and have gotten 
nowhere. Changing all of the mounts to use nfs4 seems to fix the problem, but I 
have to use nfs3 for one of the mounts (otherwise I get into ID mapping hell).

There is an open bug in (I think) nfs-kernel-server that describes similar 
symptoms, but offers no solution.

Is anyone else experiencing this?

MM


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



How to get Xen working on the latest Debian testing (squeeze)

2010-05-05 Thread Drew Paschal
I have three machines with Squeeze installed and I would like to know a step
by step method for installing Xen.  I tried installing it on the stable
version, but for some reason, Xen was having trouble with my controller
(serveraid-7k).  Could someone post the steps?


Re: 64-bit netbooks with Debian linux

2010-05-05 Thread Dirk Neumann
On Wed, 05 May 2010 08:56:48 -0500
Ron Johnson  wrote:

> >
> 
> The question, though, is: "What -- beyond geekness -- is the 
> *benefit* of amd64 in 'low' RAM systems?"

I did some tests with my most used apps (gcc, tar, bzip2...) about 2 and
a half year ago with i386 and amd64-kernels. Nearly the same behavior,
with one exception: I/O (disk and console) is much faster on amd64, but
I don't know why...
If anyone is interested in details, I can search the results of this
tests runs.

Dirk.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100505191918.b11bc4ac.neu...@yahoo.de



GRUB2 resolution

2010-05-05 Thread Drew Paschal
I have looked around on google and found some documentation to set the
resolution within grub2 but some of the explanations are a bit vague.  Can
someone post a clear and concise way of doing this?  When I tried the ones I
found on google, I managed to make the box not boot anymore.


Has Iceweasel adopted Chrome's icons?

2010-05-05 Thread Patrick Wiseman
The icons in my 3.5.9 Iceweasel look suspiciously like Google Chrome's
icons.  Is this just change for its own sake, or was there some reason
to do that?

Patrick


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



Re: sh command issue

2010-05-05 Thread Jon Dowland
On 30/04/10 19:34, Gary wrote:
> system("g++ $files $incl $libs 2>build.log&");

Note this is risky: the system call will return as soon as the g++
process is invoked, rather than when it completes - the trailing '&'
should be removed.  Also, any stdout output will still hit your console
(although I presume, since things appear to be working, that there isn't
any/much stdout output)



signature.asc
Description: OpenPGP digital signature


Re: Memory footprint of a mail server

2010-05-05 Thread Boyd Stephen Smith Jr.
On Tuesday 04 May 2010 23:51:24 Thomas Goirand wrote:
> Hi,
> 
> Back when we were running Sarge, we were able to run clamav,
> spamassassin and amavis, together with apache, mysql and an ftp server,
> in just 200MB RAM and same as swap.
> 
> Today, running Lenny, top shows us some crazy results:
> 
> clamav: 156 MB
> amavisd-new: 80 MB per process (running 3 processes is the minimum)
> spamd: 105 MB per process (same remark)

Is that virtual or resident?  While virtual memory usage can be important, 
resident memory is a better initial measuring stick.

For my two-VPS system, I have:
vps1:
exim4 -- 83M virt; 344K resident (listener; always around)
exim4 -- 83M virt; 1.7M resident (worker; not always around)
exim4 -- 83M virt; 1.7M resident (worker; not always around)
spamd -- 101M virt; 4M resident

vps2:
exim4 -- 42M virt; 124K resident
clamd -- 280M virt; 159M resident
clamd -- 280M virt; 159M resident
freshclam -- 42M virt; 124K resident

You can guess why I moved clamAV to a separate system.  Upstream is fine with 
the memory footprint, so I don't expect it to go down.  Very hard to fit with 
any other services on a 256M VPS.  Also, clamAV's memory usage tends to spike 
at just the wrong times, so I do recommend isolating it.

Technically, the exim on vps2 doesn't participate in providing mail services.  
It's exim handles local delivery, doesn't listen on non-loopback interfaces, 
and, and uses vps1 (over a "private" network) as a smarthost for all non-local 
delivery.

Virtual memory usage isn't a good measure by itself since virtual memory pages 
can be a) shared (but top/htop charges each process with all pages) and b) 
file-backed and never accessed.  For example, when a shared library is loaded, 
the whole .so is mapped into memory.  However, only the pages that are 
actually read by the program are read from disk and copied into RAM.

If the program loads a large library but only uses a couple of functions in 
it, the virtual memory usage of that program will greatly increase but the 
shared memory usage of that program will only increase slightly and the 
resident memory usage of that program won't change.[1]

> That makes the total amount of RAM needed to run these 3 up to something
> like 700 MB, which makes it a hard fit for smaller end VPSes.

Virtual memory usage can't simply be added like that, because part of virtual 
memory usage includes shared pages.

exim4+clamav+spamd is not confortable on a 256M vps, mainly because clamd is a 
memory "hog".  I've split them between 2 256M vpses, and it has been working 
well.  I imagine a 512M VPS could also handle it without trouble.  ClamAV is 
the biggest problem, I've seen its resident memory size exceed 250M during 
scans.

> Is there a way to improve perl apps memory footprint, so it's not a dog,
> in a more global way on the server?

Taking a lot of virtual memory means nothing.  Virtual memory addresses are 
not necessarily backed by either RAM or swap on Linux.  The resident memory of 
perl applications really shouldn't be much more (if any) than the equivalent 
C++ program using boost or the STL.

[C programs are probably a little bit of a win here, if you don't re-implement 
the garbage collection and dynamic typing of Perl.]

> Has anyone tried clamsmtp and how much RAM does
> it take (we would remove amavisd-new totally)?

If the goal is to get rid of amavisd-new, exim4-daemon-heavy has built-in 
support for virus scanning through clamav.

> How about the integration of dspam and
> clamsmtp in Debian?

I'm not sure why you need either of these programs.  exim4-daemon-heavy 
already contains support for interfacing with a number of spam/virus detection 
daemons that run on the same or different systems.
-- 
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: Automated Installation - Copy files from CD?

2010-05-05 Thread John Hasler
Tim writes:
> I need to modify a product based on Debian.

What product?

> Since this product does not contain the proper driver for some of my
> hardware,

What driver?  What hardware?
-- 
John Hasler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87sk66za66@thumper.dhh.gt.org



Console freezes when I try to access the NFS mounted directory under Debian and Ubuntu

2010-05-05 Thread Octavian Rasnita
Hello,

I have a FreeBSD 7.2-RELEASE-p6 FreeBSD 7.2-RELEASE-p6 #0: Wed Jan  6 00:43:01 
UTC 2010 
that works as an NFS server, with the following line in /etc/exports:

/mnt/opt/ebroker/ -alldirs -maproot=root -network 10.50.28.0 -mask 255.255.255.0

(There are more lines in /etc/exports, but this is the one that doesn't work.)

And I have 2 other servers, one that runs under 
Ubuntu: Linux 2.6.28-11-server #42-Ubuntu SMP Fri Apr 17 02:45:36 UTC 2009 
x86_64 GNU/Linux 
and the other one under
Debian: Linux 2.6.26-2-amd64 #1 SMP Tue Mar 9 22:29:32 UTC 2010 x86_64 
GNU/Linux 

Both these servers mount the local /srv/data directory to the one exported by 
the server that uses FreeBSD using NFS
I use the following line in /etc/fstab (where 10.50.28.90 is the IP of the 
server that runs the NFS server):

10.50.28.90:/mnt/opt/ebroker /srv/data nfs rw,sync 0 0

Right after I reboot any of these 2 servers, the /srv/data directory is mounted 
correctly and I can access the files and directories under it, but after a 
certain period of time (that can be minutes, hours or even days), the console 
freezes if I use the command:

$ cd /srv/data
or
$ ls -l /srv/data

...and I can't even break it with Ctrl+C.
The single workaround (for a while) is to reboot the NFS client machine, which 
is not an acceptable solution.

I have tried to add the "hard" and "intr" options in the line from /etc/fstab 
that mounts /srv/data, hoping that at least I will be able to break that frozen 
directory with Ctrl+C, but nothing changed.

It is strange that this issue happens only with the 2 computers that run under 
Ubuntu and Debian, but not with other computers that mount other directories 
from that NFS server that runs FreeBSD (They use Fedora and CentOS).

I have searched on the net for this, but I couldn't find anything helpful.

Please tell me if you have any idea what could be the problem or if you have 
some suggestions for this issue.

Thank you.

Octavian


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



Re: 64-bit netbooks with Debian linux

2010-05-05 Thread Stan Hoeppner
Ron Johnson put forth on 5/5/2010 8:56 AM:
> On 05/05/2010 08:49 AM, Camaleón wrote:
>> On Wed, 05 May 2010 09:42:03 +1000, Alex Samad wrote:
>>
>>> right tools for the job, I never ever thought about putting 64bit os on
>>> my netbook - it physically limited to 2G of memory
>>
>> 64-bits kernels are not only intended for systems with tons of ram. Those
>> kernels usually have enabled the "nx bit" and AFAIK, only 32 bits PAE
>> kernels enable such feature.
>>
>> BTW, my Shuttle box has also a ram limitation of 2 GiB (and currently
>> using only 1 GiB) but has installed "amd64". It runs fine, without
>> noticeable drawbacks.
>>
> 
> The question, though, is: "What -- beyond geekness -- is the *benefit*
> of amd64 in 'low' RAM systems?"

Very little, if any, benefit for the vast majority of apps.  Cache use is
more efficient with 32bit kernel and app binaries due to smaller code,
pointer, and data size.  x86-64 binaries double the width and number of
GPRs, so you get more efficient in-core code execution, though cache
performance takes a hit, opposite of the 32bit case.  For the vast majority
of day-day applications such as web and mail the user won't notice a
difference.  That said...

I happen to be resizing (downsizing, for web page use) about 150 digital
camera .jpg files of ~3000 x ~2000 pixel dimension on a 32bit system using
ImageMagick.  I can only assume that the 64bit version of this binary would
run more than a bit faster than the 32bit version.  The system isn't x86-64
capable so I can't do a comparison.  Image manipulation is one area where
x86-64 binaries would definitely have an advantage over i386 (i686)
binaries.  Gimp would definitely perform better in many operations with
x86-64.  PDF readers would also probably run a bit faster.

-- 
Stan


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4be180cd.6040...@hardwarefreak.com



Re: 64-bit netbooks with Debian linux

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 08:56:48 -0500, Ron Johnson wrote:

> On 05/05/2010 08:49 AM, Camaleón wrote:
>> On Wed, 05 May 2010 09:42:03 +1000, Alex Samad wrote:
>>
>>> right tools for the job, I never ever thought about putting 64bit os
>>> on my netbook - it physically limited to 2G of memory
>>
>> 64-bits kernels are not only intended for systems with tons of ram.
>> Those kernels usually have enabled the "nx bit" and AFAIK, only 32 bits
>> PAE kernels enable such feature.
>>
>> BTW, my Shuttle box has also a ram limitation of 2 GiB (and currently
>> using only 1 GiB) but has installed "amd64". It runs fine, without
>> noticeable drawbacks.
>>
>>
> The question, though, is: "What -- beyond geekness -- is the *benefit*
> of amd64 in 'low' RAM systems?"

I searched Google for "nx bit feature geekiness" but no successful 
results :-)

Beyond that, all my systems run 64-bits kernels/apps so is a *matter of 
convenience* to have all of them sharing the same packages. In my case, 
using a 32-bits system is a waste of time and resources.

Greetings,

-- 
Camaleón


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



Re: 64-bit netbooks with Debian linux

2010-05-05 Thread Ron Johnson

On 05/05/2010 08:49 AM, Camaleón wrote:

On Wed, 05 May 2010 09:42:03 +1000, Alex Samad wrote:


right tools for the job, I never ever thought about putting 64bit os on
my netbook - it physically limited to 2G of memory


64-bits kernels are not only intended for systems with tons of ram. Those
kernels usually have enabled the "nx bit" and AFAIK, only 32 bits PAE
kernels enable such feature.

BTW, my Shuttle box has also a ram limitation of 2 GiB (and currently
using only 1 GiB) but has installed "amd64". It runs fine, without
noticeable drawbacks.



The question, though, is: "What -- beyond geekness -- is the 
*benefit* of amd64 in 'low' RAM systems?"


--
Dissent is patriotic, remember?


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

Archive: http://lists.debian.org/4be17920.2030...@cox.net



Re: 64-bit netbooks with Debian linux

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 09:42:03 +1000, Alex Samad wrote:

> right tools for the job, I never ever thought about putting 64bit os on
> my netbook - it physically limited to 2G of memory

64-bits kernels are not only intended for systems with tons of ram. Those 
kernels usually have enabled the "nx bit" and AFAIK, only 32 bits PAE 
kernels enable such feature.

BTW, my Shuttle box has also a ram limitation of 2 GiB (and currently 
using only 1 GiB) but has installed "amd64". It runs fine, without 
noticeable drawbacks.

Greetings,

-- 
Camaleón


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



Re: curious gnome desktop behaviour after upgrade

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 13:15:50 +0200, Jochen Schulz wrote:

> Camaleón:
>> On Wed, 05 May 2010 10:36:34 +0100, John O Laoi wrote:
>> 
>>> What would ye think of doing
>>> 
>>> aptitude purge gnome
>>> followed by
>>> aptitude install gnome
>>> 
>>> Is that likely to break lots of other things?
> 
> Usually not, but I don't see the point in doing that. It appears you
> would just reinstall the package with your bug in it.

The point is, "which" package? gnome-panel have all the point to be the 
culprit but, how we could know what is causing the mess? It can be a mix 
of several packages, it's hard to tell.
 
>> How do you (you = people using Squeeze) usually run updates for GNOME?
> 
> I run sid and in cases like these (don't run Gnome) I either downgrade
> to the version in testing, use an archived version or just sit and wait.

Then my vote goes to "sit and wait" :-)

Greetings,

-- 
Camaleón


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



Re: 64-bit netbooks with Debian linux

2010-05-05 Thread Ron Johnson

On 05/05/2010 08:02 AM, deloptes wrote:

Alex Samad wrote:



right tools for the job, I never ever thought about putting 64bit os on
my netbook - it physically limited to 2G of memory




I did it and I am sure it's faster and works much better together. It could
be also subjective opinion but I don't think I'm wrong



Excellent.  Any trouble with wireless?

--
Dissent is patriotic, remember?


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

Archive: http://lists.debian.org/4be17281.9080...@cox.net



Re: Video Streaming Software

2010-05-05 Thread deloptes
Austin Brkich wrote:

> I have been searching and searching for a specific type of software,
> however I can't find anything that is 100% free and doesn't have any
> hitches to it.
> 
> What I am looking for is some software that will allow me to take a
> live video stream from my computer and stream it to multiple clients.
> Kind of like how NullSoft does Audio Streaming, yes I know NullSoft
> does Video also but at the moment to do a live video there is only
> really one program that hasn't been updated in years.

I've used ffserver (ffmpeg) for files or streams and getstream for DVB.
it's really good for my needs.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hrrqgu$oc...@dough.gmane.org



Re: Automated Installation - Copy files from CD?

2010-05-05 Thread Jordan Metzmeier
On Tue, May 4, 2010 at 1:46 PM, Tim Nelson  wrote:
> Greetings all-
>
> I need to modify a product based on Debian. It installs from a CD and uses 
> the Debian installer system. Since this product does not contain the proper 
> driver for some of my hardware, I need a way to have the installer copy some 
> files from the CD (which I'll add to the master ISO) to the appropriate 
> locations on the installation target. I've been through the preseed 
> documentation and cannot seem to find it there.
>
> Any tips/pointers/etc?
>
> Thanks!
>
> --Tim

My suggestion is:

1) Use Debian
2) Use the kmuto installer if you need drivers available in a newer
kernel: http://kmuto.jp/debian/d-i/

-- 
Jordan Metzmeier


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



Re: 64-bit netbooks with Debian linux

2010-05-05 Thread deloptes
Alex Samad wrote:

> 
> right tools for the job, I never ever thought about putting 64bit os on
> my netbook - it physically limited to 2G of memory
> 
> 

I did it and I am sure it's faster and works much better together. It could
be also subjective opinion but I don't think I'm wrong

regards.


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hrrq8j$oc...@dough.gmane.org



Re: adding 192.x with static IP

2010-05-05 Thread Celejar
On Wed, 5 May 2010 08:32:26 +0100
Anthony Campbell  wrote:

> On 04 May 2010, Celejar wrote:
> > 
> > Indeed.  I was just trying to help, over the phone, a Windows user set
> > up a new router, in the absence of a manual.  I told her "go to
> > 192.168.0.1", then "192.168.1.1".  Nothing doing.  Finally, I searched
> > online for the manual, which gave the address as "routerlogin.net" or
> > something like that.  I still have no idea what the IP address is.
> > 
> > Celejar
> > -- 
> 
> In my case, "routerlogin.net" gives me my router at 192.188.0.1.

Thanks, but do you really mean 188, or 168?

Celejar
-- 
foffl.sourceforge.net - Feeds OFFLine, an offline RSS/Atom aggregator
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator


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



Re: Multiple Graphics cards and HDMI: How to?

2010-05-05 Thread deloptes
KS wrote:

> deloptes wrote:
>> KS wrote:
>> 
>> could you also post the xorg log file?
>> 
>> regards
>> 
>> 
> Here it is: http://pastebin.com/ihVCH4Ek
> 
> I have been able to login to KDE after the upgrade. Somehow
> plasma-desktop was uninstalled during the process :(
> 
> I was able to set the TV on the right of my monitor with proper
> resolution. I haven't checked yet if this settings stay after I relogin
> or not (should have been in bed half an hour ago). One thin which still
> happens is that the KDE panel goes to the TV screen (HDMI signal). How
> can I set it to stay on the LCD monitor?
> 
> One more quirk: even with the TV screen disabled, the mouse is able to
> travel beyond the right edge of the LCD monitor display!
> 
> Thanks,
> KS

I'm not sure (had a quick look at your log)

(WW) RADEONHD(0): Option "Monitor-VGA-0" is not used
(WW) RADEONHD(0): Option "Monitor-HDMI-0" is not used

in my config (intel 915 card) I'm using in the device section

Option  "MonitorLayout" "LVDS,VGA"
Option  "ForceMonitor" "LVDS,VGA"

there LVDS and VGA are for intel driver. you have to check the options for
the radeon drv. they also differ if you are using the native version. I
have seen in the log file CRTC and VGA so I would try with those options

In my monitor section I have

Option  "monitor-VGA" "PHL"
Option  "monitor-LVDS" "DLCD"
Option "RightOf" "DLCD"

perhaps this will help.

Try also to clean up the warnings from the logfile.

regards


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/hrrpup$oc...@dough.gmane.org



Re: curious gnome desktop behaviour after upgrade

2010-05-05 Thread Jochen Schulz
Camaleón:
> On Wed, 05 May 2010 10:36:34 +0100, John O Laoi wrote:
> 
>> What would ye think of doing
>> 
>> aptitude purge gnome
>> followed by
>> aptitude install gnome
>> 
>> Is that likely to break lots of other things?

Usually not, but I don't see the point in doing that. It appears you
would just reinstall the package with your bug in it.

> How do you (you = people using Squeeze) usually run updates for GNOME?

I run sid and in cases like these (don't run Gnome) I either downgrade
to the version in testing, use an archived version or just sit and wait.

J.
-- 
I want to keep my skin looking good but I believe all computers do the
same job.
[Agree]   [Disagree]
 


signature.asc
Description: Digital signature


Re: curious gnome desktop behaviour after upgrade

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 10:36:34 +0100, John O Laoi wrote:

> What would ye think of doing
> 
> aptitude purge gnome
> followed by
> aptitude install gnome
> 
> Is that likely to break lots of other things?

Dunno, I'm a "stable" user and do not like such abrupt things. 

How do you (you = people using Squeeze) usually run updates for GNOME? Or 
these updates come also integrated with standard packages? If the latter, 
just wait for newer packages become available.

Greetings,

-- 
Camaleón


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



Sizin için seçtik

2010-05-05 Thread Netuhaf




BODY {
MARGIN: 0px
}


 





 
 

  
  

  


  

  
  
 
 

  
 

  
 

  
 

  
 

  
 

  

  


  

  
  
Sizin İçin Özel 
 
 
 


  

  
  
 
 

  


 










 


Odamdaki Gökkuşağı

69.90 
TL 
 
 




 


Işıklı Kaplumbağa 

59.90 
TL 
 
 




 


Dört Taraflı Saat 

9.99 
TL 
 
 


 


 


 










 


Poşet Taşıma Aparatı 


5.90 
TL 
 
 




 


İlkbahar Kablo Klipsleri 


12.90 
TL 
 
 




 


Zincir Şişe Tutacağı 


49.90 
TL 
 
 
 
 
 
 


  

  
  
 
 
 
 
 

  
 

  

  


   
  
Türkiyenin En Tuhaf Sanal Marketi © Copyright 
2010
Baran Elektronik Ticaret - Her Hakkı 
Saklıdır.

Listemizden çıkmak istiyorsanız 
e-postayı yanıtlayınız.
 
 
 
 






curious gnome desktop behaviour after upgrade

2010-05-05 Thread John O Laoi
What would ye think of doing

aptitude purge gnome
followed by
aptitude install gnome

Is that likely to break lots of other things?

John


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



Re: curious gnome desktop behaviour after upgrade

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 09:55:00 +0100, John O Laoi wrote:

> Thanks Camaleón,
> 
>> - First try: run "killall gnome-panel".
>>
>> - Second thing to check: create a new panel and see if behaves
>> correctly when you minimize the applications.
>>
>> - Thrird try: create a new user and login with it.
>>
>>
> 
> I did all of this.
> Same behaviour, even with the new user. John

Wow... then I'm out of ideas, unless waiting for another "safe-upgrade" 
O:-)

Greetings,

-- 
Camaleón


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



Re: Memory footprint of a mail server

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 12:51:24 +0800, Thomas Goirand wrote:

> Today, running Lenny, top shows us some crazy results:
> 
> clamav: 156 MB
> amavisd-new: 80 MB per process (running 3 processes is the minimum)
> spamd: 105 MB per process (same remark)
> 
> That makes the total amount of RAM needed to run these 3 up to something
> like 700 MB, which makes it a hard fit for smaller end VPSes. What
> happened between Sarge and Lenny is beyond me. It seems we could replace
> amavisd-new by clamsmtp, which would save 240MB of RAM, but clamav and
> spamd will still have to be there, as there's no other open source
> replacement available.

Mmmm, amavisd-new can call spamassassin directly, so no need to use 
"spamd/spamc" daemonized version.

OTOH, I also see the same "numbers" on my systems...

Greetings,

-- 
Camaleón


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



Re: curious gnome desktop behaviour after upgrade

2010-05-05 Thread John O Laoi
Thanks Camaleón,

> - First try: run "killall gnome-panel".
>
> - Second thing to check: create a new panel and see if behaves correctly
> when you minimize the applications.
>
> - Thrird try: create a new user and login with it.
>


I did all of this.
Same behaviour, even with the new user.
John


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



Re: curious gnome desktop behaviour after upgrade

2010-05-05 Thread Camaleón
On Wed, 05 May 2010 09:00:17 +0100, John O Laoi wrote:

(...)
 
> When I open a console on the GUI and minimize it, it appears to go to
> the bottom right corner, and then disappears completely. Then the Panel
> on the top panel no longer functions. Icons on the desktop continue to
> function.
> 
> If I open another app, all of the buttons on the top panel disappear,
> except for the volume button.
> Then the bottom panel becomes completely bank.
> 
> Any ideas what has happened?

It seems something was messed-up. GNOME updates do not always go smoothly.

- First try: run "killall gnome-panel".

- Second thing to check: create a new panel and see if behaves correctly 
when you minimize the applications.

- Thrird try: create a new user and login with it.

Greetings,

-- 
Camaleón


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



Re: who initiates mounting in debian?

2010-05-05 Thread Camaleón
On Tue, 04 May 2010 21:46:56 +0200, Jonas Stein wrote:

> it looks if some devices are mounted automatic (after plugging into USB
> slot)
> and some wait until i click on the device name in dolphin/thunar or
> similar.
> 
> I dont understand who mounts when...
> I suppose some of the "magic" is done by udev, automounter and KDE and
> so on.

Yes, in stable, it's a mix between hal/udev and desktop environment mount 
system. 
 
> I am looking for a set of rules which software is allowed to do mounts
> and in which hierachy.
> Is there a kind of debian policy about mounting?

I suppose Debian follows FHS ("/media" for removable devices and "/mnt" for 
temporarily mount points) :-?
 
> On a debian stable PC i users are not allowed to umount their usb stick,
> if its mounted in KDE. But it works on console.

On GNOME yes, users can mount/umount their own usb devices via Nautilus.

> On a debian testing PC i'd like to have some automatic action after
> inserting my GPS device in the USB slot. First it should be mounted
> somewhere 

It should be automatically mounted anywhere under "/media" as AKAIK, that 
is the default action for removable storage.

> and second the latest trackfiles should be moved to /foo

You will need a bit of scripting to achieve this.
 
> Is it a good way to use a udev rule for that? 

There must be some pre-made applications to get that but you can also try 
to get it done with udev rules. A quick example, courtesy of Google:

http://www.gradstein.info/hardware/how-to-automatically-run-a-script-after-inserting-a-usb-device-on-ubuntu/

> Should i use /media to mount the USB device, or is /media reserved for 
> the system?

You can use /media, and as Boyd already suggested, give the device a 
label to get a static name so it always get mounted under the 
same path, i.e., "/media/mygps".

Greetings,

-- 
Camaleón


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



Re: How to schedule for a repeated task?

2010-05-05 Thread hadi motamedi
> It doesn't matter what the remote system is, as long as it has telnet,
> which I'm assuming it does, since that's what you originally asked about.
>  To be able to help, we would need to know the output you are getting when
> you run it, and probably the contents of the expect script that you are
> using (edit out any passwords).
>
>
>
>
> Please find below my simple expect telnet script :
/usr/bin/expect
>set name 172.16.17.160
>spawn telnet $name
>set cmd1 command1
>set cmd2 logout
>send "$cmd1"
>send "$cmd2"
>exit
When I try for this procedure , I just see loging in and loging out from the
telnet session . Actually , I need to have the output result of issuing
'command1' on the remote node to be captured on my local host . But when I
try manually , say telnet to it and issue the command , I see the output on
my screen . Please help me how to modify my simple code to have the desired
result?
Thank you


curious gnome desktop behaviour after upgrade

2010-05-05 Thread John O Laoi
Hello,

I am using squeeze on a dell laptop, and am using Gnome, as came with
the standard installation.

Yesterday, after a big “safe-upgrade” my desktop started to behave curiously.

When I open a console on the GUI and minimize it, it appears to go to
the bottom right corner, and then disappears completely.
Then the Panel on the top panel no longer functions.
Icons on the desktop continue to function.

If I open another app, all of the buttons on the top panel disappear,
except for the volume button.
Then the bottom panel becomes completely bank.

Any ideas what has happened?

John


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



Re: adding 192.x with static IP

2010-05-05 Thread Anthony Campbell
On 04 May 2010, Celejar wrote:
> 
> Indeed.  I was just trying to help, over the phone, a Windows user set
> up a new router, in the absence of a manual.  I told her "go to
> 192.168.0.1", then "192.168.1.1".  Nothing doing.  Finally, I searched
> online for the manual, which gave the address as "routerlogin.net" or
> something like that.  I still have no idea what the IP address is.
> 
> Celejar
> -- 

In my case, "routerlogin.net" gives me my router at 192.188.0.1.

Anthony

-- 
Anthony Campbell - a...@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell


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



Re: Making onscreen fonts read-able[was:New monitor, how to change screen resolution?]

2010-05-05 Thread Phil Requirements
On 2010-04-30 10:05:42 +0200, James Stuckey wrote:
>
>http://www.jhstuckey.com/1080.jpeg
>
>Does that look right to you?

I think the problem you are having is "un-themed GTK". You don't have
a desktop suite, so maybe you're like me and you like to keep your
system lean and mean. If so, it could be that you don't have any GTK
themes installed. A simple, lightweight GTK theme will drastically
improve the appearance of Iceweasel. The default GTK theme is called
Raleigh and it's not very good, the fonts are too big, and so on.

I lived without a theme for a while until I got so sick of how ugly
my GTK apps were. Then I went searching for themes and everything's
better. You can even get themes that are light and have good
performance.

If you are interested in getting some simple GTK themes:

aptitude install gtk2-engines

Hope this helps,

Phil


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



Re: Video Streaming Software

2010-05-05 Thread Camaleón
On Tue, 04 May 2010 17:06:24 -0500, Austin Brkich wrote:

> I have been searching and searching for a specific type of software,
> however I can't find anything that is 100% free and doesn't have any
> hitches to it.

(...)

Icecast?

For an extensive list of streaming media servers, Wikipedia can help:

http://en.wikipedia.org/wiki/List_of_streaming_media_systems

Greetings,

-- 
Camaleón


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



Re: Memory footprint of a mail server

2010-05-05 Thread Mihamina Rakotomandimby
> Thomas Goirand  :
>Today, running Lenny, top shows us some crazy results:
>clamav: 156 MB
>amavisd-new: 80 MB per process (running 3 processes is the minimum)
>spamd: 105 MB per process (same remark)
>That makes the total amount of RAM needed to run these 3 up to
>something like 700 MB, which makes it a hard fit for smaller end VPSes.

We use on each openVZ VE: clamav + spamassasin. VEs are 2GB RAM.
So yes, your observations are right.
But I think that's the way it goes.

-- 
   Architecte Informatique chez Blueline/Gulfsat:
Administration Systeme, Recherche & Developpement
+261 34 29 155 34 / +261 33 11 207 36


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20100505103722.6c42c...@pbmiha.malagasy.com



Re: How to schedule for a repeated task?

2010-05-05 Thread Kevin Ross

On 5/4/2010 10:01 PM, hadi motamedi wrote:
>>telnet, as in the original responses.  Google gives several example 
scripts
With many thanks for your reply, I found very simple expect telnet 
examples (like the case that I am dealing with) so I wrote for the 
same but it doesn't work my case. Do you think it may come from the 
fact that the remote node is VxWorks or maybe some mistake in my code?




It doesn't matter what the remote system is, as long as it has telnet, 
which I'm assuming it does, since that's what you originally asked 
about.  To be able to help, we would need to know the output you are 
getting when you run it, and probably the contents of the expect script 
that you are using (edit out any passwords).



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

Archive: http://lists.debian.org/4be11ebc.6050...@familyross.net



Re: gnome panel tray icons transparancy

2010-05-05 Thread Camaleón
On Tue, 04 May 2010 23:56:00 +0200, Steven wrote:

> On Tue, 2010-05-04 at 13:13 +, Camaleón wrote:

(...) 

>> You can check if the icon being used is the correct one (the one with
>> alpha channel to get transparency).
> I don't think there's one without it in current installations.

A quick test: drop/move the non-transparent icons anywhere in the panel 
but "notification-tray" to check if they keep transparency or still show 
with a solid background.

> I'll have another look on Thursday, will post if I found a solution.

O.k. :-)

Greetings,

-- 
Camaleón


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