Re: bash variables

2011-02-26 Thread Teemu Likonen
* 2011-02-25 14:21 (-0800), Mike McClain wrote:

> I occasionally have problems with bash variables, for instance the
> following command lists (along with everything else) 2 *.deb files in
> /home/mike/
>
> root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
> GREP="-v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'"; \
> find /home/mike/ $FIND1 | grep $GREP ; 
>
> while without variables;
> root@/deb40a:~> find /home/mike/ -maxdepth 1 -type f -print -name '*' |
> grep -v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'
> does not list the 2 *.deb files.
>
> In the same vein this command lists nothing:
> root@/deb40a:~> FIND="-name '*'"; find /root/bin $FIND
> while
> root@/deb40a:~> find /root/bin -name '*'
> lists 25 files.
>
> This only bites me once in a while but when it does it can be very
> frustrating so any hints / tips are welcome.

I think the problem is the single quotes (') in your variables. The
shell does not remove quotes several times. Therefore, "find" and "grep"
commands receive also the single quotes with their arguments. Try
removing the single quotes from hour FIND and GREP variables, or add
another round of evaluation with "eval" command.

Simple demo:

$ mkdir temp_dir
$ cd temp_dir
$ touch new_file

$ args="x '*'"

$ echo $args
x '*'

$ eval echo $args
x *

$ eval eval echo $args
x new_file

-- 
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/87y652c5np@mithlond.arda



Re: bash variables

2011-02-26 Thread Mike McClain
On Sat, Feb 26, 2011 at 03:18:43PM +, T o n g wrote:
> On Fri, 25 Feb 2011 14:21:27 -0800, Mike McClain wrote:
> 
> > the following command lists (along with everything else)
> >  2 *.deb files in /home/mike/
> > 
> > root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
> > GREP="-v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'"; \ find /home/mike/
> > $FIND1 | grep $GREP ;
> > 
> > while without variables;
> > root@/deb40a:~> find /home/mike/ -maxdepth 1 -type f -print -name '*' |
> > grep -v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'
> > does not list the 2 *.deb files.
> 
> Shouldn't be. Are you sure you are posting exactly as what you are doing 
> without omitting anything else?

Absolutely sure.
There is something about the way that bash expands variables that's
caused me headaches for years. Try it yourself.
Mike

-- 
Satisfied user of Linux since 1997.
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org


-- 
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/20110227045630.GA2623@playground



Re: How do you remotely access a home server/network?

2011-02-26 Thread Andrew McGlashan

Hi,

Jason Hsu wrote:

I've learned how to turn an old computer into a firewall and DHCP server for my 
tiny home network.


Which distro are you using?


I understand that I can install an SSH server on this machine so that I can 
access it from outside.  Once I have this SSH server connected to the Internet, 
how do I access it from another location?  I have DSL broadband service, but I 
don't think I have a static IP address.


My suggestion is to use a dedicated firewall machine with as little on 
that as needed, absolute minimum.  No ssh on this server.


Use port forwarding to a box running just ssh (no other public 
services); consider ONLY port forwarding from trusted IP addresses if 
possible.


On the ssh server ensure you use AllowGroups in your ssh setup, 
/bin/false is not suitable to secure ssh logins [1].  Also consider 
logins only with certificates (if you can).  Consider NOT allowing root 
access, you can always sudo or su to root if needed.  Consider if you 
need tunneling enabled on your ssh server.


Ensure, if allowing password logins via ssh that you have a nice long 
and secure password.  Simple or short passwords offer little or no security.


There are logs more things to consider, but the above should give you a 
good start.


[1] http://www.semicomplete.com/articles/ssh-security/

--
Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP


--
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/4d69cc20.7030...@affinityvision.com.au



Re: ntp: .XFAC. refid

2011-02-26 Thread Jerome BENOIT

Hi !

On 27/02/11 03:27, Ron Johnson wrote:

On 02/26/2011 07:59 PM, Jerome BENOIT wrote:
[snip]


Finally I fixed it by reconfiguring my /etc/ntp.conf file from start:
I guess that my old configuration file needs to be upgraded.



What exactly did you have to change?


I performed the following kind of modification:




server time..net iburst
server time..org iburst

restrict -4 default ignore

restrict time..netnomodify notrap nopeer noquery
restrict time..orgnomodify notrap nopeer noquery


to




server time..net iburst
server time..org iburst

restrict -4 default kod notrap nomodify nopeer noquery

## empty



hth,
Jerome






--
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/4d69bb68.6000...@rezozer.net



Re: ntp: .XFAC. refid

2011-02-26 Thread Ron Johnson

On 02/26/2011 07:59 PM, Jerome BENOIT wrote:
[snip]


Finally I fixed it by reconfiguring my /etc/ntp.conf file from start:
I guess that my old configuration file needs to be upgraded.



What exactly did you have to change?

--
I prefer banana-flavored energy bars made from tofu.


--
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/4d69b693.7030...@cox.net



Re: Unrecognized security certificate warning is gone

2011-02-26 Thread Marc Shapiro

On 02/25/11 07:29, Marc Shapiro wrote:

On 02/25/11 04:01, Camaleón wrote:

On Thu, 24 Feb 2011 20:37:52 -0800, Marc Shapiro wrote:


I am using Firefox, not Iceweasel, but I think this question should
apply in either case. I am trying to connect to work using the Citrix
client. I used to get a warning that the certificate was not recognized
and do I want to continue, or not. I am no longer getting the warning,
but Firefox is assuming that I have said NOT to accept the certificate
and it is closing the connection. How do I get the warning and question
back.


Try to open a brand-new session for Firefox, for example, by running it
as another user or by creating a new profile.


The client is currently set up just for me, not systemwide. However,
there is a newer version, so I could uninstall the old version and the
install the new one as root so it will be systemwide.


You can also try to start firefox from command line.


BTW, this is happening with Opera and Kazehakase, as well, not just
Firefox. Is there some place that all of these browsers would look to
define this behavior?


I've always thought that every browser handles their certificates
database (and warnings) independently, but I agree it must a commom point
here as all browsers are failing in the same manner.

How about your Citrix client? Does it have any settings to manage SSL
certificates?


I don't know. This is the standard linux client provided by Citrix.

Marc


Th actual error that I am getting is:

You have not chosen to trust "VeriSign 3 Public Primary Certification 
Authority - G3", the issuer of the server's security certificate (SSL 
error 61).


The contents of /etc/ca-certificates.conf is:

# This file lists certificates that you wish to use or to ignore to be
# installed in /etc/ssl/certs.
# update-ca-certificates(8) will update /etc/ssl/certs by reading this file.
#
# This is autogenerated by dpkg-reconfigure ca-certificates.
# certificates shoule be installed under /usr/share/ca-certificates
# and files with extension '.crt' is recognized as available certs.
#
# line begins with # is comment.
# line begins with ! is certificate filename to be deselected.
#
brasil.gov.br/brasil.gov.br.crt
!cacert.org/cacert.org.crt
mozilla/ABAecom_=sub.__Am._Bankers_Assn.=_Root_CA.crt
mozilla/AOL_Time_Warner_Root_Certification_Authority_1.crt
mozilla/AOL_Time_Warner_Root_Certification_Authority_2.crt
mozilla/AddTrust_External_Root.crt
mozilla/AddTrust_Low-Value_Services_Root.crt
mozilla/AddTrust_Public_Services_Root.crt
mozilla/AddTrust_Qualified_Certificates_Root.crt
mozilla/America_Online_Root_Certification_Authority_1.crt
mozilla/America_Online_Root_Certification_Authority_2.crt
mozilla/Baltimore_CyberTrust_Root.crt
mozilla/Certum_Root_CA.crt
mozilla/Comodo_AAA_Services_root.crt
mozilla/Comodo_Secure_Services_root.crt
mozilla/Comodo_Trusted_Services_root.crt
mozilla/Digital_Signature_Trust_Co._Global_CA_1.crt
mozilla/Digital_Signature_Trust_Co._Global_CA_2.crt
mozilla/Digital_Signature_Trust_Co._Global_CA_3.crt
mozilla/Digital_Signature_Trust_Co._Global_CA_4.crt
mozilla/Entrust.net_Global_Secure_Personal_CA.crt
mozilla/Entrust.net_Global_Secure_Server_CA.crt
mozilla/Entrust.net_Premium_2048_Secure_Server_CA.crt
mozilla/Entrust.net_Secure_Personal_CA.crt
mozilla/Entrust.net_Secure_Server_CA.crt
mozilla/Equifax_Secure_CA.crt
mozilla/Equifax_Secure_Global_eBusiness_CA.crt
mozilla/Equifax_Secure_eBusiness_CA_1.crt
mozilla/Equifax_Secure_eBusiness_CA_2.crt
mozilla/GTE_CyberTrust_Global_Root.crt
mozilla/GTE_CyberTrust_Root_CA.crt
mozilla/GeoTrust_Global_CA.crt
mozilla/GlobalSign_Root_CA.crt
mozilla/IPS_CLASE1_root.crt
mozilla/IPS_CLASE3_root.crt
mozilla/IPS_CLASEA1_root.crt
mozilla/IPS_CLASEA3_root.crt
mozilla/IPS_Chained_CAs_root.crt
mozilla/IPS_Servidores_root.crt
mozilla/IPS_Timestamping_root.crt
mozilla/QuoVadis_Root_CA.crt
mozilla/RSA_Root_Certificate_1.crt
mozilla/RSA_Security_1024_v3.crt
mozilla/RSA_Security_2048_v3.crt
mozilla/Security_Communication_Root_CA.crt
mozilla/Sonera_Class_1_Root_CA.crt
mozilla/Sonera_Class_2_Root_CA.crt
mozilla/Staat_der_Nederlanden_Root_CA.crt
mozilla/TC_TrustCenter__Germany__Class_2_CA.crt
mozilla/TC_TrustCenter__Germany__Class_3_CA.crt
mozilla/TDC_Internet_Root_CA.crt
mozilla/TDC_OCES_Root_CA.crt
mozilla/Thawte_Personal_Basic_CA.crt
mozilla/Thawte_Personal_Freemail_CA.crt
mozilla/Thawte_Personal_Premium_CA.crt
mozilla/Thawte_Premium_Server_CA.crt
mozilla/Thawte_Server_CA.crt
mozilla/Thawte_Time_Stamping_CA.crt
mozilla/UTN-USER_First-Network_Applications.crt
mozilla/UTN_DATACorp_SGC_Root_CA.crt
mozilla/UTN_USERFirst_Email_Root_CA.crt
mozilla/UTN_USERFirst_Hardware_Root_CA.crt
mozilla/UTN_USERFirst_Object_Root_CA.crt
mozilla/ValiCert_Class_1_VA.crt
mozilla/ValiCert_Class_2_VA.crt
mozilla/Verisign_Class_1_Public_Primary_Certification_Authority.crt
mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G2.crt
mozilla/Verisign_Class_1_Public_Primary_Certification_Authority_-_G3.crt
!mozilla/Verisign_Cla

