rpm2cpio kernel-bla-bla-bla.src.rpm | cpio -idvm
A Blog about technology, linux, peer2peer, cool new downloads and software development.
Wednesday, January 13, 2010
how to extract the files in an rpm on linux
Labels:
linux
Thursday, December 24, 2009
how to install ndis atheros wifi driver on lenovo T60 ubuntu
download the windows xp driver from : http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-70480
install with the 1st stage with wine to extract the driver files
copy the extracted driver from : ~/.wine/drive_c/DRIVERS/WIN/WLLANATH/WinXP_2K
to ~/lenovo
isntall :
sudo apt-get install ndisgtk
disable the ath9k driver :
sudo modprobe -vr ath9k
activate the ndis driver :
Go to System>Administration>Windows Wirless Drivers, (NDISWRAPPER will open now, (after password is given)).
Choose Install Driver.
Goto location line, click on the right folder tab and browse to:
~/lenovo/WLLANATH/WinXP_2K
Choose to install.
to stop ath9k loading at boot
sudo vim /etc/modprobe.d/blacklist.conf
blacklist ath9k
reboot
reference :
http://ubuntuforums.org/showthread.php?t=739998
Sunday, December 20, 2009
how to configure ubuntu linux to manage amazon ec2 machine
start an instance @
https://console.aws.amazon.com/ec2/home
download : ec2-api-tools @
http://developer.amazonwebservices.com/connect/entry.jspa?externalID=351
unzip to $HOME/bin/ec2-api-tools-1.3-46266
add to .bashrc :
# EC2 - begin
export EC2_PRIVATE_KEY=$HOME/keys/pk-KWJIYEWJXT7MOMSS2OHMIS7IYLHAGTN7.pem
export EC2_CERT=$HOME/keys/cert-KWJIYEWJXT7MOMSS2OHMIS7IYLHAGTN7.pem
export EC2_HOME=$HOME/bin/ec2-api-tools-1.3-46266
export JAVA_HOME=/usr/lib/jvm/java-6-sun/jre/
# EC2 - end
run :
. .bashrc
test :
./bin/ec2-api-tools-1.3-46266/bin/ec2-describe-instances
docs :
http://docs
.amazonwebservices.com/AWSEC2/latest/CommandLineReference/
https://help.ubuntu.com/community/EC2StartersGuide
Friday, December 18, 2009
how to enable syntax highlight imacros iim scripts in gedit on ubuntu linux
download imacros.lang from http://albertux.ayalasoft.com/tag/imacros/
sudo cp imacros.lang /usr/share/gtksourceview-2.0/language-specs/
sudo chmod a+r /usr/share/gtksourceview-2.0/language-specs/imacros.lang
restart gedit
Wednesday, December 16, 2009
how to configure fixed ip on ubuntu linux
sudo vim /etc/network/interfaces
[ CHANGE : ]
# The primary network interface
auto eth0
iface eth0 inet dhcp
[ TO : ]
# The primary network interface
auto eth0
#iface eth0 inet dhcp
iface eth0 inet static
address 192.168.0.8
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
dns-nameservers 8.8.8.8
Tuesday, December 15, 2009
how to find & fix badblocks on ext3 partittion
readonly test :
sudo e2fsck -c -C 0 -y -vv /dev/sdi1
read-write test :
sudo e2fsck -cc -C 0 -y -vv /dev/sdi1
Friday, December 11, 2009
how to install eclipse with sftp on ubuntu linux
option 1: Aptana Studio
http://www.aptana.org/
option 2: Eclipse Pulse
http://www.poweredbypulse.com/
option 3: how to install sftp on any eclipse
help->install new
[wait for the catalog to update
select : -- Alla Avaliable Sites --
search : target managment
help->install new
[wait for the catalog to update
select : -- Alla Avaliable Sites --
search : remote system
Labels:
coding,
development,
eclipse,
php
Subscribe to:
Posts (Atom)


