From scottbb1973 at gmail.com Sun Jul 1 11:27:42 2012 From: scottbb1973 at gmail.com (Scott Berry) Date: Sun, 01 Jul 2012 11:27:42 -0500 Subject: [tclug-list] having problems talking to Linux computer via remote Message-ID: <4FF07A7E.3040506@gmail.com> Hello there, The other day I changed my "/etc/network/interfaces" to a static ip. But I wasn't getting anything off the Internet so I decided to change back and so I went in and changed "/etc/network/interfaces" back to a dynamic address but I can't talk to the computer and I have done "service networks start" and "service networks restart" without much luck. Are there any ideas what I could do before I put a fresh install on again? Thanks much for the help. -- Have a beautiful day Scott Berry Msn: electronicman1960 Skype me at: scottbb1973 E-mail: scottbb1973 at gmail.com From tclug at freakzilla.com Sun Jul 1 11:56:22 2012 From: tclug at freakzilla.com (Yaron) Date: Sun, 1 Jul 2012 11:56:22 -0500 (CDT) Subject: [tclug-list] having problems talking to Linux computer via remote In-Reply-To: <4FF07A7E.3040506@gmail.com> References: <4FF07A7E.3040506@gmail.com> Message-ID: I'd assume your computer now has a totally different IP address than before. Are you using the correct address to try and connect? If you're using hostnames, has DNS been updates? Can the computer in question connect to other machines? On Sun, 1 Jul 2012, Scott Berry wrote: > Hello there, > > The other day I changed my "/etc/network/interfaces" to a static ip. But I > wasn't getting anything off the Internet so I decided to change back and so I > went in and changed "/etc/network/interfaces" back to a dynamic address but I > can't talk to the computer and I have done "service networks start" and > "service networks restart" without much luck. Are there any ideas what I > could do before I put a fresh install on again? Thanks much for the help. > > > -- > Have a beautiful day > Scott Berry > Msn: electronicman1960 > Skype me at: scottbb1973 > E-mail: scottbb1973 at gmail.com > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -Yaron -- From scottbb1973 at gmail.com Sun Jul 1 12:26:22 2012 From: scottbb1973 at gmail.com (Scott Berry) Date: Sun, 01 Jul 2012 12:26:22 -0500 Subject: [tclug-list] having problems talking to Linux computer via remote In-Reply-To: References: <4FF07A7E.3040506@gmail.com> Message-ID: <4FF0883E.7070704@gmail.com> I forraged through my logs on the router because the computer in question is called trout but you know what actually I haven't tried that good idea. Thanks much. I'll try that and report back. On 7/1/2012 11:56, Yaron wrote: > I'd assume your computer now has a totally different IP address than > before. Are you using the correct address to try and connect? If > you're using hostnames, has DNS been updates? Can the computer in > question connect to other machines? > > On Sun, 1 Jul 2012, Scott Berry wrote: > >> Hello there, >> >> The other day I changed my "/etc/network/interfaces" to a static ip. >> But I wasn't getting anything off the Internet so I decided to change >> back and so I went in and changed "/etc/network/interfaces" back to a >> dynamic address but I can't talk to the computer and I have done >> "service networks start" and "service networks restart" without much >> luck. Are there any ideas what I could do before I put a fresh >> install on again? Thanks much for the help. >> >> >> -- >> Have a beautiful day >> Scott Berry >> Msn: electronicman1960 >> Skype me at: scottbb1973 >> E-mail: scottbb1973 at gmail.com >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > > -Yaron > > -- > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Have a beautiful day Scott Berry Msn: electronicman1960 Skype me at: scottbb1973 E-mail: scottbb1973 at gmail.com From scottbb1973 at gmail.com Sun Jul 1 12:28:16 2012 From: scottbb1973 at gmail.com (Scott Berry) Date: Sun, 01 Jul 2012 12:28:16 -0500 Subject: [tclug-list] having problems talking to Linux computer via remote In-Reply-To: References: <4FF07A7E.3040506@gmail.com> Message-ID: <4FF088B0.5010209@gmail.com> Well I tried trout and it said there was no host on the network with that name so I'll try forraging agin through the DHCP ip addresses I show on the router to see if I can get it. On 7/1/2012 11:56, Yaron wrote: > I'd assume your computer now has a totally different IP address than > before. Are you using the correct address to try and connect? If > you're using hostnames, has DNS been updates? Can the computer in > question connect to other machines? > > On Sun, 1 Jul 2012, Scott Berry wrote: > >> Hello there, >> >> The other day I changed my "/etc/network/interfaces" to a static ip. >> But I wasn't getting anything off the Internet so I decided to change >> back and so I went in and changed "/etc/network/interfaces" back to a >> dynamic address but I can't talk to the computer and I have done >> "service networks start" and "service networks restart" without much >> luck. Are there any ideas what I could do before I put a fresh >> install on again? Thanks much for the help. >> >> >> -- >> Have a beautiful day >> Scott Berry >> Msn: electronicman1960 >> Skype me at: scottbb1973 >> E-mail: scottbb1973 at gmail.com >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > > -Yaron > > -- > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Have a beautiful day Scott Berry Msn: electronicman1960 Skype me at: scottbb1973 E-mail: scottbb1973 at gmail.com From tclug at freakzilla.com Sun Jul 1 12:46:49 2012 From: tclug at freakzilla.com (Yaron) Date: Sun, 1 Jul 2012 12:46:49 -0500 (CDT) Subject: [tclug-list] having problems talking to Linux computer via remote In-Reply-To: <4FF088B0.5010209@gmail.com> References: <4FF07A7E.3040506@gmail.com> <4FF088B0.5010209@gmail.com> Message-ID: Do you have physical access to that machine? An ifconfig command will tell you the IP address, and you can just try using that. I don't know what router and configuration you use but most let you lock an IP address to a MAC address (which ifconfig will also show you), so you'd have a statically-provided DHCP address. On Sun, 1 Jul 2012, Scott Berry wrote: > Well I tried trout and it said there was no host on the network with that > name so I'll try forraging agin through the DHCP ip addresses I show on the > router to see if I can get it. > > On 7/1/2012 11:56, Yaron wrote: >> I'd assume your computer now has a totally different IP address than >> before. Are you using the correct address to try and connect? If you're >> using hostnames, has DNS been updates? Can the computer in question connect >> to other machines? >> >> On Sun, 1 Jul 2012, Scott Berry wrote: >> >>> Hello there, >>> >>> The other day I changed my "/etc/network/interfaces" to a static ip. But >>> I wasn't getting anything off the Internet so I decided to change back and >>> so I went in and changed "/etc/network/interfaces" back to a dynamic >>> address but I can't talk to the computer and I have done "service networks >>> start" and "service networks restart" without much luck. Are there any >>> ideas what I could do before I put a fresh install on again? Thanks much >>> for the help. >>> >>> >>> -- >>> Have a beautiful day >>> Scott Berry >>> Msn: electronicman1960 >>> Skype me at: scottbb1973 >>> E-mail: scottbb1973 at gmail.com >>> >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>> >> >> >> -Yaron >> >> -- >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > -- > Have a beautiful day > Scott Berry > Msn: electronicman1960 > Skype me at: scottbb1973 > E-mail: scottbb1973 at gmail.com > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -Yaron -- From scottbb1973 at gmail.com Sun Jul 1 12:55:31 2012 From: scottbb1973 at gmail.com (Scott Berry) Date: Sun, 01 Jul 2012 12:55:31 -0500 Subject: [tclug-list] having problems talking to Linux computer via remote In-Reply-To: References: <4FF07A7E.3040506@gmail.com> <4FF088B0.5010209@gmail.com> Message-ID: <4FF08F13.9060109@gmail.com> Yes I do. But I am uncertain about the screen settings as I installed 12.04 server and the screen is wildly not working. It doesnt have the right VGA settings. But I can try a few things. On 7/1/2012 12:46, Yaron wrote: > Do you have physical access to that machine? An ifconfig command will > tell you the IP address, and you can just try using that. I don't know > what router and configuration you use but most let you lock an IP > address to a MAC address (which ifconfig will also show you), so you'd > have a statically-provided DHCP address. > > On Sun, 1 Jul 2012, Scott Berry wrote: > >> Well I tried trout and it said there was no host on the network with >> that name so I'll try forraging agin through the DHCP ip addresses I >> show on the router to see if I can get it. >> >> On 7/1/2012 11:56, Yaron wrote: >>> I'd assume your computer now has a totally different IP address than >>> before. Are you using the correct address to try and connect? If >>> you're using hostnames, has DNS been updates? Can the computer in >>> question connect to other machines? >>> >>> On Sun, 1 Jul 2012, Scott Berry wrote: >>> >>>> Hello there, >>>> >>>> The other day I changed my "/etc/network/interfaces" to a static >>>> ip. But I wasn't getting anything off the Internet so I decided to >>>> change back and so I went in and changed "/etc/network/interfaces" >>>> back to a dynamic address but I can't talk to the computer and I >>>> have done "service networks start" and "service networks restart" >>>> without much luck. Are there any ideas what I could do before I put >>>> a fresh install on again? Thanks much for the help. >>>> >>>> >>>> -- >>>> Have a beautiful day >>>> Scott Berry >>>> Msn: electronicman1960 >>>> Skype me at: scottbb1973 >>>> E-mail: scottbb1973 at gmail.com >>>> >>>> _______________________________________________ >>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>>> tclug-list at mn-linux.org >>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>>> >>> >>> >>> -Yaron >>> >>> -- >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> >> -- >> Have a beautiful day >> Scott Berry >> Msn: electronicman1960 >> Skype me at: scottbb1973 >> E-mail: scottbb1973 at gmail.com >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > > -Yaron > > -- > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Have a beautiful day Scott Berry Msn: electronicman1960 Skype me at: scottbb1973 E-mail: scottbb1973 at gmail.com From tclug at freakzilla.com Sun Jul 1 12:57:57 2012 From: tclug at freakzilla.com (Yaron) Date: Sun, 1 Jul 2012 12:57:57 -0500 (CDT) Subject: [tclug-list] having problems talking to Linux computer via remote In-Reply-To: <4FF08F13.9060109@gmail.com> References: <4FF07A7E.3040506@gmail.com> <4FF088B0.5010209@gmail.com> <4FF08F13.9060109@gmail.com> Message-ID: Ctrl-Alt-F1 should bring you to a text-console. On Sun, 1 Jul 2012, Scott Berry wrote: > > > Yes I do. But I am uncertain about the screen settings as I installed 12.04 > server and the screen is wildly not working. It doesnt have the right VGA > settings. But I can try a few things. > > On 7/1/2012 12:46, Yaron wrote: >> Do you have physical access to that machine? An ifconfig command will tell >> you the IP address, and you can just try using that. I don't know what >> router and configuration you use but most let you lock an IP address to a >> MAC address (which ifconfig will also show you), so you'd have a >> statically-provided DHCP address. >> >> On Sun, 1 Jul 2012, Scott Berry wrote: >> >>> Well I tried trout and it said there was no host on the network with that >>> name so I'll try forraging agin through the DHCP ip addresses I show on >>> the router to see if I can get it. >>> >>> On 7/1/2012 11:56, Yaron wrote: >>>> I'd assume your computer now has a totally different IP address than >>>> before. Are you using the correct address to try and connect? If you're >>>> using hostnames, has DNS been updates? Can the computer in question >>>> connect to other machines? >>>> >>>> On Sun, 1 Jul 2012, Scott Berry wrote: >>>> >>>>> Hello there, >>>>> >>>>> The other day I changed my "/etc/network/interfaces" to a static ip. >>>>> But I wasn't getting anything off the Internet so I decided to change >>>>> back and so I went in and changed "/etc/network/interfaces" back to a >>>>> dynamic address but I can't talk to the computer and I have done >>>>> "service networks start" and "service networks restart" without much >>>>> luck. Are there any ideas what I could do before I put a fresh install >>>>> on again? Thanks much for the help. >>>>> >>>>> >>>>> -- >>>>> Have a beautiful day >>>>> Scott Berry >>>>> Msn: electronicman1960 >>>>> Skype me at: scottbb1973 >>>>> E-mail: scottbb1973 at gmail.com >>>>> >>>>> _______________________________________________ >>>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>>>> tclug-list at mn-linux.org >>>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>>>> >>>> >>>> >>>> -Yaron >>>> >>>> -- >>>> _______________________________________________ >>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>>> tclug-list at mn-linux.org >>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>> >>> >>> -- >>> Have a beautiful day >>> Scott Berry >>> Msn: electronicman1960 >>> Skype me at: scottbb1973 >>> E-mail: scottbb1973 at gmail.com >>> >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>> >> >> >> -Yaron >> >> -- >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > -- > Have a beautiful day > Scott Berry > Msn: electronicman1960 > Skype me at: scottbb1973 > E-mail: scottbb1973 at gmail.com > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -Yaron -- From scottbb1973 at gmail.com Sun Jul 1 15:30:42 2012 From: scottbb1973 at gmail.com (Scott Berry) Date: Sun, 01 Jul 2012 15:30:42 -0500 Subject: [tclug-list] having problems talking to Linux computer via remote In-Reply-To: References: <4FF07A7E.3040506@gmail.com> <4FF088B0.5010209@gmail.com> <4FF08F13.9060109@gmail.com> Message-ID: <4FF0B372.80904@gmail.com> Right. Actually my server I can just log in too. I never log in to it when running it remotely I just leave it at the log in screen when remoting so then I don't have nosy people seeing what's on there. It is a form of security for me as I am blind and don't want everyone reading my stuff on the Linux server. Plus if I am remoting there is no sense to log in. On 7/1/2012 12:57, Yaron wrote: > Ctrl-Alt-F1 should bring you to a text-console. > > On Sun, 1 Jul 2012, Scott Berry wrote: > >> >> >> Yes I do. But I am uncertain about the screen settings as I >> installed 12.04 server and the screen is wildly not working. It >> doesnt have the right VGA settings. But I can try a few things. >> >> On 7/1/2012 12:46, Yaron wrote: >>> Do you have physical access to that machine? An ifconfig command >>> will tell you the IP address, and you can just try using that. I >>> don't know what router and configuration you use but most let you >>> lock an IP address to a MAC address (which ifconfig will also show >>> you), so you'd have a statically-provided DHCP address. >>> >>> On Sun, 1 Jul 2012, Scott Berry wrote: >>> >>>> Well I tried trout and it said there was no host on the network >>>> with that name so I'll try forraging agin through the DHCP ip >>>> addresses I show on the router to see if I can get it. >>>> >>>> On 7/1/2012 11:56, Yaron wrote: >>>>> I'd assume your computer now has a totally different IP address >>>>> than before. Are you using the correct address to try and connect? >>>>> If you're using hostnames, has DNS been updates? Can the computer >>>>> in question connect to other machines? >>>>> >>>>> On Sun, 1 Jul 2012, Scott Berry wrote: >>>>> >>>>>> Hello there, >>>>>> >>>>>> The other day I changed my "/etc/network/interfaces" to a static >>>>>> ip. But I wasn't getting anything off the Internet so I decided >>>>>> to change back and so I went in and changed >>>>>> "/etc/network/interfaces" back to a dynamic address but I can't >>>>>> talk to the computer and I have done "service networks start" and >>>>>> "service networks restart" without much luck. Are there any ideas >>>>>> what I could do before I put a fresh install on again? Thanks >>>>>> much for the help. >>>>>> >>>>>> >>>>>> -- >>>>>> Have a beautiful day >>>>>> Scott Berry >>>>>> Msn: electronicman1960 >>>>>> Skype me at: scottbb1973 >>>>>> E-mail: scottbb1973 at gmail.com >>>>>> >>>>>> _______________________________________________ >>>>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>>>>> tclug-list at mn-linux.org >>>>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>>>>> >>>>> >>>>> >>>>> -Yaron >>>>> >>>>> -- >>>>> _______________________________________________ >>>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>>>> tclug-list at mn-linux.org >>>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>>> >>>> >>>> -- >>>> Have a beautiful day >>>> Scott Berry >>>> Msn: electronicman1960 >>>> Skype me at: scottbb1973 >>>> E-mail: scottbb1973 at gmail.com >>>> >>>> _______________________________________________ >>>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>>> tclug-list at mn-linux.org >>>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>>> >>> >>> >>> -Yaron >>> >>> -- >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> >> -- >> Have a beautiful day >> Scott Berry >> Msn: electronicman1960 >> Skype me at: scottbb1973 >> E-mail: scottbb1973 at gmail.com >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > > -Yaron > > -- > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Have a beautiful day Scott Berry Msn: electronicman1960 Skype me at: scottbb1973 E-mail: scottbb1973 at gmail.com From mbmiller+l at gmail.com Sun Jul 1 21:29:52 2012 From: mbmiller+l at gmail.com (Mike Miller) Date: Sun, 1 Jul 2012 21:29:52 -0500 (CDT) Subject: [tclug-list] Android app: Upgrade Your Cereal In-Reply-To: References: Message-ID: On Sat, 30 Jun 2012, Brian Wood wrote: > Jason Hsu > >> Upgrade Your Cereal is available for free on Google Play at > https://play.google.com/store/apps/details?id=com.jasonhsu.upgradeyourcereal. > > How does Special K rate? > > Upgrade your drink could be next. Mountain Dew and a lot of the energy > drinks are bad for people. Sometimes people think juice is a safe > alternative. Juice is probably better than Mountain Dew, but a tall > glass of orange juice has tons of calories. Most juices have a lot of sugar, and orange juice also has acid which is not good for teeth. I'm not saying people shouldn't drink orange juice. I definitely drink it. Water would be a big winner in the drink wars. Coffee does surprisingly well, considering its reputation. Mike From r.hoffbeck at gmail.com Tue Jul 3 12:00:46 2012 From: r.hoffbeck at gmail.com (Richard Hoffbeck) Date: Tue, 03 Jul 2012 12:00:46 -0500 Subject: [tclug-list] Android Development Message-ID: <4FF3253E.8090007@gmail.com> There was a short discussion last month about development targets for Android. I thought folks might find this interesting. It looks like a good current target would be 2.2 or 2.3 although I just bumped my Fire up to 4.0.4 and I'm really liking it. --rick http://www.androidpolice.com/2012/07/02/android-platform-distribution-updated-10-9-on-android-4-0-22-7-still-on-2-2-and-below/ From crosenblum at gmail.com Tue Jul 3 15:54:19 2012 From: crosenblum at gmail.com (Craig Rosenblum) Date: Tue, 3 Jul 2012 15:54:19 -0500 Subject: [tclug-list] Any good linux classes? Message-ID: I still have a lot to learn about linux, and would like to become a linux professional of some kind. For the last 6-7 years I have done work with ColdFusion, PHP, SQL Server, Oracle, mySQL, but mostly as a programmer not as a webmaster or dba. What kind of skills and experiences are required to get started as a linux professional of some sort? And what kind of career fields are there? Thanks... Keep it cool.....it's freaking hot out :P Craig -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmore at starmind.org Tue Jul 3 17:54:07 2012 From: jmore at starmind.org (Josh More) Date: Tue, 3 Jul 2012 17:54:07 -0500 Subject: [tclug-list] Any good linux classes? In-Reply-To: References: Message-ID: Don't waste your money on a class. 1) Buy Michael Jang's book: http://www.amazon.com/Certified-Engineer-Linux-Study-Certification/dp/0072264543 2) Work through it, doing every example once as you read and then again once you're done. 3) Download Trouble Maker: http://trouble-maker.sourceforge.net/ 4) Run Trouble Maker several times until you can fix each problem quickly. 5) Review the RHCE guide and write trouble scripts for me to include into Trouble Maker to extend it to fit all the current needs. At that point, you're done. You will know more about Linux than most people that actually use it on a daily basis and should be able to bluff your way into any Linux admin job you may want. -Josh On Tue, Jul 3, 2012 at 3:54 PM, Craig Rosenblum wrote: > I still have a lot to learn about linux, and would like to become a linux > professional of some kind. > > For the last 6-7 years I have done work with ColdFusion, PHP, SQL Server, > Oracle, mySQL, but mostly as a programmer not as a webmaster or dba. > > What kind of skills and experiences are required to get started as a linux > professional of some sort? > > And what kind of career fields are there? > > Thanks... > > Keep it cool.....it's freaking hot out :P > > Craig > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From erik.mitchell at gmail.com Tue Jul 3 18:26:36 2012 From: erik.mitchell at gmail.com (Erik Mitchell) Date: Tue, 3 Jul 2012 18:26:36 -0500 Subject: [tclug-list] Any good linux classes? In-Reply-To: References: Message-ID: Awesome Josh! On Tue, Jul 3, 2012 at 5:54 PM, Josh More wrote: > Don't waste your money on a class. > > 1) Buy Michael Jang's book: > http://www.amazon.com/Certified-Engineer-Linux-Study-Certification/dp/0072264543 > > 2) Work through it, doing every example once as you read and then > again once you're done. > > 3) Download Trouble Maker: http://trouble-maker.sourceforge.net/ > > 4) Run Trouble Maker several times until you can fix each problem quickly. > > 5) Review the RHCE guide and write trouble scripts for me to include > into Trouble Maker to extend it to fit all the current needs. > > At that point, you're done. You will know more about Linux than most > people that actually use it on a daily basis and should be able to > bluff your way into any Linux admin job you may want. > > -Josh > > > > On Tue, Jul 3, 2012 at 3:54 PM, Craig Rosenblum wrote: >> I still have a lot to learn about linux, and would like to become a linux >> professional of some kind. >> >> For the last 6-7 years I have done work with ColdFusion, PHP, SQL Server, >> Oracle, mySQL, but mostly as a programmer not as a webmaster or dba. >> >> What kind of skills and experiences are required to get started as a linux >> professional of some sort? >> >> And what kind of career fields are there? >> >> Thanks... >> >> Keep it cool.....it's freaking hot out :P >> >> Craig >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Erik K. Mitchell erik.mitchell at gmail.com From crosenblum at gmail.com Tue Jul 3 21:33:14 2012 From: crosenblum at gmail.com (Craig Rosenblum) Date: Tue, 3 Jul 2012 21:33:14 -0500 Subject: [tclug-list] Any good linux classes? In-Reply-To: References: Message-ID: Thank you for the tips. I will get the book. I know I still have a lot to learn about linux, mostly got into linux because i can't stand win8 :) And yes I am looking for employment, but honestly I am still a beginner at linux. Thanks guys...happy 4th of july to you all! On Tue, Jul 3, 2012 at 5:54 PM, Josh More wrote: > Don't waste your money on a class. > > 1) Buy Michael Jang's book: > > http://www.amazon.com/Certified-Engineer-Linux-Study-Certification/dp/0072264543 > > 2) Work through it, doing every example once as you read and then > again once you're done. > > 3) Download Trouble Maker: http://trouble-maker.sourceforge.net/ > > 4) Run Trouble Maker several times until you can fix each problem quickly. > > 5) Review the RHCE guide and write trouble scripts for me to include > into Trouble Maker to extend it to fit all the current needs. > > At that point, you're done. You will know more about Linux than most > people that actually use it on a daily basis and should be able to > bluff your way into any Linux admin job you may want. > > -Josh > > > > On Tue, Jul 3, 2012 at 3:54 PM, Craig Rosenblum > wrote: > > I still have a lot to learn about linux, and would like to become a linux > > professional of some kind. > > > > For the last 6-7 years I have done work with ColdFusion, PHP, SQL Server, > > Oracle, mySQL, but mostly as a programmer not as a webmaster or dba. > > > > What kind of skills and experiences are required to get started as a > linux > > professional of some sort? > > > > And what kind of career fields are there? > > > > Thanks... > > > > Keep it cool.....it's freaking hot out :P > > > > Craig > > > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > tclug-list at mn-linux.org > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From sapiensantiquus at gmail.com Tue Jul 3 22:47:32 2012 From: sapiensantiquus at gmail.com (Andrew Johnson) Date: Tue, 3 Jul 2012 22:47:32 -0500 Subject: [tclug-list] Any good linux classes? In-Reply-To: References: Message-ID: Does anyone know if the LPI exam prep material found here: http://www.ibm.com/developerworks/linux/lpi/index.html is any good? Andrew On Tue, Jul 3, 2012 at 9:33 PM, Craig Rosenblum wrote: > Thank you for the tips. I will get the book. I know I still have a lot to > learn about linux, mostly got into linux because i can't stand win8 :) > > And yes I am looking for employment, but honestly I am still a beginner at > linux. > > Thanks guys...happy 4th of july to you all! > > On Tue, Jul 3, 2012 at 5:54 PM, Josh More wrote: > >> Don't waste your money on a class. >> >> 1) Buy Michael Jang's book: >> >> http://www.amazon.com/Certified-Engineer-Linux-Study-Certification/dp/0072264543 >> >> 2) Work through it, doing every example once as you read and then >> again once you're done. >> >> 3) Download Trouble Maker: http://trouble-maker.sourceforge.net/ >> >> 4) Run Trouble Maker several times until you can fix each problem quickly. >> >> 5) Review the RHCE guide and write trouble scripts for me to include >> into Trouble Maker to extend it to fit all the current needs. >> >> At that point, you're done. You will know more about Linux than most >> people that actually use it on a daily basis and should be able to >> bluff your way into any Linux admin job you may want. >> >> -Josh >> >> >> >> On Tue, Jul 3, 2012 at 3:54 PM, Craig Rosenblum >> wrote: >> > I still have a lot to learn about linux, and would like to become a >> linux >> > professional of some kind. >> > >> > For the last 6-7 years I have done work with ColdFusion, PHP, SQL >> Server, >> > Oracle, mySQL, but mostly as a programmer not as a webmaster or dba. >> > >> > What kind of skills and experiences are required to get started as a >> linux >> > professional of some sort? >> > >> > And what kind of career fields are there? >> > >> > Thanks... >> > >> > Keep it cool.....it's freaking hot out :P >> > >> > Craig >> > >> > _______________________________________________ >> > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> > tclug-list at mn-linux.org >> > http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From ron at ron-l-j.com Fri Jul 6 11:33:51 2012 From: ron at ron-l-j.com (ron at ron-l-j.com) Date: Fri, 6 Jul 2012 10:33:51 -0600 Subject: [tclug-list] Linux networking in Redhat with IP utility. Message-ID: I have just finished two advanced Linux classes in my BS in IT(straight A's). I have been working with various virtual machines. THrough the process of setting up A DHCP,Firewall,Name server, and Time server, (each with a secondary server for redundancy) I have had to learn about the networking interfaces. I am sharing what I have learned. Linux IP Utility The ip utility has replaced the ifconfig command. The ip command can set interfaces attributes, manage arp tables, perform routing commands, read neighbor tables, set site specific routing rules, Vlan specific, and host specific addresses. man ip ip - show / manipulate routing, devices, policy routing and tunnels ip [ OPTIONS ] OBJECT { COMMAND | help } Using IP By using aliasing for ip?s, the concept of a device having one ip address is obsolete. How to show the status of your interfaces. ip link show Setting your eth0 ip address[es]. ip addr add 192.168.1.21/24 dev eth0 You can see how this syntax matches the above definition od ip (OPTIONS [ addr add 192.x.x.x]) (OBJECT [ dev eth0 ]) Using these options we can set gateways, ip address, broadcast address and much more. This is something you should make note of. In UNIX/Linux devices are virtualized and can have more than one ip address and hardware address. The ip command use the concept of scope for setting ip address.Host scope,local scope for the LAN, and global for the globe. Now lets look at our ARP cache(arp is the request sent out on the LAN to find machines and resolve local machine name requests). ip neigh show You can add more names to your arp cache by pinging your neighbors on the or by using ip neigh add 192.168.x.x dev eth0. You can use the delete keyword in place of add to remove a neighbor from the arp cache. This shows us our routing table. ip route show ip rule list will show you the default rule list ?main?(old kernel rule list)? ?local?& ?default? are new. From all main,local, and default. ip route list table local Shows the local table with the scope for the address from the ip rules. Lets add a rule to the config for another computer. The config file is /etc/iproute2/ ip_route. Perform a less command for that file to get a lay of the routing table setup enter this command set using the ; as a delimiter. echo 666 BatChicken >> /etc/iproute2/rt_tables;ip rule add from (insert your default gateway ip here) table BatChicken; ip rule show This has added a rule for BatChicken to rt_tables now lets generate the table. This part is a little tricky so pay attention. ip route add default via 192.168.x.x dev ppp2 table BatChicken The address is the address of your gateway on your network. Now clean the cache. ip route flush cache Many people have issues with the incrementing of nic card values in a Linux system. I use IP to fix this here is how. If your cloning a VM use the VM to generate a new nic MAC. Then use ip link sh dev eth3 to output only the ethx number you want to use. Then append that to your eth0 interface configuration file. ip link sh dev eth3 >> /etc/sysconfig/network-scripts/ifcfg-eth0 then edit your HWADDR= line in your ifcfg-eth0 I hope by now you are starting to see the value of the ip utility.There are many more advanced monitoring interface states, policies and more inside the ip utility toolset way too much to be covered here. How do you gather your interface information ip addr sh ip route sh will show will show your route. The important thing is to examine your Final line default via 10.0.0.1 dev eth0 This line is your default gateway, and its address. It is this gateway that will most likely be your DHCP server(router) as well. This matters because the DHclient script writs to your /etc/resolv.config file. DHclient updates your name server lines dynamicly. If you are looking to use your own name servers you can edit your ifcfg-ethx file by adding a line like. PEERDNS=no This will stop DHclient from overwriting your /etc/resolv.config file. I have tried using DHCP=no but DHclient still over writes resolv.config. I hope this helps some people get to know the IP utility and Linux a little better. From ron at ron-l-j.com Fri Jul 6 11:40:33 2012 From: ron at ron-l-j.com (ron at ron-l-j.com) Date: Fri, 6 Jul 2012 10:40:33 -0600 Subject: [tclug-list] Super Rib cook off! Message-ID: <997c10aef844548aeb0248b48404b36f.squirrel@www.ron-l-j.com> Fellow Linux enthusiasts, We are having a rib cook off off! We are opening our home to all of you for free beer and food! Feel free to stop by on the 14th at around 3pm. The link is https://www.facebook.com/events/387149181350069/ Let me know if your stopping by for food and fun, email me for address ron at ron-l-j.com. Ron From jus at krytosvirus.com Fri Jul 6 13:29:09 2012 From: jus at krytosvirus.com (Justin Krejci) Date: Fri, 06 Jul 2012 13:29:09 -0500 Subject: [tclug-list] Linux networking in Redhat with IP utility. In-Reply-To: References: Message-ID: <1341599349.13584.259.camel@sysadmin3a> Nice stuff. Two pieces I've used the "ip" utility for are source/policy based routing and for ipv6 related commands that you did not mention. "-f inet6" can be used to prune the ipv4 stuff out as "ip ne sh" by default includes v4 and v6. As there is no such thing as ARP in v6 you can't use the old "arp" command there anyways. As for source/policy based routing I've used on multihomed servers that I want traffic that originates in one particular NIC to always send reply traffic out a network on that same NIC even if the default gateway would otherwise be the other NIC. On Fri, 2012-07-06 at 10:33 -0600, ron at ron-l-j.com wrote: > I have just finished two advanced Linux classes in my BS in IT(straight > A's). I have been working with various virtual machines. THrough the > process of setting up A DHCP,Firewall,Name server, and Time server, (each > with a secondary server for redundancy) I have had to learn about the > networking interfaces. I am sharing what I have learned. > Linux IP Utility > > The ip utility has replaced the ifconfig command. The ip command can set > > interfaces attributes, manage arp tables, perform routing commands, read > neighbor tables, set site specific routing rules, Vlan specific, and host > specific addresses. > > man ip > > ip - show / manipulate routing, devices, policy routing and tunnels ip [ > OPTIONS ] OBJECT { COMMAND | help } > > Using IP > By using aliasing for ip?s, the concept of a device having one ip address > is obsolete. > > How to show the status of your interfaces. > > ip link show > > Setting your eth0 ip address[es]. > > ip addr add 192.168.1.21/24 dev eth0 > > You can see how this syntax matches the above definition od ip (OPTIONS [ > addr add 192.x.x.x]) (OBJECT [ dev eth0 ]) > > Using these options we can set gateways, ip address, broadcast address and > much more. This is something you should make note of. In UNIX/Linux > devices are virtualized and can have more than one ip address and hardware > address. The ip command use the concept of scope for setting ip > address.Host scope,local scope for the LAN, and global for the globe. > > Now lets look at our ARP cache(arp is the request sent out on the LAN to > find machines and resolve local machine name requests). > > ip neigh show > > > > You can add more names to your arp cache by pinging your neighbors on the > or by using ip neigh add 192.168.x.x dev eth0. You can use the delete > keyword in place of add to remove a neighbor from the arp cache. > > This shows us our routing table. > > ip route show > > ip rule list will show you the default rule list ?main?(old kernel rule > list)? ?local?& ?default? are new. From all main,local, and default. > > ip route list table local > > Shows the local table with the scope for the address from the ip rules. > > Lets add a rule to the config for another computer. The config file is > /etc/iproute2/ ip_route. Perform a less command for that file to get a lay > of the routing table setup > > enter this command set using the ; as a delimiter. > > echo 666 BatChicken >> /etc/iproute2/rt_tables;ip rule add from (insert > your default gateway ip here) table BatChicken; > > ip rule show > > This has added a rule for BatChicken to rt_tables now lets generate the > table. > > This part is a little tricky so pay attention. > > ip route add default via 192.168.x.x dev ppp2 table BatChicken > > The address is the address of your gateway on your network. Now clean the > cache. > > ip route flush cache > > Many people have issues with the incrementing of nic card values in a > Linux system. I use IP to fix this here is how. > > If your cloning a VM use the VM to generate a new nic MAC. Then use ip > link sh dev eth3 to output only the ethx number you want to use. Then > append that to your eth0 interface configuration file. ip link sh dev eth3 > >> /etc/sysconfig/network-scripts/ifcfg-eth0 > > then edit your HWADDR= line in your ifcfg-eth0 > > > > > > I hope by now you are starting to see the value of the ip utility.There > are many more advanced monitoring interface states, policies and more > inside the ip utility toolset way too much to be covered here. > > How do you gather your interface information > > > > ip addr sh > > ip route sh > > will show will show your route. > > The important thing is to examine your Final line > > > > default via 10.0.0.1 dev eth0 > > > > This line is your default gateway, and its address. It is this gateway > that will most likely be your DHCP server(router) as well. This matters > because the DHclient script writs to your /etc/resolv.config file. > DHclient updates your name server lines dynamicly. If you are looking to > use your own name servers you can edit your ifcfg-ethx file by adding a > line like. > > PEERDNS=no > > > > This will stop DHclient from overwriting your /etc/resolv.config file. I > have tried using DHCP=no but DHclient still over writes resolv.config. > > > > I hope this helps some people get to know the IP utility and Linux a > little better. > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From gsker at skerbitz.org Fri Jul 6 15:01:21 2012 From: gsker at skerbitz.org (Gerry) Date: Fri, 6 Jul 2012 15:01:21 -0500 (CDT) Subject: [tclug-list] Linux networking in Redhat with IP utility. In-Reply-To: References: Message-ID: I learned about ip back when I was doing Suse and Novell Clustering. I sure wish everything would switch to it so we didn't have to keep remmebering both ip and ifconfig. :-) Solaris has the ip command too. My system (Ubuntu 12.04) doesn't have the ip_route file, but the man page for ip says that the routes are in /etc/iproute2/rt_tables (which does exist) It's cool! On Fri, 6 Jul 2012, ron at ron-l-j.com wrote: > I have just finished two advanced Linux classes in my BS in IT(straight > A's). I have been working with various virtual machines. THrough the > process of setting up A DHCP,Firewall,Name server, and Time server, (each > with a secondary server for redundancy) I have had to learn about the > networking interfaces. I am sharing what I have learned. > Linux IP Utility > > The ip utility has replaced the ifconfig command. The ip command can set > > interfaces attributes, manage arp tables, perform routing commands, read > neighbor tables, set site specific routing rules, Vlan specific, and host > specific addresses. > > man ip > > ip - show / manipulate routing, devices, policy routing and tunnels ip [ > OPTIONS ] OBJECT { COMMAND | help } > > Using IP > By using aliasing for ip?s, the concept of a device having one ip address > is obsolete. > > How to show the status of your interfaces. > > ip link show > > Setting your eth0 ip address[es]. > > ip addr add 192.168.1.21/24 dev eth0 > > You can see how this syntax matches the above definition od ip (OPTIONS [ > addr add 192.x.x.x]) (OBJECT [ dev eth0 ]) > > Using these options we can set gateways, ip address, broadcast address and > much more. This is something you should make note of. In UNIX/Linux > devices are virtualized and can have more than one ip address and hardware > address. The ip command use the concept of scope for setting ip > address.Host scope,local scope for the LAN, and global for the globe. > > Now lets look at our ARP cache(arp is the request sent out on the LAN to > find machines and resolve local machine name requests). > > ip neigh show > > > > You can add more names to your arp cache by pinging your neighbors on the > or by using ip neigh add 192.168.x.x dev eth0. You can use the delete > keyword in place of add to remove a neighbor from the arp cache. > > This shows us our routing table. > > ip route show > > ip rule list will show you the default rule list ?main?(old kernel rule > list)? ?local?& ?default? are new. From all main,local, and default. > > ip route list table local > > Shows the local table with the scope for the address from the ip rules. > > Lets add a rule to the config for another computer. The config file is > /etc/iproute2/ ip_route. Perform a less command for that file to get a lay > of the routing table setup > > enter this command set using the ; as a delimiter. > > echo 666 BatChicken >> /etc/iproute2/rt_tables;ip rule add from (insert > your default gateway ip here) table BatChicken; > > ip rule show > > This has added a rule for BatChicken to rt_tables now lets generate the > table. > > This part is a little tricky so pay attention. > > ip route add default via 192.168.x.x dev ppp2 table BatChicken > > The address is the address of your gateway on your network. Now clean the > cache. > > ip route flush cache > > Many people have issues with the incrementing of nic card values in a > Linux system. I use IP to fix this here is how. > > If your cloning a VM use the VM to generate a new nic MAC. Then use ip > link sh dev eth3 to output only the ethx number you want to use. Then > append that to your eth0 interface configuration file. ip link sh dev eth3 >>> /etc/sysconfig/network-scripts/ifcfg-eth0 > > then edit your HWADDR= line in your ifcfg-eth0 > > I hope by now you are starting to see the value of the ip utility.There > are many more advanced monitoring interface states, policies and more > inside the ip utility toolset way too much to be covered here. > > How do you gather your interface information > > ip addr sh > ip route sh > will show will show your route. > > The important thing is to examine your Final line > default via 10.0.0.1 dev eth0 > > This line is your default gateway, and its address. It is this gateway > that will most likely be your DHCP server(router) as well. This matters > because the DHclient script writs to your /etc/resolv.config file. > DHclient updates your name server lines dynamicly. If you are looking to > use your own name servers you can edit your ifcfg-ethx file by adding a > line like. > > PEERDNS=no > > This will stop DHclient from overwriting your /etc/resolv.config file. I > have tried using DHCP=no but DHclient still over writes resolv.config. > > I hope this helps some people get to know the IP utility and Linux a > little better. -- Gerry Skerbitz gsker at skerbitz.org From wlrc06 at yahoo.com Fri Jul 6 22:32:59 2012 From: wlrc06 at yahoo.com (Rene Christian) Date: Fri, 6 Jul 2012 20:32:59 -0700 (PDT) Subject: [tclug-list] Fwd: Message-ID: <1341631979.30236.BPMail_high_noncarrier@web160901.mail.bf1.yahoo.com> http://omnitravelgroup.com/rating.php?mosinov=764&agomupi=79 From mbmiller+l at gmail.com Sat Jul 7 04:18:59 2012 From: mbmiller+l at gmail.com (Mike Miller) Date: Sat, 7 Jul 2012 04:18:59 -0500 (CDT) Subject: [tclug-list] Fwd: In-Reply-To: <1341631979.30236.BPMail_high_noncarrier@web160901.mail.bf1.yahoo.com> References: <1341631979.30236.BPMail_high_noncarrier@web160901.mail.bf1.yahoo.com> Message-ID: On Fri, 6 Jul 2012, Rene Christian wrote: URL redacted. That one was spam, right? I didn't click the link. I think Mr. Christian needs to fix his Yahoo account. Coincidentally, or maybe not so coincidentally, I saw something very similar last week on another list. Mike From jeremy.mountainjohnson at gmail.com Sat Jul 7 09:54:28 2012 From: jeremy.mountainjohnson at gmail.com (Jeremy MountainJohnson) Date: Sat, 7 Jul 2012 09:54:28 -0500 Subject: [tclug-list] Fwd: In-Reply-To: References: <1341631979.30236.BPMail_high_noncarrier@web160901.mail.bf1.yahoo.com> Message-ID: Definitely spam, "Canadian pharmacy" redirect. -- Jeremy MountainJohnson Jeremy.MountainJohnson at gmail.com On Sat, Jul 7, 2012 at 4:18 AM, Mike Miller wrote: > > On Fri, 6 Jul 2012, Rene Christian wrote: > > URL redacted. > > That one was spam, right? I didn't click the link. > > I think Mr. Christian needs to fix his Yahoo account. Coincidentally, or maybe not so coincidentally, I saw something very similar last week on another list. > > Mike > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From jus at krytosvirus.com Mon Jul 9 17:35:43 2012 From: jus at krytosvirus.com (Justin Krejci) Date: Mon, 09 Jul 2012 17:35:43 -0500 Subject: [tclug-list] The Internet Is Hard Message-ID: <1341873343.2441.98.camel@sysadmin3a> Pretty entertaining video right up there with Wes' Internet Help Desk. http://www.xtranormal.com/watch/12606684/internet-tech-support CSR: Who makes your laptop computer? Customer: Jesus. I don't know. Microsoft Windows XP, or Office.... or something. Where would I find that? This is ridiculous. -------------- next part -------------- An HTML attachment was scrubbed... URL: From erickson.michael at gmail.com Tue Jul 10 13:13:34 2012 From: erickson.michael at gmail.com (Michael Erickson) Date: Tue, 10 Jul 2012 13:13:34 -0500 Subject: [tclug-list] DNS Registrar Suggestions Message-ID: Hello all, Our annual subscription with GoDaddy is up, and I'd like to move to someone less annoying. Any suggestions? Regards, --mike Michael Erickson erickson.michael at gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: From droidjd at gmail.com Tue Jul 10 13:19:01 2012 From: droidjd at gmail.com (Andrew Dahl) Date: Tue, 10 Jul 2012 13:19:01 -0500 Subject: [tclug-list] DNS Registrar Suggestions In-Reply-To: References: Message-ID: If it's just domain registration, I use DynDNS. They're a little more costly than GoDaddy, but I've been happy with them over the years. If it's hosting too, then I'm not sure. I have a cloud server with rackspace, but I'm guessing you'd just want simple hosting if that's the case. -Andrew On Jul 10, 2012 1:14 PM, "Michael Erickson" wrote: > Hello all, > > Our annual subscription with GoDaddy is up, and I'd like to move to > someone less annoying. Any suggestions? > > Regards, > --mike > > Michael Erickson > erickson.michael at gmail.com > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From nesius at gmail.com Tue Jul 10 13:20:49 2012 From: nesius at gmail.com (Robert Nesius) Date: Tue, 10 Jul 2012 13:20:49 -0500 Subject: [tclug-list] DNS Registrar Suggestions In-Reply-To: References: Message-ID: I use namecheap.com. They only bug me when I have to renew something, and it always goes fast. -Rob On Tue, Jul 10, 2012 at 1:13 PM, Michael Erickson < erickson.michael at gmail.com> wrote: > Hello all, > > Our annual subscription with GoDaddy is up, and I'd like to move to > someone less annoying. Any suggestions? > > Regards, > --mike > > Michael Erickson > erickson.michael at gmail.com > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmore at starmind.org Tue Jul 10 13:16:39 2012 From: jmore at starmind.org (Josh More) Date: Tue, 10 Jul 2012 13:16:39 -0500 Subject: [tclug-list] DNS Registrar Suggestions In-Reply-To: References: Message-ID: I've been using Gandi.net for years. They have been great to me... and it's well worth paying the Euro tarif (for those years when the dollar is trading unfavorably). The fact that they give you raw access to Bind's DNS zones is gravy. -Josh On Tue, Jul 10, 2012 at 1:13 PM, Michael Erickson wrote: > Hello all, > > Our annual subscription with GoDaddy is up, and I'd like to move to someone > less annoying. Any suggestions? > > Regards, > --mike > > Michael Erickson > erickson.michael at gmail.com > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From ecrist at secure-computing.net Tue Jul 10 13:17:10 2012 From: ecrist at secure-computing.net (Eric Crist) Date: Tue, 10 Jul 2012 13:17:10 -0500 Subject: [tclug-list] DNS Registrar Suggestions In-Reply-To: References: Message-ID: <2DF86C52-EF7A-44BD-B352-810CF57C789A@secure-computing.net> If you don't care about DNSSEC or IPv6 glue, namecheap is nice. I've moved some of my domains back to GoDaddy for those reasons, though. ----- Eric F Crist On Jul 10, 2012, at 13:13:34, Michael Erickson wrote: > Hello all, > > Our annual subscription with GoDaddy is up, and I'd like to move to someone less annoying. Any suggestions? > > Regards, > --mike > > Michael Erickson > erickson.michael at gmail.com > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: Message signed with OpenPGP using GPGMail URL: From sraun at fireopal.org Tue Jul 10 19:47:57 2012 From: sraun at fireopal.org (Scott Raun) Date: Tue, 10 Jul 2012 19:47:57 -0500 Subject: [tclug-list] DNS Registrar Suggestions In-Reply-To: References: Message-ID: <20120711004757.GC30957@fireopal.org> I'll chime in as happy with gandi.net - IIRC, I've been using them for nearly a decade. A club I'm a member of uses them to - I did not originally set us up there, but have been dealing with the renewal for the last few years. The only e-mails I get from them have been renewal reminders. On Tue, Jul 10, 2012 at 01:16:39PM -0500, Josh More wrote: > I've been using Gandi.net for years. They have been great to me... > and it's well worth paying the Euro tarif (for those years when the > dollar is trading unfavorably). > > The fact that they give you raw access to Bind's DNS zones is gravy. > > -Josh > > On Tue, Jul 10, 2012 at 1:13 PM, Michael Erickson > wrote: > > Hello all, > > > > Our annual subscription with GoDaddy is up, and I'd like to move to someone > > less annoying. Any suggestions? > > > > Regards, > > --mike > > > > Michael Erickson > > erickson.michael at gmail.com > > > > > > > > _______________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > > tclug-list at mn-linux.org > > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -- Scott Raun sraun at fireopal.org From woodbrian77 at gmail.com Sat Jul 14 17:00:05 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Sat, 14 Jul 2012 18:00:05 -0400 Subject: [tclug-list] html/process question Message-ID: I'm wondering how to automate something further. Currently I use the following commands (in a script) when I publish a new version of the software. md5sum direct.tar.bz2 | tee md5checksum cat md5checksum | xclip -sel clip After that I edit an html fileby hand and paste the new checksum into the file. Once in a while I forget to do that step. So I'd like to figure out how to improve the process. What do you suggest? Thanks in advance. Shalom, Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From erik.mitchell at gmail.com Sat Jul 14 17:47:56 2012 From: erik.mitchell at gmail.com (Erik Mitchell) Date: Sat, 14 Jul 2012 17:47:56 -0500 Subject: [tclug-list] html/process question In-Reply-To: References: Message-ID: You could replace the checksum you have on the page with sed easily enough, because it's the only string of its nature on the page. Another option would be to put a span around it, with an id: foofoofoofoo Then use a DOM library to change the value of that element on the page. If I were doing this I'd probably use Python. -Erik On Sat, Jul 14, 2012 at 5:00 PM, Brian Wood wrote: > I'm wondering how to automate something further. Currently I > use the following commands (in a script) when I publish a > new version of the software. > > md5sum direct.tar.bz2 | tee md5checksum > cat md5checksum | xclip -sel clip > > After that I edit an html file by hand and paste the new > checksum into the file. Once in a while I forget to do that > step. So I'd like to figure out how to improve the process. > What do you suggest? Thanks in advance. > > > Shalom, > Brian Wood > Ebenezer Enterprises > http://webEbenezer.net > > > > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -- Erik K. Mitchell erik.mitchell at gmail.com From tclug at freakzilla.com Sat Jul 14 22:03:01 2012 From: tclug at freakzilla.com (Yaron) Date: Sat, 14 Jul 2012 22:03:01 -0500 (CDT) Subject: [tclug-list] html/process question In-Reply-To: References: Message-ID: I use perl GCI for this kind of stuff all the time. Basically make your html file (lets call it file.html) and put a marker in there, like %%MD5SUM%% or something. Then your CGI does this: #!/usr/bin/perl $|=1; $file="file.html"; chomp($md5=`md5sum? direct.tar.bz2`); open(F, $file); while() { s/%%MD5SUM%%/$md5/ if (/%%MD5SUM%%/); print; } close (F); exit(0); That's extremely simplified with no full paths or strict mode or error checking, but you get the idea. On Sat, 14 Jul 2012, Brian Wood wrote: > I'm wondering how to automate something further.? Currently I > use the following commands (in a script) when I publish a > new version of the software. > > md5sum? direct.tar.bz2 | tee md5checksum > cat md5checksum | xclip -sel clip > > After that I edit an html file by hand and paste the new > checksum into the file.? Once in a while I forget to do that > step.? So I'd like to figure out how to improve the process.? > What do you suggest?? Thanks in advance. > > > Shalom, > Brian Wood > Ebenezer Enterprises > http://webEbenezer.net > > > > > > > -Yaron -- From ecrist at secure-computing.net Sat Jul 14 23:14:49 2012 From: ecrist at secure-computing.net (Eric Crist) Date: Sat, 14 Jul 2012 23:14:49 -0500 Subject: [tclug-list] html/process question In-Reply-To: References: Message-ID: <663734E5-FE46-4434-A176-CEA8804877A6@secure-computing.net> Using perl for THIS is silly. sed can do everything you'er doing with perl. ----- Eric F Crist On Jul 14, 2012, at 22:03:01, Yaron wrote: > I use perl GCI for this kind of stuff all the time. Basically make your html file (lets call it file.html) and put a marker in there, like %%MD5SUM%% or something. Then your CGI does this: > > #!/usr/bin/perl > $|=1; > $file="file.html"; > chomp($md5=`md5sum direct.tar.bz2`); > > open(F, $file); > while() { > s/%%MD5SUM%%/$md5/ if (/%%MD5SUM%%/); > print; > } > > close (F); > exit(0); > > That's extremely simplified with no full paths or strict mode or error checking, but you get the idea. > > On Sat, 14 Jul 2012, Brian Wood wrote: > >> I'm wondering how to automate something further. Currently I >> use the following commands (in a script) when I publish a >> new version of the software. >> md5sum direct.tar.bz2 | tee md5checksum >> cat md5checksum | xclip -sel clip >> After that I edit an html file by hand and paste the new >> checksum into the file. Once in a while I forget to do that >> step. So I'd like to figure out how to improve the process. >> What do you suggest? Thanks in advance. >> Shalom, >> Brian Wood >> Ebenezer Enterprises >> http://webEbenezer.net >> > > > -Yaron > > --_______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: Message signed with OpenPGP using GPGMail URL: From tclug at freakzilla.com Sat Jul 14 23:30:26 2012 From: tclug at freakzilla.com (Yaron) Date: Sat, 14 Jul 2012 23:30:26 -0500 (CDT) Subject: [tclug-list] html/process question In-Reply-To: <663734E5-FE46-4434-A176-CEA8804877A6@secure-computing.net> References: <663734E5-FE46-4434-A176-CEA8804877A6@secure-computing.net> Message-ID: SED can't be a CGI script though. And like I said, this is simplifying. My CGI scripts usually do a bunch more, but I typed up the part that's relevant. On Sat, 14 Jul 2012, Eric Crist wrote: > Using perl for THIS is silly. sed can do everything you'er doing with perl. > > ----- > Eric F Crist > > > > On Jul 14, 2012, at 22:03:01, Yaron wrote: > >> I use perl GCI for this kind of stuff all the time. Basically make your html file (lets call it file.html) and put a marker in there, like %%MD5SUM%% or something. Then your CGI does this: >> >> #!/usr/bin/perl >> $|=1; >> $file="file.html"; >> chomp($md5=`md5sum direct.tar.bz2`); >> >> open(F, $file); >> while() { >> s/%%MD5SUM%%/$md5/ if (/%%MD5SUM%%/); >> print; >> } >> >> close (F); >> exit(0); >> >> That's extremely simplified with no full paths or strict mode or error checking, but you get the idea. >> >> On Sat, 14 Jul 2012, Brian Wood wrote: >> >>> I'm wondering how to automate something further. Currently I >>> use the following commands (in a script) when I publish a >>> new version of the software. >>> md5sum direct.tar.bz2 | tee md5checksum >>> cat md5checksum | xclip -sel clip >>> After that I edit an html file by hand and paste the new >>> checksum into the file. Once in a while I forget to do that >>> step. So I'd like to figure out how to improve the process. >>> What do you suggest? Thanks in advance. >>> Shalom, >>> Brian Wood >>> Ebenezer Enterprises >>> http://webEbenezer.net >>> >> >> >> -Yaron >> >> --_______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -Yaron -- From ecrist at secure-computing.net Sat Jul 14 23:33:26 2012 From: ecrist at secure-computing.net (Eric F Crist) Date: Sat, 14 Jul 2012 23:33:26 -0500 Subject: [tclug-list] html/process question In-Reply-To: References: <663734E5-FE46-4434-A176-CEA8804877A6@secure-computing.net> Message-ID: OP said nothing of CGI... That is your own constraint. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. Yaron wrote: SED can't be a CGI script though. And like I said, this is simplifying. My CGI scripts usually do a bunch more, but I typed up the part that's relevant. On Sat, 14 Jul 2012, Eric Crist wrote: > Using perl for THIS is silly. sed can do everything you'er doing with perl. > > ----- > Eric F Crist > > > > On Jul 14, 2012, at 22:03:01, Yaron wrote: > >> I use perl GCI for this kind of stuff all the time. Basically make your html file (lets call it file.html) and put a marker in there, like %%MD5SUM%% or something. Then your CGI does this: >> >> #!/usr/bin/perl >> $|=1; >> $file="file.html"; >> chomp($md5=`md5sum direct.tar.bz2`); >> >> open(F, $file); >> while() { >> s/%%MD5SUM%%/$md5/ if (/%%MD5SUM%%/); >> print; >> } >> >> close (F); >> exit(0); >> >> That's extremely simplified with no full paths or strict mode or error checking, but you get the idea. >> >> On Sat, 14 Jul 2012, Brian Wood wrote: >> >>> I'm wondering how to automate something further. Currently I >>> use the following commands (in a script) when I publish a >>> new version of the software. >>> md5sum direct.tar.bz2 | tee md5checksum >>> cat md5checksum | xclip -sel clip >>> After that I edit an html file by hand and paste the new >>> checksum into the file. Once in a while I forget to do that >>> step. So I'd like to figure out how to improve the process. >>> What do you suggest? Thanks in advance. >>> Shalom, >>> Brian Wood >>> Ebenezer Enterprises >>> http://webEbenezer.net >>> >> >> >> -Yaron >> >>_____________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -Yaron -- _____________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug at freakzilla.com Sat Jul 14 23:41:34 2012 From: tclug at freakzilla.com (Yaron) Date: Sat, 14 Jul 2012 23:41:34 -0500 (CDT) Subject: [tclug-list] html/process question In-Reply-To: References: <663734E5-FE46-4434-A176-CEA8804877A6@secure-computing.net> Message-ID: True. It's my way of serving up semi-dynamic pages I guess. On Sat, 14 Jul 2012, Eric F Crist wrote: > OP said nothing of CGI... That is your own constraint. > -- > Sent from my Android phone with K-9 Mail. Please excuse my brevity. > > Yaron wrote: > > SED can't be a CGI script though. And like I said, this is simplifying. My > CGI scripts usually do a bunch more, but I typed up the part that's > relevant. > On Sat, 14 Jul 2012, Eric Crist wrote: > > Using perl for THIS is silly. sed can do everything you'er doing with per > l. > > > > ----- > > Eric F Crist > > > > > > > > On Jul 14, 2012, at 22:03:01, Yaron wrote: > > > >> I use perl GCI for this kind of stuff all the time. Basically make your h > tml file (lets call it file.html) and put a marker in there, like %%MD5SUM%% > or something. Then your CGI does this: > >> > >> #!/usr/bin/perl > >> $|=1; > >> $file="file.html"; > >> chomp($md5=`md5sum direct.tar.bz2`); > >> > >> open(F, $file); > >> while() { > >> > s/%%MD5SUM%%/$md5/ if (/%%MD5SUM%%/); > >> print; > >> } > >> > >> close (F); > >> exit(0); > >> > >> That's extremely simplified with no full paths or strict mode or error ch > ecking, but you get the idea. > >> > >> On Sat, 14 Jul 2012, Brian Wood wrote: > >> > >>> I'm wondering how to automate something further. Currently I > >>> use the following commands (in a script) when I publish a > >>> new version of the software. > >>> md5sum direct.tar.bz2 | tee md5checksum > >>> cat md5checksum | xclip -sel clip > >>> After that I edit an html file by hand and paste the new > >>> checksum into the file. Once in a while I forget to do that > >>> step. So I'd like to figure out how to improve the process. > >>> What do you suggest? Thanks in advance. > >>> Shalom, > >>> Brian Wood > >>> Ebenezer Enterprises > >>> http://webEbenezer.net > >>> > >> > >> > >> -Yaron > >> > >> > ____________________________________________________________________________ > >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > >> tclug-list at mn-linux.org > >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > > -Yaron > -- > ____________________________________________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > -Yaron -- From nesius at gmail.com Sat Jul 14 23:47:40 2012 From: nesius at gmail.com (Robert Nesius) Date: Sat, 14 Jul 2012 23:47:40 -0500 Subject: [tclug-list] html/process question In-Reply-To: References: <663734E5-FE46-4434-A176-CEA8804877A6@secure-computing.net> Message-ID: To the OP - I'd suggest making whatever you implement part of the process that makes your releases and such. i.e., roll it all into a make file, or a rake file, or an ant file, or whatever. -Rob On Sat, Jul 14, 2012 at 11:33 PM, Eric F Crist wrote: > OP said nothing of CGI... That is your own constraint. > -- > Sent from my Android phone with K-9 Mail. Please excuse my brevity. > > Yaron wrote: >> >> SED can't be a CGI script though. And like I said, this is simplifying. My >> CGI scripts usually do a bunch more, but I typed up the part that's >> relevant. >> >> On Sat, 14 Jul 2012, Eric Crist wrote: >> >> > Using perl for THIS is silly. sed can do everything you'er doing with perl. >> > >> > ----- >> > Eric F Crist >> > >> > >> > >> > On Jul 14, 2012, at 22:03:01, Yaron wrote: >> > >> >> I use perl GCI for this kind of stuff all the time. Basically make your html file (lets call it file.html) and put a marker in there, like %%MD5SUM%% or something. Then your CGI does this: >> >> >> >> #!/usr/bin/perl >> >> $|=1; >> >> $file="file.html"; >> >> chomp($md5=`md5sum direct.tar.bz2`); >> >> >> >> open(F, $file); >> >> while() { >> >> >> s/%%MD5SUM%%/$md5/ if (/%%MD5SUM%%/); >> >> print; >> >> } >> >> >> >> close (F); >> >> exit(0); >> >> >> >> That's extremely simplified with no full paths or strict mode or error checking, but you get the idea. >> >> >> >> On Sat, 14 Jul 2012, Brian Wood wrote: >> >> >> >>> I'm wondering how to automate something further. Currently I >> >>> use the following commands (in a script) when I publish a >> >>> new version of the software. >> >>> md5sum direct.tar.bz2 | tee md5checksum >> >>> cat md5checksum | xclip -sel clip >> >>> After that I edit an html file by hand and paste the new >> >>> checksum into the file. Once in a while I forget to do that >> >>> step. So I'd like to figure out how to improve the process. >> >>> What do you suggest? Thanks in advance. >> >>> Shalom, >> >>> Brian Wood >> >>> Ebenezer Enterprises >> >>> http://webEbenezer.net >> >>> >> >> >> >> >> >> -Yaron >> >> >> >> >> ------------------------------ >> >> >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> >> tclug-list at mn-linux.org >> >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > >> > >> >> >> -Yaron >> >> -- >> ------------------------------ >> >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- An HTML attachment was scrubbed... URL: From erik.mitchell at gmail.com Sun Jul 15 09:02:46 2012 From: erik.mitchell at gmail.com (Erik Mitchell) Date: Sun, 15 Jul 2012 09:02:46 -0500 Subject: [tclug-list] html/process question In-Reply-To: References: <663734E5-FE46-4434-A176-CEA8804877A6@secure-computing.net> Message-ID: The sense I got was that Brian was managing a website with static .html pages. If I were to script this particular step, I would write a Python script to FTP the file down to /tmp, modify it, and then FTP it back up. You could also do this with a shell script, and use sed to do the modification. On top of that, there are probably a million other ways to do it... On Sat, Jul 14, 2012 at 11:47 PM, Robert Nesius wrote: > To the OP - I'd suggest making whatever you implement part of the process > that makes your releases and such. i.e., roll it all into a make file, or a > rake file, or an ant file, or whatever. > > -Rob > > > On Sat, Jul 14, 2012 at 11:33 PM, Eric F Crist > wrote: >> >> OP said nothing of CGI... That is your own constraint. >> -- >> Sent from my Android phone with K-9 Mail. Please excuse my brevity. >> >> Yaron wrote: >>> >>> SED can't be a CGI script though. And like I said, this is simplifying. >>> My >>> CGI scripts usually do a bunch more, but I typed up the part that's >>> >>> relevant. >>> >>> On Sat, 14 Jul 2012, Eric Crist wrote: >>> >>> > Using perl for THIS is silly. sed can do everything you'er doing with >>> > perl. >>> > >>> > ----- >>> > Eric F Crist >>> > >>> > >>> > >>> > On Jul 14, 2012, at 22:03:01, Yaron wrote: >>> >>> > >>> >> I use perl GCI for this kind of stuff all the time. Basically make >>> >> your html file (lets call it file.html) and put a marker in there, like >>> >> %%MD5SUM%% or something. Then your CGI does this: >>> >> >>> >>> >> #!/usr/bin/perl >>> >> $|=1; >>> >> $file="file.html"; >>> >> chomp($md5=`md5sum direct.tar.bz2`); >>> >> >>> >> open(F, $file); >>> >> while() { >>> >> >>> s/%%MD5SUM%%/$md5/ if (/%%MD5SUM%%/); >>> >> print; >>> >> } >>> >> >>> >> close (F); >>> >> exit(0); >>> >> >>> >> That's extremely simplified with no full paths or strict mode or error >>> >> checking, but you get the idea. >>> >>> >> >>> >> On Sat, 14 Jul 2012, Brian Wood wrote: >>> >> >>> >>> I'm wondering how to automate something further. Currently I >>> >>> use the following commands (in a script) when I publish a >>> >>> >>> new version of the software. >>> >>> md5sum direct.tar.bz2 | tee md5checksum >>> >>> cat md5checksum | xclip -sel clip >>> >>> After that I edit an html file by hand and paste the new >>> >>> >>> checksum into the file. Once in a while I forget to do that >>> >>> step. So I'd like to figure out how to improve the process. >>> >>> What do you suggest? Thanks in advance. >>> >>> Shalom, >>> >>> >>> Brian Wood >>> >>> Ebenezer Enterprises >>> >>> http://webEbenezer.net >>> >>> >>> >> >>> >> >>> >> -Yaron >>> >> >>> >>> >> >>> ________________________________ >>> >>> >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> >> tclug-list at mn-linux.org >>> >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >>> >>> > >>> > >>> >>> >>> -Yaron >>> >>> -- >>> ________________________________ >>> >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> >> _______________________________________________ >> >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -- Erik K. Mitchell erik.mitchell at gmail.com From woodbrian77 at gmail.com Sun Jul 15 12:50:40 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Sun, 15 Jul 2012 13:50:40 -0400 Subject: [tclug-list] html/process question Message-ID: Message-ID: > The sense I got was that Brian was managing a website with static > .html pages. If I were to script this particular step, I would write a > Python script to FTP the file down to /tmp, modify it, and then FTP it > back up. > > You could also do this with a shell script, and use sed to do the modification. I'm using a shell script and the sed option is what I'm pursuing at the moment. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Sun Jul 15 13:02:04 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Sun, 15 Jul 2012 14:02:04 -0400 Subject: [tclug-list] html/process question Message-ID: In-Reply-To: References: Message-ID: On Sun, Jul 15, 2012 at 1:50 PM, Brian Wood wrote: > > I'm using a shell script and the sed option is what I'm pursuing at the > moment. > > out=$(md5sum direct.tar.bz2) echo ${out% *} That seems like it may be helpful, but I don't understand what the % and * are doing. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Sun Jul 15 14:25:25 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Sun, 15 Jul 2012 15:25:25 -0400 Subject: [tclug-list] html/process question Message-ID: In-Reply-To: References: Message-ID: Here's what I've got now: out=$(md5sum direct.tar.bz2 sed "s/sum: [0-9a-f]*/sum: ${out% *}/" ../build_integration.html > newfile That's working except it adds a space after the new checksum. That would be OK if it were just one space, but each time I run the script another space is added. Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From patrickm at citilink.com Sun Jul 15 15:46:14 2012 From: patrickm at citilink.com (Patrick McCabe) Date: Sun, 15 Jul 2012 15:46:14 -0500 (CDT) Subject: [tclug-list] html/process question Message-ID: In-Reply-To: References: Message-ID: <50032C15.5030103@zok.mm.home> You can use ${out%% *} to get rid of the additional space. Patrick On 07/15/2012 02:25 PM, Brian Wood wrote: > Here's what I've got now: > > out=$(md5sum direct.tar.bz2 > sed "s/sum: [0-9a-f]*/sum: ${out% *}/" ../build_integration.html > newfile > > That's working except it adds a space after the new checksum. > That would be OK if it were just one space, but each time I run > the script another space is added. > > > Brian Wood > Ebenezer Enterprises > http://webEbenezer.net > > > > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuporglue at gmail.com Sun Jul 15 17:29:37 2012 From: stuporglue at gmail.com (Michael Moore) Date: Sun, 15 Jul 2012 17:29:37 -0500 Subject: [tclug-list] html/process question Message-ID: In-Reply-To: References: Message-ID: On Sun, Jul 15, 2012 at 12:50 PM, Brian Wood wrote: > > > The sense I got was that Brian was managing a website with static > > .html pages. If I were to script this particular step, I would write a > > Python script to FTP the file down to /tmp, modify it, and then FTP it > > back up. > > > > You could also do this with a shell script, and use sed to do the > modification. > > I'm using a shell script and the sed option is what I'm pursuing at the > moment. > The easiest might be to have a separate template and and output file. The template would have something like MD5SUM_GOES_HERE where you want the md5 sum, then the command would simply be cat template.html | sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" > output.html Sounds like you're already headed down another path, but if that doesn't work out, you've got other options. Michael -- http://fridleyfarmer.com -- The Fridley Farmer http://stuporglue.org -- Web programming, Moore's Ramblings III and other Miscellaneous Projects -------------- next part -------------- An HTML attachment was scrubbed... URL: From ecrist at secure-computing.net Sun Jul 15 21:15:11 2012 From: ecrist at secure-computing.net (Eric Crist) Date: Sun, 15 Jul 2012 21:15:11 -0500 Subject: [tclug-list] html/process question Message-ID: In-Reply-To: References: Message-ID: <8FEE4FFA-8E60-49E3-9D2A-6A351C741156@secure-computing.net> I agree with this, though the cat part isn't needed: sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html ----- Eric F Crist On Jul 15, 2012, at 17:29:37, Michael Moore wrote: > On Sun, Jul 15, 2012 at 12:50 PM, Brian Wood wrote: > > > The sense I got was that Brian was managing a website with static > > .html pages. If I were to script this particular step, I would write a > > Python script to FTP the file down to /tmp, modify it, and then FTP it > > back up. > > > > You could also do this with a shell script, and use sed to do the modification. > > I'm using a shell script and the sed option is what I'm pursuing at the moment. > > The easiest might be to have a separate template and and output file. The template would have something like MD5SUM_GOES_HERE where you want the md5 sum, then the command would simply be > > cat template.html | sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" > output.html > > Sounds like you're already headed down another path, but if that doesn't work out, you've got other options. > > Michael > -- > http://fridleyfarmer.com -- The Fridley Farmer > http://stuporglue.org -- Web programming, Moore's Ramblings III and other Miscellaneous Projects > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: Message signed with OpenPGP using GPGMail URL: From woodbrian77 at gmail.com Sun Jul 15 21:47:51 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Sun, 15 Jul 2012 22:47:51 -0400 Subject: [tclug-list] html/process question Message-ID: Patrick McCabe: > You can use ${out%% *} to get rid of the additional space. Thanks, that worked. Eric Crist: > I agree with this, though the cat part isn't needed: > > sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html I'm not sure that would work very well. It seems if I wanted to make changes not related to the checksum in the html file, I'd have to update the template file and then run sed to get the updates over to the final file. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From ecrist at secure-computing.net Sun Jul 15 21:55:20 2012 From: ecrist at secure-computing.net (Eric Crist) Date: Sun, 15 Jul 2012 21:55:20 -0500 Subject: [tclug-list] html/process question In-Reply-To: References: Message-ID: <625B40D2-0067-4738-ADF3-0B6B6591598F@secure-computing.net> On Jul 15, 2012, at 21:47:51, Brian Wood wrote: > Eric Crist: > > I agree with this, though the cat part isn't needed: > > > > sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html > > I'm not sure that would work very well. It seems if I wanted to make > changes not related to the checksum in the html file, I'd have to > update the template file and then run sed to get the updates over > to the final file. I don't understand what you mean. If I do, then yes. Your template file is where all your changes belong. The sed command (or a manual one-off cut/paste) is done to update the checksum. If you're updating both the HTML and the checksum often, you need something a bit more dynamic, I think, like a CGI script. ----- Eric F Crist -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 455 bytes Desc: Message signed with OpenPGP using GPGMail URL: From chrome at real-time.com Mon Jul 16 06:59:01 2012 From: chrome at real-time.com (Carl Wilhelm Soderstrom) Date: Mon, 16 Jul 2012 07:59:01 -0400 Subject: [tclug-list] html/process question Message-ID: In-Reply-To: <8FEE4FFA-8E60-49E3-9D2A-6A351C741156@secure-computing.net> References: <8FEE4FFA-8E60-49E3-9D2A-6A351C741156@secure-computing.net> Message-ID: <20120716115901.GU36820@real-time.com> On 07/15 09:15 , Eric Crist wrote: > I agree with this, though the cat part isn't needed: > > sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html Thank you for the 'aha!' moment this gave me. One of those things I should know, but never learned for whatever reason. -- Carl Soderstrom Systems Administrator Real-Time Enterprises www.real-time.com From jus at krytosvirus.com Mon Jul 16 12:16:50 2012 From: jus at krytosvirus.com (Justin Krejci) Date: Mon, 16 Jul 2012 12:16:50 -0500 Subject: [tclug-list] html/process question Message-ID: In-Reply-To: <20120716115901.GU36820@real-time.com> References: <8FEE4FFA-8E60-49E3-9D2A-6A351C741156@secure-computing.net> <20120716115901.GU36820@real-time.com> Message-ID: <1342459010.27003.9.camel@sysadmin3a> Similarly I have seen a lot people use cat somefile,txt | grep $SEARCH when you could and should, for a number of reasons, use this grep $SEARCH somefile.txt On Mon, 2012-07-16 at 07:59 -0400, Carl Wilhelm Soderstrom wrote: > On 07/15 09:15 , Eric Crist wrote: > > I agree with this, though the cat part isn't needed: > > > > sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html > > Thank you for the 'aha!' moment this gave me. One of those things I should > know, but never learned for whatever reason. > -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Mon Jul 16 15:15:07 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Mon, 16 Jul 2012 16:15:07 -0400 Subject: [tclug-list] html/process question Message-ID: Eric Crist: > On Jul 15, 2012, at 21:47:51, Brian Wood wrote: > >> Eric Crist: >> > I agree with this, though the cat part isn't needed: >> > >> > sed "s/MD5SUM_GOES_HERE/`md5sum direct.tar.bz2`/g" template.html > output.html >> >> I'm not sure that would work very well. It seems if I wanted to make >> changes not related to the checksum in the html file, I'd have to >> update the template file and then run sed to get the updates over >> to the final file. > > > I don't understand what you mean. If I do, then yes. Your template file is where all your changes belong. The sed command > (or a manual one-off cut/paste) is done to update the checksum. > > If you're updating both the HTML and the checksum often, you need something a bit more dynamic, I think, like a CGI script. I don't get it either. If I update template.html how does that update make it to output.html other than by running sed? I'd rather not have to run sed to get updates out that aren't related to the checksum. Originally when I asked I thought maybe there's an html tag that would take a file name and embed the file's contents into the page, but I guess that doesn't exist. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuporglue at gmail.com Mon Jul 16 16:13:31 2012 From: stuporglue at gmail.com (Michael Moore) Date: Mon, 16 Jul 2012 16:13:31 -0500 Subject: [tclug-list] html/process question In-Reply-To: References: Message-ID: > If you're updating both the HTML and the checksum often, you need something a bit more dynamic, I think, like a CGI script. > > > I don't get it either. If I update template.html how does that update > make it > to output.html other than by running sed? I'd rather not have to run sed > to get > updates out that aren't related to the checksum. > > Originally when I asked I thought maybe there's an html tag that > would take a file name and embed the file's contents into the page, > but I guess that doesn't exist. > HTML itself is just plain text, there aren't any tags that run operations on the server like including a file's contents into the page. Depending on where you're hosting you could use CGI, Server Side Includes, PHP, or any number of other language options to do the job. If you want to use a shell script, with no template, you could try something like this: Step 1: Enclose the md5 sum with tags and an ID you can use to find it. 705e7980394e597ade51f8ccd2cbfe20 MyProgram.exe Script option 1 -- inline md5sum: perl -p -i -e "s|().*?()|\${1}`md5sum MyProgram.exe`\${2}|" output.html Script option 2 -- md5sum in variable PROGRAM_MD5=`md5sum test.html` perl -p -i -e "s|().*?()|\${1}$PROGRAM_MD5\${2}|" output.html The above regex assumes that the start and end span tags are on the same line. -- http://fridleyfarmer.com -- The Fridley Farmer http://stuporglue.org -- Web programming, Moore's Ramblings III and other Miscellaneous Projects -------------- next part -------------- An HTML attachment was scrubbed... URL: From andyzib at gmail.com Mon Jul 16 23:27:40 2012 From: andyzib at gmail.com (Andrew S. Zbikowski) Date: Mon, 16 Jul 2012 23:27:40 -0500 Subject: [tclug-list] DNS Registrar Suggestions In-Reply-To: <20120711004757.GC30957@fireopal.org> References: <20120711004757.GC30957@fireopal.org> Message-ID: I'm using gandi.net as well, through I have a few domains at hover.com as well. Both are excellent registrars and provide DNS. -- Andrew S. Zbikowski | http://andy.zibnet.us IT Outhouse Blog Thing | http://www.itouthouse.com From kris.browne at gmail.com Tue Jul 17 04:00:53 2012 From: kris.browne at gmail.com (Kris Browne) Date: Tue, 17 Jul 2012 04:00:53 -0500 Subject: [tclug-list] DNS Registrar Suggestions In-Reply-To: References: <20120711004757.GC30957@fireopal.org> Message-ID: I've always used pairnic.com and been really happy with it. Reasonable pricing, dynamic updating, pretty good control. Kris Browne kris.browne at gmail.com 612-353-6969 612-408-4431 http://www.google.com/profiles/kris.browne "the least expensive, most bug-free line of code is the one you didn't have to write." - Steve Jobs On Mon, Jul 16, 2012 at 11:27 PM, Andrew S. Zbikowski wrote: > I'm using gandi.net as well, through I have a few domains at > hover.com as well. Both are excellent registrars and provide DNS. > > -- > Andrew S. Zbikowski | http://andy.zibnet.us > IT Outhouse Blog Thing | http://www.itouthouse.com > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jolexa at jolexa.net Tue Jul 17 15:13:39 2012 From: jolexa at jolexa.net (Jeremy Olexa) Date: Tue, 17 Jul 2012 15:13:39 -0500 Subject: [tclug-list] For Sale: 2 computers, moving Message-ID: Excuse the offtopic email :) Computer 1 "Small form factor, desktop" I built this computer in Dec 2010, it still runs great. Asking $175, including monitor. Intel(R) Core(TM)2 Duo CPU E8400 @ 3.00GHz (dual core) 4G Mushkin RAM 250G Seagate SATA HD 23" ACER LCD Monitor (retail: $140 now) More details: http://jolexa.net/tmp/order1.jpg Computer 2 "MicroATX Mid Tower" I build this computer in Sep 2010. Used solely as a fileserver, so it is low powered. Asking $90. AMD 2.7Ghz AM3 45W (single core) 2G Geil RAM 32G Oynx SSD (This is the OS drive and I think it might be dying since the OS won't stay up) 1TB Seagate SATA HD More details: http://jolexa.net/tmp/order2.jpg Also, there will be a box of "electronic parts" - keyboards, mouse, 10/100 switch, cat5, etc. I'm selling these because I am moving in October and I need to downsize. I'll sell both together for $240. You can contact me directly if interested, please. Thanks, -Jeremy From canito at dalan.us Tue Jul 17 15:29:33 2012 From: canito at dalan.us (canito at dalan.us) Date: Tue, 17 Jul 2012 15:29:33 -0500 Subject: [tclug-list] Pluggable Authentication Modules Message-ID: <20120717152933.Horde.ZB5oF6iUW7BQBcstmX9iCNA@mail.dalan.us> Hi All- I am setting up a Red Hat system which I would like to configure PAM on it. Does anyone have good online documentation explaining the different PAM modules? It doesn't need to provide examples, but it would be helpful. Currently I am reading Red Hat documentation, and I know that kernel.org had some information back in the day which I can't find now. Good reads are definitely appreciated! Thanks! D From droidjd at gmail.com Tue Jul 17 15:42:04 2012 From: droidjd at gmail.com (Andrew Dahl) Date: Tue, 17 Jul 2012 15:42:04 -0500 Subject: [tclug-list] Pluggable Authentication Modules In-Reply-To: <20120717152933.Horde.ZB5oF6iUW7BQBcstmX9iCNA@mail.dalan.us> References: <20120717152933.Horde.ZB5oF6iUW7BQBcstmX9iCNA@mail.dalan.us> Message-ID: Back when I worked with PAM and wrote a few custom modules, I mostly looked at the RedHat documentation. For more "custom" modules (e.g. pam_mysql) googling it and finding the project page is a good way to find that documentation on what you can do with it. You can also use the 'man' command to lookup the man pages for them. (e.g. "man pam_unix" or "man pam_access" has helped me out quite a bit in the past.) Hope this helps!! -Andrew On Tue, Jul 17, 2012 at 3:29 PM, wrote: > Hi All- > > I am setting up a Red Hat system which I would like to configure PAM on it. > > Does anyone have good online documentation explaining the different PAM > modules? It doesn't need to provide examples, but it would be helpful. > > Currently I am reading Red Hat documentation, and I know that kernel.orghad some information back in the day which I can't find now. > > Good reads are definitely appreciated! > > Thanks! > D > > ______________________________**_________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/**mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From wlrc06 at yahoo.com Tue Jul 17 23:01:25 2012 From: wlrc06 at yahoo.com (Rene Christian) Date: Tue, 17 Jul 2012 21:01:25 -0700 (PDT) Subject: [tclug-list] Fwd: Message-ID: <1342584085.79515.BPMail_high_noncarrier@web160903.mail.bf1.yahoo.com> http://biolog.avx.pl/interview.php?tevinyn=757&cuqicu=69 From Craig.A.Smith at honeywell.com Wed Jul 18 16:34:55 2012 From: Craig.A.Smith at honeywell.com (Smith, Craig A) Date: Wed, 18 Jul 2012 21:34:55 +0000 Subject: [tclug-list] Image::Magick question Message-ID: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> Fellow LUG'ers, I have a simple perl script (below) used to assemble MnDOT traffic animations, long-term weather patterns, security camera images, etc. It's worked well for over 8 years running on different hardware and various linux distros. Calls to ffmpeg create png files with normal 644 permissions, but mpeg files now get created with 600 (-rw --- ----). It didn't use to work that way when mpeg2encode was used. I have this issue on Red Hat Enterprise Linux Server release 5.8 (Tikanga) and a two year old Debian install. Why the change? How can I restore the earlier behavior? Setting umask to 022 within the script doesn't work, but I can chmod files at the end. I'm serving the mpegs from Apache and viewing with a browser plug in (QuickTime). They now appear "sticky" and "jerky." Older mpegs, created with the previous system, playback fine so the problem is not with Apache, browser, or plug-in. Newly created files are also much smaller (1.3M) compared to before (11M) , so I suspect the authors also chose a lower mpeg quality setting. Is there an mpeg quality setting available in Image::Magick? Here's my script. #! /usr/bin/perl # @(#) animate.pl - Craig A. Smith 2003-10-17 # Reads a series of images and writes an animation # doesn't work: umask(022); $sourcedir="/var/www/doggiecam/cam21"; $cameraname="back"; $outputdir="/var/www/doggiecam/animations"; use Image::Magick; #### delete jpegs after 2 days ## find truncates fractions of 24 hrs periods, so +1 only matches after 2 days system (rm -f `find $sourcedir -mtime +1 `); $date = `date -I`; chomp $date; my($image, $x); $image = Image::Magick->new; #### get all jpg files $x = $image->Read("$sourcedir/*.jpg"); warn "$x" if "$x"; ##### Write mpeg # #$x = $image->Resize(geometry=>'600x600'); $x = $image->Write("$outputdir/$date.$cameraname.mpeg"); warn "$x" if "$x"; ################################################################## # Example from www.imagemagick.org/www/perl.html#exam (no longer found) # reads three images, crops them, and writes a GIF animation sequence # # use Image::Magick; # my($image, $x); # $image = Image::Magick->new; # $x = $image->Read('girl.png', 'logo.png', 'rose.png'); # warn "$x" if "$x"; # $x = $image->Crop(geometry=>'100x100"+100"+100'); # warn "$x" if "$x"; # $x = $image->Write('x.png'); # warn "$x" if "$x"; ################################################################## -------------- next part -------------- An HTML attachment was scrubbed... URL: From tclug at freakzilla.com Wed Jul 18 16:53:11 2012 From: tclug at freakzilla.com (Yaron) Date: Wed, 18 Jul 2012 16:53:11 -0500 (CDT) Subject: [tclug-list] Image::Magick question In-Reply-To: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> Message-ID: Can't you just put a chmod in the script? On Wed, 18 Jul 2012, Smith, Craig A wrote: > > Fellow LUG?ers, > > ? > > I have a simple perl script (below) used to assemble MnDOT traffic animation > s, long-term weather patterns, security camera images, etc.? It?s worked wel > l for over 8 years running on different hardware and various linux distros.? > > > ? > > Calls to ffmpeg create png files with normal 644 permissions, but mpeg files > now get created with 600 (?rw --- ----).? ?It didn?t use to work that way w > hen mpeg2encode was used.? I have this issue on Red Hat Enterprise Linux Ser > ver release 5.8 (Tikanga) and a two year old Debian install. > > ? > > Why the change?? How can I restore the earlier behavior?? Setting umask to 0 > 22 within the script doesn?t work, but I can chmod files at the end. > > ? > > I?m serving the mpegs from Apache and viewing with a browser plug in > (QuickTime).? They now appear ?sticky? and ?jerky.?? Older mpegs, created > with the previous system, playback fine so the problem is not with Apache, > browser, or plug-in.? Newly created files are also much smaller (1.3M) > compared to before (11M) , so I suspect the authors also chose a lower mpeg > quality setting. > > ? > > Is there an mpeg quality setting available in Image::Magick? > > ? > > Here?s my script. > > ? > > #! /usr/bin/perl > > # @(#) animate.pl - Craig A. Smith 2003-10-17 > > # Reads a series of images and writes an animation > > ? > > # doesn't work: umask(022); > > ? > > $sourcedir="/var/www/doggiecam/cam21"; > > $cameraname="back"; > > $outputdir="/var/www/doggiecam/animations"; > > ? > > use Image::Magick; > > ? > > ####? delete jpegs after 2 days > > ## find truncates fractions of 24 hrs periods, so +1 only matches after 2 > days > > system (rm -f `find $sourcedir? -mtime +1 `); > > ? > > $date = `date -I`; > > chomp $date; > > my($image, $x); > > $image = Image::Magick->new; > > ? > > #### get all jpg files > > $x = $image->Read("$sourcedir/*.jpg"); > > warn "$x" if "$x"; > > ? > > ##### Write mpeg > > # #$x = $image->Resize(geometry=>'600x600'); > > $x = $image->Write("$outputdir/$date.$cameraname.mpeg"); > > warn "$x" if "$x"; > > ? > > ? > > ################################################################## > > # Example from www.imagemagick.org/www/perl.html#exam (no longer found) > > #? reads three images, crops them, and writes a GIF animation sequence > > # > > # use Image::Magick; > > # my($image, $x); > > # $image = Image::Magick->new; > > # $x = $image->Read('girl.png', 'logo.png', 'rose.png'); > > # warn "$x" if "$x"; > > # $x = $image->Crop(geometry=>'100x100"+100"+100'); > > # warn "$x" if "$x"; > > # $x = $image->Write('x.png'); > > # warn "$x" if "$x"; > > ################################################################## > > ? > > ? > > > -Yaron -- From Craig.A.Smith at honeywell.com Wed Jul 18 16:59:33 2012 From: Craig.A.Smith at honeywell.com (Smith, Craig A) Date: Wed, 18 Jul 2012 21:59:33 +0000 Subject: [tclug-list] Image::Magick question In-Reply-To: References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> Message-ID: <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> > Can't you just put a chmod in the script? That what I did, but the (partially calculated) mpegs cannot be viewed (with Apache) until the script is done. Since that can take hours, I'd hoped to preview initial frames sooner. From tclug at freakzilla.com Wed Jul 18 17:03:53 2012 From: tclug at freakzilla.com (Yaron) Date: Wed, 18 Jul 2012 17:03:53 -0500 (CDT) Subject: [tclug-list] Image::Magick question In-Reply-To: <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> Message-ID: You could always create the file with the correct permissions first and then write to it, I think. On Wed, 18 Jul 2012, Smith, Craig A wrote: >> Can't you just put a chmod in the script? > > That what I did, but the (partially calculated) mpegs cannot be viewed (with Apache) until the script is done. Since that can take hours, I'd hoped to preview initial frames sooner. > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -Yaron -- From jake.vath at gmail.com Wed Jul 18 17:04:43 2012 From: jake.vath at gmail.com (Jake Vath) Date: Wed, 18 Jul 2012 17:04:43 -0500 Subject: [tclug-list] Image::Magick question In-Reply-To: <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> Message-ID: Hey Craig, Under what user are you running the script? Is that the same across all the the systems? -> Jake On Wed, Jul 18, 2012 at 4:59 PM, Smith, Craig A wrote: > > Can't you just put a chmod in the script? > > That what I did, but the (partially calculated) mpegs cannot be viewed > (with Apache) until the script is done. Since that can take hours, I'd > hoped to preview initial frames sooner. > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jake.vath at gmail.com Wed Jul 18 17:06:12 2012 From: jake.vath at gmail.com (Jake Vath) Date: Wed, 18 Jul 2012 17:06:12 -0500 Subject: [tclug-list] Image::Magick question In-Reply-To: References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> Message-ID: That's not a bad idea, not a *real* fix, but that would be a clever work around... I like it :) -> Jake On Wed, Jul 18, 2012 at 5:03 PM, Yaron wrote: > You could always create the file with the correct permissions first and > then write to it, I think. > > > On Wed, 18 Jul 2012, Smith, Craig A wrote: > > Can't you just put a chmod in the script? >>> >> >> That what I did, but the (partially calculated) mpegs cannot be viewed >> (with Apache) until the script is done. Since that can take hours, I'd >> hoped to preview initial frames sooner. >> >> ______________________________**_________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/**mailman/listinfo/tclug-list >> >> > > -Yaron > > -- > > ______________________________**_________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/**mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From jmore at starmind.org Wed Jul 18 17:06:28 2012 From: jmore at starmind.org (Josh More) Date: Wed, 18 Jul 2012 17:06:28 -0500 Subject: [tclug-list] Image::Magick question In-Reply-To: References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> Message-ID: Did you people read the post? The permissions aren't the problem, they're a symptom. This is a question about animation quality. (I'd help, but I don't know the answer. Sorry Craig.) -Josh On Wed, Jul 18, 2012 at 5:04 PM, Jake Vath wrote: > Hey Craig, > > Under what user are you running the script? > Is that the same across all the the systems? > > -> Jake > > > On Wed, Jul 18, 2012 at 4:59 PM, Smith, Craig A > wrote: >> >> > Can't you just put a chmod in the script? >> >> That what I did, but the (partially calculated) mpegs cannot be viewed >> (with Apache) until the script is done. Since that can take hours, I'd >> hoped to preview initial frames sooner. >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > From ecrist at secure-computing.net Wed Jul 18 17:07:50 2012 From: ecrist at secure-computing.net (Eric F Crist) Date: Wed, 18 Jul 2012 17:07:50 -0500 Subject: [tclug-list] Image::Magick question In-Reply-To: <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> <994D9F23C50CD44BA7A8AED87EC114C7106457CC@de08ex3001.global.ds.honeywell.com> Message-ID: <771c6a8a-6b4b-40dd-9b2d-cf4a9d3056c0@email.android.com> Touch the file and chmod first, then generate. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity. "Smith, Craig A" wrote: > Can't you just put a chmod in the script? That what I did, but the (partially calculated) mpegs cannot be viewed (with Apache) until the script is done. Since that can take hours, I'd hoped to preview initial frames sooner. _____________________________________________ TCLUG Mailing List - Minneapolis/St. Paul, Minnesota tclug-list at mn-linux.org http://mailman.mn-linux.org/mailman/listinfo/tclug-list -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuporglue at gmail.com Wed Jul 18 17:56:03 2012 From: stuporglue at gmail.com (Michael Moore) Date: Wed, 18 Jul 2012 17:56:03 -0500 Subject: [tclug-list] Image::Magick question In-Reply-To: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> References: <994D9F23C50CD44BA7A8AED87EC114C71064579D@de08ex3001.global.ds.honeywell.com> Message-ID: > I?m serving the mpegs from Apache and viewing with a browser plug in (QuickTime). They now appear ?sticky? and ?jerky.? Older mpegs, created with the previous system, playback fine so the problem is not with Apache, browser, or plug-in. Newly created files are also much smaller (1.3M) compared to before (11M) , so I suspect the authors also chose a lower mpeg quality setting. Maybe if you can identify what is different between the files you'll have a better idea what settings to be looking for. Ffmpeg can tell you the file details if give the file as an input and don't do any operations. eg. ffmpeg -i old_smooth_file.mpeg ffmpeg -i new_jerky_file.mpeg I've never used ImageMagick for making videos from still images (always used ffmpeg for that...), but this mailing list thread suggests that ffmpeg is what's actually making the videos in the background. http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=13650 This newer link suggests that you might be able to change the ffmpeg defaults (as called by ImageMagick) in you delegates.xml file. Michael Moore -- http://fridleyfarmer.com -- The Fridley Farmer http://stuporglue.org -- Web programming, Moore's Ramblings III and other Miscellaneous Projects From gm5729 at gmail.com Thu Jul 19 12:08:52 2012 From: gm5729 at gmail.com (gk) Date: Thu, 19 Jul 2012 13:08:52 -0400 Subject: [tclug-list] Image::Magick question Message-ID: It may be time to revisit the capabilities of ImageMagick since the original perl script was written. At that time there were licensing issues with GIF so they could not be included in IM. A perl script may have been necessary at that time. IM can however, size, crop, change format in a half line command instead of an eloborate perl placement. ImageMagick?, is a software suite to create, edit, and compose bitmap images. It can read, convert and write images in a variety of formats (about 100) including GIF, JPEG, JPEG-2000, PNG, PDF, PhotoCD, TIFF, and DPX. Use ImageMagick to translate, flip, mirror, rotate, scale, shear and transform images, adjust image colors, apply various special effects, or draw text, lines, polygons, ellipses and B\['e]zier curves. stream is a lightweight tool to stream one or more pixel components of the image or portion of the image to your choice of storage formats. It writes the pixel components as they are read from the input image a row at a time making stream desirable when working with large images or when you require raw pixel components. # !/bin/sh - for i in *.jpg; do j=`basename $i | sed -e 's/\.jpg//'` mogrify -resize 800x600 -format png *.jpg done Happy gif-ng! gkey On Thu, Jul 19, 2012 at 1:00 PM, wrote: > Send tclug-list mailing list submissions to > tclug-list at mn-linux.org > > To subscribe or unsubscribe via the World Wide Web, visit > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > or, via email, send a message with subject or body 'help' to > tclug-list-request at mn-linux.org > > You can reach the person managing the list at > tclug-list-owner at mn-linux.org > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of tclug-list digest..." > > > Today's Topics: > > 1. Re: Image::Magick question (Jake Vath) > 2. Re: Image::Magick question (Josh More) > 3. Re: Image::Magick question (Eric F Crist) > 4. Re: Image::Magick question (Michael Moore) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Wed, 18 Jul 2012 17:06:12 -0500 > From: Jake Vath > To: TCLUG Mailing List > Subject: Re: [tclug-list] Image::Magick question > Message-ID: > > Content-Type: text/plain; charset="iso-8859-1" > > That's not a bad idea, not a *real* fix, but that would be a clever work > around... I like it :) > > -> Jake > > On Wed, Jul 18, 2012 at 5:03 PM, Yaron wrote: > >> You could always create the file with the correct permissions first and >> then write to it, I think. >> >> >> On Wed, 18 Jul 2012, Smith, Craig A wrote: >> >> Can't you just put a chmod in the script? >>>> >>> >>> That what I did, but the (partially calculated) mpegs cannot be viewed >>> (with Apache) until the script is done. Since that can take hours, I'd >>> hoped to preview initial frames sooner. >>> >>> ______________________________**_________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/**mailman/listinfo/tclug-list >>> >>> >> >> -Yaron >> >> -- >> >> ______________________________**_________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/**mailman/listinfo/tclug-list >> > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 2 > Date: Wed, 18 Jul 2012 17:06:28 -0500 > From: Josh More > To: TCLUG Mailing List > Subject: Re: [tclug-list] Image::Magick question > Message-ID: > > Content-Type: text/plain; charset=ISO-8859-1 > > Did you people read the post? > > The permissions aren't the problem, they're a symptom. This is a > question about animation quality. > > (I'd help, but I don't know the answer. Sorry Craig.) > > -Josh > > On Wed, Jul 18, 2012 at 5:04 PM, Jake Vath wrote: >> Hey Craig, >> >> Under what user are you running the script? >> Is that the same across all the the systems? >> >> -> Jake >> >> >> On Wed, Jul 18, 2012 at 4:59 PM, Smith, Craig A >> wrote: >>> >>> > Can't you just put a chmod in the script? >>> >>> That what I did, but the (partially calculated) mpegs cannot be viewed >>> (with Apache) until the script is done. Since that can take hours, I'd >>> hoped to preview initial frames sooner. >>> >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> >> >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> > > > ------------------------------ > > Message: 3 > Date: Wed, 18 Jul 2012 17:07:50 -0500 > From: Eric F Crist > To: TCLUG Mailing List , TCLUG Mailing List > > Subject: Re: [tclug-list] Image::Magick question > Message-ID: <771c6a8a-6b4b-40dd-9b2d-cf4a9d3056c0 at email.android.com> > Content-Type: text/plain; charset="utf-8" > > Touch the file and chmod first, then generate. > -- > Sent from my Android phone with K-9 Mail. Please excuse my brevity. > > "Smith, Craig A" wrote: > >> Can't you just put a chmod in the script? > > That what I did, but the (partially calculated) mpegs cannot be viewed (with Apache) until the script is done. Since that can take hours, I'd hoped to preview initial frames sooner. > > _____________________________________________ > > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: > > ------------------------------ > > Message: 4 > Date: Wed, 18 Jul 2012 17:56:03 -0500 > From: Michael Moore > To: TCLUG Mailing List > Subject: Re: [tclug-list] Image::Magick question > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > >> I?m serving the mpegs from Apache and viewing with a browser plug in (QuickTime). They now appear ?sticky? and ?jerky.? Older mpegs, created with the previous system, playback fine so the problem is not with Apache, browser, or plug-in. Newly created files are also much smaller (1.3M) compared to before (11M) , so I suspect the authors also chose a lower mpeg quality setting. > > > Maybe if you can identify what is different between the files you'll > have a better idea what settings to be looking for. Ffmpeg can tell > you the file details if give the file as an input and don't do any > operations. > > eg. > ffmpeg -i old_smooth_file.mpeg > ffmpeg -i new_jerky_file.mpeg > > I've never used ImageMagick for making videos from still images > (always used ffmpeg for that...), but this mailing list thread > suggests that ffmpeg is what's actually making the videos in the > background. http://www.imagemagick.org/discourse-server/viewtopic.php?f=1&t=13650 > > This newer link suggests that you might be able to change the ffmpeg > defaults (as called by ImageMagick) in you delegates.xml file. > > > Michael Moore > -- > http://fridleyfarmer.com -- The Fridley Farmer > http://stuporglue.org -- Web programming, Moore's Ramblings III and > other Miscellaneous Projects > > > ------------------------------ > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > End of tclug-list Digest, Vol 91, Issue 16 > ****************************************** -- --- Gregory Key https://gm5729.deviantart.com/ Please conserve paper and print this email out ONLY if necessary. gm5729 -AT- gmail -DOT- com gm5729 -AT- gmx -DOT- us From nealzimm at cpinternet.com Sat Jul 21 15:38:30 2012 From: nealzimm at cpinternet.com (Neal Zimmermann) Date: Sat, 21 Jul 2012 15:38:30 -0500 Subject: [tclug-list] Protocol Message-ID: <1342903110.2429.3.camel@fenton.leeshore.net> I have seen enough apologies on this list about selling equipment, I have some computers (2 relics, 2 fairly (<6 yrs) new) I would like to loose, but I would like to do a "proper" posting. Can someone point the way for me? Neal From tclug at freakzilla.com Sat Jul 21 16:19:09 2012 From: tclug at freakzilla.com (Yaron) Date: Sat, 21 Jul 2012 16:19:09 -0500 (CDT) Subject: [tclug-list] Protocol In-Reply-To: <1342903110.2429.3.camel@fenton.leeshore.net> References: <1342903110.2429.3.camel@fenton.leeshore.net> Message-ID: Just go ahead and post them, and say "Sorry for posting this" at the top. On Sat, 21 Jul 2012, Neal Zimmermann wrote: > I have seen enough apologies on this list about selling equipment, > I have some computers (2 relics, 2 fairly (<6 yrs) new) I would like to > loose, > but I would like to do a "proper" posting. > > Can someone point the way for me? > > Neal > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > -Yaron -- From nesius at gmail.com Sat Jul 21 21:42:38 2012 From: nesius at gmail.com (Robert Nesius) Date: Sat, 21 Jul 2012 21:42:38 -0500 Subject: [tclug-list] Protocol In-Reply-To: References: <1342903110.2429.3.camel@fenton.leeshore.net> Message-ID: All prospective hardware sales must be vetted by me. Email me first... ;-) -Rob On Sat, Jul 21, 2012 at 4:19 PM, Yaron wrote: > Just go ahead and post them, and say "Sorry for posting this" at the top. > > On Sat, 21 Jul 2012, Neal Zimmermann wrote: > > I have seen enough apologies on this list about selling equipment, >> I have some computers (2 relics, 2 fairly (<6 yrs) new) I would like to >> loose, >> but I would like to do a "proper" posting. >> >> Can someone point the way for me? >> >> Neal >> >> ______________________________**_________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/**mailman/listinfo/tclug-list >> >> > > -Yaron > > -- > ______________________________**_________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/**mailman/listinfo/tclug-list > -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Sun Jul 22 15:47:10 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Sun, 22 Jul 2012 16:47:10 -0400 Subject: [tclug-list] Identifying piggy websites Message-ID: Normally, I can have 30 or more tabs open in Firefox and the top command will report that Firefox is taking less than 2% of the cpu. Sometimes though, I'll run top and Firefox is taking more than 25% and so I'll close several of my tabs in an effort to find the one or so that are hogging resources. Are there any cpu monitoring tools I could configure to pop up when a process has taken a given percentage of cpu over a certain length of time? Tia. And a reminder: Some have said, "Nothing good happens after midnight." That's one thing that crossed my mind when watching the news about the tragedy in Colorado. I'm disliking Warner Brothers for encouraging people to go to a movie at that hour. I don't remember the details of Cinderella, but something about turning into a pumpkin if she didn't get home by midnight. Shalom, Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From justin.kremer at gmail.com Sun Jul 22 21:18:57 2012 From: justin.kremer at gmail.com (Justin Kremer) Date: Sun, 22 Jul 2012 21:18:57 -0500 Subject: [tclug-list] FS: Toshiba Satellite laptop Message-ID: As per protocol, sorry for posting this directly. My sister asked me to sell her old laptop for her, and I know that some people on this list are fans of "older" hardware, so I thought I'd throw it out here before elsewhere. It is a Toshiba Satellite M55-S3512. It has a 1.86ghz Pentium M and 1GB of RAM. I believe it is a 14" screen and it has a native resolution of 1280x768. Its condition is rough but it works fine. I have it dual-booting Windows XP and Ubuntu 12.04, e-mailing from Ubuntu on the system. e-mail me off list if you want more info. Asking $80 or best offer. - Justin From tclug at freakzilla.com Sun Jul 22 21:31:59 2012 From: tclug at freakzilla.com (Yaron) Date: Sun, 22 Jul 2012 21:31:59 -0500 (CDT) Subject: [tclug-list] Identifying piggy websites In-Reply-To: References: Message-ID: On Sun, 22 Jul 2012, Brian Wood wrote: > I'm disliking Warner Brothers for encouraging people to go > to a movie at that hour.? Seriously??? First of all, all movies have release dates. ALL movies by ALL studios. Theatres can choose to screen the movies as soon as it's legally that day, i.e., a minute after Midnight. It's not Warner Bros. fault that there happened to be a nutcase at that one. Seriously dude. This is actually the first shooting rampage I can think of that wasn't during the day. And you're somehow comparing this to a fairy tale that has abrolutely nothing to do with yout question? What is wrong with you? - -- From justin.kremer at gmail.com Sun Jul 22 21:41:07 2012 From: justin.kremer at gmail.com (Justin Kremer) Date: Sun, 22 Jul 2012 21:41:07 -0500 Subject: [tclug-list] Identifying piggy websites In-Reply-To: References: Message-ID: On Sun, Jul 22, 2012 at 3:47 PM, Brian Wood wrote: > Normally, I can have 30 or more tabs open in Firefox and > the top command will report that Firefox is taking less than > 2% of the cpu. Sometimes though, I'll run top and Firefox > is taking more than 25% and so I'll close several of my tabs > in an effort to find the one or so that are hogging resources. > Are there any cpu monitoring tools I could configure to pop > up when a process has taken a given percentage of cpu > over a certain length of time? Tia. I don't know of anything quite like you describe, but could you just leave a terminal running top in the background for a while? Top uses very small amounts of resources when left running in Linux. Or you could make a cron job to run a script that uses ps, searches for firefox processes and check their CPU usage...and e-mail you or something if it gets over 20% or so. Conky or GKrellm might have a pretty GUI to show the same thing. But beauty is in the eye of the beholder. Another rather different (and possibly undesirable) option is to temporarily switch to Chrome or Chromium and see if you still run into resource issues. If you do, it creates a separate process for each tab, so you can more easily isolate which tab is misbehaving. A couple downsides are that you would have to switch browsers and configure Chrome to your liking, and also Chrome tends to use more resources than Firefox because of its process isolation...the very thing that makes it desirable for debugging an issue like this. It might be worth a shot, though. - Justin From eng at pinenet.com Mon Jul 23 02:34:04 2012 From: eng at pinenet.com (Rick Engebretson) Date: Mon, 23 Jul 2012 02:34:04 -0500 Subject: [tclug-list] Identifying piggy websites In-Reply-To: References: Message-ID: <500CFE6C.8020300@pinenet.com> I never have 30 tabs of anything open, but IceWM can spot a piggy website. Most window managers have a taskbar applet like top, but IceWM resource meter is simple and standard. Several resources can be monitored including CPU and network activity. Not only are some sites CPU and memory pigs, but they try do a lot of network snooping using RPC. And some colorful bars on the applet light up. I usually start my browser with an XTerm, so my browser (SeaMonkey) leaves some helpful error messages. I'm sure a script could be invoked to tee and pipe StdErr. A decent browser should detect many such problems. Certainly not great detective work. Just something simple I like. Yeah, crazy world. Brian Wood wrote: > Normally, I can have 30 or more tabs open in Firefox and > the top command will report that Firefox is taking less than > 2% of the cpu. Sometimes though, I'll run top and Firefox > is taking more than 25% and so I'll close several of my tabs > in an effort to find the one or so that are hogging resources. > Are there any cpu monitoring tools I could configure to pop > up when a process has taken a given percentage of cpu > over a certain length of time? Tia. > > And a reminder: Some have said, "Nothing good happens > after midnight." That's one thing that crossed my mind > when watching the news about the tragedy in Colorado. > I'm disliking Warner Brothers for encouraging people to go > to a movie at that hour. I don't remember the details of > Cinderella, but something about turning into a pumpkin if > she didn't get home by midnight. > > > Shalom, > Brian Wood > Ebenezer Enterprises > http://webEbenezer.net > > > > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From jjensen at apache.org Mon Jul 23 07:26:54 2012 From: jjensen at apache.org (Jeff Jensen) Date: Mon, 23 Jul 2012 07:26:54 -0500 Subject: [tclug-list] Identifying piggy websites In-Reply-To: <500CFE6C.8020300@pinenet.com> References: <500CFE6C.8020300@pinenet.com> Message-ID: I use FireFox tab groups (very helpful to organize tabs by topic). Only the tabs I'm currently interested in are active at startup and when switching. I don't know what FF does with the background tabs in groups, but I haven't yet encountered a problem. I have well over 30 tabs across all groups. On Mon, Jul 23, 2012 at 2:34 AM, Rick Engebretson wrote: > I never have 30 tabs of anything open, but IceWM can spot a piggy website. > Most window managers have a taskbar applet like top, but IceWM resource > meter is simple and standard. Several resources can be monitored including > CPU and network activity. Not only are some sites CPU and memory pigs, but > they try do a lot of network snooping using RPC. And some colorful bars on > the applet light up. > > I usually start my browser with an XTerm, so my browser (SeaMonkey) leaves > some helpful error messages. I'm sure a script could be invoked to tee and > pipe StdErr. A decent browser should detect many such problems. > > Certainly not great detective work. Just something simple I like. > > Yeah, crazy world. > > Brian Wood wrote: >> >> Normally, I can have 30 or more tabs open in Firefox and >> the top command will report that Firefox is taking less than >> 2% of the cpu. Sometimes though, I'll run top and Firefox >> is taking more than 25% and so I'll close several of my tabs >> in an effort to find the one or so that are hogging resources. >> Are there any cpu monitoring tools I could configure to pop >> up when a process has taken a given percentage of cpu >> over a certain length of time? Tia. >> >> And a reminder: Some have said, "Nothing good happens >> after midnight." That's one thing that crossed my mind >> when watching the news about the tragedy in Colorado. >> I'm disliking Warner Brothers for encouraging people to go >> to a movie at that hour. I don't remember the details of >> Cinderella, but something about turning into a pumpkin if >> she didn't get home by midnight. >> >> >> Shalom, >> Brian Wood >> Ebenezer Enterprises >> http://webEbenezer.net >> >> >> >> >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From gsker at skerbitz.org Mon Jul 23 21:38:40 2012 From: gsker at skerbitz.org (Gerry) Date: Mon, 23 Jul 2012 21:38:40 -0500 (CDT) Subject: [tclug-list] Identifying piggy websites In-Reply-To: References: Message-ID: On Sun, 22 Jul 2012, Justin Kremer wrote: > On Sun, Jul 22, 2012 at 3:47 PM, Brian Wood wrote: >> Normally, I can have 30 or more tabs open in Firefox and >> the top command will report that Firefox is taking less than >> 2% of the cpu. Sometimes though, I'll run top and Firefox >> is taking more than 25% and so I'll close several of my tabs >> in an effort to find the one or so that are hogging resources. >> Are there any cpu monitoring tools I could configure to pop >> up when a process has taken a given percentage of cpu >> over a certain length of time? Tia. > > I don't know of anything quite like you describe, but could you just > leave a terminal running top in the background for a while? Top uses > very small amounts of resources when left running in Linux. Or you > could make a cron job to run a script that uses ps, searches for > firefox processes and check their CPU usage...and e-mail you or > something if it gets over 20% or so. > Conky or GKrellm might have a pretty GUI to show the same thing. But > beauty is in the eye of the beholder. > Another rather different (and possibly undesirable) option is to > temporarily switch to Chrome or Chromium and see if you still run into > resource issues. If you do, it creates a separate process for each > tab, so you can more easily isolate which tab is misbehaving. A > couple downsides are that you would have to switch browsers and > configure Chrome to your liking, and also Chrome tends to use more > resources than Firefox because of its process isolation...the very > thing that makes it desirable for debugging an issue like this. It > might be worth a shot, though. > - Justin In chromium-browser Memory, CPU Nework and FPS for each Tab. Press Shift-Esc http://malektips.com/google-chrome-memory-usage.html Cool! -- Gerry Skerbitz gsker at skerbitz.org From goeko at Goecke-Dolan.com Tue Jul 24 00:04:00 2012 From: goeko at Goecke-Dolan.com (Brian) Date: Tue, 24 Jul 2012 00:04:00 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th Message-ID: <500E2CC0.5020809@Goecke-Dolan.com> This months PenguinsUnbound.com meeting will be Saturday July 28th at TIES, 1667 Snelling Ave. N., St. Paul, MN 55108 from 10:00am to 12:00pm (See the web site http://www.penguinsunbound.com for directions and more info.) Samba/CIFS Christopher R. Hertel will talk about Samba/CIFS. He wrote the book on it... http://ubiqx.org/cifs/ I hope to see you there! ==>brian. *** STREAMING *** If you can't make it you can use this url to stream the meeting. mms://rss2000.video.ties2.net:1800 You should be able to connect with either: mplayer mms://rss2000.video.ties2.net:1800 or vlc http://rss2000.video.ties2.net:1800 From andyzib at gmail.com Tue Jul 24 10:36:22 2012 From: andyzib at gmail.com (Andrew S. Zbikowski) Date: Tue, 24 Jul 2012 10:36:22 -0500 Subject: [tclug-list] Protocol In-Reply-To: References: <1342903110.2429.3.camel@fenton.leeshore.net> Message-ID: In the past there used to be a TCLUG Classifieds website to curb "is this still available?" replies and other noise going out to the entire list, but that site has been gone for some time. So in general, when sending a want ad to the list: * Follow proper email and mailing list etiquette. * Try and keep it short while passing along the critical info. * Make sure the subject is easily identifiable as a for sale posting. * When your item is sold please reply to your original email stating so (Preserve the thread!) * If you are infested in something being sold by another list member, please reply directly to the seller not the entire list. -- Andrew S. Zbikowski | http://andy.zibnet.us IT Outhouse Blog Thing | http://www.itouthouse.com From woodbrian77 at gmail.com Tue Jul 24 13:26:38 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Tue, 24 Jul 2012 14:26:38 -0400 Subject: [tclug-list] Identifying piggy websites Message-ID: Justin Kremer: > I don't know of anything quite like you describe, but could you just > leave a terminal running top in the background for a while? Top uses > very small amounts of resources when left running in Linux. Or you > could make a cron job to run a script that uses ps, searches for > firefox processes and check their CPU usage...and e-mail you or > something if it gets over 20% or so. I don't pay attention to top if I leave it running all the time. By the time I notice some lag, I've probably changed 10 of my tabs to new websites and I'm not positive which one is eating using up the resources. > Conky or GKrellm might have a pretty GUI to show the same thing. But > beauty is in the eye of the beholder. > Another rather different (and possibly undesirable) option is to > temporarily switch to Chrome or Chromium and see if you still run into > resource issues. If you do, it creates a separate process for each > tab, so you can more easily isolate which tab is misbehaving. A > couple downsides are that you would have to switch browsers and > configure Chrome to your liking, and also Chrome tends to use more > resources than Firefox because of its process isolation...the very > thing that makes it desirable for debugging an issue like this. It > might be worth a shot, though. I've thought about using Chrome, but haven't installed a recent version. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From woodbrian77 at gmail.com Tue Jul 24 13:33:50 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Tue, 24 Jul 2012 14:33:50 -0400 Subject: [tclug-list] Identifying piggy websites Message-ID: Gerry: > In chromium-browser > Memory, CPU Nework and FPS for each Tab. > Press Shift-Esc > > http://malektips.com/google-chrome-memory-usage.html Yeah, I guess Chrome has some advantages. Firefox is like a big bowl of soup and who knows what's in there. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From stuporglue at gmail.com Tue Jul 24 13:52:33 2012 From: stuporglue at gmail.com (Michael Moore) Date: Tue, 24 Jul 2012 13:52:33 -0500 Subject: [tclug-list] Identifying piggy websites In-Reply-To: References: Message-ID: >> In chromium-browser >> Memory, CPU Nework and FPS for each Tab. >> Press Shift-Esc >> >> http://malektips.com/google-chrome-memory-usage.html > > Yeah, I guess Chrome has some advantages. Firefox is like > a big bowl of soup and who knows what's in there. I just discovered that about:memory is in there. It appears to show a memory usage breakdown. It doesn't appear to break it down by tab directly though. Michael From woodbrian77 at gmail.com Tue Jul 24 14:20:12 2012 From: woodbrian77 at gmail.com (Brian Wood) Date: Tue, 24 Jul 2012 15:20:12 -0400 Subject: [tclug-list] Identifying piggy websites Message-ID: Rick Engebretson: > I never have 30 tabs of anything open, but IceWM can spot a piggy > website. Most window managers have a taskbar applet like top, but IceWM > resource meter is simple and standard. Several resources can be > monitored including CPU and network activity. Not only are some sites > CPU and memory pigs, but they try do a lot of network snooping using > RPC. And some colorful bars on the applet light up. I stopped using gnome and started using xfce a few months ago. I'll have to check if IceWm and xfce can work together or if I would have to switch to IceWM. After posting and before reading the replies I thought about something colorful that would light up when something was spiking. > > I usually start my browser with an XTerm, so my browser (SeaMonkey) > leaves some helpful error messages. I'm sure a script could be invoked > to tee and pipe StdErr. A decent browser should detect many such problems. I'm not sure that would help even if Firefox did output something. It's kind of like top where I wouldn't notice it cause it would mostly be under other windows. I may need a bigger monitor. Mine is 24", but I've thought about getting a bigger one. -- Brian Wood Ebenezer Enterprises http://webEbenezer.net -------------- next part -------------- An HTML attachment was scrubbed... URL: From jhsu802701 at jasonhsu.com Thu Jul 26 12:17:00 2012 From: jhsu802701 at jasonhsu.com (Jason Hsu) Date: Thu, 26 Jul 2012 12:17:00 -0500 Subject: [tclug-list] Android app: Find Your First Linux Distro Message-ID: <20120726121700.ad3eecb085ca616de76a0470@jasonhsu.com> Check out my new Android app Find Your First Linux Distro. That old PC has value, and you can revive it with Linux. But out of the hundreds of Linux distros out there, which one should you start with? Find Your First Linux Distro will help you decide based on the specs of your PC. Find Your First Linux Distro is available for free at https://play.google.com/store/apps/details?id=com.jasonhsu.firstdistro -- Jason Hsu From florin at iucha.net Thu Jul 26 23:11:26 2012 From: florin at iucha.net (Florin Iucha) Date: Thu, 26 Jul 2012 23:11:26 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <500E2CC0.5020809@Goecke-Dolan.com> References: <500E2CC0.5020809@Goecke-Dolan.com> Message-ID: <20120727041125.GG26859@signbit.net> On Tue, Jul 24, 2012 at 12:04:00AM -0500, Brian wrote: > This months PenguinsUnbound.com meeting will be > Saturday July 28th at TIES, > 1667 Snelling Ave. N., St. Paul, MN 55108 > from 10:00am to 12:00pm > (See the web site http://www.penguinsunbound.com for directions and more > info.) > > Samba/CIFS > > Christopher R. Hertel will talk about Samba/CIFS. > > He wrote the book on it... > http://ubiqx.org/cifs/ > > I hope to see you there! Brian, Can you relay questions from the people not in attendance? "What can I do to get Samba 3.6.0 (Debian) to perform acceptably?" Context: I have a workstation W (running Windows 7 Professional 64 bit) and a server S running Debian GNU/Linux 64 bit). The workstation is a 6-core Xeon, the server is a 4-core i7, both with hyperthreading. The workstation has 12GB of RAM, the server has 16. The workstation has on-board dual Intel gigabit Ethernet controllers (with Jumbo frames enabled, IP checksum offload, TCP checksum offload, ...). The server has dual Marvell SysKonnect gigabit Ethernet controllers (with Jumbo frames enabled, IP checksum offload, TCP checksum offload, ...). They are connected via a Cisco SG300-10 managed gigabit switch with Jumbo frames enabled. I have installed a fresh copy of Debian wheezy (kernel 3.2.0, samba 3.6.0). On the system hard drive (Samsung 1TB, 7200 RPM) I have created two logical volumes, formatted one with XFS (or ext4) and one exported through iSCSI. iperf with 128KB window on the Linux side and 1024KB window and 1024KB length of buffer to send determines the speed to be 801mbit/second. Importing the iSCSI partition on Windows, formatting it with NTFS, then copying 11GB (basically tarring up C:\Program Files using 7-zip, no compression) and monitoring the performance with 'dstat 5' on Linux produces a steady stream of network receives and disk writes at 75-79 MBytes/second. Connecting the mounted filesystem that is exported via Samba and writing the same test file produces network receive rates that fluctuate between 21 MBytes/s and 51 MBytes/s (but clustered around 35-43 MBytes/s) The disk writes are also interesting, as they go between 2.5KBytes/s to 136MBytes/s. Other than the test, the boxes are completely idle. The only changes to the [global] section in smb.conf are: socket options = TCP_NODELAY SO_RCVBUF=131072 SO_SNDBUF=131072 min receivefile size = 16384 Thank you, florin PS: I have filed this bug as http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=682921 Samba Bugzilla wants me to create an account... -- Beware of software written by optimists! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From nesius at gmail.com Thu Jul 26 23:44:05 2012 From: nesius at gmail.com (Robert Nesius) Date: Thu, 26 Jul 2012 23:44:05 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <20120727041125.GG26859@signbit.net> References: <500E2CC0.5020809@Goecke-Dolan.com> <20120727041125.GG26859@signbit.net> Message-ID: On Thu, Jul 26, 2012 at 11:11 PM, Florin Iucha wrote: > On Tue, Jul 24, 2012 at 12:04:00AM -0500, Brian wrote: > > This months PenguinsUnbound.com meeting will be > > Saturday July 28th at TIES, > > 1667 Snelling Ave. N., St. Paul, MN 55108 > > from 10:00am to 12:00pm > > (See the web site http://www.penguinsunbound.com for directions and more > > info.) > > > > Samba/CIFS > > > > Christopher R. Hertel will talk about Samba/CIFS. > > > > He wrote the book on it... > > http://ubiqx.org/cifs/ > > > > I hope to see you there! > > Brian, > > Can you relay questions from the people not in attendance? > > "What can I do to get Samba 3.6.0 (Debian) to perform acceptably?" > > Context: I have a workstation W (running Windows 7 Professional 64 bit) > and a server S running Debian GNU/Linux 64 bit). The workstation is a > 6-core Xeon, the server is a 4-core i7, both with hyperthreading. The > workstation has 12GB of RAM, the server has 16. The workstation has > on-board dual Intel gigabit Ethernet controllers (with Jumbo frames > enabled, IP checksum offload, TCP checksum offload, ...). The server > has dual Marvell SysKonnect gigabit Ethernet controllers (with Jumbo > frames enabled, IP checksum offload, TCP checksum offload, ...). They > are connected via a Cisco SG300-10 managed gigabit switch with Jumbo > frames enabled. > > I have installed a fresh copy of Debian wheezy (kernel 3.2.0, samba > 3.6.0). On the system hard drive (Samsung 1TB, 7200 RPM) I have created > two logical volumes, formatted one with XFS (or ext4) and one exported > through iSCSI. > > iperf with 128KB window on the Linux side and 1024KB window and 1024KB > length of buffer to send determines the speed to be 801mbit/second. > > Importing the iSCSI partition on Windows, formatting it with NTFS, > then copying 11GB (basically tarring up C:\Program Files using 7-zip, > no compression) and monitoring the performance with 'dstat 5' on Linux > produces a steady stream of network receives and disk writes at 75-79 > MBytes/second. > > Connecting the mounted filesystem that is exported via Samba and writing > the same test file produces network receive rates that fluctuate between > 21 MBytes/s and 51 MBytes/s (but clustered around 35-43 MBytes/s) > The disk writes are also interesting, as they go between 2.5KBytes/s > to 136MBytes/s. > > Other than the test, the boxes are completely idle. > > The only changes to the [global] section in smb.conf are: > > socket options = TCP_NODELAY SO_RCVBUF=131072 SO_SNDBUF=131072 > min receivefile size = 16384 > > Thank you, > florin > > > With iSCSI, where is the filesystem management overhead? Is the filesystem overhead is on the client side with the server just receiving low-level I/O operations that go straight to disk, whereas with CIFS the server is having to handle mapping the I/O from the filesystem layer through to hardware layer, causing it to be slower on it's responses (ACKS)? I've never worked with it myself... just curious. -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From florin at iucha.net Fri Jul 27 07:20:32 2012 From: florin at iucha.net (Florin Iucha) Date: Fri, 27 Jul 2012 07:20:32 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th In-Reply-To: References: <500E2CC0.5020809@Goecke-Dolan.com> <20120727041125.GG26859@signbit.net> Message-ID: <20120727122032.GH26859@signbit.net> On Thu, Jul 26, 2012 at 11:44:05PM -0500, Robert Nesius wrote: > With iSCSI, where is the filesystem management overhead?Is the > filesystem overhead is on the client side with the server just receiving > low-level I/O operations that go straight to disk, whereas with CIFS the > server is having to handle mapping the I/O from the filesystem layer > through to hardware layer, causing it to be slower on it's responses > (ACKS)? I've never worked with it myself... just curious. Yes, that's how it works. However, I am measuring the performance of the system composed of the two machines (plus the switch) and iSCSI shows twice the performance of CIFS. Somebody has to do the filesystem dirty work, be it on the client or on the server. I could see where you have a workload that you spread across two sub-systems and if one of them reaches capacity, that limits the throughput of the entire system (some variation of Amdahl's law). But both boxes are very powerful (3.3GHz 6-core for workstation, 2.8GHz 4-core for server) and completely idle that neither is the bottleneck. I'm writing a 11GB file, and the server has 16GB of RAM. The CIFS results were so bad, I was concerned there was a problem with the hardware. It just occurred me two days ago that I could flip things around, use iSCSI and test the system performance in a different way. Cheers, florin -- Beware of software written by optimists! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From nesius at gmail.com Fri Jul 27 10:59:25 2012 From: nesius at gmail.com (Robert Nesius) Date: Fri, 27 Jul 2012 10:59:25 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <20120727122032.GH26859@signbit.net> References: <500E2CC0.5020809@Goecke-Dolan.com> <20120727041125.GG26859@signbit.net> <20120727122032.GH26859@signbit.net> Message-ID: On Fri, Jul 27, 2012 at 7:20 AM, Florin Iucha wrote: > On Thu, Jul 26, 2012 at 11:44:05PM -0500, Robert Nesius wrote: > > With iSCSI, where is the filesystem management overhead?Is the > > filesystem overhead is on the client side with the server just receiving > > low-level I/O operations that go straight to disk, whereas with CIFS the > > server is having to handle mapping the I/O from the filesystem layer > > through to hardware layer, causing it to be slower on it's responses > > (ACKS)? I've never worked with it myself... just curious. > > Yes, that's how it works. However, I am measuring the performance of > the system composed of the two machines (plus the switch) and iSCSI > shows twice the performance of CIFS. Somebody has to do the > filesystem dirty work, be it on the client or on the server. > > I could see where you have a workload that you spread across two > sub-systems and if one of them reaches capacity, that limits the > throughput of the entire system (some variation of Amdahl's law). > I think there is more post-processing on the server side and that's going to slow down server responses and that's going to push back upstream and cause writes to wait. > > But both boxes are very powerful (3.3GHz 6-core for workstation, > 2.8GHz 4-core for server) and completely idle that neither is the > bottleneck. I'm writing a 11GB file, and the server has 16GB of RAM. > If they are idle then that suggests to me they are blocking for I/O (waiting). Your drive lights are lit up pretty solidly yeah? Are you writing to a RAM DISK? > The CIFS results were so bad, I was concerned there was a problem with > the hardware. It just occurred me two days ago that I could flip things > around, use iSCSI and test the system performance in a different way. > I'm thinking of ways to test my hypothesis. I'm not sure changing the size of the TCP window on the cifs server will have an impact if the CIFS client is blocking and waiting for a response to a write. Maybe watch each of your tests with wireshark and watch latencies? -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From goeko at Goecke-Dolan.com Fri Jul 27 11:11:02 2012 From: goeko at Goecke-Dolan.com (Brian) Date: Fri, 27 Jul 2012 11:11:02 -0500 Subject: [tclug-list] *Saturday* Samba/CIFS@Penguins Unbound July 28th Message-ID: <5012BD96.6040202@Goecke-Dolan.com> This months PenguinsUnbound.com meeting will be Saturday July 28th at TIES, 1667 Snelling Ave. N., St. Paul, MN 55108 from 10:00am to 12:00pm (See the web site http://www.penguinsunbound.com for directions and more info.) *** Note, change in meeting room. We will be meeting in the Grand Hall over the garage. You will need to go in the usual door (Under the sky way on the west side of the building, and the take the stairs or elevator to the second floor and then go through the walk way over above the parking garage. *** Samba/CIFS preseented by Christopher R. Hertel Samba is twenty years old. You'd think we'd all have given up and gone home by now, but here we are still slogging away. In those 20 years, Samba has matured from a rebel upstart to an accepted standard implementation to a forgotten piece of infrastructure. More recently, a lot of fancy new network filesystems have popped up. Things like Gluster and Ceph and "cloud storage" in general promise to solve big data storage problems, access issues, and world hunger all in one go. How will a vintage protocol like SMB/CIFS keep up? Is Samba even relevant any more? Well, yes. Yes, it is. This talk will gloss over the following topics in general terms vague enough that even the layman will want to ask obtuse questions: * Microsoft's latest SMB version: SMB3 * Samba/CTDB clustering and other weird things Samba can mostly do now * Whither POSIX semantics and NFSv4+ * How a Samba geek wound up with a two year contract from Microsoft Chris Hertel is a long-haul member of the Samba Team (14+ years) who actually lives in Saint Paul. He is author of the book "Implementing CIFS" and (surprisingly) lead author of Microsoft's official SMB/CIFS protocol specifications. He currently does stuff for Red Hat. I hope to see you there! ==>brian. *** STREAMING *** If you can't make it you can use this url to stream the meeting. mms://rss2000.video.ties2.net:1800 You should be able to connect with either: mplayer mms://rss2000.video.ties2.net:1800 or vlc http://rss2000.video.ties2.net:1800 From tlunde at gmail.com Fri Jul 27 11:32:39 2012 From: tlunde at gmail.com (Thomas Lunde) Date: Fri, 27 Jul 2012 11:32:39 -0500 Subject: [tclug-list] *Saturday* Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <5012BD96.6040202@Goecke-Dolan.com> References: <5012BD96.6040202@Goecke-Dolan.com> Message-ID: <7F566902-07FC-4EEB-84AA-8ECF1D3D5FAC@gmail.com> Two things: 1. I found this to be a useful starting point for learning about SMB3 : http://blog.fosketts.net/2012/05/07/support-smb-30-features-support/ The success of Super Mario Brothers, version 3, makes learning-by-Google a bit difficult for this subject. 2. I'm also very interested in iSCSI vs. samba as I'm about to set up a dedicated ZFS on FreeBSD box as an appliance and am thinking of how to share that NAS to Linux boxen & Windows VMs. (I'd prefer to use Linux, but btrfs doesn't seem quite ready for prime time & ZFS on Linux is hobbled by licensing problems. With 2T drives, the probability of in-flight corruption and long rebuild times on RAID-5 are pushing me to raidz2 for a 6-8 drive array. ) Thomas On Jul 27, 2012, at 11:11 AM, Brian wrote: > This months PenguinsUnbound.com meeting will be > Saturday July 28th at TIES, > 1667 Snelling Ave. N., St. Paul, MN 55108 > from 10:00am to 12:00pm > (See the web site http://www.penguinsunbound.com for directions and more > info.) > > *** Note, change in meeting room. We will be meeting in the Grand Hall over the garage. You will need to go in the usual door (Under the sky way on the west side of the building, and the take the stairs or elevator to the second floor and then go through the walk way over above the parking garage. *** > > > Samba/CIFS preseented by Christopher R. Hertel > > Samba is twenty years old. You'd think we'd all have given up and > gone home by now, but here we are still slogging away. In those 20 years, Samba has matured from a rebel upstart to an accepted standard implementation to a forgotten piece of infrastructure. > > More recently, a lot of fancy new network filesystems have popped up. > Things like Gluster and Ceph and "cloud storage" in general promise to solve big data storage problems, access issues, and world hunger all in one go. How will a vintage protocol like SMB/CIFS keep up? > > Is Samba even relevant any more? > > Well, yes. Yes, it is. > > This talk will gloss over the following topics in general terms vague enough > that even the layman will want to ask obtuse questions: > * Microsoft's latest SMB version: SMB3 > * Samba/CTDB clustering and other weird things Samba can mostly do now > * Whither POSIX semantics and NFSv4+ > * How a Samba geek wound up with a two year contract from Microsoft > > Chris Hertel is a long-haul member of the Samba Team (14+ years) who > actually lives in Saint Paul. He is author of the book "Implementing CIFS" and (surprisingly) lead author of Microsoft's official SMB/CIFS protocol specifications. He currently does stuff for Red Hat. > > I hope to see you there! > > ==>brian. > > *** STREAMING *** > If you can't make it you can use this url to stream the meeting. > mms://rss2000.video.ties2.net:1800 > > You should be able to connect with either: > mplayer mms://rss2000.video.ties2.net:1800 > or > vlc http://rss2000.video.ties2.net:1800 > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From florin at iucha.net Fri Jul 27 11:53:27 2012 From: florin at iucha.net (Florin Iucha) Date: Fri, 27 Jul 2012 11:53:27 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th In-Reply-To: References: <500E2CC0.5020809@Goecke-Dolan.com> <20120727041125.GG26859@signbit.net> <20120727122032.GH26859@signbit.net> Message-ID: <20120727165327.GI26859@signbit.net> On Fri, Jul 27, 2012 at 10:59:25AM -0500, Robert Nesius wrote: > On Fri, Jul 27, 2012 at 7:20 AM, Florin Iucha wrote: > > > On Thu, Jul 26, 2012 at 11:44:05PM -0500, Robert Nesius wrote: > > > With iSCSI, where is the filesystem management overhead?Is the > > > filesystem overhead is on the client side with the server just receiving > > > low-level I/O operations that go straight to disk, whereas with CIFS the > > > server is having to handle mapping the I/O from the filesystem layer > > > through to hardware layer, causing it to be slower on it's responses > > > (ACKS)? I've never worked with it myself... just curious. > > > > Yes, that's how it works. However, I am measuring the performance of > > the system composed of the two machines (plus the switch) and iSCSI > > shows twice the performance of CIFS. Somebody has to do the > > filesystem dirty work, be it on the client or on the server. > > > > I could see where you have a workload that you spread across two > > sub-systems and if one of them reaches capacity, that limits the > > throughput of the entire system (some variation of Amdahl's law). > > > I think there is more post-processing on the server side The server load is 5% in both cases. > and that's going > to slow down server responses and that's going to push back upstream and > cause writes to wait. On the contrary, with CIFS, more data gets sent through the network, because the client keeps track of cluster allocation, reads and updates the filesystem metadata. With CIFS is "here's the file, kthxby". > > But both boxes are very powerful (3.3GHz 6-core for workstation, > > 2.8GHz 4-core for server) and completely idle that neither is the > > bottleneck. I'm writing a 11GB file, and the server has 16GB of RAM. > > > If they are idle then that suggests to me they are blocking for I/O > (waiting). Of course they are waiting for network IO. The question is why is CIFS waiting for network IO and what can I do to reduce that wait. > Your drive lights are lit up pretty solidly yeah? I'm looking at dstat output which is more reliable than eyeballing two LEDs that face different ways, separated by 10 feet of cables and boxes. > Are you writing to a RAM DISK? No, I'm writing to a SATA disk that can write sequentially more than 100MBytes/second. > > The CIFS results were so bad, I was concerned there was a problem with > > the hardware. It just occurred me two days ago that I could flip things > > around, use iSCSI and test the system performance in a different way. > > > > I'm thinking of ways to test my hypothesis. I'm not sure changing the size > of the TCP window on the cifs server will have an impact if the CIFS client > is blocking and waiting for a response to a write. > > Maybe watch each of your tests with wireshark and watch latencies? How would that help me? What would that tell me that I don't know already? CIFS and iSCSI use different ports, different protocols, different services... Cheers, florin -- Beware of software written by optimists! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From florin at iucha.net Fri Jul 27 12:04:22 2012 From: florin at iucha.net (Florin Iucha) Date: Fri, 27 Jul 2012 12:04:22 -0500 Subject: [tclug-list] *Saturday* Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <7F566902-07FC-4EEB-84AA-8ECF1D3D5FAC@gmail.com> References: <5012BD96.6040202@Goecke-Dolan.com> <7F566902-07FC-4EEB-84AA-8ECF1D3D5FAC@gmail.com> Message-ID: <20120727170422.GJ26859@signbit.net> On Fri, Jul 27, 2012 at 11:32:39AM -0500, Thomas Lunde wrote: > 2. I'm also very interested in iSCSI vs. samba as I'm about to set up > a dedicated ZFS on FreeBSD box as an appliance and am thinking of how > to share that NAS to Linux boxen & Windows VMs. > > (I'd prefer to use Linux, but btrfs doesn't seem quite ready for prime > time & ZFS on Linux is hobbled by licensing problems. With 2T drives, > the probability of in-flight corruption and long rebuild times on > RAID-5 are pushing me to raidz2 for a 6-8 drive array. ) After pulling my hair for two years (didn't have time to refactor my storage server, so I just tried to tweak samba and read all kinds of articles about DIY NAS) I decided to just throw some money at the problem - I have bought a Synology DS412+ which should arrive Monday. It doesn't have the smart scrubbing of ZFS, but I'll implement that with a cron job that computes and compares file checksums, plus backup on an external drive. Note that ZFS is fine, but the CIFS performance in Solaris is not much better than stock Samba on Linux. Also, there seems to be a lot of lack of focus in the small community built around the former OpenSolaris: Illumos, Illumian, OpenIndiana, SmartOS, Nexenta Core. None of them seem to have gotten enough traction, not even at a OpenBSD level. I hope they build some momentum, but an excellent file system is not enough to compensate for the lack of drivers and the quirkiness of the OS (although the latter is mitigated by employing the GNU userland tools). If I feel so inclined I'll install Illumian on the same disk and run the same workload, to see how Linux/Samba compares with OpenSolaris kernel. Cheers, florin -- Beware of software written by optimists! -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From ecrist at secure-computing.net Fri Jul 27 12:11:21 2012 From: ecrist at secure-computing.net (Eric Crist) Date: Fri, 27 Jul 2012 12:11:21 -0500 Subject: [tclug-list] *Saturday* Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <7F566902-07FC-4EEB-84AA-8ECF1D3D5FAC@gmail.com> References: <5012BD96.6040202@Goecke-Dolan.com> <7F566902-07FC-4EEB-84AA-8ECF1D3D5FAC@gmail.com> Message-ID: <03639F41-243D-4C0C-B9E2-A783E22A6D5B@secure-computing.net> I think it's best, first, to figure out of you need shared storage, or a high-performance disk array. Once you answer that, you can figure out whether you need SMB/CIFS/NFS or iSCSI. They are very different animals. ----- Eric F Crist On Jul 27, 2012, at 11:32:39, Thomas Lunde wrote: > Two things: > > 1. I found this to be a useful starting point for learning about SMB3 : > > http://blog.fosketts.net/2012/05/07/support-smb-30-features-support/ > > The success of Super Mario Brothers, version 3, makes learning-by-Google a bit difficult for this subject. > > > > 2. I'm also very interested in iSCSI vs. samba as I'm about to set up a dedicated ZFS on FreeBSD box as an appliance and am thinking of how to share that NAS to Linux boxen & Windows VMs. > > (I'd prefer to use Linux, but btrfs doesn't seem quite ready for prime time & ZFS on Linux is hobbled by licensing problems. With 2T drives, the probability of in-flight corruption and long rebuild times on RAID-5 are pushing me to raidz2 for a 6-8 drive array. ) > > Thomas > > > > > > On Jul 27, 2012, at 11:11 AM, Brian wrote: > >> This months PenguinsUnbound.com meeting will be >> Saturday July 28th at TIES, >> 1667 Snelling Ave. N., St. Paul, MN 55108 >> from 10:00am to 12:00pm >> (See the web site http://www.penguinsunbound.com for directions and more >> info.) >> >> *** Note, change in meeting room. We will be meeting in the Grand Hall over the garage. You will need to go in the usual door (Under the sky way on the west side of the building, and the take the stairs or elevator to the second floor and then go through the walk way over above the parking garage. *** >> >> >> Samba/CIFS preseented by Christopher R. Hertel >> >> Samba is twenty years old. You'd think we'd all have given up and >> gone home by now, but here we are still slogging away. In those 20 years, Samba has matured from a rebel upstart to an accepted standard implementation to a forgotten piece of infrastructure. >> >> More recently, a lot of fancy new network filesystems have popped up. >> Things like Gluster and Ceph and "cloud storage" in general promise to solve big data storage problems, access issues, and world hunger all in one go. How will a vintage protocol like SMB/CIFS keep up? >> >> Is Samba even relevant any more? >> >> Well, yes. Yes, it is. >> >> This talk will gloss over the following topics in general terms vague enough >> that even the layman will want to ask obtuse questions: >> * Microsoft's latest SMB version: SMB3 >> * Samba/CTDB clustering and other weird things Samba can mostly do now >> * Whither POSIX semantics and NFSv4+ >> * How a Samba geek wound up with a two year contract from Microsoft >> >> Chris Hertel is a long-haul member of the Samba Team (14+ years) who >> actually lives in Saint Paul. He is author of the book "Implementing CIFS" and (surprisingly) lead author of Microsoft's official SMB/CIFS protocol specifications. He currently does stuff for Red Hat. >> >> I hope to see you there! >> >> ==>brian. >> >> *** STREAMING *** >> If you can't make it you can use this url to stream the meeting. >> mms://rss2000.video.ties2.net:1800 >> >> You should be able to connect with either: >> mplayer mms://rss2000.video.ties2.net:1800 >> or >> vlc http://rss2000.video.ties2.net:1800 >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From tlunde at gmail.com Fri Jul 27 13:43:36 2012 From: tlunde at gmail.com (Thomas Lunde) Date: Fri, 27 Jul 2012 13:43:36 -0500 Subject: [tclug-list] *Saturday* Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <03639F41-243D-4C0C-B9E2-A783E22A6D5B@secure-computing.net> References: <5012BD96.6040202@Goecke-Dolan.com> <7F566902-07FC-4EEB-84AA-8ECF1D3D5FAC@gmail.com> <03639F41-243D-4C0C-B9E2-A783E22A6D5B@secure-computing.net> Message-ID: <0B3056B0-C725-4D73-8C57-D7858A004242@gmail.com> Eric - For the VMs that would run on that box, I can use straight files for the "local" disks of the VMs, but iSCSI will give me some flexibility in moving the VMs elsewhere if the overhead isn't too bad. For shared storage, I can use samba on FreeBSD directly, samba via a Linux VM or file sharing on a Windows VM. So the answer is that I need both, but could probably get away without iSCSI if it's non-performant or a pain. Likewise, one of the other posters' question makes me wonder if I'd be better off using the file sharing built into a Win VM. (Yes, there's some overhead dragging the data in & out of a VM but if the VM is running directly on the NAS box then I shouldn't be network limited & should have plenty of spare CPU cycles. Even if the VM was non-local to the NAS, the other posters' question makes me wonder about samba's performance/ overhead. ) Bottom line: there will be some shared storage from the NAS (of course), but one question is what is the best tool to do the sharing with. (Much as I'd like, I need SMB and can't just use NFS. ) Thomas On Jul 27, 2012, at 12:11 PM, Eric Crist wrote: > I think it's best, first, to figure out of you need shared storage, or a high-performance disk array. Once you answer that, you can figure out whether you need SMB/CIFS/NFS or iSCSI. They are very different animals. > > ----- > Eric F Crist > > > > On Jul 27, 2012, at 11:32:39, Thomas Lunde wrote: > >> Two things: >> >> 1. I found this to be a useful starting point for learning about SMB3 : >> >> http://blog.fosketts.net/2012/05/07/support-smb-30-features-support/ >> >> The success of Super Mario Brothers, version 3, makes learning-by-Google a bit difficult for this subject. >> >> >> >> 2. I'm also very interested in iSCSI vs. samba as I'm about to set up a dedicated ZFS on FreeBSD box as an appliance and am thinking of how to share that NAS to Linux boxen & Windows VMs. >> >> (I'd prefer to use Linux, but btrfs doesn't seem quite ready for prime time & ZFS on Linux is hobbled by licensing problems. With 2T drives, the probability of in-flight corruption and long rebuild times on RAID-5 are pushing me to raidz2 for a 6-8 drive array. ) >> >> Thomas >> >> >> >> >> >> On Jul 27, 2012, at 11:11 AM, Brian wrote: >> >>> This months PenguinsUnbound.com meeting will be >>> Saturday July 28th at TIES, >>> 1667 Snelling Ave. N., St. Paul, MN 55108 >>> from 10:00am to 12:00pm >>> (See the web site http://www.penguinsunbound.com for directions and more >>> info.) >>> >>> *** Note, change in meeting room. We will be meeting in the Grand Hall over the garage. You will need to go in the usual door (Under the sky way on the west side of the building, and the take the stairs or elevator to the second floor and then go through the walk way over above the parking garage. *** >>> >>> >>> Samba/CIFS preseented by Christopher R. Hertel >>> >>> Samba is twenty years old. You'd think we'd all have given up and >>> gone home by now, but here we are still slogging away. In those 20 years, Samba has matured from a rebel upstart to an accepted standard implementation to a forgotten piece of infrastructure. >>> >>> More recently, a lot of fancy new network filesystems have popped up. >>> Things like Gluster and Ceph and "cloud storage" in general promise to solve big data storage problems, access issues, and world hunger all in one go. How will a vintage protocol like SMB/CIFS keep up? >>> >>> Is Samba even relevant any more? >>> >>> Well, yes. Yes, it is. >>> >>> This talk will gloss over the following topics in general terms vague enough >>> that even the layman will want to ask obtuse questions: >>> * Microsoft's latest SMB version: SMB3 >>> * Samba/CTDB clustering and other weird things Samba can mostly do now >>> * Whither POSIX semantics and NFSv4+ >>> * How a Samba geek wound up with a two year contract from Microsoft >>> >>> Chris Hertel is a long-haul member of the Samba Team (14+ years) who >>> actually lives in Saint Paul. He is author of the book "Implementing CIFS" and (surprisingly) lead author of Microsoft's official SMB/CIFS protocol specifications. He currently does stuff for Red Hat. >>> >>> I hope to see you there! >>> >>> ==>brian. >>> >>> *** STREAMING *** >>> If you can't make it you can use this url to stream the meeting. >>> mms://rss2000.video.ties2.net:1800 >>> >>> You should be able to connect with either: >>> mplayer mms://rss2000.video.ties2.net:1800 >>> or >>> vlc http://rss2000.video.ties2.net:1800 >>> _______________________________________________ >>> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >>> tclug-list at mn-linux.org >>> http://mailman.mn-linux.org/mailman/listinfo/tclug-list >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From nesius at gmail.com Fri Jul 27 22:36:18 2012 From: nesius at gmail.com (Robert Nesius) Date: Fri, 27 Jul 2012 22:36:18 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th In-Reply-To: <20120727165327.GI26859@signbit.net> References: <500E2CC0.5020809@Goecke-Dolan.com> <20120727041125.GG26859@signbit.net> <20120727122032.GH26859@signbit.net> <20120727165327.GI26859@signbit.net> Message-ID: On Fri, Jul 27, 2012 at 11:53 AM, Florin Iucha wrote: > On Fri, Jul 27, 2012 at 10:59:25AM -0500, Robert Nesius wrote: > > On Fri, Jul 27, 2012 at 7:20 AM, Florin Iucha wrote: > > > > > On Thu, Jul 26, 2012 at 11:44:05PM -0500, Robert Nesius wrote: > > > > With iSCSI, where is the filesystem management overhead?Is the > > > > filesystem overhead is on the client side with the server just > receiving > > > > low-level I/O operations that go straight to disk, whereas with CIFS > the > > > > server is having to handle mapping the I/O from the filesystem layer > > > > through to hardware layer, causing it to be slower on it's responses > > > > (ACKS)? I've never worked with it myself... just curious. > > > > > > Yes, that's how it works. However, I am measuring the performance of > > > the system composed of the two machines (plus the switch) and iSCSI > > > shows twice the performance of CIFS. Somebody has to do the > > > filesystem dirty work, be it on the client or on the server. > > > > > > I could see where you have a workload that you spread across two > > > sub-systems and if one of them reaches capacity, that limits the > > > throughput of the entire system (some variation of Amdahl's law). > > > > > I think there is more post-processing on the server side > > The server load is 5% in both cases. > Sorry Florin - I didn't explain my thoughts very clearly... I meant more post processing in the form of micro reads/writes to the underlying filesystem in CIFS. > > and that's > going > > to slow down server responses and that's going to push back upstream and > > cause writes to wait. > > On the contrary, with CIFS, more data gets sent through the network, > because the client keeps track of cluster allocation, reads and > updates the filesystem metadata. With CIFS is "here's the file, > kthxby". > I'm going to assume that first CIFS was meant to be an iSCSI, and if so then what you said is exactly what I was thinking. And I don't think the issue is the amount of data being sent over the network in either case. It's the number of interactions! required between the client and server, and the server and the underlying disk. Yes, the iSCSI system is tracking more than the CIFS system, but when it comes time to throw a lot of bits at the storage medium, iSCSI is optimized to get it done in a more streamlined fashion. Wasn't the whole point of iSCSI to sidestep the inherent slowdowns/inefficiencies with network filesystems like CIFS? You're exposing a block device to the network instead of a filesystem... http://jpaul.me/?p=787 is showing exactly what you're reporting, btw. > > But both boxes are very powerful (3.3GHz 6-core for workstation, > > > 2.8GHz 4-core for server) and completely idle that neither is the > > > bottleneck. I'm writing a 11GB file, and the server has 16GB of RAM. > > > > > If they are idle then that suggests to me they are blocking for I/O > > (waiting). > > Of course they are waiting for network IO. The question is why is > CIFS waiting for network IO and what can I do to reduce that wait. > > > Are you writing to a RAM DISK? > > No, I'm writing to a SATA disk that can write sequentially more than > 100MBytes/second. > Just wondering why you mentioned your server has 16GB of RAM since that's irrelevant then, unless you're pointing out there's no way it's swapping. 100MBytes/second throughput on your hard drive is also irrevelant if the disk-access patterns are sending the heads around to update underlying filesystem structures. Try allocating a 12 GB RAM DISK on your cifs server and serving it up via CIFS and then watch CIFS close the gap to iSCSI when you drop your 11gb file on it. > > > The CIFS results were so bad, I was concerned there was a problem with > > > the hardware. It just occurred me two days ago that I could flip > things > > > around, use iSCSI and test the system performance in a different way. > > > > But as you pointed out later, that's Apples and Oranges. > > I'm thinking of ways to test my hypothesis. I'm not sure changing the > size > > of the TCP window on the cifs server will have an impact if the CIFS > client > > is blocking and waiting for a response to a write. > > > > Maybe watch each of your tests with wireshark and watch latencies? > > How would that help me? What would that tell me that I don't know > already? CIFS and iSCSI use different ports, different protocols, > different services... > It would start to illustrate differences in packet sequences for one. http://www.codefx.com/CIFS_Explained.htm#_Toc525982096 Anyway, just trying to help. Good luck with it, if you're still spending time on it. -Rob -------------- next part -------------- An HTML attachment was scrubbed... URL: From florin at iucha.net Sat Jul 28 11:59:14 2012 From: florin at iucha.net (Florin Iucha) Date: Sat, 28 Jul 2012 11:59:14 -0500 Subject: [tclug-list] Samba/CIFS@Penguins Unbound July 28th In-Reply-To: References: <500E2CC0.5020809@Goecke-Dolan.com> <20120727041125.GG26859@signbit.net> <20120727122032.GH26859@signbit.net> <20120727165327.GI26859@signbit.net> Message-ID: <20120728165914.GK26859@signbit.net> On Fri, Jul 27, 2012 at 10:36:18PM -0500, Robert Nesius wrote: > > > I think there is more post-processing on the server side > > > > The server load is 5% in both cases. > > Sorry Florin - I didn't explain my thoughts very clearly... > > I meant more post processing in the form of micro reads/writes to the > underlying filesystem in CIFS. > > > and that's > > going > > > to slow down server responses and that's going to push back upstream and > > > cause writes to wait. > > > > On the contrary, with CIFS, more data gets sent through the network, > > because the client keeps track of cluster allocation, reads and > > updates the filesystem metadata. With CIFS is "here's the file, > > kthxby". > > > > I'm going to assume that first CIFS was meant to be an iSCSI, and if so Correct. > then what you said is exactly what I was thinking. And I don't think the > issue is the amount of data being sent over the network in either case. > It's the number of interactions! required between the client and server, > and the server and the underlying disk. Yes, the iSCSI system is tracking > more than the CIFS system, but when it comes time to throw a lot of bits at > the storage medium, iSCSI is optimized to get it done in a more streamlined > fashion. Wasn't the whole point of iSCSI to sidestep the inherent > slowdowns/inefficiencies with network filesystems like CIFS? You're Let's assume XFS/EXT4 and NTFS perform a similar amount of work to store a large file on disk. They all support extents, the file system is empty, there is only one client, appending to a newly created file. You cannot get a more blue sky scenario for a file system. Now, that work is comprised of some amount of disk I/O and some amount of computation. We can ignore the computation part since both machines are mostly idle and their raw CPU capability dwarf the problem at hand. We are left with the I/O: in the case of iSCSI that I/O has to cross the network, reducing the link bandwidth and adding to latency, while in case of Samba that I/O is between the server's disk and its memory. That's why I contend that Samba should be faster than iSCSI for my test. > http://jpaul.me/?p=787 is showing exactly what you're reporting, btw. Funny, as my use case is the same - I have a large archive of RAW images (~21MB each). > > Of course they are waiting for network IO. The question is why is > > CIFS waiting for network IO and what can I do to reduce that wait. > > > > > Are you writing to a RAM DISK? > > > > No, I'm writing to a SATA disk that can write sequentially more than > > 100MBytes/second. > > Just wondering why you mentioned your server has 16GB of RAMsince that's > irrelevant then, unless you're pointing out there's no way it's swapping. I'm pointing that Samba is not waiting for the disk since it can throw the file over to the Linux cache. > 100MBytes/second throughput on your hard drive is also irrevelant if the > disk-access patterns are sending the heads around to update underlying > filesystem structures. > > Try allocating a 12 GB RAM DISK on your cifs server and serving it up via > CIFS and then watch CIFS close the gap to iSCSI when you drop your 11gb > file on it. I did, and the results (attache) are not pretty... The tmpfs behaves the same as the disk. Storage is not the bottleneck, Windows <-> Network <-> Samba is. > > > > The CIFS results were so bad, I was concerned there was a problem with > > > > the hardware. It just occurred me two days ago that I could flip > > things > > > > around, use iSCSI and test the system performance in a different way. > > But as you pointed out later, that's Apples and Oranges. Umm... they might be Apples and Oranges in the general case, but in the case of one client, one file they are the same ;) And I only set up this comparison for the purpose of eliminating the hardware as a failure point. Which it did. So now the question moves someplace else. > > > Maybe watch each of your tests with wireshark and watch latencies? > > > > How would that help me? What would that tell me that I don't know > > already? CIFS and iSCSI use different ports, different protocols, > > different services... > > Anyway, just trying to help. I fully understand, and my questions were batched to deal with the limitations of e-mail communication, not intended to overwhelm the recipient ;) > Good luck with it, if you're still spending > time on it. At this point I pretty much gave up on getting more out of Samba. I hope Synology is a good answer, if not, I'll come back to it. If I have some time I'll try installing Illumian just to check out their CIFS implementation. Best, florin -- Beware of software written by optimists! -------------- next part -------------- You did not select any stats, using -cdngy by default. ----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system-- usr sys idl wai hiq siq| read writ| recv send| in out | int csw 0 0 99 1 0 0| 722k 430k| 0 0 | 0 0 | 285 364 0 0 100 0 0 0| 0 1638B| 366B 415B| 0 0 | 102 169 0 0 100 0 0 0| 0 2458B| 12B 34B| 0 0 | 64 117 0 0 100 0 0 0| 0 127k| 24B 42B| 0 0 | 75 134 0 0 100 0 0 0|4915B 1638B| 85B 71B| 0 0 | 62 118 0 0 100 0 0 0| 819B 0 | 326B 176B| 0 0 | 74 118 0 0 100 0 0 0| 0 0 | 12B 34B| 0 0 | 61 115 0 0 100 0 0 0| 0 819B| 155B 204B| 0 0 | 62 119 0 1 99 0 0 0| 0 0 | 42M 215k| 0 0 |3041 5555 1 1 98 0 0 0| 0 11k| 43M 281k| 0 0 |3590 6330 1 1 99 0 0 0| 0 0 | 34M 263k| 0 0 |3169 5675 1 1 99 0 0 0| 0 0 | 45M 283k| 0 0 |3738 6643 1 1 98 0 0 0| 0 0 | 36M 271k| 0 0 |3293 5858 1 1 99 0 0 0| 0 819B| 31M 260k| 0 0 |3018 5466 1 1 98 0 0 0| 0 0 | 40M 276k| 0 0 |3458 6246 1 1 98 0 0 0| 0 1946B| 40M 283k| 0 0 |3504 6267 1 1 98 0 0 0| 0 0 | 12M 232k| 0 0 |2191 4066 1 1 99 0 0 0| 0 0 | 56M 303k| 0 0 |4188 7567 1 1 99 0 0 0| 0 0 | 45M 284k| 0 0 |3650 6642 1 1 99 0 0 0| 0 819B| 47M 284k| 0 0 |3712 6717 1 1 99 0 0 0| 0 0 | 40M 265k| 0 0 |3483 6061 1 1 99 0 0 0| 0 1946B| 44M 277k| 0 0 |3763 6393 1 1 99 0 0 0| 0 0 | 36M 275k| 0 0 |3318 6060 1 1 99 0 0 0| 0 0 | 43M 279k| 0 0 |3630 6511 1 1 99 0 0 0| 0 0 | 39M 269k| 0 0 |3345 6041 1 1 98 0 0 0| 0 819B| 26M 254k| 0 0 |2823 5155 1 1 98 0 0 0| 0 0 | 46M 284k| 0 0 |3691 6670 1 1 98 0 0 0| 0 1946B| 46M 283k| 0 0 |3703 6668 1 1 99 0 0 0| 0 0 | 37M 263k| 0 0 |3226 5828 1 1 98 0 0 0| 0 0 | 27M 246k| 0 0 |2776 4962 1 1 98 0 0 0| 0 0 |5455k 173k| 0 0 |1503 2846 1 1 98 0 0 0| 0 819B| 24M 251k| 0 0 |2746 5008 1 1 98 0 0 0| 0 0 | 30M 251k| 0 0 |2968 5288 1 1 98 0 0 0| 819B 1946B| 36M 259k| 0 0 |3299 5707 1 1 98 0 0 0| 0 5734B| 24M 241k| 0 0 |2687 4672 2 1 98 0 0 0| 0 0 |6245k 250k| 0 0 |2157 4082 2 1 98 0 0 0| 0 0 |6040k 236k| 0 0 |2082 3825 1 1 98 0 0 0| 0 819B| 15M 254k| 0 0 |2484 4591 1 1 98 0 0 0| 0 0 | 27M 248k| 0 0 |2866 5178 1 1 98 0 0 0| 0 19k| 31M 257k| 0 0 |3063 5605 1 1 99 0 0 0| 0 4096B| 45M 283k| 0 0 |3681 6797 1 1 99 0 0 0| 0 0 | 43M 276k| 0 0 |3603 6458 1 1 98 0 0 0| 0 0 |8296k 214k| 0 0 |1914 3566 1 1 98 0 0 0| 0 819B| 36M 256k| 0 0 |3216 5726 1 1 99 0 0 0| 0 0 | 39M 274k| 0 0 |3431 6225 1 1 98 0 0 0| 0 11k|3412k 223k| 0 0 |1784 3424 1 1 98 0 0 0| 0 0 |7912k 215k| 0 0 |1887 3518 1 1 98 0 0 0| 0 0 | 39M 271k| 0 0 |3437 6115 1 1 98 0 0 0| 0 0 | 10M 213k| 0 0 |1926 3530 1 1 99 0 0 0| 0 819B| 35M 258k| 0 0 |3151 5768 1 1 98 0 0 0| 0 0 | 30M 250k| 0 0 |3006 5278 1 1 98 0 0 0| 0 1946B| 56M 301k| 0 0 |4241 7623 1 1 99 0 0 0| 0 0 | 28M 245k| 0 0 |2821 5003 1 1 98 0 0 0| 0 0 | 22M 223k| 0 0 |2528 4329 1 1 98 0 0 0| 0 0 | 22M 250k| 0 0 |2718 4915 1 1 98 0 0 0| 0 1638B|4845k 235k| 0 0 |1966 3746 1 1 98 0 0 0|8192B 0 | 22M 259k| 0 0 |2841 5086 1 1 98 0 0 0| 0 1946B|2441k 236k| 0 0 |1928 3664 1 1 98 0 0 0| 0 0 | 16M 247k| 0 0 |2462 4519 1 1 98 0 0 0| 0 0 | 36M 276k| 0 0 |3280 5964 1 1 98 0 0 0| 0 0 | 17M 245k| 0 0 |2452 4591 1 1 99 0 0 0| 0 819B| 51M 298k| 0 0 |3985 7424 0 1 99 0 0 0| 0 2458B| 63M 322k| 0 0 |4498 8354 1 1 98 0 0 0| 0 5325B| 23M 231k| 0 0 |2552 4660 1 1 99 0 0 0| 0 0 | 43M 274k| 0 0 |3542 6531 1 1 98 0 0 0| 0 0 | 40M 277k| 0 0 |3482 6428 2 1 98 0 0 0| 0 0 |1950k 228k| 0 0 |1804 3489 2 1 98 0 0 0| 0 819B|2370k 235k| 0 0 |1872 3598 1 1 98 0 0 0| 0 0 | 20M 255k| 0 0 |2648 4935 1 1 98 0 0 0| 0 1946B| 33M 259k| 0 0 |3125 5678 1 1 98 0 0 0| 0 0 | 39M 271k| 0 0 |3463 6113 1 1 98 0 0 0| 0 0 | 42M 281k| 0 0 |3623 6437 1 1 99 0 0 0| 0 0 | 46M 282k| 0 0 |3760 6592 1 1 98 0 0 0| 0 819B| 30M 243k| 0 0 |2959 5127 1 1 98 0 0 0| 0 0 | 27M 245k| 0 0 |2767 5108 1 1 98 0 0 0| 0 1946B| 17M 239k| 0 0 |2389 4496 1 1 98 0 0 0| 0 0 | 22M 248k| 0 0 |2612 4867 1 1 99 0 0 0| 0 0 | 45M 287k| 0 0 |3722 6898 1 1 99 0 0 0| 0 0 | 46M 284k| 0 0 |3720 6813 1 0 99 0 0 0| 0 819B| 14M 184k| 0 0 |1896 3418 0 0 100 0 0 0| 0 0 | 886B 893B| 0 0 | 66 131 0 0 100 0 0 0| 0 1946B| 12B 34B| 0 0 | 66 118 0 0 100 0 0 0| 0 0 | 12B 34B| 0 0 | 60 112 0 0 100 0 0 0| 0 0 | 49B 59B| 0 0 | 60 114 0 0 100 0 0 0| 0 0 | 12B 34B| 0 0 | 57 109 0 1 99 0 0 0| 0 819B| 414B 390B| 0 0 | 136 166 -------------- next part -------------- You did not select any stats, using -cdngy by default. ----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system-- usr sys idl wai hiq siq| read writ| recv send| in out | int csw 1 0 99 0 0 0| 319k 191k| 0 0 | 0 0 |1454 2567 0 0 100 0 0 0| 0 819B| 366B 936B| 0 0 | 85 152 0 0 100 0 0 0| 0 17k| 66B 131B| 0 0 | 65 133 0 0 100 0 0 0| 0 0 | 12B 34B| 0 0 | 59 113 0 0 100 0 0 0| 0 0 | 12B 34B| 0 0 | 59 113 0 0 100 0 0 0| 0 0 | 314B 165B| 0 0 | 59 116 0 0 100 0 0 0| 0 0 | 12B 34B| 0 0 | 58 112 0 0 99 0 0 0| 0 819B| 42M 217k| 0 0 |3078 5614 1 1 99 0 0 0| 0 4403B| 41M 270k| 0 0 |3506 6182 1 1 99 0 0 0| 0 0 | 35M 266k| 0 0 |3228 5796 1 1 99 0 0 0| 0 0 | 44M 282k| 0 0 |3656 6537 1 1 98 0 0 0| 0 0 | 35M 261k| 0 0 |3270 5726 1 1 98 0 0 0| 0 0 | 30M 257k| 0 0 |3009 5436 1 1 99 0 0 0| 0 819B| 38M 271k| 0 0 |3368 6095 1 1 99 0 0 0| 0 1946B| 43M 299k| 0 0 |3680 6687 1 1 98 0 0 0| 0 0 | 10M 231k| 0 0 |2144 3992 0 1 99 0 0 0| 0 0 | 56M 303k| 0 0 |4166 7515 1 1 99 0 0 0| 0 0 | 45M 281k| 0 0 |3668 6583 1 1 98 0 0 0| 0 0 | 48M 292k| 0 0 |3836 6841 1 1 99 0 0 0| 0 819B| 39M 263k| 0 0 |3456 5936 0 1 99 0 0 0| 0 1946B| 44M 278k| 0 0 |3718 6505 1 1 98 0 0 0| 0 0 | 37M 279k| 0 0 |3368 6074 1 1 98 0 0 0| 0 0 | 45M 293k| 0 0 |3739 6727 1 1 99 0 0 0| 0 0 | 37M 265k| 0 0 |3255 5888 1 1 98 0 0 0| 0 0 | 28M 260k| 0 0 |2933 5360 1 1 99 0 0 0| 0 819B| 44M 276k| 0 0 |3632 6520 1 1 98 0 0 0| 0 1946B| 46M 279k| 0 0 |3681 6644 1 1 99 0 0 0| 0 0 | 36M 260k| 0 0 |3187 5737 1 1 98 0 0 0| 0 0 | 25M 233k| 0 0 |2617 4608 1 1 98 0 0 0| 0 0 |8335k 227k| 0 0 |2006 3765 1 0 98 0 0 0| 0 0 | 27M 249k| 0 0 |2830 5083 1 1 98 0 0 0| 0 819B| 36M 271k| 0 0 |3276 5835 1 1 98 0 0 0| 0 1946B| 28M 246k| 0 0 |2894 5101 1 1 99 0 0 0| 0 0 | 26M 239k| 0 0 |2752 4806 1 1 98 0 0 0| 0 0 |2381k 235k| 0 0 |1907 3666 1 1 98 0 0 0| 0 0 |6048k 239k| 0 0 |2091 3869 1 1 98 0 0 0| 0 0 | 19M 256k| 0 0 |2606 4822 1 1 98 0 0 0| 0 819B| 24M 253k| 0 0 |2747 5020 1 1 98 0 0 0| 0 1946B| 39M 275k| 0 0 |3399 6223 1 1 99 0 0 0| 0 0 | 45M 286k| 0 0 |3641 6737 1 1 99 0 0 0| 0 0 | 35M 262k| 0 0 |3182 5711 1 1 98 0 0 0| 0 0 |9876k 222k| 0 0 |2022 3758 1 1 99 0 0 0| 0 0 | 44M 270k| 0 0 |3572 6310 1 0 99 0 0 0| 0 819B| 29M 272k| 0 0 |3013 5617 1 1 98 0 0 0| 0 1946B|5720k 228k| 0 0 |1890 3599 1 1 98 0 0 0| 0 0 | 17M 231k| 0 0 |2308 4228 1 1 98 0 0 0| 0 0 | 33M 266k| 0 0 |3111 5597 1 1 98 0 0 0| 0 0 | 10M 214k| 0 0 |1927 3562 1 1 98 0 0 0| 0 0 | 43M 281k| 0 0 |3564 6469 1 1 98 0 0 0| 0 819B| 34M 261k| 0 0 |3188 5628 0 1 99 0 0 0| 0 1946B| 55M 302k| 0 0 |4117 7595 1 1 98 0 0 0| 0 0 | 17M 211k| 0 0 |2238 3832 1 1 99 0 0 0| 0 0 | 30M 241k| 0 0 |2891 5049 1 1 98 0 0 0| 0 0 |9655k 242k| 0 0 |2186 4078 1 1 98 0 0 0| 0 0 | 20M 255k| 0 0 |2633 4852 1 1 98 0 0 0| 0 1638B|6976k 240k| 0 0 |2090 3940 2 1 98 0 0 0| 0 1946B|3190k 252k| 0 0 |2051 3932 1 1 98 0 0 0| 819B 0 | 33M 276k| 0 0 |3139 5701 1 1 98 0 0 0| 0 0 | 32M 269k| 0 0 |3093 5636 1 1 98 0 0 0| 0 0 | 20M 247k| 0 0 |2508 4732 0 1 99 0 0 0| 0 0 | 63M 317k| 0 0 |4439 8176 0 1 99 0 0 0| 0 819B| 51M 295k| 0 0 |3952 7233 1 1 98 0 0 0| 0 7680B| 19M 230k| 0 0 |2378 4340 0 1 99 0 0 0| 0 0 | 61M 315k| 0 0 |4386 8055 1 1 98 0 0 0| 0 0 | 13M 244k| 0 0 |2294 4334 2 1 98 0 0 0| 0 0 |2279k 229k| 0 0 |1824 3522 1 1 98 0 0 0| 0 0 |7135k 237k| 0 0 |2043 3912 1 1 98 0 0 0| 0 4096B| 31M 267k| 0 0 |3068 5634 1 1 98 0 0 0| 0 11k| 36M 266k| 0 0 |3259 5811 1 1 99 0 0 0| 0 0 | 42M 291k| 0 0 |3644 6495 1 1 99 0 0 0| 0 0 | 43M 275k| 0 0 |3622 6304 1 1 98 0 0 0| 0 0 | 41M 264k| 0 0 |3427 5981 1 1 98 0 0 0| 0 0 | 16M 222k| 0 0 |2229 4047 1 1 98 0 0 0| 0 819B| 24M 253k| 0 0 |2719 5062 1 1 98 0 0 0| 0 1946B| 18M 243k| 0 0 |2412 4521 1 1 99 0 0 0| 0 0 | 53M 304k| 0 0 |4045 7455 1 1 99 0 0 0| 0 0 | 48M 296k| 0 0 |3810 7043 1 1 98 0 0 0| 0 0 | 20M 233k| 0 0 |2407 4366 0 0 100 0 0 0| 0 0 |5224k 55k| 0 0 | 649 1147 0 0 100 0 0 0| 0 819B| 368B 367B| 0 0 | 63 121 0 0 100 0 0 0| 0 1946B| 12B 34B| 0 0 | 60 114 0 0 100 0 0 0| 0 0 | 49B 59B| 0 0 | 58 111 0 0 100 0 0 0| 0 0 | 12B 34B| 0 0 | 59 112 -------------- next part -------------- You did not select any stats, using -cdngy by default. ----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system-- usr sys idl wai hiq siq| read writ| recv send| in out | int csw 1 0 99 0 0 0| 209k 125k| 0 0 | 0 0 |1814 3244 0 0 100 0 0 0| 0 0 | 12B 0 | 0 0 | 74 114 0 0 100 0 0 0| 0 0 | 256B 105B| 0 0 | 60 117 0 0 100 0 0 0| 0 2458B| 0 0 | 0 0 | 57 110 0 0 100 0 0 0|7373B 13M| 13M 56k| 0 0 |1491 2707 0 0 99 0 0 1|4096B 47M| 47M 177k| 0 0 |5002 9450 0 1 99 0 0 1|4915B 72M| 73M 271k| 0 0 |7663 14k 0 1 99 0 0 1|3277B 80M| 81M 296k| 0 0 |8488 16k 0 1 99 0 0 1|2458B 76M| 76M 279k| 0 0 |8245 16k 0 1 99 0 0 1|3277B 76M| 77M 283k| 0 0 |8301 16k 0 1 99 0 0 1|2458B 76M| 77M 283k| 0 0 |8291 16k 0 1 99 0 0 1|2458B 76M| 77M 282k| 0 0 |8299 16k 0 1 99 0 0 1|2458B 77M| 78M 287k| 0 0 |8370 16k 0 1 99 0 0 1|2458B 77M| 78M 283k| 0 0 |8358 16k 0 1 99 0 0 1|2458B 77M| 78M 287k| 0 0 |8369 16k 0 1 99 0 0 1|2458B 76M| 77M 282k| 0 0 |8272 16k 0 1 99 0 0 1|2458B 76M| 77M 282k| 0 0 |8225 16k 0 1 99 0 0 1|2458B 75M| 76M 276k| 0 0 |8110 15k 0 1 99 0 0 1|2458B 75M| 76M 276k| 0 0 |8033 15k 0 1 99 0 0 1|2458B 75M| 76M 278k| 0 0 |8113 16k 0 1 99 0 0 1|1638B 75M| 76M 275k| 0 0 |8142 16k 0 1 99 0 0 1|3277B 77M| 78M 286k| 0 0 |8285 16k 0 1 99 0 0 1|2458B 77M| 78M 282k| 0 0 |8298 16k 0 1 99 0 0 1|2458B 76M| 77M 281k| 0 0 |8213 16k 0 1 99 0 0 1|1638B 75M| 76M 275k| 0 0 |8158 16k 0 1 99 0 0 1|2458B 77M| 78M 286k| 0 0 |8344 16k 0 0 99 0 0 1|2458B 77M| 78M 283k| 0 0 |8266 16k 0 0 99 0 0 1|2458B 76M| 77M 281k| 0 0 |8249 16k 0 1 99 0 0 1|2458B 76M| 77M 282k| 0 0 |8267 16k 0 1 99 0 0 1|1638B 74M| 75M 270k| 0 0 |8149 16k 0 1 99 0 0 1| 0 71M| 72M 250k| 0 0 |7894 15k 0 1 99 0 0 1| 0 69M| 70M 242k| 0 0 |7654 15k 0 0 99 0 0 0| 0 45M| 46M 160k| 0 0 |5135 9739 0 0 100 0 0 0| 0 24M| 24M 86k| 0 0 |2756 5251 0 0 100 0 0 0| 0 22M| 23M 80k| 0 0 |2555 4842 -------------- next part -------------- You did not select any stats, using -cdngy by default. ----total-cpu-usage---- -dsk/total- -net/total- ---paging-- ---system-- usr sys idl wai hiq siq| read writ| recv send| in out | int csw 1 0 99 0 0 0| 183k 7671k| 0 0 | 0 0 |2394 4376 0 0 100 0 0 0| 0 51k| 52k 372B| 0 0 | 91 145 0 0 100 0 0 0| 0 3277B|2531B 61B| 0 0 | 65 124 0 0 100 0 0 0|4096B 17M| 17M 66k| 0 0 |1847 3416 0 0 99 0 0 0|4096B 41M| 41M 155k| 0 0 |4329 8185 0 1 99 0 0 1|4915B 75M| 76M 284k| 0 0 |7957 15k 0 1 99 0 0 1|3277B 78M| 79M 292k| 0 0 |8334 16k 0 1 99 0 0 1|2458B 77M| 77M 283k| 0 0 |8305 16k 0 1 99 0 0 1|2458B 76M| 77M 281k| 0 0 |8284 16k 0 1 99 0 0 1|2458B 76M| 77M 282k| 0 0 |8272 16k 0 1 99 0 0 1|2458B 75M| 76M 279k| 0 0 |8210 16k 0 1 99 0 0 1|2458B 76M| 77M 282k| 0 0 |8266 16k 0 1 99 0 0 1|2458B 76M| 76M 280k| 0 0 |8188 16k 0 1 99 0 0 1|2458B 76M| 77M 283k| 0 0 |8269 16k 0 1 99 0 0 1|2458B 77M| 78M 284k| 0 0 |8295 16k 0 1 99 0 0 1|2458B 76M| 77M 282k| 0 0 |8230 16k 0 1 99 0 0 1|2458B 77M| 78M 284k| 0 0 |8316 16k 0 1 98 0 0 1|2458B 76M| 77M 280k| 0 0 |8148 16k 0 0 99 0 0 1|2458B 74M| 75M 273k| 0 0 |7951 15k 0 1 99 0 0 1|1638B 75M| 76M 275k| 0 0 |8100 16k 0 1 99 0 0 0|3277B 76M| 77M 285k| 0 0 |8234 16k 0 1 99 0 0 1|2458B 75M| 76M 276k| 0 0 |8109 15k 0 0 99 0 0 1|2458B 75M| 76M 279k| 0 0 |8132 16k 0 1 99 0 0 1|1638B 75M| 76M 274k| 0 0 |8137 16k 0 1 99 0 0 1|3277B 76M| 77M 285k| 0 0 |8239 16k 0 0 99 0 0 1|1638B 75M| 76M 278k| 0 0 |8131 16k 0 1 99 0 0 1|2458B 76M| 76M 279k| 0 0 |8172 16k 0 0 99 0 0 1|2458B 76M| 77M 281k| 0 0 |8208 16k 0 1 99 0 0 1|2458B 74M| 75M 272k| 0 0 |8083 15k 0 0 99 0 0 1| 0 71M| 72M 252k| 0 0 |7931 15k 0 1 99 0 0 1| 0 68M| 69M 240k| 0 0 |7598 15k 0 0 99 0 0 0| 0 43M| 43M 150k| 0 0 |4780 9221 0 0 99 0 0 0| 0 34M| 35M 122k| 0 0 |3867 7377 0 0 100 0 0 0| 0 17M| 17M 59k| 0 0 |1912 3617 0 0 100 0 0 0| 0 18M| 18M 63k| 0 0 |2037 3873 0 0 100 0 0 0| 0 8810k|8917k 31k| 0 0 |1064 1954 0 0 100 0 0 0| 0 9222k|9329k 32k| 0 0 |1109 2006 0 0 100 0 0 0| 0 4510k|4564k 16k| 0 0 | 561 1044 0 0 100 0 0 0| 0 4916k|4976k 18k| 0 0 | 630 1150 0 0 100 0 0 0| 98k 2255k|2284k 8986B| 0 0 | 351 626 0 0 100 0 0 0| 0 2254k|2282k 11k| 0 0 | 323 577 0 0 100 0 0 0| 0 1231k|1246k 4998B| 0 0 | 202 364 0 0 100 0 0 0| 0 1239k|1245k 4956B| 0 0 | 197 364 0 0 100 0 0 0| 0 617k| 623k 2204B| 0 0 | 130 240 0 0 100 0 0 0| 0 617k| 624k 2214B| 0 0 | 134 242 0 0 100 0 0 0| 0 412k| 416k 2046B| 0 0 | 106 195 0 0 100 0 0 0| 0 19k| 20k 136B| 0 0 | 67 126 0 0 100 0 0 0| 0 2458B|2531B 61B| 0 0 | 66 127 0 0 100 0 0 0| 0 8602B| 0 0 | 0 0 | 60 115 0 0 100 0 0 0| 0 819B| 0 0 | 0 0 | 57 109 0 0 100 0 0 0| 0 0 | 0 567B| 0 0 | 57 110 0 0 100 0 0 0| 0 0 | 12B 8B| 0 0 | 57 109 0 0 100 0 0 0| 0 0 | 0 0 | 0 0 | 58 110 0 0 100 0 0 0| 0 0 | 0 0 | 0 0 | 56 107 0 0 100 0 0 0| 0 1946B| 0 0 | 0 0 | 58 112 0 0 100 0 0 0| 0 1638B| 0 0 | 0 0 | 60 113 0 0 100 0 0 0| 0 0 | 0 0 | 0 0 | 59 112 0 0 100 0 0 0| 0 0 | 0 0 | 0 0 | 57 109 0 0 100 0 0 0| 0 0 | 0 0 | 0 0 | 57 109 0 0 100 0 0 0| 0 0 | 0 0 | 0 0 | 111 119 -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 198 bytes Desc: Digital signature URL: From admin at lctn.org Sat Jul 28 14:19:51 2012 From: admin at lctn.org (Raymond Norton) Date: Sat, 28 Jul 2012 14:19:51 -0500 Subject: [tclug-list] hep with postfix config? Message-ID: <50143B57.5020906@lctn.org> We run mailscanners for a number of domains on our WAN. Lately, we have been hammered with 100s of thousands of spam messages, forged with bogus email addresses of our local domain or the fqdn of the relay server. Wondering what the best way is to combat this. I could possibly implement spf checking to my postfix config, or maybe a simple access list check of allowed IPs??? Any recommendations appreciated. Raymond From ecrist at secure-computing.net Sat Jul 28 14:54:36 2012 From: ecrist at secure-computing.net (Eric Crist) Date: Sat, 28 Jul 2012 14:54:36 -0500 Subject: [tclug-list] hep with postfix config? In-Reply-To: <50143B57.5020906@lctn.org> References: <50143B57.5020906@lctn.org> Message-ID: The following helped me immensely with such problems: smtpd_recipient_restrictions = permit_mynetworks, permit_sasl_authenticated, reject_non_fqdn_hostname, reject_non_fqdn_sender, reject_non_fqdn_recipient, reject_unauth_destination, reject_unauth_pipelining, reject_invalid_hostname, reject_unknown_sender_domain, reject_unknown_recipient_domain, reject_rbl_client dnsbl-1.uceprotect.net, reject_rbl_client dnsbl-2.uceprotect.net, reject_rbl_client dnsbl-3.uceprotect.net, reject_rbl_client list.dsbl.org, reject_rbl_client bl.spamcop.net, reject_rbl_client zen.spamhaus.org, permit smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks smtpd_helo_required = yes disable_vrfy_command = yes I hope this helps. ----- Eric F Crist On Jul 28, 2012, at 14:19:51, Raymond Norton wrote: > We run mailscanners for a number of domains on our WAN. Lately, we have been hammered with 100s of thousands of spam messages, forged with bogus email addresses of our local domain or the fqdn of the relay server. Wondering what the best way is to combat this. I could possibly implement spf checking to my postfix config, or maybe a simple access list check of allowed IPs??? > > > Any recommendations appreciated. > > > Raymond > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list From admin at lctn.org Mon Jul 30 12:22:27 2012 From: admin at lctn.org (Raymond Norton) Date: Mon, 30 Jul 2012 12:22:27 -0500 Subject: [tclug-list] hep with postfix config? In-Reply-To: References: <50143B57.5020906@lctn.org> Message-ID: Had most of that in my config already, but thanks for the reply. Got hit again over the weekend- 600, 000 messages. Always using the fqdn of the server, or the domain the server is part of. What should I change in my config to prevent that? The relay servers only scan mail and relay to private and public IPs: no local delivery Can provide a sterilized version of my config if that helps. On Jul 28, 2012, at 2:54 PM, Eric Crist wrote: > The following helped me immensely with such problems: > > smtpd_recipient_restrictions = > permit_mynetworks, > permit_sasl_authenticated, > reject_non_fqdn_hostname, > reject_non_fqdn_sender, > reject_non_fqdn_recipient, > reject_unauth_destination, > reject_unauth_pipelining, > reject_invalid_hostname, > reject_unknown_sender_domain, > reject_unknown_recipient_domain, > reject_rbl_client dnsbl-1.uceprotect.net, > reject_rbl_client dnsbl-2.uceprotect.net, > reject_rbl_client dnsbl-3.uceprotect.net, > reject_rbl_client list.dsbl.org, > reject_rbl_client bl.spamcop.net, > reject_rbl_client zen.spamhaus.org, > permit > > smtpd_sender_restrictions = permit_sasl_authenticated, permit_mynetworks > smtpd_helo_required = yes > disable_vrfy_command = yes > > I hope this helps. > ----- > Eric F Crist > > > > On Jul 28, 2012, at 14:19:51, Raymond Norton wrote: > >> We run mailscanners for a number of domains on our WAN. Lately, we have been hammered with 100s of thousands of spam messages, forged with bogus email addresses of our local domain or the fqdn of the relay server. Wondering what the best way is to combat this. I could possibly implement spf checking to my postfix config, or maybe a simple access list check of allowed IPs??? >> >> >> Any recommendations appreciated. >> >> >> Raymond >> _______________________________________________ >> TCLUG Mailing List - Minneapolis/St. Paul, Minnesota >> tclug-list at mn-linux.org >> http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > _______________________________________________ > TCLUG Mailing List - Minneapolis/St. Paul, Minnesota > tclug-list at mn-linux.org > http://mailman.mn-linux.org/mailman/listinfo/tclug-list > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean. > From tor at flatebo.org Tue Jul 31 16:27:53 2012 From: tor at flatebo.org (Torleiv Flatebo) Date: Tue, 31 Jul 2012 16:27:53 -0500 Subject: [tclug-list] Asterisk experts in the Twin Cities? Message-ID: Hello, We are looking at getting into some Asterisk technologies and would like to connect with any professionals with experience with Asterisk. Are there any Asterisk consulting firms or individuals who have experience installing, configuring and developing against Asterisk? We don't really need people to do it for us, just looking for someone who has experience and can help us out. You can contact me off-list. - Tor -------------- next part -------------- An HTML attachment was scrubbed... URL: