Re: [SLUG] just use pppconfig then run pon dave

2003-04-03 Thread Damien Gardner Jnr
From: Geoffrey Cowling [EMAIL PROTECTED]
 I tried again to dialup on to ISP, finding that pon has a log file.
 This is part of it: does this say why it does not work?
 (Where is the eth0 address 192. ... kept? it is not in /etc/hosts..)
Depends on your distro - in debian its in /etc/network/interfaces..

 Apr  4 13:47:26 Lancre pppd[1474]: Cannot determine ethernet address for
 proxy ARP
Ignore this line
 Apr  4 13:47:26 Lancre pppd[1474]: local  IP address 137.111.7.203
 Apr  4 13:47:26 Lancre pppd[1474]: remote IP address 137.111.7.4
 Apr  4 13:47:26 Lancre pppd[1474]: Script /etc/ppp/ip-up started (pid
 1489)
 Apr  4 13:47:26 Lancre pppd[1474]: Script /etc/ppp/ip-up finished (pid
 1489), status =  0x1
Well, the PPP link came up and is working fine.. :)
ping 137.111.7.4 should return ping replies.. - if not, your firewalling
might be screwy?

Cheers,

Damien

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] I have DSP Alsa Modules

2003-03-31 Thread Damien Gardner Jnr
From: Mick Boda [EMAIL PROTECTED]
 I said before you need to install the alsa-modules for your kernel
 try 'apt-get install alsa-modules-`uname -r`' -- note that those are
 backticks not single quotes around the uname -r
 
 returns the error messages
 
 E: Package alsa-modules has no installation candidate
 foo:/# apt-get install alsa-modules- 'uname -r'
 Reading Package Lists... Done
 Building Dependency Tree... Done
 Package alsa-modules is not installed, so not removed
 E: Couldn't find package uname -r

No, you didn't do what he said...  try:

apt-get install alsa-modules-`uname -r`

not 

apt-get install alsa-modules- 'uname -r'

:)

Cheers,

Damien

--
Damien Gardner Jnr
VK2TDG. Dip EE. StudIEAust
Home: [EMAIL PROTECTED] -  http://www.rendrag.net/
Play: [EMAIL PROTECTED]  -  http://pinegap.net/
Work: [EMAIL PROTECTED]   -  http://www.isa.net.au/

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Okay, CVS ( the battle continues)

2003-03-30 Thread Damien Gardner Jnr
From: Mick Boda [EMAIL PROTECTED]
 I used

 foo:~# cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/lcdp
 login
 Logging in to
 :pserver:[EMAIL PROTECTED]:2401/cvsroot/lcdp
 CVS password enter
  it returns to my foo:/#  prompt?

Yep

Now you're logged in, do whatever you wanted to do..?

likely
cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/lcdp checkout
blah

where blah is the name of the module you're wanting to check out..

Cheers,

DG
--
Damien Gardner Jnr
VK2TDG. Dip EE. StudIEAust
Home: [EMAIL PROTECTED] -  http://www.rendrag.net/
Play: [EMAIL PROTECTED]  -  http://pinegap.net/
Work: [EMAIL PROTECTED]   -  http://www.isa.net.au/

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Stupid sendmail backup mx problem

2003-03-26 Thread Damien Gardner Jnr



Howdy Folks,

Looking for a little advice on sendmail 
config.. Say we have the following domain MX entries:

inracing.com.au. 
2592 IN 
MX 10 
mail.isa.net.au.inracing.com.au. 
2592 IN 
MX 20 
mx2.isa.net.au.inracing.com.au. 
2592 IN 
MX 200 mx2.vector.net.au.
Normally that all works perfectly, but say 
mail.isa.net.au stops accepting mail for 20 minutes because a client's nightly 
bulk-mail-newsletter run is going out, and the server load just hit 20 (god i 
love the way sendmail can't handle accepting all those mails from obtuse smtpd 
;), so smtpd has stopped accepting connections.

So someone tries to email [EMAIL PROTECTED], mail.isa.net.au is 
issuing 4xx temporary reject's, so their mailserver delivers it to 
mx2.isa.net.au. So far so good.. Then mx2.isa.net.au goes to deliver 
it to mail.isa.net.au, gets a temporary reject, and instead of going 'oh, theres 
no lower valued mailservers than me for this domain, ill just queue it for a 
while', as I would expect, it's delivering it to a higher valued mailserver, 
mx2.vector.net.au. mx2.vector gets the email, tries mail.isa, gets a 
temporary reject, and passes it on to mx2.isa. You get where I'm going 
with this right? Yep, 5 minutes later [EMAIL PROTECTED] gets a 'too many 
hops' email because the message is just bouncing between the two 
secondaries..

Is my understanding of the basics of MX preferences 
wrong (aka a mailserver listed at 20 isn't supposed to deliver to a mailserver 
listed as 200..), or have I messed up the config on mx2.isa ?
Things are made a little more complicated by the 
fact that the three servers are running different software... vector run 
postfix, mx2.isa runs stock sendmail, mail.isa runs obtuse smtpd as the MTA, 
passing messages into sendmail as the MDA.

Thanks for yer thoughts :)

Cheers,
Damien

--Damien Gardner JnrVK2TDG. Dip EE. 
StudIEAustHome: [EMAIL PROTECTED] 
- http://www.rendrag.net/Play: 
[EMAIL PROTECTED] - http://pinegap.net/Work: [EMAIL PROTECTED] - http://www.isa.net.au/


Re: [SLUG] Stupid sendmail backup mx problem

2003-03-26 Thread Damien Gardner Jnr

From: John Clarke [EMAIL PROTECTED]
 Please wrap your lines.  740 character lines are a little hard to read
*grin* says the man who's telling us his current uptime and weather in his
mail headers? ;)
(Seriously though, I hate people who hard-wrap their lines before sending,
with a vengeance - just because they're running an 80x25 terminal doesn't
mean I am... their mails are a waste of horizontal space on my my maximised
terminal on my 20 monitor (or in the case of when i'm at work, they're a
waste of space in lookout express on my 20 monitor) ;)

 This where it's going wrong.  mx2.isa.net.au should only deliver to
 mail.isa.net.au, never to mx2.vector.net.au.  As long as sendmail has
 been configured to relay for a domain, it should then use the MX
 records to figure out where to deliver mail for that domain.
That's what I was expecting.

 It looks like it.  It might be sendmail's config or it might be DNS.
 Do an MX DNS query for inracing.com.au on mx2.isa.net.au.  Does that
 return the correct preference values for each host?

 It looks fine

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Stupid sendmail backup mx problem

2003-03-26 Thread Damien Gardner Jnr
ARGH, why does Ctrl+v through VNC send a message 1/10th of the time in
lookout express?!


From: John Clarke [EMAIL PROTECTED]
 Please wrap your lines.  740 character lines are a little hard to read
*grin* says the man who's telling us his current uptime and weather in his
mail headers? ;)
(Seriously though, I hate people who hard-wrap their lines before sending,
with a vengeance - just because they're running an 80x25 terminal doesn't
mean I am... their mails are a waste of horizontal space on my my maximised
terminal on my 20 monitor (or in the case of when i'm at work, they're a
waste of space in lookout express on my 20 monitor) ;)

 This where it's going wrong.  mx2.isa.net.au should only deliver to
 mail.isa.net.au, never to mx2.vector.net.au.  As long as sendmail has
 been configured to relay for a domain, it should then use the MX
 records to figure out where to deliver mail for that domain.
That's what I was expecting.

 It looks like it.  It might be sendmail's config or it might be DNS.
 Do an MX DNS query for inracing.com.au on mx2.isa.net.au.  Does that
 return the correct preference values for each host?

 It looks fine on mx2:

