Re: [WISPA] Linux command question

2007-12-16 Thread Scott Lambert
On Sat, Dec 15, 2007 at 09:45:50AM -0600, Mike Hammett wrote:
 Would the following command remove ../../Templates/ from all files in
 the /home/devicsil/public_html/Templates directory?



 for file in ls /home/devicsil/public_html/Templates
 ; do sed -e 's/..\/..\/Templates\///g' $file echo
  done

That will remove all instances of
somecharactersomecharacter/somecharactersomecharacter/Templates/ from
those files.  Your sed command as written will only output the changes
to stdout, which is great for debugging before you actually change the
files.  You also need to use backticks around the ls command so that it
will be run in a subshell and it's output used in the for loop rather
than looping on ls and /home/devicsil/public_html/Templates.

If your sed supports the inplace argument, as in FreeBSD's sed, you can
specify something like:

sed -i.bak -e 's|\.\./\.\./Templates/||g' $file

I think that will do what you intend to do by only changing
instances of ../../Templates/ instead of, possibly,
somedirectoryname/aa/Templates/, if such names are a possibility in
the source files.  Your original regex would have matched the later
string and removed me/aa/Templates/.

If your sed does not support the inplace argument, you will need to do 
something like:

for file in `ls /home/devicsil/public_html/Templates` ; do
   mv $file $file.bak;
   sed -e 's|\.\./\.\./Templates/||g' $file.bak  $file;
   echo :
done;

I haven't run that so it may have bugs.  Test first and, as always, have
a backup.

HTH,

-- 
Scott LambertKC5MLE   Unix SysAdmin
[EMAIL PROTECTED]




WISPA Wants You! Join today!
http://signup.wispa.org/

 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


Re: [WISPA] Linux command question

2007-12-16 Thread Scott Lambert
On Sun, Dec 16, 2007 at 03:02:30AM -0600, Scott Lambert wrote:
 If your sed does not support the inplace argument, you will need to do 
 something like:
 
 for file in `ls /home/devicsil/public_html/Templates` ; do
mv $file $file.bak;
sed -e 's|\.\./\.\./Templates/||g' $file.bak  $file;
echo :
 done;
 
 I haven't run that so it may have bugs.  Test first and, as always, have
 a backup.

I should mention, if only for the newbies who might be watching,
that the above makes several assumptions about what is in
/home/devicsil/public_html/Templates, including:

1) There are no files with spaces in their name.

2) There are no subdirectories.  If there are we just renamed them to
   have a .bak extension and broke lots of stuff.

3) You don't want to change any files whose names begin with ., i.e.
   .htaccess and friends.

If any of those assumptions are not true, you probably need to dump the
for loop and use something along the lines of:

find /home/devicsil/public_html/Templates/ -type f mumblemumble -print0 | \
  xargs -0 mumblemumble sed mumblemumble

where you might want to replace sed with a script that does the mv,
sed, echo stuff, if necessary.

Anyway, good luck!
-- 
Scott LambertKC5MLE   Unix SysAdmin
[EMAIL PROTECTED]




WISPA Wants You! Join today!
http://signup.wispa.org/

 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


Re: [WISPA] Fiber

2007-12-16 Thread Matt Liotta

Travis Johnson wrote:

Hi,

This is very true... we install a small UPS along with the switch to 
help with power issues... but with 70+ customers on the ring right now, 
we have not seen any issues. If a single customer goes down, the ring is 
still fully functional for everyone else. At that point, we contact that 
customer to find out the problem and get it resolved as quickly as 
possible. The only time we have had more than 1 customer down at a time 
is when a major power outage happens that lasts more than an hour.


Since you are using GBICs have you considered using CWDM along with 
passive ADMs instead? Passive ADMs don't require any power and could be 
used at each customer location to drop a single channel of light that 
you plug into the GBIC. This way if a single customer's equipment goes 
down the rest of the ring stays up. With CWDM you only have 8 channels 
of light giving you a max of 8 gigs shared across your ring, but that is 
probably fine considering you only have 2 gigs with your current setup.


-Matt



WISPA Wants You! Join today!
http://signup.wispa.org/


WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


RE: [WISPA] Fiber

2007-12-16 Thread Dennis Burgess
Sweet stuff.I do have Mikrotiks with Dual GigE Fiber Ports if someone is
interested.

Dennis Burgess
www.mikrotikrouter.com

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
Behalf Of Matt Liotta
Sent: Sunday, December 16, 2007 8:24 AM
To: WISPA General List
Subject: Re: [WISPA] Fiber

