[123000100010] |Fully automated Fedora Linux installation manual (create custom installation cd) [123000100020] |Few will deny that everybody who installs Fedora or other Linux distributions on a regular basis will realize one day that the installation can be done without user intervention. [123000100030] |There is no doubts that it could at least save installer’s time. [123000100040] |Let me describe how to create custom CD for fully automated installation of Fedora Core 5 (this manual is also is applicable for other versions of Fedora, RedHat and CentOS). [123000100050] |First of all copy contents of Fedora Core 5 FIRST installation compact disc to some directory. [123000100060] |As Fedora Linux uses Anaconda installer and supports ‘kickstart’ installation method, we’ll create kickstart file (simply text file) with all needed installation options and put it to new Fedora installation CD. [123000100070] |Create text file named as ks.conf (just for example) at the directory you’ve extracted CD and fill it up with the following contents (my example): [123000100080] |lang en_US cdrom keyboard us install reboot timezone Europe/Kiev selinux –disabled auth –enablemd5 –useshadow firewall –disabled rootpw your_root_password network –bootproto=static –device=eth0 –ip=192.168.0.1 –netmask=255.255.255.0 –hostname=viper_tes_fc5 –nodns clearpart –all part swap –recommended –ondisk=hda part / –fstype ext3 –size 1 –grow –ondisk hda bootloader –location=mbr %packages @ Core -acpid -anacron -apmd -cpuspeed -aspell-en -aspell -at -bluez-utils -dhcpv6_client -finger -gpm -irda-utils -smartmontools -ypbind -nfs-utils %post /sbin/chkconfig sendmail off [123000100090] |This file assumes that your server has single IDE hard drive and one network interface card. [123000100100] |In case of SATA or SCSI hdd just replace ‘hda’ with ’sda’. [123000100110] |Please find full description of kickstart options here. [123000100120] |There are two ways to start kickstart installation when booting from Fedora installation CD: 1) type ks=cdrom:/ks.conf just after boot: prompt and press enter; 2) make kickstart installation method default (in this case installation will be performed automatically just since you’ve inserted disk to cdrom). [123000100130] |To apply first way it’s enough to assemble new Fedora installation cd and boot with it. [123000100140] |To follow second way it’s necessary to modify file isolinux.cfg at isolinux directory of first Fedora Core 5 installation CD. [123000100150] |To edit isolinux.cfg go to the directory you’ve copied Fedora installaion CD contents to, then change dir to isolinux folder and open file isolinux.cfg for writing. [123000100160] |You’ll see something like this: [123000100170] |default linux prompt 1 timeout 600 display boot.msg F1 boot.msg F2 options.msg F3 general.msg F4 param.msg F5 rescue.msg label linux kernel vmlinuz append initrd=initrd.img label text kernel vmlinuz append initrd=initrd.img text label ks kernel vmlinuz append ks initrd=initrd.img label local localboot 1 label memtest86 kernel memtest append - [123000100180] |To make kickstart installation method default just replace line ‘default linux‘ with ‘default kickstart‘ and add these lines to the end of the file: [123000100190] |label kickstart kernel vmlinuz append initrd=initrd.img ks=cdrom:/ks.conf [123000100200] |You may also replace 600 timeout with timeout you like (in ms). [123000100210] |After changes are done save file. [123000100220] |The last step is to assemble new Fedora boot CD. [123000100230] |In case you’re running Windows you may use IsoMagic or some other programs to edit ISO images and create custom bootable CDs. [123000100240] |As I’m not Windows user (wow!) I’ll describe how to assemble new bootable Fedora installation CD with Ubuntu (or ANY other Linux distribution): [123000100250] |1) go to directory you’ve copied Fedora Core 5 CD files to [123000100260] |2) execute command: [123000100270] |sudo mkisofs -o /tmp/new.iso -b isolinux/isolinux.bin -c isolinux/boot.cat -no-emul-boot -boot-load-size 4 -boot-info-table -J -R -V “Custom Fedora” . [123000100280] |This will create new ISO CD image at /tmp/new.iso. [123000100290] |After ISO is ready you can use any CD burning tools like cdrecord, k3b, gnome-baker to burn it onto compact disc. [123000100300] |At this point procedure is finished and you can test custom Fedora Core 5 installation CD by booting with it. [123000100310] |BACKUP YOUR DATA BEFORE BOOTING with just created Fedora installation CD as the installation procedure is automated and HDD formatted without user confirmation. [123000100320] |If everything goes well after finishing installation you will get Fedora installed with hostname ‘viper_tes_fc5′ set and IP address 192.168.0.1/255.255.255.0 assigned to server’s network interface card. [123000100330] |Hope it helps anybody. [123000100340] |Please feel free to contact me and I’ll help. [123000100350] |Good luck! [123000110010] |Make linux shell scripts encrypted [123000110020] |One day it came to my mind that bash scripts I was developing for a long time (approximately 5000 lines) should be encrypted in order not to be viewed by everyone… [123000110030] |Thanks to heaven there is utility written by Francisco Javier Rosales García SHC that allows to create a stripped binary executable version of the script. [123000110040] |This utility is included into many Linux distributions’ repositories (I’ve used it in Ubuntu and Fedora). [123000110050] |To use it in Ubuntu (my laptop operating system) just install it by commands: [123000110060] |apt-get install shc apt-get install build-essential [123000110070] |The second command installs dependencies for SHC. [123000110080] |On my Ubuntu Feisty they weren’t installed automatically during SHC installation and I’ve got errors when compile scripts with SHC (that’s why I’ve installed them explicitly). [123000110090] |When necessary packages are installed compile some script with command: [123000110100] |shc -f script.sh [123000110110] |This command will create script.sh.x which can be run as a regular binary and is encrypted. [123000110120] |Moreover this executable can be started only on the machine it’s compiled at (of course until you’ve compiled it with ‘relax security’ option -r). [123000110130] |This utility is also useful to create demo version binaries: it’s possible to set expiration date for the binary. [123000110140] |Respect to the author! [123000120010] |Mobile phone contacts, calendar and messages online backup [123000120020] |I’m using different mobile phones and it’s very important for me to keep my contact list as well as calendar entries backed up and to be sure that all this data can be restored in case I’ve lost my phone or it’s broken or so… [123000120030] |As it usually seems annoying for me to get phone connected to PC via usb cable, bluetooth or etc. [123000120040] |I’m using FREE online backup service ZYB. [123000120050] |By means of this service I regularly synchronize my phone data with online storage and in case if phone is lost or broken I restore contacts and etc. to new phone easily. [123000120060] |To get your cell phone data backed up it’s only needed to register at www.zyb.com, choose phone model, get synchronization settings via sms and synchronize data with online backup storage. [123000120070] |It took less than 3 minutes to finish when I used it for the first time! [123000120080] |Very nice service and absolutely free (as beer)! [123000130010] |Google calendar and Linux Evolution sync [123000130020] |As we know Evolution is a default mail client program of Gnome Desktop manager. [123000130030] |Here is a good article about how to sync Google Calendar with Evolution one. [123000140010] |Keep ssh session saved (Unix “screen” utility) [123000140020] |Unix screen utility is very useful when you’re managing remote unix server by means of ssh. [123000140030] |This utility allows to save session opened and come back to it after being disconnected… Let me describe the certain situation: you’ve started dump/restore backup operation for full filesystem mirroring to another hard drive remotely by ssh. [123000140040] |It works fine and more than 50% is completed but after power outage or your internet supplier issue you’ve been disconnected from ssh session. [123000140050] |As the result backup/restore operation is stopped and it’s necessary to start it again. [123000140060] |To prevent this just start ’screen’ utility and run needed command after this. [123000140070] |In case of disconnection you’ll need to type ’screen -r’ (-r means restore) and come back to operations you were performing before being disconnected. [123000140080] |This utility is rather powerful and besides allows to create several virtual windows and switch between them by means of hot keys. [123000140090] |Here are some of useful hot keys: [123000140100] |CTRL-a c Create a new window CTRL-a spacebar Go to next window CTRL-a backspace or del Go to previous window CTRL-a 2 Go to window 2 CTRL-a w list windows [123000150010] |Google phone (GPhone) rumors [123000150020] |LinuxDevices.org: [123000150030] |“Google’s first mobile phone will run a Linux operating system on a Texas Instruments “Edge” chipset, and will likely ship to T-Mobile and Orange customers in the Spring of 2008, according to unconfirmed reports. [123000150040] |“GPhone” call minutes and text messages reportedly will be funded by mobile advertising… [123000150050] |News of the so-called “GPhone” or “G-Phone” broke quietly about two weeks ago in the island nation of Singapore, where Jennifer Tan of Reuters subsidiary Anian Research filed a report on July 12. [123000150060] |Tan cited “industry sources,” “U.S. sources,” and “manufacturing and component supply chain sources” in backing her assertion that after year-long delays finding a manufacturer, Google contracted Taiwan-based smartphone maker High Tech Computer (HTC) to design its phone hardware. [123000150070] |HTC is best-known for its Windows Mobile smartphones, however, and Tan offered no conjecture about who might supply the phone’s Linux-based operating system. [123000150080] |Additional details reported by Tan include: [123000150090] |* The G-Phone will have a large color screen with a predictive Qwerty keypad to simplify Google searching [123000150100] |* A follow-up 3G-capable model (Edge is considered “2.75G”) will use a Qualcomm chipset [123000150110] |* Scheduled for production in Q1 of 2006, the Google phone will hit retail shelves next spring [123000150120] |* Call minutes and text messages are to be funded by “mobile advertising” [123000150130] |* Google originally hoped to launch a phone this year, but was delayed by “difficulties in nailing down a deal with a handset maker” [123000150140] |* T-Mobile will carrier the phone in the U.S., along with (possibly) Orange in other markets [123000150150] |Tan quotes Susquehanna Financial Group analyst Marianne Wolk as having said, “A mobile offering would be consistent with Google’s goal to make search accessible. [123000150160] |We believe Google would design a solution to facilitate greater use of Google Search and other applications like Google Talk, Gmail, Google Maps, encourage wireless video, and leverage this usage to hasten the market for mobile advertising.” [123000150170] |Google itself has declined to comment on rumors it plans to produce a phone, Tan reported.” [123000160010] |Autostart programs in Ubuntu [123000160020] |Ubuntu newbies sometimes ask how to add certain program into startup or autostart. [123000160030] |Actually it usually happens with ex-Windows users [123000160040] |Answer: To make program start just after user logins Gnome, go to “System” menu, then choose “Preferences” and select “Sessions”: [123000160050] |Then press button “Add”, type application name, command to start it (it’s location like /usr/sbin/local/liferea), and press “Ok” and then “Close”. [123000160060] |After next login to Gnome application will start. [123000160070] |It works with any Linux distro running Gnome as Desktop manager. [123000160080] |Update: Recent versions of Ubuntu has menu item “System –>Preferences –>Startup Applications” instead of “Sessions” and allow to drag items from main menu to autostart. [123000160090] |Feel free look through Ubuntuka’s post “Add programs to autostart in Ubuntu” for more screenshots. [123000160100] |Information improvisation: We offer up to date 642-467 exam practice questions with self paced test engine to help you pass 70-663 exam and complete your 000-107 642-617 exam, you should also find 1z0-053 for your complete task. [123000170010] |Fun: Bill Gates recommends Ubuntu :) [123000170020] |Picture found here. [123000180010] |Lingvo dictionaries with Stardict [123000180020] |I think that the best open source off-line dictionary is Stardict. [123000180030] |It’s absolutely free, it’s very user friendly and, of course, it supports a huge amount of dictionaries which allow to translate words and phrases into many directions. [123000180040] |Few will deny that there is no better Russian-English and English-Russian dictionary than Lingvo, but shame on it’s developers —it’s for Window$ only. [123000180050] |This problem can be solved rather simply by using Lingvo dictionaries with Stardict… Here are links for EN-RU and RU-EN dictionaries: [123000180060] |http://rapidshare.com/files/45302592/Lingvo11_EN-RU.tar http://rapidshare.com/files/45303408/Lingvo11_RU-EN.tar [123000180070] |I use them by myself at my Ubuntu laptop and they are very easy to install. [123000180080] |Just install startdict by command sudo apt-get install stardict (for Ubuntu and Debian) or yum install stardict (Fedora, CentOS, RedHat etc.). [123000180090] |The unpack them into /usr/share/stardict/dic and restart Stardict. [123000180100] |Here are results: [123000190010] |Linux networking stack understanding [123000190020] |M. Tim Jones, Consultant Engineer, Emulex Corp.: [123000190030] |One of the greatest features of the Linux® operating system is its networking stack. [123000190040] |It was initially a derivative of the BSD stack and is well organized with a clean set of interfaces. [123000190050] |Its interfaces range from the protocol agnostics, such as the common sockets layer interface or the device layer, to the specific interfaces of the individual networking protocols. [123000190060] |This article explores the structure of the Linux networking stack from the perspective of its layers and also examines some of its major structures. [123000190070] |Anatomy of the Linux networking stack by IBM. [123000200010] |Move linux to another hard drive (dump, restore, backup) [123000200020] |There are several methods to move running Linux to another hard drive at the same server. [123000200030] |But I used Unix dump/restore utility to perform this… [123000200040] |First of all it’s necessary to partition new hard drive in the same way as it’s done with old drive (Linux is running at). [123000200050] |I usually use ‘fdisk’ utility. [123000200060] |Let’s assume that old drive is /dev/hda and new one is /dev/hdb. [123000200070] |To view hda’s partition table please run ‘fdisk -l /dev/hda’ which should show something like this: [123000200080] |Disk /dev/hda: 60.0 GB, 60022480896 bytes 255 heads, 63 sectors/track, 7297 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes [123000200090] |Device Boot Start End Blocks Id System /dev/hda1 * 1 15 120456 83 Linux /dev/hda2 16 276 2096482+ 82 Linux swap /dev/hda3 277 7297 56396182+ 83 Linux [123000200100] |After this run ‘fdisk /dev/hdb’ and make the same partitions at it. [123000200110] |Interactive mode of fdisk utility is well documented and is very intuitive, so I don’t think it would be difficult to perform partitioning. [123000200120] |After this is done, we should make new filesystems at partitions we’ve created: [123000200130] |mkfs -t ext3 /dev/hdb1 mkfs -t ext3 /dev/hdb3 mkswap /dev/hdb2 [123000200140] |When it’s done it’s NECESSARY to mark newly created filesystems as it’s done with old ones. [123000200150] |To check filesystem volume name run command ‘tune2fs -l /dev/hda1 | grep volume’ and etc. [123000200160] |You’ll see something like this: [123000200170] |Filesystem volume name: /boot [123000200180] |It means that we should mark new hdb1 with label /boot. [123000200190] |It can be done by command: [123000200200] |tune2fs -L “/boot” /dev/hdb1 [123000200210] |The same should be performed for all partitions except swap one. [123000200220] |In my case I should label hdb3 by command: [123000200230] |tune2fs -L “/” /dev/hdb3 [123000200240] |At this point new hard drive preparation is finished and we can proceed with moving Linux to it. [123000200250] |Mount new filesystem and change directory to it: [123000200260] |mount /dev/hdb1 /mnt/hdb1 cd /mnt/hdb1 [123000200270] |When it’s done we can perform moving by command: [123000200280] |dump -0uan -f –/boot | restore -r -f - [123000200290] |And the same with / partition: [123000200300] |mount /dev/hdb3 /mnt/hdb3 cd /mnt/hdb3 dump -0uan -f –/ | restore -r -f - [123000200310] |When dump/restore procedures are done we should install boot loader to new HDD. [123000200320] |Run ‘grub’ utility and execute in it’s console: [123000200330] |root (hd1, 0) setup (hd1) quit [123000200340] |In case everything is done carefully and right (I’ve tested this method by myself) you can boot from new hard drive and have ‘old’ Linux running at new hard drive running. [123000200350] |Good luck! [123000210010] |Top 7 iPod managing tools for Linux and Mac [123000210020] |Here is a list of iPod managing tools for Linux and Apple Mac. [123000210030] |You can find detailed review of these tools here. [123000210040] |AmarokBansheeFloolagtkpodRhythmboxSongbirdYamiPod [123000220010] |Access to sqlite3 database through perl (script example) [123000220020] |By publishing this post I try to help people who want to get access to popular and simple database engine sqlite through perl script. [123000220030] |I use sqlite to store e-mails statistics at small mail server in order to retrieve information about users’ mail activity like average response time, sent and received messages and etc. [123000220040] |There is perl script that is used to get this data per every user or get summary statistics. [123000220050] |This script is to be run by web server (I use Apache) and has name index.cgi in my case. [123000220060] |Here is part of it: [123000220070] |#!/usr/bin/perl use DBI; print “Content-type: text/html\n\n”; print “perl and sqlite example script”; $dbh = DBI->connect( “dbi:SQLite:dbname=/tmp/mail_data.db”,”", “”, { RaiseError => 1, AutoCommit => 0 }); [123000220080] |my $fst = $dbh->selectall_arrayref(“SELECT min(time_1),max(time_1) FROM mail_data”); foreach my $row (@$fst) { my ($fst_pr,$lst_pr) = @$row; print “oldest entry in database: “.gmtime($fst_pr).” gmt
newest entry in database: “.gmtime($lst_pr); }
[123000220090] |print “”; print “”; $dbh->disconnect; [123000220100] |After you load this example through any web browser (please read your web server’s manual on how to allow cgi/perl script exec, for example here), script will read sqlite database that is located at /tmp/mail_data.db and display minimal and maximal values of field time_1 from mail_data table. [123000220110] |In order to run this script it’s necessary to install perl, sqlite3 and perl-DBI-SQLite cpan module. [123000220120] |You may also be interested in: CGI Perl scripts debugging (solve 500 Internal Server Error) [123000230010] |Fun: Open source girls… :) [123000230020] |Find more here. [123000240010] |Secure shell (ssh) connection without password [123000240020] |Let’s assume we have two Linux running machines, one of them is ‘client’ and other is ’server’. [123000240030] |Task lies in allowing client to access server via ssh securely without a need to type password by hands. [123000240040] |It’s usually useful to perform some operations that are to be done without user intervention (for example copying backup data files from client to server through ’scp’).First of all it’s necessary to make sure that server we’re going to access to supports public key authentication. [123000240050] |To enable it just add lines ‘RSAAuthentication yes’ and ‘PubkeyAuthentication yes’ to /etc/ssh/sshd_config at server machine. [123000240060] |After that restart ssh daemon (sshd) by executing command ‘/etc/init.d/ssh restart’ or ’service ssh restart’ (depends on Linux distribution you use). [123000240070] |After it’s done we should generate public RSA key at client machine and copy it to the list of authorized keys at server. [123000240080] |At client machine execute (leave passphrase empty): [123000240090] |ssh-keygen -t rsa [123000240100] |this would create public key at /home/your_login/.ssh/id_rsa.pub. [123000240110] |Then copy generated key to server (for example by ’scp’ command): [123000240120] |scp /home/your_login/.ssh/id_rsa.pub server_login@server_ip_address:/tmp [123000240130] |After client’s public key is copied to /tmp/id_rsa.pub, login to server and perform the following operation. [123000240140] |Add client’s key to authorized keys list by executing command: [123000240150] |mkdir /home/server_login/.ssh #only if it’s needed [123000240160] |cat /tmp/id_rsa.pub >>/home/server_login/.ssh/authorized_keys [123000240170] |When it’s done try to login to server from client: [123000240180] |ssh server_login@server_ip_address [123000240190] |Please note it’s important to copy client’s public key to user’s directory you’re going to login with (in this example it’s sever_login). [123000240200] |Good luck, mates! [123000240210] |Little update: it’s also necessary to uncomment lines in /etc/ssh/sshd_config at server: [123000240220] |RSAAuthentication yes PubkeyAuthentication yes [123000240230] |And then restart ssh daemon e.g. by command: [123000240240] |/etc/init.d/ssh restart [123000260010] |FAQ: Change forgotten or lost MySQL root password [123000260020] |Question: I forgot root password for MySQL DBE. [123000260030] |How to reset or recover it? [123000260040] |PLEASE HELP! [123000260050] |Answer: Below is simple algorithm to reset MySQL root password in Linux, FreeBSD, OpenBSD and other Unix like operating systems: [123000260060] |1. Stop MySQL server process by one of the following commands: # /etc/init.d/mysqld stop # killall -9 mysqld # kill `cat /mysql-data-directory/host_name.pid` # mysqladmin shutdown [123000260070] |To check if mysqld is killed run "ps ax | grep mysqld" that should show no mysqld instances. [123000260080] |2. Start MySQL server without password protection: $ mysqld --skip-grant-tables --user=root &or $ mysqld --skip-grant-tables & [123000260090] |3. Login to MySQL console by "mysql -u root" and set up new password with the following mysql commands: mysql> UPDATE mysql.user SET Password=PASSWORD('newpassword') WHERE User='root'; mysql> FLUSH PRIVILEGES; [123000260100] |4. Now you should be able to connect MySQL with new password. [123000260110] |P.S. [123000260120] |There is alternative 2 and 3 steps: [123000260130] |2. Create text file /tmp/init.mysql with the following contents: SET PASSWORD FOR 'root'@'localhost' = PASSWORD('newpassword'); [123000260140] |3. Start MySQL with command: # mysqld_safe --init-file=~/mysql-init & [123000260150] |Hope it helps!!! [123000280010] |CGI Perl scripts debugging (solve 500 Internal Server Error) [123000280020] |When you run your perl scripts in browser you would get “500 Internal Server Error” when something goes wrong. [123000280030] |There would be several reasons of this but one thing to be done is to check if your perl script contains errors. [123000280040] |To do it login to server you’re running perl script (I hope you use Linux ;] ) and execute command: [123000280050] |/usr/bin/perl -w /path/to/script.cgi [123000280060] |It will show debug information and it would be much easier to find and solve the problem. [123000280070] |Good luck! [123000280080] |You may also be interested in: Access to sqlite3 database through perl (script example) [123000320010] |One more way to count CPUs in Linux [123000320020] |Here is one more way to find out how many CPUs are used by Linux: cat /proc/cpuinfo | grep “^vendor_id” | wc -l [123000320030] |As for me I use this way to make sure that SMP kernel should be installed. [123000320040] |You’re welcome to suggest your ways of doing the same in comments. [123000320050] |Thank you in advance! [123000330010] |Vmware Server at Ubuntu Feisty 7.04 [123000330020] |This step-by-step manual provides instructions on how to install freely available VMWare Server at Ubuntu Feisty Fawn Linux (7.04). [123000330030] |First of all download installation package here and get free serial code. [123000330040] |To get VMWare Server working at Ubuntu 7.04 I recommend to download this patch. [123000330050] |To make sure there are all necessary tools installed to get VMWare Server running, execute: sudo aptitude install linux-headers-`uname -r` build-essentia xinetd [123000330060] |After it’s done unpack installation package and patch: tar -xvzf VMware-server-1.0.3-44356.tar.gz tar -xvzf vmware-any-any-update109.tar.gz [123000330070] |Then: cd vmware-server-distrib ./vmware-install.pl [123000330080] |Choose defaults to questions until installer asks to run vmware-config.pl. Press no and install patch: cd ../ cd vmware-any-any-update109 sudo ./runme.pl [123000330090] |Now it’s proper time to configure VMWare Server: sudo vmware-config.pl [123000330100] |Just choose default values (it really worked for me). [123000330110] |When the installation is done, run vmware [123000330120] |and proceed with using VMWare Server: [123000330130] |You may also be insterested in: Make a copy of virtual machine with Vmware Server [123000340010] |Can’t find usable shell script encryption solution… [123000340020] |It sounds a bit cheesy but I can’t find any usable solution on how to encrypt Linux/Unix shell script in order to protect it’s source code when it’s still executable. [123000340030] |There was a post here about how to protect shell scripts, but I found SHC bug. [123000340040] |Just run script that is encrypted with shc and execute command ps ax and you’ll see full source code at ps’s output (newline characters will be replaced with “?” symbol). [123000340050] |Because of this fact I can’t use SHC anymore and looking for alternative solution. [123000340060] |It would be very appreciated if you suggest a way how to solve the issue. [123000340070] |THANK YOU, mates. [123000340080] |Please follow up with this thread on linuxforums.org. [123000350010] |Feed spamassassin with spam or ham [123000350020] |The easiest way to feed spamassassin with spam is: [123000350030] |spamassassin -r [123000350040] |To revoke spam message use: [123000350050] |spamassassin -k [123000350060] |If you use Bayes just execute: [123000350070] |sa-learn –showdots –mbox –spam spam-file [123000350080] |and/or [123000350090] |sa-learn –showdots –mbox –ham ham-file [123000350100] |Please note: don’t feed Bayes weith different mail streams or public spams. [123000350110] |These method will mislead Bayes into believing certain tokens are spammy or hammy when they are not. [123000360010] |Secure shell (ssh) session timeout [123000360020] |I’ve noticed that when I keep ssh sessions that I opened before untouched for some period of time (like 30 minutes) they become frozen and as a result I have to close ssh terminal and start a new connection. [123000360030] |To prevent such situation I found several tips: [123000360040] |1) Start some utility updating the screen before leaving ssh session untouched. [123000360050] |I usually use watch -n 1 ‘date’ that shows current date every second. [123000360060] |Other simple way is to send icmp requests to some host, e.g. ping google.com. [123000360070] |2) Increase ssh session idle time by [123000360080] |echo “7200″ >/proc/sys/net/ipv4/tcp_keepalive_time [123000360090] |I’ve checked these tips with Fedora Core, CentOS, Debian and Ubuntu but I’m completely sure that it applicable also for other Linux distributions. [123000360100] |First tip (ping) can be used in Unix also. [123000360110] |You may also be interested in: Secure shell (ssh) connection without password Keep ssh session saved (Unix “screen” utility) Moving Linux to remote server (over ssh via third server) [123000370010] |Silent and unattended large file download with wget [123000370020] |If you would like to download large file like HD Video or Linux ISO image while you’re working at your Linux PC or laptop I recommend to use the following command: [123000370030] |wget -c -b “http://file/you/wish/to/download.ext” –limit-rate=100k [123000370040] |Where, -c will continue getting partially-downloaded file (if connection was dropped or smth else), -b will put wget downloading into background, –limit-rate=100k will limit downloading speed at 100 KBytes per second (KB/s). [123000370050] |P.S. man wget still works [123000380010] |Switching from Windows to Linux help resource [123000380020] |Here is a nice web site that may be useful for users who are going to switch to Linux from Windows. [123000400010] |Producing Open Source Software book [123000400020] |Freely available in pdf and html book about how to Run a Successful Free Software Project can be found here. [123000400030] |Producing Open Source Software is a book about the human side of open source development. [123000400040] |It describes how successful projects operate, the expectations of users and developers, and the culture of free software… [123000410010] |Ancient domins list (the oldest ones ever registered) [123000410020] |Do you know when the first domain was registered and what was it? [123000410030] |Do you think it was microsoft.com? [123000410040] |Or maybe att.com? ibm.com? [123000410050] |Not exactly. [123000410060] |The first one was symbolics.com registered at 15-Mar-1985. [123000410070] |Below is the list of oldest domains ever: [123000410080] |15-mar-1985 symbolics.com 24-apr-1985 bbn.com 24-may-1985 think.com 11-jul-1985 mcc.com 30-sep-1985 dec.com 07-nov-1985 northrop.com 09-jan-1986 xerox.com 17-jan-1986 sri.com 03-mar-1986 hp.com 05-mar-1986 bellcore.com 19-mar-1986 ibm.com 19-mar-1986 sun.com 25-mar-1986 intel.com 25-mar-1986 ti.com 25-apr-1986 att.com 08-may-1986 gmr.com 08-may-1986 tek.com 10-jul-1986 fmc.com 10-jul-1986 ub.com 05-aug-1986 bell-atl.com [123000410090] |As you can see some notable nowadays ones are missing. [123000410100] |So, here are their registration dates: [123000410110] |10-may-1994 linux.org 19-sep-1994 freebsd.org 13-jan-2001 wikipedia.org 15-sep-1997 google.com 18-jan-1995 yahoo.com 10-nov-1994 msn.com 15-jul-1999 paypal.com 02-may-1991 microsoft.com 07-mar-1997 w3c.org 22-nov-1988 dell.com 17-nov-1986 amd.com 22-sep-1993 cnn.com 20-oct-1998 ask.com 15-jul-1989 bbc.com [123000410120] |I was amazed. [123000410130] |What about you? [123000440010] |Vim text editor manual for newbies [123000440020] |Vim is a highly configurable text editor built to enable efficient text editing. [123000440030] |It is an improved version of the vi editor distributed with most UNIX systems.Vim is often called a “programmer’s editor,” and so useful for programming that many consider it an entire IDE. [123000440040] |It’s not just for programmers, though. [123000440050] |Vim is perfect for all kinds of text editing, from composing email to editing configuration files. [123000440060] |Here is a link list of online manuals for newbies: [123000440070] |vimdoc: html + pdfeandem: pdfHawaii College of Engineering: html +pdf [123000460010] |Claws Mail 3.0.0 released [123000460020] |Claws Mail is a GTK+ based, user-friendly, lightweight, and fast email client. [123000460030] |3rd September 2007 Claws Mail 3.0.0 is released. [123000460040] |Now it’s GPLv3 and has the following updates: [123000460050] |
  • Added Tags feature
  • [123000460060] |
  • Threads can now be sorted by most recent message
  • [123000460070] |
  • Added “/View/Show or Hide/Column headers”
  • [123000460080] |
  • Added ‘watch thread’ feature
  • [123000460090] |
  • Enabled the running of folder Processing rules on demand
  • [123000460100] |
  • Added options to stop/enable writing logs to disc, see Login page of preferences
  • [123000460110] |
  • IMAP and News: Implement age-based caching: allow the specifyin of a threshold for the offline synchronisation feature, and whether old cached bodies should be removed. [123000460120] |Accessible from the Folder Properties.
  • [123000460130] |
  • and many other.
  • [123000460140] |Further details regarding fixed bugs are available here. [123000470010] |EV-DO Internet access with Ubuntu Linux [123000470020] |The following manual is applicable for 32bit Ubuntu 6.10 (Edgy Eft) and 7.04 (Feisty Fawn) and Verizon Motorola v3 EV-DO enabled phone connected via USB cable as well as number of other EV-DO cards like PC5750. [123000470030] |Make sure your device is activated by service provider and if possible test on other OS to which you may have software and drivers. [123000470040] |Open terminal window and type: [123000470050] |sudo -i [123000470060] |and enter your password. [123000470070] |Now all commands typed in this window will be executed with root privileges. [123000470080] |In terminal type: [123000470090] |apt-get update apt-get upgradeapt-get install wvdial [123000470100] |Before you insert the Card or connect USB cable open terminal window and type: [123000470110] |cat /proc/bus/usb/devices >devices [123000470120] |Insert your data card or plug in USB cable and wait for a few seconds before continuing. [123000470130] |In terminal type: [123000470140] |dmesg [123000470150] |You will get output with some device info like this : [123000470160] |[17186692.460000] usb 3-1: configuration #1 chosen from 2 choices[17186692.460000] cdc_acm 3-1:1.0: ttyACM0: USB ACM device[17186708.176000] usb 3-1: USB disconnect, address 4 [17186714.588000] usb 3-1: new full speed USB device using uhci_hcd and address [123000470170] |At the end of this output you will find your device witch will be represented like this: ttyACM0 or ttyUSB or similar , make note of it you will need it later. [123000470180] |Now type in terminal: [123000470190] |cat /proc/bus/usb/devices | grep Vendor [123000470200] |Output will be similar to: [123000470210] |1234 ProdID=5678 Rev= 0.00 [123000470220] |Make note of lines: Vendor=1234 , ProdID=5678 [123000470230] |Now in teminal type following code Replacing values 1234 and 5678 with your own output from previously noted lines :: [123000470240] |modprobe usbserial vendor=0x1234 product=0x5678 [123000470250] |Now you will edit wvdial config file by first typing in terminal : [123000470260] |sudo gedit /etc/wvdial.conf [123000470270] |In new opened window replace all text with following : [123000470280] |[Dialer Defaults] Stupid Mode = on Modem = /dev/ttyACM0 Baud = 921600 Init = ATZ Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 Phone = #777 Username = ??????????@vzw3g.com [123000470290] |Password = vzw Init1 = ATZISDN = 0 Modem Type = Analog Modem Auto Reconnect = on Carrier Check = no [Dialer shh] Init3 = ATM0 [Dialer pulse] Dial Command = ATDP [123000470300] |In the line “Modem =” replace ttyACM0 with value you noted from output of dmesg command. [123000470310] |In the line ”Username = ”put your phone number followed by your providers domain, for Verizon it is area code, your phone number and domain, in this format: 9178889999@vzw3g.com for Sprint it will be 9178889999@sprintpcs.com, for AT&T / Cingular WAP@CINGULARGPRS.COM, for Alltel 9178889999@alltel.net and so on, further post have config’s posted for other providers. [123000470320] |In line ”password = ”in case of Verizon put: “vzw” for Cingular: “cingular1″ and so on, make sure to check with your provider as username and/or password may differ for other regions and countries. [123000470330] |If you are Cingular/AT&T subscriber and after completing whole guide you have problem with dropping connection you have to add another int line in wvdial script which is posted here http://ubuntuforums.org/showthread.php?t=343989&page=3 If you need any specific info regarding your domain or password please contact your cellular provider. [123000470340] |The last thing you need to configure is wvdial line checking, by disabling LCP echo checking witch is not supported by most of providers. [123000470350] |Open terminal and type: [123000470360] |sudo gedit /etc/ppp/peers/wvdial [123000470370] |And insert aditionally those lines: [123000470380] |lcp-echo-failure 0 lcp-echo-interval 0 [123000470390] |Make sure your ethernet jack is unplugged and wifi radio switch is turned off. [123000470400] |Now you can start connection by typing in terminal : [123000470410] |wvdial [123000470420] |Another thing i have been suggested is automating the connection process. [123000470430] |To do so in Gnome go to : [123000470440] |System >Preferences >Sessions next, click on the tab labeled, “Startup Programs” then click the “Add” button. [123000470450] |In the Startup Command field, enter “wvdial” and then click “OK”.Then restart your system. [123000470460] |Now make sure your EV-DO card is inserted before you boot it up, it will initiate the connection process automatically in the background connecting you to internet the second you log in. [123000470470] |The manual is kindly provided by Mach1US. [123000470480] |Information improvisation: Pass your NS0-153 exam on first try using 70-511 practices questions and 642-524 prepared by certified experts to provide you guaranteed success; they also prepare 642-072 exam dumps BH0-006 papers with full devotion. [123000480010] |Linux and Solaris filesystems comparison [123000480020] |This is my attempt to cut through the hype and uncertainty to find a storage subsystem that works. [123000480030] |I compared XFS and EXT4 under Linux with ZFS under OpenSolaris. [123000480040] |The machine is a 2200MHz Athlon 64 with 1GB of memory and 8 400GB disks attached to an Areca ARC-1220 SATA controller. [123000480050] |Linux is 2.6.22.5 and OpenSolaris is 5.11 snv_70 “Nevada”. [123000480060] |Read more… [123000500010] |Debian/Ubuntu Linux apt-get vs. aptitude [123000500020] |Being an Ubuntu/Debian user (yes, I use and advocate both), I have fallen in love with the Advanced Packaging Tool, also known as apt. [123000500030] |Before Ubuntu, I played in the world of RPM hell, with distros such as Red Hat itself, Mandrake (as it was called back then), and even SuSE. [123000500040] |I would find some piece of software, try to install it, only to find that it would choke, saying that it relied on some certain dependencies. [123000500050] |I would install the dependencies, only to find conflicting versions with newer software. [123000500060] |Hell indeed. [123000500070] |So when I discovered the Debian way of installing software, I wondered why no one had mentioned it to me before. [123000500080] |It was heaven. [123000500090] |This is the way to software, I thought. [123000500100] |Read more… [123000520010] |Keep files at Linux/Windows/Unix synchronized with Unison [123000520020] |Unison is a file-synchronization tool for Unix and Windows. [123000520030] |It allows two replicas of a collection of files and directories to be stored on different hosts (or different disks on the same host), modified separately, and then brought up to date by propagating the changes in each replica to the other. [123000520040] |Unison that is available for Linux, Unix and Windows, shares a number of features with tools such as CVS, PRCS, Subversion, BitKeeper, distributed filesystems (e.g. Coda), uni-directional mirroring utilities (such as rsync), and other synchronizers (Intellisync, Reconcile, etc). [123000520050] |This article tells how to sync data between Desktop PC and laptop with Unison. [123000530010] |Linux and Unix fmt utility as a simple text formatter [123000530020] |fmt utility is a part of GNU core utilities and allows to reformat paragraph text writing to standard output. [123000530030] |It also can read input from stdin. [123000530040] |Usage example: [123000530050] |Let’s assume you have big one-line text file (all words are placed in one single line and there are no returns characters there at all). [123000530060] |In order to format this file with fmt just execute fmt /path/to/file and you’ll get 72 characters wide output like this: [123000530070] |viper@viper-laptop:~$ fmt /tmp/test The GNU Project was launched in 1984 to develop a complete Unix-like operating system which is free software: the GNU system. [123000530080] |Variants of the GNU operating system, which use the kernel called Linux, are now widely used; though these systems are often referred to as “Linux”, they are more accurately called GNU/Linux systems. [123000530090] |If you’d like to reduce line width and make it 40 chars wide just execute fmt -40 /path/to/file and you’ll get: [123000530100] |viper@viper-laptop:~$ fmt -40 /tmp/test The GNU Project was launched in 1984 to develop a complete Unix-like operating system which is free software: the GNU system. [123000530110] |Variants of the GNU operating system, which use the kernel called Linux, are now widely used; though these systems are often referred to as “Linux”, they are more accurately called GNU/Linux systems. [123000540010] |Linux history: 0.02 and 0.03 releases memories [123000540020] |“Do you pine for the nice days of minix-1.1, when men were men and wrote their own device drivers?” began the October 5th, 1991 announcement for Linux kernel version 0.02 on the comp.os.minix newsgroup. [123000540030] |In the release notes, Linus Torvalds continued, “as I mentioned a month ago, I’m working on a free version of a minix-lookalike for AT-386 computers. [123000540040] |It has finally reached the stage where it’s even usable (though may not be depending on what you want), and I am willing to put out the sources for wider distribution.” [123000540050] |19 days after the 0.01 kernel was released, the 0.02 kernel debuted with the new-found ability to run a handful of utilities including bash, gcc, gnu-make, gnu-sed and compress. [123000540060] |There was no floppy driver yet, the hard disk driver was hard coded to AT-compatible drives, and due to various buffer-cache problems it was not possible to compile large programs like gcc from a running 0.02 kernel. [123000540070] |Read more here. [123000550010] |Popular Linux bittorrent clients comparison [123000550020] |Two the most popular in Linux community bittorrent clients are compared in the following article. [123000550030] |BitTorrent is popular peer-to-peer sharing communication protocol used for transferring all kind of files over the Internet. [123000550040] |Two of the most popular BitTorrent clients for Linux are Azureus and KTorrent. [123000550050] |If you’re looking for a robust, fast, simple, and powerful BitTorrent client, you will probably go with KTorrent. [123000550060] |If you want a Java-based client that runs on every platform and allows you to configure every detail for BitTorrent transfer, consider Azureus. [123000550070] |Read more… [123000550080] |As for me, I prefer transmission with my Ubuntu Feisty Fawn 7.04 as versatile and multi-platform BitTorrent client [123000570010] |Two-way conversion of Unix time (seconds since 1970) and regular time [123000570020] |I found using of Unix time to be very useful in various shell scripts and here are two simple commands to convert Unix/Linux date command to Unix time format and back to regular formating: [123000570030] |To convert Unix time to simple (regular) time please use: [123000570040] |date -u --date="1970-01-01 1187769064 sec GMT" [123000570050] |where 1187769064 is input Unix time. [123000570060] |The output will be: Wed Aug 22 07:51:04 UTC 2007 [123000570070] |To get Unix time seconds from regular one format just use: [123000570080] |date --date="Wed Aug 22 07:51:04 UTC 2007" +%s [123000570090] |where Wed Aug 22 07:51:04 UTC 2007 is input regular time. [123000570100] |The output will be: 1187769064. [123000570110] |Update: another way to convert Unix time into regular date is to use the following command date -d @1187769064 (thanks to Mattias Lindvall), that is tested in Ubuntu and Fedora. [123000580010] |Ubuntu Linux and Your iPod [123000580020] |This article is from a new book published by No Starch Press: Ubuntu Linux for Non-Geeks: A Pain-Free, Project-Based, Get-Things-Done Guidebook by Rickford Grant. [123000580030] |Well, you will be happy to know that Ubuntu does iPods, even Nanos. [123000580040] |You will also be happy to know that using your iPod on your Ubuntu system is quite easy. [123000580050] |All you have to do is plug your iPod into one of your computer’s USB ports, after which Ubuntu will automatically mount it and place an iPod icon on your desktop. [123000580060] |Yes, no longer do you have to mess around with mount and unmount commands or editing system tables. [123000580070] |Just plug in your pod, and Ubuntu will do the rest. [123000580080] |Read more… [123000580090] |You also might be interested in my iPod managers review post. [123000590010] |Control KDE Amarok player over bluetooth mobile phone [123000590020] |How do you like it? [123000590030] |It’s possible to switch songs are played by Amarok over mobile phone! [123000590040] |Nice hack in 4 steps. [123000590050] |Ever since I’ve received my new phone, bluetooth has excited me. [123000590060] |To be honest, the notion of being able to control my pc from the phone was the exciting aspect. [123000590070] |Ever wondered how to do this? [123000590080] |Let me elaborate… [123000590090] |Read more… [123000600010] |Fun: Serious Google bug! [123000600020] |Picture was got from sebruiz. [123000610010] |Get FreeBSD ports tree after OS installation [123000610020] |Many new FreeBSD users face the problem when /usr/ports directory is missing just after OS installation is finished. [123000610030] |Here are three ways from FreeBSD Handbook to obtain ports collection. [123000610040] |1. CVSup [123000610050] |Make sure /usr/ports is empty before you run CVSup for the first time! [123000610060] |If you already have the Ports Collection present, obtained from another source, CVSup will not prune removed patch files. [123000610070] |
  • Install the net/cvsup-without-gui package: [123000610080] |After this package will be downloaded and installed.
  • [123000610090] |
  • Run cvsup: [123000610100] |cvsup is usually located at /usr/local/bin directory. [123000610110] |Change cvsup.FreeBSD.org to a CVSup server near you. [123000610120] |See CVSup Mirrors for a complete listing of mirror sites. [123000610130] |
  • Running the cvsup command later will download and apply all the recent changes to your Ports Collection, except actually rebuilding the ports for your own system.
  • [123000610140] |2. Portsnap [123000610150] |Portsnap is an alternative system for distributing the Ports Collection. [123000610160] |It was first included in FreeBSD 6.0. [123000610170] |On older systems, you can install it from ports-mgmt/portsnap package: [123000610180] |
  • Since FreeBSD 6.1-RELEASE and with recent versions of the Portsnap port or package, you can safely skip this step. [123000610190] |The /usr/ports will be created automatically at first use of the portsnap command. [123000610200] |With previous versions of Portsnap, you will have to create an empty directory /usr/ports if it does not exists: [123000610210] |
  • Download a compressed snapshot of the Ports Collection into /var/db/portsnap. [123000610220] |You can disconnect from the Internet after this step, if you wish. [123000610230] |
  • If you are running Portsnap for the first time, extract the snapshot into /usr/ports: [123000610240] |If you already have a populated /usr/ports and you are just updating, run the following command instead: [123000610250] |3. Sysinstall [123000610260] |This method involves using sysinstall to install the Ports Collection from the installation media. [123000610270] |Note that the old copy of Ports Collection from the date of the release will be installed. [123000610280] |If you have Internet access, you should always use one of the methods mentioned above. [123000610290] |
  • As root, run sysinstall (/stand/sysinstall in FreeBSD versions older than 5.2) as shown below: [123000610300] |
  • Scroll down and select Configure, press Enter.
  • [123000610310] |
  • Scroll down and select Distributions, press Enter.
  • [123000610320] |
  • Scroll down to ports, press Space.
  • [123000610330] |
  • Scroll up to Exit, press Enter.
  • [123000610340] |
  • Select your desired installation media, such as CDROM, FTP, and so on.
  • [123000610350] |
  • Scroll up to Exit and press Enter.
  • [123000610360] |
  • Press X to exit sysinstall.
  • [123000620010] |How to restart/stop/start networking in FreeBSD [123000620020] |FreeBSD® is an advanced operating system for x86 compatible (including Pentium® and Athlon™), amd64 compatible (including Opteron™, Athlon™64, and EM64T), UltraSPARC®, IA-64, PC-98 and ARM architectures. [123000620030] |It is derived from BSD, the version of UNIX® developed at the University of California, Berkeley. [123000620040] |It is developed and maintained by a large team of individuals. [123000620050] |Additional platforms are in various stages of development. [123000620060] |FreeBSD 5.x/6.x includes netif shell script located in /etc/rc.d/ directory that is meant to restart networking service without system restart. [123000620070] |Besides, /etc/rc.d/ contains scripts to start/stop/restart other services such as ssh or squid. [123000620080] |To start FreeBSD networking: [123000620090] |To stop networking: [123000620100] |To restart networking: [123000620110] |To restart, start or stop routing service you can do: [123000620120] |FreeBSD 4.x and prior versions [123000620130] |To start networking you have to copy shell script as follows: [123000620140] |1) Copy file /usr/share/examples/etc/netstat to /etc dirctory [123000620150] |2) And execute the script: [123000620160] |OR [123000620170] |That script will do all necessary work for you (start network, routing, firewall and etc.). [123000630010] |Linux/Unix coreutils command 'paste' to merge lines of files [123000630020] |Unix and Linux GNU coreutils command paste can be useful to merge corresponding or subsequent lines of files. [123000630030] |Here is simple example of it’s usage: [123000630040] |viper@viper-laptop:~$ cat /tmp/test [123000630050] |pop pop1 pop2 [123000630060] |viper@viper-laptop:~$ cat /tmp/test1 [123000630070] |1 2 3 4 [123000630080] |viper@viper-laptop:~$ paste /tmp/test /tmp/test1 [123000640010] |BMW migrates FROM Unix on race to Intel [123000640020] |Motor giant BMW will migrate about a third of its fleet of proprietary Unix servers to commodity Intel machines with Linux and Windows to take on the workloads. [123000640030] |Eckard Schiffler from BMW’s group data center in Asia said the global company has some 80,000 desktops and 6000 servers supporting about 4500 applications. [123000640040] |“BMW IT is highly standardized in both infrastructure and processes,” he said. [123000640050] |With three main data centers in Europe, the U.S. and Asia, BMW supports over 100,000 employees and the manufacture of nearly 1.4 million vehicles per year. [123000640060] |“It’s definitely not the death of Unix as we will still operate Linux,” Schiffler said, adding both Red Hat and Novell’s SUSE Linux are used at BMW. [123000640070] |Read more… [123000650010] |Get suspend/hibernate working fast in Ubuntu Feisty Fawn (7.04) and Edgy Eft (6.10) [123000650020] |After I upgraded to Ubuntu Feisty Fawn 7.04 Linux distribution I noticed that one of my favorite laptop features suspend/hibernate worked quite baldly and slowly. [123000650030] |It took up to few minutes to get laptop sleeping and then awake it. [123000650040] |Both default suspend and hibernate features are cheesy in this Ubuntu version. [123000650050] |The worst thing I faced was that after I got laptop sleeping and put it into my bag it was still working. [123000650060] |This situation caused laptop overheating. [123000650070] |Thanks to heaven there is alternative suspend/hibernate utility for Ubuntu OS –uswsusp (I really don’t know who gave such a name for it). [123000650080] |To get it working just install it with apt-get or aptitude (I recommend aptitude) : [123000650090] |sudo aptitude install uswsusp [123000650100] |When it’s done it would be great if you test it before making it default suspend/hibernate engine: [123000650110] |sudo s2disk [123000650120] |This will hibernate your system, to check suspend feature execute: [123000650130] |sudo s2ram or sudo s2ram -f [123000650140] |Working well? [123000650150] |Great! [123000650160] |Let’s make it default (including Gnome logout dialog). [123000650170] |First of all download these files: [123000650180] |hal-system-power-suspend-linux hal-system-power-hibernate-linux [123000650190] |Then backup Ubuntu’s original files to your Desktop by commands: [123000650200] |cp /usr/lib/hal/scripts/linux/ hal-system-power-suspend-linux ~/Desktop cp /usr/lib/hal/scripts/linux/ hal-system-power-hibernate-linux ~/Desktop [123000650210] |Now it’s time to make uswsusp to be default in the system: [123000650220] |sudo cp hal-system-* /usr/lib/hal/scripts/linux/ sudo chmod 755 /usr/lib/hal/scripts/linux/* [123000650230] |Note: if you use Edgy just replace /usr/lib/hal/scripts/linux/ with /usr/share/hal/scripts. [123000650240] |Now you can use suspend/hibernate features normally without any obstacles [123000650250] |You may also be interested in: EV-DO Internet access with Ubuntu Linux Review of sticky notes applications for GNOME Video conference between Linux and Windows users Ubuntu Linux and your Apple iPod Debian/Ubuntu Linux apt-get vs. aptitude [123000660010] |Inimitable wallpapers, icons and themes for Linux [123000660020] |InterfaceLIFT is source of graphical user interface enhancements for Mac OS X, Microsoft Windows, and Linux. [123000660030] |You can find there desktop wallpapers, icons and themes. [123000660040] |New content is posted every day so make sure to bookmark it. [123000660050] |It’s the best site to get new wallpaper I ever visited. [123000660060] |Here is my favorite one. [123000670010] |KDE 4.0 Beta 2 released. I'm moving to KDE from Gnome :) [123000670020] |Looking at KDE 4.0 features like blogging functions, freezing and other, the mind to move from Gnome I currently to KDE 4.0 after it’s final release is coming often and often [123000670030] |The KDE Community proudly presents the second Beta release for KDE 4.0. [123000670040] |This release marks the beginning of the feature freeze and the stabilization of the current codebase. [123000670050] |Simultaneously the KOffice developers have released their third Alpha release, marking significant improvements in this innovative office suite. [123000670060] |Both KDE and KOffice have benefited from the Google Summer of Code, as most resulting code has now been merged. [123000670070] |Official announcement… [123000680010] |Linux Terminal Performance Comparison [123000680020] |Linux has an abundance of excellent terminal applications. [123000680030] |Interestingly, I could not find any decent comparison of their text display performance. [123000680040] |Since I use the command line a lot, I want text output that is as fast as possible. [123000680050] |When you compile a large project, you don’t want the console output to be the limiting factor. [123000680060] |Read more… [123000700010] |Local and remote X sessions on different consoles [123000700020] |There are several ways to start graphical applications remotely with Linux. [123000700030] |One of the most simple and obvious is ssh with -X input parameter. [123000700040] |Command ssh -X user@host “firefox” will start best browser ever from remote host (you’ll see it in your local X session). [123000700050] |But what about remote session instead of single applications? [123000700060] |To start remote X11 session on first console (switch to it with CTRL+F1) execute: [123000700070] |xinit ssh -X user@host "startkde" -- :1 [123000700080] |Now you can switch between local session (CTRL+F7) and remote one (CTRL+F1). [123000700090] |Be careful: it’s very easy to mix up remote and local systems by sight [123000700100] |My respect to Alexey Sveshnikov. [123000700110] |You may also be interested in: Secure shell (ssh) connection without password Keep ssh session saved (Unix “screen” utility) Moving Linux to remote server (over ssh via third server) Secure shell (ssh) session timeout [123000710010] |Manage FreeBSD kernel modules on the fly [123000710020] |There are several utilities in FreeBSD to manage kernel modules. [123000710030] |Among them are: kldload, kldstat, kldunload. [123000710040] |First (kldload) would be useful for loading files *.ko into FreeBSD kernel using kernel linker. [123000710050] |Second (kldstat) displays status of files loaded into kernel. [123000710060] |Third (kldunload) helps to unload files which were previously loaded into kernel with kldload. [123000710070] |This utilities are analogues of modprobe and lsmod utilities in Linux. [123000710080] |Example: in order to enable ipfw kernel module without FreeBSD restarting you can do: [123000710090] |cd /boot/kernel kldload ipfw.ko [123000710100] |Another way to enable ipfw is to add line firewall_enable="YES" into /etc/rc.conf and restart FreeBSD. [123000710110] |But kldload method is much more easier and fast as for me [123000720010] |Video conference between Linux and Windows [123000720020] |There are two solutions to perform video conferencing between two completely different operating systems Linux and Windows: they are OpenWengo project and Ekiga.org. [123000720030] |Both provide client software for Linux and Windows. [123000720040] |OpenWengo project also offers client for Mac OS X. [123000720050] |OpenWengo is a community of enthusiasts and developers, creating free software products related to communication over IP. [123000720060] |The flagship product of the OpenWengo project is a softphone which allows you to make free PC to PC video and voice calls, and to integrate all your IM contacts in one place. [123000720070] |Ekiga (formely known as GnomeMeeting) is an open source VoIP and video conferencing application for GNOME. [123000720080] |Ekiga uses both the H.323 and SIP protocols. [123000720090] |It supports many audio and video codecs, and is interoperable with other SIP compliant software and also with Microsoft NetMeeting. [123000720100] |Ubuntu contains Ekiga by default. [123000720110] |I promise that I’ll share my testings here when I achieve some positive results in video conferencing between Linux and Windows operating systems. [123000720120] |You can subscribe our RSS feed to get informed first. [123000720130] |Any results, observations, notes, tips are welcome here. [123000720140] |Information improvisation: Enjoy the real success with 642-611 exam and ccna questions online training programs and latest MB2-633. [123000720150] |Also prepare for next level with quality 642-637 questions and answers of 642-067. [123000740010] |Download and convert YouTuber video online and offline [123000740020] |VideoDownloader is the a service that allows to download online video from YouTube, Google Video, iFilm and MANY other into FLV files. [123000740030] |Saved files can be easily converted into different video formats by the following online video converters (some of them allows to save and convert online video in one step instead of two). [123000740040] |Online tools [123000740050] |Vixy.net: allows you convert a Flash Video / FLV file (YouTube’s videos, etc) to MPEG4 (AVI/MOV/MP4/MP3/3GP) file online. [123000740060] |It is using a compressed domain transcoder technology. [123000740070] |It converts FLV to MPEG4 faster and less lossy than a typical transcoder. [123000740080] |Flvix: Free online video converter. [123000740090] |Converts and downloads videos from YouTube, Google Video or directly from .FLV file. [123000740100] |It also allows to play it on your PC, Mobile, iPod, PSP and enjoy! [123000740110] |ConvertTube: Video converter and downloader. [123000740120] |Media-Convert: Media-Convert is 100% free. [123000740130] |No software is needed, and you don’t have to register. [123000740140] |To convert a file located on your computer: Check File mode, click Browse and choose the file, select input format (if autodetection fails) and output format, submit the form. [123000740150] |Zamzar: Not only video converter, it can convert document, images and audio files. [123000740160] |Convert files up to 100 MB. [123000740170] |Zamzar will send output files to your email. [123000740180] |FLV2MP3: Converts FLV to MP3. [123000740190] |One click converter. [123000740200] |Vconvert: This website is very similar with ConvertTube. [123000740210] |Offline tools [123000740220] |To convert FLV into another video format you can use MPlayer’s MEncoder: MEncoder is an all-purpose encoder that is part of MPlayer, a movie player which runs on many systems. [123000740230] |It plays most MPEG/VOB, AVI, Ogg/OGM, VIVO, ASF/WMA/WMV, QT/MOV/MP4, RealMedia, Matroska, NUT, NuppelVideo, FLI, YUV4MPEG, FILM, RoQ, PVA files, supported by many native, XAnim, and Win32 DLL codecs. [123000740240] |MEncoder is command-line based with limited GUI. [123000740250] |It supports wide range of file formats as MPlayer, and it also enable format conversion to be done in x86, Unix, Linux, Red Hat, Mac OS X and other non-x86 system. [123000740260] |Example of command line MEncode syntax: [123000740270] |mencoder input.flv -ofps 15 -vf scale=300:-2 -oac lavc -ovc lavc -lavcopts vcodec=msmpeg4v2:acodec=mp3:abitrate=64 -o output.avi [123000740280] |ffmpeg is a command line tool to convert one video file format to another. [123000740290] |It also supports grabbing and encoding in real time from a TV card. [123000740300] |Ubuntu users can install it by command apt-get install ffmpeg. [123000740310] |Example of command converting FLV into MPG: [123000740320] |ffmpeg -i jokes.flv -ab 56 -ar 22050 -b 500 -s 320×240 jokes.mpg [123000740330] |You may also be interested in: Inimitable wallpapers, icons and themes for Linux Search specific file types with Google Keep contacts and calendar/datebook of Motorola Razr V3 saved Google calendar and Linux Evolution sync [123000750010] |FAQ: How to install Flash Player for Firefox in Ubuntu Linux? [123000750020] |Q: I can’t see flash content at various sites like youtube.com when I visit them through newly installed Firefox browser.. [123000750030] |How can I install Flash Player in Firefox under Ubuntu? [123000750040] |A: It is easy in most situations, so close all Firefox instances and run the following in terminal to install flash player for Firefox and other Mozilla based browsers in Ubuntu Linux: [123000750050] |sudo apt-get install flashplugin-nonfree [123000750060] |When finished, just open Firefox and visit some flash content reach site… [123000760010] |Select Linux distro for Lenovo ThinkPad [123000760020] |Here you can vote for Linux distribution (or Unix) to be pre-installed at Lenovo ThinkPad notebooks. [123000760030] |As usually Ubuntu is the most popular distribution, Debian is second, Fedora is third: [123000760040] |Please note: it’s not a full list of suggested distros at the screen. [123000790010] |Combined traceroute and ping utility (mtr) [123000790020] |MTR is a tool that combines the Unix/Linux traceroute and ping programs functionality in a single network diagnostic tool. [123000790030] |As mtr starts, it investigates the network connection between the host mtr runs on and certain HOSTNAME by sending packets with purposly low TTLs. [123000790040] |It continues to send packets with low TTL, noting the response time of the intervening routers. [123000790050] |This allows mtr to print the response percentage and response times of the internet route to HOSTNAME. [123000790060] |A sudden increase in packetloss or response time is often an indication of a bad (or simply overloaded) link. [123000790070] |I found this utility very useful during troubleshooting packet loss issues. [123000790080] |MTR helps to determine source of the problem much easier and fast. [123000790090] |At the next screen you can see the results of mtr google.com -n command executed at my home laptop. [123000790100] |Please note that packetloss to intermediary router 72.14.232.102 is higher that to final destination 72.14.207.99. [123000800010] |Get information about Linux kernel modules [123000800020] |Small tip: there is modinfo utility to get more information regarding Linux kernel modules. [123000800030] |Here is an example of it’s usage: [123000810010] |Print files in reverse coreutils 'tac' and 'rev' commands [123000810020] |Sometimes it would be useful to print file contents or output of previously executed command in reverse. [123000810030] |There are two little utilities that are part of Linux coreutils: tac and rev. [123000810040] |TAC concatenates and prints files in reverse (last line first). [123000810050] |REV reverses lines of a file: it copies the specified files to the standard output, reversing the order of characters in every line. [123000820010] |Review of sticky notes applications for GNOME [123000820020] |Few will deny that applications allowing to create notes at Linux Desktop are very useful to plan one’s working/education process. [123000820030] |As for me I use such applications in order not to forget something I want to do like blog posts came to my mind when I hadn’t access to Internet, everyday system administrating tasks and others. [123000820040] |I tried several sticky notes applications for this purpose but only one seems to be the most suitable for me. [123000820050] |It’s xpad. [123000820060] |There are also some apps that can do the same, like KDE knotes, Tomboy Notes, gdesklet notes and other. [123000820070] |You can see apps I tried at the next screen (top right is xpad). [123000820080] |To install xpad in Ubuntu, just execute: [123000820090] |sudo aptitude install xpad -y [123000820100] |Don’t forget to make xpad starting automatically when you login by adding it to Gnome sessions. [123000830010] |Set up mount count after system will be checked by e2fsck [123000830020] |I think everybody faced automatic filesystem checking invoked after it was mounted some certain number of times. [123000830030] |It happens for me after 20 mounts of root filesystem with my Ubuntu Feisty (as well as any other distros that were installed), next time I boot up my laptop e2fsck starts. [123000830040] |It’s not a problem but very important feature and is highly recommended to be enabled in order to keep integrity of your data. [123000830050] |But it’s possible to change number of mount times before checking is invoked by tune2fs Unix/Linux utility. [123000830060] |In order to get current state of maximum mount count after filesystem will be checked just execute: [123000830070] |sudo tune2fs -l /dev/sda2 [123000830080] |where /dev/sda2 is Linux partition device name root filesystem is mounted at. [123000830090] |The output of this command will show a lot of other filesystem information, but we need only line “Maximum mount count” (in my case it’s “Maximum mount count: 20“). [123000830100] |To get total number of times filesystem was mounted execute: sudo tune2fs -l /dev/sda2 | grep “Mount count”. [123000830110] |To change maximum mount count to 25 please do: sudo tune2fs -c 25 /dev/sda2 [123000840010] |KDE on Nokia Internet Tablet n800 and n770 [123000840020] |The Nokia N800 Internet Tablet is a wireless Internet appliance from Nokia. [123000840030] |The N800 was developed as the successor to the Nokia 770. [123000840040] |It is designed for wireless Internet browsing and e-mail functions and includes software such as FM and Internet radio, an RSS news reader, image viewer and media players for selected types of media. [123000840050] |TY: [123000840060] |KDE and all it’s supporting programs have been compiled for the Internet Tablet, and it works b-e-a-utifully. [123000840070] |I’ve installed this sucker on my N770 and it purrs like a kitten, believe it or not [123000840080] |Read more… [123000880010] |What Is a Linux Guy Doing at Sun? [123000880020] |As part of Sun Microsystems’ first CommunityOne, Ian Murdock, Sun’s chief operating system platform strategist and a self-described “Linux guy”, hosted a noteworthy session that explored a curious question: How can we make Solaris a better Linux than Linux? [123000880030] |Murdock has a storied history in relation to Linux. [123000880040] |A Linux user, developer, and advocate since 1993, he founded Debian in 1993, with the goal of creating a complete operating system around the Linux kernel and expanding Linux to a broader audience. [123000880050] |In 1999, he co-founded Progeny, a Linux distribution vendor that focused on customization for appliance environments. [123000880060] |He was CTO of the Linux Foundation (formerly known as the Free Standards Group) from 2005-2007, and has been chair of the Linux Standards Base from 2005 to the present. [123000880070] |Read more… [123000910010] |September 15th - Software Freedom Day [123000910020] |Software Freedom Day (SFD) is a worldwide celebration of Free and Open Source Software (FOSS). [123000910030] |It’s goal of a celebration is to educate the worldwide public about of the benefits of using high quality FOSS in education, in government, at home, in business and everywhere. [123000910040] |The non-profit company Software Freedom International coordinates SFD at a global level, providing support, giveaways and a point of collaboration, but volunteer teams around the world organize the local SFD events to impact their own communities. [123000920010] |Utorrent in Ubuntu with Firefox support [123000920020] |1. Install Wine: To get latest version add Wine’s repositories to your source list: sudo wget http://wine.budgetdedicated.com/apt/sources.list.d/feisty.list -O /etc/apt/sources.list.d/winehq.list [123000920030] |Add the repository key: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | sudo apt-key add - [123000920040] |Update apt-get: sudo apt-get update [123000920050] |Install Wine: sudo apt-get install wine [123000920060] |2. Download utorrent: sudo wget http://download.utorrent.com/1.7.2/utorrent.exe -O ~/.utorrent [123000920070] |To launch utorrent use the command: wine ~/.utorrent [123000920080] |To get Firefox to automatically open utorrent when clicking on torrent links: sudo gedit /usr/bin/utorrent [123000920090] |Paste the following into the newly opened text file: [123000920100] |Then save it &close gedit. [123000920110] |Make the script you just wrote executable: sudo chmod a+x /usr/bin/utorrent [123000920120] |3. Now, go into Firefox and download a torrent. [123000920130] |Choose “open with” and hit “browse” on the list, and navigate to /usr/bin and choose utorrent. [123000920140] |Original manual is available here. [123000940010] |Convert Nero image (.nrg) to ISO9660 (.iso) [123000940020] |In case you need to convert Nero image file .nrg into regular ISO9660 .iso utility nrg2iso might be helpful then. [123000940030] |It’s included into apt repositories of Debian and Ubuntu, so to install it execute: [123000940040] |sudo aptitude install nrg2iso [123000940050] |When it’s done, convert file by command: [123000940060] |nrg2iso image.nrg image.iso [123000940070] |Rather trivial task, right? [123000950010] |Dell shares custom-tailored Ubuntu Feisty for it's laptops [123000950020] |As Dell’s laptop owner I’d like to share information that Dell Inc. prepared special Ubuntu Feisty Fawn version especially for it’s Inspiron E1505N, Inspiron 1420N, Inspiron 530N laptops. [123000950030] |Dell Linux Engineering team has a remastered copy of the Ubuntu 7.04 Live CD available for download. [123000950040] |It includes native system hardware support and many of the fixes listed below. [123000950050] |The media will help you get the system installed and running with the necessary drivers. [123000950060] |CD and DVD images are available here. [123000960010] |Get changelog information from RPM and DEB package [123000960020] |Here is a nice Linux tip: to get change information of some RPM package it’s enough to execute the following command rpm -q --changelog package for example rpm -q --changelog openssh will output something like: [123000960030] |* Fri Mar 03 2006 Tomas Mraz - 4.3p2-4 - allow access if audit is not compiled in kernel (#183243) [123000960040] |* Sat Feb 25 2006 Tomas Mraz –4.3p2-3 [123000960050] |- enable the subprocess in chroot to send messages to system log [123000960060] |- sshd should prevent login if audit call fails [123000960070] |* Wed Feb 22 2006 Tomas Mraz –4.3p2-2 [123000960080] |- print error from scp if not remote (patch by Bjorn Augustsson #178923) [123000960090] |… [123000960100] |* Sat Oct 30 1999 Damien Miller [123000960110] | - Back to old binary names [123000960120] |* Fri Oct 29 1999 Damien Miller [123000960130] | - Use autoconf [123000960140] |- New binary names [123000960150] |* Thu Oct 28 1999 Damien Miller [123000960160] | - Initial RPMification, based on Jan “Yenya” Kasprzak’s spec. [123000960170] |To look through whole output it would be useful to use more or less commands: rpm -q --changelog /path/to/package.rpm | less [123000960180] |Similar command is available also in Debian: dpkg-parsechangelog. [123000960190] |It reads and parses the changelog of an unpacked Debian source tree and outputs the information in it to standard output in a machine-readable form. [123000970010] |Another Linux utility to investigate sockets [123000970020] |SS is another Linux utility that can be used to dump socket statistics. [123000970030] |Written by Alexey Kuznetsov it allows showing information similar to netstat. [123000970040] |According to man ss it can display more TCP information than other tools. [123000970050] |Here it an example of it’s usage: viper@viper-laptop:~$ ss -t -n State Recv-Q Send-Q Local Address:Port Peer Address:Port ESTAB 0 0 192.168.0.7:58636 62.64.83.230:2233 ESTAB 0 0 192.168.0.7:48629 209.85.133.109:995 ESTAB 0 0 192.168.0.7:51581 208.66.64.132:80 ESTAB 0 0 192.168.0.7:36079 62.64.83.230:904 ESTAB 0 0 192.168.0.7:36078 62.64.83.230:904 CLOSE-WAIT 0 0 192.168.0.7:44531 91.189.89.8:80 [123000970060] |Sockets summary statistics: viper@viper-laptop:~$ ss -s Total: 539 (kernel 566) TCP: 13 (estab 5, closed 0, orphaned 0, synrecv 0, timewait 0/0), ports 18 [123000970070] |This utility is available by default in many Linux distributions like Ubuntu, Debian or Fedora. [123000980010] |Apache web server benchmark tool ab [123000980020] |ab is a tool for benchmarking your Apache HTTP server. [123000980030] |It is designed to give an impression of how Apache installation performs. [123000980040] |This especially shows how many requests per second certain Apache installation is capable to serve. [123000980050] |Manual of ab is rather extensive, so here is just useful example of it’s usage: [123000980060] |ab -n 100 ubuntu.com/ [123000980070] |will send 100 requests to Apache server of Ubuntu’s web site. [123000980080] |Here it’s output: [123000980090] |This is ApacheBench, Version 2.0.40-dev <$Revision: 1.146 $> apache-2.0 Copyright 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright 2006 The Apache Software Foundation, http://www.apache.org/ [123000980100] |Benchmarking ubuntu.com (be patient).....done [123000980110] |Server Software: Apache/2.2.3 Server Hostname: ubuntu.com Server Port: 80 [123000980120] |Document Path: / Document Length: 281 bytes [123000980130] |Concurrency Level: 1 Time taken for tests: 22.87165 seconds Complete requests: 100 Failed requests: 0 Write errors: 0 Non-2xx responses: 100 Total transferred: 49000 bytes HTML transferred: 28100 bytes Requests per second: 4.53 [#/sec] (mean) Time per request: 220.872 [ms] (mean) Time per request: 220.872 [ms] (mean, across all concurrent requests) Transfer rate: 2.13 [Kbytes/sec] received [123000980140] |Connection Times (ms) min mean[+/-sd] median max Connect: 88 100 5.5 100 133 Processing: 113 119 4.3 118 132 Waiting: 111 116 4.4 115 128 Total: 205 220 9.0 219 259 [123000980150] |Percentage of the requests served within a certain time (ms) 50% 219 66% 222 75% 230 80% 231 90% 231 95% 234 98% 239 99% 259 100% 259 (longest request) [123000980160] |I found this utility very useful to check performance of newly installed and configured Apache (httpd). [123000990010] |Ping range of IP addresses in parallel with fping [123000990020] |fping is a program which uses the Internet Control Message Protocol (ICMP) echo request to determine if a host is up. fping is different from ping in that you can specify any number of hosts on the command line, or specify a file containing the lists of hosts to ping. [123000990030] |Instead of trying one host until it timeouts or replies, fping will send out a ping packet and move on to the next host in a round-robin fashion. [123000990040] |If a host replies, it is noted and removed from the list of hosts to check. [123000990050] |If a host does not respond within a certain time limit and/or retry limit it will be considered unreachable. [123000990060] |Basically fping is meant to be used in shell scripts and its output is easy to parse. [123000990070] |This command can be very useful to when you have to scan whole network for alive or unreachable hosts. [123000990080] |In case of usage regular ping command you’ll have to write shell script and parse each hosts icmp replies but fping can do the same in one line: [123000990090] |To scan range of IP addresses from 192.168.0.1 to 192.168.0.9 just run: sudo fping -s -g 192.168.0.1 192.168.0.9 -r 1 [123000990100] |That will output: [123000990110] |192.168.0.1 is alive 192.168.0.7 is alive 192.168.0.2 is unreachable 192.168.0.3 is unreachable 192.168.0.4 is unreachable 192.168.0.5 is unreachable 192.168.0.6 is unreachable 192.168.0.8 is unreachable 192.168.0.9 is unreachable [123000990120] |9 targets 2 alive 7 unreachable 0 unknown addresses [123000990130] |14 timeouts (waiting for response) 16 ICMP Echos sent 2 ICMP Echo Replies received 0 other ICMP received [123000990140] |0.05 ms (min round trip time) 0.44 ms (avg round trip time) 0.84 ms (max round trip time) 2.183 sec (elapsed real time) [123000990150] |In order to scan /24 network (254 hosts) and show only alive hosts the following command can be used: [123000990160] |sudo fping -a -q -g 192.168.0.0/24 [123001000010] |Xen cluster on Debian for newbies [123001000020] |Xen is a free software that runs on a host operating system and allows several guest operating systems to be run on top of the host on the same computer hardware at the same time. [123001000030] |The following article tells how to set up Xen cluster based on Debian nodes with cluster virtualization management system Ganeti. [123001000040] |Tutorial would be helpful also for Linux newbies as all stages of Xen cluster installation are described in great detail. [123001000050] |Read a tutorial… [123001010010] |Create Linux user with password [123001010020] |Sometimes it’s necessary to create Linux user accounts in batch mode (fully automatic) but often newbies ask how to set password for a new user without entering it manually. [123001010030] |Thanks to heaven command useradd can get password as an input parameter, but it should be encrypted. [123001010040] |In other words, to create Linux user account with password the following command will be useful: [123001010050] |useradd -m -p encryptedPass username [123001010060] |I know at least two ways to get password encrypted. [123001010070] |The first one is to use perl crypt(); function: [123001010080] |perl -e 'print crypt("password_to_be_encrypted", "salt"),"\n"' [123001010090] |which will give you an output sa3tHJ3/KuYvI. [123001010100] |The second way (more simple) is to use command: [123001010110] |openssl passwd password_to_be_encrypted [123001020010] |Get Wi-Fi working on Dell Inspiron 1501 with Ubuntu [123001020020] |This howto would help you to get Wi-Fi card working on Dell Inspiron 1501 laptop with ndiswrapper driver on Ubuntu. [123001020030] |It was tested by me on Ubuntu Feisty. [123001020040] |
  • Delete previous appearances of ndiswrapper in your system: sudo rmmod ndiswrapper sudo apt-get remove ndiswrapper-utils sudo gnome-search-tool (type “ndiswrapper”, select “Look in folder” as “/” and press “Find” as it’s shown at the screenshot, select ALL found items and Move them to Trash [right click on selected items])
  • [123001020050] |
  • Run again: sudo rmmod ndiswrapper sudo apt-get remove ndiswrapper-utils
  • [123001020060] |
  • Get necessary packages: sudo apt-get update sudo apt-get install build-essential sudo apt-get install linux-headers-`uname -r`
  • [123001020070] |
  • Get ndiswrapper: wget http://dfn.dl.sourceforge.net/sourceforge/ndiswrapper/ndiswrapper-1.47.tar.gz
  • [123001020080] |
  • Get the Windows driver for your Dell 1501: wget http://ftp.us.dell.com/network/R140747.EXE
  • [123001020090] |
  • Make folder: mkdir /home/YOUR_LOGIN_NAME/.drivers
  • [123001020100] |
  • Now we will move ndiswrapper and R140747.EXE to the folder we just made: mv /home/YOUR LOGIN NAME/ndiswrapper-1.47.tar.gz /home/YOUR LOGIN NAME/.drivers and mv /home/YOUR LOGIN NAME/R140747.EXE /home/YOUR LOGIN NAME/.drivers
  • [123001020110] |
  • Uncompress the ndiswrapper: cd /home/YOUR LOGIN NAME/.drivers and tar -xzvf ndiswrapper-1.47.tar.gz
  • [123001020120] |
  • Blacklist the broken and useless bcm43xx firmware drivers that try to load in a default Ubuntu install: sudo echo blacklist bcm43xx >>/etc/modprobe.d/blacklist
  • [123001020130] |
  • YOU MUST REBOOT NOW!
  • [123001020140] |
  • Point your terminal to the ndiswrapper-1.47 folder. cd /home/YOUR LOGIN NAME/.drivers/ndiswrapper-1.47
  • [123001020150] |
  • Compile ndiswrapper: sudo make uninstall sudo make sudo make install
  • [123001020160] |
  • Use the Windows driver with ndiswrapper to get wifi working: cd /home/YOUR LOGIN NAME/.drivers unzip -a R140747.EXE cd /home/YOUR LOGIN NAME/.drivers/DRIVER sudo ndiswrapper -i bcmwl5.inf sudo ndiswrapper -l sudo ndiswrapper -m sudo modprobe ndiswrapper
  • [123001020170] |
  • YOU MUST REBOOT NOW!
  • [123001020180] |
  • Test Wi-Fi: Wi-Fi light on your laptop should be illuminated, if not you can always turn it off and on with the Fn+F2 (Function &F2 Key). [123001020190] |Try running this to see if your wireless card is functioning properly. sudo iwlist scanning
  • [123001020200] |Please note: don’t forget to change YOUR LOGIN NAME with your login name! [123001030010] |Install iTunes 7.2 in Ubuntu and other Linux distros [123001030020] |iTunes is a media player that is available only for Windows and Mac OS X but also can be run in Linux with Wine. [123001030030] |Certainly we’re interested in latter operating system . [123001030040] |The following manual shows how to get iTunes 7.2 running in Linux with wine 0.9.45. [123001030050] |To install latest version of wine download corresponding binary package for you Linux distribution from here. [123001030060] |Packages for Ubuntu Feisty are available here. [123001030070] |
  • Install deb package: sudo dpkg -i wine_0.9.45~winehq0~ubuntu~7.04-1_i386.deb
  • [123001030080] |
  • Configure by running winecfg command in terminal: [123001030090] |
  • In Applications tab, choose Windows XP option.
  • [123001030100] |
  • In Drivers tab, click Autodetect button.
  • [123001030110] |
  • In Audio tab, check ALSA Driver and uncheck OSS Driver.
  • [123001030120] |Then click OK button. [123001030130] |After wine is installed we should get latest iTunes from here and get it installed. [123001030140] |
  • Run in terminal: wine iTunesSetup.exe
  • [123001030150] |
  • Install iTunes as you do it in Windows or Mac OS X
  • [123001030160] |
  • Run it with command: wine ~/.wine/drive_c/Program\ Files/iTunes/iTunes.exe
  • [123001030170] |Screenshot is taken from here. [123001030180] |Update: recently I came across really comprehensive post about how to run iTunes in Ubuntu/Linux. [123001030190] |The author tells there about all known approaches to gain access to iTunes under Ubuntu/Linux. [123001030200] |The post can be found here. [123001030210] |null [123001030220] |Information improvisation: Try out our free 642-661 and latest 642-983 training courses to get high flying success in final 642-617 642-415 exams; JN0-332 is also very useful tool. [123001040010] |Linux distro chooser [123001040020] |Just came across nice site that helps new Linux users to choose right distro. [123001040030] |You’ll find Linux Distribution Chooser in 18 languages here. [123001040040] |As for me, my distros are Ubuntu, Fedora, Debian and CentOS. [123001050010] |Utility to install ATI or NVIDIA proprietary drivers in Ubuntu and Debian [123001050020] |Envy is application available for Ubuntu and Debian and is written in Python and PyGTK that does: [123001050030] |1) detect the model of your graphic card (ATI and Nvidia cards are supported); 2) download the right version of the proprietary driver for your ATI or Nvidia card from ATI or Nvidia’s websites; 3) handle the dependencies (compilers, OpenGL, etc.) (according to your OS version and kernel) required to build the module; 4) install/uninstall the driver; 5) set up your xorg.conf for you (according to your system specifications); 6) restart the Xserver for you (if you wish so). [123001060010] |Dump ipcad output into sqlite3 [123001060020] |ipcad is IP accounting daemon with Cisco-like ip accounting export. [123001060030] |It runs in background, listens traffic on the specified interfaces, and records the traffic for later retrieval and analysis. [123001060040] |Here is a piece of shell code that allows to export ipcad output into sqlite3 database format: echo "create table traffic (src, dst, pkt, bt);" | sqlite3 /tmp/throttle.db rsh 127.0.0.1 show ip accounting | grep "^ " | grep -vi source | awk \ '{print"insert into traffic values (\""$1"\",\""$2"\",\""$3"\",\""$4"\");"}' \ | sqlite3 /tmp/throttle.db [123001060050] |To make this working ipcad should be configured not to capture ports and to enable rsh service. [123001060060] |In my case ipcad has the following settings set in ipcad.conf: [123001060070] |capture-ports disable; interface eth0; rsh enable at 127.0.0.1; rsh 127.0.0.1 admin; rsh ttl = 3; rsh timeout = 30; pidfile = /var/run/ipcad.pid; memory_limit = 100m; [123001060080] |and output (rsh 127.0.0.1 show ip accouting) is like: [123001060090] |The main problem is that it sqlite3 is rather slow and it takes eleven (11!!!) seconds to export 1000 entries of ipcad’s output into database. [123001060100] |This was got at PC with 1.4Ghz CPU and 512Mb RAM. [123001060110] |If anybody knows how to get it faster, PLEASE LET ME KNOW! [123001060120] |Thanks. [123001060130] |Information Improvisation: Traffic Engineering Server is new Solution for Bandwidth Management and QoS. [123001060140] |It’s especially suitable for Broadband ISPs and SMEs. [123001070010] |Intel launches new site about power saving in Linux [123001070020] |According to recent strategy to reduce power consumption of Linux systems, Intel launches new site Less Watts that contains useful tips for different types of computers: server, mobile and laptops. [123001070030] |The LessWatts.org project gives the broader community insight into the advancements taking place in reducing power to drive the adoption of these technologies into products they can purchase and deploy. [123001070040] |The project is one of the ways that Intel is working with the community to drive improvements in power consumption that will lead to a cleaner environment and allow companies to spend less money powering their IT infrastructure. [123001070050] |Here are top tips: [123001070060] |
  • Enable the power aware SMP scheduler
  • [123001070070] |
  • Use SATA link power management
  • [123001070080] |
  • Enable WiFi* power management
  • [123001070090] |
  • Check for unused Bluetooth*
  • [123001070100] |
  • Use gigabit ethernet speeds only when needed
  • [123001070110] |Another site regarding reducing power consumption: linuxpowertop.org. [123001080010] |Interview with lead developer of XFCE [123001080020] |

    What are Xfce’s long term goals? [123001080030] |What is the Xfce vision for the future? [123001080040] |Hm, this is difficult… one thing is of course to maintain simplicity, in order to keep the fun in it. [123001080050] |Besides that, I plan to add better support for laptop users (I’m using some of the GNOME stuff here today, but it doesn’t really work reliably, and doesn’t integrate properly into the desktop) and even better volume management (to Thunar). [123001080060] |Also a working NetworkManager frontend for Xfce would be nice, but maybe fixing nm-applet would also do the job here (and help gnome users). [123001080070] |That’s for the next year…For the long term goals: I think the most important goal is still being lightweight and easy to use. [123001080080] |Read more… [123001090010] |Network Traffic Generator [123001090020] |hping3 is a network tool able to send custom TCP/IP packets and to display target replies like ping program does with ICMP replies. hping3 handles fragmentation, arbitrary packets body and size and can be used in order to transfer files encapsulated under supported protocols. [123001090030] |Using hping3 you are able to perform at least the following stuff: [123001090040] |
  • Test firewall rules
  • [123001090050] |
  • Advanced port scanning
  • [123001090060] |
  • Test net performance using different protocols, packet size, TOS (type of service) and fragmentation.
  • [123001090070] |
  • Path MTU discovery
  • [123001090080] |
  • Transferring files between even really fascist firewall rules.
  • [123001090090] |
  • Traceroute-like under different protocols.
  • [123001090100] |
  • Firewalk-like usage.
  • [123001090110] |
  • Remote OS fingerprinting.
  • [123001090120] |
  • TCP/IP stack auditing.
  • [123001090130] |
  • A lot of others.
  • [123001090140] |I’ve tried several traffic generators for Ubuntu, Fedora (and other) like scapy, NTG, Bit-Twist, but only hping meets my requirements. [123001090150] |Recommended. [123001090160] |Example: to generate 100 packets per second TCP traffic to 192.168.0.1 with packets containing arbitrary destinations, just execute: [123001090170] |sudo aptitude install hping3 sudo hping3 --rand-dest --rand-dest --faster 192.168.0.1 [123001090180] |Information Improvisation: Traffic Engineering Server is new network appliance for Bandwidth Management that is especially suitable for Broadband ISPs and SMEs. [123001100010] |VectorLinux - Slackware based lighterweight distribution [123001100020] |Few days ago I came across rather interesting Linux distro: [123001100030] |Speed, performance, stability are attributes that set VectorLinux apart in the crowded field of Linux distributions. [123001100040] |VectorLinux is a lighterweight, fast, Linux operating system for Intel-AMD x86 compatible systems and is based upon Slackware, one of the original Linux distributions. [123001100050] |Slackware is the true ‘Unix’ of Linux distributions and its popularity stems from the fact that it is a robust, versatile and almost unbreakable system. [123001100060] |VectorLinux has improved Slackware to produce a bloat free, easy to install, configure and maintain operating system that is second to none. [123001100070] |We include automatic hardware configuration, unique administration tools and easy software package management via the Gslapt/slapt-get system. [123001100080] |VectorLinux is considered to be the fastest, non-source Linux distribution on the planet! [123001100090] |Actually there are 4 editions of VectorLinux available: standard, Deluxe, SOHO and Live. [123001100100] |All except Deluxe are freely downlodable. [123001120010] |Disable double hyphen to dash wordpress replacements [123001120020] |As we know latest wordpress.org blog publishing system includes feature that allows to replace double hyphens into single dash: —into — or –. [123001120030] |It’s rather trivial issue but Linux Screw blog contains a lot of shell code examples like sudo apt-get remove mc --purge and I was wondering how to disable it for a long time [123001120040] |To disable this you should edit /wp-includes/formatting.php: [123001120050] |
  • to disable only replacement —into —, just remove ‘–’and ‘—‘from the following line: $static_characters = array_merge(array('---', ' -- ', '--', 'xn–', '...', '``', '\'s', '\'\'', ' (tm)'), $cockney); and remove second and third elements from: $static_replacements = array_merge(... line.
  • [123001120060] |
  • to disable any characters replacements made by wordpress you can comment the following lines: $curl = str_replace($static_characters, $static_replacements, $curl); $curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl); In other words, after commenting they should look like: //$curl = str_replace($static_characters, $static_replacements, $curl); //$curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);
  • [123001120070] |Hope it helps! [123001130010] |Fun: best hosting provider ever [123001130020] |Just found very nice web hosting provider that that offers unbelievably stable service: [123001130030] |nouptime.com: Our Redundant Department of Redundancy has a Redundant Server Failover System that will initiate a failover hosting in case of unexpected server uptime. [123001130040] |Here are it’s best “hosting packages”: [123001150010] |XFCE based KateOS 3.6 released [123001150020] |New version of nice Polish Linux distribution KateOS that is based on XFCE is released. [123001150030] |KateOS is currently the best Polish(ed) Linux distro. [123001150040] |It is developed dynamically by Kate team, and actively supported by a well educated community. [123001150050] |Since early 2004, the team members have learned exactly what are the needs of Linux users in Poland and worldwide. [123001150060] |The current development of KateOS is based on experience of people all around the world, who support and broaden the ideas of the project. [123001150070] |KateOS is fast, stable and secure, and most importantly of all, gives its users a choice. [123001150080] |We do not believe in applications satisfying the needs of all users. [123001150090] |This is why we let our users choose their tools on their own. [123001170010] |Portable and integrated Linux distro for USB drives [123001170020] |FaunOS is a portable (easy-to-carry), fully integrated Linux operating system with over 500 pre-installed packages. [123001170030] |It is specifically designed to run from a portable USB Memory Device (USB Flash Drive). [123001170040] |It can also run from a DVD. [123001170050] |It does not change or install anything on your hard drive unless you specifically ask it to. [123001170060] |This means it is safe to take your USB to a friend’s computer and boot from it (see minimum requirements). [123001170070] |When you finish, shutdown, and remove your USB key from your friend’s computer, there is no trace of any of your activity on that computer. [123001170080] |Here are FaunOS features list: [123001170090] |
  • Ability to save files back to the USB flash drive.
  • [123001170100] |
  • Tools that allow permanent installation to a hard drive. [123001170110] |Supports the following install options on a hard drive: [123001170120] |
  • Permanent Arch Linux Installer using archin
  • [123001170130] |
  • Frugal install (not to be confused with Frugalware Linux) installs the compressed FaunOS files to a hard drive permanently leading to an “unbreakable desktop” meaning the end user can totally ruin everything at runtime. [123001170140] |To revert back to the starting point all the user has to do is reboot the machine and everything goes back to normal since all changes happen in RAM (unless the FaunOS session is saved on shutdown).
  • [123001170150] |
  • Ability to install additional packages before permanently installing FaunOS to the hard drive.
  • [123001170160] |
  • FaunOS Installer for creating additional FaunOS USB drives from within FaunOS.
  • [123001180010] |Full Circle Magazine's 5th issue for Ubuntu newbies [123001180020] |The FREE Independent Magazine for the Ubuntu Linux Community fullcirclemagazine.org just released it’s 5th issue containing articles useful for Ubuntu newbies: [123001180030] |
  • Fluxbuntu –Step-by-step Install
  • [123001180040] |
  • How-To : Report Bugs with LaunchPad, CoLoCo Edubuntu Presentation, From VMware to VirtualBox and Learning Scribus Pt.5.
  • [123001180050] |
  • Review of Bridge Construction Kit.
  • [123001180060] |
  • Preview of Gusty Gibbon
  • [123001180070] |
  • Letters, Q&A, My Desktop, My PC, Top 5, the new My Opinion column, and more!
  • [123001180080] |English version is available in PDF here. [123001200010] |Most popular Ubuntu blogs [123001200020] |Here is Top 25 of Ubuntu blogs provided by FreeGeekery. [123001200030] |These four metrics were used to calculate the rankings: [123001200040] |Google PageRank Alexa Rank Technorati Authority Bloglines Subscribers [123001210010] |Conky: light-weight Linux system monitor [123001210020] |Conky is a light-weight and highly configurable system monitor for X. It can monitor many different aspects of your Linux computer. [123001210030] |You choose what to monitor and you choose where the monitor is displayed on your desktop through use of a configuration file .conkyrc. [123001210040] |As for me I like to have it at the top right of my display. [123001210050] |To get conky running in Ubuntu execute: [123001210060] |sudo apt-get install conky [123001210070] |Fedora users should install it with yum: [123001210080] |sudo yum install conky [123001210090] |Then regardless distro you use, you should edit configuration file that is located at your home directory ~/.conkyrc. [123001210100] |For example like this one. [123001220010] |Sexy wallpapers for Ubuntu Linux [123001220020] |digg_url = http://www.linuxscrew.com/2007/10/01/sexy-wallpapers-for-ubuntu-linux/; Here is the list of sexy wallpapers for Ubuntu and actually for any other Linux distribution. [123001220030] |Every wallpaper can be downloaded from gnome-look.org. [123001230010] |Buddi: track your finances in a simple way [123001230020] |Buddi is a personal finance and budgeting program, aimed at those who have little or no financial background. [123001230030] |In making this software, author has attempted to make things as simple as possible, while still retaining enough functions to satisfy most home users. [123001230040] |To my mind the idea of using such applications to manage personal finances makes sense definitely. [123001230050] |But not all of us have a lot of time and patience to get familiar with all the intricacies of tools like GnuCash or Money Manager Ex. [123001230060] |If that sounds ok for you, try Buddi as the easiest way to to keep your finances organized. [123001230070] |Buddi is released as Open Source Software, so you can download it for free, with no disabled features and no time limit. [123001230080] |Actually it’s written in Java and Buddi runs on most platforms that can run the Java Runtime Environment. [123001230090] |There are pre-compiled binaries available for different Linux distributions like Ubuntu, Debian. [123001230100] |There are executable versions also for MS Windows and Apple MAC. [123001230110] |You can find latest DEB package here. [123001230120] |It runs perfectly at my Ubuntu Feisty Fawn and Debian Etch. [123001230130] |P.S. [123001230140] |Here is nice article about Buddi at Linux.com. [123001250010] |QEMU virtualization application [123001250020] |QEMU is an open source emulator for complete PC systems. [123001250030] |In addition to emulating a processor, QEMU permits emulation of all necessary subsystems, such as networking and video hardware. [123001250040] |It also permits emulation of advanced concepts, such as symmetric multiprocessing systems (up to 255 CPUs) and other processor architectures, such as ARM or PowerPC. [123001250050] |This article explores QEMU and its architecture and shows how to emulate a guest operating system on a Linux host. [123001250060] |Saying that virtualization is a hot technology today is an understatement. [123001250070] |Today, googling the word virtualization results in around 22 million hits. [123001250080] |For example, in a single month, EMC Corporation announced an IPO for VMware, Citrix Systems announced plans to purchase XenSource, and new virtualization start-ups appeared out of nowhere. [123001250090] |New niches are continually being found in what turns out to be an astronomically massive market. [123001250100] |But with all the talk of initial public offerings and acquisitions in virtualization these days, it’s easy to forget about some of the other virtualization technologies that are out there. [123001250110] |In this article, get acquainted with one of the more interesting virtualization applications not headlining the news today, QEMU. [123001250120] |QEMU is an application that you can use in a number of settings. [123001250130] |You can use it for guest operating system virtualization or as a full machine emulator running operating systems targeted to the host CPU or other CPU architectures. [123001250140] |Read more at IBM DeveloperWorks…