[EMAIL PROTECTED] 10:29am 1]
~ $dig inracing.com.au MX | grep -A 3 ANSWER\ SECTION
;; ANSWER SECTION:
inracing.com.au.2592IN  MX  20 mx2.isa.net.au.
inracing.com.au.2592IN  MX  200 mx2.vector.net.au.
inracing.com.au.2592IN  MX  10 mail.isa.net.au.

Hmm, though that gets me thinking... - while mx2.isa.net.au resolves to the
same IP as the actual hostname on the machine
(hungryhungryhippos.isa.net.au), will sendmail realise that it's the same
machine? Or should I be doing a Cwmx2.isa.net.au to make sure?

Cheers,

Damien

--
Damien Gardner Jnr
VK2TDG. Dip EE. StudIEAust
Home: [EMAIL PROTECTED] -  http://www.rendrag.net/
Play: [EMAIL PROTECTED]  -  http://pinegap.net/
Work: [EMAIL PROTECTED]   -  http://www.isa.net.au/

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Silly shell challenge

2003-03-18 Thread Damien Gardner Jnr
From: Jeff Waugh [EMAIL PROTECTED]
   $ grep bogomips /proc/cpuinfo | awk '{ print + $3 }' | tr -d '\n' |
cut -c 2- | bc
   6121.06

 Your mission: To work out what it's doing, why you'd be stupid enough to
 want to do it, and then how to do it better. It has to be in shell, and it
 has to handle decimals! :-)

Looks like it's grabbing the bogomips value (and adding a + in front of),
cutting the \n off it, removing the +, then passing it to bc to shove the \n
back in... Why you'd want to do it? no idea :)

better like this:

$ grep bogomips /proc/cpuinfo | sed 's/.*: \(.*\).*$/\1/'
1101.00

?

--
Damien Gardner Jnr
VK2TDG. Dip EE. StudIEAust
Home: [EMAIL PROTECTED] -  http://www.rendrag.net/
Play: [EMAIL PROTECTED]  -  http://pinegap.net/
Work: [EMAIL PROTECTED]   -  http://www.isa.net.au/

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] problem

2003-03-10 Thread Damien Gardner Jnr
 -
 I am having a problem connecting to ozemail. It keeps giving me the sign
 Error  Ox800 CCC0E. could you please tell me what this means and if I
 can correct it .
 -

If you take the time to search the MS Knowledgebase, you'll find that it
means your SMTP server is telling you to go take a hike (aka 550 relaying
denied).. - Try entering your correct SMTP server in your OE config?
(http://support.microsoft.com/default.aspx?scid=kb;en-us;302339)

BTW, what on earth does an OE problem have to do with SLUG? :)

-- DG

--
Damien Gardner Jnr
VK2TDG. Dip EE. StudIEAust
Home: [EMAIL PROTECTED] -  http://www.rendrag.net/
Play: [EMAIL PROTECTED]  -  http://pinegap.net/
Work: [EMAIL PROTECTED]   -  http://www.isa.net.au/

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Debian help

2003-03-08 Thread Damien Gardner Jnr
Hmm, try changing it from

 Option Protocol PS/2

to

 Option Protocol ImPS/2

'PS/2' didn't have scrollwheels, so with your ZAxisMapping line there, I'm
assuming you're actually using an 'ImPS/2'? :)

Cheers,

DG




- Original Message -
From: Alan L Tyree [EMAIL PROTECTED]
To: Sydney Linux User Group [EMAIL PROTECTED]
Sent: Sunday, March 09, 2003 4:11 PM
Subject: [SLUG] Debian help


 This is the right place isn't it? :-)

 After all the talk last week about the SLUG disk, I'm trying to install
 debian 3.0. Everything is good, except I can't get the mouse to work.

 System is an HP Pavilion with a ps2 mouse. Extract from the X

 is
 Section InputDevice
 Identifier Configured Mouse
 Driver mouse
 Option CorePointer
 Option Device /dev/psaux
 Option Protocol PS/2
 Option Emulate3Buttons true
 Option ZAxisMapping 4 5
 EndSection

 What other information can I give to help here?

 Thanks for any help,
 Alan

 --
 --
 Alan L Tyree [EMAIL PROTECTED]
 http://www.law.usyd.edu.au/~alant
 Tel: +61 2 4782 2670
 Mobile: +61 405 084 990
 Fax: +61 2 4782 7092
 --
 SLUG - Sydney Linux User's Group - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug


-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] Dial-in Server

2003-02-26 Thread Damien Gardner Jnr
You have a couple of things to look at..

1) (most fundamental) do you have ip forwarding enabled on the dialin
server?  if you don't have IP forwarding enabled you're not going to have
any packets going out past the dialin server (which might explain you being
able to get to the server itself, but not get past it..)  (echo 1 
/proc/sys/net/ipv4/ip_forward  - your distro probably has a setting in
an rc file somewhere to have this enabled on boot..- in debian it's
/etc/network/options)

2) You mention masquerading - when you dial in, are you getting a real IP
address, or are you getting a private IP, and then needing ipmasq to get out
to internet?  If you're needing ipmasq, you will probably need to put
something in your ip-up script to add the ipmasq rules for the ppp interface
when it comes up..?

3) re DNS..  in your /etc/ppp/options, you'll have some ms-dns lines - put
your DNS server ip's into these, and they'll be supplied to your dialled-in
windows box on connect..  (This is your local dns server IP if you run one,
otherwise your upstreams..


Just some thoughts to check :)

Cheers,

Damien

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


Re: [SLUG] UT

2003-02-22 Thread Damien Gardner Jnr
From: Adam Hewitt [EMAIL PROTECTED]
 I have installed UT2003 using the linux installer on disk 3, and I am
 getting very poor performance. Im talking about 20-25 frames less than
 under windows.
 I am running gnome2.2, with the nvidia drivers (3123) under debian
 unstable. Has anyone heard of this problem or have a fix for it??

Sounds par for the course to me.. - UT2003 major suckage under Linux was why
we moved our development environment at work over to Windows.. - Developers
aren't happy if they can't play games at lunchtime ;)

One 'fix' is to dual-boot windows, but you probably don't want to do that
:) - Run a lower res?  Also note that sound can make a big diff too.. - the
one developer who hung onto Linux until the last minute (everyone else
switched to windows and kept their linux env in vmware..) was messing around
with alternate sound configs, and did manage to get his framerate up a heap,
but still noticed a pretty big difference when he finally made the move to
Windows (which was prompted by his motherboard dying, and the new (i845E)
mobo's IDE controller not being supported by the latest 2.4 kernel at the
time)

Cheers,

Damien

--
Damien Gardner Jnr
VK2TDG. Dip EE. StudIEAust
Home: [EMAIL PROTECTED] -  http://www.rendrag.net/
Play: [EMAIL PROTECTED]  -  http://pinegap.net/
Work: [EMAIL PROTECTED]   -  http://www.isa.net.au/

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug


[SLUG] Debian on Brand-Name servers?

2003-02-18 Thread Damien Gardner Jnr
Howdy Folks,

A client is about to do a rollout of linux appservers across their wan, and
they're trying to find brand-name servers (aka compaq/dell) which will run
debian without a lot of screwing around..  They're running HP DL380G2's at
the moment for their Windows machines, but apparently HP aren't being very
helpful about whether there is linux support for the hardware in the boxes..

I'm wondering if any of you are running debian (or one of the other
non-redhat-fuzzy-warm-feeling-rpm-based distro's) on HP/compaq/dell
hardware?  And if so, what the install was like?  I'm certainly up for
dropping a custom-compiled kernel onto the install CD to let us install onto
RAID, but the client doesn't want to go to the hassle.. (plus I think i've
finally talked him out of needing raid for a box that'll never use the HDD
once the app is loaded.. :)

