Linux.com

Home Linux Community Community Blogs

Community Blogs



Asus Eee PC and Easy Peasy 1.1

My mother needed to have open heart surgery this week and I needed a quick, no hassle way of staying connected to work. My surfboard sized Toshiba is a great semi-portable desktop replacement, but it isn't really well suited for adhoc Internet access, email and document processing in the hospital.

 I have seen the rave reviews of the Asus Eee PC 1000 hardware for a while, and for $500 delivered overnight from New Egg I felt like I could take the risk on it. I am a Debian guy and need to have something similar in capability to my regular laptop load, so while I was waiting for the overnight delivery I poked around for Debian or Debian-based distros for the Eee PC. I found the Easy Peasy site and downloaded the iso.

 After the little box arrived via FedEx, I grabbed it and the disk and shot off to the airport. The install was slick and the hardware all worked out of the box. I was able to grab some free WiFi at the airport with a click of the mouse and dropped in my openvpn keys for access to work. In no time I was up to date thanks to apt and productive as I needed to be.

I expected the keyboard to take some getting used to, but honestly my fingers found all the right keys with no problem at all. I also expected to be frustrated with the performance and the small screen size, but it is very responsive and the bright display has crisp letters that make using it a pleasure.

Every time I've taken it out to check mail or work on some code, the looks have been really amusing. People just don't believe a full powered PC can live in such a small case. Of course, I'm 6'1" and have a large, wide frame, so they could be just chuckling at the contrast in sizes.

I have to hand it to Asus and Easy Peasy. This system was exactly what I needed and worked far beyond my expectations. I now intend to make this system part of my normal work flow. It's nice to leave the system idling silently for communication like email and IM while I work code on my larger and more powerful laptop.  If you've been sitting on the fence about netbooks, it's time to try this one out.

 

Joined Linux.com

This's nice place.
 

A big hello to Linux.com

I'm not going to pretend that I am a guru. I'm not going to pretend I'm much more than a noob.

But I am, at least once, going to pretend that I know how to construct words into sentences, sentences into paragraphs, and paragraphs in to blog posts. 

So I'm issuing a big hello to the new linux.com community and am impressed at the site from the small amount of time I have spent perusing. Mostly I like the fact that there is a modern styled website that devotes itself to Linux as a whole as opposed to the distro specific groups that are common these days. Of course these distro specific  forums and sites have their purpose, and in times past I would be lost with out my trawlings of the Ubuntu and the #! forums. 

 I hope that linux.com succeeds in becoming a thriving community along side of the more spefic forums and irc that linux enthusists  already frequent, and the high number of members since the sites opening 2 days ago seems that it's well on the way. 

 As far as a getting to know you kind of deal I'll give you a quick rundown on myself, regardless of if you want to read it or not.  

 I am rather certain that I am male. 

I may be 28, though sometimes I feel like im 12, hmmm, maturity is not one of my strong points. :D

