Re: [SLUG] memory usage

2002-01-12 Thread sm

That's what I was after.

Thanks.


On Sat, 12 Jan 2002 15:40:29 +0900
[EMAIL PROTECTED] wrote:

 not sure what you exactly want, but
 
 1.
 
 free
 
 2. 
 
 top
 
 3.
 
 cat /proc/mem
 
 
 will all give you info about memory 
 
 you can put (1) and (3) inside a loop if you want to monitor, ie
 
 while true
 do
 free
 sleep 1
 done
 
 
 On Sat, 12 Jan 2002 16:28:09 +1100
 sm [EMAIL PROTECTED] wrote:
 
  Hi,
  
  Could anybody tell me how I can monitor memory usage from the command line?
  
  Thanks,
  Steve
  -- 
  SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
  More Info: http://lists.slug.org.au/listinfo/slug
 
 _
 Do You Yahoo!?
 Get your free @yahoo.com address at http://mail.yahoo.com
 
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] memory usage

2002-01-12 Thread Howard Lowndes

Better still

watch -n1 free

On Sat, 12 Jan 2002 [EMAIL PROTECTED] wrote:

 while true
 do
 free
 sleep 1
 done

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
 We are either doing something, or we are not.
 'Talking about' is a subset of 'not'.

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



Re: [SLUG] memory usage

2002-01-12 Thread Barrie Hall

Try vmstat

I use 'vmstat 5' (prints memory and other parameters to stdout every 5
seconds)

Cheers,
Barrie


- Original Message -
From: sm [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, January 12, 2002 4:28 PM
Subject: [SLUG] memory usage


 Hi,

 Could anybody tell me how I can monitor memory usage from the command
line?

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


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



[SLUG] An odd ping thing

2002-01-12 Thread Howard Lowndes

I'm currently playing with a script to measure average ping times between
some sites and have tries a variety of the ping options, but I have
noticed some curious behavour.

If I flood ping for 1 second with:
ping -q -n -f -w1 target
then it appears to put out around 100 packets, I get quite high packet
loss and a ping time average around the same as for a normal ping.

If I war ping with 100 packets in 1 second with:
ping -q -n -c100 -i0.01 target
then I get no packet loss and a similar ping time when the target is a
PSTN connection.

Now here comes the odd bit.  If I take out the -q option so that I can
see the responses, then from ADSL to PSTN the ping times marginally
increase during the sequence.  From ADSL to ISDN the ping time increases
by a factor of around 2 from start to end.  From ADSL to ADSL however this
ping time increases steadily over the 1 second by a factor of over 15.

Weird...

-- 
Howard.
LANNet Computing Associates - Your Linux people
Contact detail at http://www.lannetlinux.com
 We are either doing something, or we are not.
 'Talking about' is a subset of 'not'.

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



[SLUG] Kernel panics reading cdroms

2002-01-12 Thread lukekendall

I've been trying to write the 6th CD in an 8 CD full backup set.
cdrecord kept failing, on 3 different CD-RW discs (at a different point
for each one).  Each CD contains just two files.  One is empty and is
the name of the backup set, and the other is a cpio archive of the
backup data that will fit on one CD.  The CD filesystem is a plain
ISO9660 type.

I seemed to eventually succeed, with a 4th CD-RW.  Then I mounted it,
and looked at the two files on it, and it seemed fine.  But when I ran
cpio on the backup file from the CD, to verify it, the system panicked.

I've had about 10 panics tonight.  (After the 1st one, I booted into
single user mode and unmounted all but the small root system, to
minimise fsck times.)  From a text console, the panic message was
something like: Aiee.  Can't return from interrupt handler.  Panic.

At first I suspected that a dodgy filesystem had been created on the
CD, but I get pretty much the same result even accessing ordinary CDs
(e.g. a CD from a Linux magazine).  But sometimes it works.

Sometimes the system panics when mounting the CD; sometimes it panics
when copying large files from it; sometimes the CD can in fact be read.