Cheers,

Damien

--
Damien Gardner Jnr
VK2TDG. Dip EE. StudIEAust
Home: [EMAIL PROTECTED] -  http://www.rendrag.net/
Play: [EMAIL PROTECTED]  -  http://pinegap.net/
Work: [EMAIL PROTECTED]   -  http://www.isa.net.au/

-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Debian and Paper types?

2001-12-18 Thread Damien Gardner Jnr

Hey all,

Stupid question time - a few months ago, I did a dist-upgrade on all our
workstations (running woody..), and just hit enter on the default when a
debconf screen came up asking me to select paper type for printing..  Well
it seems that it's now defaulting to Letter instead of A4, so all of our
linux workstations (the managers are still using windows.. - but 30 to 4 is
still pretty good win/lin ratio ;) are printing to letter paper instead of
A4 which is causing big queue's at the printer with it wanting confirmation
that we want to print Letter..  I've dpkg-reconfigure'd just about every
package I can find that has anything to do with printing, but I can't find
the one that controls paper type, and I don't seem to be getting the right
keywords in google, cause I just keep getting garbage..

Does anyone happen to know which package it is that controls the paper type
used to print?  It doesn't seem to be defined in lprng.conf or printcap
(we're printing to a HP LJ4050N via tcp..), so I'm totally at a loss to
figure out how to change the damned paper type :(

Any help muchly appreciated.. :)

Cheers,

DG

--
Damien Gardner Jnr   -  Dip.EE  StudIEAust  VK2TDG
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- A hard-on does NOT count as personal growth.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] Telstra Direct IP routing

2001-11-17 Thread Damien Gardner Jnr

From: John Roberts [EMAIL PROTECTED]
 I don't have any problem with my outgoing IP traffic. My routing
 table is fine. It is IP traffic that should be coming in that is the
problem.
 Traceroute shows that the packets are lost on the Telstra network. I can
 sort of work around the problem by masquarading my packets to my PPP
 IP number. But this prevents some applications that embed IP addresses
 within the messages themselves (eg NetMeeting). I would rather have the
 subnet Telstra has assigned me work.

Assuming it's been more than 4 hours since you added the route, give BPD
helpdesk (1800 066 594) a ring, and tell them to find out why your route
hasn't flowed through the network.. - push em hard enough, and they'll flush
the routes right there and then.. (That's always fun to watch.. - sit there
with traceroutes running, and you can see all routes across aus drop, then
(over about a 30-second period) fan out across the country :)

But yeah, if you've setup your routes in custdata, left it until the
4-hourly update (8am, 12am, 4pm, 8pm, unless they've changed it in the last
12 months), but a traceroute from telstra (www.telstra.net/cgi-bin/trace)
doesn't end up coming in your link, it's a telstra fault, and they have 4
hours to find the fault, and a further 4 fix it IIRC.. :)  Don't let them
tell you otherwise.. - I had a route change (from a vic pop to an act pop)
not go through on a friday night, and had the tech on duty on saturday
morning tell me that he wasn't allowed to do a routing reload, and would I
mind waiting till monday morning cause he didn't want to have to get an
engineer out on the weekend to do the reload.. - he ended up getting the
engineer out.. :)

HTH,

DG

--
Damien Gardner Jnr   -  Dip.EE  StudIEAust  VK2TDG
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- A hard-on does NOT count as personal growth.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] MySql question

2001-04-08 Thread Damien Gardner Jnr

On Mon, Apr 09, 2001 at 01:47:28PM +1000, Simon Bryan said:
-- Hi,
-- Can anyone point me at some resources that describe how to move an MySql 
-- database from one server to another?

I find that something like the following works well..

newserver:/var/lib/mysql# scp -r user@oldserver:/var/lib/mysql/dbname ./
..
..
..
newserver:/var/lib/mysql# chown -R mysql.mysql dbname


