Re: [gentoo-user] [uOT] Thunderbird, Mozilla and HELO

2006-11-03 Thread Jonathan Wright

Rasmus Andersen wrote:

I have a slightly offtopic question that I hope I can get help with
here. I have a home server, running an MTA for my domain. As of the last
month or so, I have experienced a huge increase in spam and spam
bounces. To combat this, I have upped my MTA's pickyness quite a bit but
would like to up it more. Specifically, I would like to reject mail
where sender says HELO jaquet.dk and/or where the Received line looks
like [EMAIL PROTECTED] (my MTA's Received stamps are of the form
[EMAIL PROTECTED]). Spammers like to use these to 'fake' their way
through.


I'm not sure about blocking a specific HELO request, but I added the 
following configuration to my main.cf, and combined with postgrey, my 
Spam dropped from 150 per day to around 50 per month:


# Set the server to reject any unauthorised e-mails and set what can
# and can't be sent or received by the server
smtpd_delay_reject = yes
smtpd_helo_required = yes
smtpd_helo_restrictions =
permit_mynetworks
reject_non_fqdn_hostname
reject_invalid_hostname
reject_rbl_client xbl-xbl.spamhaus.org
reject_rbl_client bl.spamcop.net
reject_rbl_client relays.ordb.org
permit
smtpd_recipient_restrictions =
permit_sasl_authenticated
reject_non_fqdn_recipient
reject_unauth_destination
permit
smtpd_sender_restrictions =
permit_sasl_authenticated
reject_non_fqdn_sender
reject_unknown_sender_domain
reject_unauth_destination
# can't move from here as needs to know sender
check_policy_service unix:private/postgrey
permit
smtpd_data_restrictions =
reject_multi_recipient_bounce
permit

I've also added the following lines to prevent clients from  trying 
address after address in the same connection:


# Limit the number of addresses the remove server can
# send mail to, also adjusting the error calculation level
smtpd_recipient_limit = 3
smtpd_recipient_overshoot_limit = 1


That helped my server and account greatly with no (apparent) risk to 
genuine mail either.


--
 Jonathan Wright [EMAIL PROTECTED]
   http://djnauk.co.uk

 cat /dev/random (you never know, you may see something you like!)

 2.6.17-gentoo-r3-djnauk-b1 AMD Athlon(tm) XP 2100+
 up 57 days, 17:24, 1 user, load average: 0.78, 0.63, 0.30
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Urgent please - DVD Copy problem

2005-12-19 Thread Jonathan Wright

Paul wrote:

:-[ PERFORM OPC failed with SK=3h/ASC=73h/ACQ=03h]: Input/output error


That suggests a bad disk - OPC is Optimum Power Calibration and is a 
test done on all discs to find out how must power is needed to optimally 
write to the disc (can only be done 99 times on any disk) IIRC.


Have you tried with another disk?

--
 Jonathan Wright
  ~ [EMAIL PROTECTED]
  ~ www.djnauk.co.uk
--
 2.6.14-gentoo-r2-djnauk-b1 AMD Athlon(tm) XP 2100+
 up 15 days, 5:01, 2 users, load average: 0.99, 1.02, 0.97
--
 cat /dev/random (because u never know, u may see something u like)
--
 About a year ago I was a guest on a network news show in New York.
 They were showing film clips from a gay  pride  parade  down  Fifth
 Avenue, but they only decided to show the part with men in  dresses
 and heels. I had seen the parade, and there were  men  in  business
 suits as well. After showing the film,  the  newsperson  made  some
 comments, and I found the comments extremely offensive.

 This is what's wrong with the media, I said. You show  a  fringe
 position. You show one point of view. You're closing the  minds  of
 the people by not showing them what the reality is. I got  up  and
 walked out, and I've never been asked back again.

~ Kathleen Nolan
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Urgent please - DVD Copy problem

2005-12-19 Thread Jonathan Wright

John Jolet wrote:


On Dec 19, 2005, at 10:09 AM, Paul wrote:


On Monday 19 Dec 2005 15:38, Jonathan Wright wrote:

Paul wrote:

:-[ PERFORM OPC failed with SK=3h/ASC=73h/ACQ=03h]: Input/output error


That suggests a bad disk - OPC is Optimum Power Calibration and is a
test done on all discs to find out how must power is needed to optimally
write to the disc (can only be done 99 times on any disk) IIRC.

Have you tried with another disk?


Thanks for the suggestion.
I am now in the process of writing the image file using a different 
make of

disc.
How silly of me to think that if discs work on windows they should 
work on

linux

don't assume it's the os...could very well be the burner.  unless it's 
the same box and dual-boot?
I've been working with burners since there was only 1x scsi cdr and the 
media was $25/each.  There has ALWAYS been great variation in media and 
burner compatibility.  It's a LOT better than it used to be, but still


Very true - although it could be a case of Windows 'covering' over a 
problem, where it would continue on this disk when Linux won't (what 
with it's superior tools and everything ;)


I have found the DVDs are very difficult to get working reliably. In 
fact, I've found alot write fine in the drive, but the drive has trouble 
reading them again, but no problems in reading normal DVDs.


It may be worthwhile looking at a different batch of disks instead of a 
different disk - just in-case it's a bad batch.


--
 Jonathan Wright
  ~ [EMAIL PROTECTED]
  ~ www.djnauk.co.uk
--
 2.6.14-gentoo-r2-djnauk-b1 AMD Athlon(tm) XP 2100+
 up 15 days, 8:06, 2 users, load average: 1.34, 0.49, 0.18
--
 cat /dev/random (because u never know, u may see something u like)
--
 Girls who put out are tramps. Girls who don't are ladies. This is,
 however, a rather archaic usage of the word. Should one of you boys
 happen upon a girl  who  doesn't  put  out,  do  not  jump  to  the
 conclusion that you have found a lady. What you have probably found
 is a Lesbian.

 ~ Fran Lebowitz
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Annoying email from dcron

2005-12-18 Thread Jonathan Wright

Michael Sullivan wrote:

I was having some problems with dcron randomly shutting down.  I
remerged dcron this afternoon and it's running just fine except that I
get this annoying email every few minutes:

unable to create /var/spool/cron/crontabs/michael.new: File exists


The problem is that I can't delete the file because it doesn't actually
exist.

How do I get rid of this annoying error?


Out of interest - have you tried creating the file, possibly with dcron 
permissions? Sound's like a badly written error message.


--
 Jonathan Wright
  ~ [EMAIL PROTECTED]
  ~ www.djnauk.co.uk
--
 2.6.14-gentoo-r2-djnauk-b1 AMD Athlon(tm) XP 2100+
 up 13 days, 23:41, 2 users, load average: 0.17, 0.23, 0.17
--
 cat /dev/random (because u never know, u may see something u like)
--
 What are you trying to protect heterosexual marriages from?  There
 isn't a limited amount of love in Iowa. It  isn't  a  non-renewable
 resource. If Amy and Barbara or Mike and Steve love each other,  it
 doesn't mean that John and Mary can't.

 ~ Ed Fallon
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] looking for wireless technology

2005-11-13 Thread Jonathan Wright

Nick Rout wrote:


What bollocks. 802.11 is capable of 5 km at least with a decent card and
directional aerials. Directional aerials can be built from quite cheap
materials like woks and other asian food implements, or you can buy
commercial directional aerials.


The world record is set at ~125 miles (~200km) using an un-amplified signal:

http://www.engadget.com/entry/1234000970052590/

http://wireless.weblogsinc.com/entry/1234000407052562/

http://www.wifiworldrecord.com/

--
 Jonathan Wright
  ~ [EMAIL PROTECTED]
  ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 7 days, 19 min, 3 users, load average: 0.96, 0.97, 0.75
--
 cat /dev/random (because u never know, u may see something u like)
--
 People sometimes think I'm gay because I once played a  gay  in  a
 movie. It's funny. Audiences don't think you're a murderer  if  you
 play a murderer, but they do think you're gay if you play a gay.

~ Perry King
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] Bash scripting

2005-11-11 Thread Jonathan Wright

Peper wrote:

Hello,
I have a var $blah=' `pwd`/blah ' (extra spaces for clearer reading), how can 
i change it to 'output of pwd/blah' ?


What do you mean - are you looking for the actual phrase 'output of 
/path/to/blah', i.e.


$blah='output of $(pwd)/blah'

are are you looking for program output:

$blah=$(./blah)