Travis Johnson wrote:
 Hi,
 
 This is very true... we install a small UPS along with the switch to 
 help with power issues... but with 70+ customers on the ring right now, 
 we have not seen any issues. If a single customer goes down, the ring is 
 still fully functional for everyone else. At that point, we contact that 
 customer to find out the problem and get it resolved as quickly as 
 possible. The only time we have had more than 1 customer down at a time 
 is when a major power outage happens that lasts more than an hour.
 
Since you are using GBICs have you considered using CWDM along with 
passive ADMs instead? Passive ADMs don't require any power and could be 
used at each customer location to drop a single channel of light that 
you plug into the GBIC. This way if a single customer's equipment goes 
down the rest of the ring stays up. With CWDM you only have 8 channels 
of light giving you a max of 8 gigs shared across your ring, but that is 
probably fine considering you only have 2 gigs with your current setup.

-Matt




WISPA Wants You! Join today!
http://signup.wispa.org/


 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/




WISPA Wants You! Join today!
http://signup.wispa.org/

 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


RE: [WISPA] Fiber

2007-12-16 Thread Mac Dearman
Dennis,

   Are you a vendor member of WISPA? If so, please accept my apologies for
asking, but if you are not a vendor member then you need to be for several
reasons: 

1. We need active vendor members since it actual vendor member funds that
allow us to accomplish our goals for all WISPs across the country - not
exclusively WISPA members, but it's the Reagan affect of trickle down
economy :)

2. Your open advertising on list would actually be something that you sat
down and thought about every quarter so that you could get the best bang for
your buck and it would go to all email addys on all WISPA list servers.
(Thousands?)

3. It wouldn't make you look like you are taking a cheap shot at selling
your wares on WISPA lists to WISPA members.

4. If you were a paid WISPA vendor member - we wouldn't get all these emails
off list from other members  vendor members who have actually paid their
dues to advertise their wares/services on these lists every time you try to
slip one in on us/them. Some of these vendor members are no larger than
your company, but they have paid their membership. Please respect the way we
have things set up and uphold the rules of all the lists since that is only
fair for all involved.

Every time you slip one in you are really doing everyone involved with
WISPA wrong. The members because you haven't paid your Vendor dues and our
vendors who have paid their dues to have the privilege to do what you seem
to be doing for free. What if we didn't have any vendor members and everyone
would just slip an advertisement in? Where would WISPA be then?

I know you have some fine gear and I can't help but believe that you would
definitely benefit from a vendor membership. A picture is worth a thousand
words and I have seen what you are selling and I know it works :) - - WRITE
A CHECK!!

I did peruse my vendor member paperwork (and the web site) to confirm that
you haven't paid vendor fee's, but paperwork sometimes is not the fastest
way - so if you are a vendor member please accept my apologies.

Mac



 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Dennis Burgess
 Sent: Sunday, December 16, 2007 10:23 AM
 To: 'WISPA General List'
 Subject: RE: [WISPA] Fiber
 
 Sweet stuff.I do have Mikrotiks with Dual GigE Fiber Ports if
 someone is
 interested.
 
 Dennis Burgess
 www.mikrotikrouter.com
 
 -Original Message-
 From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
 Behalf Of Matt Liotta
 Sent: Sunday, December 16, 2007 8:24 AM
 To: WISPA General List
 Subject: Re: [WISPA] Fiber
 
 Travis Johnson wrote:
  Hi,
 
  This is very true... we install a small UPS along with the switch to
  help with power issues... but with 70+ customers on the ring right
 now,
  we have not seen any issues. If a single customer goes down, the ring
 is
  still fully functional for everyone else. At that point, we contact
 that
  customer to find out the problem and get it resolved as quickly as
  possible. The only time we have had more than 1 customer down at a
 time
  is when a major power outage happens that lasts more than an hour.
 
 Since you are using GBICs have you considered using CWDM along with
 passive ADMs instead? Passive ADMs don't require any power and could be
 used at each customer location to drop a single channel of light that
 you plug into the GBIC. This way if a single customer's equipment goes
 down the rest of the ring stays up. With CWDM you only have 8 channels
 of light giving you a max of 8 gigs shared across your ring, but that
 is
 probably fine considering you only have 2 gigs with your current setup.
 
 -Matt
 
 
 ---
 -
 
 WISPA Wants You! Join today!
 http://signup.wispa.org/
 ---
 -
 
 
 WISPA Wireless List: wireless@wispa.org
 
 Subscribe/Unsubscribe:
 http://lists.wispa.org/mailman/listinfo/wireless
 
 Archives: http://lists.wispa.org/pipermail/wireless/
 
 
 
 ---
 -
 WISPA Wants You! Join today!
 http://signup.wispa.org/
 ---
 -
 
 WISPA Wireless List: wireless@wispa.org
 
 Subscribe/Unsubscribe:
 http://lists.wispa.org/mailman/listinfo/wireless
 
 Archives: http://lists.wispa.org/pipermail/wireless/




