[SLUG] OT: Optus cable problem?

2005-01-07 Thread lukekendall
I've just been off the net with a suspected Cable modem failure (Optus,
26 hrs).  But it's just spontaneously started working again.  Anyone
else here experienced the same thing, or was it really just me?

luke

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] CHeck script

2005-01-07 Thread lukekendall
On  6 Jan, Simon Bryan wrote:
  Hi all,
  I am moving my users home directoires from one server to another and in
  the process standardising usernames such that about 300 need changing.
  Once I hav copied over the directories (cp -a) I will then need to rename
  some of the directories. I have a csv file with the format
  oldname,newname and a script to read it:
  
  #!/bin/bash
  while read name1 name2; do
   mv $name1 $name2
  # done  /home/OLMC/snap/rename.txt

Um, apart from the already-mentioned problems, I see no error checking
there at all.  What do you do if the disc fills, or if names clash?
I assume names have no white space.  But there are probably dozens of
things that could go wrong.

IFS=,$IFS
while read name1 name2
do
[ -f $name2 ]  echo $name2 is a file!  exit 1
[ -d $name2 ]  echo $name2 already taken!  exit 1
mv $name1 $name2 || echo Bailing out at $name1 - $name2  exit 1
done  /home/OLMC/snap/rename.txt

But there are probably lots of other things that could go wrong.  I
hope you have complete and trustworthy backups?

luke

-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OT: Optus cable problem?

2005-01-07 Thread Brett Fenton
if it's one of the motorola surfboards i had a similar thing happen about 6 
months ago. my access speed would crap out. a powercycle would briefly 
resolve. then i was getting intermittant access before it finally died. 

On Friday 07 January 2005 17:28, [EMAIL PROTECTED] wrote:
 I've just been off the net with a suspected Cable modem failure (Optus,
 26 hrs).  But it's just spontaneously started working again.  Anyone
 else here experienced the same thing, or was it really just me?

 luke
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Local DNS Issue

2005-01-07 Thread Ben de Luca
are your clients windows? were you running samba?
On 07/01/2005, at 10:57 AM, Adam W wrote:
Hi,
I used to be able to get access to my linux box (mandrake 10.1) by
just calling it by its name. I have always been able to do this
without any config on the clients or the box (well except for
'hostname blah')
But now i cannot seem to do that. The clients dont know about the
linux box's name.
Why isnt the box broadcasting its name to the other puters now? It
*was* working, then all of a sudden, the next day it wasnt... and i
didnt change any settings and security isnt set real high on the box
(mandrake security setting)
Any ideas??
Adam.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] [gdesklets] Starterbar: not yet working!

2005-01-07 Thread Xavier!
Hello, 

Who have already tried to install gdesklets and got a
bunch of errors?

This is what I got:

I have the gdesklets deamon running ok (gdesklets
start).

But any desklets (all) I tried to run gave me this
error msg:

[A sensor could not be found. This usually means that
it has not been isntalled.] [Details 6 lines]
Traceback (most recent call last):
  File
/usr/share/gdesklets/factory/SensorFactory.py, line
60, in create_sensor
module = __import__(name)
  File ./StarterBar/__init__.py, line 2, in ?
from IconSet import IconSet
ImportError: cannot import name IconSet


After some searchings I found out that I had to
install some more packets in order to have those stuff
to work. I had to do this:
-  emerge -av pyxdg
(I read I was supposed to install packets with
python-gnome2-extras, but I didnt find it on gentoos.
So I installed the only one which had the 'extra' word
with python and gnome stuff)
-  emerge -av gnome-gtkextra (emerge
'='python-gtkextra-0.22)

It solved me GoodWeather and XMMS desklets. But not
yet the StarterBar trouble! 


Have anyone already solved it out?


thkz.
Rafael Xavier de Souza.
icmc - USP Sao Carlos.


=
--

Rafael Xavier de Souza
http://grad.icmc.usp.br/~xavier



__ 
Do you Yahoo!? 
Yahoo! Mail - Find what you need with new enhanced search.
http://info.mail.yahoo.com/mail_250
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] cp -a no dot files

2005-01-07 Thread Simon Bryan
HI all,
Is there a way to do 'cp -a' but not copy dot files?


-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] cp -a no dot files - DON'WORRY

2005-01-07 Thread Simon Bryan

On Sat, January 8, 2005 10:12 am, Simon Bryan said:
 HI all,
 Is there a way to do 'cp -a' but not copy dot files?


DOH - just copy the directory contents rather than the directory huh.

eg cp -a /dir/path/*rather than cp -a /dir/path

-- 
Simon Bryan
IT Manager
OLMC Parramatta
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] OT: Optus cable problem?

2005-01-07 Thread Ken Foskey
On Fri, 2005-01-07 at 21:00 +1100, Brett Fenton wrote:
 if it's one of the motorola surfboards i had a similar thing happen about 6 
 months ago. my access speed would crap out. a powercycle would briefly 
 resolve. then i was getting intermittant access before it finally died. 
 
 On Friday 07 January 2005 17:28, [EMAIL PROTECTED] wrote:
  I've just been off the net with a suspected Cable modem failure (Optus,
  26 hrs).  But it's just spontaneously started working again.  Anyone
  else here experienced the same thing, or was it really just me?

Consider the heat of the day. I had a P100 box as a firewall and it
would stop working during the day when it was extremely hot.  Heat can
expand things and open a dry solder joint or cause problems with
computers not cooled correctly.

I had a problem with the cable.  The cable modem has an actual address
that you can talk to to find out the signal strength of the cable.  The
joints of the cable up the pole corroded after a few years.  They moved
the connector and it was better.  They ended up rerunning the cable into
my house because it was not 100% reliable.  Since then it is fine.

-- 
Ken Foskey
OpenOffice.org developer


-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html