Re: [SLUG] Network Traffic Visualisation - any gui prgs/interfaces?

2009-10-19 Thread db
Perhaps you are after something like ntop ? (http://www.ntop.org/)

iptstate can also useful.

2009/10/19 David Gillies da...@dorja.com:
 bill wrote:

 In the old days when I used Win XP I had a gui tool that showed all
 incoming/outgoing network/web  activity by port and IP address, and it was
 useful for determining off-site activity etc when browsing the Web.

 I use a tool called iftop: http://www.ex-parrot.com/pdw/iftop/

 I guess you could also use wireshark or tcpdump as well
 --
 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] Network Traffic Visualisation - any gui prgs/interfaces?

2009-10-18 Thread bill
In the old days when I used Win XP I had a gui tool that showed all 
incoming/outgoing network/web  activity by port and IP address, and it 
was useful for determining off-site activity etc when browsing the Web.


Can't remember the program's name.

The nearest that I have found for Linux is tnv 
(http://tnv.sourceforge.net/) which was last updated in 2007 and is a 
java prg which wont accept my IP No. for my home-networked PC ( I may be 
doing something wrong - probably am).


I am using Ubuntu - various distros and derivatives.

Can anybody advise me of any current GUI prgs/apps/utilities that 
provide output similar to the above?


Thanks.
--
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] Network Traffic Visualisation - any gui prgs/interfaces?

2009-10-18 Thread peter
 bill == bill  bi...@swiftdsl.com.au writes:

bill In the old days when I used Win XP I had a gui tool that
bill showed all incoming/outgoing network/web activity by port and IP
bill address, and it was useful for determining off-site activity
bill etc when browsing the Web.


bill Can't remember the program's name.

bill  The nearest that I have found for Linux is tnv
bill (http://tnv.sourceforge.net/) which was last updated in 2007 and
bill is a java prg which wont accept my IP No. for my home-networked
bill PC ( I may be doing something wrong - probably am).

jnettop might be of interest.  http://jnettop.kubs.info/wiki/ but it's
a standard Debian (and therefore Ubuntu) package.


Peter C
-- 
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] Network Traffic Visualisation - any gui prgs/interfaces?

2009-10-18 Thread David Gillies

bill wrote:
In the old days when I used Win XP I had a gui tool that showed all 
incoming/outgoing network/web  activity by port and IP address, and it 
was useful for determining off-site activity etc when browsing the Web. 


I use a tool called iftop: http://www.ex-parrot.com/pdw/iftop/

I guess you could also use wireshark or tcpdump as well
--
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] network manager files

2009-04-12 Thread Tony Sceats
I would guess IP addresses in decimal form, and a netmask in CIDR
Unsure about the negative one though - I suppose an IP could turn out
negative with signed integrers, not sure though

On Sun, Apr 12, 2009 at 1:57 PM, david da...@kenpro.com.au wrote:

 I'm trying to debug a networkmanager problem. I've found this xml file:

 ~/.gconf/system/networking/connections/1/ipv4/%gconf.xml

 Can anyone help with interpreting the address values? I'm especially
 curious about the negative one :-)

 thanks...

 David.

 ?xml version=1.0?
 gconf
entry name=dns-search mtime=1236774478 type=list
 ltype=string
li type=string
stringvaluekenpro.com.au/stringvalue
/li
/entry
entry name=routes mtime=1236774478 type=list ltype=int
/entry
entry name=addresses mtime=1236774478 type=list ltype=int
li type=int value=1814304715
/li
li type=int value=24
/li
li type=int value=-31189045
/li
/entry
entry name=dns mtime=1236774478 type=list ltype=int
li type=int value=19142603
/li
/entry
entry name=method mtime=1236774478 type=string
stringvaluemanual/stringvalue
/entry
entry name=name mtime=1236774478 type=string
stringvalueipv4/stringvalue
/entry
 /gconf
 ipv4/\%gconf.xml (END)
 --
 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


Re: [SLUG] network manager files

2009-04-12 Thread Andrew Cowie
On Sun, 2009-04-12 at 13:57 +1000, david wrote:
 I'm trying to debug a networkmanager problem.

What version of NetworkManager are you running, on what distro, etc?

And, in all consciousness, the connection editor GUI is fairly
comprehensive; what is its UI presenting for this connection? 
What does the CLI `nm-tool` tell you about the connection?

[Trying to infer things from an application's stored internal
representation is almost never the right idea. Admittedly your negative
number does indeed seem peculiar, but really it is meaningless until it
has been loaded and interpreted by nm to mean whatever it means to nm]

Or, just read the source code to find out how what it is serializing
from in writing this field.

AfC
Sydney



signature.asc
Description: This is a digitally signed message part
-- 
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] network manager files

2009-04-12 Thread James Gray

On 12/04/2009, at 1:57 PM, david wrote:

I'm trying to debug a networkmanager problem. I've found this xml  
file:


~/.gconf/system/networking/connections/1/ipv4/%gconf.xml


SNIP


routes mtime=1236774478 type=list ltype=int
   /entry
   entry name=addresses mtime=1236774478 type=list  
ltype=int

   li type=int value=1814304715
   /li


Well, 1814304715 in binary is 01101100 00100100 00010111 11001011  
which when you convert the grouping of four into a dotted series of  
octets you end up with 108.36.23.203 - which may or may not be  
relevant to your network, I'm just guessing that the integer addresses  
are the integer representation of the binary for the IP addresses ;)




   li type=int value=24
   /li


My guess is this is the number of bits assigned to the network - in  
other words, the netmask is 255.255.255.0 (or /24 in CIDR notation)




   li type=int value=-31189045
   /li


Again, assuming this is an integer representation of the binary (and  
assuming 2's compliment) we end up with 254.36.23.203 (after ignoring  
the highest 32 bits which are all ones) - which looks like a multicast  
address.  I have no idea if this is how things work in Gnome world,  
but it was fun to blow the cobwebs off my binary arithmetic on a long  
weekend!


Cheers,

James

smime.p7s
Description: S/MIME cryptographic signature
-- 
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] network manager files

2009-04-12 Thread Patrick Lesslie
On Sun, Apr 12, 2009 at 04:14:01PM +1000, James Gray wrote:
 On 12/04/2009, at 1:57 PM, david wrote:

 I'm trying to debug a networkmanager problem. I've found this xml  
 file:

 ~/.gconf/system/networking/connections/1/ipv4/%gconf.xml

SNIP


li type=int value=-31189045
/li

 Again, assuming this is an integer representation of the binary (and  
 assuming 2's compliment) we end up with 254.36.23.203 (after ignoring  
 the highest 32 bits which are all ones) - which looks like a multicast  
 address.  I have no idea if this is how things work in Gnome world, but 
 it was fun to blow the cobwebs off my binary arithmetic on a long  
 weekend!

It was a good guess ... if you reverse that IP, it belongs to the
original poster.  :-)

Patrick


 Cheers,

 James

-- 
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] network manager files

2009-04-12 Thread david

Andrew Cowie wrote:

On Sun, 2009-04-12 at 13:57 +1000, david wrote:

I'm trying to debug a networkmanager problem.


What version of NetworkManager are you running, on what distro, etc?



Ubuntu 8.10


And, in all consciousness, the connection editor GUI is fairly
comprehensive; what is its UI presenting for this connection? 
What does the CLI `nm-tool` tell you about the connection?




not enough. The UI differs from the xml file. I've had this type of problem 
before with NetworkManager. The last time, I couldn't persuade it to remember a 
search domain (correct in the UI but NetworkManager failed to update 
resolv.conf), although that suddenly and inexplicably started to work so maybe 
it was a bug that got fixed in an update? In this case, I'm having trouble with 
IP number allocation and strange DNS lookup failures, so I thought I would try 
to debug it myself. NetworkManager does not encourage this approach. If you do 
man networkmanager you will see what I mean. In the Good Old Days (tm), 
everything was pretty much in /etc/network/interfaces. I guess life is more 
complex now ;-)




[Trying to infer things from an application's stored internal
representation is almost never the right idea. Admittedly your negative
number does indeed seem peculiar, but really it is meaningless until it
has been loaded and interpreted by nm to mean whatever it means to nm]



black box approach? perhaps I should change to windows?



Or, just read the source code to find out how what it is serializing
from in writing this field.



Sadly I am not able read the source code... although that would be a nice idea.

For the record, the sample xml file comes from a box that works perfectly. The 
one I'm debugging is at work and I didn't have immediate access to it.


Meantime, I can't see what's wrong with adding to my store of knowledge.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] network manager files

2009-04-11 Thread david

I'm trying to debug a networkmanager problem. I've found this xml file:

~/.gconf/system/networking/connections/1/ipv4/%gconf.xml

Can anyone help with interpreting the address values? I'm especially curious 
about the negative one :-)


thanks...

David.

?xml version=1.0?
gconf
entry name=dns-search mtime=1236774478 type=list ltype=string
li type=string
stringvaluekenpro.com.au/stringvalue
/li
/entry
entry name=routes mtime=1236774478 type=list ltype=int
/entry
entry name=addresses mtime=1236774478 type=list ltype=int
li type=int value=1814304715
/li
li type=int value=24
/li
li type=int value=-31189045
/li
/entry
entry name=dns mtime=1236774478 type=list ltype=int
li type=int value=19142603
/li
/entry
entry name=method mtime=1236774478 type=string
stringvaluemanual/stringvalue
/entry
entry name=name mtime=1236774478 type=string
stringvalueipv4/stringvalue
/entry
/gconf
ipv4/\%gconf.xml (END)
--
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] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-15 Thread david

Peter Miller wrote:

On Wed, 2009-03-11 at 23:59 +1100, david wrote:

That's great.. just a shame that my E160G doesn't work :(


mine does


Mine does when it's in the mood..


number: *99#
username: a


leave it blank



doesn't seem to make a difference - i've tried blank, presently it has a and 
it connects.



password: a


your account PIN



Seems like you can put anything there. At the moment mine says blah and it 
works.


APN: 3netaccess


3services



Correct


network: blank
PIN: blank


your account PIN


PUK: blank




I think I might just be in a flaky area... Some times it works, sometimes it 
doesn't. It looked like a config problem but I've come to the conclusion it's 
the phase of the moon and strength of the wind.


I thought it only worked reliably if I reboot but now I realise that's not 
relevant. That's how superstitions come about... looks like cause and effect but 
it isn't ;-)


I've also noticed that I get better results if I disable wireless, regardless of 
whether I have a wireless connection or not. Again, I'm not sure if this is 
superstition or genuine cause-and-effect!


Sometimes if I unplug the stick and replug it I get success, but not always. I 
haven't worked out a pattern (although each time I make sure that dmesg reports 
disconnect before re-inserting the stick).


For the record... the nearly-always-working config is below:

connect automatically checked (but it doesn't always)
system setting not checked (what does this do?)
number: *99# (no idea what this is... does anyone know?)
username: a  (meaningless??)
password: blah (definitely meaningless gibberish but can't enter blank)
APN: 3services
network: blank
PIN: blank
PUK: blank

The service was activated online on my wife's OS X, so I don't know about 
activation. Is this relevant? I wouldn't have thought so, but who knows?


By the way, Grant.. I still don't understand that password thing I asked about. 
It doesn't ask for it anymore and I have no idea what I did to stop it, but 
whatever I typed was inserted into the password field in the config above. I 
think network-manager is black magic. Still haven't worked out where 
network-manager keeps it's data, but it would be nice to know.


http://projects.gnome.org/NetworkManager/ has no docs at all. I'm sure they are 
somewhere but it looks suspiciously like trust us - we know what we are doing. 
Now who does that remind you of? Anyway, I wrote this email mainly in case 
someone is searching and has similar problems to me. The good news is that it 
mostly works, and a reboot seems to always solve any failure.


David.
--
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] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-12 Thread Peter Miller
On Wed, 2009-03-11 at 23:59 +1100, david wrote:
 That's great.. just a shame that my E160G doesn't work :(

mine does

 number: *99#
 username: a

leave it blank

 password: a

your account PIN

 APN: 3netaccess

3services

 network: blank
 PIN: blank

your account PIN

 PUK: blank

-- 
Regards
Peter Miller pmil...@opensource.org.au
/\/\*http://www.canb.auug.org.au/~millerp/

PGP public key ID: 1024D/D0EDB64D
fingerprint = AD0A C5DF C426 4F03 5D53  2BDB 18D8 A4E2 D0ED B64D
See http://www.keyserver.net or any PGP keyserver for public key.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-11 Thread Grant Parnell

Erik de Castro Lopo wrote:

Grant Parnell wrote:

  
Well I didn't find where to look at the logs but I did find out some 
very useful things.


1) After you setup with network manager you can just manually run wvdial 
from a terminal and it works and you get to see everything I was talking 
about.


2) It *IS* possible to insert the SIM into the device incorrectly. This 
results in every attempt to DIAL returning ERROR in a terminal program 
such as minicom using device /dev/ttyUSB0 for example. IE ATDT*99# = ERROR.


3) The Windows software gives you more explanation of ERROR - in our 
case something to the effect of Error reading USIM card. Oh yeah an to 
spite claims to the contrary, the one we got we had to use the Install 
CDROM. This is because Windows XP wouldn't see the emulated CDROM - 
Ubuntu does but then the software on it's useless ;-)


4) Even before the software has been told to connect you see blue LED 
flashes indicating network availability (Windows  Linux), ONLY when the 
SIM is inserted correctly.



Does that mean you got the E180 working?

Erik
  

... And there's the videos of just how easy it is to setup!
http://www2.muli.com.au/Videos/

--
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] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-11 Thread david



Grant Parnell wrote:

Erik de Castro Lopo wrote:

Grant Parnell wrote:

 
Well I didn't find where to look at the logs but I did find out some 
very useful things.


1) After you setup with network manager you can just manually run 
wvdial from a terminal and it works and you get to see everything I 
was talking about.


2) It *IS* possible to insert the SIM into the device incorrectly. 
This results in every attempt to DIAL returning ERROR in a terminal 
program such as minicom using device /dev/ttyUSB0 for example. IE 
ATDT*99# = ERROR.


3) The Windows software gives you more explanation of ERROR - in our 
case something to the effect of Error reading USIM card. Oh yeah an 
to spite claims to the contrary, the one we got we had to use the 
Install CDROM. This is because Windows XP wouldn't see the emulated 
CDROM - Ubuntu does but then the software on it's useless ;-)


4) Even before the software has been told to connect you see blue LED 
flashes indicating network availability (Windows  Linux), ONLY when 
the SIM is inserted correctly.



Does that mean you got the E180 working?

Erik
  

... And there's the videos of just how easy it is to setup!
http://www2.muli.com.au/Videos/



