Linux.com

Home Linux Community Community Blogs

Community Blogs



Simple scripting to save your Wifi connection

Wireless device support and stability have come a long way in Linux since i started using Ubuntu a few years ago.

Now and again though, something can happen to make you lose your wireless connection.  Many people solve this by restarting network manager or by simply restarting the computer.  

With a small script file, you can restart your wireless driver when its on the fritz, quicly and easily.

First create a file: 

gksudo gedit /usr/local/bin/name-of-file

Then add the script code:

#!/bin/bash

modprobe -r your-wireless-device
modprobe your-wireless-device

Save and close your file and give permissions to run it:

sudo chmod +x /usr/local/bin/name-of-file

Finall, run the script by typing in the terminal:

sudo name-of-file

 

Hope this helps some people, not only with keeping you wifi going strong, but also with how to implement simple scripts to make computing easier and funner.

 

-GL

 

 

Motion detection software for webcams

Here's a quick link for a problem of mine, it comes from Linux forum and I'd like to note this software rocks ! The author as well !

Here's my problem:
I'd like to get started with some sort of motion detection software, i need to save images (still frames) or videos from a common webcam when something changes. I even need to shape the area I need di capture cause in some areas there are noises or non interesting things (car traffic and so on). I need it for a private remote camera control for surveillance. Any hints ? is there someone having experience on it ?


See original post at:
Motion Detection Software HowTO


Check out solution at:
Motion Software


Lession learned: I've got a reply to my question (see the link) in 10 minutes, amazing !

 

Hope it helps someone else

 

Excellent Beginning Python Series on LinuxPlanet

Hey all,

I wish to shamelessly plug a series of excellent Python articles on LinuxPlanet. Akkana Peck, ace coder and all-around cool person, has been writing a series of howtos for Python beginners.  Python is a great language for anyone wanting to learn to code; it has a nice clean syntax, an orderly structure, and because it's an interpreted language you don't have to mess with compiling and linking and all those fun things. Which are fun, after you get a grounding in a nice interpreted language like Python.

Intro to Shell Programming: Writing a Simple Web Gallery
GUI Programming in Python For Beginners: Create a Timer in 30 Minutes
Graphical Python Programming With PyGTK

Enjoy, and thanks for reading!

 

测试

测试下

 

只是测试

 

Online Web Game

I've been playing an online webgame recently. (You've probably seen the advertisements for it).  The game is one where you build up your empire in several ways in order to dominate your corner of the world.

 

One of the ideas of the game is that the game runs even when you aren't online. You're farms keep producing food,  your ironmines keep creating iron, and  so on.  You leave it for a day, when you come back you have the resources to build something you've had your eye on.  The game teaches you patience.  After you start getting some of the higher level buildings and warriors or technologies it can take days to accomplish one thing. (During which you hope you won't be attacked).

 

I like this aspect of the game, as it will keep users coming back again and again.

 One of the downsides of the game is that it plateaus fairly quickly.  The game design is good, but doesn't go far enough. It also doesn't have enough possible paths in order to advance your "civilization".  The game does copy a lot of ideas from civilization, including most of the quotes. 

 The game is downloaded into flash each time you log in, so it is kept updated in real time. 

 

 

 

What is a distro?

I recently gave up on the idea that a distro is a set of modified packages and a core system. Because when I made the only major disto change of my linux life, yes, I was changing the way computer looked, and the core system was quite different, but that was a minor change, somthing that I could get over relitivly quickly. So what had changed when I moved?

 It was the expectations. When I had been using Ubuntu, no one expected very much of me, and was willing to acomidate any strange or irrational decisions. However, when I came to Arch Linux, it was compleatly different. I was expected to be quite proficient in comand line, and while this did not mean that help was not provided, it was provided to be concumed, not to be shunned and ignored. Like a teacher, the community expects the student to want to learn, and it gives it's best in return. This isn't a blog about the benefits of the Arch Linux community over the Ubuntu one, it is a blog about how it is not the technology that makes up the distro, it is the community. While the technology gives a central point for the community to form, very quickly it becomes more or less equal to it's child. This isn't a one way relationship though, the community drives the technology, and the technology provides the basis for the community. The community very often takes it's expectations from the technology; the ubuntu forums are beginer friendly, as is ubuntu, but this does not always happen. What I am trying to say here is that the disto as a community is different from the distro as a technology, though the both depend on each other.