I have been using Gnu/Linux (i'm trying to start using that term) since October 21st, 2007  (I remember the date because it was the day I bought my then new pc). And have spent quite a bit of time playing with different distros. Debian/Ubuntu based mainly. Though played with mandriva for a little while, as well as some Fedora releases. At the moment I am running the wonderful Crunchbang Linux 9.04.01, and it truley is a work of art. Great stuff.

 Hopefully I'll be able to read a few posts of this site and learn a little more.. I'm trying to get a little more adventurous and am planning to set up a home server soon and am toying with the horribly painful concept of using an old box and trying out a linux from scratch installation, so i can finally work out what the f*** all those config files are :P

 

Happy FOSS tinkering people.

 

SirWilliamTheNice 

 

Intro...

My first blog on linux.com.

 I'm pretty happy that I could register as 'Exodus'. My nickname is always taken by someone. I guess it's my fault for picking such a used nick.

 I found it incredibly hard to navigate here (the blog writter). I guess it's not as user friendly as one would hope. But persistence achieved my encounter with the blog writter. They should make a more user friendly quick link though.

 I guess it's time to do something useful here, for my next blog attempts I'm sure.

 Great web 2.0 elements btw Linux Foundation. And my congratulations.

Now to find how I can write articles, off to that epic voyage haha.

 

Understanding su and sudo

First of all, su means super user.  Distros like Ubuntu does not have root account . So what to do if one wants to do administrative tasks? Simple, just log in as super user. How? sudo is the answer. Here, are the steps how to log in as root/super user in distros where there is no root account.

 If you are in GUI mode,

Go to Accessories > Open New terminal then type "sudo su -" thats it you'll become root. And if then, if you want to be super sneaky you can type passwd and change/make new password for superuser account so that next time if you want to log in as root you'll just have to do is...

$ su (enter)
and type the password you set earlier.

 

How a poor boy of an in development country know Linux!

How a poor boy of an in development country know Linux?

All starts with a  simple fail, i need to use a computer, but it doesnot have Hard disk. Flash Drives was so expensive for me, so i rebember of an old conversation with one of my friends:

"I discovered that exist an Operational Sistem where there is no need for Hard Disk, it is Kurumin", it was Kurumin Linux.

So  i gone to my friends house and get one of this old Kurumin CDs, and run it by Live CD. WOW what was that? Runing just on RAM, on a old computer, it was faster than <the other> OS. Time passed and I got money enough to buy a HD, so I decided to install Kurumin in Dual Boot with <the other> OS.

After this i become sad because of some comments about the discontinuity of the Kurumin project. I quit Linux by a month when other friend tell me about Debian, so i downloaded it (yes on this time i become a University Student and get Internet), and instaled it.

WOW again ! another world, another Level!

I started with Debian etch, in January this Year, so i was tenpted to try Debian Lenny. Yes, i gone! Some time past and i get a faster computer and continued using Debian Lenny, now with 1GB RAM! Testing is Great!

Time passed and Lenny Become Stable! Wow it was fantastic! But i could not wait 2 days before going to Squeeze, where i am Now.

The live with Gnu/Linux  is SO EXCITING!, last week i tried to compile a new Linux Kernel. It fails, but this week i will try harder!

 Thank you Linux and GNU developers, you make me become a free man! Now i can use a computer, and change what i want on my PC! Thank you i can use a computer now!

 Ty

 

 

Using Perl to securely execute a command on and copy a file from a server.

This blog will discuss how to both securely execute a command on a remote server and securely copy a file from that server.

Here is the Perl script that can securely execute commands on as well as securely copy files from a server.

 #!/usr/bin/perl -w
##################################################
#This script is responsible for making a secure  #
#connection via ssh to server1 and executing the #
#commaned ls .                                   #
#This script is also responsible for making a    #
#a secure connection via ssh to server1 and then #
#scp the file test.txt.                          #
##################################################

#import required modules
use strict;
use Net::SCP qw(scp iscp);
use Net::SSH qw(ssh);
use Log::Dispatch::Syslog;

#declare local variables
my $scp;
my $host = "server1.domain.com";
my $user = "user1";
my $remotedir = "/home/user1/";
my $file = "test.txt";
my $cmd = "/bin/ls";

####################Log::Dispatch::Syslog#######################################
# Define our pid for use in the log message
my $pid = getppid();
# Define our logfile object
my $logfile = Log::Dispatch::Syslog->new( name => 'logfile',
                                          min_level => 'info',
                                          ident => "running_list_cmd[$pid]" );
####################Log::Dispatch::Syslog#######################################

######first connect to $host via Net::SSH and run /bin/ls###########
$logfile->log( level => 'info', message => "Connecting to $host as $user and running /bin/ls ..." );
ssh("$user\@$host", $cmd);
$logfile->log( level => 'info', message => "ls completed successfully!" );
######first connect to $host via Net::SSH and copy file $file###########

#initialize Net::SCP object and send credentials
$scp = Net::SCP->new($host);

#notify user we're logging into $host
print "Logging into $host ...\n";

#write "connected to $host" to $file
$logfile->log( level => 'info', message => "Connected to $host successfully." );

#log into $host as $user
$scp->login($user) or die $scp->{errstr};

#write "connected to $host" to $file
$logfile->log( level => 'info', message => "Logged into $host successfully." );

#notify user of changing working directory to $remotedir
print "Chaging working directory to $remotedir\n";

#change working directory to $remotedir
$scp->cwd($remotedir) or die $scp->{errstr};

#Write Changed working directory (CWD) to $remotedir
$logfile->log( level => 'info', message => "CWD to $remotedir successfully." );

#display file size of $file
$scp->size($file) or die $scp->{errstr};

#notify user scp of $file has started
print "SCPing $remotedir$file from $host ...\n";

#scp $file from $host
$scp->get($file) or die $scp->{errstr};

#notify user scp of $file from $host was successful
print "$remotedir$file copied from $host successfully!\n";

Disclaimer:  This blog entry comes with NO expressed warranty, guarantee, support, or maintenance of any kind!  Use at your own risk!   

Good luck and hope you find this useful.

 

Nice console regex helper

Last week I stumbled on a nice console regex helper. It’s not that I’m bad at regex but switching between sed, vim, python, perl regex trips me up a bit sometimes.

Full Post

 

Joining the "new" Linux.com

 

Looking good so far.

 

~dr0hm

 

A Personal Introduction

Congrats to Linux.com on the new look.

I'm a newcomer to Linux, having switched from Windows XP to Ubuntu 8.10 on my home computer last December (2008).  Up until a few years ago all of my adult life had been focused on theology and ministry (I'm 34 now ), but lately I've shifted focus to technology, programming and web developing. 

While I don't regret any good I did before and I am glad to still be counted as an ordained clergy person engaged in ministry, the way forward is going to be different.  I wish I had gotten involved in computer science earlier in life, but if wishes were horses I'd have a stampede.

Having used Windows for so many years and Macintosh at my most recent job with a startup company in New York (as the customer service rep), I appreciate Linux for everything it offers and for how it feeds my geeky need to play around with the mechanics of how my computer operates.  In general, the open source philosophy embraced by Linux is one that appeals to my interest in promoting low-cost software solutions for developing countries.

 As I mentioned above, I am in the early phases of learning my way around.  To give you an idea, I'm in the process of gaining a mastery of the fundamentals of html, css (coming along well) and JavaScript.  I am also working through some Python tutorials.  Although I've played around with Ruby and like it, I prefer Python. 

 Consider that a brief intro to who I am and where I'm coming from.  My regular blog can be found at Igneous Quill and I show up from time to time on the Ubuntu forums.   

 

Good for the (open) soul

Wow, Linux.com has really been buzzing with activity today.. Good to see the community active, and striving towards better things. Good to see the community being listened to, as well. Good to see the community not abusing being listened to, too ;P

 Forums could be a bit busier though, but they should catch on.. But no, lets not spoil the post with negativity, it's a good day, on a good site, using a good OS :D

 
Page 137 of 148

Upcoming Linux Foundation Courses

  1. LFS220 Linux System Administration
    05 Jan » 08 Jan - Virtual
    Details
  2. LFD331 Developing Linux Device Drivers
    12 Jan » 16 Jan - Virtual
    Details
  3. LFS520 OpenStack Cloud Architecture and Deployment
    12 Jan » 15 Jan - 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