That's great.. just a shame that my E160G doesn't work :(
Does it make a difference that it's pre-paid? I read somewhere that it does. 
Does it make a difference that it was set up originally on OS X? (on which it 
worked perfectly)


When I plug in and select it in the networkmanager drop down menu, it asks for a 
password (what is that??).


The configuration tool has the following settings:

number: *99#
username: a
password: a
APN: 3netaccess
network: blank
PIN: blank
PUK: blank

If anyone can enlighten me I would appreciate it.

thanks

David.
--
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] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-11 Thread Grant Parnell

david wrote:



Grant Parnell wrote:

Erik de Castro Lopo wrote:

Grant Parnell wrote:

 
Well I didn't find where to look at the logs but I did find out some 
very useful things.


1) After you setup with network manager you can just manually run 
wvdial from a terminal and it works and you get to see everything I 
was talking about.


2) It *IS* possible to insert the SIM into the device incorrectly. 
This results in every attempt to DIAL returning ERROR in a 
terminal program such as minicom using device /dev/ttyUSB0 for 
example. IE ATDT*99# = ERROR.


3) The Windows software gives you more explanation of ERROR - in our 
case something to the effect of Error reading USIM card. Oh yeah 
an to spite claims to the contrary, the one we got we had to use the 
Install CDROM. This is because Windows XP wouldn't see the emulated 
CDROM - Ubuntu does but then the software on it's useless ;-)


4) Even before the software has been told to connect you see blue 
LED flashes indicating network availability (Windows  Linux), ONLY 
when the SIM is inserted correctly.



Does that mean you got the E180 working?

Erik
  

... And there's the videos of just how easy it is to setup!
http://www2.muli.com.au/Videos/



That's great.. just a shame that my E160G doesn't work :(
Does it make a difference that it's pre-paid? I read somewhere that it 
does. Does it make a difference that it was set up originally on OS X? 
(on which it worked perfectly)


When I plug in and select it in the networkmanager drop down menu, it 
asks for a password (what is that??).


The configuration tool has the following settings:

number: *99#
username: a
password: a
APN: 3netaccess
network: blank
PIN: blank
PUK: blank

If anyone can enlighten me I would appreciate it.

thanks

David.


Oh the password thing is for sudo so it can run with root privileges, 
it's just the password you use to login to your desktop session.


It says in the little quick start guide thingy that if you're on 
pre-paid you have to Ring Three and get them to activate your service. 
It also says to change the APN to 3services. This can be done from 
Network Manager by right clicking and going into the setup or just 
editing /etc/wvdial.conf directly (not sure if NM will overwrite).



How's things?.. long time no see.

--
Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox 
Valley Rd Wahroonga  NSW  2076  |

--
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] network-manager-0.7 and 3G Huawei E180 USB stick on Three Network

2009-03-11 Thread Sridhar Dhanapalan
2009/3/11 david da...@kenpro.com.au:
 number: *99#
 username: a
 password: a
 APN: 3netaccess
 network: blank
 PIN: blank
 PUK: blank

Try leaving the username and password blank (only fill in the number
and APN). I'm with Exetel (Optus network) and that's how it works for
me.


-- 
Bring choice back to your computer.
http://www.linux.org.au/linux
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] network-manager-0.7 where's the logs?

2009-03-09 Thread Grant Parnell

0.7~~svn20081018t105859-0ubuntu1.8.10.2 network management framework daemon

I'm missing something... I wanted to find out how to monitor what 
NetworkManager's doing on Ubuntu 8.10.


Reason is we've just got a new 3G USB stick for the Three network. Model 
is E180.


NetworkManager brilliantly detected the device and I went through the 
wizard to setup and select the provider... all good. It *looks* like we 
aren't getting a signal as we only get the green double flash of the LED.


After ringing Three and confirming that the device was activated at 
their end we didn't really get any further... the usual not a supported 
OS stuff.


About the only thing I haven't tried since the upgrade is running up 
minicom on /dev/ttyUSB0 again.


In the bad old days of dialup analogue modems you could always tail -f 
/var/log/messages and see all the modem chatter and easily spot the 
problem. Darnit.. I wanna see the conversation.


--
Grant Parnell |  Muli Management Pty Ltd  |  T: 02 9487 3241  |  124 Fox 
Valley Rd Wahroonga  NSW  2076  |

--
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] network-manager-0.7 where's the logs?

2009-03-09 Thread Jeff Waugh
quote who=Grant Parnell

 In the bad old days of dialup analogue modems you could always tail -f
 /var/log/messages and see all the modem chatter and easily spot the
 problem. Darnit.. I wanna see the conversation.

/var/log/daemon.log (you are probably having Red Hat / Debian brain issues!)

- Jeff

-- 
linux.conf.au 2010: Wellington, NZ   http://www.penguinsvisiting.org.nz/
 
  No pants is good pants.
-- 
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] network-manager-0.7 where's the logs?

2009-03-09 Thread Peter Miller
Get a refund, and buy the older E160, it works a treat.

http://cafuego.net/2009/03/08/three-prepaid-mobile-broadband
http://research.operationaldynamics.com/blogs/andrew/software/gnome-desktop/e180g-and-networkmanager.html


On Tue, 2009-03-10 at 14:01 +1100, Jeff Waugh wrote:
 quote who=Grant Parnell
 
  In the bad old days of dialup analogue modems you could always tail -f
  /var/log/messages and see all the modem chatter and easily spot the
  problem. Darnit.. I wanna see the conversation.
 
 /var/log/daemon.log (you are probably having Red Hat / Debian brain issues!)
 
 - Jeff
 
 -- 
 linux.conf.au 2010: Wellington, NZ   http://www.penguinsvisiting.org.nz/
  
   No pants is good pants.
-- 
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] Network sound

2009-02-01 Thread Dean Hamstead

ages ago i experimented with getting esound working over a network.

my experiment was successful and having achieved my goal i did nothing 
more with it.


but i had a quirky combination of softwares and hardware...

xmms running on a clamshell ibook running debian pcc via wireless 
ethernet playing onto freebsd for intel, via an aureal vortex sound card.


the vintage of the hardware reinforces how ages ago was.
and yes it seemed to work fine. so feeling satisfied by my achievement i 
never did anything more with it.


esound is way old.

kde uses jack, and netjack can play over a network. pulseaudio seems to 
also.



Dean

Gerald wrote:

Hi to one and all,
Since some machines have no sound systems in them. I would like to get
network sound working.
I am using PCLOS 2008/2009 and KDE 3.5.10
Your thoughts will be greatfully recived
Gerald


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


[SLUG] Network sound

2009-02-01 Thread Gerald
Hi to one and all,
Since some machines have no sound systems in them. I would like to get
network sound working.
I am using PCLOS 2008/2009 and KDE 3.5.10
Your thoughts will be greatfully recived
Gerald

-- 
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] Network sound

2009-02-01 Thread Erik de Castro Lopo
Gerald wrote:

 Since some machines have no sound systems in them. I would like to get
 network sound working.
 I am using PCLOS 2008/2009 and KDE 3.5.10
 Your thoughts will be greatfully recived

I'm not sure if KDE uses PulseAudio, but I do know that PA can
do this out of the box on Gnome based systems.

Erol
-- 
-
Erik de Castro Lopo
-
... so the notion that it is meaningful to pass pointers to memory
objects into which any random function may write random values
without having a clue where they point, has _not_ been debunked as
the sheer idiocy it really is. -- Erik Naggum, comp.lang.lisp
-- 
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] Network sound

2009-02-01 Thread Daniel Pittman
Erik de Castro Lopo mle+s...@mega-nerd.com writes:
 Gerald wrote:

 Since some machines have no sound systems in them. I would like to
 get network sound working.  I am using PCLOS 2008/2009 and KDE 3.5.10
 Your thoughts will be greatfully recived

 I'm not sure if KDE uses PulseAudio, but I do know that PA can
 do this out of the box on Gnome based systems.

KDE 3 doesn't, directly, but the arts system it uses can be configured
with an esd backend, and PA can emulate that.

For network sound I would suggest PulseAudio, which isn't absolutely
trivial to get working, but does a very good job of integrating zeroconf
via avahi to allow you to get the network side zero-configuration.

Their wiki has a good reference to integrating PulseAudio:
http://www.pulseaudio.org/wiki/PerfectSetup

Also, I have no idea what PCLOS is based on, so comment on how
effectively it works with PA, or vice-versa.

Regards,
Daniel
-- 
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] network manager over writes resolv.conf

2008-11-23 Thread jam
On Monday 24 November 2008 10:00:09 [EMAIL PROTECTED] wrote:
 Just upgraded to Ubuntu 8.10 (from 8.04) and now I'm losing my search
 domain on reboot. I'm using a static address.

 If I edit resolv.conf everything is good until I reboot, then resolv.conf
 is re-created without the search domain.

 Where should the search domain be stored? I thought it was in
 /etc/network/interfaces but apparently not according to man interfaces.
 Previously there was a line:    dns-search kenpro.com.au

 I was expecting something like .gconf/system/networking but that doesn't
 exist and I can't find anything similar.

 Any help appreciated. I've found the question on google, but not the answer
 :(



 System/Preferences/Network Configuration GUI tool fails with the following
 message:

 Updating connection failed: nm-ifupdown-connection.c.82 - connection update
 not supported (read only)

  which doesn't surprise me because there is no authentication
 option in the GUI???  I upgraded my laptop  to 8.10 and ended up with a
 different looking configuration GUI tool, but I can't figure out why they
 are different. The laptop version works.

As usual, in their infinite wisdom (sic) to dum things down they have stuffed 
it up. (and there are bug reports to wit)
I removed the /etc/dbus-1/event.d/ *network-manager* (from memory S25.. and 
S26)
next edit /etc/network/interfaces and /etc/resolv.conf
==
auto lo
iface lo inet loopback

auto br0
iface br0 inet static
address 192.168.5.120
netmask 255.255.255.0
gateway 192.168.5.1
bridge_ports eth0

auto eth0
iface eth0 inet manual
===
I'm stuffing around with bridges to have VBox servers, but the real-working 
file says it all

James
--
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] network manager over writes resolv.conf

2008-11-23 Thread Jeff Waugh
quote who=david

 Just upgraded to Ubuntu 8.10 (from 8.04) and now I'm losing my search
 domain on reboot. I'm using a static address.

 If I edit resolv.conf everything is good until I reboot, then resolv.conf
 is re-created without the search domain.

 Where should the search domain be stored? I thought it was in
 /etc/network/interfaces but apparently not according to man interfaces.
 Previously there was a line:  dns-search kenpro.com.au

 I was expecting something like .gconf/system/networking but that doesn't
 exist and I can't find anything similar.

Never edit the GConf database directly [1], use the tools. In this case, you
want the Network Manager connections editor which you can find by context
clicking on the Network Manager panel icon (then Edit Connections...) or
System  Preferences  Network Configuration.

Choose the wired or wireless connection you want to set a search domain for,
and click Edit. To set the search domain you want the IPv4 Settings tab,
static addresses, etc.

Sure, some people don't like Network Manager because it pulls you out of the
comfy configuration files you might be used to, but it does a whole lot of
stuff for you if you don't want to bother with them anymore (or never found
them easy or comfy in the first place -- ie. my Mum).

Also, if you set stuff up in /etc/network/interfaces, Network Manager will
ignore it... at which point the resolvconf package will be a handy way to
manage your resolv.conf settings via /etc/network/interfaces.

:-)

- Jeff

[1] Not because it's impossible to do so, but because it's almost never the
easiest way to achieve your goals.

-- 
linux.conf.au 2009: Hobart, Tasmania  http://marchsouth.org/
 
 I tried to make money ass signing, but the bottom fell out of the
market. - Liam Quin
-- 
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] network manager over writes resolv.conf

2008-11-23 Thread david

Hi Jeff...

From my original post:

 System/Preferences/Network Configuration GUI tool fails with the following
 message:

 Updating connection failed: nm-ifupdown-connection.c.82 - connection update
 not supported (read only)



So now that the lovely clever gui tool doesn't work, what do I do next? go back 
to the old fashioned config files that I was comfortable with? I can't because 
they are now mysteriously over-written or silently ignored!


We are being dumbed down. I'm quite happy to have simple tools for my Mum, but 
surely in a perfect world the simple tools would advise us what's going on under 
the hood. At the moment it seems to be as secret as Windows.


At the moment, my work around is to edit resolv.conf every time I reboot. 
Luckily that isn't often, but I'm sure it wouldn't be the ideal solution for my Mum.


If the configs are no longer stored in /etc/network/interfaces or resolv.conf, 
then perhaps it would be nice if the powers that be had generated a comment such as:


# NetworkManager generates this file from data stored in /path/to/new/config

instead of the cryptic and utterly useless

# Generated by NetworkManager

While I'm spitting dummies. take a look at man networkmanager or man 
nm-tool.


just as cryptic and as far as I can see equally useless.

so next I try lynx /usr/share/doc/network-manager/README.debian which tells me 
about a config file.. ahh, thought I, this may be just what i want! :


[EMAIL PROTECTED]:~$ less /etc/NetworkManager/nm-systems-settings.conf
/etc/NetworkManager/nm-systems-settings.conf: No such file or directory


I would have thought that if I'm serious (or silly?) enough to want to edit 
/etc/resolv.conf then it's not unreasonable for the writers of the software to 
give me some clues. Your average mum is not likely to be editing config files.


Meantime, I still can't permanently set my search domain.


Jeff Waugh wrote:

quote who=david


Just upgraded to Ubuntu 8.10 (from 8.04) and now I'm losing my search
domain on reboot. I'm using a static address.

If I edit resolv.conf everything is good until I reboot, then resolv.conf
is re-created without the search domain.

Where should the search domain be stored? I thought it was in
/etc/network/interfaces but apparently not according to man interfaces.
Previously there was a line:dns-search kenpro.com.au

I was expecting something like .gconf/system/networking but that doesn't
exist and I can't find anything similar.


Never edit the GConf database directly [1], use the tools. In this case, you
want the Network Manager connections editor which you can find by context
clicking on the Network Manager panel icon (then Edit Connections...) or
System  Preferences  Network Configuration.

Choose the wired or wireless connection you want to set a search domain for,
and click Edit. To set the search domain you want the IPv4 Settings tab,
static addresses, etc.

Sure, some people don't like Network Manager because it pulls you out of the
comfy configuration files you might be used to, but it does a whole lot of
stuff for you if you don't want to bother with them anymore (or never found
them easy or comfy in the first place -- ie. my Mum).

Also, if you set stuff up in /etc/network/interfaces, Network Manager will
ignore it... at which point the resolvconf package will be a handy way to
manage your resolv.conf settings via /etc/network/interfaces.

:-)

- Jeff

[1] Not because it's impossible to do so, but because it's almost never the
easiest way to achieve your goals.


--
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] network manager over writes resolv.conf

