Archive for Linux

Wifi working on my acer 1642 with suse 10.2

Hi,

phew after lots of search finally my acer 1642 ( view specifications ) laptop with suse 10.2 communication with Access Point. :D

Intel
PRO/Wireless 2200BG is my wireless card and its detected by suse 10.2
but as i turn my wifi on led is not lightening up and nothing works  as
i searched  i found that suse 10.2 includes driver for my wireless lan
card but firmware is missing so all i have to do is install proper
firmware for my card.

Some forums mentioned that for suse10.2 and Intel PRO/Wireless 2200BG card proper firmware is version 3 and all i have to do is download it and extract it into /lib/firmware. Reboot.

After reboot my led lighten up and i installed some packages like knetworkmanager from yast to manage my wireless connections.

Regards
Najam Sikander Awan

Powered by ScribeFire.

Leave a comment »

Vychat alternative for my suse 10.2 laptop

After switching to suse what I badly missed is vychat a very popular LAN chat client

that support many useful functions such as file transfer and real time chat capabilities. All of my network users use windows and they communicate and file transfer with each other using vychat so after setting up suse I googled and end up with many vychat clones for unix and linux. Below is the list of some clones

  1. Trix

  2. Vqcc-gtk

  3. Vyqchat

I have successfully installed trix and vqcc-gtk but the only problem with them is that they were not showing any users. So I decided to take help from linux irc help channels and from there a kind guy named yasir told me that i have to either disable firewall or add vychat ports to my susefirewall.

After disabling firewall i get all of my users in trix and vqcc-gtk. You can turn on and off firewall on suse by typing following commands in shell as root.

Turning firewall off
rcSuSEfirewall2 stop


turning firewall on
rcSuSEfirewall2 start

 

TriX

EditFormatRemove

TriX

Comments (6) »

How to enable full multimedia capabilities on Suse 10.2 using the xine engine

NOTE: The package manager in Suse 10.2 appears to be working a lot better than the one in 10.1, so this time we will be using YAST and not SMART to install the required packages.

The first step in resolving the multimedia issue is to setup additional YAST software sources. The software repositories used in this howto, are Packman and Guru. If possible, please use a mirror instead of the main download site to prevent overloading one download location. The mirrors for Packman are listed here and the ones for Guru are on the section titled “Mirrors” on this page.

Adding the Packman Repository

  1. Start YAST -> Software -> Installation Source and click on “add”

  2. Select HTTP or FTP as the protocol and click on “next”

  3. In the box that is labeled “Server Name” enter the address of the ftp or http server of your mirror e.g. mirror.geht-schon.de or ftp.uni-erlangen.de. Please do not enter the preceding http:// or ftp://.

    Working Example:
    Server Name: mirror.geht-schon.de

  4. In the box labeled “Directory on Server”, enter the path to the packman directory for Suse 10.2 e.g. /packman.links2linux.de/suse/10.2 or /pub/mirrors/packman/suse/10.2
    Working Example:
    Directory on Server: /packman.links2linux.de/suse/10.2

  5. Once thats done, click on the finish button and depending on your net connection YAST may take a few seconds or a few minutes to setup the repo.

NOTE: If you are asked about a “KEY” please choose the option to import the key.

Adding the Guru Repository

*The process is similar to adding the packman repo, the only difference being the mirros, so I won’t delve into that. Follow the instructions above and just substitute server names and directory paths.

Working Example

Server Name: ftp.gwdg.de
Directory on Server: /pub/linux/misc/suser-guru/rpm/10.2/RPMS

Installing the required packages

Once the mirrors have been setup do the following,

  1. YAST -> Software -> Software Management

  2. Search for xine and when the search results show up:

    • Select libxine1 for installation

  3. Select xine-lib for deinstallation

  4. If you want amarok to use the xine engine, select “amarok-xine” for installation if it is not already installed

  5. If you use totem and prefer to use xine instead of gstreamer as the backend, select libxine1-gnome-vfs for installation

  6. Search for w32codec and select it for installation

Once thats done, click accept and YAST should install the packages for you and hopefully you can play mp3, mp4, wmv etc.

NOTE: We did not use any packages from the Guru repository, but it has some apps e.g. Kmplayer, amarok-xmms, and others as well as not multimedia packages that you may find useful.

Playing encrypted DVD discs

Xine cannot play encrypted dvd discs without some help. If you want to do this, then go to videolan and download the libdvdcss rpm. Install the rpm by doing

Code:

#rpm -Uvh libdvdcss2-1.2.9-1.i386.rpm

NOTE: Using libdvdcss maybe illegal in your country, so please check with the authorities before downloading and using it. We will not be held responsible or accountable if you use this software where you are not supposed to.

A note on package management

If you have problems with your package manager, it maybe a good idea to drop back to the old Suse package manager instead of the Zenworks related tools. To do this do

  1. YAST -> Software -> Software Management

  2. On the “Filter” box, select “Patterns”

  3. Navigate to the “Enterprise Software Management” pattern and deselect it and all the packages listed on the right

  4. Click accept and once YAST has completed the changes, close it and reboot.

When the system starts, you will notice that you have different tools for updating the system although YAST will work as usual but using the old backend.

NOTE: As usual, any comments, addition and correction are welcome.

Have fun.

Comments (2) »

reinstall grub after installing windows xp

hi guyz

Today i formated my c drive in which vista was installed and i replaced it with windows xp after installing win xp into my c drive my boot loader is disappeared as expected.