I'm running RH 7.1 with a 2.4.17 kernel.  Though I get the same panics
from the original RH 7.1 kernel.

The CD is a pretty new Sony CD-RW CRX175E, running via generic scsi
emulation.  It's on a shared bus with a DVDROM drive, that's also
managed as a generic scsi.  I got the same kind of crash from the
DVDROM drive, which is original equipment with the computer.  So I
suspect the problem is in the scsi emulation system.

The new element is the CD-RW drive.  I may not have actually tried to
use it to read bulk data from CD before today...

Until today, I've had no trouble writing with it.

How robust is Linux with regard to device errors on scsi devices?
Certainly, the previous HP CD writer that started playing up, was
handled very badly by Linux when it did play up.  The scsi module went
into a tight loop re-sending the scsi command that failed, and filling
/var/log/messages with error messages as fast as it could.  (The only
way that I could find to stop it was to reboot.)

There is also this discouraging comment in the man page for cdrecord:

   The Philips CDD 521 CD-Recorder (even in the upgraded ver­
   sion) has several firmware bugs. Some of them  will  force
   you to power cycle the device or to reboot the machine.

   When  using  cdrecord  with  the broken Linux SCSI generic
   driver.  You should note that cdrecord uses a  hack,  that
   tries  to  emulate  the  functionality  of the scg driver.
   Unfortunately, the sg driver on Linux has  several  severe
   bugs:

   ·  It  cannot  see if a SCSI command could not be sent
  at all.

   ·  It cannot get the SCSI status byte.   Cdrecord  for
  that  reason cannot report failing SCSI commands in
  some situations.

   ·  It cannot get real DMA count of transfer.  Cdrecord
  cannot  tell you if there is an DMA residual count.

   ·  It cannot get number of bytes valid in  auto  sense
  data.  Cdrecord cannot tell you if device transfers
  no sense data at all.

   ·  It fetches  to  few  data  in  auto  request  sense
  (CCS/SCSI-2/SCSI-3 needs = 18).

I'm a little puzzled that I can write CDs reliably (e.g. music CDs),
but not read them.  Does anyone have any advice?  Should I report this
problem to someone?  If so, which group?  For the generic scsi device
to be described as it is in cdrecord's man page, it sounds like this
problem has been around for a while.

Anyway, I thought I'd send this before trying any more experiments, to
see if anyone had any advice.

luke

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



Re: [SLUG] [OT] burned on a deal

2002-01-12 Thread John Morrissey

Hi Andrew,

Sorry to hear of your misfortune.

While it is possible that the unit will work at 110 v. your monitor is not
likely to want to run at that voltage.  You also risk the prospect of
problems caused by confusing which cable is which under your desk.

Firstly, put the problem in writing to the seller.  Send a copy in writing
to Auction Traders along with a covering letter requesting their involvement
in the dispute and for them to advise you of their procedures.  Do this by
email but also invest a few dollars and send a hard copy by secure post or
registered mail to their company secretary.  This is your buy -in.

Getting your money back will depend on your negotiation skills and on how
good a poker player you are.  Auction Traders need to see the benefits of
being on your side vs the costs of being other than on your side.  You
need to lead them to this revelation without threatening them.  You then
need them to feel obliged to act on your behalf.  In the event that the
seller tells everyone to rack-off, you need Auction Traders to put their
hands in their own pocket.

This is all possible.

Their Terms  Conditions don't have the air of having been composed by top
flight legal team at Allens, Mallesons or Minter Ellison.  Rather they have
the distinct odour of something that was copied from elswhere and modified
to suit by the companies managers. ( typos, spelling mistakes, errors in
phrasing and case, etc. - perhaps somebody's sister was dating a second year
law student.)  My point is they appear to have cheaped out on having their
T  C properly put together.

If Auction Traders have to refer this to a solicitor it will cost them
$1,000 minimum. If they have to put on a defence in the Federal Court,
$15,000 to lodge and another $20,000 to run - minimum.