2008-11-23 Thread David Gillies

Hi David,

Not sure if this is still valid for 8.10, but on my 8.04 machines, I 
added this to  /etc/dhcp3/dhclient.conf:


supersede domain-name example.com;

david wrote:

Hi Jeff...

From my original post:

 System/Preferences/Network Configuration GUI tool fails with the 
following

 message:

 Updating connection failed: nm-ifupdown-connection.c.82 - connection 
update

 not supported (read only)



So now that the lovely clever gui tool doesn't work, what do I do 
next? go back to the old fashioned config files that I was comfortable 
with? I can't because they are now mysteriously over-written or 
silently ignored!


We are being dumbed down. I'm quite happy to have simple tools for my 
Mum, but surely in a perfect world the simple tools would advise us 
what's going on under the hood. At the moment it seems to be as secret 
as Windows.


At the moment, my work around is to edit resolv.conf every time I 
reboot. Luckily that isn't often, but I'm sure it wouldn't be the 
ideal solution for my Mum.


If the configs are no longer stored in /etc/network/interfaces or 
resolv.conf, then perhaps it would be nice if the powers that be had 
generated a comment such as:


# NetworkManager generates this file from data stored in 
/path/to/new/config


instead of the cryptic and utterly useless

# Generated by NetworkManager

While I'm spitting dummies. take a look at man networkmanager or 
man nm-tool.


just as cryptic and as far as I can see equally useless.

so next I try lynx /usr/share/doc/network-manager/README.debian which 
tells me about a config file.. ahh, thought I, this may be just what i 
want! :


[EMAIL PROTECTED]:~$ less /etc/NetworkManager/nm-systems-settings.conf
/etc/NetworkManager/nm-systems-settings.conf: No such file or directory


I would have thought that if I'm serious (or silly?) enough to want to 
edit /etc/resolv.conf then it's not unreasonable for the writers of 
the software to give me some clues. Your average mum is not likely to 
be editing config files.


Meantime, I still can't permanently set my search domain.


Jeff Waugh wrote:

quote who=david


Just upgraded to Ubuntu 8.10 (from 8.04) and now I'm losing my search
domain on reboot. I'm using a static address.

If I edit resolv.conf everything is good until I reboot, then 
resolv.conf

is re-created without the search domain.

Where should the search domain be stored? I thought it was in
/etc/network/interfaces but apparently not according to man interfaces.
Previously there was a line: dns-search kenpro.com.au

I was expecting something like .gconf/system/networking but that 
doesn't

exist and I can't find anything similar.


Never edit the GConf database directly [1], use the tools. In this 
case, you
want the Network Manager connections editor which you can find by 
context
clicking on the Network Manager panel icon (then Edit 
Connections...) or

System  Preferences  Network Configuration.

Choose the wired or wireless connection you want to set a search 
domain for,
and click Edit. To set the search domain you want the IPv4 
Settings tab,

static addresses, etc.

Sure, some people don't like Network Manager because it pulls you out 
of the
comfy configuration files you might be used to, but it does a whole 
lot of
stuff for you if you don't want to bother with them anymore (or never 
found

them easy or comfy in the first place -- ie. my Mum).

Also, if you set stuff up in /etc/network/interfaces, Network Manager 
will
ignore it... at which point the resolvconf package will be a handy 
way to

manage your resolv.conf settings via /etc/network/interfaces.

:-)

- Jeff

[1] Not because it's impossible to do so, but because it's almost 
never the

easiest way to achieve your goals.



--
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] network manager over writes resolv.conf

2008-11-23 Thread Jeff Waugh
quote who=david

 Hi Jeff...

 From my original post:

  System/Preferences/Network Configuration GUI tool fails with the following
  message:
 
  Updating connection failed: nm-ifupdown-connection.c.82 - connection update
  not supported (read only)

 So now that the lovely clever gui tool doesn't work, what do I do next? 
 go back to the old fashioned config files that I was comfortable with? I 
 can't because they are now mysteriously over-written or silently ignored!

Well, a) that's not the GUI tool I directed you to (it's no longer relevant
in Ubuntu 8.10, so you should uninstall it) and b) I did mention in my mail
about how you can go back to the config files and NM will very happily let
you do it (by ignoring the interfaces you've configured).

 We are being dumbed down. I'm quite happy to have simple tools for my Mum,
 but surely in a perfect world the simple tools would advise us what's
 going on under the hood. At the moment it seems to be as secret as
 Windows.

The tools would advise you? Like Hi David's Mum, you don't care about
this, and it's more than likely to confuse the fuck out of you, but I'm now
editing BLAH BLAH BLINGDEE BBZZZT WIDGET. Have a nice day!

As a technical user, there are certainly methods for you to better
understand what is going on underneath the covers, but there's no reason to
expose that machinery to users who don't give a shit. (And it's not quite as
simple as generated from ...)

Due to advances driven by NM, I haven't edited /e/n/i on a desktop or laptop
system for years. I switch between VPNs, wired and wifi, and most recently
plugged in a 3G card... and it all just works. I happen to grok what's
going on under the hood, but I don't have to care about it, so I can spend
more of my synapses on stuff that actually matters.

Making computers do the stupid shit for us helps both we computer-interested
and the non-computer-interested. That's what they're for.

 Meantime, I still can't permanently set my search domain.

I'd encourage you to follow the actual instructions I provided. :-) [Hint: I
pointed you to the NM configuration tool under System  Preferences, not the
old one which should no longer exist under System  Administration.]

- Jeff

-- 
OSDC 2008: Sydney, Australiahttp://www.osdc.com.au/2008/
 
  Hunch, n.: U.S. Foreign Policy.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] network manager over writes resolv.conf

2008-11-22 Thread david
Just upgraded to Ubuntu 8.10 (from 8.04) and now I'm losing my search domain on 
reboot. I'm using a static address.


If I edit resolv.conf everything is good until I reboot, then resolv.conf is 
re-created without the search domain.


Where should the search domain be stored? I thought it was in 
/etc/network/interfaces but apparently not according to man interfaces. 
Previously there was a line: 	dns-search kenpro.com.au


I was expecting something like .gconf/system/networking but that doesn't exist 
and I can't find anything similar.


Any help appreciated. I've found the question on google, but not the answer :(



System/Preferences/Network Configuration GUI tool fails with the following 
message:

Updating connection failed: nm-ifupdown-connection.c.82 - connection update not 
supported (read only)


 which doesn't surprise me because there is no authentication option in 
the GUI???  I upgraded my laptop  to 8.10 and ended up with a different looking 
configuration GUI tool, but I can't figure out why they are different. The 
laptop version works.

--
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] Network Real-Time Hot Filesystem Replication?

2008-07-13 Thread Dave Kempe

Crossfire wrote:
I want to be able to set it up so /home (and maybe other filesystems) 
are replicated from one to the other, in both directions, in real time 
so they can run in an all-hot redundant cluster.



I think I found something that might help you:
http://gluster.org/docs/index.php/GlusterFS

http://gluster.org/docs/index.php/GlusterFS_Translators_v1.3#Automatic_File_Replication_Translator_.28AFR.29

I haven't tried it yet, but it looks good, so I might.
sorry to revive an old thread :)

dave
--
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] Network Real-Time Hot Filesystem Replication?

2008-04-08 Thread Matt Moor

Crossfire wrote:

I've just spent some time quickly researching this to no real satisfaction.

What I'm looking for is a way to do real-time hot-replication of a whole 
filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) 
without STOMITH[1].


The scenario is I have two identical systems with local (software) 
RAID1.  They will be tethered onto their internet feed via ethernet, and 
can optionally be tethered to each other via Gig.


I want to be able to set it up so /home (and maybe other filesystems) 
are replicated from one to the other, in both directions, in real time 
so they can run in an all-hot redundant cluster.


The environment should be mostly read-oriented, so I can live with 
write-latent solutions as long as they handle the race/collision 
gracefully (preferably by actually detecting and reporting it if they 
can't avoid it).




I've had some success with Software iSCSI targets on Linux to date. I'm 
currently using software iSCSI over Gigabit Ethernet to back a VMware 
ESX cluster[0].


Software iSCSI targets (I have experience only with tgtd - the only one 
that seemed current) present a Linux block device as an iSCSI target 
over the network. I present an LVM logical volume.


One could conceive of an eventuality where you made both machines iSCSI 
targets and initiators and ran RAID1 over the local and remote iSCSI 
targets[1]. I have no idea what sort of (terrible) performance you might 
get out of this sort of setup, but it would meet your requirements, and 
with enough RAM for read-caching in each node, it might not be too bad. 
You would need that Gigabit cross-connect.


There are large warnings in the scsi_tgt code about using it in 
production, however.


I suspect this problem space isn't addressed terribly often because, 
well, (1) it's Hard, (2) most people who care about this stuff buy 
shared storage (check ebay), (3) It's even Harder once you start talking 
file systems that do this[2].


Cheers,

Matt

0. I can post my recipe for the target bits, if anyone cares.

1. With a global filesystem, of course.

2. Ceph, which Robert Collins suggested above, is a really good example 
of a brilliantly designed distributed file system (much better than 
MogileFS, which is more an on-disk hash table with quirks), but I have 
my doubts about it's suitability for production systems (though I hope 
it gets there).

--
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] Network Real-Time Hot Filesystem Replication?

2008-04-08 Thread Matthew Hannigan


I don't know whether it would suit you at all, but
I'll mention

http://allmydata.org/trac/tahoe

for the simple reason it looks interesting and
it only just announced version 1.0

RC's mention of Ceph jogged my memory on this.

Matt


-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-07 Thread Jamie Wilkinson
This one time, at band camp, Amos Shapira wrote:
1. You CAN'T mount a non-cluster-aware file system even read-only on the
secondary node since the primary will change FS-structs under the feet of
the read-only node and cause it to crash (because non-cluster-aware
filesystems assume that they are the only ones who touch that partition).
2. You CAN mount read-write on multiple nodes if you use one of the
cluster-aware filesystems (GFS and OCFS are regularly mentioned, but if you
find any other cluster-aware file system then it sounds like it will work
too).

You're right, the example I was thinking of does not mount the filesystem on
the secondary nodes until the primary goes down; once the FS is not mounted
one of the secondaries takes over and mounts it read/write.
-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-07 Thread Chris Collins

Adrian Chadd wrote:

I looked into it about a year ago and I couldn't find any simple way of
doing this using free software. There's CODA/AFS as possible solutions but
they still push the notion of master/slave rather than equal peers, which
Chris mentions he needs (ie, constant synchronisation between each member
rather than periodic pushback..)

Chris, try looking at CODA/AFS support?


OpenAFS was already considered.  R/O replication is a pain, as is the 
whole volume host death problem. (ie: write volume goes away if the host 
holding the volume dies).


I haven't looked at Coda recently.  They still seem to be active (I 
thought they'd all abandoned ship for Intermezzo - seems I was wrong). 
I'll check it out sometime soon.


C.
--
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] Network Real-Time Hot Filesystem Replication?

2008-04-07 Thread Robert Collins
On Sat, 2008-04-05 at 09:52 +1100, Crossfire wrote:
 I've just spent some time quickly researching this to no real satisfaction.
 
 What I'm looking for is a way to do real-time hot-replication of a whole 
 filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) 
 without STOMITH[1].
 
 The scenario is I have two identical systems with local (software) 
 RAID1.  They will be tethered onto their internet feed via ethernet, and 
 can optionally be tethered to each other via Gig.
 
 I want to be able to set it up so /home (and maybe other filesystems) 
 are replicated from one to the other, in both directions, in real time 
 so they can run in an all-hot redundant cluster.
 
 The environment should be mostly read-oriented, so I can live with 
 write-latent solutions as long as they handle the race/collision 
 gracefully (preferably by actually detecting and reporting it if they 
 can't avoid it).
 
 The options I've investigated so far:
 
 * Lustre (MDS requirements[2] make this not an option)
 * GlobalFS (STOMITH requirements make this not an option.  Oriented
towards shared media too, which I am not using)
 * tsync (Naive concurrent operation model, but otherwise viable)
 * MogileFS (not quite what I was looking for, but none the less useful).
 * OpenAFS (read-only replication only, loss of the node hosting the
write volume still renders the volume unwritable).
 
 Is anybody aware of any other options that I've missed?

http://sourceforge.net/projects/ceph/

-Rob
-- 
GPG key available at: http://www.robertcollins.net/keys.txt.


signature.asc
Description: This is a digitally signed message part
-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-06 Thread Amos Shapira
On Sun, Apr 6, 2008 at 2:47 PM, Jamie Wilkinson [EMAIL PROTECTED] wrote:

 This one time, at band camp, Crossfire wrote:
  Dave Kempe wrote:
  Crossfire wrote:
  I want to be able to set it up so /home (and maybe other filesystems)
  are replicated from one to the other, in both directions, in real
  time so they can run in an all-hot redundant cluster.
 
  The environment should be mostly read-oriented, so I can live with
  write-latent solutions as long as they handle the race/collision
  gracefully (preferably by actually detecting and reporting it if they
  can't avoid it).
 
  isn't this just a description of a network filesytem... say NFS?
 
  No.  Network Filesystems still have a distinct single storage location.
  If that storage is taken offline, clients can only error or hang.
 
  With a hot real-time replicated filesystem, all involved nodes would
  have a full local copy at all times and would be able to continue
  operation.

 I agreed with your earlier decision about not using drbd because you
 wouldn't be able to write from multiple nodes to the filesystem; all the
 slaves would have to be mounted read-only.  However if you wanted to get


Can you provide links which support this?

I've been using DRBD for a few months now (just in stand-by mode, but been
following the forums and docs during that time) and all indications are
that:

1. You CAN'T mount a non-cluster-aware file system even read-only on the
secondary node since the primary will change FS-structs under the feet of
the read-only node and cause it to crash (because non-cluster-aware
filesystems assume that they are the only ones who touch that partition).
2. You CAN mount read-write on multiple nodes if you use one of the
cluster-aware filesystems (GFS and OCFS are regularly mentioned, but if you
find any other cluster-aware file system then it sounds like it will work
too).

Ref:
http://www.linux-ha.org/DRBD/FAQ#head-2cad8caa095cfb6e2935261cb595390c742ebd86


 fancy you could still use drbd (which is a great fit for all your other
 requirements) on a multi-node fileserver, and do some nifty failover using
 IP takeover.

 Or if you're trying to share the local disk of a lot of nodes, then what
 if
 you used DRBD on them all to replicate the block device, and run a NFS
 server on the nodes thremselves?  Yes you'd get a lot of network traffic
 between them, but it'd work, no? :)


Have you tried this suggestions? From all I read about DRBD this will cause
all secondary nodes to crash.

Cheers,

--Amos
-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-06 Thread Adrian Chadd
On Sun, Apr 06, 2008, Amos Shapira wrote:

 I've been using DRBD for a few months now (just in stand-by mode, but been
 following the forums and docs during that time) and all indications are
 that:
 
 1. You CAN'T mount a non-cluster-aware file system even read-only on the
 secondary node since the primary will change FS-structs under the feet of
 the read-only node and cause it to crash (because non-cluster-aware
 filesystems assume that they are the only ones who touch that partition).

 2. You CAN mount read-write on multiple nodes if you use one of the
 cluster-aware filesystems (GFS and OCFS are regularly mentioned, but if you
 find any other cluster-aware file system then it sounds like it will work
 too).

