23 August 2010

must install softwares in fedora 13

FFmpeg - FFmpeg is a complete, cross-platform solution to record, convert and stream audio and video.

qBittorrent - The qBittorrent project aims to provide a Free Software alternative to µtorrent.

Pidgin - Pidgin is an easy to use chat client for AIM, MSN, Yahoo, and more all at once.

Howto change gnome keyring password

NetworkManager won't ask for keyring password if login password and gnome-keyring password are same.

How to change the gnome keyring password:
$ seahorse
1. right click "Passwords:login"
2. select "Change Password"

Reference:
http://fedoraproject.org/wiki/Tools/NetworkManager

Solution to flashing wifi light in fedora 13

I have Compaq nc6400 laptop which have built-in wireless card.
(Intel Corporation PRO/Wireless 3945ABG)

1. I have enabled wireless and a blue WiFi light started flashing non-stop with traffic.
echo "#add to /etc/modprobe.d/wlan.conf" > /etc/modprobe.d/wlan.conf
echo "options iwlcore led_mode=1" >> /etc/modprobe.d/wlan.conf
2. Restart the machine

Reference:
http://forums.linuxmint.com/viewtopic.php?f=90&t=44829&start=0
http://linuxfocus.org/~guido/gentoo-x301/

How to install WPA2-PSK in Fedoa 13

I have Compaq nc6400 laptop which have built-in wireless card.
(Intel Corporation PRO/Wireless 3945ABG)(iwl3945)

1. service NetworkManager restart





OR

1. edit wpa_supplicant config file
=> /etc/wpa_supplicant/wpa_supplicant.conf
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1

network={
ssid="my_network"
proto=RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP
psk="secret_password"
}
2. create "/bin/wireless"
#!/bin/sh

rmmod iwl3945
modprobe iwl3945
sleep 3
ifconfig wlan0 0.0.0.0
wpa_supplicant -d -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dwext
3. sudo wireless
4. sudo ifup wlan0

Reference:
http://hostap.epitest.fi/wpa_supplicant/
http://www.thinkwiki.org/wiki/Wpa_supplicant
http://fedoraproject.org/wiki/NetworkManager_in_Fedora_13
http://ftp.gnome.org/pub/GNOME/sources/NetworkManager/0.8/

22 August 2010

Howto create custom splash image

1. get the sample image to convert to grub splash from here.

2. gimp Kerala_backwater.jpg

3. quish the image down to 640x480 splash image size with Image > Scale > 640 x 480, Interpolation: Cubic

4. Convert down to the final 14-color indexed splash image format with Image > Mode > Indexed, 14 colors, No dithering, No transparent dithering

5. save it with the name "Kerala_backwater.xpm".

6. gzip -9 Kerala_backwater.xpm

Grub splash image is created with the name Kerala_backwater.xpm.gz.

Reference:
http://www.jnode.org/node/2357

21 August 2010

Reliance Netconnect in Fedora 13


you need root permission and wvdial software to use reliance netconnect in fedora.

1. connect reliance data card
2. run the command "wvdialconf"
$ sudo wvdialconf 
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0 S1 S2 S3
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB0<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB0<*1>: Speed 9600: AT -- OK
ttyUSB0<*1>: Max speed is 9600; that should be safe.
ttyUSB0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 Z -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyUSB2<*1>: Modem Identifier: ATI -- Manufacturer: +GMI: HUAWEI TECHNOLOGIES CO., LTD
ttyUSB2<*1>: Speed 9600: AT -- OK
ttyUSB2<*1>: Max speed is 9600; that should be safe.
ttyUSB2<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK

Found a modem on /dev/ttyUSB0.
Modem configuration written to /etc/wvdial.conf.
ttyUSB0: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
ttyUSB2: Speed 9600; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"

3. update "/etc/wvdial.conf"
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
Modem Type = Analog Modem
; Phone =
ISDN = 0
; Password =
; Username =
Phone = #777
Modem = /dev/ttyUSB0
Username = 93XXXXXXXX
Password = 93XXXXXXXX
Baud = 9600

4. run the command "wvdial"
$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
ATZ
OK
--> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
OK
--> Modem initialized.
--> Sending: ATDT#777
--> Waiting for carrier.
ATDT#777
CONNECT
--> Carrier detected. Waiting for prompt.
^DSDORMANT:1
--> Don't know what to do! Starting pppd and hoping for the best.
--> Starting pppd at Sat Aug 21 14:24:31 2010
--> Pid of pppd: 16220
--> Using interface ppp0
--> pppd: @�:[08]��:[08]
--> pppd: @�:[08]��:[08]
--> pppd: @�:[08]��:[08]
--> local IP address 115.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]
--> remote IP address 220.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]
--> primary DNS address 202.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]
--> secondary DNS address 202.XXX.XXX.XXX
--> pppd: @�:[08]��:[08]

5. update "/etc/resolv.con"
nameserver 202.XXX.XXX.XXX


reference:
http://www.gnulinux.in/blog/my-user-experience-reliance-netconnect-broadband-service-and-ubuntu-904

How to Resize Windows Taskbar

How to move the Windows taskbar,

==> Right-click on a blank area in the taskbar and deselect "Lock the Toolbar". A divider line should appear next to the Start button.
==> Left-click the area between the Start button and your divider.
==> While keeping the left mouse button pressed, drag the taskbar to the new location. (top, bottom, left or right)
==> Release your mouse.
==> Right-click any blank area and Lock the Toolbar.

05 August 2010

Map a Drive Letter to a Local Folder

Download Windows Drive add script from here.
ren MyDL.sh MyDL.bat
MyDL Z: c:\Windows
subst Z: C:\Windows
or
set key="HKLM\SYSTEM\CurrentControlSet\Control\Session Manager\DOS Devices"
set DRV="Z:"
set FP="C:\Windows"
reg ADD %key% /V %DRV% /T REG_SZ /F /D "\??\\%FP%"
subst Z: C:\Windows

Reference:
http://code.google.com/p/psubst
http://www.howtogeek.com/howto/windows-vista/map-a-drive-letter-to-a-folder-the-easy-way-in-windows
http://www.windowsitpro.com/article/tips/jsi-tip-9375-how-can-i-create-a-drive-letter-for-a-local-folder-and-have-it-available-to-all-users-.aspx