Skip navigation

Simple tool:  I found I needed a way to keep tabs on when a DNS changed happened.  Knowing that the current site is hosted on a CloudFlare setup, I found that using curl to read the header, it gave me the server type.  Well, all I needed to know when that server type changed and I can go ahead with the rest of my setup.  This simple bash script works well for it’s basic purpose.

  1. while [ 1 ]; do
  2.         curl -Is  > test-curl.log
  3.         date >> test-curl-results.log
  4.         head -2 test-curl.log | tail -1 >> test-curl-results.log
  5.         notify-send “$(grep Server: test-curl.log | cut -c9-)”
  6.      sleep 1m
  7. done

When I see the change, I simply just stop the script from running.  If the change happens while I’m sleeping, I can see when it officially changes over.  If you have use for it, then enjoy it!

*currently set to 1m for testing.  Change to suit.

Advertisements

Been awhile since I posted here, figured this would be a good one to keep people aware, knowing how popular these routers were.

Researchers say they have uncovered an ongoing attack that infects home and small-office wireless routers from Linksys with self-replicating malware, most likely by exploiting a code-execution vulnerability in the device firmware.

Johannes B. Ullrich, CTO of the Sans Institute, told Ars he has been able to confirm that the malicious worm has infected around 1,000 Linksys E1000, E1200, and E2400 routers, although the actual number of hijacked devices worldwide could be much higher. A blog post Sans published shortly after this article was posted expanded the range of vulnerable models to virtually the entire Linksys E product line. Once a device is compromised, it scans the Internet for other vulnerable devices to infect.

Read More here.

30 Cool Open Source Software I Discovered in 2013

by  on DECEMBER 31, 2013 

These are full-featured open source software products, free as in beer and speech that I started to use recently. Vivek Gite picks his best open source software of 2013.

Read the whole article here.

Numbers mean things 🙂

The Networking Nerd

I recently had to have a technician come troubleshoot a phone issue at my home.  I still have a landline with my cable provider.  Mostly because it would be too expensive to change to a package without a phone.  The landline does come in handy on occasion, so I needed to have it fixed.  When I was speaking with the technician that came to fix things, I inquired about something the customer service people on the phone had said about upgrading my equipment.  The field tech told me, “You don’t want that.  Your old system is much better.”  When he explained how the low voltage system would be replaced by a full voice over IP (VoIP) router, I agreed with him.  My thoughts were mostly around the uptime of my phone in the event of a power outage.

Uptime is something that we have grown accustomed to in today’s world…

View original post 543 more words

Something to think about.

L.M. Sacasas

Consider the image below. It was created in 1952 by Alexander Leydenfrost for the 50th anniversary issue of Popular Mechanics.

Alexander Leydenfrost - March of Science 3WifC

I thought of this image as I read Thomas Misa’s brief discussion of the wide-spread perception that the pace of technological change is ever-quickening. “At least since Alvin Toffler’s best-selling Future Shock (1970),” Misa writes, “pundits perennially declare that the pace of technology is somehow quickening and that technology is forcing cultural changes in its wake, that our plunge into the future is driven by technology gone out of control.”

Misa, a historian of technology, is not altogether certain that the pace of technological change has in fact quickened. He is certainly opposed to the “crude technological determinism” inherent in the idea that technology is forcing cultural changes. He does, however, give merit to the experience that is often described using this language. He attributes the perception of quickening…

View original post 1,096 more words

 

 

Steven Bertoni Steven Bertoni, Forbes Staff

I cover technology, entrepreneurs and billionaires.

Tech
12/23/2013 @ 7:30AM |110,497 views

14 Bad Tech Habits To Break In 2014

Break these bad tech habits in 2014

Break these bad tech habits in 2014

Thanks to smartphones, cloud technology and social networks, we can take the Internet with us everywhere these days. The down side–we can take the Internet with us everywhere these days.

We are a society tethered to our devices. Apple played on this recently with a tear-jerker of a holiday commercial. But as clever as Apple marketing is–very few teenagers (or any of us for that matter) with faces glued to iPhones use the smartphone to create touching family moments. Most are only texting or surfing the Web.