IIRC they assume a single back-end device. Does DRBD give you a journaling
block device which will stall updates until they've been pushed? How will
the FSes tolerate the device IO being possibly milliseconds later than the
master?

 Have you tried this suggestions? From all I read about DRBD this will cause
 all secondary nodes to crash.

I looked into it about a year ago and I couldn't find any simple way of
doing this using free software. There's CODA/AFS as possible solutions but
they still push the notion of master/slave rather than equal peers, which
Chris mentions he needs (ie, constant synchronisation between each member
rather than periodic pushback..)

Chris, try looking at CODA/AFS support?



Adrian

-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-06 Thread Amos Shapira
On Sun, Apr 6, 2008 at 9:25 PM, Adrian Chadd [EMAIL PROTECTED] wrote:

 On Sun, Apr 06, 2008, Amos Shapira wrote:

  I've been using DRBD for a few months now (just in stand-by mode, but
 been
  following the forums and docs during that time) and all indications are
  that:
 
  1. You CAN'T mount a non-cluster-aware file system even read-only on the
  secondary node since the primary will change FS-structs under the feet
 of
  the read-only node and cause it to crash (because non-cluster-aware
  filesystems assume that they are the only ones who touch that
 partition).

  2. You CAN mount read-write on multiple nodes if you use one of the
  cluster-aware filesystems (GFS and OCFS are regularly mentioned, but if
 you
  find any other cluster-aware file system then it sounds like it will
 work
  too).

 IIRC they assume a single back-end device. Does DRBD give you a journaling
 block device which will stall updates until they've been pushed? How will
 the FSes tolerate the device IO being possibly milliseconds later than the
 master?


Again - I haven't got around to actually use it (as much as I'd like to just
sit down and try it) but you can see in the link that I sent with my
previous reply that they clearly claim that it is supported.

 Have you tried this suggestions? From all I read about DRBD this will
 cause
  all secondary nodes to crash.

 I looked into it about a year ago and I couldn't find any simple way of


Could it be that you looked at 0.7? I always used 0.8+ and got the
impression that there were major improvements introduced in it over 0.7.

doing this using free software. There's CODA/AFS as possible solutions but
 they still push the notion of master/slave rather than equal peers, which
 Chris mentions he needs (ie, constant synchronisation between each member
 rather than periodic pushback..)


That's what DRBD 0.8+GFS/OCFS is promoted as .

Cheers,

--Amos
-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-05 Thread Jamie Wilkinson
This one time, at band camp, Crossfire wrote:
 Dave Kempe wrote:
 Crossfire wrote:
 I want to be able to set it up so /home (and maybe other filesystems) 
 are replicated from one to the other, in both directions, in real 
 time so they can run in an all-hot redundant cluster.

 The environment should be mostly read-oriented, so I can live with  
 write-latent solutions as long as they handle the race/collision  
 gracefully (preferably by actually detecting and reporting it if they 
 can't avoid it).

 isn't this just a description of a network filesytem... say NFS?

 No.  Network Filesystems still have a distinct single storage location.  
 If that storage is taken offline, clients can only error or hang.

 With a hot real-time replicated filesystem, all involved nodes would  
 have a full local copy at all times and would be able to continue 
 operation.

I agreed with your earlier decision about not using drbd because you
wouldn't be able to write from multiple nodes to the filesystem; all the
slaves would have to be mounted read-only.  However if you wanted to get
fancy you could still use drbd (which is a great fit for all your other
requirements) on a multi-node fileserver, and do some nifty failover using
IP takeover.

Or if you're trying to share the local disk of a lot of nodes, then what if
you used DRBD on them all to replicate the block device, and run a NFS
server on the nodes thremselves?  Yes you'd get a lot of network traffic
between them, but it'd work, no? :)
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Crossfire

I've just spent some time quickly researching this to no real satisfaction.

What I'm looking for is a way to do real-time hot-replication of a whole 
filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) 
without STOMITH[1].


The scenario is I have two identical systems with local (software) 
RAID1.  They will be tethered onto their internet feed via ethernet, and 
can optionally be tethered to each other via Gig.


I want to be able to set it up so /home (and maybe other filesystems) 
are replicated from one to the other, in both directions, in real time 
so they can run in an all-hot redundant cluster.


The environment should be mostly read-oriented, so I can live with 
write-latent solutions as long as they handle the race/collision 
gracefully (preferably by actually detecting and reporting it if they 
can't avoid it).


The options I've investigated so far:

* Lustre (MDS requirements[2] make this not an option)
* GlobalFS (STOMITH requirements make this not an option.  Oriented
  towards shared media too, which I am not using)
* tsync (Naive concurrent operation model, but otherwise viable)
* MogileFS (not quite what I was looking for, but none the less useful).
* OpenAFS (read-only replication only, loss of the node hosting the
  write volume still renders the volume unwritable).

Is anybody aware of any other options that I've missed?

C.

[1] Shoot The Other Machine In The Head - the ability for any node to
forcibly powerdown any other node believed to be malfunctioning.
[2] Single instance MDS only, only clusterable through shared storage.
d'oh.
[3] People suggesting rsync will be taken out back and shot for not
reading the requirements.
--
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Mick Pollard
On Sat, 05 Apr 2008 09:52:55 +1100
Crossfire [EMAIL PROTECTED] wrote:

 I've just spent some time quickly researching this to no real satisfaction.
 
 What I'm looking for is a way to do real-time hot-replication of a whole 
 filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) 
 without STOMITH[1].
 
 The scenario is I have two identical systems with local (software) 
 RAID1.  They will be tethered onto their internet feed via ethernet, and 
 can optionally be tethered to each other via Gig.
 
Have you had a look at http://www.drbd.org/ ?
It basically mirrors a blockdevice over ethernet. 
A raid1 of sorts.

-- 
Regards
Mick Pollard ( lunix )

BOFH Excuse of the day:
Intermittant Checksum Invalidation Error


pgpPPkdV5wNbV.pgp
Description: PGP signature
-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Dave Kempe

Crossfire wrote:
I want to be able to set it up so /home (and maybe other filesystems) 
are replicated from one to the other, in both directions, in real time 
so they can run in an all-hot redundant cluster.


The environment should be mostly read-oriented, so I can live with 
write-latent solutions as long as they handle the race/collision 
gracefully (preferably by actually detecting and reporting it if they 
can't avoid it).



isn't this just a description of a network filesytem... say NFS?
I am also interested in what you come up with, but haven't seen anything 
that matchs. DRBD is not RW from both nodes.
I have also used RAID1 over AoE and iSCSI, but not sure if this would 
help you at all either with only two nodes.
I was thinking just yesterday some sort of fuse filesystem is what we 
need :)


dave

--
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Crossfire

Mick Pollard wrote:

On Sat, 05 Apr 2008 09:52:55 +1100
Crossfire [EMAIL PROTECTED] wrote:


I've just spent some time quickly researching this to no real satisfaction.

What I'm looking for is a way to do real-time hot-replication of a whole 
filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) 
without STOMITH[1].


The scenario is I have two identical systems with local (software) 
RAID1.  They will be tethered onto their internet feed via ethernet, and 
can optionally be tethered to each other via Gig.



Have you had a look at http://www.drbd.org/ ?
It basically mirrors a blockdevice over ethernet. 
A raid1 of sorts.


DRBD doesn't actually solve the problem - it either provides a warm 
replication of a normal filesystem, or provides an pseudo-shared storage 
device.


Warm replication is a no-go since I will need effectively local access 
to the filesystem on both nodes so there isn't a song-and-dance routine 
to perform w.r.t mounts, etc, during a failure.


As a psuedo-shared storage device, I doubt it's of any particular use 
due to (drastically-higher) latency incurred by having to replicate the 
changes between the storage pools rather than the storage pool being 
shared.  I'd also be concerned about split-brain recovery with cluster 
filesystems (split-brain is not actually possible with a real shared 
drive, but completely possible with DRBD). Initial comments I've seen 
from people trying to use it with OCFS2 also seem poor.


C.
--
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Dave Kempe

Dave Kempe wrote:
I was thinking just yesterday some sort of fuse filesystem is what we 
need :)


dave



haven't tried it, but this is fuse
http://www.furquim.org/chironfs/

dave

--
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Crossfire

Dave Kempe wrote:

Crossfire wrote:
I want to be able to set it up so /home (and maybe other filesystems) 
are replicated from one to the other, in both directions, in real time 
so they can run in an all-hot redundant cluster.


