Re: are these hacks?

2009-04-09 Thread Harry Rickards



On 9 Apr 2009, at 17:40, Rick Pasotto r...@niof.net wrote:


On Thu, Apr 09, 2009 at 05:29:26PM +0100, Harry Rickards wrote:


On 9 Apr 2009, at 17:20, Rick Pasotto r...@niof.net wrote:


Occasionally on some websites I visit daily I'll get one of two
incorrect results:

1) The home page for www.sogosearch.com
2) A page with nothing but the words It works! on it

There is no pattern. It could happen on a refresh of a page or when
going to another page on the site. Often refreshing the page a  
minute

or
so later produces the correct results.

It seems that the sogosearch may be dns related but what could be
causing the second?


The it works message is the default message for an apache install.  
That
could also be DNS redirecting your queries to 127.0.0.1. What  
happens if

you type cat /etc/resolv.conf in a terminal?


#OpenDNS
nameserver 208.67.222.222
nameserver 208.67.220.220
#Speakeasy
nameserver 216.27.175.2
nameserver 216.231.41.2

Is OpenDNS having a problem?

--
[A]ny group is weaker than a man alone unless
they are perfectly trained to work together.
   -- Robert Anson Heinlein 1959 _StarShip Troopers_
   Rick Pasottor...@niof.nethttp://www.niof.net






I don't think OpenDNS are having a problem, and they're usually pretty  
reliable. As John says, it may just be that the sites you're trying to  
visit are still setting up Apace. Have you got any URLs for us to test?


Thanks
Harry


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




Re: are these hacks?

2009-04-09 Thread Harry Rickards


Quoting Rick Pasotto r...@niof.net:


On Thu, Apr 09, 2009 at 06:07:59PM +0100, Harry Rickards wrote:



On 9 Apr 2009, at 17:40, Rick Pasotto r...@niof.net wrote:


On Thu, Apr 09, 2009 at 05:29:26PM +0100, Harry Rickards wrote:


On 9 Apr 2009, at 17:20, Rick Pasotto r...@niof.net wrote:


Occasionally on some websites I visit daily I'll get one of two
incorrect results:

1) The home page for www.sogosearch.com
2) A page with nothing but the words It works! on it

There is no pattern. It could happen on a refresh of a page or when
going to another page on the site. Often refreshing the page a
minute
or
so later produces the correct results.

It seems that the sogosearch may be dns related but what could be
causing the second?


The it works message is the default message for an apache install.
That
could also be DNS redirecting your queries to 127.0.0.1. What
happens if
you type cat /etc/resolv.conf in a terminal?


#OpenDNS
nameserver 208.67.222.222
nameserver 208.67.220.220
#Speakeasy
nameserver 216.27.175.2
nameserver 216.231.41.2

Is OpenDNS having a problem?



I don't think OpenDNS are having a problem, and they're usually pretty
reliable. As John says, it may just be that the sites you're trying to
visit are still setting up Apace. Have you got any URLs for us to test?


Perhaps you should re-read my original message. These are sites that
I've visited daily for several years.



Ok. Have you got any URLs so we can see if they're working for us?

Thanks
Harry


--
Contact information at l33tmyst.mp
--
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




Re: How do the pros keep up with the latest kernel?

2009-04-08 Thread Harry Rickards


Quoting Hugo Vanwoerkom hvw59...@care2.com:


Stefan Monnier wrote:
-bash: http://packages.debian.org/sid/linux-image-2.6.26-1-686: No  
such file

or directory