or

$blah=$($(pwd)/blah))

or are you looking for directory listings?:

$blah=$(ls $(pwd)/blah))

??

--
 Jonathan Wright
  ~ [EMAIL PROTECTED]
  ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 4 days, 14:09, 1 user, load average: 0.80, 0.72, 0.56
--
 cat /dev/random (because u never know, u may see something u like)
--
 Girls who put out are tramps. Girls who don't are ladies. This is,
 however, a rather archaic usage of the word. Should one of you boys
 happen upon a girl  who  doesn't  put  out,  do  not  jump  to  the
 conclusion that you have found a lady. What you have probably found
 is a Lesbian.

 ~ Fran Lebowitz
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Jonathan Wright

Mark wrote:
Can anyone who has done it comment on the downside (if any) of bringing 
email in-house, as opposed to continuing to pay a hosting provider? My 
plan is to have a separate server, sitting by itself in the DMZ, so the 
internal LAN should remain relatively safe. The DSL provider we use will 
host the DNS records (MX). We have a top-notch firewall already in 
place, but this is the first step we've taken toward making anything 
available inbound, so I'm cautiously optimistic.


Generally, most mail will sit in a queue for around 3 days before 
failing to deliver - but that depends on the host/server. So, the odd 
outage shouldn't be a problem - at least it's not with me here :)


Also, it's worth double-checking to see if your ISP will allow port 25 
inwards. Some don't, and you wouldn't want to do all that work only to 
find nothing happening! :/


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up  4:46,  1 user,  load average: 0.69, 0.55, 0.50
--
 Did you hear about the Scottish drag queen? He wore pants.

~ Lynn Lavner
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] inhouse email

2005-10-24 Thread Jonathan Wright

Digby Tarvin wrote:

It is easy enough to set it up and test it in parallel with your
current setup. Nothing important should be directed there till you
advertise it..


That's fine for outgoing mail, but unless an MX record exists for the 
internal server on a domain/subdomain, it's difficult to 'direct' 
traffic from the outside in.


The only other way I can think off is to test the server using either a 
telnet port or a script from an off-site computer onto the new server.



I have been running a mail server on my home system ever since I got
my DSL connection at home. It is where I normally direct mailing
list traffic and other correspondence which is non critical,
because I can create dedicated aliases which all point the the
same ultimate mailbox, making it easy to identify where spammers
have been obtaining addresses from, and making it possible to just
invalidate the effected address...

For person mail that I want to be able to access when I am
travelling I use a mail forwarding address which can be
pointed at an ISP hosted POP3 mailbox (which is polled using
fetchmail when I am home) or when needed can be pointed direct
to my home server.


All me e-mail comes in on my home server and has been now for ~3 years, 
along with my families for the last year or so now that multiple domains 
has been setup. I've even used it as an emergency backup for another 
server when that went down.


As for remote access, I use IMAP over SSL. Most new phones and PDA's 
support SSL encryption over IMAP and SMTP, plus I have the advantage of 
all my mail being handled from one location.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up  5:41,  2 users,  load average: 1.22, 0.86, 0.83
--
 I can't help looking gay. I put on  a  dress  and  people  say,
 Who's the dyke in the dress?

   ~ Karen Ripley
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Um...Who can fix this?

2005-10-24 Thread Jonathan Wright

gentuxx wrote:

!!! Security Violation: A file exists that is not in the manifest.
!!! File: files/digest-sylpheed-claws-1.9.1


There's a file within the portage structure for sylpheed-claws that it 
hasn't been told about. Two options:


- First, is it's just a standard package from the normal portage tree 
(i.e. it's not in a layout), then run a sync. If there is still an 
error, file a bug.


- Second, run the digest command. You'll need to do this if it's not in 
the standard portage tree and it's something you have added. Portage 
needs to be told all the files within the tree and their md5 values, to 
make sure nothing bad gets in :)


To do this, run

# ebuild /path/to/sylpheed-claws-1.9.1.ebuild digest

This will run though all the files and rebuilt the digest file. You can 
do this in the main portage tree aswell, but it's not recommended as 
something could be there that shouldn't.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 10:06,  0 users,  load average: 3.50, 1.73, 0.83
--
 It always seemed  to  me  a  bit  pointless  to  disapprove  of
 homosexuality. It's like disapproving of rain.

  ~ Francis Maude
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] USB problem(maybe related to udev)

2005-10-22 Thread Jonathan Wright

Tamas Sarga wrote:

I'm affraid, that my system was somehow hybrid udev-devfs system until I
removed devfsd for gentoo-sources-2.6.13.


IIRC, the new udev systems require you to remove the /etc/udev/rules.d 
before upgrading - have you given that a go?


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day,  6:17,  4 users,  load average: 0.45, 0.76, 0.72
--
 A study done in the Des Moines public schools showed  that  the
 average high school student hears anti-gay comments like  'dyke'
 and 'faggot' a stunning 26 times a day, and  that  teachers  who
 witness such incidents do nothing a shocking 97 percent  of  the
 time. The results of this kind of behavior for gay  and  lesbian
 students is terrifying.

~ Martina Navratilova
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Reaching my network over the internet

2005-10-17 Thread Jonathan Wright

John Jolet wrote:

Why do though all the hassle of setting up a VPN when you can use SSH to
provide a secure tunnel into the network and use that instead? Works
fine for me.

# ssh -L5900:hostname:5900 [EMAIL PROTECTED]
# vncviewer localhost:0


Okay, now show me the instance where you want box-internet-box-vnc server.


That does provide a tunnel between two boxes. It's quick and simple to 
setup and can be used by any ssh client, regardless of the system. 
Whether you're on Unix or Linux. You can even do it using Windows using 
PuTTY.


It's good to know in case if you need access but don't have a box that 
can't do VPN, or there's a problem with the VPN.


If you want to open it up for some reason to another box, you can use 
the gateway switch (-g) and SSH will listed to all incoming connections 
on that port on the remote computer.


# ssh -g -L5900:remote:5900 [EMAIL PROTECTED]:port

If you set up openvpn on your ssh server, you easily can tunnel across it.  
Doing that with ssh would add another tunnel.  Takes 5 minutes to set up.


I'm not disagreeing with you, but a VPN can add a whole level of 
complexity and setup, whereas if you just want to remotely access a VNC 
server across the Internet, SSH works great and has added security built in.


If you want to access more than VPN, i.e. SMB, or need the remote 
computer to 'appear' on the local network for some reason, VPN is fine - 
go ahead and use it.


KISS - keep it short and simple.

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day, 21:39,  0 users,  load average: 0.64, 0.46, 0.33
--
 My mother took me to a psychiatrist when I was fifteen  because
 she thought I was a latent homosexual. There was nothing  latent
 about it.

  ~ Amanda Bearse
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright
Denny Schierz wrote:
 bridge=xenintbr
 config_xeninetbr=( 10.0.10.3/24 )
 brctl_xeninetbr=( setfd 0 sethello 0 stp off )
 
 What is wrong?

I've not setup a bridge before, but according the example in
/etc/conf.d/net.example;

# To add ports to bridge br0
#bridge_br0=eth0 eth1

#config_br0=( dhcp )
(and so on...)


From the looks of it, you haven't told the system which two network
ports need to be bridged together. Also, do you have
net-misc/bridge-utils installed?

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 1 day, 10:34,  2 users,  load average: 0.31, 0.15, 0.05
--
 The next  time  someone  asks  you,  'Hey,  howdja  get  to  be  a
 homosexual anyway?' tell them, 'Homosexuals  are  chosen  first  on
 talent, then  interview...  then  the  swimsuit  and  evening  gown
 competition pretty much gets rid of the rest of them.'

~ Karen Williams
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright
Denny Schierz wrote:
From the looks of it, you haven't told the system which two network
ports need to be bridged together. Also, do you have
net-misc/bridge-utils installed?
 
 no, i haven't cause these are only virtual devices for xen. They don't
 have to do any with eth0/1.
 
 I can do everything per hand, but not with the start/stop script.

So the bridges already exist on the system and they just needs
configuring, or are you trying to create the bridges aswell from scratch?

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 2 days,  1:48,  0 users,  load average: 0.34, 0.27, 0.19
--
 President Bush said  he  was  'troubled'  by  gay  people  getting
 married in San Francisco. He said on important issues like this the
 people should make the decision, not judges. Unless of course we're
 choosing a president, then he prefers judges.

  ~ Jay Leno
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright
Denny Schierz wrote:
or are you trying to create the bridges aswell from scratch?
 
 jupp, creating from scratch. the bridges don't exist, at startup.