Fixing  grub  (boot loader) is simple insert your suse 10.2 dvd or frist cd into drive and boot from it choose “Rescue System” after loading some stuff system will take you into command prompt

  1. first I list all of my partitions by using fdisk -l
      Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *           1        2167    17406396    7  Fat32
    /dev/sda2            5822       12161    50926050    f  W95 Ext'd (LBA)
    /dev/sda3            2168        5821    29350755    c  W95 FAT32 (LBA)
    /dev/sda5            5822        6076     2048256    b  W95 FAT32
    /dev/sda6            6077        6270     1558273+  82  Linux swap
    /dev/sda7            6271        7837    12586896   83  Linux
    /dev/sda8            7838       12161    34732498+  83  Linux
  2. Then enter grub
  3. root (hd0,6)
  4. setup (hd0)
  5. quit
  6. reboot :)

Leave a comment »

Realtek HD sound card working

Hi guyz

My sound card working now after installing latest Alsa driver, Lib and Utils.

Compile alsa-driver like this:

./configure –with-cards=hda-intel
make
make install

and alsa-lib and alsa-util in this order like this:

./configure
make
make install

Reboot and there you go!

Regards
Najam Sikander Awan

Comments (2) »

oh God Hd audio driver for linux

hi guyz;

Well after solving problem for my lan card through mac spoofing next problem that I want to solve now is making sound work on my acer laptop while running fedore core 6 live cd.

Now as i inspect my hardware i get to know that i have a realtek sound card that has hd audio codec Alc 883 now.

to check if your hardware is detected by linux or not you have to run following command in shell

/sbin/lspci

This will list hardware check your sound card vendor and note model for your card.

output of sbin/lspci for my laptop is listed below

00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 04)
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller (rev 04)
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
Now as i googled i come to know that this problem is because alsa bug and older kernel many users with latest kernel like 2.6.17 and fedora 6 live hai kernel 2.6.18 so i think i don’t need to play with kernel.

You can also find currently running modules for your sound card by running following into shell/sbin/lsmod

output of /sbin/lsmod is given below

Module                  Size  Used by
i915                   23361  3
drm                    72789  4 i915
ipv6                  267489  12
hidp                   24129  2
rfcomm                 46041  0
l2cap                  31681  10 hidp,rfcomm
bluetooth              58917  5 hidp,rfcomm,l2cap
cpufreq_ondemand       11085  1
dm_mirror              33041  0
video                  21061  0
sbs                    20225  0
i2c_ec                  9281  1 sbs
button                 10961  0
battery                14405  0
asus_acpi              20697  0
ac                      9541  0
parport_pc             31205  0
lp                     17033  0
parport                40841  2 parport_pc,lp
snd_hda_intel          22613  2
snd_hda_codec         154049  1 snd_hda_intel
joydev                 13697  0
snd_seq_dummy           8133  0
snd_seq_oss            37185  0
snd_seq_midi_event     11841  1 snd_seq_oss
snd_seq                57137  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device         12621  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            46561  0
snd_mixer_oss          20545  1 snd_pcm_oss
snd_pcm                80325  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
ipw2200               112037  0
snd_timer              27077  2 snd_seq,snd_pcm
pcspkr                  7361  0
serio_raw              11205  0
snd                    57029  13 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
8139too                31169  0
8139cp                 28609  0
i2c_i801               11853  0
soundcore              14113  1 snd
mii                     9665  2 8139too,8139cp
snd_page_alloc         14281  2 snd_hda_intel,snd_pcm
i2c_core               25537  2 i2c_ec,i2c_i801
ieee80211              34953  1 ipw2200
ieee80211_crypt        10433  1 ieee80211
ext3                  136009  1
jbd                    63337  1 ext3
squashfs               49093  1
dm_snapshot            21357  1
dm_mod                 61529  6 dm_mirror,dm_snapshot
loop                   20297  134
uhci_hcd               27725  0
ehci_hcd               35661  0
ide_cd                 42337  3
cdrom                  38625  1 ide_cd

Now 2nd thing is to check your alsa driver version now i don’t how to check that :( currently stuck on that i don’t know from where to download alsa driver for fedora 6 live and then how to make it work and i don’t want to run fedora 6 live on my laptop i just want all the functionality while running it with cd.

Please help me out here.

Check my laptop specification if you need to know them to solve this problem.

Regards

Najam Sikander Awan

Comments (3) »

Fedora Core6 live-configuring internet by spoofing mac address

hi

Guyz i am writing this post while using fedora core 6 live cd and it took 2 hours to make internet working on this live distro.

I have acer 1642ZNWLCi with 1.7 ghz, 512 mb, and 60 gb HDD. I have a cabel connection and my cabel operator is keepig record of my mac address and only one mac address is allowed so to run internet on all my pc i have to spoof mac addresss. If you like to spoof your mac address for fedora core 6 live follow these steps.

1. get su by typing su in shell and hit enter.

2. run /sbin/ifconfig and check your ethernet details check its on enth0 or eth1 interface for my case its eth1.

3. then run /sbin/ifconfig eth1 down hw ether 00:xx:xx:xx:xx:xx

4. then run /sbin/ifconfig eth1 up

5. finally run /sbin/ifconfig to check if your mac address changed or not. for my case its changed.

now its all set up fire your browser like firefox or firefox ;) and visit any site you want like http://www.najam.wordpress.com/

Best of luck now

Regards

Najam Sikander Awan

Comments (4) »

Linux File Structure

Click on the image below to view the enlarge image

 

linux file structure

Leave a comment »