The environment should be mostly read-oriented, so I can live with 
write-latent solutions as long as they handle the race/collision 
gracefully (preferably by actually detecting and reporting it if they 
can't avoid it).



isn't this just a description of a network filesytem... say NFS?


No.  Network Filesystems still have a distinct single storage location. 
 If that storage is taken offline, clients can only error or hang.


With a hot real-time replicated filesystem, all involved nodes would 
have a full local copy at all times and would be able to continue operation.


C.
--
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Alex Samad
On Sat, Apr 05, 2008 at 09:52:55AM +1100, Crossfire wrote:
 I've just spent some time quickly researching this to no real satisfaction.

 What I'm looking for is a way to do real-time hot-replication of a whole  
 filesystem or filesystem tree over 2 nodes (and strictly 2 nodes)  
 without STOMITH[1].

 The scenario is I have two identical systems with local (software)  
 RAID1.  They will be tethered onto their internet feed via ethernet, and  
 can optionally be tethered to each other via Gig.

 I want to be able to set it up so /home (and maybe other filesystems)  
 are replicated from one to the other, in both directions, in real time  
 so they can run in an all-hot redundant cluster.

 The environment should be mostly read-oriented, so I can live with  
 write-latent solutions as long as they handle the race/collision  
 gracefully (preferably by actually detecting and reporting it if they  
 can't avoid it).

 The options I've investigated so far:

 * Lustre (MDS requirements[2] make this not an option)
 * GlobalFS (STOMITH requirements make this not an option.  Oriented
   towards shared media too, which I am not using)
 * tsync (Naive concurrent operation model, but otherwise viable)
 * MogileFS (not quite what I was looking for, but none the less useful).
 * OpenAFS (read-only replication only, loss of the node hosting the
   write volume still renders the volume unwritable).

 Is anybody aware of any other options that I've missed?
I think once you ask for no STOMITH and also read/write access from more
than one location, you have made it really hard for yourself. Unless you
go to something NFS.

Lustre doesn't really met you requirements. its more for file striping
and speed then for HA

if 1 can be readonly then you could setup a raid 1 with one device being
a network block device 

 C.

 [1] Shoot The Other Machine In The Head - the ability for any node to
 forcibly powerdown any other node believed to be malfunctioning.
 [2] Single instance MDS only, only clusterable through shared storage.
 d'oh.
 [3] People suggesting rsync will be taken out back and shot for not
 reading the requirements.
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


-- 
I also understand how tender the free enterprise system can be.

- George W. Bush
07/08/2002
White House press conference, Washington, D.C.


signature.asc
Description: Digital signature
-- 
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] Network Real-Time Hot Filesystem Replication?

2008-04-04 Thread Alex Samad
On Sat, Apr 05, 2008 at 10:11:00AM +1100, John Ferlito wrote:
 Keeping in mind I've never done this so no idea how well it works. I'd
 say a combination of
 
 Global File System - http://sources.redhat.com/cluster/gfs/
I think the requirements where for no STOMITH and GFS uses that in both
incarnations, so does ocfs, psfs



 and
 Global Network Block Device - http://sourceware.org/cluster/gnbd/
 
 should do the trick, this document explains how
 http://sources.redhat.com/cluster/wiki/DRBD_Cookbook?highlight=(CategoryHowTo)
 
 On Sat, Apr 05, 2008 at 09:52:55AM +1100, Crossfire wrote:
  I've just spent some time quickly researching this to no real satisfaction.
 
  What I'm looking for is a way to do real-time hot-replication of a whole  
  filesystem or filesystem tree over 2 nodes (and strictly 2 nodes) without 
  STOMITH[1].
 
  The scenario is I have two identical systems with local (software) RAID1.  
  They will be tethered onto their internet feed via ethernet, and can 
  optionally be tethered to each other via Gig.
 
  I want to be able to set it up so /home (and maybe other filesystems) are 
  replicated from one to the other, in both directions, in real time so they 
  can run in an all-hot redundant cluster.
 
  The environment should be mostly read-oriented, so I can live with  
  write-latent solutions as long as they handle the race/collision  
  gracefully (preferably by actually detecting and reporting it if they  
  can't avoid it).
 
  The options I've investigated so far:
 
  * Lustre (MDS requirements[2] make this not an option)
  * GlobalFS (STOMITH requirements make this not an option.  Oriented
towards shared media too, which I am not using)
  * tsync (Naive concurrent operation model, but otherwise viable)
  * MogileFS (not quite what I was looking for, but none the less useful).
  * OpenAFS (read-only replication only, loss of the node hosting the
write volume still renders the volume unwritable).
 
  Is anybody aware of any other options that I've missed?
 
  C.
 
  [1] Shoot The Other Machine In The Head - the ability for any node to
  forcibly powerdown any other node believed to be malfunctioning.
  [2] Single instance MDS only, only clusterable through shared storage.
  d'oh.
  [3] People suggesting rsync will be taken out back and shot for not
  reading the requirements.
  -- 
  SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
  Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 
 
 -- 
 John
 http://www.inodes.org/
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
 

-- 
It is clear our nation is reliant upon big foreign oil. More and more of our 
imports come from overseas.

- George W. Bush
09/25/2000
Beaverton, OR


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

[SLUG] Network Card On Holidays

2007-01-19 Thread [EMAIL PROTECTED]
My Internet connection has been working fine after following the advice in lesson 17C @ Linux.org but as allways it was too good to last?
I had been trying to read my old IDE doze disks for the purpose of data transfer but after I had came into (hardware related) problems I took my doze disks down to the local computer shop for the purpose of data recovery
Then when I put my computer back the way it was I tried to access the intenet, so I made changes to the dhcclient script which in turn modeified the resolv.conf file so that the resoolv-conf file held the correct nameservers in it (It woluld have been useful if the dhcclient -script actually did this without user interference)
and after lots of mucking arount I realised that Mandriva Linux doesn't recognize my network card and I thouhgt It is really strange as a few days ago Mandriva Linux had no trouble recognising my network card.
I also found that there is a graphical screen in which I can choose to make my graphics card active but this doesn't activate my graphics card when I try it.
Now I have also installed a lot of updates lately and I am thinking that if I could uninstall some or all of those updates could this help the situation
Does anybody have any Ideas?
Actually I am wondering if maybe I may have ripped out part of the dhcclient-script that enables the network card to bedetectedin which case I should ask if somebody could send me a copy
Thanks Steve


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

[SLUG] Network Card Woes

2006-10-25 Thread Phill O'Flynn
Thanks for your advice.In the end I put each card on a separate subnet
and used tc to throttle back the connection speed on the nic exposed to the
internet.CBQ might be good at shaping the outgoing traffic from the
server but (from my very limited understanding of tc) it doesn't take into account
other traffic on the connection - fair enough i s'pose..Just
incase you were wondering!!
RegardsPhill O'Flynn
- Original Message
-Subject: Re: [Fwd: Re: [SLUG] Network Card
Woes]From:Glen Turner [EMAIL PROTECTED]Date:Tue, October 24, 2006 3:30 pmTo:  Phill O'Flynn
[EMAIL PROTECTED]Cc:  slug@slug.org.auPhill O'Flynn wrote: So this morning is used the
tc command to throttle back my servers  eth0 to 168k and the
voip worked fine. But obviously this became a speed  problem to the
internal network.You can define two classes to tc -- your local subnet
and everythingelse.  Then give 168k to the everything else class and allow
anybandwidth to the local subnet class.  See the CBQ qdisc.--   Glen Turner Tel: (08) 8303 3936 or +61 8 8303 3936  Australia's
Academic  Research Network  www.aarnet.edu.au-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[SLUG] Network Card Woes

2006-10-23 Thread Phill O'Flynn
I have installed an exttra NIC on my fedora server so I can apply some QOS.On the fedora machine as far as I can tell each nic (eth0  eth1) has
their own ip address (10.1.1.30  10.1.1.31) and are pointing to different
devices ( comparing mac addresses).Howevver it appears that all other
devices on the network seem to get confused as the ip addresses from remote devices
seem to point to the one network cardWhat To Do!!!
RegardsPhill O'Flynn
-- 
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] Network Card Woes

2006-10-23 Thread Zhasper
On 10/24/06, Phill O'Flynn [EMAIL PROTECTED] wrote:
I have installed an exttra NIC on my fedora server so I can apply some QOS.On the fedora machine as far as I can tell each nic (eth0  eth1) has
their own ip address (10.1.1.30  
10.1.1.31) and are pointing to different
devices ( comparing mac addresses).Howevver it appears that all other
devices on the network seem to get confused as the ip addresses from remote devices
seem to point to the one network cardWhat To Do!!!Your machine is no doubt quite confused, because it has two routes into it's local network: it won't know which interface it should be forwarding packets out of.
What's probably happening here is that the ARP responses saying I'm 10.1.1.31 are leaving out the 10.1.1.30 card - in fact, everything is probably leaving via that card, regardless of its address.
Run tcpdump to confirm this..You may be able to do something fancy with iptables rules and/or iproute2 and policy routing to make this work, but I think you'd be better off taking out the second card and making the second address just an alias on the first card.
You mentioned you're trying to achieve some kind of QOS - could you tell us more about the original problem that you're trying to solve?
RegardsPhill O'Flynn

--SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/Subscription info and FAQs: 
http://slug.org.au/faq/mailinglists.html-- There is nothing more worthy of contempt than a man who quotes himself - Zhasper, 2004
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[Fwd: Re: [SLUG] Network Card Woes]

2006-10-23 Thread Phill O'Flynn
çÞü~Ë­­ª{ë¯yçnùã^6Ó^´ÓOn 10/24/06, Phill O'Flynn [EMAIL PROTECTED] wrote:
I have installed an exttra NIC on my fedora server so I can apply some QOS.On the fedora machine as far as I can tell each nic (eth0  eth1) has
their own ip address (10.1.1.30  
10.1.1.31) and are pointing to different
devices ( comparing mac addresses).Howevver it appears that all other
devices on the network seem to get confused as the ip addresses from remote devices
seem to point to the one network cardWhat To Do!!!Your machine is no doubt quite confused, because it has two routes into it's local network: it won't know which interface it should be forwarding packets out of.
What's probably happening here is that the ARP responses saying I'm 10.1.1.31 are leaving out the 10.1.1.30 card - in fact, everything is probably leaving via that card, regardless of its address.
Run tcpdump to confirm this..You may be able to do something fancy with iptables rules and/or iproute2 and policy routing to make this work, but I think you'd be better off taking out the second card and making the second address just an alias on the first card.
You mentioned you're trying to achieve some kind of QOS - could you tell us more about the original problem that you're trying to solve?
RegardsPhill O'Flynn

--SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/Subscription info and FAQs: 
http://slug.org.au/faq/mailinglists.html-- There is nothing more worthy of contempt than a man who quotes himself - Zhasper, 2004-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

[Fwd: Re: [SLUG] Network Card Woes]

2006-10-23 Thread Phill O'Flynn
ïÎý~Ë­­ªxÛ®·çyã^6Ó^´ÓOn 10/24/06, Phill O'Flynn [EMAIL PROTECTED] wrote:
I have installed an exttra NIC on my fedora server so I can apply some QOS.On the fedora machine as far as I can tell each nic (eth0  eth1) has
their own ip address (10.1.1.30  
10.1.1.31) and are pointing to different
devices ( comparing mac addresses).Howevver it appears that all other
devices on the network seem to get confused as the ip addresses from remote devices
seem to point to the one network cardWhat To Do!!!Your machine is no doubt quite confused, because it has two routes into it's local network: it won't know which interface it should be forwarding packets out of.
What's probably happening here is that the ARP responses saying I'm 10.1.1.31 are leaving out the 10.1.1.30 card - in fact, everything is probably leaving via that card, regardless of its address.
Run tcpdump to confirm this..You may be able to do something fancy with iptables rules and/or iproute2 and policy routing to make this work, but I think you'd be better off taking out the second card and making the second address just an alias on the first card.
You mentioned you're trying to achieve some kind of QOS - could you tell us more about the original problem that you're trying to solve?
RegardsPhill O'Flynn

--SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/Subscription info and FAQs: 
http://slug.org.au/faq/mailinglists.html-- There is nothing more worthy of contempt than a man who quotes himself - Zhasper, 2004-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Re: [Fwd: Re: [SLUG] Network Card Woes]

2006-10-23 Thread Glen Turner

Phill O'Flynn wrote:

So this morning is used the tc command to throttle back my servers 
eth0 to 168k and the voip worked fine. But obviously this became a speed 
problem to the internal network.


You can define two classes to tc -- your local subnet and everything
else.  Then give 168k to the everything else class and allow any
bandwidth to the local subnet class.  See the CBQ qdisc.

--
 Glen Turner Tel: (08) 8303 3936 or +61 8 8303 3936
 Australia's Academic  Research Network  www.aarnet.edu.au
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] network-mangler^H^H^Hmanager problems

2006-07-25 Thread Sonia Hamilton
I installed network-manager a while a go, to have a play with it. I've
removed it (don't like it) but it seems to be hanging around and I can't
get rid of it.

What I mean is that when I do an 'ifdown eth0; ifup eth0'
network-mangler removes the link from /etc/resolv.conf to
/etc/resolvconf/run/resolv.conf, and replaces it with a hardcoded
resolv.conf pointing to network-manager:

 ; generated by NetworkManager, do not edit!
 ; Use a local caching nameserver controlled by NetworkManager
 nameserver 127.0.0.1

I've tried (via aptitude) purging the configuration for network-manager,
also had a look thru scripts in /etc/network, nothing...

-- 
Sonia Hamilton. GPG key A8B77238.
.
One OS to rule them all, One OS to find them.
One OS to call them all, And in salvation bind them.
In the bright land of Linux, Where the hackers play. 
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Network Associates Webshield - e-mail Content Alert

2005-11-21 Thread informatica
o sistema Network Associates WebShield SMTP  trata-se de um gerenciador de 
servidor
de e-mail. Este sistema interceptou um email enviado para 
[EMAIL PROTECTED]  de assunto Ja pensou emagrecer enquanto dorme? 
. 
 25 e teve este conteudo barrado:  emagrecer, pois foi considerado 
suspeito.
Qualquer duvida, favor nos ligar: (19) 37884619 - Informatica - Prefeitura - 
Unicamp
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Network Tool to aid Virus Detection

2005-10-20 Thread Peter Rundle

Sluggers,

Does anyone know if there's a way/tool to use Linux to snoop the network 
and detect which box is the source of infection?


I just built a WinXp box and put it on our local Lan and before I could 
even install some virus software it got the sasser.wormb virus (which I 
detected with stinger). Ive stingered every box under my control in the 
local class C and found none infected, but perhaps this virus is coming 
from else where on the corporate network.


Is there any way I can use tcpdump/linux tools to detect where the port 
scanning is coming from? The Linux box is on the same Hub (yes hub not 
switch) as the honey pot.


TIA's

Pete.
--
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] Network Tool to aid Virus Detection

2005-10-20 Thread Dean Hamstead

ethereal?

Dean

Peter Rundle wrote:

Sluggers,

Does anyone know if there's a way/tool to use Linux to snoop the network 
and detect which box is the source of infection?


I just built a WinXp box and put it on our local Lan and before I could 
even install some virus software it got the sasser.wormb virus (which I 
detected with stinger). Ive stingered every box under my control in the 
local class C and found none infected, but perhaps this virus is coming 
from else where on the corporate network.


Is there any way I can use tcpdump/linux tools to detect where the port 
scanning is coming from? The Linux box is on the same Hub (yes hub not 
switch) as the honey pot.


TIA's

Pete.


--
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] Network Tool to aid Virus Detection

2005-10-20 Thread Peter Rundle

Dean Hamstead wrote:

ethereal?


Sure. But how do I distill the worms attacks out of the millions of 
other packets that are being picked up? There is constant broadcast 
traffic on the LAN with PC's file sharing between each other. So traffic 
to port 137 etc is very busy. How can I tell out of that broadcast 
stream which packets are the worm scanning for ports to attack on?


I mean if the worm is scanning then I can just ethereal/tcpdump in the 
Linx box to try and capture the initial port scan for vunerable ports.


I need a traffic analyser that can detect attacks by the sasser worm and 
tell me the source IP or hardware Mac address that they are coming from.


Cheers

P.



--
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] Network Tool to aid Virus Detection

2005-10-20 Thread QuantumG

Peter Rundle wrote:



I need a traffic analyser that can detect attacks by the sasser worm 
and tell me the source IP or hardware Mac address that they are coming 
from.



Snort?

Trent
--
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] Network Tool to aid Virus Detection

2005-10-20 Thread Jamie Wilkinson
This one time, at band camp, Peter Rundle wrote:
Dean Hamstead wrote:
ethereal?

Sure. But how do I distill the worms attacks out of the millions of 
other packets that are being picked up? There is constant broadcast 
traffic on the LAN with PC's file sharing between each other. So traffic 
to port 137 etc is very busy. How can I tell out of that broadcast 
stream which packets are the worm scanning for ports to attack on?

Sounds like you want an IDS like snort or prelude:

http://www.prelude-ids.org/

(winner of jaq's best artwork in an open source project 2005 award)
-- 
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] Network Tool to aid Virus Detection

2005-10-20 Thread Dave Kempe

Jamie Wilkinson wrote:


Sounds like you want an IDS like snort or prelude:

http://www.prelude-ids.org/

(winner of jaq's best artwork in an open source project 2005 award)


an alternative to this is ossim http://www.ossim.net
which seems to do the same sort of thing.
I might compare them (didn't know about prelude)

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


[SLUG] network cards with KDE 3.3

2005-09-22 Thread dimitri
i just installed debian and run KDE 3.3 with it. i can't find anywhere
 to access my networkcards. i have one card for the ADSL modem and one
 for the home network.
 
 i am a newbee, but i had redhat before and could easy access in KDE the
 network cards, make my settings etc...

i did try the ADSL/PPPOE configuration manager who can see my cards but
tells me they are busy.
 
 any help?
 
 thanks, dimitri
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] network restart drops eth0 connection :(

2005-09-16 Thread David
I'm just building a brand new Ubuntu server box. Unfortunately I put in 
the wrong address for the nameserver so I changed it manually (edited 
/etc/resolv.conf and /etc/network/interfaces) and now if I restart 
networking I lose the eth0 connection completely! ie, ifconfig only shows 
loopback.

If I completely reboot the machine, eth0 comes back and works fine until 
the next time I restart networking :(

Can anyone suggest what I'm doing wrong? 

David.
-- 
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] network restart drops eth0 connection :(

2005-09-16 Thread Gottfried Szing



David wrote:
I'm just building a brand new Ubuntu server box. Unfortunately I put in 
the wrong address for the nameserver so I changed it manually (edited 
/etc/resolv.conf and /etc/network/interfaces) and now if I restart 
networking I lose the eth0 connection completely! ie, ifconfig only shows 
loopback.


If I completely reboot the machine, eth0 comes back and works fine until 
the next time I restart networking :(


Can anyone suggest what I'm doing wrong? 


disclaimer: AFAIK is ubuntu very similar to debian, so this suggestions 
might not work if the differences between debian and ubuntu are to big.


the network scripts utilizes the commands ifup and ifdown (located in 
/sbin). so you can try to call the commands ifup/ifdown directly and to 
turn on the verbose-mode.


e.g. as root

$ ifdown -v eth0
$ ifup -v eth0

because the network-script does more than just bringing up the 
interfaces, you could also run the network script in debug mode and 
check the output for possible error messages.


$ bash -x /etc/init.d/network restart

hth, gottfried
--
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] network restart drops eth0 connection :(

2005-09-16 Thread O Plameras

Gottfried Szing wrote:




David wrote:

I'm just building a brand new Ubuntu server box. Unfortunately I put 
in the wrong address for the nameserver so I changed it manually 
(edited /etc/resolv.conf and /etc/network/interfaces) and now if I 
restart networking I lose the eth0 connection completely! ie, 
ifconfig only shows loopback.


If I completely reboot the machine, eth0 comes back and works fine 
until the next time I restart networking :(


Can anyone suggest what I'm doing wrong? 



disclaimer: AFAIK is ubuntu very similar to debian, so this 
suggestions might not work if the differences between debian and 
ubuntu are to big.


the network scripts utilizes the commands ifup and ifdown (located in 
/sbin). so you can try to call the commands ifup/ifdown directly and 
to turn on the verbose-mode.


e.g. as root

$ ifdown -v eth0
$ ifup -v eth0



Also these 'ifdown' and 'ifup' scripts take the ff file as parameter:

'ifcfg-eth0'   and so you must ensure the contents are in order.

For example,

DEVICE=eth0
BOOTPROTO=static
BROADCAST=192.168.1.255
IPADDR=192.168.1.254
NETMASK=255.255.255.0
NETWORK=192.168.1.0
ONBOOT=yes
TYPE=Ethernet

because the network-script does more than just bringing up the 
interfaces, you could also run the network script in debug mode and 
check the output for possible error messages.


$ bash -x /etc/init.d/network restart

hth, gottfried



--
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] network restart drops eth0 connection :(

2005-09-16 Thread Erik de Castro Lopo
O Plameras wrote:

 'ifcfg-eth0'   and so you must ensure the contents are in order.
 
 For example,
 
 DEVICE=eth0
 BOOTPROTO=static
 BROADCAST=192.168.1.255
 IPADDR=192.168.1.254
 NETMASK=255.255.255.0
 NETWORK=192.168.1.0
 ONBOOT=yes
 TYPE=Ethernet

I think that is the redhat format.

In Debian (and I presume Ubuntu) you need to look at the file
/etc/network/interfaces which should have something like this:

auto eth0
iface eth0 inet static
address 192.168.X.Y
netmask 255.255.0.0
network 192.168.0.0
broadcast 192.168.255.255
gateway 192.168.X.Z

for a static ip address and this for a dhcp:

auto eth0
iface etho inet dhcp

The auto keyword means that the interface will be automatically
configured when the networking subsystem is started.

Erik
-- 
+---+
  Erik de Castro Lopo
+---+
The one thing that reading these five books has hammered home is 
how much C++ has turned into 3 languages stuck in a bag fighting 
to get out. Low C++, High C++, and Generic C++.
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Network Support Required - Smithfield

2005-08-31 Thread ctm
I'm looking for a business interested in supporting a mixed Linux / Windoze
network located in Smithfield (Sydney) with a branch at Windsor, with about 25
users. This could be either a ad-hoc or support fee arrangement. Please e-mail
me off-list. Thanks.
-- 
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] Network Attached Storage (NAS)

2005-08-09 Thread DaZZa
On Fri, 5 Aug 2005, Dean Hamstead wrote:

 ohh

 just to be more brand neutral

 www.emc.com

 they are linux based. a good friend of mine works there. i believe
 some companies rebadge them *shrug*

Not all - or even a majority - of EMC's kit is Linux based.

Particularly their SAN devices - they all run imbedded WindoZe XP {or NT
4.0 on older versions}.

Makes the older ones particularly unreliable in certain situations. :)

DaZZa

-- 
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] Network Attached Storage (NAS)

2005-08-09 Thread Dean Hamstead

i could be wrong

but they are out there. so no one can say im a dell freak.
although i am, and in general linux people should be happy
that dell was one of the first to make an effort in the
linux direction!

Dean

DaZZa wrote:

On Fri, 5 Aug 2005, Dean Hamstead wrote:



ohh

just to be more brand neutral

www.emc.com

they are linux based. a good friend of mine works there. i believe
some companies rebadge them *shrug*



Not all - or even a majority - of EMC's kit is Linux based.

Particularly their SAN devices - they all run imbedded WindoZe XP {or NT
4.0 on older versions}.

Makes the older ones particularly unreliable in certain situations. :)

DaZZa




--
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] Network Attached Storage (NAS)

2005-08-05 Thread Michael Fox
On 8/5/05, Dean Hamstead [EMAIL PROTECTED] wrote:
 ohh
 
 just to be more brand neutral
 
 www.emc.com
 
 they are linux based. a good friend of mine works there. i believe
 some companies rebadge them *shrug*

*cough*

I work for them currently :)

*winks*

And unfortunately we still dont get employee discounts on the Dell NAS
gear -yet-. Although it has been suggested, so who knows in due time
we might. Although I dont think the wife would let me buy one...
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


[SLUG] Network Attached Storage (NAS)

2005-08-04 Thread Rajnish

All,

I would like to get your esteemed opinion on a number of queries 
concerning NAS. But first a background - our LAN accomodates a number

of diff OSes, including Solaris, Linux, Win2K and WinXP.

We would like to attach NAS device(s) on the LAN, and be able to access
storage space from all the above OSes. In particular, it is important
that NAS devices support NFS - to enable Un*x boxes to mount the space.

The space is to be used both as permanent storage as well as overflow
workspaces for our developers.

Questions:
1) Is NAS a suitable solution for such an environment ? If a case is to
be made for/against it, what are the ups and downs ?

2) More importantly, what are your experiences with dealing with these
devices ? Do they support NFS ?

3) Your experiences with speed and reliability ? We have particularly 
large files (200MB-2GB) to deal with and compiles includes a large

number of files.

Any tips, suggestions, references will be appreciated.

Thanking you all in anticipation. Please reply to NG for future
reference.

--
Regards,
Rajnish
--
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] Network Attached Storage (NAS)

2005-08-04 Thread Dean Hamstead

ive had a lot of experience with dell NAS servers

they run various version of windows 2000 and 2003
appliance edition

they build on windows built in file sharing, netware,
appletalk and services for unix. it will support
print sharing also.

on top of that they add a range of happy dell tools
which i have actually found very intuative and often
time saving. certainly they are better than any
web based unix admin tools!!!

NAS is a very interesting term. i think its a little
bit of a retarded marking ploy. but anyway. i would
have to say that they are a fairly good solution.

Dean

Rajnish wrote:

All,

I would like to get your esteemed opinion on a number of queries 
concerning NAS. But first a background - our LAN accomodates a number

of diff OSes, including Solaris, Linux, Win2K and WinXP.

We would like to attach NAS device(s) on the LAN, and be able to access
storage space from all the above OSes. In particular, it is important
that NAS devices support NFS - to enable Un*x boxes to mount the space.

The space is to be used both as permanent storage as well as overflow
workspaces for our developers.

Questions:
1) Is NAS a suitable solution for such an environment ? If a case is to
be made for/against it, what are the ups and downs ?

2) More importantly, what are your experiences with dealing with these
devices ? Do they support NFS ?

3) Your experiences with speed and reliability ? We have particularly 
large files (200MB-2GB) to deal with and compiles includes a large

number of files.

Any tips, suggestions, references will be appreciated.

Thanking you all in anticipation. Please reply to NG for future
reference.



--
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] Network Attached Storage (NAS)

2005-08-04 Thread Rowling, Jill
We installed a NAS a couple of years ago, and for the most part it has been
relatively trouble-free.
Some problems which came up:

- Nonstandard Windows 2000 system surprised some of the Windows systems
administrators as some tools were not present which they were used to.
- Overly-trusting NFS system. If I was root on Unix box A, then I
automatically became admin on the NAS. This was not particularly secure so
we disabled it and went back to CIFS only. You might enquire about this
because later versions of NAS may be a bit more secure now. I think the NASs
that use Services for Unix may be OK as you just specify whether root on one
is admin on the other (or not).
- Check how expandable the disk array is, and subscribe to the
manufacturer's end-of-life list. We got caught out with an expandable system
but it would only work with the same brand arrays, and they were EOLd about
a year after we bought it.
- Users always fill up file systems unless they are micro-managed. We
partitioned our NAS with the main array being one phy partition, multiple
logical ones (Win shares). The net result was some users tended to hog the
array and others complained about no space. The better option is to
virtualise the space: ask your provider if they can do this. It might cost a
bit extra though.
- In a large org, users come and go. This means files and sometimes great
gobs of stuff get orphaned, and Groups get unmanaged. You really need to
have eye on this, maybe get some procedures written down that everyone
follows.

As for large files, they should be OK. They will just take a while to open.
For large directories, I have seen one with over 16000 entries in it. It
takes about 40 seconds to view the directory.

Do take out a service contract on a NAS because a lot more people are
relying on it being available compared with desktop computers, and if it
breaks you need it up quickly.
Make sure you can restore user's file when they accidentally delete them, so
you will need some backup/restore system.

Cheers,

Jill.


-Original Message-
From: Rajnish [mailto:[EMAIL PROTECTED] 
Sent: Friday, 5 August 2005 12:28 PM
To: slug@slug.org.au
Subject: [SLUG] Network Attached Storage (NAS)


All,

I would like to get your esteemed opinion on a number of queries 
concerning NAS. But first a background - our LAN accomodates a number of
diff OSes, including Solaris, Linux, Win2K and WinXP.

We would like to attach NAS device(s) on the LAN, and be able to access
storage space from all the above OSes. In particular, it is important that
NAS devices support NFS - to enable Un*x boxes to mount the space.

The space is to be used both as permanent storage as well as overflow
workspaces for our developers.

Questions:
1) Is NAS a suitable solution for such an environment ? If a case is to be
made for/against it, what are the ups and downs ?

2) More importantly, what are your experiences with dealing with these
devices ? Do they support NFS ?

3) Your experiences with speed and reliability ? We have particularly 
large files (200MB-2GB) to deal with and compiles includes a large number of
files.

Any tips, suggestions, references will be appreciated.

Thanking you all in anticipation. Please reply to NG for future reference.

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

--
IMPORTANT NOTICES
This email (including any documents referred to in, or attached, to this
email) may contain information that is personal, confidential or the subject
of copyright or other proprietary rights in favour of Aristocrat, its
affiliates or third parties. This email is intended only for the named
addressee. Any privacy, confidence, copyright or other proprietary rights in
favour of Aristocrat, its affiliates or third parties, is not lost because
this email was sent to you by mistake.

If you received this email by mistake you should: (i) not copy, disclose,
distribute or otherwise use it, or its contents, without the consent of
Aristocrat or the owner of the relevant rights; (ii) let us know of the
mistake by reply email or by telephone (+61 2 9413 6300); and (iii) delete
it from your system and destroy all copies.

Any personal information contained in this email must be handled in
accordance with applicable privacy laws.

Electronic and internet communications can be interfered with or affected by
viruses and other defects. As a result, such communications may not be
successfully received or, if received, may cause interference with the
integrity of receiving, processing or related systems (including hardware,
software and data or information on, or using, that hardware or software).
Aristocrat gives no assurances in relation to these matters.

If you have any doubts about the veracity or integrity of any electronic
communication we appear to have sent you, please call +61

Re: [SLUG] Network Attached Storage (NAS)

2005-08-04 Thread Broun, Bevan
You might like to look at the features of a NetApp filer. Particulary the
snapshots and dual partity raid features.

I recently evaluated some NAS systems. An essential requirement was for
users to be able to restore their own files from snapshots. I would not do
file serving to the average user group without it. (of course tape backup
is still essential.)

BB

on Fri, Aug 05, 2005 at 12:27:41PM +1000, Rajnish [EMAIL PROTECTED] wrote:
 All,
 
 I would like to get your esteemed opinion on a number of queries 
 concerning NAS. But first a background - our LAN accomodates a number
 of diff OSes, including Solaris, Linux, Win2K and WinXP.
 
 We would like to attach NAS device(s) on the LAN, and be able to access
 storage space from all the above OSes. In particular, it is important
 that NAS devices support NFS - to enable Un*x boxes to mount the space.
 
 The space is to be used both as permanent storage as well as overflow
 workspaces for our developers.
 
 Questions:
 1) Is NAS a suitable solution for such an environment ? If a case is to
 be made for/against it, what are the ups and downs ?
 
 2) More importantly, what are your experiences with dealing with these
 devices ? Do they support NFS ?
 
 3) Your experiences with speed and reliability ? We have particularly 
 large files (200MB-2GB) to deal with and compiles includes a large
 number of files.
 
 Any tips, suggestions, references will be appreciated.
 
 Thanking you all in anticipation. Please reply to NG for future
 reference.
 
 -- 
 Regards,
 Rajnish
 -- 
 SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
 Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

-- 
Bevan Broun
Systems Engineer
THALES
Services Division
W: (02) 9562 2861
M: 0407 225 492
F: (02) 9562 2857
-- 
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] Network Attached Storage (NAS)

2005-08-04 Thread Dean Hamstead

Jill has covered a lot of good points for NAS servers and file servers
in general. But ill add a few points.

Rowling, Jill wrote:

We installed a NAS a couple of years ago, and for the most part it has been
relatively trouble-free.
Some problems which came up:

- Nonstandard Windows 2000 system surprised some of the Windows systems
administrators as some tools were not present which they were used to.


they will strip 2000 and do funny things. now they are using 2003 
appliance edition. i found that if i terminal serviced in (on

headless) or logged in (on headed) i was just able to use the same
normal methods of adding things - such as intel nic teaming...
which i later found buried in the dell menus anyway.

but ive been able to get WUS going and others with regedit etc.

a mid range windows admin will find them disorienting if they are
really customised. any high end admin should have no problems at
all (i guess that toots my own horn. but im also the sort that really
doesnt seem much difference between linux distributions)


- Overly-trusting NFS system. If I was root on Unix box A, then I
automatically became admin on the NAS. This was not particularly secure so
we disabled it and went back to CIFS only. You might enquire about this
because later versions of NAS may be a bit more secure now. I think the NASs
that use Services for Unix may be OK as you just specify whether root on one
is admin on the other (or not).


thats something worth looking into.


- Check how expandable the disk array is, and subscribe to the
manufacturer's end-of-life list. We got caught out with an expandable system
but it would only work with the same brand arrays, and they were EOLd about
a year after we bought it.


yes raid is like that. its a pain. be aware of the life cycle of
the manufacturers products. having said that, the dell (badged adaptec
and badged mylex?) was happy to rebuild mirrors onto larger replacements
but you only got the first 18 gigs of space (in that case), you could
partition and use the rest of the space though.


- Users always fill up file systems unless they are micro-managed. We
partitioned our NAS with the main array being one phy partition, multiple
logical ones (Win shares). The net result was some users tended to hog the
array and others complained about no space. The better option is to
virtualise the space: ask your provider if they can do this. It might cost a
bit extra though.


windows quotas are quite nice. youll need to plan your partitioning 
around them as its on a per partition basis and it gets messy if you

have group shares. but for simple home dirs it works great and
comes with the OS (2000+)


- In a large org, users come and go. This means files and sometimes great
gobs of stuff get orphaned, and Groups get unmanaged. You really need to
have eye on this, maybe get some procedures written down that everyone
follows.

As for large files, they should be OK. They will just take a while to open.
For large directories, I have seen one with over 16000 entries in it. It
takes about 40 seconds to view the directory.


good points for fs in general


Do take out a service contract on a NAS because a lot more people are
relying on it being available compared with desktop computers, and if it
breaks you need it up quickly.
Make sure you can restore user's file when they accidentally delete them, so
you will need some backup/restore system.


i would run regular backups and yes, have a support contract. it will 
save you a lot of time and hassle. better their time than yours!