From the sounds of it, that's ur problem. The script doesn't know it
needs to create the bridges and assumes they're there ready.

As you have a set of virtual ports to connect using the bridges, why
don't you use a little hack and create a depend() function to insert the
code needed to create the interfaces for the bridge:

# If any of the ports require extra configuration - for example wireless
# or ppp devices - we need to write a depend function for the bridge so
# they get configured correctly.
# This is exactly the same as a depend() function in our init scripts
#depend_br0() {
#   need net.eth0 net.eth1
#}

Rather than having 'need net.eth0 net.eth1', stick in the code/functions
that create the interfaces. You can create the bridge then and it should
work on reboot.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 2 days,  2:06,  0 users,  load average: 0.75, 0.36, 0.22
--
 The radical right is so homophobic  that  they're  blaming  global
 warming on the AIDS quilt.

 ~ Dennis Miller
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Configure two bridges in /etc/conf.d/net

2005-10-17 Thread Jonathan Wright

Denny Schierz wrote:

Rather than having 'need net.eth0 net.eth1', stick in the code/functions
that create the interfaces. You can create the bridge then and it should
work on reboot.


It works, i made a simply script, that creates the devices, before net
starts. :-)


np.

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.13-gentoo-r3-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 2 days,  4:04,  0 users,  load average: 0.67, 0.43, 0.38
--
 War. Rape. Murder. Poverty. Equal rights for gays. Guess  which
 one the Southern Baptist Convention is protesting?

  ~ The Value of Families
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Reaching my network over the internet

2005-10-16 Thread Jonathan Wright
John Jolet wrote:
Basically I have a network back home with a couple Gentoo systems
connected and I'd like to have ssh (and maybe vnc) access to them from
my Gentoo laptop no matter where I am.  What do you think?
 
 if you just need ssh, you don't need a vpn, just a port forward on your 
 router.  for vnc, I'd use openvpn.

Why do though all the hassle of setting up a VPN when you can use SSH to
provide a secure tunnel into the network and use that instead? Works
fine for me.

# ssh -L5900:hostname:5900 [EMAIL PROTECTED]
# vncviewer localhost:0

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r10-djnauk-b3 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 2 min,  1 user,  load average: 1.68, 0.87, 0.33
--
 People sometimes think I'm gay because I once played a  gay  in  a
 movie. It's funny. Audiences don't think you're a murderer  if  you
 play a murderer, but they do think you're gay if you play a gay.

~ Perry King
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Network collisions

2005-10-04 Thread Jonathan Wright

Dave Oxley wrote:

Ah right. I did not know that!

Yeah, its a hub. I'll stop trying to set it to full duplex now. I still 
have a problem though, the collision rate is 11-12% when copying to the 
client and the performance is terrible:

Copying from Server to Client (i.e. receive) 170.3Kb/sec
Copying from Client to Server (i.e. transmit) 7.383Mb/sec

It is 40 times quicker in one direction than the other. Can you give me 
a hint where to go from here.


Some hubs don't like having different sets of ports and it's a repeater, 
not an 'intelligent' routing system. If you're going to try and set the 
cards to FD you may want to try disconnecting them all and connecting 
them all one at a time once you have forced the card to FD.


Admitidly, I don't know why it would be faster one way than the other. 
I'm wondering if that's a cable issue (partially damaged cable causing a 
small capacitance effect). Do you get the same effect when you swap the 
cables over?


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 4 days,  3:12,  3 users,  load average: 0.19, 0.36, 0.58
--
 Homosexuality is God's way of insuring that  the  truly  gifted
 aren't burdened with children.

 ~ Sam Austin
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT worth upgrading hardware ?

2005-10-03 Thread Jonathan Wright

Christoph Gysin wrote:

Hemmann, Volker Armin wrote:

btw - some time ago I let glxgears run on several wm - and it was the 
fastest on kwin and integrity (both qt based) and slower on gtk-based 
wm...



glxgears doesn't need/use/depend neither a WM nor GTK/QT, so I don't see 
how this test makes any sense.


But a WM and/or GTK/QT can have an effect on system load overall as well 
as working with the graphics card, which in the end can slow the gears.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 3 days,  1:02, 13 users,  load average: 0.63, 0.53, 0.52
--
 It's hard enough to be taken seriously in the struggle for  gay
 rights without having a bunch of straight girls  running  around
 kissing each  other  to  get  the  attention  of  the  boys  and
 videocameras.

 ~ M. Robin D'Antan, 2002
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnucash and new GTK

2005-10-03 Thread Jonathan Wright

Bruno Lustosa wrote:

So, it seems it's an incompatibility between gnucash and the installed gtk+
version, right? I tried to re-emerge gnucash, but it didn't help much.


You'll have to re-emerge x11-themes/gtk-engines-pixmap:

* x11-themes/gtk-engines-qtpixmap
 Available versions:  0.28-r1 ~0.28-r2
 Description: A modified version of the original GTK pixmap
  engine which follows the KDE color scheme

It's a theme engine on which themes for gnome/gtk are built. From the 
looks of it, it's out of date compared to GTK and therefore refusing to 
load - but you knew that already! ;)


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 3 days,  5:52,  6 users,  load average: 0.56, 0.85, 0.96
--
 My cousin is an agoraphobic homosexual, which makes it kind  of
 hard for him to come out of the closet.

 ~ Bill Kelly
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Gnucash and new GTK

2005-10-03 Thread Jonathan Wright

Bruno Lustosa wrote:
On 10/3/05, *Bruno Lustosa* [EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED] wrote:


In fact, the first thing I tried to do was a 'emerge search pixmap',
and I only found the gtk-engines-qtpixmap you mentioned. As it
wasn't installed, I guessed it was the wrong package.
Anyway, I'm trying to install it now to see if it works. I hope it
will! If it works, I'll post it back here.
Thank you


Well, just tried it. Still not working. Same error.
It installed a file named 'libqtpixmap.so', and as gnucash is looking 
for libpixmap.so, it didn't find it.

I tried to symlink, but then I got the old error about wrong gtk version.


Opps! :$ Didn't see that. If you want to know what package a file 
belongs to, you can use equery from the gentoolkit (emerge gentoolkit):


jwright on jonathan [ ~ ] -- equery belongs 
/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so

[ Searching for file /usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so in * ]
x11-libs/gtk+-2.6.4-r1 (/usr/lib/gtk-2.0/2.4.0/engines/libpixmap.so)

So, form that I deduce that you're running an older version of GTK - btw 
which one are you using?


You may have to rebuild GTK+.

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 3 days,  6:37,  7 users,  load average: 0.89, 1.05, 1.00
--
 Earlier today, President Bush said gay marriage is immoral  and
 that heterosexual marriage must  be  defended,  that's  what  he
 said.

 You can tell Bush is serious because he said the  new  Axis  of
 Evil is Cher, Bette Middler and Clay Aiken.

  ~ Conan O'Brien
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Good command for wiping a hard drive?

2005-10-01 Thread Jonathan Wright

Alexander Skwar wrote:
A good option for more speed would be to use aespipe to encrypt 
/dev/zero and write that output to the disk.


Why do that? Overwritten data is already pretty much
irrecoverable. Or do you know of ONE instance, where
those rescue companies restored an OVERWRITTEN (ie.
not something simple as burned or such) drive?

And if you fear, that the CIA or FBI might recover
data - use a metal shredder...


Actually, even if you format a hard drive, it's still relatively easy to 
 get the data off.


Although we think of data in the digital domain, ones and zeros, there 
or not, hard drives are an analogue system using a variation in the 
magnetic field on a smooth plate, spinning at (usually) 120 revolutions 
per second and storing up to (I think) 120 billion 'bits' of information 
in one square inch of 'plate'.


The accuracy needed to completely override the data for a particular 
sector is near improbable. Around the areas for any particular byte 
residual traces of a magnetic field can be found, if you have the right 
equipment.