- then you just have to add user/db access records to go with if needed, and do a 
'mysqladmin reload'..

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- It's sick the way you people keep having sex without me


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Ipchains/promisc problem?

2001-03-25 Thread Damien Gardner Jnr

Hi All,

I've come across a problem that I'm hoping someone has the answer two..  back when one 
of my boxes was running a 2.0 kernel, I used to use ipac on it to do ip accounting for 
all the machines on the network segment it was on (With eth0 in promisc mode..).  I've 
since moved that segment onto the switch, so stopped using using ipac in this way..
We've been seeing some amazing growth in inbound traffic in the last two months (from 
15 to 30gb/month incoming, without a corresponding jump in outgoing traffic (Our 'net 
link is used solely for webhosting/colocation)), so I've been trying to find out where 
the jump is..  Our core route/firewall is a BSD box, and I've got some rather full-on 
accounting happening with ipfw, but I really prefer ipac, as it has such a nice 
interface..  So I thought I'd fire up a linux box on a hub between the firewall and 
our border routers (internet, private links to clients, etc), put the interface into 
promisc mode, and get ipac happening..

It doesn't seem so easy however, as the only traffic being accounted, is traffic 
to/from the box, and not the traffic going by on the wire.  eth0 is definitely in 
promisc mode, as ifconfig shows such, I can see the traffic going by with tcpdump (and 
RX bytes in ifconfig eth0 is sitting at 76Mb from the last 30 mins..), however an 
ipchains -vnL doesn't show anything except actual traffic in/out of the machine.. 
(I've done an 'ipchains --append -i eth0', which I would think should be accounting 
all data the interface is seeing..)

Am I doing something wrong here?  I'm prepared to go back to a 2.0 kernel to get this 
working if I have to, but if there's an easier solution (using ipac - it's perfect for 
the accounting I need to be doing at the moment..) to getting ipchains to account for 
what I'm expecting it to account for, I'm open to suggestions..   I've spent the last 
four hours digging through google searching on 'ipchains promisc', and noone else 
seems to have come across this problem (or perhaps just hadn't expected it to work 
like that..?), except for one person who posted about it here to slug last year, but 
never got a solution..

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- A hard-on does NOT count as personal growth.

-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Uncompressing .tgz files

2001-03-25 Thread Damien Gardner Jnr

On Mon, Mar 26, 2001 at 05:59:00PM +1000, D.V.Rogers said:
-- have readthe book, twice
-- still having problems uncompressing .tgz files
-- any command line suggestions?
-- any utilities recommended?
-- thanks 
-- David

gunzip blah.tgz  ?

Or if, for some reason, gunzip is barfing on it being called .tgz, try renaming it to 
.tar.gz ? :)

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- This sentence contains exactly threee erors.


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] problem with aic7xxx not loading on boot up..

2001-02-26 Thread Damien Gardner Jnr

On Tue, Feb 27, 2001 at 12:57:14PM +1100, George Vieira said:
-- Anybody know why I got this error on boot up? I have added the following
-- into conf.modules and /etc/fstab but I got this error and the SCSI drive
-- didn't mount until I `insmod aic7xxx` and then `mount /dev/sda1`

Hi George,

You'll probably need to add 'aic7xxx' to the end of your /etc/modules file as well..  
:)

-- 
Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- Can I trade this job for what's behind door # 2?


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Mgetty - cannot set controlling tty (ioctl) ??

2001-02-15 Thread Damien Gardner Jnr


Hey All,

I'm hoping someone has struck this one before - it's driving me insane!

One of our boxes has a modem hanging off it, which one of our management-types dials 
into   We had a small power outage (ok, maybe not so small - half of the western 
suburbs of canberra were out, according to actew), and that machine has it's own UPS, 
which didn't last the length of the outage (I got about 20 seconds notice of the UPS 
failure, not the 5 minutes i'm accustomed to.. - not impressed... :(, so the machine 
went down cold..