Given the nature of their business they are an attractive target for both
ACCC and Fair Trades.  It is therefore more likely that you will be able to
persuade some government authority to run the matter for you.  COST TO YOU -
SOME PHONE CALLS AND A LOT OF NAGGING.

Auction Traders business is dependant on the confidence of prospective
buyers.  Confidence that is unlikely to endure any negative publicity much
less a well promoted negative web site.  Your posting to SLUG has already
cost them some buyer confidence.

Most auction sites take a fairly dim view of misleading descriptions and
from the wording of their condition #15 (quoted below) one can reasonably
assume that Auctiontrader.com.au are no exception.

They also appoint themselves as sole arbiter in any disputes (condition #2
below).

Thus implying that they have the power to effect a satisfactory outcome in
the case of such a dispute.  And it is implied that they will do so with
respect to the laws of the State of Victoria ( their Fair Trades Act mirrors
the Federal Trade Practices Act and is almost word for word identical to the
NSW Act) and the Laws of the Commonwealth of Australia.  See condition #1
as permitted by Australian Federal Law, and the Law of the State of
Victoria, and if any portion is held invalid.

All of these jurisdictions would take a dim view of the sellers
advertisement for its ommissions.

Firstly ask them to deliver on this.  They have been as unwitting a victim
of this unscupulous seller as you have.

If they don't you have an action against them under Trade Practices on the
basis that their published terms and conditions are a  misleading
advertisement.

The relationships between the seller and Auction Trader is a little blured
as to who is actually making the statements about the UPS ( do Auction
Traders refer to the word advertisement anywhere on their site?).  BUT IT
DOESN'T MATTER!  Auction Trader is either the agent making the statement
themselves, or they are the publisher in the same position as News Ltd or
Fairfax.  Their conditions don't make this clear - either way they are in
deep doodoo over a misleading advertisement

The commercial expedient for them is to find in your favour and do their
upmost to assist in your recovering the monies paid. This would include the
invocation of Condition #15 and I suspect extend to providing access to
any logs or other documents in their possesion to assist in identifying and
determining the nature of the seller.  They could further demonstrate their
good faith by joining you in any action against the seller.

By the publishing of their Terms and Conditions they have produced an
advertisement as defined in Federal Trade Practices Law.

Their is the question of the exact content of the advertisement - eg: Was
the question of new/ second hand addressed at all?  Were any statements made
as to its suitability for a particular purpose? ( including the category it
was listed under).

Further the issue of  duty of care.  What advice/warnings do they issue to
sellers when placing ads? And what prominence do the essential parts of
these comments have?  Are they bold and obvious or hidden in a great length
of continuos 

Re: [SLUG] Python SIG: The saga continues.

2002-01-12 Thread Jeff Waugh

quote who=Andrew Bennetts

  Second Tuesdays after Meetings are ctte meetings, so it can't be then.
 
 Perhaps SLUG needs to maintain some sort of monthly events calendar to make
 scheduling these things a bit easier?

Well, we have this new website thingy that kind of does that. Gus can
explain.

 Heh -- you really need to take a close look at Twisted (twistedmatrix.com,
 or just apt-get install twisted)...

I didn't think it had anything appropriate for this particular task, but
I'll peek again.

 I've no idea what your problem is

That's funny, everyone else claims they know what all of my problems are...

 but I'm sure Twisted is one of the answers :)

... and everyone says that's one of them! FIE! ;)

- Jeff

-- 
 Broken hearts rarely come with Some Assembly Required stickers.  
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Crazy stuff with osd and procmail

2002-01-12 Thread Jeff Waugh

Heyhey crazy kids,

Here's another damn fool stunt to pull with procmail:

  ONSCREEN=osd_cat --color=#ffe000 --offset=-70 --delay=2 --shadow=2 
--font=-urw-eurostile-bold-r-normal-*-*-480-*-*-p-*-iso8859-1

  :0 ich
  * ^Subject:.*\/.*
  | echo $MATCH | $ONSCREEN