I can't remember the name of the program to do it, but if you want to 
securely erase a hard drive according to NSA/CIA/FBI standards, it needs 
37 passes using RANDOM data!


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 23:38, 11 users,  load average: 0.01, 0.16, 0.41
--
 Memo to the Congress: Thanks for thinking of me,  but  I  don't
 need you to defend my marriage. My husband and I can handle that
 ourselves. Spare me 'The Defense of Marriage  Act'  label  on  a
 bill banning same-sex marriages. The name implies that the value
 of heterosexual marriages goes down  once  you  let  homosexuals
 into the institution. There goes the neighborhood. I  don't  buy
 this realtor's view of relationships. Gay  and  lesbian  couples
 who want  to  wed  aren't  trying  to  assail  the  grounds  for
 marriage. They're trying to share them. If anything,  they  want
 to stabilize the gay community.

   ~ Syndicated Boston Globe columnist Ellen Goodman.
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Web mail suggestions...

2005-09-27 Thread Jonathan Wright
Alexander Skwar wrote:
Anybody out there able to point me to an existing open-source, solid 
package?
 
 Horde

Actually, Horde is the framework, IMP is the Mail Program :)

Anyway, Horde is a good enterprise-scale system, and once setup can work
well, esp. with the range of other plug-in modules that go with Horde
(Contact Management, Time Management, Calender, etc.). But, there are
must easier systems to setup and use. Squirrelmail being one of them.

Unless you want something and big and as powerful (and as resource
hungry - I run it on a PII-450 with 128Mb RAM and it's not that
responsive) as Horde, I'd recommend something else.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r10-djnauk-b3 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 42 min,  1 user,  load average: 0.16, 0.03, 0.08
--
 If homosexuality is a disease, let's all call in  queer  to  work:
 'Hello. Can't work today, still queer.'

   ~ Robin Tyler
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT: Web mail suggestions...

2005-09-27 Thread Jonathan Wright
Heinz Sporn wrote:
2. must be using a mod_php of no later than 4.3.11
 
 Can't confirm that. I am running both Horde 2 and 3 with 4.4.0-r3.

I have run it with 4.4.0 here, although now running with 4.3.11 as Zend
Debugger doesn't like the 4.4.x series atm.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r10-djnauk-b3 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up  8:52,  2 users,  load average: 0.06, 0.10, 0.39
--
 If homosexuality is a disease, let's all call in  queer  to  work:
 'Hello. Can't work today, still queer.'

   ~ Robin Tyler
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lots of network collisions - can I eliminate them?

2005-09-24 Thread Jonathan Wright

Mark Knecht wrote:

Note that there is no link for any of the 100Mb settings. This is
verified looking at the switch itself as the link light turns off.
Actually, I had never noticed that the 100 light was not turning on
before today. so much for plug and play! (My bad...me stupido...) ;-)


Hehehe. Until you push the network, you probably would never really 
notice. :)



dragonfly ~ # mii-tool -r
restarting autonegotiation...
dragonfly ~ # mii-tool -v
eth0: autonegotiation failed, link ok


I must admit - this I find quite interesting. Somewhere along the line, 
the switch and the interface aren't talking to each other.



OK, so something is having trouble with this negotiation stuff. I'll
drag out some new cables after I send this and see what happens with
that. I looked at the LinkSys switch docs again. There are no user
settings that I see to get the switch to support 100Mb/S. It's
supposed to be automatic.


Your cables could be an issue. For 100MBps you really need Cat5, 
although Cat4 may be able to handle it (just not ideal). Cat5e is 
generally the best as (IIRC) it supports up to Gigabit ethernet.



Again, thanks very much. mii-tool is very helpful. I'll also have to
look at mii-diag to see if it can help with this problem.


Depending on the two computer locations, you could try connecting the 
two computers together via a crossover cable and seeing how the 
autonegoition works.


I think there are some switches which require all ports/nodes to be on 
the same speed/duplex settings as it can't handle the differences, 
although I find that unlikely with any modern switch (personally, I'm 
running two Netgear Switches - FS105, 5-port  FS108, 8-port, and they 
can handle multiple node-types - all systems are on 100baseTx-FD whereas 
my VoIP phone is 10base-HD, and they all work without a problem).


Try disconnecting one system and restarting the switch to see if one 
node is causing a problem. Also, if you can, try a crossover cable to 
see if it's the switch causing the problem and not the computers.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 23:59,  4 users,  load average: 3.98, 4.22, 4.32
--
 Earlier today, President Bush said gay marriage is immoral  and
 that heterosexual marriage must  be  defended,  that's  what  he
 said.

 You can tell Bush is serious because he said the  new  Axis  of
 Evil is Cher, Bette Middler and Clay Aiken.

  ~ Conan O'Brien
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lots of network collisions - can I eliminate them? - SOLVED

2005-09-24 Thread Jonathan Wright

Mark Knecht wrote:

The switch was stuck in some strange state. Power down and back up fixed it.

Time to get a UPS for the media center...


Opps. Just clicked send on the reply and I saw this! :) Ah well! hehehe.

I'm using a UPS myself for my two servers the master switch and the 
wireless router:


http://catalog.belkin.com/IWCatProductPage.process?Merchant_Id=Section_Id=202840pcount=Product_Id=201050Section.Section_Path=%2FRoot%2FPowerProtection%2FUPSUninterr%2E%2E%2EerSupply%2FUninterr%2E%2E%2EerSupply%2FBelkinSu%2E%2E%2EeriesUPS%2F

I prefer that one as it has standard plugs, allowing you to connect 
extra items (such as the switch and wireless router) and keep the 
network running! :)



Thanks for the invaluable help with mii-tool. Very, very helpful.


NP. Glad to help :)

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 23:59,  4 users,  load average: 3.98, 4.22, 4.32
--
 You can tell Bush is serious because he said the  new  Axis  of
 Evil is Cher, Bette Middler and Clay Aiken.

 Earlier today, President Bush said gay marriage is immoral  and
 that heterosexual marriage must  be  defended,  that's  what  he
 said.

  ~ Conan O'Brien
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mmx use flag on Pentium 4

2005-09-24 Thread Jonathan Wright
Robert Persson wrote:
 Should I enable the mmx use flag when I am compiling stuff (e.g. mplayer) for 
 a pentium 4?  I'm confused because I've kind of got the idea that mmx is 
 obsolete, but I'm not clear exactly how obsolete.

In theory, yes it is sort of obsolete - sse and sse2 are the preferred
method. However, so long as you have specified -march=pentium4 (and
-mcpu=pentium4 or -mtune=pentium4 with =gcc-3.4) mmx/sse/sse2 will be
implied as part of the compilation process.

As for mplayer - unless you set the appropriate use flag, then almost
all C(XX)FLAGS will be remove from the process as (like gaim) it is
notoriously flaky with anything other than the basic settings.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r10-djnauk-b2 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 2 days, 22 min,  3 users,  load average: 0.19, 0.21, 0.37
--
 Bisexuality  immediately  doubles  your  chances  for  a  date  on
 Saturday night.

   ~ Woody Allen
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mmx use flag on Pentium 4

2005-09-24 Thread Jonathan Wright

Walter Dnes wrote:

  I'm running gcc 3.3.6.  I just ran emerge --sync a few minutes ago.
Running emerge --ask --deep --update --world doesn't mention gcc.  Are
you unmasking a test version?


I think gcc-3.4* is still marked ~x86; however since that version -mcpu 
has been depreciated in favor for -mtune.


As for the mmx information, that's valid across all gcc versions. If you 
specify -march=pentium4 and -mcpu=pentium4 as part of your CFLAGS, -mmmx 
and -msse, etc., will be implied by the compiler, and any programs built 
to take advantage of the extensions will be able to do so.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day, 11:54,  1 user,  load average: 0.57, 0.89, 2.04
--
 Wouldn't it be great if you could only  get  AIDS  from  giving
 money to television preachers?

 ~ Elayne Boosler
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Lots of network collisions - can I eliminate them?

2005-09-23 Thread Jonathan Wright

Mark Knecht wrote:

1) What causes a 'collision' on a network interface?


As Paul pointed out via his e-mail (via the previous thread), collisions 
are when two packets try and talk over an ethernet cable at the same time.


In terms of a hub, it's very common, esp. when the hub becomes loaded as 
 2/4/8/32, etc. machines are all essentially using the same bit of 
cable (what with a hub being nothing more than a repeater).


If an interface detects a collision, the transfer is stopped and a it 
waits a random amount of time before trying to send it again. This goes 
round and round until it's sent.


For a switch on the other hand, its not so common, as there are only 
ever two machines on the cable - the switch and the computer. Although 
31% collision rate on dragonfly does seam alot.