As long as you keep `stable' in your /etc/apt/sources.list file, that
shouldn't be a problem.


h...@debian:~$ http://packages.debian.org/lenny/linux-image-2.6.26-1-686
-bash: http://packages.debian.org/lenny/linux-image-2.6.26-1-686: No  
such file or directory

h...@debian:~$ http://packages.debian.org/stable/linux-image-2.6.26-1-686
-bash: http://packages.debian.org/stable/linux-image-2.6.26-1-686:  
No such file or directory


Hugo


Are you trying to download the file? If so you need to put wget or  
curl before the url, otherwise bash tries to run the URL as a command.


Thanks
Harry



--
Contact information at l33tmyst.mp
--
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




Re: updating with aptitude

2009-04-07 Thread Harry Rickards

Quoting orange orang...@gmail.com:


I took the advice from email (thanks Harry), and put only these lines:

deb ftp://ftp.at.debian.org/debian/ lenny contrib main
deb ftp://ftp2.de.debian.org/debian-security lenny/updates main
contrib non-free

#wine
deb http://www.lamaresh.net/apt lenny main

...


While those servers may be the fastest for me (they're for my Virtual  
Private Server in Atlanta, USA - so I don't know why Germany and  
Austria are the fastest), different servers may be faster for you. You  
can automatically find the fastest servers for you with the  
netselect-apt tool, or select local ones manually at  
http://www.debian.org/mirror/list.



Thanks
Harry



--
Contact information at l33tmyst.mp
--
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




Re: updating with aptitude

2009-04-06 Thread Harry Rickards


Quoting Sven Joachim svenj...@gmx.de:


On 2009-04-06 15:46 +0200, orange wrote:


this is my sources.list :


#deb http://security.debian.org/ lenny/updates main contrib
#deb-src http://security.debian.org/ lenny/updates main contrib

#deb http://ftp.at.debian.org/debian/ lenny contrib main
deb ftp://ftp.at.debian.org/debian/ lenny contrib main


So you're running Lenny which became stable in February.  There is
nothing wrong with this, but you had better uncomment the first entry
for the security updates.  Since these are currently disabled, there are
indeed no updates for you.

Sven


To find the fastest debian mirror for you, you can use the netselect  
tool. Once installed (aptitude install netselect-apt_, you can just  
use the command 'netselect-apt lenny' (or 'netselect-apt -n lenny' to  
include non-free software), and netselect will find the fastest mirror  
and add it to your /etc/apt/sources.list file.


Many thanks
Harry Rickards



--
Contact information at l33tmyst.mp
--
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




Re: updating with aptitude

2009-04-06 Thread Harry Rickards


Quoting Harry Rickards hricka...@l33tmyst.com:

...
To find the fastest debian mirror for you, you can use the netselect  
tool. Once installed (aptitude install netselect-apt_, you can just  
use the command 'netselect-apt lenny' (or 'netselect-apt -n lenny'  
to include non-free software), and netselect will find the fastest  
mirror and add it to your /etc/apt/sources.list file.

...

Forgot to mention that netselect will put the mirror's in a  
sources.list file in the local directory, so to have them put in  
/etc/apt/sources.list, you'd have to do a 'cd /etc/apt' before running  
netselect.


Many thanks
Harry


--
Contact information at l33tmyst.mp
--
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




Re: Decrypt, Edit and Encrypt a File

2009-04-06 Thread Harry Rickards


Quoting Daniel Burrows dburr...@debian.org:

On Sun, Apr 05, 2009 at 05:36:08PM +0200, Samuel Bächler  
li...@boeser.ch was heard to say:

I store logins and passwords of some dozen of Web-Services in
an encrypted file. I used to use kgpg to read and update this file.


  This isn't the answer to your question, but you might want to look at
the pwsafe package for another approach to this.

  Daniel

For extra security, you could use something that generates OTP's (One  
Time Passswords), like the yubikey.


Thanks
Harry


--
Contact information at l33tmyst.mp
--
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



Re: Reg. Grub password Change of Permissions for /home folder.

2009-04-05 Thread Harry Rickards

Quoting Gmail POP3 Access iam.perfection...@gmail.com:


On Sun, 2009-04-05 at 14:38 +, Harry Rickards wrote:

Quoting Gmail POP3 Access iam.perfection...@gmail.com:


...

I have edited the file with the follwoing entries :

timeout  3
password --md5 encryptedpassword data.

Should I delete the below lines of the file [ menu.lst ].


What lines are below?


The following lines are present :


...

timeout 5

...
You need to insert a hash before the timeout line (the one above),  
otherwise you'll have two lines contradicting each other. Are you sure  
there's no other lines, as there seems to be no operating system int  
eh GRUB file. Also, I apologize to everyone else on this list, as I  
accidently sent my previous reply to Bhagya himself, not the list.



Thanks
Harry



--
Contact information at l33tmyst.mp
--
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




Re: Reg. Grub password Change of Permissions for /home folder.

2009-04-05 Thread Harry Rickards


Quoting Gmail POP3 Access iam.perfection...@gmail.com:
...

# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved'
or your
# array will desync and will not let you boot your system.
default 0

## timeout sec
# Set a timeout, in SEC seconds, before automatically booting the
default entry
# (normally the first entry defined).
timeout 5

# Pretty colours
color cyan/blue white/blue

## password ['--md5'] passwd
# If used in the first section of a menu file, disable all interactive
editing
# control (menu entry editor and command-line)  and entries protected by
the
# command 'lock'
# e.g. password topsecret
#  password --md5 $1$gLhU0/$aW78kHK1QfV3P2b2znUoe/
# password topsecret

#
# examples
#
# title Windows 95/98/NT/2000
# root  (hd0,0)
# makeactive
# chainloader   +1
#
# title Linux
# root  (hd0,1)
# kernel/vmlinuz root=/dev/hda2 ro
#

#
# Put static boot stanzas before and/or after AUTOMAGIC KERNEL LIST

### BEGIN AUTOMAGIC KERNELS LIST
## lines between the AUTOMAGIC KERNELS LIST markers will be modified
## by the debian update-grub script except for the default options below

## DO NOT UNCOMMENT THEM, Just edit them to your needs

## ## Start Default Options ##
## default kernel options
## default kernel options for automagic boot options
## If you want special options for specific kernels use kopt_x_y_z
## where x.y.z is kernel version. Minor versions can be omitted.
## e.g. kopt=root=/dev/hda1 ro
##  kopt_2_6_8=root=/dev/hdc1 ro
##  kopt_2_6_8_2_686=root=/dev/hdc2 ro
# kopt=root=/dev/hda1 ro

## default grub root device
## e.g. groot=(hd0,0)
# groot=(hd0,0)

## should update-grub create alternative automagic boot options
## e.g. alternative=true
##  alternative=false
# alternative=true

## should update-grub lock alternative automagic boot options
## e.g. lockalternative=true
##  lockalternative=false
# lockalternative=false

## additional options to use with the default boot option, but not with
the
## alternatives
## e.g. defoptions=vga=791 resume=/dev/hda5
# defoptions=quiet

## should update-grub lock old automagic boot options
## e.g. lockold=false
##  lockold=true
# lockold=false

## Xen hypervisor options to use with the default Xen boot option
# xenhopt=

## Xen Linux kernel options to use with the default Xen boot option
# xenkopt=console=tty0

## altoption boot targets option
## multiple altoptions lines are allowed
## e.g. altoptions=(extra menu suffix) extra boot options
##  altoptions=(single-user) single
# altoptions=(single-user mode) single

## controls how many kernels should be put into the menu.lst
## only counts the first occurence of a kernel, not the
## alternative kernel options
## e.g. howmany=all
##  howmany=7
# howmany=all

## should update-grub create memtest86 boot option
## e.g. memtest86=true
##  memtest86=false
# memtest86=true

## should update-grub adjust the value of the default booted system
## can be true or false
# updatedefaultentry=false

## should update-grub add savedefault to the default options
## can be true or false
# savedefault=false

## ## End Default Options ##

title   Debian GNU/Linux, kernel 2.6.26-1-686
root(hd0,0)
kernel  /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro quiet
initrd  /boot/initrd.img-2.6.26-1-686

title   Debian GNU/Linux, kernel 2.6.26-1-686 (single-user mode)
root(hd0,0)
kernel  /boot/vmlinuz-2.6.26-1-686 root=/dev/hda1 ro single
initrd  /boot/initrd.img-2.6.26-1-686

### END DEBIAN AUTOMAGIC KERNELS LIST


..

Ok, you'll need to add your first line, 'timeout 3' below where it  
says 'timeout 5', putting a has before 'timeout 5'. Then you'll need  
to put 'password --md5 encryptedpassword data' after the '##Password'  
line. This would make the entire file as following:



# menu.lst - See: grub(8), info grub, update-grub(8)
#grub-install(8), grub-floppy(8),
#grub-md5-crypt, /usr/share/doc/grub
#and /usr/share/doc/grub-legacy-doc/.

## default num
# Set the default entry to the entry number NUM. Numbering starts from
0, and
# the entry number 0 is the default if the command is not used.
#
# You can specify 'saved' instead of a number. In this case, the default
entry
# is the entry saved with the command 'savedefault'.
# WARNING: If you are using dmraid do not change this entry to 'saved'
or your
# array will desync and will not let you boot 

<    1   2