What does this do?

XOSD - pointed out to me my Jacques Wilkinson of This Very List - is a cool
little utility that prints up an onscreen display in X. Very nifty for music
players and the like.

The procmail snippet pipes the subject (sucked out of the headers by
matching it) to xosd's osd_cat command, which pops it up on your screen to
alert you. You can do anything with osd_cat, and you can also use the osd
library to bring crazy osd fun to your own software. An Evolution filter
hack would be pretty cool. ;)

On Debian, you can get it (and the associated xmms plugin) with:

  apt-get install xmms-osd-plugin xosd-bin

Crazy Crack! Go get some! Run, don't waltz!

- Jeff

-- 
   2.4.1ac17 is full of innovations and should be used with caution. -
 Linux Weekly News  
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] [OT] Someone subscribe me to linux-kernel

2002-01-12 Thread Richard Ames


It appears the IP you are coming from is listed as in a 'dialup pool' that 
has originated spam. See: 

http://relays.osirusoft.com/cgi-bin/rbcheck.cgi?addr=63.60.254.167

I'm not surprised uu.net (AKA Ozemail) gets tared with this brush from 
time to time.

Richard.

On Sun, 13 Jan 2002, James wrote:

 Hi,
 
 Can someone please subscribe my address [EMAIL PROTECTED] to the Linux 
 kernel mailing list, by sending mail to the address [EMAIL PROTECTED] 
 with the command:
 
 subscribe linux-kernel [EMAIL PROTECTED]
 
 The dickhead who manages this list has fucked it up and I cannot subscribe 
 myself, not from any address. I must be on a bad IP block or something, this 
 is the only possible reason I see now.
 
 Thanks,
 James
 

-- 
Richard Ames
linsup.com, Sydney, Australia
mailto:[EMAIL PROTECTED], http://www.linsup.com


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



Re: [SLUG] Python SIG: The saga continues.

2002-01-12 Thread Harry Ohlsen

On Sun, 13 Jan 2002 01:10, Mary Gardiner wrote:
 Hi again SLUG,

 I'm still intending starting a SLUG Python SIG, but here's what I need:

Something I've been meaning to ask for a while now is ...

Are there any people in SLUG who've been bitten by the Ruby bug yet?

I'd appreciate it if we could dispense with the usual flames like why bother 
with yet ANOTHER language.  If you're not interested, that's absolutely fine 
with me.

I just figured there must be at least one other person on the list who has 
decided Ruby was a better fit for them than Perl or Python, or was at least 
interested in having a play with it.

Hopefully, there'll be two people and we can start our own SIG :-).
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] [OT] Someone subscribe me to linux-kernel

2002-01-12 Thread Erik de Castro Lopo

On Sun, 13 Jan 2002 06:32:56 +1100
James [EMAIL PROTECTED] wrote:

 Hi,
 
 Can someone please subscribe my address [EMAIL PROTECTED] to the Linux 
 kernel mailing list, by sending mail to the address [EMAIL PROTECTED] 
 with the command:
 
 subscribe linux-kernel [EMAIL PROTECTED]

That won't work. It will still test the address and reject it.

 The dickhead who manages this list has fucked it up and I cannot subscribe 

There's a reason for it. With the traffic that goes on that list (300 odd
emails per day) and large numbers of people sunbscribed (probably many thousands),
they don't want to get any addresses on the list that will bounce and 
inconvienience everyone on the list.

Your email address has been identified as one which is likely to cause problems 
for them so they refuse to subscribe it. Thats their right.

Have you tried the email address that you used to post to this list?