Again, Paul is probably right, with half-duplex being the problem. In 
this case, the same 'cable' us used for both sending and receiving 
traffic. If one conflicts the other, you'll get a collision. With 
Full-duplex, sends and receives are independent and therefore you can't 
get collisions:


jwright on jonathan [ ~ ] -- /sbin/ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:02:B3:87:89:03
  inet addr:10.0.0.10  Bcast:10.0.0.255  Mask:255.255.255.0
  UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:3481762 errors:0 dropped:0 overruns:0 frame:0
  TX packets:3664852 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:1212745301 (1156.5 Mb)  TX bytes:1002484102 (956.0 Mb)

jwright on jonathan [ ~ ] -- ssh -t kenny /sbin/ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:50:8B:4C:9C:EA
  inet addr:10.0.0.2  Bcast:10.0.0.255  Mask:255.255.255.0
  UP BROADCAST NOTRAILERS RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:18415888 errors:0 dropped:0 overruns:0 frame:0
  TX packets:17153032 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:100
  RX bytes:2907452267 (2772.7 Mb)  TX bytes:960767410 (916.2 Mb)
  Interrupt:11 Base address:0x2000 Memory:4210-42100038

Connection to kenny closed.
jwright on jonathan [ ~ ] -- ssh -t kyle /sbin/ifconfig eth0
eth0  Link encap:Ethernet  HWaddr 00:08:C7:7F:CF:A7
  inet addr:10.0.0.1  Bcast:10.0.0.255  Mask:255.255.255.0
  UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
  RX packets:34264896 errors:0 dropped:0 overruns:0 frame:0
  TX packets:4375 errors:0 dropped:0 overruns:0 carrier:0
  collisions:0 txqueuelen:1000
  RX bytes:3580726012 (3414.8 MB)  TX bytes:196135708 (187.0 MB)
  Interrupt:9 Base address:0x2000 Memory:4210-42100038

Connection to kyle closed.


2) How can I eliminate them? (Including hardware changes if required.)
The two machines are connected through a small LinkSys switch. model EZXS55W:


When I first read that I thought 'cheap built-in hub', so only 10MBps @ 
HD, however looking at it, 100MBps-FD shouldn't be a problem. A good 
tool to look at is mii-tool (emerge mii-diag):


root on jonathan [ ~ ] -- mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok
root on jonathan [ ~ ] -- mii-tool -v
eth0: negotiated 100baseTx-FD flow-control, link ok
  product info: Intel 82555 rev 4
  basic mode:   autonegotiation enabled
  basic status: autonegotiation complete, link ok
  capabilities: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
  advertising:  100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control
  link partner: 100baseTx-FD 100baseTx-HD 10baseT-FD 10baseT-HD
flow-control

Then you can run:

root on jonathan [ ~ ] -- mii-tool -F 100baseTx-FD

Which should put the computer into 100MBps via Full Duplex. Give that a 
go - it should work. If there's a problem putting it into that (and you 
can run 'mii-tool -r' to re-negotiate), it may be the switch and/or the 
cable.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 11:04,  4 users,  load average: 3.06, 5.30, 6.56
--
 People sometimes think I'm gay because I once played a gay in a
 movie. It's funny. Audiences don't think you're  a  murderer  if
 you play a murderer, but they do think you're gay if you play  a
 gay.

 ~ Perry King
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] auto-email on reboot?

2005-09-21 Thread Jonathan Wright

Neil Bothwick wrote:

On Wed, 21 Sep 2005 16:44:50 +0200, Holly Bostick wrote:



I just realized that I always turn this option (wherever it may be) off
(I think it's the kernel, which would explain why I don't remember
precisely where it is, since I configure all kernels to be the same as
the last, so I set it once and forgot it), and maybe you should too--
that way you might have a better chance of knowing what precisely is
causing these spontaneous reboots in the first place, so you could stop
them.

Does anybody else know what I'm talking about? ;-) ?



Yes, but like you I can't remember where you set it. You can also pass it
as an option to the kernel when booting.

I don't really think it will help here, the system log should contain
everything Mark needs, providing it's not a hard reboot that prevents the
last log messages being flushed to disk.


I think you're talking about the hangcheck timer?

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 3 days,  1:08,  7 users,  load average: 1.80, 1.71, 1.57
--
 President Bush said he was 'troubled'  by  gay  people  getting
 married in San Francisco. He said on important issues like  this
 the people should make  the  decision,  not  judges.  Unless  of
 course we're choosing a president, then he prefers judges.

   ~ Jay Leno
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do about firefox

2005-09-17 Thread Jonathan Wright

Holly Bostick wrote:

Firefox itself has any issues, but it does seem to have a memory leak?
hog? something-- which saddens me, because it makes me feel like I'm
using Mozilla again, which had these kinds of problems for a long, long
time. Firefox was a big relief because it *didn't* have 'that damn
Mozilla memory problem', but it seems to have developed it.


At the end of the day - it's still a massive improvement over anything 
M$ have produced with IE. So long as you know the limitations you can 
work around it - i.e. if you've been playing with alot of tabs, just 
close it down and start it back up again when you're done (a few seconds 
work).


And, I think with one of the tab extensions that you can download it'll 
save the current tabs you have open and recreate them all for you when 
you restart firefox.


I just find Mozilla (Suite) slow and cumbersome, although it does have 
better Javascript support than Firefox (useful for IE-centric sites), 
and Opera is propiritary and has an over-enthuisatic interface (not as 
simple as firefox). Long live firefox! :)


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day,  1:53,  3 users,  load average: 1.61, 1.48, 1.39
--
 Sex is often quite funny. You know what's a good definition  of
 trust? Two cannibals who agree to give each other oral sex.

 ~ David Bertugli
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do about firefox

2005-09-17 Thread Jonathan Wright

Kevin O'Gorman wrote:
I'm sure this is OT, so just send a pointer if you like, and I'll 
stop. But...


This is great!  I haven't paid much attention to FF/TB extensions up to now
because the few I tried early on got obsolete and/or didn't work well.  


They are getting better - in fact there are a number which are designed 
to integrate themselves within websites (google preview is the first 
that springs to mind - it displays a thumbnail of a website within the 
google search listings).



But: what's the modular search thingie?  Moreover: what would you suggest
for backups/sharing of bookmarks?  For control of popups/ads and script
vulnerabilities?

Surely there's a list somewhere for asking these things?


I'm not sure about a list, but aside from the standard sites (click the 
Get Extensions links in FF/TB), mozdev.org is a good place to look 
around for plugins. Some are still in planning/alpha stage, but there's 
some promising plugins coming along! :)


Personally, I don't use many plugins. Thunderbird-wise, I use 
Quotecolors (Colourizies the background and borders of different levels 
of quotations to help see the different levels of conversations. very 
nice and very clean.) and Mail Redirect (allows be to 'bounce' messages 
to other people instead of forwarding).


For Firefox, Web Developer (for my Web Design work - very nice!), Google 
Page Rank (out of interest) and Download Statusbar (puts current 
downloads as buttons just about the status bar).


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day,  6:03,  3 users,  load average: 1.89, 2.34, 2.52
--
 When we say the Pledge of Allegiance, we say, '...with  liberty
 and justice for all.' Well  what  part  of  'all'  don't  people
 understand?

 ~ Rep. Patricia Schroeder (D-Colo.), Gay and Lesbian March, 1993
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random Kernel Crashes ... Need more info

2005-09-17 Thread Jonathan Wright

Kris Kerwin wrote:
I've tried catting the output from dmesg and running it regularly with 
crontab, as was advised below. This, unfortunately doesn't work because cron 
can only run as often as once a minute. This means that if a crash happens in 
between these dmesg snapshots, the debugging information is lost. The only 
way that catting dmesg to a file will work is if the crash just so happens to 
occur right as dmesg is being logged. I might be able to increase my chances 
if there was anyway to set up vixie-cron to run more often than once a minute 
(once a second? more?)