In conclusion, a distro is not a technology, yet it is not a community. It is a fusion of all these things, forming one great oblong (I like oblongs) bulge on the computers of  thousands of personas everywhere iver the world.

 

Buying or Building - System Options

I'm probably slightly older than the average member here at Linux.com at 47 years of age. I was an early... and a late comer to computers. How could I be both? Well, it's a long story. Go grab that cup of coffee you wanted. I'll wait for you to get back...

My actual career, which no longer exists in the U.S., was RF communication (radio) and audio repair specialist. I was something you may have heard your dad talk about... a component level bench technician. I did this for about twenty years. Then one day I woke up and my job had moved to Korea, then on to China, eventually.

Back in the late 70s and early 80s I was in college learning about microprocessors and machine language. Some of you older folks might remember the 8080A, 8085, and the Z80 processors. They were the bleeding edge of the technology at that time. Nowadays, they're used to control sprinkler timer systems to keep your neighbor's grass pretty and green.

My first experience with what you might call a modern computer was the Commodore Vic 20. It was a pretty amazing machine at the time. Shortly after that I acquired a Commodore SX-64 briefcase computer system. This thing was the cat's meow. Let me tell you! It had a built-in 5¼" floppy, a game slot, and a 5" color monitor. With 64K, you were rockin' and rollin'. Here's what one looked like:

It has a 300 Baud modem that I used to access Compuserve and some local BBS (electronic bulletin boards). Lotsa' fun! I wasted hours with this thing online or playing text-based adventure games like Infocom's Zork series. Shortly after this time (early 80s), I moved on in life and left the computer in the closet collecting dust. 

One day in '93, I was at my brother's office. He showed me his new system. It was a 486 DX-66 running a new operating system called Windows. Cool! This thing was amazing compared to my old Commodore. Time went on by... Early in 2000, my brother asked my advice about purchasing a new personal computer system. He knew I had friends who were big muckity-mucks locally for the Gateway store. I set my brother up with them. He got a nice new system.

He called me a few days later and asked if I'd like his old system. He knew that I didn't have a computer. At this time, I had just started flirting around with the World Wide Web and USENET using a friend's system or the one at the public library. I told my brother that I would definitely like that old system. I went over to his place and picked it up right away.

It was a Pentium I 90 with a 2Gig hard drive and 64M RAM. It was running Windows 98SE. With that little system, I entered what was to me the modern computer age. This Windows stuff was pretty cool! Oops! What's this blue screen error notice I get once or twice a day?

Hey! This is frustrating!  Heh-heh. Ah... the memories.

Anyway, that's when I became a serious USENET/boards/forums junkie. To me the Internet is about two things: knowledge and community. I've spent the last nine years partaking of both. So, getting to the point of this entire, long-winded posting... is it better to buy or build your own systems?

For me, with my technical experience, it's much better to build I can build a very customized, top-of-the-line machine for about a third of what it would cost me to buy one. That's how the ericsbane series started. I built ericsbane01 with an AMD K7 Thunderbird CPU. I built ericsbane02 with an AMD Athlon 2600+. And I built my current ericsbane03 with an AMD Athlon XP-64 3800+. Yeah, I kinda' like AMD processors.

Building your own system is not for everyone, but it's really not that difficult. Do your research. Price your hardware and peripherals. Put it all together. Install your favorite GNU/Linux distro and you're all set.

Until next time...

V. T. Eric Layton

***Tempus Fugits***

   

Pensamientos sobre el desarrollo de Linux

 Hoy quisiera compartirles algunos pensamientos sobre este fenómenal sistema operativo.

Linux ha logrado tener un lugar en el mundo informático, a veces lo vemos como algo normal dentro del mundo actual, pero su crecimiento no deja de ser fantástico.