So as we reflect on the life changes we hope to make in 2014, I asked my digitally astute colleagues at FORBES to share their technology New Years Resolutions. Below are bad technology habits we want (both ourselves, and others) to break in 2014–Good luck.

1) I will stop checking email before bed, right when I wake up and in bed in general.

Has this ever happened to you? Just before turning in, you check your iPhone one final time, only to have a (stressful, annoying, distressing—insert any adjective here) email keep you tossing all night. Or have you checked your phone first thing in the morning, and an email or text fills you with anxiety before you’ve even fully woken up? It happens to us too.

Tip: Keep all screens out of the bedroom. If like me, you use your iPhone as your alarm clock, swap it out for a clock radio to remove the temptation.

2) I will turn-off all email notifications.

The Microsoft Exchange email alert, the Gmail inbox counter and G-Chat indicator—few things are more distracting than these attention stealers.

Tip: Dig into your settings to switch off the distraction-inducing blips and chimes from detracting from the task at hand. Create a disciplined schedule to check your email once every hour or so–you’ll gain an incredible amount of control over your work day.

3) I will not use my iPhone or Android as a social crutch.

When did if become a requirement to bury your face in a smartphone during every minute you find yourself waiting for a friend at a bar or restaurant? Keep your phone in your pocket, take in the scene and maybe even talk to the person next to you at the bar.

4) I will talk more and text less.

No more refusing to answer calls from friends so you can text them back asking “what’s up?” Same goes for texting happy birthday, happy anniversary, happy new year. While texting is great for logistics, for big, emotional moments and milestones—reach out and touch someone. But there’s a caveat to this rule, see resolution #5.

5) If a person does not answer my call, I will not leave a voicemail—that’s what texts are for.

Pass codes, dialing “1″ for new messages, quickly scribbling down the phone numbers and addresses left in those messages–no one has the patience for that these days. As a result, now no one checks voicemail any more–at least not right away. Send a text, your friend will appreciate it, and it will actually be received.

6) I will not use my smartphone in the following places:

– in the gym

– in an elevator

– in a crosswalk

– in the checkout line

– in the drivers seat

– in the restroom

7) I will not use hashtags outside of Twitter, and when I do, it will be solely for trending topics (say no to #stopwritingstupidhashtags)

8) I will limit my Instagram posts to one photo per event/setting.

Tip: Want to post a series of pics—create a Facebook photo album. Another good tool is the InstaFrame app that lets you make a photo collage to share as a single Instagram image. A final option for not spamming your Instagram feed—use Instagram Direct to send photos to folks you know will appreciate seeing same sunset, 7 different ways–with 7 different filters.

9) I will not check Facebook more than 3 times a day.

Tip: Download Anti-Social–the program will block social networks like Facebook and Twitter but still let you access the rest of the Web.

10) I will not Google facts, dates, actors’ names, or anything else in the presence of other people.

11) I will not show people Memes in public

Memes, funny videos, cat photos should be shared via text message and email only–not by pushing smartphones under our friends’ noses.

12) I will unsynch my Facebook, Twitter and Instagram accounts because people don’t need to see the same post on three different platforms.

13) I will delete enough email to keep my pile of unread Gmail messages below five-figures–because seeing you have 10,000 unread emails is just plain overwhelming.