WISPA Wants You! Join today!
http://signup.wispa.org/

 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


Re: [WISPA] Fiber

2007-12-16 Thread Travis Johnson

Matt,

We have not considered that, but it comes down to cost as well. We 
charge a $500 setup fee to get the fiber installed at the customer prem. 
It costs us about $1,000 to actually get the fiber installed including 
the Cisco switch with GBIC's. I understand the idea of CWDM and ADMs, 
but at the same time I see a downside. If one of the GBIC modules fails 
at the customer prem, they are down. With our current configuration, 
they would still be up and running. It would also add one more point of 
failure at each customer.


We adopted the KISS (keep it simple stupid) principle when we started 
doing the fiber. We run STP on the main switch at our NOC, so really 
traffic only goes out one GBIC at our NOC unless there is a problem. At 
that point, we get email notification and using our SNMP system, we can 
tell exactly where the problem is and get it fixed quickly. Right now we 
are only moving about 50Mbps of traffic, so even only having 1Gbps of 
capacity should work for many, many years to come.


Travis
Microserv

Matt Liotta wrote:

Travis Johnson wrote:

Hi,

This is very true... we install a small UPS along with the switch to 
help with power issues... but with 70+ customers on the ring right 
now, we have not seen any issues. If a single customer goes down, the 
ring is still fully functional for everyone else. At that point, we 
contact that customer to find out the problem and get it resolved as 
quickly as possible. The only time we have had more than 1 customer 
down at a time is when a major power outage happens that lasts more 
than an hour.


Since you are using GBICs have you considered using CWDM along with 
passive ADMs instead? Passive ADMs don't require any power and could 
be used at each customer location to drop a single channel of light 
that you plug into the GBIC. This way if a single customer's equipment 
goes down the rest of the ring stays up. With CWDM you only have 8 
channels of light giving you a max of 8 gigs shared across your ring, 
but that is probably fine considering you only have 2 gigs with your 
current setup.


-Matt


 


WISPA Wants You! Join today!
http://signup.wispa.org/
 



WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/






WISPA Wants You! Join today!
http://signup.wispa.org/


WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


Re: [WISPA] Fiber

2007-12-16 Thread Matt Liotta

Travis Johnson wrote:

Matt,

We have not considered that, but it comes down to cost as well. We 
charge a $500 setup fee to get the fiber installed at the customer prem. 
It costs us about $1,000 to actually get the fiber installed including 
the Cisco switch with GBIC's. I understand the idea of CWDM and ADMs, 
but at the same time I see a downside. If one of the GBIC modules fails 
at the customer prem, they are down. With our current configuration, 
they would still be up and running. It would also add one more point of 
failure at each customer.


Doing the ADM approach would cost about the same. You are correct that 
without the Cisco you can't provide protection. However, you do get 
greater protection for your overall network with the ADM approach. This 
is because 2 failed Ciscos take out all nodes between the two failed 
Ciscos. In the case of the ADMs, only the active Ethernet part of the 
device can fail, which means the individual node goes down, but not the 
ring.


We adopted the KISS (keep it simple stupid) principle when we started 
doing the fiber. We run STP on the main switch at our NOC, so really 
traffic only goes out one GBIC at our NOC unless there is a problem. At 
that point, we get email notification and using our SNMP system, we can 
tell exactly where the problem is and get it fixed quickly. Right now we 
are only moving about 50Mbps of traffic, so even only having 1Gbps of 
capacity should work for many, many years to come.


That is a smart way to go. Trying to get more sophisticated with fiber 
can get expensive fast. We are selling a good number of GigE circuits on 
our fiber ring, so we have capacity issues that precluded us from using 
the approach you are taking.


We use a hybrid CWDM/DWDM approach. This means that initially we use 
CWDM for nodes until we have 4 channels in use. We make sure only to use 
the bottom and top 2 channels of CWDM. This then allows us to run DWDM 
later in the space of the middle 4 channels of CWDM. This is all done by 
popping in different cards with either passive CWDM filters or active 
DWDM electronics.


-Matt



WISPA Wants You! Join today!
http://signup.wispa.org/


WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


Re: [WISPA] Fiber

2007-12-16 Thread John J. Thomas
If the drop is 550', you can use Multi mode and the termination is considerably 
cheaper.

As for individual strands, there is probably a balance where it makes sense to 
not necessarily drop 128 strands, but do something more than 6 strands. 


John


-Original Message-
From: George Rogato [mailto:[EMAIL PROTECTED]
Sent: Saturday, December 15, 2007 04:04 PM
To: 'WISPA General List'
Subject: Re: [WISPA] Fiber

Thanks for offering to help,


Here's what I have.
My noc is across a creek from a water tank that I have a dozen ap's on. 
So I have to do aerial to get there. I want to use an aerial cable that 
has a lot of fibers in it. So I can put each radio on it's own fiber and 
not have a switch at the tank.
I also want to extend the rest of the unused fibers out to do a fiber to 
the premises roll out.

What I'm not sure is what type or size of fiber to pull, considering I 
want to break it out and go down the street.
I'm assuming single mode and I'm thinking this drop is short, 550', I 
can use like 128 strands.

I am assuming going up the street to the homes, It would be a PON network.

So I'm not sure of the fiber, or the network equipment behind it.

George


Scott Reed wrote:
 I may not get you all the answers, but here are some questions you need 
 to answer to get answers:
 How far do you want to go?
 What kind of data and data rates are you looking for?
 What equipment is at the ends?
 Hanging from poles, buried, etc.?
 
 
 George Rogato wrote:
 Anyone do fiber?
 I'm wondering where I should be looking for good pricing on some 
 aerial fiber.
 I don't know very much about fiber at all, so I also need some advice 
 on what fiber I should be using as well as what connectors.

 Anyone have any experience?

 Thanks
 

-- 
George Rogato

Welcome to WISPA

www.wispa.org

http://signup.wispa.org/



WISPA Wants You! Join today!
http://signup.wispa.org/

 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/






WISPA Wants You! Join today!
http://signup.wispa.org/

 
WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


Re: [WISPA] Fiber

2007-12-16 Thread George Rogato

Matt do you have any product numbers for the equipment your using?

George

Matt Liotta wrote:

Travis Johnson wrote:

Matt,

We have not considered that, but it comes down to cost as well. We 
charge a $500 setup fee to get the fiber installed at the customer 
prem. It costs us about $1,000 to actually get the fiber installed 
including the Cisco switch with GBIC's. I understand the idea of CWDM 
and ADMs, but at the same time I see a downside. If one of the GBIC 
modules fails at the customer prem, they are down. With our current 
configuration, they would still be up and running. It would also add 
one more point of failure at each customer.


Doing the ADM approach would cost about the same. You are correct that 
without the Cisco you can't provide protection. However, you do get 
greater protection for your overall network with the ADM approach. This 
is because 2 failed Ciscos take out all nodes between the two failed 
Ciscos. In the case of the ADMs, only the active Ethernet part of the 
device can fail, which means the individual node goes down, but not the 
ring.


We adopted the KISS (keep it simple stupid) principle when we started 
doing the fiber. We run STP on the main switch at our NOC, so really 
traffic only goes out one GBIC at our NOC unless there is a problem. 
At that point, we get email notification and using our SNMP system, we 
can tell exactly where the problem is and get it fixed quickly. Right 
now we are only moving about 50Mbps of traffic, so even only having 
1Gbps of capacity should work for many, many years to come.


That is a smart way to go. Trying to get more sophisticated with fiber 
can get expensive fast. We are selling a good number of GigE circuits on 
our fiber ring, so we have capacity issues that precluded us from using 
the approach you are taking.


We use a hybrid CWDM/DWDM approach. This means that initially we use 
CWDM for nodes until we have 4 channels in use. We make sure only to use 
the bottom and top 2 channels of CWDM. This then allows us to run DWDM 
later in the space of the middle 4 channels of CWDM. This is all done by 
popping in different cards with either passive CWDM filters or active 
DWDM electronics.


-Matt


 


WISPA Wants You! Join today!
http://signup.wispa.org/
 



WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/


--
George Rogato

Welcome to WISPA

www.wispa.org

http://signup.wispa.org/



WISPA Wants You! Join today!
http://signup.wispa.org/


WISPA Wireless List: wireless@wispa.org

Subscribe/Unsubscribe:
http://lists.wispa.org/mailman/listinfo/wireless

Archives: http://lists.wispa.org/pipermail/wireless/