Erik
-- 
+---+
  Erik de Castro Lopo  [EMAIL PROTECTED] (Yes it's valid)
+---+
Open source is an intellectual-property destroyer. I can't 
imagine something that could be worse than this for the software 
business and the intellectual-property business.
 -- Jim Allchin, Microsoft
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



[SLUG] Re: Debian 2.3 Config Documentation

2002-01-12 Thread Angus Lees

On Tue, Jan 08, 2002 at 12:45:45PM +1100, chesty wrote:
  I have found the lack of documentation
  about how Debian configure things after the installation quite a
  surprise. Does anyone know of any decent documentation on post 
  installation of a Debian release?
 
 So you're looking for the Secret knowledge of the Debian pack?
 
 www.debian.org
 www.debian.org/doc
 apt-get install debian-guide
 apt-get install debian-policy
 apt-get install doc-debian

*everyone* should have a flick through the Debian FAQ
(/usr/share/doc/debian/FAQ/index.html from doc-debian)

i'd been using Debian for more than a year before i discovered it, and
i still learnt several very useful things.


if you want to make it all a little easier to browse, consider
installing dhelp, then looking at /usr/share/doc/HTML/index.html
(or http://localhost/doc/HTML/)

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



[SLUG] RedHat 7.2 network installation problem

2002-01-12 Thread Jeff Ai

hello guys, i am having a problem installing RedHat
7.2 using a PCMCIA network card (D-Link DFE660) on a
Compaq Armada laptop.
I have a linux desktop set up as a DHCP server and ftp
server (Mandrake 8.1)
I made the pcmcia boot disk and pcmcia driver disk.
boot from the disk is ok, so is the driver. Linux
detected my d-link card ok and asked me to config the
TCP/IP.
I selected using DHCP and from the syslog on the DHCP
server i can see that an IP has been assigned to the
laptop. However, the laptop did not give me any error
message nor did it allow me to select the network
installation methods (FTP, HTTP or NFS).
If i configure the TCP/IP using static
IP(192.168.0.250, MASK 255.255.255.0 no gateway, no
DNS), then choose install from FTP, it gives me that
error that could not connect the FTP server
(192.168.0.103 no message in the syslog off course). I
think those two machines are not networked.

do you guys have any idea what is going on here?

thanks a lot

Jeff

http://my.yahoo.com.au - My Yahoo!
- It's My Yahoo! Get your own!
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] RedHat 7.2 network installation problem

2002-01-12 Thread Greg Hosler

is this pc to pc, or pc to hub to pc ?

in the 1st case you need 1 cross cable

in the 2nd case you need 2 straight cables

if you do not have the correct utp cable wiring, then you're network won't
connect. One test is to ping (using the ip numbers) once the network is
configured (ifconfig/route).

another thing to check is that the routing is correct, and esp that the default
route (though for a local install, all lan references local, standard netmask
routing ought to be sufficient).

-Greg

On 12-Jan-2002 Jeff Ai wrote:
 hello guys, i am having a problem installing RedHat
 7.2 using a PCMCIA network card (D-Link DFE660) on a
 Compaq Armada laptop.
 I have a linux desktop set up as a DHCP server and ftp
 server (Mandrake 8.1)
 I made the pcmcia boot disk and pcmcia driver disk.
 boot from the disk is ok, so is the driver. Linux
 detected my d-link card ok and asked me to config the
 TCP/IP.
 I selected using DHCP and from the syslog on the DHCP
 server i can see that an IP has been assigned to the
 laptop. However, the laptop did not give me any error
 message nor did it allow me to select the network
 installation methods (FTP, HTTP or NFS).
 If i configure the TCP/IP using static
 IP(192.168.0.250, MASK 255.255.255.0 no gateway, no
 DNS), then choose install from FTP, it gives me that
 error that could not connect the FTP server
 (192.168.0.103 no message in the syslog off course). I
 think those two machines are not networked.
 
 do you guys have any idea what is going on here?
 
 thanks a lot
 
 Jeff
 
 http://my.yahoo.com.au - My Yahoo!
 - It's My Yahoo! Get your own!
 -- 
 SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
 More Info: http://lists.slug.org.au/listinfo/slug

+-+
   You can release software that's good, software that's inexpensive, or
   software that's available on time.  You can usually release software
   that has 2 of these 3 attributes -- but not all 3.
| Greg Hosler   [EMAIL PROTECTED]|
+-+
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] RedHat 7.2 network installation problem