When it came back up, everything was fine, except we're now having troubles with the 
dialin..

Using minicom, I can dial out, and answer calls back into the machine.. - however 
mgetty (run from inittab - T1:23:respawn:/sbin/mgetty -x9 -D -s 57600 ttyS1 -n 2) 
spits out an error, then quits..  /var/log/mgetty/mg_ttyS1 says:

02/13 16:27:41 yS1  cannot set controlling tty (ioctl): Operation not permitted
02/13 16:28:11 # failed dev=ttyS1, pid=32463, got signal 15, exiting


the perms on /dev/ttyS1 look ok to me, comparing them to those on other servers with 
the same config..:

crw-rw   1 root dialout4,  65 Feb 15 19:44 ttyS1

The box is a PII-400, running Deb 2.1 and kernel 2.2.17.

Any thought's GREATLY appreciated - the management-type who usually dials into it is 
starting to get restless. ;)

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- I'm a Pisces - don't tell me anything you don't want my ASIO shadows to overhear


-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] OT: MS hacked again

2001-01-21 Thread Damien Gardner Jnr

On Mon, Jan 22, 2001 at 12:34:05PM +1100, Rick Welykochy said:
-- offtopic topic="MS hacked"
-- try a whois microsoft
-- /offtopic

Looks normal to me...?   Remember that 'whois microsoft' will return a list of all 
entries which match.. - domains, hosts, etc, so all the extra entries you're seeing 
are hosts which people have registered...

Wasn't this on slashdot about six months ago? :)


Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- I'm trying to imagine you with a personality.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] `Underground' by Suelette Dreyfus - online

2001-01-17 Thread Damien Gardner Jnr

On Thu, Jan 18, 2001 at 11:21:18AM +0800, Mike Holland said:
-- On Thu, 18 Jan 2001, Rick Welykochy wrote:
-- 
--  at http://www.underground-book.com/download.php3 ...
-- 
-- Are there any mirrors please? The above is slashdotted.

Quoting Grant Bayley [EMAIL PROTECTED]
Also now available in the (slowly) growing collection of books at:

http://the.wiretapped.net/security/info/books/

http://the.wiretapped.net/security/info/books/suelette-dreyfus--underground.txt
http://the.wiretapped.net/security/info/books/suelette-dreyfus--underground.txt.gz
http://the.wiretapped.net/security/info/books/suelette-dreyfus--underground.zip
http://the.wiretapped.net/security/info/books/suelette-dreyfus--underground.txt.bz2
http://the.wiretapped.net/security/info/books/suelette-dreyfus--underground.pdb
http://the.wiretapped.net/security/info/books/suelette-dreyfus--underground-tealdoc.pdb

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6255 8663
-- Can I trade this job for what's behind door # 2?



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] need help with mysql

2000-11-26 Thread Damien Gardner Jnr

On Tue, Nov 28, 2000 at 01:41:49AM -1000, Kevin Saenz said:
-- Help I have forgotten how to add users to mysql.

$ mysql -uroot -p mysql
Enter password:
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 521 to server version: 3.22.32-log

Type 'help' for help.

mysql INSERT INTO user (host, user, password) values ('localhost', 'username', 
password('password'));

Query OK, 1 row affected (0.30 sec)

mysql QUIT

---
You'll probably want to specify some privs in there too (desc user), but I prefer to 
leave them at the default (all 'N'), and specify privs on a per-user,per-database 
basis.. - but for a private server you can probably just set them globally for the 
user..

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6299 9713
-- I'm trying to imagine you with a personality.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] Disabling console screensaver/blanking?

2000-11-12 Thread Damien Gardner Jnr

Hi All,

My router/firewall machine at home has been locking up solid every couple of days 
recently, and it's starting to get too frequent, so i'm trying to find out why.. - 
what I haven't been able to figure out though, is how to disable the 
screensaver/blanking thing on the console, so that I can see the last messages on the 
console when the machine locks up.. - Anyone happen to know how to disable the 
blanking?

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6299 9713
-- This sentence contains exactly threee erors.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Adding a user to a group