Why not run a bash script, something like (not tested or debugged! And I 
can't remember how to do a while loop in bash;)


while true; do
  if [ -e /tmp/stopdmesg ]; then
exit;
  else
dmesg  dmesg-$(date +%Y%m%d%H%m%s)
sleep(5)
  fi
done

Open up your terminal and run the script (and append  to send it to the 
background). If needs be, change sleep(5) to as low as you need to get the 
dmesg information.


--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day,  9:03,  3 users,  load average: 3.62, 2.94, 2.42
--
 The Bible contains six admonishments to homosexuals  and  three
 hundred sixty two admonishments to heterosexuals.  That  doesn't
 mean that God doesn't love heterosexuals. It's  just  that  they
 need more supervision.

   ~ Lynne Lavner
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Random Kernel Crashes ... Need more info

2005-09-17 Thread Jonathan Wright

Kris Kerwin wrote:

Thanks Jonathan.

Anyone have any thoughts on this? I'm not a bash or any other programmer, and 
was wondering if this would work. And how might I code that while loop?


Actually - the while loop was fine. I wrote that line and thought I can't 
do that! I'll have to look it up before I send it out - it was originally 
white (1) - but in doing so, I forgot to delete the statement.



while true; do
  if [ -e /tmp/stopdmesg ]; then
exit;
  else
dmesg  dmesg-$(date +%Y%m%d%H%M%S)
sleep(5)
  fi
done


In theory, the following code should do it:

--cut---
#!/bin/bash

if [ -z $1 ]; then
  echo sleep time not given
  exit
fi

while true; do
   if [ -e /tmp/stopdmesg ]; then
 exit;
   else
 dmesg  /tmp/dmesg-$(date +%Y%m%d%H%M%S)
 echo -n .
 sleep $1
   fi
done
--cut---

You can then run to program (say it's in a file called dcat)

$ ./dcat 5

which will sleep for 5 seconds at a time, before outputting the dmesg 
contents to /tmp/dmesg-(time), (e.g. /tmp/dmesg-20050917231913)


For each output, you'll see a period on screen, e.g.

$ ./dcat 5
..

So you can track. But you can delete the 'echo -n .' line if you want to 
stop that. Finally, to stop it, you can either kill the process, or create 
an empty file called stopdmesg in /tmp:


$ touch /tmp/stopdmesg

which will terminate the loop and the program.

Hope that all helps and gets you the information your after!

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b2 AMD Athlon(tm) XP 2100+
 up 1 day, 12:08,  4 users,  load average: 4.58, 2.76, 2.62
--
 Labels can also be misleading. I saw  a  news  report  about  a
 lesbian protest march, and the reporter said, 'Coming up next, a
 lesbian demonstration.' My first thought was,  'Cool.  I  always
 wondered how those things work.'

 ~ Michael Dane, Comedian
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] What to do about firefox

2005-09-16 Thread Jonathan Wright
Kevin O'Gorman wrote:
 I may have misconfigured it early on.  Is there something in particular
 I should look for?

I know there used to be issues with firefox where it had difficulty
releasing memory when you have had a large number of tabs running. The
only way to release it is to shut down firefox.

However, I'm not sure if this has been fixed yet though.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r10-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up  1:39,  1 user,  load average: 0.08, 0.42, 0.99
--
 If horse racing is the sport of kings, then drag  racing  must  be
 the sport of queens.

 ~ Bert R. Sugar
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Plesk...

2005-09-15 Thread Jonathan Wright
Mal Herring wrote:
 Hi List,
 Anyone ever installed Plesk onto a Gentoo server ?
 
 Can it be done and if so how did you find the install ?
 
 Got someone wanting me to install a Plesk box for them and I don't want
 to have to use Red-Hat
 
 Thanks in advance.

Good luck! :)

Actually, it's very difficult as Plesk relies both on knowing the
location of certain files (which gentoo doesn't always keep in the same
place as other distributions - apache2 being an example) and the
installation of some of it's own utilities and programs (all of which
come in RPM format).

While it is (in the long run) possible to setup Plesk on a gentoo
server, it's not supported by Plesk and it's not as simple as just
downloading the RPMs and running an ebuild. AFAIK, no-one has a
successful installation!

I would like to try myself, but our company has too much on the go at
the moment and I can't spare the time to try. Good luck though.

(BTW, I use CentOS 4.1 - although ur better with 3.4, as it's a bitch to
get the dependencies correct on 4.1 and upgrades are difficult.)

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r9-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up  1:48,  2 users,  load average: 1.24, 0.93, 0.60
--
 A study done in the Des Moines  public  schools  showed  that  the
 average high school student hears anti-gay comments like 'dyke' and
 'faggot' a stunning 26 times a day, and that teachers  who  witness
 such incidents do nothing a shocking 97 percent of  the  time.  The
 results of this kind of behavior for gay and  lesbian  students  is
 terrifying.

   ~ Martina Navratilova
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SpamAssassin is letting everything through

2005-08-27 Thread Jonathan Wright
Jarry wrote:
 I've trained it with sa-learn on a whole slew of ham and spam and it
 continues to let through nearly all the spam coming in.
 
 BTW, in which form do all emails have to be in order to use them as
 examples for spamassassin-learning? mbox (all mails in 1 file), or
 maildir (every mail is a separate file)? Or both are acceptable?

Either. By default, SpamAssassin will assume path given is a Maildir
folder, unless passed with the -mbox statement.

 What about MUA mail-folders? Can I use them? I have a lot of mails in
 mozilla/thunderbird mail-folder format, which is (I think) very close to
 mbox (every mailfolder is one file, e.g. one file for all Sent mails,
 etc), but I'm not sure if spamassassin would understand it as many mails
 in one file, separated by newline and From - date line...

So long as it's in the mbox style, SpamAssassin will work with it. I do
remember seeing some references to the Thunderbird mail system, so I
think it should be OK.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r9-djnauk-b1 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up  2:58,  2 users,  load average: 3.26, 1.86, 1.06
--
 Trust a nitwit society like this one to think that there are  only
 two categories - fag and straight.

~ Gore Vidal
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is there a way to increase the number of external (all imap) accounts in evolution?

2005-08-26 Thread Jonathan Wright
W.Kenworthy wrote:
 Is there a way to increase the number of external (all imap) accounts?
 The server end where the bulk of the accounts sit is courier-imap on
 gentoo, the other is wu-imap on solaris (I think).  The client (two of)
 are both on gentoo, remote to the imap servers.

Courier tends to run it's own daemons, whereas WU uses xinet.d, so for
that you'll need to check the settings for xinet.d.

Courier on the other hand can be set using it's configuration files. I
don't use it on Gentoo (I have it running on Fedora/CentOS for our web
servers atm), so I'm not sure if the configuration files have been
moved, but on there they're in /usr/lib/courier-imap/etc. If you have
gentoolkit, run

# equery files courier-imap | grep (imap|pop3)\.dist

to see where they're located.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 17:11,  2 users,  load average: 0.37, 0.34, 0.47
--
 To a large segment of our society, gay people are viewed as sexual
 outlaws. God forbid a straight person should acknowledge that there
 are pleasures associated with their anus. That's a  big,  big  door
 that people don't want to open.

  ~ Phil Hartman
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: Windows Media Player

2005-08-26 Thread Jonathan Wright
Daniel Vrcic wrote:
Personally, I prefer to skip the GTK interface and just use the standard
mplayer version, not gmplayer. I've mapped all the keys to my liking, so
I need nothing more :)
 
 You're using slave mode? What keys?
 

I've got the Logitech diNovo wireless keyboard, so I've mapped all the
main functions to the keys on the Media Pad, meaning I don't have to
have the full keyboard with me when I'm using mplayer :)

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 16:49,  4 users,  load average: 1.50, 1.02, 0.75
--
 When I was in the military they gave me a medal  for  killing  two
 men and a discharge for loving one.

 ~ Epitaph of Leonard P. Matlovich, 1988
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SpamAssassin is letting everything through

2005-08-26 Thread Jonathan Wright
W.Kenworthy wrote:
 This works very well, though it can be set too zealous (as warned about
 in the spamassassin section) so needs checking of the trap directories
 every few days.

I've just just it configured with the standard settings, and while it
can pull in the occasional valid e-mail, they've always been of the mass
mailing sort (usually from eBay, Amazon, etc.). In terms of
personally-addresses e-mails, that's never been a problem.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 17:06,  2 users,  load average: 0.14, 0.41, 0.56
--
 There's this illusion that homosexuals have sex and  heterosexuals
 fall in love. That's  completely  untrue.  Everybody  wants  to  be
 loved.

~ Boy George
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo

2005-08-25 Thread Jonathan Wright
John Dangler wrote:
 The connecting page is a Solaris page that doesn’t exist.  I’m trying to
 find out exactly what this means, since it’s a recommended piece from
 the Gentoo security handbook.

