Wednesday, February 10, 2010

How to make CDMA broadband modem work in your open SUSE?


There are many ways to make your CDMA modem work in Linux. I use these steps to make my CDMA Hisense mobile working with Yemen Mobile network. Using this configuration:
The user and password: ymobile
Dial number: #777
baud: 115200

  1. Login as root.


  2. Be sure you have installed these softwares: smpppd, udev, wvdial, and kinternet.


  3. Do this command: dmesg at the end of the result you will see something like this (not important)


    [ 2879.028201] sd 5:0:0:0: [sdb] Assuming drive cache: write through
    [ 2879.028218] sd 5:0:0:0: [sdb] Attached SCSI removable disk
    [ 3327.318366] usb 1-1: USB disconnect, address 2
    [ 3701.313639] input: Virtual pam_fp Keyboard as /devices/virtual/input/input14
  4. Connect your (USB) mobile, then execute the command dmesg again. Note the change it may look similar to this:


    [ 3701.313639] input: Virtual pam_fp Keyboard as /devices/virtual/input/input14
    [ 4339.456859] usb 3-1: new full speed USB device using uhci_hcd and address 2
    [ 4339.664308] usb 3-1: New USB device found, idVendor=109b, idProduct=3197
    [ 4339.664327] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    [ 4339.664340] usb 3-1: Product: COMMON,USB
    [ 4339.664349] usb 3-1: Manufacturer: COMMON,USB
    [ 4339.664358] usb 3-1: SerialNumber: Serial Number
    [ 4339.664540] usb 3-1: configuration #1 chosen from 1 choice

  5. Using the results (idVendor=109b, idProduct=3197), write this command
    modprobe -v usbserial vendor=0x109b product=0x3197


  6. Run the dmesg again. You should see ttyUSB like this.


    [ 4339.664540] usb 3-1: configuration #1 chosen from 1 choice
    [ 4787.132839] usbcore: registered new interface driver usbserial
    [ 4787.133124] USB Serial support registered for generic
    [ 4787.133517] usbserial_generic 3-1:1.0: generic converter detected
    [ 4787.135810] usb 3-1: generic converter now attached to ttyUSB0
    [ 4787.135848] usbserial_generic 3-1:1.1: generic converter detected
    [ 4787.136128] usb 3-1: generic converter now attached to ttyUSB1
    [ 4787.136772] usbcore: registered new interface driver usbserial_generic
    [ 4787.136783] usbserial: USB Serial Driver corev

  7. That means: your modem has installed successfully and you can use it. The device installed at /dev/ttyUSB0






  8. check the wvdial configuration by the command cat /etc/wvdial.conf. If the result not like the one below, configure it manually, or by using ether kinternet or wvdialconf.
    [Dialer Defaults]
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem = /dev/ttyUSB0
    Phone = 0
    Idle Seconds = 300
    Password = ymobile
    Modem Type = Analog Modem
    Stupid Mode = 1
    Compuserve = 0
    Baud = 115200
    Auto DNS = 1
    Dial Command = ATDT
    Ask Password = 0
    ISDN = 0
    Username = ymobile


    When your configuration is ready, use kinternet to connect to the network. If the connection do not start check the smpppd service.
  9. Start smpppd service like this:


    run yast , insert the root password > system > system services (runlevel) > expert mode
    then choose the run level 2,3, and 5
    then start the service, the OK


Tuesday, February 9, 2010

Wher Can I Start With Linux?

A new Linux user needs a Linux that's close enough to the desktop they already know -- almost always Windows -- so they can quickly start using it. That way, they can clearly see the benefits of Linux, such as its stability, security, and speed.
The first thing you need just to install Linux in your PC. But what is the best distribution for beginners?

Here I will give you some options:

Linux Mint 8 KDE:
For a new user, though, I think your best choice would be Linux Mint 8 . Mint is an Ubuntu-based Linux distribution that includes easy access to proprietary software. It also has an especially easy to use new software installer and updater.
Introduction to Linux Mint 8 KDE:
The KDE Community Edition aims to provide a version of Linux Mint which uses the KDE desktop.
For a detailed overview of the new features and improvements included in Linux Mint 8 KDE, please read “What’s new in Helena KDE?“.
System requirements:
A minimum of 4GB of free space and 256MB RAM are needed. For a comfortable experience we recommended to have at least 512MB RAM and 10GB of free space.

More Skilled Linux Users:
The skilled users of Linux can chose one of the most popular Linux distributions:
openSUSE
The openSUSE project is a community program sponsored by Novell. Promoting the use of Linux everywhere, this program provides free, easy access to openSUSE, a complete Linux distribution. The openSUSE project has three main goals: make openSUSE the easiest Linux for anyone to obtain and the most widely used Linux distribution; leverage open source collaboration to make openSUSE the world's most usable Linux distribution and desktop environment for new and experienced Linux users; dramatically simplify and open the development and packaging processes to make openSUSE the platform of choice for Linux developers and software vendors.

Ubuntu
Ubuntu, Debian based, is a complete desktop Linux operating system, freely available with both community and professional support. The Ubuntu community is built on the ideas enshrined in the Ubuntu Manifesto: that software should be available free of charge, that software tools should be usable by people in their local language and despite any disabilities, and that people should have the freedom to customise and alter their software in whatever way they see fit. "Ubuntu" is an ancient African word, meaning "humanity to others". The Ubuntu distribution brings the spirit of Ubuntu to the software world.

Fedora
The Fedora Project is an openly-developed project designed by Red Hat, open for general participation, led by a meritocracy, following a set of project objectives. The goal of The Fedora Project is to work with the Linux community to build a complete, general purpose operating system exclusively from open source software. Development will be done in a public forum. The project will produce time-based releases of Fedora about 2-3 times a year, with a public release schedule. The Red Hat engineering team will continue to participate in building Fedora and will invite and encourage more outside participation than in past releases. By using this more open process, we hope to provide an operating system more in line with the ideals of free software and more appealing to the open source community.

For more details google it.