2000-11-12 Thread Damien Gardner Jnr

On Sun, Nov 12, 2000 at 11:06:48AM +, Herbert Xu said:
-- usermod does locking while vi does not.
If you're the only person on the box with root, that shouldn't matter, unless one of 
your other personalities has another shell open ;-p

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6299 9713
-- I like cats too. Let's exchange recipes.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



[SLUG] htaccess question..

2000-10-26 Thread Damien Gardner Jnr

Hi All,

Something that's been bothering me for a while now, that the apache doco's don't seem 
to be able to help me with, is how to turn off .htaccess password authentication in 
sub-folders of a site..  i.e. Say we have a website, with a .htaccess file in the web 
root telling apache to pop back an authentication box and check that it's a valid 
user.  now that all works well, but say I have a /public folder, which I don't want 
*any* access restrictions on - I haven't managed to find out how to tell apache to 
ignore the parent folder's settings for the current folder.. - Any Ideas? :)

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6299 9713
-- This sentence contains exactly threee erors.



-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] re: ipchains and dns server

2000-08-22 Thread Damien Gardner Jnr

On Wed, Aug 23, 2000 at 07:25:10AM +1000, Umar Goldeli said:
-- Not neccessarily - remember that all your queries will *go* to a port 53
-- of the other dns servers.. so you can define an inbound rule of dest port
-- = 53. To let that stream continue happily.

But having an inbound rule allowing port 53 traffic in isn't going to help much if the 
traffic isn't coming back in to port 53.. i.e. if bind makes a query from say port 
1534, how is the reply data going to get back in if you don't have that port opened in 
your firewalling?

Now sure, you could add an inbound rule of src port = 53 which would get around this.. 
- but then you've just circumvented your whole firewall, as all the hax0r that wants 
to get into your box has to do is use a source port of 53, and they have full access 
to your machine.. :\

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6299 9713
-- A hard-on does NOT count as personal growth.



--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Apache hits 62.8%

2000-07-31 Thread Damien Gardner Jnr

On Tue, Aug 01, 2000 at 01:44:21PM +1000, John Wiltshire said:
-- From: Ken Yap [mailto:[EMAIL PROTECTED]]
--  
--  http://www.netcraft.com/survey/
--  
--  And IIS dropped 0.5%.
-- 
-- Did you notice download.microsoft.com is running Apache?

Hmm, Looks like IIS to me?

--
~ $ telnet download.microsoft.com 80
Trying 207.46.68.24...
Connected to download.microsoft.com.
Escape character is '^]'.
HEAD / HTTP/1.0 OK

HTTP/1.1 200 OK
Server: Microsoft-IIS/5.0
Content-Location: http://207.46.68.24/Default.htm
Date: Tue, 01 Aug 2000 04:10:50 GMT
Content-Type: text/html
Accept-Ranges: bytes
Last-Modified: Fri, 14 Apr 2000 15:36:34 GMT
ETag: "d46f193727a6bf1:868"
Content-Length: 138
--

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6299 9713


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug



Re: [SLUG] Grepping a variable and spaces.

2000-07-30 Thread Damien Gardner Jnr

On Mon, Jul 31, 2000 at 11:22:11AM +1000, George Vieira said:
-- but when I change the grep line to`grep  -e " $TMP "` or to `grep -e
-- \" $TMP \"`I get nothing..
-- 
-- can anybody help?

Hi George,

How about `grep -e \ $TMP\ ` ? :)
(those are \(space), btw)

Regards,

Damien Gardner Jnr   -  Dip.EE  StudIEAust
[EMAIL PROTECTED]  -  http://www.rendrag.net/
Ph: 0417 055 052 -  Fax: 02 6299 9713


--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://slug.org.au/lists/listinfo/slug