you might consider something like 'yesterday' read only folders and
then weekly backups.

Dean







Cheers,

Jill.


-Original Message-
From: Rajnish [mailto:[EMAIL PROTECTED] 
Sent: Friday, 5 August 2005 12:28 PM

To: slug@slug.org.au
Subject: [SLUG] Network Attached Storage (NAS)


All,

I would like to get your esteemed opinion on a number of queries 
concerning NAS. But first a background - our LAN accomodates a number of

diff OSes, including Solaris, Linux, Win2K and WinXP.

We would like to attach NAS device(s) on the LAN, and be able to access
storage space from all the above OSes. In particular, it is important that
NAS devices support NFS - to enable Un*x boxes to mount the space.

The space is to be used both as permanent storage as well as overflow
workspaces for our developers.

Questions:
1) Is NAS a suitable solution for such an environment ? If a case is to be
made for/against it, what are the ups and downs ?

2) More importantly, what are your experiences with dealing with these
devices ? Do they support NFS ?

3) Your experiences with speed and reliability ? We have particularly 
large files (200MB-2GB) to deal with and compiles includes a large number of

files.

Any tips, suggestions, references will be appreciated.

Thanking you all in anticipation. Please reply to NG for future reference.



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info

Re: [SLUG] Network Attached Storage (NAS)

2005-08-04 Thread Dean Hamstead

ohh

just to be more brand neutral

www.emc.com

they are linux based. a good friend of mine works there. i believe
some companies rebadge them *shrug*


Dean

Dean Hamstead wrote:

ive had a lot of experience with dell NAS servers

they run various version of windows 2000 and 2003
appliance edition

they build on windows built in file sharing, netware,
appletalk and services for unix. it will support
print sharing also.

on top of that they add a range of happy dell tools
which i have actually found very intuative and often
time saving. certainly they are better than any
web based unix admin tools!!!

NAS is a very interesting term. i think its a little
bit of a retarded marking ploy. but anyway. i would
have to say that they are a fairly good solution.

Dean

Rajnish wrote:


All,

I would like to get your esteemed opinion on a number of queries 
concerning NAS. But first a background - our LAN accomodates a number

of diff OSes, including Solaris, Linux, Win2K and WinXP.

We would like to attach NAS device(s) on the LAN, and be able to access
storage space from all the above OSes. In particular, it is important
that NAS devices support NFS - to enable Un*x boxes to mount the space.

The space is to be used both as permanent storage as well as overflow
workspaces for our developers.

Questions:
1) Is NAS a suitable solution for such an environment ? If a case is to
be made for/against it, what are the ups and downs ?

2) More importantly, what are your experiences with dealing with these
devices ? Do they support NFS ?

3) Your experiences with speed and reliability ? We have particularly 
large files (200MB-2GB) to deal with and compiles includes a large

number of files.

Any tips, suggestions, references will be appreciated.

Thanking you all in anticipation. Please reply to NG for future
reference.





--
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] Network Attached Storage (NAS)

2005-08-04 Thread Juergen Busam
I've worked a lot with NetApp filers (mostly clusters) and they are
really reliable, nice to administer and have a lot of features, like the
mentioned snapshots, syncronisation, mirrors, double parity... they a
not the cheapest ones, but they are worth it... if you know how many TB
you need be sure the NetApp guy assures you that this amount will be
available to use ;-))... they don't use the whole disk and there will be
a reserve for the snapshot as well, which is configurable...

check out their website... of course they support NFS and CIFS... if you
license it...

Juergen

Broun, Bevan wrote:
 You might like to look at the features of a NetApp filer. Particulary the
 snapshots and dual partity raid features.
 
 I recently evaluated some NAS systems. An essential requirement was for
 users to be able to restore their own files from snapshots. I would not do
 file serving to the average user group without it. (of course tape backup
 is still essential.)
 
 BB
 
 on Fri, Aug 05, 2005 at 12:27:41PM +1000, Rajnish [EMAIL PROTECTED] wrote:
 
All,

I would like to get your esteemed opinion on a number of queries 
concerning NAS. But first a background - our LAN accomodates a number
of diff OSes, including Solaris, Linux, Win2K and WinXP.

We would like to attach NAS device(s) on the LAN, and be able to access
storage space from all the above OSes. In particular, it is important
that NAS devices support NFS - to enable Un*x boxes to mount the space.

The space is to be used both as permanent storage as well as overflow
workspaces for our developers.

Questions:
1) Is NAS a suitable solution for such an environment ? If a case is to
be made for/against it, what are the ups and downs ?

2) More importantly, what are your experiences with dealing with these
devices ? Do they support NFS ?

3) Your experiences with speed and reliability ? We have particularly 
large files (200MB-2GB) to deal with and compiles includes a large
number of files.

Any tips, suggestions, references will be appreciated.

Thanking you all in anticipation. Please reply to NG for future
reference.

-- 
Regards,
Rajnish
-- 
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


Re: [SLUG] Network-reachable rescue CDs?

2005-03-06 Thread Jeff Waugh
quote who=Grant Parnell

 Doh! I meant to get one off you the other day @ UTS. It'd be a useful
 addition to be able to do an install to any given ATA device with the
 compressed version and have it made bootable.

We'll be doing that for our next release.

- Jeff

PS. This mail was originally rejected due to the inappropriate fortune
below, which happened to tweak spamassassin (it's redacted on this mail).
Let's just muse on the irony for a moment, people. HELLO?

-- 
GUADEC 2005: May 29th-31st   http://2005.guadec.org/
 
If I had an inch for every * size spam I'd recieved... - Luis
   Villa
-- 
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] Network-reachable rescue CDs

2005-03-05 Thread jam
Hi

 quote who=Ben Buxton
 
  I've got myself a remote server located faaar away from me (other side
  of the world), and need to build a rescue CD for it in case things go
  wrong.
  
  Unfortunately most bootable linux CDs dont enable things like ssh
  servers, and generally cant be built with static IP addresses into the
  CD image.
  
  Does anyone know of a bootable distro with these features:
  
  - *easily* buildable iso with pre-configured ip address
  - ssh service enabled automatically on bootup
  - suitable for headless machines (ie no options to type on bootup)-
  - Doesnt require a floppy to read the (network) config
  
  I've been looking around quite a lot and so far nothing I've found will
  let me stick the CD into the machine, have it boot and be instantly
  network reachable. (And dhcp is not an option here). Anyone know of
  something I've missed, or an easy way to adapt something like knoppix?
 
 The new Ubuntu LiveCD is designed for easy adaptability. You can mount the
 cloop filesystem, install packages, change settings, and run with it. I'm
 not immediately sure about static network configuration though, but I can
 find out.

Mondo Rescue is easy and WORKS.
You can put back the exact system you backed-up in 30min.
I did just that for a system in Phillipines from Perth

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


[SLUG] Network-reachable rescue CDs?

2005-03-04 Thread Ben Buxton

I've got myself a remote server located faaar away from me (other side
of the world), and need to build a rescue CD for it in case things go
wrong.

Unfortunately most bootable linux CDs dont enable things like ssh
servers, and generally cant be built with static IP addresses into the
CD image.

Does anyone know of a bootable distro with these features:

- *easily* buildable iso with pre-configured ip address
- ssh service enabled automatically on bootup
- suitable for headless machines (ie no options to type on bootup)-
- Doesnt require a floppy to read the (network) config

I've been looking around quite a lot and so far nothing I've found will
let me stick the CD into the machine, have it boot and be instantly
network reachable. (And dhcp is not an option here). Anyone know of
something I've missed, or an easy way to adapt something like knoppix?

Cheers,
BB


-- 
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] Network-reachable rescue CDs?

2005-03-04 Thread Jeff Waugh
quote who=Ben Buxton

 I've got myself a remote server located faaar away from me (other side
 of the world), and need to build a rescue CD for it in case things go
 wrong.
 
 Unfortunately most bootable linux CDs dont enable things like ssh
 servers, and generally cant be built with static IP addresses into the
 CD image.
 
 Does anyone know of a bootable distro with these features:
 
 - *easily* buildable iso with pre-configured ip address
 - ssh service enabled automatically on bootup
 - suitable for headless machines (ie no options to type on bootup)-
 - Doesnt require a floppy to read the (network) config
 
 I've been looking around quite a lot and so far nothing I've found will
 let me stick the CD into the machine, have it boot and be instantly
 network reachable. (And dhcp is not an option here). Anyone know of
 something I've missed, or an easy way to adapt something like knoppix?

The new Ubuntu LiveCD is designed for easy adaptability. You can mount the
cloop filesystem, install packages, change settings, and run with it. I'm
not immediately sure about static network configuration though, but I can
find out.

- Jeff

-- 
GUADEC 2005: May 29th-31st   http://2005.guadec.org/
 
  Love never misses the chance to put the boot in. - Kelly, SLOU
-- 
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] Network-reachable rescue CDs?

2005-03-04 Thread Grant Parnell
On Sat, 5 Mar 2005, Jeff Waugh wrote:

 quote who=Ben Buxton
 
  I've got myself a remote server located faaar away from me (other side
  of the world), and need to build a rescue CD for it in case things go
  wrong.
  
  Unfortunately most bootable linux CDs dont enable things like ssh
  servers, and generally cant be built with static IP addresses into the
  CD image.
  
  Does anyone know of a bootable distro with these features:
  
  - *easily* buildable iso with pre-configured ip address
  - ssh service enabled automatically on bootup
  - suitable for headless machines (ie no options to type on bootup)-
  - Doesnt require a floppy to read the (network) config
  
  I've been looking around quite a lot and so far nothing I've found will
  let me stick the CD into the machine, have it boot and be instantly
  network reachable. (And dhcp is not an option here). Anyone know of
  something I've missed, or an easy way to adapt something like knoppix?
 
 The new Ubuntu LiveCD is designed for easy adaptability. You can mount the
 cloop filesystem, install packages, change settings, and run with it. I'm
 not immediately sure about static network configuration though, but I can
 find out.

Doh! I meant to get one off you the other day @ UTS. It'd be a useful 
addition to be able to do an install to any given ATA device with the 
compressed version and have it made bootable.

Anyway, I've managed to get Knoppix to do pretty much what you want Ben. 
I managed to cut an awful lot of stuff out, install  run by default sshd 
and vtund and mgetty (with AutoPPP). I think I saw in the startup 
somewhere it'll call /cdrom/knoppix.sh if present (IE in the root of the 
CD image) - boot it up and check in /etc/inittab and /etc/init.d/

-- 
---GRiP---
** ROOM FOR RENT $120pw (neg) near Newington Shops 525/401 buses **
Electronic Hobbyist, Former Arcadia BBS nut, Occasional nudist, 
Linux Guru, SLUG Secretary, AUUG and Linux Australia member, Sydney 
Flashmobber, Tenpin Bowler, BMX rider, Walker, Raver  rave music 
lover, Big kid that refuses to grow up. I'd make a good family pet, 
take me home today!
Some people actually read these things it seems.


-- 
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] Network Testing

2004-08-18 Thread DaZZa
On Tue, 17 Aug 2004, Terry Collins wrote:

 Curiosity question.

 everyone seems to be only using pings to test network connectivity.
 what do people do when they need to test a service?
 telnet IP PORT?

 Thinking of cheops functionality.

jffnms - http://www.jffnms.org

Easier to configure than nagios, and far more user friendly once you
figure it out.

DaZZa


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


[SLUG] Network Testing

2004-08-17 Thread Terry Collins
Curiosity question.

everyone seems to be only using pings to test network connectivity.
what do people do when they need to test a service?
telnet IP PORT?

Thinking of cheops functionality.
-- 
   Terry Collins {:-)}}} email: terryc at woa.com.au  www:
http://www.woa.com.au  
   Wombat Outdoor Adventures Bicycles, Computers, GIS, Printing,
Publishing

 People without trees are like fish without clean water
-- 
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] Network Testing

2004-08-17 Thread Anth
On Tue, 17 Aug 2004, Terry Collins wrote:

 Curiosity question.
 
 everyone seems to be only using pings to test network connectivity.
 what do people do when they need to test a service?
 telnet IP PORT?

nagios. http://www.nagios.org

cheers,
Anth


-- 
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] Network Testing

2004-08-17 Thread Ken Foskey
On Tue, 2004-08-17 at 22:05, Terry Collins wrote:
 Curiosity question.
 
 everyone seems to be only using pings to test network connectivity.
 what do people do when they need to test a service?

ping and traceroute only work when commercial setups allow them to
work.  These are not reliable.

 telnet IP PORT?

Absolutely.  Unfortunately we have smart firewalls at work now and you
have to follow the protocol correctly or the firewall will reject you
connection, how do you know?

It continues to surprise me how many people cannot work this out.  I
pinged the computer and it was down is no longer a correct problem
determination, the ping is probably deliberately blocked.

-- 
Thanks
KenF
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


Re: [SLUG] Network Testing

2004-08-17 Thread Matthew Palmer
On Tue, Aug 17, 2004 at 10:05:59PM +1000, Terry Collins wrote:
 Curiosity question.
 
 everyone seems to be only using pings to test network connectivity.
 what do people do when they need to test a service?
 telnet IP PORT?

I use netcat for random little bits and pieces.

- Matt


signature.asc
Description: Digital signature
-- 
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] Network Testing

2004-08-17 Thread Jamie Wilkinson
This one time, at band camp, Terry Collins wrote:
Curiosity question.

everyone seems to be only using pings to test network connectivity.
what do people do when they need to test a service?
telnet IP PORT?

or netcat, 

or if you're monitoring hosts and services regularly, nagios.

-- 
[EMAIL PROTECTED]   http://spacepants.org/jaq.gpg
-- 
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] Network Testing

2004-08-17 Thread Peter Hardy
On 08/17/04 22:43, Jamie Wilkinson wrote:
This one time, at band camp, Terry Collins wrote:
Curiosity question.
everyone seems to be only using pings to test network connectivity.
what do people do when they need to test a service?
telnet IP PORT?

or netcat, 

or if you're monitoring hosts and services regularly, nagios.
Even if you're not, the nagios plugins that do the actual checking are 
regular programs that you can execute from the commandline. They're very 
useful for doing application-layer checks. For eg, the check_http plugin 
will connect to port 80 and do a basic request (I don't remember if it's 
a GET / or a HEAD, or something else entirely though).

--
Pete
--
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] Network Testing

2004-08-17 Thread Visser, Martin
I know it might seem to be a sledgehammer to crack a nut, but Nagios is
a good service oriented monitoring tool that is OSS. 

BTW Most load-balancing devices that need to do service monitoring
simply open the service port and try to get a basic response that proves
that the service is up and operating. For instance for a web service
with a DB backend you might first do a simple HTTP GET of a static page
(and compare with a known result) and then do a simple DB query via the
web service to make sure the DB is running. Clearly some sort of
algorithm needs to be determined of when to declare a service down
(and when to declare it available again).

(Of course if you want a slightly bigger sledgehammer there is HP
OpenView (though not OSS) )

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of Terry Collins
 Sent: Tuesday, 17 August 2004 10:06 PM
 To: Slug List
 Subject: [SLUG] Network Testing
 
 Curiosity question.
 
 everyone seems to be only using pings to test network connectivity.
 what do people do when they need to test a service?
 telnet IP PORT?
 
 Thinking of cheops functionality.
 -- 
Terry Collins {:-)}}} email: terryc at woa.com.au  www:
 http://www.woa.com.au  
Wombat Outdoor Adventures Bicycles, Computers, GIS, Printing,
 Publishing
 
  People without trees are like fish without clean water
 --
 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


RE: [SLUG] Network Testing

2004-08-17 Thread David


On Wed, 18 Aug 2004, Visser, Martin wrote:

 I know it might seem to be a sledgehammer to crack a nut, but Nagios is
 a good service oriented monitoring tool that is OSS.

I've taken a quick look at this, but *for my purposes* I can't see it's
an improvement on just pinging.

Problem:
I've changed providors, and suddenly I'm getting outages that THEY can't
explain. We all suspect routing issues upstream, but no one seems to be
able to put a finger on it.

My current solution:
Run a script once per minute which pings Powertel's border gateway
(border-gw015-ge02.powertel.net.au) and emails me if two consecutive pings
fail.

Result:
Averaging one failure/hour.. sometimes several consecutively.

Question: Is it reasonable to expect ping -c 1 to be a true indication
of the network status? I understand that ping waits one second before
giving an error. That sounds like a network problem to me. The normal
ping is about 7 ms. I ran this same script for 3 years with my previous
providor (optus) and it only complained on the rare occasions that there
was a genuine, serious problem.

BTW: Nagios looks terrific, but I have complete control of the various
services so they are less of a problem for me. It's the network status
that's giving me grief. As far as I can tell, to prove the network is up
Nagios basically does something similar to what I'm already doing.


David.



 BTW Most load-balancing devices that need to do service monitoring
 simply open the service port and try to get a basic response that proves
 that the service is up and operating. For instance for a web service
 with a DB backend you might first do a simple HTTP GET of a static page
 (and compare with a known result) and then do a simple DB query via the
 web service to make sure the DB is running. Clearly some sort of
 algorithm needs to be determined of when to declare a service down
 (and when to declare it available again).

 (Of course if you want a slightly bigger sledgehammer there is HP
 OpenView (though not OSS) )

 Martin Visser ,CISSP
 Network and Security Consultant
 Consulting  Integration
 Technology Solutions Group - HP Services

 3 Richardson Place
 North Ryde, Sydney NSW 2113, Australia

 Phone: +61-2-9022-1670
 Mobile: +61-411-254-513
 Fax: +61-2-9022-1800
 E-mail: martin.visserAThp.com



  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf Of Terry Collins
  Sent: Tuesday, 17 August 2004 10:06 PM
  To: Slug List
  Subject: [SLUG] Network Testing
 
  Curiosity question.
 
  everyone seems to be only using pings to test network connectivity.
  what do people do when they need to test a service?
  telnet IP PORT?
 
  Thinking of cheops functionality.
  --
 Terry Collins {:-)}}} email: terryc at woa.com.au  www:
  http://www.woa.com.au
 Wombat Outdoor Adventures Bicycles, Computers, GIS, Printing,
  Publishing
 
   People without trees are like fish without clean water
  --
  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 - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html


Re: [SLUG] Network Testing

2004-08-17 Thread Dave Kempe
David wrote:
Result:
Averaging one failure/hour.. sometimes several consecutively.
Question: Is it reasonable to expect ping -c 1 to be a true indication
of the network status? I understand that ping waits one second before
giving an error. That sounds like a network problem to me. The normal
ping is about 7 ms. I ran this same script for 3 years with my previous
providor (optus) and it only complained on the rare occasions that there
was a genuine, serious problem.
 

I have seen the same result on request DSL. The customer didn't seem to 
mind so I didn't pursue it.
Other request DSL customers haven't had the same result.
You wouldn't happen to be in the south of sydney would you (around 
hurstville?)

dave
--
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] Network Testing

2004-08-17 Thread James Gray
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 18 Aug 2004 11:27 am, Dave Kempe wrote:
 David wrote:
 Result:
 Averaging one failure/hour.. sometimes several consecutively.
 

**SNIP**

 I have seen the same result on request DSL. The customer didn't seem to
 mind so I didn't pursue it.
 Other request DSL customers haven't had the same result.
 You wouldn't happen to be in the south of sydney would you (around
 hurstville?)

 dave

FWIW we've been using RequestDSL in our Sydney CBD office for about 2.5 
years now and never had a major outage (2 outages totalling 35min of down 
time in 2.5 years).  Our serice is provided of SHDSL if that helps (2x2Mbps 
load balanced).  IIRC RequestDSL actually DEPRIORITISE ICMP Ping and ICMP 
Time Exceed (ping/traceroute).  Consequently we often have ping monitors 
show an error whereas the TCP service monitor to the same server is fine 
and dandy.  Maybe follow up with the ISP and see if they are doing any 
traffic shaping on ICMP?  Heheh - maybe they're using WinXP-SP2 for 
routers :P

James
- -- 
Politicians are the same all over.  They promise to build a bridge even
where there is no river.
-- Nikita Khrushchev
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBIradwBHpdJO7b9ERAgxqAKCv/Au8IQEPmoasqBNFsI1fMj9IBwCgiIA3
AM9vgb0qfHnRLwHeSIFdEsc=
=mV93
-END PGP SIGNATURE-
--
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] Network Testing

2004-08-17 Thread Visser, Martin
One thing about pinging a providers gateway is that for the router to
respond to the ping requires it's management functions to actually
process this request. Usually such functions are quite low in the
priority list (the routers primary function is to forward packets to the
destination by the optimal path, and not respond to ICMP requests). 

Also a single ping is a single IP packet. IP is by nature unreliable in
that instantaneous congestion, link failovers, etc will cause individual
IP packets to be lost. This is why you need protocols such as TCP to
provide reliable transport on top of IP. Thus loss of a single packet
does not significantly affect performance for most apps. (Loss of many
packets of course will). For instance when I have investigated networks
for issues supporting Voice over IP I have sent regular small bursts
(say 10 pings over 1 seconds at 15 second intervals) to understand if
there are is major issue with the network having burst losses. While an
individual packet loss is not likely to affect an app at all, a burst
loss often will. (VoIP is of course very sensitive to packet loss as
there is no recovery mechanism other than playing silence).

My suggestion if you are concerned that your ISP is not maintaining a
good level of service, rather than ping their gateways I would do HTTP
GETs to 3 or 4 major web sites. Pick say one hosted by your ISP, one or
two local to Oz and one or two that are international, and are going to
pretty well always be available. If you measure the response time to get
a small static file (say a GIF) you can then get a feeling of the
performance level through your ISP and their connection to the internet.
You of course need to figure how to interpret response times across the
different servers. This way you are not (falsely) interpreting a one or
two ICMP losses from a router as failure. 

Anyway just a few thoughts for discussion.

Martin Visser ,CISSP
Network and Security Consultant 
Consulting  Integration
Technology Solutions Group - HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
 
 

 -Original Message-
 From: David [mailto:[EMAIL PROTECTED] 
 Sent: Wednesday, 18 August 2004 10:10 AM
 To: Visser, Martin
 Cc: Slug List
 Subject: RE: [SLUG] Network Testing
 
 
 
 On Wed, 18 Aug 2004, Visser, Martin wrote:
 
  I know it might seem to be a sledgehammer to crack a nut, 
 but Nagios 
  is a good service oriented monitoring tool that is OSS.
 
 I've taken a quick look at this, but *for my purposes* I 
 can't see it's an improvement on just pinging.
 
 Problem:
 I've changed providors, and suddenly I'm getting outages that 
 THEY can't explain. We all suspect routing issues upstream, 
 but no one seems to be able to put a finger on it.
 
 My current solution:
 Run a script once per minute which pings Powertel's border gateway
 (border-gw015-ge02.powertel.net.au) and emails me if two 
 consecutive pings fail.
 
 Result:
 Averaging one failure/hour.. sometimes several consecutively.
 
 Question: Is it reasonable to expect ping -c 1 to be a true 
 indication of the network status? I understand that ping 
 waits one second before giving an error. That sounds like a 
 network problem to me. The normal
 ping is about 7 ms. I ran this same script for 3 years with 
 my previous providor (optus) and it only complained on the 
 rare occasions that there was a genuine, serious problem.
 
 BTW: Nagios looks terrific, but I have complete control of 
 the various services so they are less of a problem for me. 
 It's the network status that's giving me grief. As far as I 
 can tell, to prove the network is up Nagios basically does 
 something similar to what I'm already doing.
 
 
 David.
 
 
 
  BTW Most load-balancing devices that need to do service monitoring 
  simply open the service port and try to get a basic response that 
  proves that the service is up and operating. For instance for a web 
  service with a DB backend you might first do a simple HTTP GET of a 
  static page (and compare with a known result) and then do a 
 simple DB 
  query via the web service to make sure the DB is running. 
 Clearly some 
  sort of algorithm needs to be determined of when to declare 
 a service down
  (and when to declare it available again).
 
  (Of course if you want a slightly bigger sledgehammer there is HP 
  OpenView (though not OSS) )
 
  Martin Visser ,CISSP
  Network and Security Consultant
  Consulting  Integration
  Technology Solutions Group - HP Services
 
  3 Richardson Place
  North Ryde, Sydney NSW 2113, Australia
 
  Phone: +61-2-9022-1670
  Mobile: +61-411-254-513
  Fax: +61-2-9022-1800
  E-mail: martin.visserAThp.com
 
 
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED] On Behalf Of Terry Collins
   Sent: Tuesday, 17 August 2004 10:06 PM
   To: Slug List
   Subject: [SLUG] Network

[SLUG] Network printing problem on RH 6.1

2004-07-14 Thread Matt Hyne

Folks, we have an old RH 6.1 server which we use as a database server.
For compatibility reasons, we need to stay with RH6.1.

However, I had to reload the machine the other night and now network
printing will not work.  I keep getting the following errors in
/var/log/messages when I try to print as any user except root (root
prints fine).

Jul 14 17:45:07 panda lpd[11257]: lpd: couldn't open spool file
dfA014panda as mhyne
Jul 14 17:45:07 panda lpd[11257]: PRINTER1: job could not be sent to
remote host (cfA014panda)

I cant see to work out what the issue is.  Everything appears ok and if
I print as root it works.  The spooler directory appears to be owned by
lp.lp.

Anyone have any suggestions ?

Matt

-- 
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] Network Mapping tool

2004-04-27 Thread Visser, Martin
I used scotty/tkined must be 8-10 years ago. Certainly quite powerful. I'd forgotten 
about it. Certainly it allowed customisation etc.

(Of course if you have the readies, HP have released OpenView Network Node Manager for 
Linux - binaries only :-) ) 

Martin Visser ,CISSP
Network and Security Consultant 
Technology  Infrastructure - Consulting  Integration
HP Services

3 Richardson Place 
North Ryde, Sydney NSW 2113, Australia 

Phone: +61-2-9022-1670    
Mobile: +61-411-254-513
Fax: +61-2-9022-1800 
E-mail: martin.visserAThp.com
  

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
 Sent: Thursday, 22 April 2004 4:50 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [SLUG] Network Mapping tool
 
 On Wed, Apr 21, 2004 at 04:58:50PM +1000, Jamie Wilkinson wrote:
  This one time, at band camp, Peter Rundle wrote:
  Sluggers,
  
  I'm looking for a tool like Cheops that will trace out my 
 network and 
  draw a pretty picture of the nodes, their OSes and the 
 services they 
  are running etc.
 
 You could try the venerable tkined.
 
   http://wwwhome.cs.utwente.nl/~schoenw/scotty/#TKINED
 
 
 Matt
 
 --
 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


Re: [SLUG] Network Mapping tool

2004-04-22 Thread James Gregory
On Wed, 2004-04-21 at 16:58 +1000, Jamie Wilkinson wrote:
 This one time, at band camp, Peter Rundle wrote:
 Sluggers,
 
 I'm looking for a tool like Cheops that will trace out my network and draw 
 a pretty picture of the nodes, their OSes and the services they are running 
 etc.
 
 I tried to download and compile Cheops but it's not being maintained and 
 the number of compile errors looks like a hard road.
 
 Any suggestions for alternatives?
 
 UNfortunately, not really.
 
 There's nmap, which is very very cool but no clicky clicky.

But fortunately there was at least one other person who considered this
a problem. There's another program (the mandrake package is called
nmap-frontend) that provides you with a clicky-clicky interface to nmap.
nmap_fe was the binary name IIRC.

You are unfortunately still left with the problem of turning your xml
file into a graph. I don't have an easy answer for that I'm afraid.

HTH,

James.
-- 
James Gregory [EMAIL PROTECTED]

-- 
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] Network Mapping tool

2004-04-22 Thread norman
Hi,

save the output from this script, Can take about an hour to run
but it might identify IP's. Ettercap can sniff around and is a nice
(ansi/screen/no-gui) utility. I hope this helps

cheers
Norm

LOGF=ettercap.log
idx=0
until [ $idx -gt 255 ] ;
do
/usr/local/sbin/ettercap -NlH 192.168.$idx.1-255 21  $LOGF
idx=$[ idx + 1 ]
done

/usr/bin/egrep [[:digit:]]+\).* $LOGF \
| /usr/bin/awk '{ print $2 }' \
| /usr/bin/sort -u



On Wed, 21 Apr 2004, Peter Rundle wrote:

 Sluggers,

 I'm looking for a tool like Cheops that will trace out my network and draw a pretty
 picture of the nodes, their OSes and the services they are running etc.

 I tried to download and compile Cheops but it's not being maintained and the number 
 of
 compile errors looks like a hard road.

 Any suggestions for alternatives?


-- 
E-Solutions for BSD and Linux   http://www.paladincorp.com.au/
-- 
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] Network Mapping tool

2004-04-22 Thread mlh
On Wed, Apr 21, 2004 at 04:58:50PM +1000, Jamie Wilkinson wrote:
 This one time, at band camp, Peter Rundle wrote:
 Sluggers,
 
 I'm looking for a tool like Cheops that will trace out my network and draw 
 a pretty picture of the nodes, their OSes and the services they are running 
 etc.

You could try the venerable tkined.

http://wwwhome.cs.utwente.nl/~schoenw/scotty/#TKINED


Matt

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


  1   2   3   >