14) I will stop writing click-bait, listicle-style Web stories. (But hey, it’s not 2014 yet, so I better get them in while I still can. Happy New Year everyone.

Follow me on Twitter: @Stevenbertoni

So the last few days have been spent bouncing back and forth between learning GitHub and learning Palaver.  Learning both is a mix of finding only tutorials(well, for GitHub, none for Palaver actually) and trial/error.  I finally found a GitHub one that is great for beginners as for some reason, everyone else just kinda assumes  you know what you are doing with GitHub when they wrire their tutorials…..which kinda defeats the purpose of the tutorial really.

With Palaver I’ve been updating the severely deplorable Wiki page into something more useful!  It’s a slow process as I learn more and tweak it more.  Right now, I’m trying to tweak the voice into something a little more pleasant. 

First, and a nice combination of the two things I am learning, how to get the repo from GitHub an then install it.  Did it once with Wine, need to find help repeating the process.

https://fsf.org/givingguide/2013

Now this is nice!

So I’ve been kinda ‘jonesin‘ for a change to get back into playing Skyrim ever since a friend went on vacation and let me play his XBox while watching his dog for a week.

I have also been wanting Valve to release a Linux version of Steam.  A couple of months I found that they did a Linux client, sweet!  So I installed it and then a friend gifted me with a copy of Half-Life 2 on Steam.  That was fun.

Then I heard about DOTA2. I thought that was a pretty cool looking game, free.  So I signed up and got on a waiting list.  And waited.  And waited.  And waited more.  I gave up thinking about it but in November, I finally got approved after 3 months.  I was kinda surprised because I was like 150,000 in line or some such high number that didn’t budge at all.  So, was having fun with that for like 3 weeks and then….I saw Skyrim on Sale.  75% off for a grand total of $7.49USD.  Sadly, still only a Windows game.  Still, I thought, I could just buy it and wait till I maybe build a windows system (not sure if I really wanted to go that route at all) or give Wine a try.

Before anyone says that Wine is just an emulator, read this from their site:

Wine (originally an acronym for “Wine Is Not an Emulator“) is a compatibility layer capable of running Windows applications on several POSIX-compliant operating systems, such as Linux, Mac OSX, & BSD. Instead of simulating internal Windows logic like a virtual machine or emulator, Wine translates Windows API calls into POSIX calls on-the-fly, eliminating the performance and memory penalties of other methods and allowing you to cleanly integrate Windows applications into your desktop.

Just to be clear “Emulation refers to the ability of a computer program in an electronic device to emulate (imitate) another program or device.”  Wine does not emulate.  It literally translates Windows calls into Linux calls.

That being said, that does not mean everything works exactly as offered.  Wine offers some nice choices.  In fact there are nearly 21,000 programs in their database which have been test/work with Wine.

So I decide, what the hell.  It’s only $7.49.  If I can’t get Wine to work, no biggie.  I’ll just put it on the back-burner to eventually do something with it.  After a little playing around….ok, a fair bit of playing around to tweak it to work relatively smoothly enough to be playable, I got it to work just fine.  Thus leading into a new obsession.  I am simply blown away by the level of detail paid to this game.  First, the eye-candy:

And one more, day shot:

Some awesome views but the detail I am talking about is with the game itself.  You can find books all over the place and read each one!  Pretty damn cool and a level of detail I’ve not heard of in any other game.  Admittedly, I’ve not played many other games but still…never heard of it.

Ok, so great, the game plays.  I cranked up 38hrs of gameplay is a relatively short time (steams shows you how long you ‘ve played each game).  Everything was going fine then….Steam sent out an update.

Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x7bc5787b).
Register dump:
CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
EIP:7bc5787b ESP:0033fab8 EBP:0033fba0 EFLAGS:00010202(  R- —  I   – – – )
EAX:00000000 EBX:7bcc8000 ECX:00000000 EDX:00000004
ESI:00000002 EDI:0033fca4
Stack dump:
0x0033fab8:  0033fb24 0033fc08 0000000c 0013bd88
0x0033fac8:  00000000 0033fb2c f75b4378 0013bda0
0x0033fad8:  00000002 0013bd88 0013bda0 00000000
0x0033fae8:  0013be78 0033fb2c 7bc48937 00000000
0x0033faf8:  0033fc04 0033fc14 7bc33f00 00000034
0x0033fb08:  ffffffff 0033fb2c 7bc34b47 00110064

Noooooo!  Just when things were going well.  Sigh.  So off to Google I go.  After some digging and chatting with the guys on #winehq, this became a known problem quickly and a fix was already in the works/soon to be release(tomorrow I think).  Ugh.  Well, I could go back to playing DOTA2 for awhile, which I did.  But then I got edgy.  Maybe I’ll consider the ‘compile from source’ option someone mentioned.  Off to Google I go again!

This…..this turned out to simply be a challenge just to find out HOW to do it, let alone go through the process itself.  Eventually I narrowed down the how-to to two different websites(crazy huh?) to be able to start the process.  Let’s see how this goes shall we?

First is http://wiki.winehq.org/GitWine

This was great except it didn’t tell me WHAT to do with the files after I got them.  Just how to manage my own GIT versions and such.

Second was https://github.com/mirrors/wine

This told me what to do with the files but didn’t tell me how to get them. But wait…I know how to get them now….ok, let’s put the two together 🙂

This worked….well, it started to work then tossed me an error.  After searching on this error message, it seems I needed to run “./configure --enable-win64” because of my AMD FX6100 64bit cpu.  Great….but ran into another error.  At least this one told me I was just missing a program (bison), which I installed and finally the ‘configure’ part finished.  This was when I decided “I should probably document this in case anyone else runs into the same issue and maybe my blog gets a hit on their googling for an answer?”.

So I just ran ‘make’ (which does the actual compiling in my understanding) and waiting for it to be done.

Wine build complete.

Now this is what I like to see!  Running winecfg worked just fine.  Now to install Steam!

I followed http://www.steamgamesonlinux.com/how-to-install-winetricks/ for details to install. Steam installed fine.  Updated fine.  When I went to log into my account, crashed!  Sigh.

Well, tried a few more times to get Steam to work, no dice.  So, gonna wait till 1.7.8 comes out now.  Ah well.

UPDATE 1:

Ok, so 1.7.8 was released. I go through the whole rigamarole and still the same problem. When I check the version, it was showing 1.4.1 o_O. I don’t quite get that considering I downloaded 1.7.8. Of course it crashes again. Ugh. I give up and leave it for the day. When I try again, I make sure I remove any mention of 1.4 installation. Then when I try to run wine (afte just compiling it of course) I get ‘not found’?! Err, this is messed. I look at the wine-git directory and can see a ‘wine’ that is a sym-linked file. Then I noticed below it a wine64(sym-linked as well). Ohhhhh. I recall the “–enable-win64”. When I type in wine64, it works! Geeze….documentation people! It’s probably mentioned someone but buried deep and not even close to those less than OCD on reading documentation.

And it seems that it still doesn’t work. typing just ‘wine’ fails to find any program. wine64 finds a program. So typing wine64 + should work. That did seem to setup Steam as it installed other components(yay) but after that, nothing. I can’t open steam. It literally gives me zero info when I type ‘wine64 Steam.exe’ in the Steam directory. Sigh. The quest continues.

UPDATE 2:

Hey lookee what I found: http://wiki.winehq.org/Wine64. You’d think they’d link that in the default documents somewhere (“For 64bit versions click here” type of deal eh?).

UPDATE 3:

Really??

The following packages have unmet dependencies:
libjack-dev : Depends: libjack0 (= 1:0.121.3+20120418git75e3e20b-2.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
+ uname -m
+ test x86_64 = x86_64
+ echo I do not know how to install 32 bit libraries for distro LinuxMint
15 yet
I do not know how to install 32 bit libraries for distro LinuxMint
15 yet

So I install ‘libjack0’ and the scripted I Dl’d does it’s thing.  What a bizarre message.

UPDATE 4:

So, after all that, a recompile and still can’t launch steam.  Found out how to add the ppa to my Software Sources.  Let’s see how that goes.  No dice there.  Still doesn’t even list wine at all. :/  So, looking further I see a manual way to install wine1.7.   ‘sudo apt-get install wine1.7’.  Gonna try that then go make sure it launches.

Was on #winehq and because steam is a 32bit, the 64bit won’t work most likely.  Well, definitely not in my case.  So I need the 32 bit.  I believe doing the above will install both versions.

Well, after reisntalling steam (again, I  really should have just left it alone as this was just a wine issue apparently…) I successfully logged in!  Now to reisntall Skyrim and back to my obsession!

Thanks to everyone who helped me muddle through this, mistakes and all!