Hoy en día grandes empresas están respaldando soluciones basadas en Linux. A nivel internacional y también a nivel regional la penetración de Linux es imparable.

Vivo en la ciudad de Torreón en México. Es una de las principales 20 ciudades del país, y veo con admiración y personal satisfacción la penetración que lleva Linux dentro de las grandes empresas regionales.

Se ha vuelto una herramienta que a las empresas comienzan a ver natural. Día a día es más difícil ver una empresa grande sin que tenga en su arsenal servidores Linux.

EN el plano internacional es todavía mayor el efecto. El compromiso de un gigante como IBM con el software libre era una fantasía hace unos años; y sin embargo, hoy es una realidad. Empresas que deciden empujar sus economías de la mano del software libre.

Estamos viviendo uno de los mejores momentos de la comunidad. Particularmente en el área empresarial.  

SIento que es un efecto natural debido a la comunidad. Gente con gran ingenio técnico y una preparación en sistemas son quienes soportan actualmente este fenómeno. La exigencia es que los sistemas sean robustos y funcionales, y estos valores son bienvenidos en las empresas. 

Conscientemente estoy dejando de lado el ambiente de escritorio, dejándolo intencionalmente para otro artículo.  

 Disfrutemos de este periodo, pues haciéndolo contribuimos a que siga adelante nuestro querido sistema operativo.

 

Japanese popular gathering "Benkyoukai"

日本では今IT業界だけではなく勉強会が盛んだ。

特定の分野に興味がある人が集まって一緒に勉強する。

People get to gether and study common interest thing.

私も今日は勉強会だった。今日のタイトルは仮想マシーン(VMM)

I attended "Benkyoukai" today. Today's focus is VMM, Virtualization.

欧米ではこんな集まりはあるのだろうか。英語ではなんて言えば通じるのだろうか?

Do people in western contories have this kind of gathering. If so, how can I say that kind of gathering?

 

でも日本独自?だとしたら日本人の勤勉さの証明?

 

 

Pensamientos sobre el desarrollo de Linux

 Hoy quisiera compartirles algunos pensamientos sobre este fenómenal sistema operativo.

Linux ha logrado tener un lugar en el mundo informático, a veces lo vemos como algo normal dentro del mundo actual, pero su crecimiento no deja de ser fantástico.

Hoy en día grandes empresas están respaldando soluciones basadas en Linux. A nivel internacional y también a nivel regional la penetración de Linux es imparable.

Vivo en la ciudad de Torreón en México. Es una de las principales 20 ciudades del país, y veo con admiración y personal satisfacción la penetración que lleva Linux dentro de las grandes empresas regionales.

Se ha vuelto una herramienta que a las empresas comienzan a ver natural. Día a día es más difícil ver una empresa grande sin que tenga en su arsenal servidores Linux.

EN el plano internacional es todavía mayor el efecto. El compromiso de un gigante como IBM con el software libre era una fantasía hace unos años; y sin embargo, hoy es una realidad. Empresas que deciden empujar sus economías de la mano del software libre.

Estamos viviendo uno de los mejores momentos de la comunidad. Particularmente en el área empresarial.  

SIento que es un efecto natural debido a la comunidad. Gente con gran ingenio técnico y una preparación en sistemas son quienes soportan actualmente este fenómeno. La exigencia es que los sistemas sean robustos y funcionales, y estos valores son bienvenidos en las empresas. 

Conscientemente estoy dejando de lado el ambiente de escritorio, dejándolo intencionalmente para otro artículo.  

 Disfrutemos de este periodo, pues haciéndolo contribuimos a que siga adelante nuestro querido sistema operativo.

 
Page 126 of 143

Upcoming Linux Foundation Courses

  1. LFD320 Linux Kernel Internals and Debugging
    10 Nov » 14 Nov - Virtual
    Details
  2. LFS426 Linux Performance Tuning
    10 Nov » 13 Nov - Virtual
    Details
  3. LFD312 Developing Applications For Linux
    17 Nov » 21 Nov - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board