2002-01-12 Thread Jeff Ai

It's pc-hub-pc connection. and i think the cables are
ok. coz i can see a DHCP request has been recieved by
the dhcp server and a ip has been offered.
this is the message from /var/log/message 

Jan 13 13:04:10 mightymouse dhcpd: DHCPOFFER on
192.168.0.249 to
00:50:ba:7b:12:58 via eth0

when static ip is used.
this is my config
IP: 192.168.0.250
Netmask: 255.255.255.0
Default Gateway: n/a
Primary nameserver: n/a

then FTP server: 192.168.0.103 (this is also the dhcp
server)



 --- Greg Hosler [EMAIL PROTECTED] wrote:  is this
pc to pc, or pc to hub to pc ?
 
 in the 1st case you need 1 cross cable
 
 in the 2nd case you need 2 straight cables
 
 if you do not have the correct utp cable wiring,
 then you're network won't
 connect. One test is to ping (using the ip
numbers)
 once the network is
 configured (ifconfig/route).
 
 another thing to check is that the routing is
 correct, and esp that the default
 route (though for a local install, all lan
 references local, standard netmask
 routing ought to be sufficient).
 
 -Greg
 
 On 12-Jan-2002 Jeff Ai wrote:
  hello guys, i am having a problem installing
 RedHat
  7.2 using a PCMCIA network card (D-Link DFE660)
on
 a
  Compaq Armada laptop.
  I have a linux desktop set up as a DHCP server
and
 ftp
  server (Mandrake 8.1)
  I made the pcmcia boot disk and pcmcia driver
 disk.
  boot from the disk is ok, so is the driver.
Linux
  detected my d-link card ok and asked me to
config
 the
  TCP/IP.
  I selected using DHCP and from the syslog on the
 DHCP
  server i can see that an IP has been assigned to
 the
  laptop. However, the laptop did not give me any
 error
  message nor did it allow me to select the
network
  installation methods (FTP, HTTP or NFS).
  If i configure the TCP/IP using static
  IP(192.168.0.250, MASK 255.255.255.0 no gateway,
 no
  DNS), then choose install from FTP, it gives me
 that
  error that could not connect the FTP server
  (192.168.0.103 no message in the syslog off
 course). I
  think those two machines are not networked.
  
  do you guys have any idea what is going on here?
  
  thanks a lot
  
  Jeff
  
  http://my.yahoo.com.au - My Yahoo!
  - It's My Yahoo! Get your own!
  -- 
  SLUG - Sydney Linux User Group Mailing List -
 http://slug.org.au/
  More Info:
http://lists.slug.org.au/listinfo/slug
 

+-+
You can release software that's good, software
 that's inexpensive, or
software that's available on time.  You can
 usually release software
that has 2 of these 3 attributes -- but not all
 3.
 | Greg Hosler  
 [EMAIL PROTECTED]|
 +-+

http://my.yahoo.com.au - My Yahoo!
- It's My Yahoo! Get your own!
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] RedHat 7.2 network installation problem

2002-01-12 Thread Jeff Ai

I found this interesting.
when a dhcp client requests a IP those messages will
be logged:

Jan 13 14:04:48 mightymouse dhcpd: DHCPDISCOVER from
00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPOFFER on
192.168.0.250 to
00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPDISCOVER from
00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPOFFER on
192.168.0.250 to
00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPDISCOVER from
00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPOFFER on
192.168.0.250 to
00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPREQUEST for
192.168.0.250
(192.168.0.103) from 00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPACK on
192.168.0.250 to 00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPREQUEST for
192.168.0.250
(192.168.0.103) from 00:50:ba:7b:12:58 via eth0
Jan 13 14:04:49 mightymouse dhcpd: DHCPACK on
192.168.0.250 to 00:50:ba:7b:12:58 via eth0

192.168.0.103 is my dhcp server and 192.168.0.250 is
the IP assigned to the client