There's a page at the gentoo wiki with some information about how to set
it all up:

S/keys are one time use passwords. You can use them if you need to
provide passwords where someone may be monitoring your keystrokes.
S/keys are generated randomly, usually around 100 are generated at one
time, with a passphrase as a key. (This passphrase is independent of
your main system password.)

--
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 11:09,  2 users,  load average: 1.50, 2.22, 1.99
--
 Governor Schwarzenegger has come out against gay  marriage  and
 then he went back to slathering body oil all over his muscles in
 front of other guys.

  ~ Craig Kilborn


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo

2005-08-25 Thread Jonathan Wright
John Dangler wrote:
 so, the best place to start would be to emerge sudo (and it's dependencies),
 and then try and configure it from there... (?) I'm guessing that, with the
 use flags set, it would also grab skey...

Something like that. But, at the end of the day, it depends whether you
want the feature of having single-use keys available on the
computer/server. If that's of no use to you, there's no point in setting
the skey flag and just leaving it alone.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 13:29,  2 users,  load average: 0.12, 0.25, 0.33
--
 You know what they  say:  You  can't  teach  a  gay  dog  straight
 tricks.

  ~ Trey Parker  Matt Stone, South Park
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SpamAssassin is letting everything through

2005-08-25 Thread Jonathan Wright
daniel wrote:
 I've been beating my head against my keyboard all day trying to figure out 
 how 
 get SpamAssassin working on our server and so far I've not had a lot of 
 success.

Once of the things I found that helped very quickly was the DCC system
(Distributed Checksum Clearing). They store the checksum of all know
spam mails. Once I enabled that, my level of false spam went down
massively. I very rarely get any spam in my Inbox any more (although I
do get the occasional genuine mail there, usually mass-mail like from
eBay, but a white-list solves that one).

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 14:34,  4 users,  load average: 1.43, 0.66, 0.40
--
 There is nothing wrong with going to bed with someone of your  own
 sex. People should be very free with sex, they should draw the line
 at goats.

~ Elton John
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Windows Media Player

2005-08-25 Thread Jonathan Wright
Jerry McBride wrote:
 Yep, you're right. Mplayer is a wonderful application, but a bit too delicate 
 to use all the time. I experience the same fail to shutdown problem you 
 have and in addition to that, after a video plays, I can click on the open a 
 file button and it will crash... almost every time.

Personally, I prefer to skip the GTK interface and just use the standard
mplayer version, not gmplayer. I've mapped all the keys to my liking, so
I need nothing more :)

It's a great program, just looking forward to the day it gains a good
stable codebase :)

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 14:39,  3 users,  load average: 0.71, 0.69, 0.46
--
 The important thing is not the object of  love,  but  the  emotion
 itself.

~ Gore Vidal
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] sudo

2005-08-25 Thread Jonathan Wright
John Dangler wrote:
 Jonathan, Colleen, Holly~
 Thanks for the additional comments.  Am I to understand, then, that I can
 emerge sudo without the use of skey?  Since I'm still not entirely sure what
 its function is, I'd feel better leaving it alone.  If so, then I'll get it
 emerged and follow the posts to get it setup...

That's probably best. As with most ebuilds, it's an optional extra, not
a requirement to the installation. If you're simply looking to use sudo
to run commands, the default settings are fine. They work for me just
fine :)

Then again, if you decide at a later date you want to add that feature,
there's nothing stopping you adding the flag and re-compiling the code
with skey support.

-- 
 Jonathan Wright   ~ mail at djnauk.co.uk
   ~ www.djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b7 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 15:39,  4 users,  load average: 0.42, 0.27, 0.24
--
 About a year ago I was a guest on a network news show in New York.
 They were showing film clips from a gay  pride  parade  down  Fifth
 Avenue, but they only decided to show the part with men in  dresses
 and heels. I had seen the parade, and there were  men  in  business
 suits as well. After showing the film,  the  newsperson  made  some
 comments, and I found the comments extremely offensive.

 This is what's wrong with the media, I said. You show  a  fringe
 position. You show one point of view. You're closing the  minds  of
 the people by not showing them what the reality is. I got  up  and
 walked out, and I've never been asked back again.

~ Kathleen Nolan
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Problems with madwifi

2005-08-18 Thread Jonathan Wright

Pupeno wrote:

On Wednesday 17 August 2005 17:07, Jonathan Wright wrote:


In the
end I had to remove all the modules (rm -Rf /lib/modules) and reinstall
all the modules before rebuilding wireless-tools, madwifi-driver,
madwifi-tools in that order.


Thanks, that worked! (I haven't rebuild madwifi-tools though).


I the end I just didn't care! :) I rebuilt/remove/reinstalled anything 
that was associated with the wireless system. However, it seams that 
removing the modules is the major step, as anything user /lib/modules is 
governed by the configuration protection system and therefore nothing 
will be deleted/removed on a unmerge or clean.


--
Jonathan Wright mail at djnauk.co.uk
// life has no meaning unless we can enjoy what we've been given
// running gentoo ~ 2.6.12-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Automatic Network Stuff

2005-08-18 Thread Jonathan Wright

Ow Mun Heng wrote:

Yup... that works. Esp if there's already a DHCP server somewhere..
The issue that I face is if the network is a PC-Card. (my pccard has
this issue. It can't detect the link)


Agreed. I've noticed that with my new laptop that as soon as you insert 
(or at least the laptop discovers) the wireless cart it automatically 
runs net.ath0 and establishes the network connection.


I'm not sure where or how it's one (haven't looked into it), but it's 
quite nice :)


--
Jonathan Wright mail at djnauk.co.uk
// life has no meaning unless we can enjoy what we've been given
// running gentoo ~ 2.6.12-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] rsync mirroring

2005-08-18 Thread Jonathan Wright

Matthias Bethke wrote:

I just set up a local rsync mirror using app-admin/gentoo-rsync-mirror.
Now I'm just wondering if it's necessary to do it like suggested and put
a separate portage tree under /opt? I mean, apart from syncing to the
official Gentoo mirrors it's read-only anyway, so pointing my rsync
daemon to /usr/portage should be fine, shouldn't it?

cheers!
Matthias


I've been syncing a few machines via /usr/portage without a problem. At 
least with that method you only need to perform one sync on the main 
machine and then let the others sync off it.


--
 Jonathan Wright mail at djnauk.co.uk
--
 2.6.12-gentoo-r6-djnauk-b5 Intel(R) Pentium(R) 4 Mobile CPU 1.80GHz
 up 1 day,  6:36,  2 users,  load average: 0.45, 0.30, 0.16
--
 If horse racing is the sport of kings, then drag racing must be
 the sport of queens.

  ~ Bert R. Sugar
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] plain-vanilla ethernet; do brands matter?

2005-06-08 Thread Jonathan Wright

Marshal Newrock wrote:

On Wed, 8 Jun 2005, THUFIR HAWAT wrote:


I urgently need a second ethernet (RJ-45 telephone-looking type) NIC
in my computer, which is about a year old, el cheapo but with USB 2.0,
so decent for my needs (sorry, don't have mother board details at the
moment).



My one piece of advice is to avoid RealTek chipsets (usually RTL-8139). 
These are the winmodems of the network world.  Most of their processing 
is done by software, not in hardware.


I've got about 10 Intel Pro/100 (Server, Desktop and Management 
variants) running across 3 servers and 3 desktop systems. I haven't has 
a problem with them in the 3 years I've been using them, they're well 
supported though the Becker driver (eepro100) and the Intel standard 
driver (e100). Plus with the e100 I think some processing can be 
off-loaded onto the card itself.


You can pick them up on eBay for next to nothing - usually a few quid a 
card on BuyItNow options - you'll probably have it within a day or two, 
brand new.


--
Jonathan Wright mail at djnauk.co.uk
// life has no meaning unless we can enjoy what we've been given
// running gentoo ~ 2.6.11-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dual Core 64/Intel

2005-05-28 Thread Jonathan Wright

neil wrote:

timothy johnson wrote:


May be a dumb question, but is there a version of the linux kernel for
the intel dual core 64bit??
 

Yes, it is a dumb question. Gentoo users create their own kernel 
versions depending on their hardware and configuration.


A little harsh I think!

The standard kernel should do fine. As far as the system is concerned 
there are (or at least should be ;) two processors there. Just load up 
the kernel editor and make sure that SMP is enabled for at least as many 
processors are in your system (i.e. number of cores).


If your running  a dual-core, double-processor system, it's effectively 
a quad system (no dual), so SMP should be build for at least 4 processors.


--
Jonathan Wright mail at djnauk.co.uk
// life has no meaning unless we can enjoy what we've been given
// running gentoo ~ 2.6.11-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Dual Core 64/Intel

2005-05-28 Thread Jonathan Wright

Andreas Vinsander wrote:

A little harsh I think!


Agree!


:)


If your running  a dual-core, double-processor system, it's effectively
a quad system (no dual), so SMP should be build for at least 4 processors.


Here's another dumb one:

Is hyperthreading enabled in the dual-core procesors? Thus making a
single dual core Xeon count as 4 processors kernel-wize?


If I remember rightly, yes. As far as how the processor presents itself 
to the system, each core itself is an independent processor. This goes 
for the hyper-treading system from Intel aswell, as it's treated as 2 
cores, but the processor controls what the core can do depending on 
what's available in the processor and the code is running at the time.


Just interesting that if you bought 2 processors, now with dual-core 
hyper-threading your system suddenly thinks it's an 8-way beomoth! :D 
I'd hate to think of the licensing fees Micro$oft could charge for that 
if the mood caught them right! :-/


--
Jonathan Wright mail at djnauk.co.uk
// life has no meaning unless we can enjoy what we've been given
// running gentoo ~ 2.6.11-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: OT - Need help setting up Gentoo to access digital camera

2005-05-28 Thread Jonathan Wright

Sarpy Sam wrote:

On 5/28/05, Uwe Klosa [EMAIL PROTECTED] wrote:


You should go through the USB HOWTO and SUBMOUNT HOWTO. That is working
great for me and all devices i connet via usb. The system will
recognize your camera as a mass storage device.


If you are using gphoto2 to access the camera you will not access it
like a usb mass storage device.  Read the man gphoto2 and you can use
it right on the command line real easy.


I've got one camera (Sony) that just appears a a USB Mass Storage 
Device, but the Canon EOS-300D needs gphoto2. For that one I've found 
gtkam good for interfacing gphoto2 with the camera.


It's not the most well build for feature complete programs (only really 
meant as a proof-of-concept), but it's fine for browsing though the 
photos and downloading them onto my system.


--
Jonathan Wright mail at djnauk.co.uk
// life has no meaning unless we can enjoy what we've been given
// running gentoo ~ 2.6.11-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Postfix problem w/o network

2005-05-12 Thread Jonathan Wright
Hiya,
Take a look in /etc/conf.d/rc
---
# Set to yes if the default behaviour of at least one net.*
# service starting beside net.lo is NOT enouth to consider
# the 'net' dependency up and running.
RC_NET_STRICT_CHECKING=no
---
Matthias Bethke wrote:
I have a feeling I'm missing something very obvious here, but I'm still
at a loss:
I have my laptop's ethernet set to use DHCP. Obviously, on the road this
will fail. But then the net service that postfix (and a bunch of other
stuff like sshd) depends on is not there. Of course I could edit the
init.d file, but there must be a cleaner solution, right? After all,
everybody on dialup-only systems has to have this problem.
I also haven't figured out *how* the net dependency is provided. The
postfix iniscript explicitely contains provide mta, but very few
scripts use this provide keyword, especially not net.* 
On my previous SuSE system, if I went someplace networked with the
machine running already, I used to say ifup-dhcp eth0, and I could mail
and ssh into the laptop without any further ado. I suppose I could do the
same with Gentoo's runlevels which I haven't explored yet, but it still
doesn't solve the problem that I can't have postfix running and queueing
messages I send while offline so they can be delivered once I plug in
somewhere.

regards
Matthias
--
Jonathan Wright mail at djnauk.co.uk
// life has no meaning unless we can enjoy what we've been given
// running gentoo ~ 2.6.11-gentoo-r6-djnauk-b2 i686 AMD Athlon XP 2100+
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] Backing up remote partitions

2005-05-03 Thread Jonathan Wright
Mark Knecht wrote:
Yeah, it's interesting although it felt a bit strange typing 

emerge -pv pv
I prefer emerge -av pv ;) That way you don't have to re-run the search 
and everything if it's all OK! :D

--
Jonathan Wright mail at djnauk dot co dot uk
  Life has no meaning unless we can enjoy what we've been given
--
Running on Gentoo Linux
  (2.6.10-gentoo-r7-djnauk-b03 i686 AMD Athlon(tm) XP 2100+ GNU/Linux)
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
fire-eyes wrote:
So I'm using a 2.6 kernel, and trying to figure out how to cause eth0
and eth1 to swap. That is, eth0 start up as eth1, and eth1 start up as
eth0.
I was told here about the netdev argument to the kernel. I tried about 9
different ways of using this, but the documentation isn't exactly as
clear as it could be.
Info: without swapping:
 eth0: IRQ11, I/O 0xa800
 eth1: IRQ10, I/O 0xa400
I tried all of the following arguments passed to the kernel:
 netdev=11,0xa400,eth0
 netdev=11,0xa400,eth0 netdev=10,0xa800,eth1
 netdev=10,0xa800,eth1 netdev=11,0xa400,eth0
 netdev=10,a800,eth1 netdev=11,a400,eth0
 netdev=eth1,eth0
 netdev=eth1,eth0
 netdev=eth1,eth0
 netdev=eth1,eth0 netdev=eth0,eth1
 netdev=eth0,eth1 netdev=eth1,eth0
Then I got tired of rebooting. Not one did I get them to swap, nor did
the kernel complain about bad options etc.
This is a test system, my actual goal is to swap eth0 and eth1 on a
server. This server has one 32-bit 100Mbps NIC, and one 64-bit 1000Mbps
NIC. I can't constantly reboot that server, so I threw in a second in my
workstation to try and figure this out. I have to have this order for
reasons that are too annoying to get into.
Any more ideas?
If you compile them as modules for the server, you should be able to use 
modules.conf to set the alias between the device name and the ethx bit.

--
Jonathan Wright mail at djnauk dot co dot uk
  Life has no meaning unless we can enjoy what we've been given
--
Running on Gentoo Linux
  (2.6.10-gentoo-r7-djnauk-b03 i686 AMD Athlon(tm) XP 2100+ GNU/Linux)
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
fire-eyes wrote:
Well, my fault for not mentioning. But I don't enable module loading
support on servers, it is a security risk.
Fair enough. I've done the same on my servers. What's the possibility of 
moving the cards around? The kernel will detect and load them in a 
different order then.

--
Jonathan Wright mail at djnauk dot co dot uk
  Life has no meaning unless we can enjoy what we've been given
--
Running on Gentoo Linux
  (2.6.10-gentoo-r7-djnauk-b03 i686 AMD Athlon(tm) XP 2100+ GNU/Linux)
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
fire-eyes wrote:
I would do this however one of them is built into the motherboard.
I found a document which claimed with grub all Ihad to do was
netdev=irq=24,name=eth0  however I tried this, a few variations, and
even used two netdev statements, one for each card and it still didn't
swap.
Yeesh, would think this was a trivial thing to pull off.
I've found this link
http://www.tldp.org/HOWTO/BootPrompt-HOWTO-2.html
which uses ether= instead of netdev=
Worth a try?
--
Jonathan Wright mail at djnauk dot co dot uk
  Life has no meaning unless we can enjoy what we've been given
--
Running on Gentoo Linux
  (2.6.10-gentoo-r7-djnauk-b03 i686 AMD Athlon(tm) XP 2100+ GNU/Linux)
--
gentoo-user@gentoo.org mailing list


Re: [gentoo-user] NIC Swapping Fun Continued

2005-04-21 Thread Jonathan Wright
fire-eyes wrote:
My understanding was that ether= was for 2.4 kernels, in fact the docs
for 2.6 say netdev= is the replace ment, but at this point i'm willing
to try.
Continuing the search, I've found this page:
http://www.science.uva.nl/research/air/wiki/LogicalInterfaceNames
They've put irq= before the irq number.
--
Jonathan Wright mail at djnauk dot co dot uk
  Life has no meaning unless we can enjoy what we've been given
--
Running on Gentoo Linux
  (2.6.10-gentoo-r7-djnauk-b03 i686 AMD Athlon(tm) XP 2100+ GNU/Linux)
--
gentoo-user@gentoo.org mailing list