Re: ntp: .XFAC. refid

2011-02-26 Thread Jerome BENOIT

Hello List !



On 27/02/11 00:59, Jerome BENOIT wrote:



On 27/02/11 00:33, Jerome BENOIT wrote:

Thanks for the replies.

On 27/02/11 00:18, Ron Johnson wrote:

On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
==





time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up
quickly enough?


NA



If wired-but-dhcp, maybe the dhcp server isn't responding quickly
enough?


I am agree.
In fact, dhcp seems to be called after ntp.
Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload'' ntp after a while ?


In fact a closer look shows that ntp sems to manage it:


Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.de ->
130.xxx.xxx.10
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.de ->
131.xxx.xxx.223
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.fr ->
192.xxx.xxx.20
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.es ->
158.xxx.xxx.15
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.fr ->
193.xxx.xxx.211
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.nl ->
187..xxx.11
Feb 26 21:30:15 rezozer ntpd[2515]: Listen normally on 2 gieth0
xxx.xxx.xxx.xxx UDP 123

so ntp pretends to ``Listen normally'', but it does not as it stucks to
.XFAC.



Finally I fixed it by reconfiguring my /etc/ntp.conf file from start:
I guess that my old configuration file needs to be upgraded.

Jerome


Jerome



Jerome












--
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/4d69afec.5000...@rezozer.net



Re: How do you remotely access a home server/network?

2011-02-26 Thread shawn wilson
On Feb 26, 2011 7:18 PM, "Slicky Johnson"  wrote:
>
> On Sat, 26 Feb 2011 23:46:25 +
> Brian  wrote:
>
> > On Sat 26 Feb 2011 at 16:12:33 -0700, Aaron Toponce wrote:
> >
> > > Either way, you're exposing your internal network to the Internet
> > > if you don't have good security procedures in place. Have a strong
> > > password (I recommend http://passwordcard.org), chroot jail your
> > > daemon, use remote logging, and take advantage of strict firewalls.
> > > In other words, lock it down.
> >
> > If the strong password is being used by only one person (which appears
> > to be the case here) in what sense is it lacking if it is the only
> > security in place? Doesn't it give sufficient lockdown?
> >
> >
>
> Well this thread could certainly go on forever.

I agree with this. And there are a few harden* packages that help prevent
you from installing absolute crap :)

My only real addition to this is get familiar with how to add deny rules to
iptables. Then, every time pam reports that ssh got a bad pass and you
didn't do it, block it.

I also wouldn't use a gateway box for anything other than snort and
forwarding traffic. Get another crappy box for ssh (if you do openvpn you
might have to upgrade though).

>
> Jason, also have a look at the securing Debian manual with attention on
> ssh. Perhaps removing passwords all together and only using a key, no
> root, etc. From experience I will say moving your listening port from
> 22 to something else will keep your logs fairly clear. Internet facing
> machine I'm looking at right now only had 8 packets hit 22 yesterday.
> Dropped of course and not by chance from the same Chinese IP.
>

Yeah, if you setup snort on an external box you get to see all the people
who scan the internet every day.

Also, if your ip changes too offer, I'd just email it to me when it changes.
However, my current isp hasn't changed my ip sense I got the service a year
ago so I just trust that they're not going to change it on me at random.


Re: Fontconfig error

2011-02-26 Thread wolf python london
On 27 February 2011 03:07, Camaleón  wrote:
> On Sat, 26 Feb 2011 18:22:21 +, Liam O'Toole wrote:
>
>> On 2011-02-26, Camaleón wrote:
>
>>> The error is clear: either the file should be corrected (unless the
>>> user had manually removed or tweaked the original file) or the output
>>> error should be properly handled.
>>
>> The file concerned is /etc/fonts/local.conf, which was created by the
>> OP.
>
> Ah, I see.
>
> I'm now in my lenny box and there is not such a file ("local.conf") under
> "/etc/fonts" directory (I did not make any tweak for the fonts) so I
> thought it was a change of Squeeze.
>
> Then yes, of course. The OP has only to use the proper format for the
> file.
>

sorry for my unclear question .'cause my Squeeze is just upgraded from
the testing (I have used it for a long time), I cannot remember
when I create it .

thanks anyway . I think I can fix it now .
> 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.2011.02.26.19.07...@gmail.com
>
>



-- 

wolf python london(WPL)
Do as you soul should 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/aanlktinhxkkj9tjd-kj1ofvw_uuup1jo69rnbrsz1...@mail.gmail.com



Re: Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread PMA

I have similar behaviour from a third disk, external USB,
that gets auto-mounted on /media.  Its partitions aren't
named, and their order is messed up, so I just umount
them all and call a little script that remounts them else-
where on orderly named directories.

Slicky Johnson wrote:

On Sat, 26 Feb 2011 23:21:19 +
Brian  wrote:


On Sat 26 Feb 2011 at 15:28:19 -0500, PMA wrote:


So my question: When I rebooting, can I safely assume
that, because fstab is using UUIDs and not "/dev/..."(s),
the system won't get confused?


One possible gotcha. When GRUB was installed where was it installed
to? If it's to /dev/sda you may have a little remedial work to do!
This caught me out a couple of times when I forgot to remove the USB
stick at that stage of the install.




I didn't run into that. The installer correctly identified the root
partition, MBR etc. I only was burned by the fact it listed /dev/sdb1
as a cdrom device in fstab, but /dev/sdb1 was basically behaving like
one. So when a thumb was plugged in after the install had completed, it
would fail to auto mount on my desktop as expected. Suppose a udev rule
was confused. Mounting the device to a mount point by hand worked fine.





--
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/4d69a8a4@aya.yale.edu



Re: Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread PMA

Well, I've rebooted and come out alive.  So the Squeeze installer's
suggested GRUB destination, which I happily accepted, must have
been /dev/sdb.  Lucky me.  For next time, thanks for this alert!

Brian wrote:

On Sat 26 Feb 2011 at 15:28:19 -0500, PMA wrote:


So my question: When I rebooting, can I safely assume
that, because fstab is using UUIDs and not "/dev/..."(s),
the system won't get confused?


One possible gotcha. When GRUB was installed where was it installed to?
If it's to /dev/sda you may have a little remedial work to do! This
caught me out a couple of times when I forgot to remove the USB stick at
that stage of the install.



--
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/4d69a6b6.9060...@aya.yale.edu



Re: How do you remotely access a home server/network?

2011-02-26 Thread Slicky Johnson
On Sat, 26 Feb 2011 23:46:25 +
Brian  wrote:

> On Sat 26 Feb 2011 at 16:12:33 -0700, Aaron Toponce wrote:
> 
> > Either way, you're exposing your internal network to the Internet
> > if you don't have good security procedures in place. Have a strong
> > password (I recommend http://passwordcard.org), chroot jail your
> > daemon, use remote logging, and take advantage of strict firewalls.
> > In other words, lock it down.
> 
> If the strong password is being used by only one person (which appears
> to be the case here) in what sense is it lacking if it is the only
> security in place? Doesn't it give sufficient lockdown?
> 
> 

Well this thread could certainly go on forever. 

Jason, also have a look at the securing Debian manual with attention on
ssh. Perhaps removing passwords all together and only using a key, no
root, etc. From experience I will say moving your listening port from
22 to something else will keep your logs fairly clear. Internet facing
machine I'm looking at right now only had 8 packets hit 22 yesterday.
Dropped of course and not by chance from the same Chinese IP. 


-- 
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/20110226191813.42059955@t61.debian-linux



Re: How do you remotely access a home server/network?

2011-02-26 Thread Brian
On Sat 26 Feb 2011 at 16:12:33 -0700, Aaron Toponce wrote:

> Either way, you're exposing your internal network to the Internet if you
> don't have good security procedures in place. Have a strong password (I
> recommend http://passwordcard.org), chroot jail your daemon, use remote
> logging, and take advantage of strict firewalls. In other words, lock it
> down.

If the strong password is being used by only one person (which appears
to be the case here) in what sense is it lacking if it is the only
security in place? Doesn't it give sufficient lockdown?


-- 
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/20110226234625.GB7935@desktop



Re: ntp: .XFAC. refid

2011-02-26 Thread Jerome BENOIT



On 27/02/11 00:33, Jerome BENOIT wrote:

Thanks for the replies.

On 27/02/11 00:18, Ron Johnson wrote:

On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
==




time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up
quickly enough?


NA



If wired-but-dhcp, maybe the dhcp server isn't responding quickly enough?


I am agree.
In fact, dhcp seems to be called after ntp.
Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload'' ntp after a while ?


In fact a closer look shows that ntp sems to manage it:


Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.de -> 130.xxx.xxx.10
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.de -> 131.xxx.xxx.223
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.fr -> 192.xxx.xxx.20
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.es -> 158.xxx.xxx.15
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.fr -> 193.xxx.xxx.211
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.nl -> 187..xxx.11
Feb 26 21:30:15 rezozer ntpd[2515]: Listen normally on 2 gieth0 xxx.xxx.xxx.xxx 
UDP 123

so ntp pretends to ``Listen normally'', but it does not as it stucks to .XFAC.

Jerome



Jerome









--
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/4d6993e8.5060...@rezozer.net



Re: ntp: .XFAC. refid

2011-02-26 Thread Ron Johnson

On 02/26/2011 05:33 PM, Jerome BENOIT wrote:
[snip]


I am agree.
In fact, dhcp seems to be called after ntp.


I think I'd file a bug against ntp mentioning this.


Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload'' ntp after a while ?



Probably not the official method, but you can put the ntp restart in 
/etc/rc.local.


--
I prefer banana-flavored energy bars made from tofu.


--
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/4d69935a.6000...@cox.net



Re: Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread Slicky Johnson
On Sat, 26 Feb 2011 23:21:19 +
Brian  wrote:

> On Sat 26 Feb 2011 at 15:28:19 -0500, PMA wrote:
> 
> > So my question: When I rebooting, can I safely assume
> > that, because fstab is using UUIDs and not "/dev/..."(s),
> > the system won't get confused?
> 
> One possible gotcha. When GRUB was installed where was it installed
> to? If it's to /dev/sda you may have a little remedial work to do!
> This caught me out a couple of times when I forgot to remove the USB
> stick at that stage of the install.
> 
> 

I didn't run into that. The installer correctly identified the root
partition, MBR etc. I only was burned by the fact it listed /dev/sdb1
as a cdrom device in fstab, but /dev/sdb1 was basically behaving like
one. So when a thumb was plugged in after the install had completed, it
would fail to auto mount on my desktop as expected. Suppose a udev rule
was confused. Mounting the device to a mount point by hand worked fine. 


-- 
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/20110226185410.57544c09@t61.debian-linux



Re: Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread Brian
On Sat 26 Feb 2011 at 15:28:19 -0500, PMA wrote:

> So my question: When I rebooting, can I safely assume
> that, because fstab is using UUIDs and not "/dev/..."(s),
> the system won't get confused?

One possible gotcha. When GRUB was installed where was it installed to?
If it's to /dev/sda you may have a little remedial work to do! This
caught me out a couple of times when I forgot to remove the USB stick at
that stage of the install.


-- 
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/20110226232119.GA7935@desktop



Re: ntp: .XFAC. refid

2011-02-26 Thread Jerome BENOIT

Thanks for the replies.

On 27/02/11 00:18, Ron Johnson wrote:

On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
==



time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up
quickly enough?


NA



If wired-but-dhcp, maybe the dhcp server isn't responding quickly enough?


I am agree.
In fact, dhcp seems to be called after ntp.
Is there a (Debian) way to launch ntp after dhcp ?
or to ``reload'' ntp after a while ?

Jerome






--
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/4d698dd1.9030...@rezozer.net



Debian Wiki participation..?

2011-02-26 Thread Peter Tynan
One of the things I've never understood about Debian is why the wiki
is so inactive when compared to other distributions, the simple fact
of life is that nine times out of ten I find the information I'm
looking for on the Arch or Gentoo wikis - not the Debian wiki.  I am
now beginning to understand why, let me tell you a story...

On the Openbox page http://wiki.debian.org/Openbox I noticed some
advice that I thought was not exactly best practice

" Add the following to the autostart.sh file in /etc/xdg/openbox."

As I understand it a user should copy these files to ~/.config/openbox
folder and edit these local files.

Being a dutiful netizen  I thought I'd mention this on the discussion
page and see what other users thought. Hmmm... no discussion page but
it seems I can create one... but wait... I need to be logged in to do
that. I can understand the need to be logged in - reduce spam and all
- so off I go to register.

On the registration page quite reasonably I'm asked for my email
address HOWEVER I can find no link to any form of privacy statement
saying what will be done with my email address so being a cautious
netizen I do not register, I do not make my suggestion and I start to
understand why the Debian wiki is so relatively inactive.

Peter

-- 
(\__/)
(='.'=) This is Bunny. Copy and paste Bunny into your
(")_(") signature to help him gain world domination.

gopher://sdf.lonestar.org/1/users/happy


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



Re: ntp: .XFAC. refid

2011-02-26 Thread Ron Johnson

On 02/26/2011 05:10 PM, Jerome BENOIT wrote:



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p'
gives:

remote refid st t when poll reach delay offset jitter
==


time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0
v4wildcard 0.0.0.0 UDP 123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo
127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.de"
invalid host address, ignored

[snip]

If this is a laptop, maybe the wireless connection isn't coming up 
quickly enough?


If wired-but-dhcp, maybe the dhcp server isn't responding quickly 
enough?


--
I prefer banana-flavored energy bars made from tofu.


--
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/4d698a5a.2030...@cox.net



Re: How do you remotely access a home server/network?

2011-02-26 Thread Slicky Johnson
On Sat, 26 Feb 2011 16:56:10 -0600
Jason Hsu  wrote:

> I've learned how to turn an old computer into a firewall and DHCP
> server for my tiny home network.
> 
> I understand that I can install an SSH server on this machine so that
> I can access it from outside.  Once I have this SSH server connected
> to the Internet, how do I access it from another location?  I have
> DSL broadband service, but I don't think I have a static IP address.
> 

Best bet is to set yourself up with a free account at
http://www.dyndns.com/ then install and configure ddclient. That
will report your IP so you only need to remember what you've
setup on dyndns. Lets say you pick jason.homelinux.net... Next you
would most likely want to move the port openssh server is listening on
from 22 to something else. we'll say 32123.. Next you would run.. 

ssh -p 32123 usern...@jason.homelinux.net

That should do it. 

The reason to move away from 22 is to give yourself an added buffer of
security for port sweeps by the script kiddies. Of course there are
other dns services and other programs like ddclient. However, it's what
I've used over the last couple of years and works fine for me. 


-- 
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/20110226181108.3cd25c2f@t61.debian-linux



Re: ntp: .XFAC. refid

2011-02-26 Thread Jerome BENOIT



On 26/02/11 23:49, Ron Johnson wrote:

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp
restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p' gives:

remote refid st t when poll reach delay offset jitter
==

time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000
time.xxx.xx .XFAC. 16 u - 1024 0 0.000 0.000 0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?


in syslog, at boot time:



Feb 26 21:29:10 rezozer ntpd[2515]: Listen and drop on 0 v4wildcard 0.0.0.0 UDP 
123

Feb 26 21:29:10 rezozer ntpd[2515]: Listen normally on 1 lo 127.0.0.1 UDP 123
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.de" invalid host 
address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.x.de' 
on line 54. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.de" invalid host 
address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.x.de' 
on line 55. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.es" invalid host 
address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.x.es' 
on line 56. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.fr" invalid host 
address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.x.fr' 
on line 57. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.fr" invalid host 
address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.x.fr' 
on line 57. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: getaddrinfo: "time.x.nl" invalid host 
address, ignored
Feb 26 21:29:10 rezozer ntpd[2515]: restrict: error in address 'time.x.nl' 
on line 59. Ignoring...
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.x.de 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.x.de 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.x.fr 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.x.es 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.x.fr 1
Feb 26 21:29:10 rezozer ntpd[2515]: Deferring DNS for time.x.nl 1
Feb 26 21:29:10 rezozer ntpd[2526]: signal_no_reset: signal 17 had flags 400
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.x.de
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.x.de
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.x.fr
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.x.es
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.x.fr
Feb 26 21:29:12 rezozer ntpd_intres[2526]: host name not found: time.x.nl
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.de -> 130.xxx.xxx.10
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.de -> 131.xxx.xxx.223
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.fr -> 192.xxx.xxx.20
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.es -> 158.xxx.xxx.15
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.fr -> 193.xxx.xxx.211
Feb 26 21:30:15 rezozer ntpd_intres[2526]: DNS time.x.nl -> 187..xxx.11
Feb 26 21:30:15 rezozer ntpd[2515]: Listen normally on 2 gieth0 xxx.xxx.xxx.xxx 
UDP 123




--
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/4d69884e.3080...@rezozer.net



Re: How do you remotely access a home server/network?

2011-02-26 Thread Aaron Toponce
On 02/26/2011 03:56 PM, Jason Hsu wrote:
> I've learned how to turn an old computer into a firewall and DHCP server for 
> my tiny home network.
> 
> I understand that I can install an SSH server on this machine so that I can 
> access it from outside.  Once I have this SSH server connected to the 
> Internet, how do I access it from another location?  I have DSL broadband 
> service, but I don't think I have a static IP address.

Open up port 22 in your firewall, and find out what your IP address is.
If you don't have a static IP, you can check out many of the dynamic DNS
services available, such as dyndns.org.

You could also install OpenVPN, and get full unfettered access to your
internal home network. Of course, you would have to punch open port 1194
to get access.

Either way, you're exposing your internal network to the Internet if you
don't have good security procedures in place. Have a strong password (I
recommend http://passwordcard.org), chroot jail your daemon, use remote
logging, and take advantage of strict firewalls. In other words, lock it
down.

-- 
. o .   o . o   . . o   o . .   . o .
. . o   . o o   o . o   . o o   . . o
o o o   . o .   . o o   o o .   o o o



signature.asc
Description: OpenPGP digital signature


Re: How do you remotely access a home server/network?

2011-02-26 Thread Ron Johnson

On 02/26/2011 05:01 PM, Andrei Popescu wrote:

On Sb, 26 feb 11, 16:56:10, Jason Hsu wrote:

I've learned how to turn an old computer into a firewall and DHCP server for my 
tiny home network.

I understand that I can install an SSH server on this machine so that
I can access it from outside.  Once I have this SSH server connected
to the Internet, how do I access it from another location?  I have DSL
broadband service, but I don't think I have a static IP address.


There are several free dynamic DNS services for this.



You'll also need to learn port forwarding.

--
I prefer banana-flavored energy bars made from tofu.


--
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/4d6987a6.9010...@cox.net



Re: How do you remotely access a home server/network?

2011-02-26 Thread Andrei Popescu
On Sb, 26 feb 11, 16:56:10, Jason Hsu wrote:
> I've learned how to turn an old computer into a firewall and DHCP server for 
> my tiny home network.
> 
> I understand that I can install an SSH server on this machine so that 
> I can access it from outside.  Once I have this SSH server connected 
> to the Internet, how do I access it from another location?  I have DSL 
> broadband service, but I don't think I have a static IP address.

There are several free dynamic DNS services for this.

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


signature.asc
Description: Digital signature


How do you remotely access a home server/network?

2011-02-26 Thread Jason Hsu
I've learned how to turn an old computer into a firewall and DHCP server for my 
tiny home network.

I understand that I can install an SSH server on this machine so that I can 
access it from outside.  Once I have this SSH server connected to the Internet, 
how do I access it from another location?  I have DSL broadband service, but I 
don't think I have a static IP address.

-- 
Jason Hsu 


-- 
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/20110226165610.c5e0b4c1.jhsu802...@jasonhsu.com



Re: ntp: .XFAC. refid

2011-02-26 Thread Ron Johnson

On 02/26/2011 04:04 PM, Jerome BENOIT wrote:

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p' gives:

 remote   refid  st t when poll reach   delay   offset  jitter
==
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000


How can I avoid the manual restart ?


Any clues in syslog or /var/log/boot?

--
I prefer banana-flavored energy bars made from tofu.


--
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/4d698395.8020...@cox.net



Re: Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread Slicky Johnson
On Sat, 26 Feb 2011 17:04:01 -0500
Slicky Johnson  wrote:
> 
> I had an entry listing /dev/sdb1 as... 
> 
> #/dev/sdb1   /media/cdrom0   udf,iso9660 user,noauto 0   0
> 
> Which was a known bug.
> 
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597223
> 


I should have included that I commented the line out by hand to fix the
bug.



-- 
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/20110226171325.34175370@t61.debian-linux



ntp: .XFAC. refid

2011-02-26 Thread Jerome BENOIT

Hello List,

I am configuring ntp on a little server Squeeze box:

After each boot, I need to restart manually ntp ( /etc/init,d/ntp restart)
to make is work properly. Otherwise is stuck, namely `ntpq -p' gives:

 remote   refid  st t when poll reach   delay   offset  jitter
==
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000
 time.xxx.xx .XFAC.  16 u- 102400.0000.000   0.000


How can I avoid the manual restart ?

Thanks in advance,
Jerome


--
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/4d6978df.5070...@rezozer.net



Re: Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread Slicky Johnson
On Sat, 26 Feb 2011 15:28:19 -0500
PMA  wrote:

> Hi List.
> 
> I have installed Squeeze from scratch using a USB stick.
> The installer regarded that stick as "/dev/sda".   So the
> /etc/fstab that it installed lists my system disk (til now
> always "/dev/sda") as "/dev/sdb", and similarly my 2nd
> disk (til now "/dev/sdb") as "/dev/sdc".
> 
> If I now run 'mount' (with USB stick removed), it names
> these devices as I had originally -- system disk '/dev/sda',
> secondary '/dev/sdb'.
> 
> Meanwhile, /etc/fstab is specifying each device, not as
> either of those names, but as a mile-long UUID number.
> 
> So my question: When I rebooting, can I safely assume
> that, because fstab is using UUIDs and not "/dev/..."(s),
> the system won't get confused?
> 
> Thanks,
> Pete
> 
> 

I had an entry listing /dev/sdb1 as... 

#/dev/sdb1   /media/cdrom0   udf,iso9660 user,noauto 0   0

Which was a known bug.

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=597223


-- 
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/20110226170401.6a44167e@t61.debian-linux



Re: Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread Liam O'Toole
On 2011-02-26, PMA  wrote:
> Hi List.
>
> I have installed Squeeze from scratch using a USB stick.
> The installer regarded that stick as "/dev/sda".   So the
> /etc/fstab that it installed lists my system disk (til now
> always "/dev/sda") as "/dev/sdb", and similarly my 2nd
> disk (til now "/dev/sdb") as "/dev/sdc".
>
> If I now run 'mount' (with USB stick removed), it names
> these devices as I had originally -- system disk '/dev/sda',
> secondary '/dev/sdb'.
>
> Meanwhile, /etc/fstab is specifying each device, not as
> either of those names, but as a mile-long UUID number.
>
> So my question: When I rebooting, can I safely assume
> that, because fstab is using UUIDs and not "/dev/..."(s),
> the system won't get confused?
>

The identification of partitions by UUIDs is normal is squeeze. The
output of the blkid command should allow you to satisfy yourself that
the mapping from UUIDs to partitions is correct.

-- 
Liam O'Toole
Cork, Ireland



-- 
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/slrnimitdb.2hf.liam.p.otoole@dipsy.tubbynet



Another "No devices found" in X problem

2011-02-26 Thread Steve McCarthy
Hello,

I followed this topic in December when Celejar was having difficulty, but 
that solution doesn't help me.  I recently bought a motherboard w/ H67 
chip-set and i5 processor. I managed to purchase it 8 hours before the 
Intel recall was announced - lucky me.

Xorg seems determined to load/run the vesa driver no matter what I do.  I 
gen'd a kernel with i915 DRM support and added i915 to modules to force 
loading.  Here are the DRM entries in config:

CONFIG_DRM=m
CONFIG_DRM_KMS_HELPER=m
CONFIG_DRM_TTM=m
CONFIG_DRM_TDFX=m
CONFIG_DRM_R128=m
CONFIG_DRM_RADEON=m
CONFIG_DRM_RADEON_KMS=y
CONFIG_DRM_I810=m
CONFIG_DRM_I830=m
CONFIG_DRM_I915=m
CONFIG_DRM_I915_KMS=y
CONFIG_DRM_MGA=m
CONFIG_DRM_SIS=m
CONFIG_DRM_VIA=m
CONFIG_DRM_SAVAGE=m
# CONFIG_DRM_VMWGFX is not set
CONFIG_DRM_NOUVEAU=m
CONFIG_DRM_NOUVEAU_BACKLIGHT=y
# CONFIG_DRM_NOUVEAU_DEBUG is not set
CONFIG_DRM_I2C_CH7006=m


This kernel produces these boot messages ('grep agp|drm'), but my reading 
suggests I should see more:

[0.728270] Linux agpgart interface v0.103
[7.258235] [drm] Initialized drm 1.1.0 20060810


The vesa driver works fine.  I've since removed it and fbdev trying to 
force the intel choice.  Here's the resulting X.log:

(II) LoadModule: "dri2"
(II) Loading /usr/lib/xorg/modules/extensions/libdri2.so
(II) Module dri2: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 1.1.0
ABI class: X.Org Server Extension, version 2.0
(II) Loading extension DRI2
(==) Matched intel as autoconfigured driver 0
(==) Matched vesa as autoconfigured driver 1
(==) Matched fbdev as autoconfigured driver 2
(==) Assigned the driver to the xf86ConfigLayout
(II) LoadModule: "intel"
(II) Loading /usr/lib/xorg/modules/drivers/intel_drv.so
(II) Module intel: vendor="X.Org Foundation"
compiled for 1.7.7, module version = 2.13.0
Module class: X.Org Video Driver
ABI class: X.Org Video Driver, version 6.0
(II) LoadModule: "vesa"
(WW) Warning, couldn't open module vesa
(II) UnloadModule: "vesa"
(EE) Failed to load module "vesa" (module does not exist, 0)
(II) LoadModule: "fbdev"
(WW) Warning, couldn't open module fbdev
(II) UnloadModule: "fbdev"
(EE) Failed to load module "fbdev" (module does not exist, 0)
(II) intel: Driver for Intel Integrated Graphics Chipsets: i810,
i810-dc100, i810e, i815, i830M, 845G, 854, 852GM/855GM, 865G, 
915G,
E7221 (i915), 915GM, 945G, 945GM, 945GME, Pineview GM, Pineview G,
965G, G35, 965Q, 946GZ, 965GM, 965GME/GLE, G33, Q35, Q33, GM45,
4 Series, G45/G43, Q45/Q43, G41, B43, B43, Clarkdale, Arrandale,
Sandybridge, Sandybridge, Sandybridge, Sandybridge, Sandybridge,
Sandybridge, Sandybridge
(II) Primary Device is: PCI 00@00:02:0
(EE) No devices detected.

Fatal server error:
no screens found

Any advice?  I've got 4 CPU's with nowhere to go.

Steve


-- 
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/201102261312.41072.newsdeb...@jetcity.org



Re: Debian Squeeze Dovecot Sieve

2011-02-26 Thread Erwan David
On 26/02/11 18:06, Michael wrote:
> Anyone got any pointers on installing sieve on Squeeze?
> I downloaded the tarball, and tried to install it, it asked for the
> config file for dovecot, but will not accept /etc/dovecot as a source
> for dovecot.conf
> 
> Is it a case of forgetting about Debians install, and installing the
> whole of dovecot from source?
> 
> Any help Appreciated 

Sieve is a language and the dovecot plugin implementing it, is already
in squeeze

Just enable the sieve plugin in dovecot configuration.


-- 
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/4d69629c.4090...@rail.eu.org



Need to confirm re 'fstab', before rebooting my Squeeze

2011-02-26 Thread PMA

Hi List.

I have installed Squeeze from scratch using a USB stick.
The installer regarded that stick as "/dev/sda".   So the
/etc/fstab that it installed lists my system disk (til now
always "/dev/sda") as "/dev/sdb", and similarly my 2nd
disk (til now "/dev/sdb") as "/dev/sdc".

If I now run 'mount' (with USB stick removed), it names
these devices as I had originally -- system disk '/dev/sda',
secondary '/dev/sdb'.

Meanwhile, /etc/fstab is specifying each device, not as
either of those names, but as a mile-long UUID number.

So my question: When I rebooting, can I safely assume
that, because fstab is using UUIDs and not "/dev/..."(s),
the system won't get confused?

Thanks,
Pete


--
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/4d696263.4040...@aya.yale.edu



Re: [OT] programming Dbus

2011-02-26 Thread Jeffrin Jose
On Fri, Feb 25, 2011 at 08:25:58AM -0600, Hugo Vanwoerkom wrote:
> Anybody tried using dbus as root non-gui like Hal does?

Following link may be helpful for you...
1. http://www.ibm.com/developerworks/linux/library/l-dbus.html

Try using the following files in root mode.
1. http://www.beautifulwork.org/wp-content/uploads/2011/02/dbus-ping-send.c
2. http://www.beautifulwork.org/wp-content/uploads/2011/02/dbus-ping-listen.c

I had compile errors. I have not fixed it. 
You can try it out for yourself.

/Jeffrin

-- 
software engineer.
department of computer science
rajagiri school of engineering and technology.


-- 
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/20110226200441.ga3...@debian.jeff



Re: Lenny-to-Squeeze: ... and no net. (Sorry, reSending)

2011-02-26 Thread PMA

Andrei Popescu wrote:

On Lu, 21 feb 11, 10:01:42, PMA wrote:


I gather from docs that the problem was my ISDN connection which,
after the reboot following "install -udev", Squeeze simply disabled.


I'm not sure what you mean here.


httpd://www.debian.org/releases/stable/i386/ch02s01.en, just before
Sec 2.1.6.1, says "ISDN is supported, but not during the installation".


So I've now on another box downloaded debian-6.0.0-i386-DVD-1-iso
and cat'd it to a usb stick; then on my half-upgraded box mounted the
stick on /media/usbdisk and edited /etc/apt/sources.list to say just
deb file:/media/usbdisk stable main contrib
And now I've run "apt-get update", which responds
Get:1 file: stable Release 900B
  [though] Ign file: ... [the specified components]

At this point, can I safely proceed with "apt-get dist-upgrade"
(the upgrade-doc's first command (4.4.6) after that reboot)?


It's difficult to say, because I don't know if the first DVD has all the
needed packages to upgrade your box to squeeze. Maybe you should post
here the output of 'apt-get dist-upgrade -s' (-s means "simulate").


The DVD need only go far enough to re-establish net access.  Once the
install process finished, I'd continue via the net as originally intended.

But in any case, I have switched tracks here: saved aside all my "stuff",
wiped the system disk clean, installed Squeeze from scratch via the stick,
brought my stuff back -- and Voila!, everything works.

It's tempting to think that this strategy -- where feasible, of course --
would also be preferable for anyone.  Or maybe I was just lucky.

Thanks for your caution.
Pete


Hope this helps,
Andrei



--
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/4d6953d9.3020...@aya.yale.edu



Re: Fontconfig error

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 18:22:21 +, Liam O'Toole wrote:

> On 2011-02-26, Camaleón wrote:

>> The error is clear: either the file should be corrected (unless the
>> user had manually removed or tweaked the original file) or the output
>> error should be properly handled.
> 
> The file concerned is /etc/fonts/local.conf, which was created by the
> OP.

Ah, I see.

I'm now in my lenny box and there is not such a file ("local.conf") under 
"/etc/fonts" directory (I did not make any tweak for the fonts) so I 
thought it was a change of Squeeze.

Then yes, of course. The OP has only to use the proper format for the 
file.

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.2011.02.26.19.07...@gmail.com



Re: Fontconfig error

2011-02-26 Thread Liam O'Toole
On 2011-02-26, Camaleón  wrote:
> On Sat, 26 Feb 2011 17:32:16 +, Liam O'Toole wrote:
>
>> On 2011-02-26, Camaleón wrote:
>
 Now we have just one root element, but that's only a partial solution.
 The file local.conf should itself be a valid and well-formed XML
 document.
>>>
>>> Yes, and that's why I suggested the user to open a bug report, there
>>> are still many unanswered questions on why this error is presented to
>>> the user.
>> 
>> Respectfully, I disagree. If one of the XML documents is invalid then
>> the parser emits an error message. I see no bug here.
>
> The error is clear: either the file should be corrected (unless the user 
> had manually removed or tweaked the original file) or the output error 
> should be properly handled.

The file concerned is /etc/fonts/local.conf, which was created by the
OP.

-- 
Liam O'Toole
Cork, Ireland



-- 
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/slrnimih6t.2hf.liam.p.otoole@dipsy.tubbynet



Re: Three mail server questions

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 12:25:51 -0500, Brad Alexander wrote:

> On Fri, Feb 25, 2011 at 2:03 PM, Camaleón wrote:
> 
>>  > Right, thats what merrimac is doing (managing for the domain). What
>>  > I am
>> not
>> > understanding, is since everything should be going to the mailboxes
>> > on merrimac, why it is trying to contact hornet again. The mail flow,
>> > as I
>> see
>> > it, should be hornet -> merrimac -> local mailbox.
>>
>>
>> I see.
>>
>> "192.168.0.13" is hornet with Postfix setup to relay all the e-mails to
>> merrimac, right? Then something looks wrong at merrimac's Postfix
>> main.cf, it should be setup to directly delivery e-mails and not
>> fowarding them again.
>>
>>
> That is correct. But merrimac is working correctly for the other hosts
> on the network, all in the same range, though the rest are running
> exim4.

So the problem is limited to just one "domain name" (@bar.hornet.com), 
right? The others are working fine?

>> Can you post (or upload to www.pastebin.com) your merrimac's main.cf
>> file? (you can remove/hide any sensible information that file can
>> hold). That way maybe we can get a clue on what's going on.
>>
>>
> Attached below. Also note that all hosts are properly entered in DNS,
> both forward and reverse lookups work.

Ugh... that's a Zimbra setup. I've never worked with Zimbra's Postfix 
(AFAIK, Zimbra uses its own Postfix implementation).

I would start looking at your Zimbra's/Postfix virtual domain 
configuration (that involves "virtual_mailbox_domains", 
"virtual_mailbox_maps", "virtual_alias_maps", "virtual_alias_domains" 
variables) and also into your DNS's config file (MX entries for the 
"bar.com" domain). All of those should point to merrimac's machine as the 
host that manages e-mails for the domain.

You can also make Postfix to be more verbose with the logs by increasing 
the variable "debug_peer_level". Make the change at main.cf, reload the 
service and try to send a message again. Maybe you can get a clue on why 
your Postfix is forwarding the message to the other host.

(Don't forget to restore "the debug_peer_level" to the default value, as 
logs can be very verbose).

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.2011.02.26.18.17...@gmail.com



Squeeze: can Bluetooth headset work without pulseaudio???

2011-02-26 Thread John
 I have used pulseaudio in the past, and it was horrible to install
and understand.  But for a while, I had it working on some machine or
other, with Etch or Lenny (I think).  Sinks, sources, wonderful.  That
machine is long gone.

I recently installed Squeeze/KDE 4.45, and I wanted to use a bluetooth
headset.  My Googling led me to believe that it CAN NOT be done
without pulseaudio.  So I spent hours on getting pulseaudio working,
sometimes, except when it doesn't, and kaffeine freezes, or youtube
goes silent.  If it's not working right, just reboot and it might work
differently for a few minutes.  And, like all linuxers, I hate
rebooting.

I haven't even tried adding the headset yet, because pulseaudio isn't
working, not really.  What I really want to do is rip out all the
pulseaudio stuff and go back to straight ALSA or whatever it was that
was working so well before.

So my FIRST QUESTION, obviously:  Is there ANY way to run Bluetooth
headsets through a USB dongle, without pulseaudio, on Squeeze/KDE4.  I
figure if it's impossible, then choosing between using pulseaudio and
doing the impossible, I have to go with pulseaudio, but it's a close
call.

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



Re: Fontconfig error

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 17:32:16 +, Liam O'Toole wrote:

> On 2011-02-26, Camaleón wrote:

>>> Now we have just one root element, but that's only a partial solution.
>>> The file local.conf should itself be a valid and well-formed XML
>>> document.
>>
>> Yes, and that's why I suggested the user to open a bug report, there
>> are still many unanswered questions on why this error is presented to
>> the user.
> 
> Respectfully, I disagree. If one of the XML documents is invalid then
> the parser emits an error message. I see no bug here.

The error is clear: either the file should be corrected (unless the user 
had manually removed or tweaked the original file) or the output error 
should be properly handled.

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.2011.02.26.17.47...@gmail.com



Re: Sync KOrganizer - Google Calendar

2011-02-26 Thread Bernd Kloss
Am Samstag, 26. Februar 2011 schrieb Petrus Validus:
> >  how to sync KOrganizer with Google Calendar? Both ways?
> 
> What have you tried so far?

I found:
http://soft.zoneo.net/Linux/ggcal_and_kontact.php
but was not sure, if this was a good way for me, since this is Mandravia.

In Debian there is a gcal, but this seems to be something on its own and not 
supporting KOrganizer or Google Calendar.

On the other hand I tried to add a calendar in Google and tried to connect it 
to my KOrganizer. Still working on that.

Regards 
Bernd


-- 
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/201102261837.43197.b_kl...@web.de



Re: Fontconfig error

2011-02-26 Thread Liam O'Toole
On 2011-02-26, Camaleón  wrote:
> On Sat, 26 Feb 2011 16:15:51 +, Liam O'Toole wrote:
>
>> On 2011-02-26, Camaleón wrote:
>
>>> You can open a new report, I also think the error is about "local.conf"
>>> formatting that XML parser does not like. The error you are getting is
>>> gone if you enclose the whole XML file inside a parent tag, i.e.,:
>>>
>>>
>>>
>>> (...)
>>>
>>>
>>>
>>> That way it shouldn't complain, but obviosly, that's no a solution.
>> 
>> Now we have just one root element, but that's only a partial solution.
>> The file local.conf should itself be a valid and well-formed XML
>> document.
>
> Yes, and that's why I suggested the user to open a bug report, there are 
> still many unanswered questions on why this error is presented to the 
> user.

Respectfully, I disagree. If one of the XML documents is invalid then
the parser emits an error message. I see no bug here.

-- 
Liam O'Toole
Cork, Ireland



-- 
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/slrnimie90.2hf.liam.p.otoole@dipsy.tubbynet



Re: Three mail server questions

2011-02-26 Thread Brad Alexander
On Fri, Feb 25, 2011 at 2:03 PM, Camaleón  wrote:

>  > Right, thats what merrimac is doing (managing for the domain). What I am
> not
> > understanding, is since everything should be going to the mailboxes on
> > merrimac, why it is trying to contact hornet again. The mail flow, as I
> see
> > it, should be hornet -> merrimac -> local mailbox.
>
>
> I see.
>
> "192.168.0.13" is hornet with Postfix setup to relay all the e-mails to
> merrimac, right? Then something looks wrong at merrimac's Postfix
> main.cf, it should be setup to directly delivery e-mails and not
> fowarding them again.
>

That is correct. But merrimac is working correctly for the other hosts on
the network, all in the same range, though the rest are running exim4.


> Can you post (or upload to www.pastebin.com) your merrimac's main.cf
> file? (you can remove/hide any sensible information that file can
> hold). That way maybe we can get a clue on what's going on.
>

Attached below. Also note that all hosts are properly entered in DNS, both
forward and reverse lookups work.


header_checks =
virtual_mailbox_domains = proxy:ldap:/opt/zimbra/conf/ldap-vmd.cf
delay_warning_time = 0h
minimal_backoff_time = 300s
always_add_missing_headers = yes
broken_sasl_auth_clients = yes
mailbox_size_limit = 0
recipient_delimiter =
non_smtpd_milters =
smtpd_milters =
lmtp_connection_cache_destinations =
virtual_mailbox_maps = proxy:ldap:/opt/zimbra/conf/ldap-vmm.cf
lmtp_host_lookup = dns
virtual_alias_maps = proxy:ldap:/opt/zimbra/conf/ldap-vam.cf
smtpd_client_restrictions = reject_unauth_pipelining
bounce_queue_lifetime = 5d
sender_canonical_maps = proxy:ldap:/opt/zimbra/conf/ldap-scm.cf
policy_time_limit = 3600
smtpd_tls_loglevel = 1
transport_maps = proxy:ldap:/opt/zimbra/conf/ldap-transport.cf
smtpd_sasl_auth_enable = yes
bounce_notice_recipient = postmaster
command_directory = /opt/zimbra/postfix/sbin
content_filter = smtp-amavis:[127.0.0.1]:10024
queue_directory = /opt/zimbra/data/postfix/spool
relayhost =
alias_maps = hash:/etc/aliases
daemon_directory = /opt/zimbra/postfix/libexec
smtpd_data_restrictions = reject_unauth_pipelining
sendmail_path = /opt/zimbra/postfix/sbin/sendmail
smtpd_reject_unlisted_recipient = no
propagate_unmatched_extensions = canonical
maximal_backoff_time = 4000s
lmtp_connection_cache_time_limit = 4s
mail_owner = postfix
smtpd_tls_cert_file = /opt/zimbra/conf/smtpd.crt
smtpd_tls_auth_only = yes
myhostname = merrimac.bar.com
smtpd_tls_security_level = may
local_header_rewrite_clients = permit_mynetworks,permit_sasl_authenticated
virtual_transport = error
smtpd_helo_required = yes
newaliases_path = /opt/zimbra/postfix/sbin/newaliases
smtpd_sender_restrictions =
manpage_directory = /opt/zimbra/postfix/man
disable_dns_lookups = no
in_flow_delay = 1s
notify_classes = resource,software
smtpd_sasl_authenticated_header = no
mailq_path = /opt/zimbra/postfix/sbin/mailq
smtpd_tls_key_file = /opt/zimbra/conf/smtpd.key
message_size_limit = 1024
mydestination = localhost
virtual_alias_domains = proxy:ldap://opt/zimbra/conf/ldap-vad.cf
mynetworks = 127.0.0.0/8 192.168.1.0/24 172.31.1.0/24
smtpd_recipient_restrictions = reject_non_fqdn_recipient,
permit_sasl_authenticated, permit_mynetworks, reject_unauth_destination,
reject_unlisted_recipient, reject_invalid_hostname, reject_non_fqdn_sender,
permit
setgid_group = postdrop
queue_run_delay = 300s


Debian Squeeze Dovecot Sieve

2011-02-26 Thread Michael
Anyone got any pointers on installing sieve on Squeeze?
I downloaded the tarball, and tried to install it, it asked for the
config file for dovecot, but will not accept /etc/dovecot as a source
for dovecot.conf

Is it a case of forgetting about Debians install, and installing the
whole of dovecot from source?

Any help Appreciated 
-- 
Michael 


-- 
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/1298740005.3781.4.camel@michael-laptop



Re: Sync KOrganizer - Google Calendar

2011-02-26 Thread Petrus Validus
>  how to sync KOrganizer with Google Calendar? Both ways?

What have you tried so far?

-- 
Petrus Validus
petrus.vali...@gmail.com

If there isn't a way, I make one.


-- 
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/20110226173404.GA7694@Neuron.8EEWS



Re: Sync KOrganizer - Google Calendar

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 14:58:08 +0100, Bernd Kloss wrote:

> Squeeze
> KDE 4.4.5
> 
> Hello,
> 
>  how to sync KOrganizer with Google Calendar? Both ways?

Are you facing any concrete error or limitation? I think you need an iCal 
v4 compatible client.

This thread may help:

Google Calendar and KOrganizer 
http://www.google.com.mt/support/forum/p/Calendar/thread?tid=27549e792d84bc3a&hl=en

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.2011.02.26.17.14...@gmail.com



Re: Fontconfig error

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 16:15:51 +, Liam O'Toole wrote:

> On 2011-02-26, Camaleón wrote:

>> You can open a new report, I also think the error is about "local.conf"
>> formatting that XML parser does not like. The error you are getting is
>> gone if you enclose the whole XML file inside a parent tag, i.e.,:
>>
>>
>>
>> (...)
>>
>>
>>
>> That way it shouldn't complain, but obviosly, that's no a solution.
> 
> Now we have just one root element, but that's only a partial solution.
> The file local.conf should itself be a valid and well-formed XML
> document.

Yes, and that's why I suggested the user to open a bug report, there are 
still many unanswered questions on why this error is presented to the 
user.

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.2011.02.26.17.00...@gmail.com



Re: Fontconfig error

2011-02-26 Thread Liam O'Toole
On Sat, 26 Feb, 2011 at 21:32:41 +0800, wolf python london wrote:
> On 26 February 2011 17:48, Liam O'Toole  wrote:
> > On 2011-02-26, wolf python london  wrote:
> >> Hey all:
> >>
> >> I'm using Debian Squeeze .When I open a gvim from the terminal ,I get an 
> >> error
> >>
> >> Fontconfig error: "local.conf", line 6: junk after document element
> >>
> >>
> >> I check the /etc/fonts/local.conf and cannot find what's worong .
> >> I put the local.conf here(https://gist.github.com/845078)
> >>
> >> can someone give a tip?
> >>
> >> thanks a lot !
> >
> > That document is an XML fragment rather than a valid XML document. Wrap
> > the fragments like this:
> >
> > 
> > 
> > 
> >        
> > 
> >
> 
> thank you  for reply , Liam , but I think it should be a fragment ,
> 'cause in the /etc/fonts/local.d/51-local.conf ,it is like this :
> 
> 
> 
> 
>   
>   local.conf
> 
> 
> If I add the the  wrapper , is it verbose?

I think it is required. The file /etc/fonts/fons.conf is a valid and
well-formed XML document. That file includes each of the files in
/etc/fonts/conf.d/, each of which is in turn a valid and well-formed XML
document. And so on ...

You are not the first to describe XML as "verbose" :-)

(re-sent to the 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/20110226162108.GL2590@dipsy.tubbynet



Re: Fontconfig error

2011-02-26 Thread Liam O'Toole
On 2011-02-26, Camaleón  wrote:
> El 2011-02-26 a las 21:36 +0800, wolf python london escribió:
>
> (resending to the list)
>
>> On 26 February 2011 21:09, Camaleón wrote:
>
>> >> Fontconfig error: "local.conf", line 6: junk after document element
>> >>
>> >>
>> >> I check the /etc/fonts/local.conf and cannot find what's worong . I put
>> >> the local.conf here(https://gist.github.com/845078)
>> >>
>> >> can someone give a tip?
>> >
>> > Unless you experience any problem within the app, looks like a "cosmetic"
>> > error coming from the XML parser. Just ignore the warning or report it.
>> >
>> I do find a bug report here
>> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326984)
>> but it seems no result at last .
>
> Look ate the first message:
>
> ***
> Few tests revealed local.conf can have only one alias tag inside. why?
> This problem (bug?) maybe should be in separate bug report,
> ***
>
> And I think he is right.
>

The XML parser expects (by definition) only one root element. Perfectly
reasonable, you might say.

> You can open a new report, I also think the error is about "local.conf" 
> formatting that XML parser does not like. The error you are getting is 
> gone if you enclose the whole XML file inside a parent tag, i.e.,:
>
>
>
> (...)
>
>
>
> That way it shouldn't complain, but obviosly, that's no a solution.

Now we have just one root element, but that's only a partial solution.
The file local.conf should itself be a valid and well-formed XML
document.

>
> Greetings,
>
> -- 
> Camaleón 
>
>


-- 
Liam O'Toole
Cork, Ireland



-- 
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/slrnimi9pn.2hf.liam.p.otoole@dipsy.tubbynet



Re: bash variables

2011-02-26 Thread T o n g
On Fri, 25 Feb 2011 14:21:27 -0800, Mike McClain wrote:

> the following command lists (along with everything else)
>  2 *.deb files in /home/mike/
> 
> root@/deb40a:~> FIND1="-maxdepth 1 -type f -print -name '*'"; \
> GREP="-v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'"; \ find /home/mike/
> $FIND1 | grep $GREP ;
> 
> while without variables;
> root@/deb40a:~> find /home/mike/ -maxdepth 1 -type f -print -name '*' |
> grep -v '\.\(deb\|gz\|tgz\|bz2\|tbz\|zip\)$'
> does not list the 2 *.deb files.

Shouldn't be. Are you sure you are posting exactly as what you are doing 
without omitting anything else?

-- 
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/ikb5kj$m8l$3...@dough.gmane.org



one-line html post

2011-02-26 Thread T o n g

one-line html post

-- 
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/ikb56e$m8l$2...@dough.gmane.org



Re: ssh connection problem, DNS and ~/.ssh/config (long)

2011-02-26 Thread T o n g
Thanks a lot for your answer, elbbit. 

On Fri, 25 Feb 2011 07:44:27 +, elbbit wrote:

>>  /etc/init.d/ssh restart
> 
> This method normally includes /etc/ssh/sshd_config when it starts the
> sshd binary.  The directive you are looking for in the file is probably
> "PermitRootLogin yes".  Adding or changing this entry in the sshd_config
> file will enable you to log in remotely as the root user.

Thanks, I double checked, and it *is* turned on (in the remote host), as 
always:

% grep PermitRootLogin /etc/ssh/sshd_config
PermitRootLogin yes

>> [1] sudo ssh -C -A -X maroon
> 
> FYI, this can also been accomplished as "ssh -l root -CAX maroon" or
> even as "ssh -CAX root@maroon".

Thanks for the tip. I setup and use sudo ssh mechanism instead because I 
also need it for scp and rsync transferring files that is not readable to 
me. 

OK, back to the problem. I dig deeper following your tips, using non-root 
user instead, and now it seems to be much more complicated than I ever 
seen before. In OP, I *simplified* my question, and now I need to 
describe exactly my situation.  

In summary, 

- I'm using the  ~/.ssh/config file for remote host connection
- my sshd is listening on port 21
- remote host is named maroon, and client is named coral

Now the problem in summary, 

- using hostname for remote host NOK.
- using ~/.ssh/config file NOK.

Here are the details (long!). 

Problem #1, using hostname for remote host NOK

  tong@coral:~$ ssh -C -A -X -p 21 -o 
UserKnownHostsFile=/tmp/32083.tmpf.32124.uknf maroon -v
  OpenSSH_5.5p1 Debian-4ubuntu4, OpenSSL 0.9.8o 01 Jun 2010
  debug1: Reading configuration data /home/tong/.ssh/config
  debug1: Reading configuration data /etc/ssh/ssh_config
  debug1: Applying options for *
  debug1: Connecting to maroon [::1] port 21.
  debug1: Connection established.
  debug1: identity file /home/tong/.ssh/id_rsa type 1
  debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-1024
  debug1: Checking blacklist file /etc/ssh/blacklist.RSA-1024
  debug1: identity file /home/tong/.ssh/id_rsa-cert type -1
  debug1: identity file /home/tong/.ssh/id_dsa type 2
  debug1: Checking blacklist file /usr/share/ssh/blacklist.DSA-1024
  debug1: Checking blacklist file /etc/ssh/blacklist.DSA-1024
  debug1: identity file /home/tong/.ssh/id_dsa-cert type -1
  debug1: Remote protocol version 2.0, remote software version OpenSSH_5.5p1 
Debian-4ubuntu4
  debug1: match: OpenSSH_5.5p1 Debian-4ubuntu4 pat OpenSSH*
  debug1: Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_5.5p1 Debian-4ubuntu4
  debug1: SSH2_MSG_KEXINIT sent
  debug1: SSH2_MSG_KEXINIT received
  debug1: kex: server->client aes128-ctr hmac-md5 z...@openssh.com
  debug1: kex: client->server aes128-ctr hmac-md5 z...@openssh.com
  debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
  debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  debug1: Host '[maroon]:21' is known and matches the RSA host key.
  debug1: Found key in /tmp/32083.tmpf.32124.uknf:1
  debug1: ssh_rsa_verify: signature correct
  debug1: SSH2_MSG_NEWKEYS sent
  debug1: expecting SSH2_MSG_NEWKEYS
  debug1: SSH2_MSG_NEWKEYS received
  debug1: Roaming not allowed by server
  debug1: SSH2_MSG_SERVICE_REQUEST sent
  debug1: SSH2_MSG_SERVICE_ACCEPT received
  debug1: Authentications that can continue: publickey
  debug1: Next authentication method: publickey
  debug1: Offering public key: /home/tong/.ssh/id_rsa
  debug1: Server accepts key: pkalg ssh-rsa blen 149
  debug1: Enabling compression at level 6.
  debug1: Authentication succeeded (publickey).
  debug1: channel 0: new [client-session]
  debug1: Requesting no-more-sessi...@openssh.com
  debug1: Entering interactive session.
  debug1: Requesting X11 forwarding with authentication spoofing.
  debug1: Requesting authentication agent forwarding.
  debug1: Sending environment.
  debug1: Sending env LANG = C
  Linux coral 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 
x86_64 GNU/Linux
  Ubuntu 10.10

I.e., instead of connecting to remote host maroon, the ssh session
connected to my local host (coral) instead (using IPV6?). This is so weird, I
never see this before. How could it be? DNS name look up seems to be fine:

  tong@coral:~$ dig maroon

  ; <<>> DiG 9.7.1-P2 <<>> maroon
  ;; global options: +cmd
  ;; Got answer:
  ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19913
  ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

  ;; QUESTION SECTION:
  ;maroon.IN  A

  ;; ANSWER SECTION:
  maroon. 0   IN  A   192.168.2.100

  ;; Query time: 0 msec
  ;; SERVER: 192.168.2.100#53(192.168.2.100)
  ;; WHEN: Sat Feb 26 09:22:39 2011
  ;; MSG SIZE  rcvd: 40

  tong@coral:~$ ping maroon
  PING maroon.my.local.domain (192.168.2.100) 56(84) bytes of data.
  64 bytes from maroon.my.local.domain (192

Re: Fontconfig error

2011-02-26 Thread Camaleón
El 2011-02-26 a las 21:36 +0800, wolf python london escribió:

(resending to the list)

> On 26 February 2011 21:09, Camaleón wrote:

> >> Fontconfig error: "local.conf", line 6: junk after document element
> >>
> >>
> >> I check the /etc/fonts/local.conf and cannot find what's worong . I put
> >> the local.conf here(https://gist.github.com/845078)
> >>
> >> can someone give a tip?
> >
> > Unless you experience any problem within the app, looks like a "cosmetic"
> > error coming from the XML parser. Just ignore the warning or report it.
> >
> I do find a bug report here
> (http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=326984)
> but it seems no result at last .

Look ate the first message:

***
Few tests revealed local.conf can have only one alias tag inside. why?
This problem (bug?) maybe should be in separate bug report,
***

And I think he is right.

You can open a new report, I also think the error is about "local.conf" 
formatting that XML parser does not like. The error you are getting is 
gone if you enclose the whole XML file inside a parent tag, i.e.,:



(...)



That way it shouldn't complain, but obviosly, that's no a solution.

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/20110226144009.gb5...@stt008.linux.site



Re: Plugin Flash Player for sparc ?

2011-02-26 Thread Nix
HI Andrei,

Thank to your answer, I've install this software and I think also that
is the best solution until a flash plugin does not exists on sparc
distributions.

But if i've found a plugin solution works on Debian Lenny, i send you
back news about this way.

Best regards.

Nicolas.


Le mardi 22 février 2011 à 14:57 +0200, Andrei Popescu a écrit :
> free flash player gnash


-- 
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/1298731084.2790.12.camel@Sunsparc



Re: setting parameters of disc /dev/sda failed .

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 14:01:03 +0100, Klistvud wrote:

> Dne, 26. 02. 2011 12:18:21 je Camaleón napisal(a):

>> I looked at "/etc/default/hdparm" but there is no variable to "enable/
>> disable" the service so I'm afraid if you want to completely turn it
>> off,
>> you need to remove the program or just keep the default parameters (all
>> settings commented "#" as you did).
>> 
> 
> Well, there *is* a hdparm script inside /etc/init.d, so it apparently
> does run as a daemon of some sort. AFAIK it's configured through
> /etc/hdparm.conf, but it should be at least possible to stop it via
> /etc/init.d/hdparm stop ...

That's not enough. The point is how to avoid it is even launched/executed 
on booting. 

No, this is not a standard daemonized app/script, it is started at 
runlevel "S" (single-user mode).

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.2011.02.26.14.12...@gmail.com



Sync KOrganizer - Google Calendar

2011-02-26 Thread Bernd Kloss
Squeeze
KDE 4.4.5

Hello,

 how to sync KOrganizer with Google Calendar? Both ways?


Thanks for any help.
Bernd


-- 
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/201102261458.08128.b_kl...@web.de



dhcpd tftp boot server configuration

2011-02-26 Thread urpion urpion
Hello! I need some help configuring the isc-dhcp-server to serve squeeze boot images with tftp. The machine I want to serve with is an old PowerBook running squeeze. The client is an eMac. The network is private (not connected to the internet in any way. I have a router, but I may just use a crossover cabel. I'm not very good with networking. I'm not sure what to put for the domain-name option. Do I make this up? Do I need a DNS server like Bind, or will something in /etc/resolve.conf suffice?. The installation manual doesn't say anything about using a DNS server. Is the server-name the host name of the server? And am I defining the client host name in the host declaration?here's what I got in /etc/dhcp/dhcpd.conf## Sample configuration file for ISC dhcpd for Debian### The ddns-updates-style parameter controls whether or not the server will# attempt to do a DNS update when a lease is confirmed. We default to the# behavior of the version 2 packages ('none', since DHCP v2 didn't# have support for DDNS.)ddns-update-style none;# option definitions common to all supported networks...option domain-name "local";option domain-name-servers 192.168.1.254; #ns1.magnet.org, ns2.magnet.org;option subnet-mask 255.255.255.0;option broadcast-address 192.168.1.255;server-name "macro";default-lease-time 600;max-lease-time 7200;subnet 192.168.1.0 netmask 255.255.255.0 {  range 192.168.1.10 192.168.1.100;  option routers 192.168.1.1;}host emac {  filename "yaboot";  server-name "macro";  next-server macro;  hardware ethernet 00:0a:95:c2:30:54;  fixed-address 192.168.1.10;}# If this DHCP server is the official DHCP server for the local# network, the authoritative directive should be uncommented.# authoritative;# Use this to send dhcp log messages to a different log file (you also# have to hack syslog.conf to complete the redirection).# log-facility local7;# No service will be given on this subnet, but declaring it helps the # DHCP server to understand the network topology.#subnet 10.152.187.0 netmask 255.255.255.0 {#}# This is a very basic subnet declaration.# subnet 10.254.239.0 netmask 255.255.255.224 {#   range 10.254.239.10 10.254.239.20;#  option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;}# This declaration allows BOOTP clients to get dynamic addresses,# which we don't really recommend.#subnet 10.254.239.32 netmask 255.255.255.224 {#  range dynamic-bootp 10.254.239.40 10.254.239.60;#  option broadcast-address 10.254.239.31;#  option routers rtr-239-32-1.example.org;#}# A slightly different configuration for an internal subnet.#subnet 10.5.5.0 netmask 255.255.255.224 {#  range 10.5.5.26 10.5.5.30;#  option domain-name-servers ns1.internal.example.org;#  option domain-name "internal.example.org";#  option routers 10.5.5.1;#  option broadcast-address 10.5.5.31;#  default-lease-time 600;#  max-lease-time 7200;#}# Hosts which require special configuration options can be listed in# host statements.   If no address is specified, the address will be# allocated dynamically (if possible), but the host-specific information# will still come from the host declaration.#host passacaglia {#  hardware ethernet 0:0:c0:5d:bd:95;#  filename "vmunix.passacaglia";#  server-name "toccata.fugue.com";#}# Fixed IP addresses can also be specified for hosts.   These addresses# should not also be listed as being available for dynamic assignment.# Hosts for which fixed IP addresses have been specified can boot using# BOOTP or DHCP.   Hosts for which no fixed address is specified can only# be booted with DHCP, unless there is an address range on the subnet# to which a BOOTP client is connected which has the dynamic-bootp flag# set.#host fantasia {#  hardware ethernet 08:00:07:26:c0:a5;#  fixed-address fantasia.fugue.com;#}# You can declare a class of clients and then do address allocation# based on that.   The example below shows a case where all clients# in a certain class get addresses on the 10.17.224/24 subnet, and all# other clients get addresses on the 10.0.29/24 subnet.#class "foo" {#  match if substring (option vendor-class-identifier, 0, 4) = "SUNW";#}#shared-network 224-29 {#  subnet 10.17.224.0 netmask 255.255.255.0 {#    option routers rtr-224.example.org;#  }#  subnet 10.0.29.0 netmask 255.255.255.0 {#    option routers rtr-29.example.org;#  }#  pool {#    allow members of "foo";#    range 10.17.224.10 10.17.224.250;#  }#  pool {#    deny members of "foo";#    range 10.0.29.10 10.0.29.230;#  }#}... and my syslog has this:Feb 26 16:30:35 macro dhcpd: /etc/dhcp/dhcpd.conf line 33: expecting a declarationFeb 26 16:30:35 macro dhcpd: #  option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;Feb 26 16:30:35 macro dhcpd:  ^Feb 26 16:30:35 macro dhcpd: Configuration file errors encountered -- exitingFeb 26 16:30:35 macro dhcpd: Internet Systems Consortium DHCP Server 4.1.1-P1Feb 26 16:30:35 macro dhcpd: Copyright 2004-2010 Internet Systems Consortium.Feb 26 16:30:35 macro dhcpd: All rights reserved.Feb 26 16:30:35 macro dh

Re: Sound lost - SOLVED

2011-02-26 Thread Anthony Campbell
On 24 Feb 2011, Anthony Campbell wrote:


Well, in the end it was the sound card. I replaced it with a new one and
sound is now working again. Thanks to everyone for help.

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/20110226132930.ga2...@acampbell.org.uk



Re: Fontconfig error

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 17:39:25 +0800, wolf python london wrote:

> I'm using Debian Squeeze .When I open a gvim from the terminal ,I get an
> error
> 
> Fontconfig error: "local.conf", line 6: junk after document element
> 
> 
> I check the /etc/fonts/local.conf and cannot find what's worong . I put
> the local.conf here(https://gist.github.com/845078)
> 
> can someone give a tip?

Unless you experience any problem within the app, looks like a "cosmetic" 
error coming from the XML parser. Just ignore the warning or report 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.2011.02.26.13.09...@gmail.com



Re: setting parameters of disc /dev/sda failed .

2011-02-26 Thread Klistvud

Dne, 26. 02. 2011 12:18:21 je Camaleón napisal(a):

On Sat, 26 Feb 2011 12:33:16 +0800, waterloo wrote:

> I delete below in /etc/hdparm.conf , it is now ok.
>
>> /dev/sda {
>>apm = 254
>>spindown_time = 60
>>dma = on
>> }

Good.

> But why did  "cancelling in 'Services' config" not work ? Thanks

Maybe because the application does not run as daemon but sets the  
defined

parameters when the system boots.

I looked at "/etc/default/hdparm" but there is no variable to "enable/
disable" the service so I'm afraid if you want to completely turn it  
off,
you need to remove the program or just keep the default parameters  
(all

settings commented "#" as you did).

Greetings,

--
Camaleón


Well, there *is* a hdparm script inside /etc/init.d, so it apparently  
does run as a daemon of some sort. AFAIK it's configured through  
/etc/hdparm.conf, but it should be at least possible to stop it via  
/etc/init.d/hdparm stop ...


--
Cheerio,

Klistvud  
http://bufferoverflow.tiddlyspot.com
Certifiable Loonix User #481801  Please reply to the list, not to  
me.



--
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/1298725264.21934.0@compax



Re: Reading later boot files failed

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 13:00:10 +0800, waterloo wrote:

> when boot , I see an error : Reading later boot files failed . What is
> the matter ?

Enable boot log and send it here.

In "/etc/default/bootlogd" file you have to set "BOOTLOGD_ENABLE=Yes". 
Reboot and review /var/log/boot.

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.2011.02.26.12.00...@gmail.com



Re: Suspend to disk fails after Squeeze upgrade

2011-02-26 Thread Camaleón
On Fri, 25 Feb 2011 10:56:26 -0800, Richard Lawrence wrote:

> Thanks, Camaleón, for these suggestions.
> 
>> Make a quick and easy test: create a new user and try to
>> hibernate/resume from there and see how it goes.
> 
> Ok, here's where I'm at:
> 
> 1) A new user (pmtest) can indeed hibernate and resume from the console
> without issue
> 
> 2) My regular user account (rwl) can hibernate and resume from the
> console without issue

Humm... the fact that you can hibernate/resume fine when you trigger the
command from console can be "relevant" but I cannot see the reason.

Look, if we read this doc:

http://wiki.debian.org/Suspend

It seems that when using (when it's installed) "pm-utils", and you 
trigger the hibernation command from any of the menus, pm-utils is 
called, the same way as you do when running from command line. So I don't 
know what can make the difference here :-?

When you run the pm-suspend command, were you in a tty or X console?

> 3) pmtest can hibernate the system from within Gnome in X, but a kernel
> error results on resume -- though the system recovers.  Details below.

(...)

> Kernel failure message 1:
> BUG: unable to handle kernel paging request at a63b404f 
> IP: [<08a5bc0a>] 0x8a5bc0a
> *pde = 
> Oops: 0002 [#1] SMP
(...)
> Pid: 2925, comm: pm-hibernate Not tainted (2.6.32-5-686 #1) 
(...)
> <0> eede2800 7bbf 20200a00 206c6e20 Call Trace:
> Code:  Bad EIP value.
> EIP: [<08a5bc0a>] 0x8a5bc0a SS:ESP 0068:de02ffcf CR2: a63b404f
> ---[ end trace 0e93aec76eafb3ca ]---

Thanks for the detailed logs :-)

I'd say that's good.

Well, no kernel oops is "good" but if you can reproduce this kernel bug 
every time you trigger the hibernation from GNOME when resuming the 
system, at least you can open a bug for this in Debian BTS. You are 
clearly having some sort of problem with the kernel.

OTOH, because of the weird behaviour you are experiencing with the delay 
on booting, I would also look for any BIOS update.

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.2011.02.26.11.49...@gmail.com



Re: setting parameters of disc /dev/sda failed .

2011-02-26 Thread Camaleón
On Sat, 26 Feb 2011 12:33:16 +0800, waterloo wrote:

> I delete below in /etc/hdparm.conf , it is now ok.
> 
>> /dev/sda {
>>apm = 254
>>spindown_time = 60
>>dma = on
>> }

Good.

> But why did  "cancelling in 'Services' config" not work ? Thanks

Maybe because the application does not run as daemon but sets the defined 
parameters when the system boots. 

I looked at "/etc/default/hdparm" but there is no variable to "enable/
disable" the service so I'm afraid if you want to completely turn it off, 
you need to remove the program or just keep the default parameters (all 
settings commented "#" as you did).

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.2011.02.26.11.18...@gmail.com



Re: dd or cp over network: should I use scp?

2011-02-26 Thread Andrei Popescu
On Sb, 26 feb 11, 01:49:51, Dotan Cohen wrote:
> 
> I don't have numbers either, but POP3/IMAP/SMTP is certainly rare in
> the under-30 crowd. Rare, as in they don't even know that options
> exists, and don't understand how one could have email but not have
> access to it from any web browser.

I agree with the first part, but you're making it sound like 
POP3/IMAP4/SMTP is excluding webmail ;)

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: Fontconfig error

2011-02-26 Thread Liam O'Toole
On 2011-02-26, wolf python london  wrote:
> Hey all:
>
> I'm using Debian Squeeze .When I open a gvim from the terminal ,I get an error
>
> Fontconfig error: "local.conf", line 6: junk after document element
>
>
> I check the /etc/fonts/local.conf and cannot find what's worong .
> I put the local.conf here(https://gist.github.com/845078)
>
> can someone give a tip?
>
> thanks a lot !

That document is an XML fragment rather than a valid XML document. Wrap
the fragments like this:







-- 
Liam O'Toole
Cork, Ireland



-- 
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/slrnimhj2i.2hf.liam.p.otoole@dipsy.tubbynet



Re: allow ^C to interrupt /etc/rc.local

2011-02-26 Thread jidanni
OK, thanks everybody. I came up with a workaround since ^C doesn't interrupt:
$ tail /etc/rc.local
echo " $0:
Will execute \"${program=/etc/init.d/nodm start}\" in ${seconds=5} seconds.
  Hit some chars and RET to cancel.
  Hit RET to start right away."
for ((; seconds > 0; seconds--))
do
read -p $seconds.. -t 1
case $? in 0) #they hit RET...
case $REPLY in
'') break  ;; #...with no other chars
*)  exit 44;; #...with other chars
esac;;
esac
done
echo running $program...
$program


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



Fontconfig error

2011-02-26 Thread wolf python london
Hey all:

I'm using Debian Squeeze .When I open a gvim from the terminal ,I get an error

Fontconfig error: "local.conf", line 6: junk after document element


I check the /etc/fonts/local.conf and cannot find what's worong .
I put the local.conf here(https://gist.github.com/845078)

can someone give a tip?

thanks a lot !
-- 

wolf python london(WPL)
Do as you soul should 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/AANLkTi=fcg_vmqp50rb6ao2wvbb6xg4eot9-8k7yw...@mail.gmail.com