however, when i choose to use DHCP when installing i
have one message logged:

Jan 13 13:04:10 mightymouse dhcpd: DHCPOFFER on
192.168.0.249 to 00:50:ba:7b:12:58 via eth0

does this mean anything?

Jeff

http://my.yahoo.com.au - My Yahoo!
- It's My Yahoo! Get your own!
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] nmblookup and Konquerer lan browsing

2002-01-12 Thread Christopher Booth

Hi Malcolm
 [...snipped...]
 Where are you clicking on network?

NETWORK appears like network neighbourhood in Windows underneath the Folders etc... on 
the left hand side of konqueror
 
 This is an interesting feature. lan connects to lisa and rlan connects
 to reslisa. Lisa opens a port (7124 by default I think), reslisa does
 not do this. Lisa itself uses this port to talk to other lisa servers
 running on the network, and also the konqueror client uses it (so if you
 have lisa only running on machine homer and you are on machine marge,
 lan://localhost wont work, but lan://homer will).
 
 Reslisa does everything lisa does except it's output is taken from a
 specially created pipe(?) in /tmp, instead of a port. Rlan:/ connects
 konqueror to this pipe (so rlan only works on machines where reslisa is
 running locally).
 
 I'm not sure why some machines are not resolved to hostnames, my best
 guess is that those not found by nmblookup stay as numbers. All my
 machines are detected by reslisa and lisa, what does your
 reslisarc/lisarc file look like, particulary the PingNames,
 PingAddresses and AllowedAddresses fields?
 
KDE control panel has (on Mandrake) 2 configuration things for this, 
Under Configuration,KDE,network, there is Windows Shares and Lan Browsing
These update files 
/$HOME/.kde/share/config/kio_lanrc
/$HOME/.kde/share/config/lisarc
/$HOME/.kde/share/config/rlisarc

While looking for these lisarc and rlisarc files, I came across - 
/$HOME/.kde/share/apps/konqueror/dirtree/lan.desktop

it has a line which says URL=lan:/
which is the problem I changed that to URL=lan://localhost/localhost and it works by 
displaying the active network shares for my computer as defined in the KDE control 
center

I then changed it to read rlan:/

This then should display the machines on the network

Both lisarc and rlisarc, I have setup mostly the same (added comments here)

AllowedAddresses=X.Y.0.0/255.255.252.0  # local lan addresses and subnet mask
BroadcastNetwork=X.Y.107.255/255.255.252.0  # only in lisarc for range X.Y.105.30
FirstWait=99# time to wait for reply in 1/100 sec
MaxPingsAtOnce=256  # unexplained meaning
PingAddresses=X.Y.0.0/255.255.252.0 # only in lisarc -address range
PingNames=X.Y.104.121;X.Y.199.9.116;X.Y.10.45 # these are wins servers on the lan
SearchUsingNmblookup=1  # this is self explanatory
SecondWait=99   # as first wait
UpdatePeriod=300# Refresh period ?

My questions ?

With my settings above, would a machine with X.Y.107.21 be allowed ? X.Y.143.187?
How much do lisarc and reslisarc rely on settings in smb.conf ?
Should I put Wins Servers addresses in the line PingNames ?

In smb.conf there are two lines
remote browse sync
and
remote announce

In Windows Network Neighbourhood, the Domain is displayed, as the domain covers 
multiple sites, and ip ranges, eg.  X.Y.0.0-X.Y.?.? and X.Y.104.0-X.Y.107.255
They all see each other, no problem
What should my settings be in smb.conf ?
My IP is X.Y.105.30
Should remote browse sync be the ip address of the wins server ?
Should remote announce be set to X.Y.107.255 ?

Trying to get this happening

Chris

 I hope this helps more then it confuses.
It did help somewhat, thanks
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug



Re: [SLUG] DSL vs Cable security

2002-01-12 Thread DaZZa

On Fri, 11 Jan 2002, Dennis M. Gray wrote:

 A friend in the USA has been told that DSL is more secure than cable
 modem. Are there anything to back up this claim? All opinions solicited.

Depends how you define secure.

As far as normal network-type security goes - they're both running IP, so
they're both prone to hacks, link-lookers, backdoors, trojans, viruses and
whatever else someone dreams up to make life difficult on the net.

If you're referring to physical security - xDSL is slightly more secure
because the last mile connection is dedicated - and intolerant to
physical taps on the wire. Cable modems run on a broadcast medium, so
theoretically anyone in your cable segment could, if they were smart
enough, listen in to your packet conversations and do some form of
man-in-the-middle attack.

The probability of the latter, however, is extremely low.

DaZZa

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



[SLUG] Re: INIT: ID1 respawning too fast ...

2002-01-12 Thread getadog

On Sat, Jan 12, 2002 at 12:41:56PM +1100, Adam F. Bogacki wrote:
 INIT:Id4 respawning too fast: disabled for 5 minutes
 INIT: no more processes left in this runlevel.
 
 When I tried the same with the 2.4.14 kernel it was simpler:
 
 Starting GNOME display manager

Not sure why you got that message above with kernel 2.4.14 but not from
2.2. I thought you had stopped gdm from starting. 
(at least from runlevel 2)

Does grep default /etc/inittab return: 

# The default runlevel.
id:2:initdefault:

 INIT:Id1 respawning too fast: disabled for 5 minutes
 INIT: no more processes left in this runlevel

I can only make some guesses here.

getty appears to be unhappy. 

Boot in single user mode and check that your tty devices exist ie:
ls -l /dev/tty?

The first two of mine look like:
crw--- 1 root  root  4, 0 Jan  9 20:28 /dev/tty0
crw--- 1 root  tty   4, 1 Jan 13 15:24 /dev/tty1

See if you have any messages in syslog from than last time you
booted and got the respawn messages, ie 
less /var/log/syslog scroll down to that last time
you booted and look for any error messages, or anything that 
might give you a clue.

Try running getty from the command line:
/sbin/getty 38400 tty2

See if you get any error messages, or you could try
strace /sbin/getty 38400 tty2 2/tmp/getty.out
then less /tmp/getty.out

 Has anyone got any constructive ideas ?

You could swap hdb and hde, then do a fresh install of
debian on the new blank hdb, upgrade it to woody (or potato +
bunk packages) and kernel 2.4. 

Then try and work out whats broken on your old system, which
you should be able to see as hde.


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



[SLUG] Next SLUG Meeting - Friday, 25th January, 2002

2002-01-12 Thread Jeff Waugh

   Next SLUG Meeting - Friday, 25th January, 2002

 * When: 6:30pm - about 9pm (then dinner, etc)
 * Where: UTS, Central Sydney http://slug.org.au/slugmeet.shtml

The Usual Suspects - 6:30pm

 * QA - What has Linux done for/to me lately?
 * Linux News  Discussion

Michael Palmer on LambdaMoo

   MUDing is a popular past-time amongst various segments of the online
   community - many a University student has fallen foul of their lures.
   The difficulty has often been creating one of your very own. MOO (for
   MUD - Object Oriented) is an OO-based programming language, descended
   from C and Pascal, which is easy to learn, easy to program, and
   provides a rich interactive component. Human interaction with a MOO is
   in the form of English-like sentences.

   This talk will look at MOOs, both interacting with them and
   programming your own. It will also investigate several non-traditional
   uses of the MOO system.

Grant Parnell on MFilter

   Abstract coming soon. It's abount viruses and MTAs and 'stuff'. ;)

Dinner - about 9pm

   After the meeting at the House of Boiled Television Entrails. The real
   name is of course, The House of Guang Zhou, and you'll find it in
   Haymarket (especially if you follow the crowd at the end of the night).

- Jeff

-- 
Think video. Think text flickering over your walls. Think games at 
work. Think anything where a staid, link-based browser is useless. 
  This person wrote for Ab Fab, right? - Rich Welykochy   
-- 
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug