Information Computer

Showing posts with label ubuntu. Show all posts
Showing posts with label ubuntu. Show all posts

Tuesday, January 17, 2012

setting modem smartfren in ubuntu

setting modem smartfren in ubuntusmartfren is the first operator in Indonesia to implement EV-DO Rev.B technology that can support fast internet access of up to 14.7 Mbps.

smartfren, a provider of CDMA technology-based telecommunications service provider in Indonesia, today confirmed its leadership position in the Indonesian telecommunications industry by expanding the use of leading-edge technology, EV-DO (Evolution Data Only / Evolution Data Optimized) Rev.B phase 2. EV-DO Rev.B technology capable of supporting fast Internet access of up to 14.7 Mbps. Previously, smartfren recorded as the first operator in Indonesia to implement EV-DO Rev.B technology by implementing the first phase of this technology - access speeds of up to 9.3 Mbps in Bali in January 2010.

now around me. friends, family, relatives smartfren many are using a modem. one time I borrowed to test the speed. I guess the same as the other modem. on ubuntu, i try connecting the modem is in a way I have ever tried. please read here. and the results failed. why? I was very confused. does not support modem smartfren?

without thinking I'm trying to find out on google. and can I conclude about how to connect the modem using wvdial. complete the following way.

1. open terminal. sudo su
2. install wvdial ( sudo apt-get install wvdial )
3. If you've installed the application virtualization like VMWare Workstation or VirtualBox, please turn off your first service virtualization applications by using the following command:

# sudo /etc/init.d/vmware stop
or
# sudo /etc/init.d/vboxdrv stop

4. Turn off networking service is also to ensure that your system is not connected to other networks:

# Ifconfig eth0 down

5. By default, evdo smartfren ZTE AC682 create a virtual CD-ROM device with the name /dev/sr1 or /dev/sr0. Eject the device by using the following command:

# eject /dev/sr1 or # eject /dev/sr0

6. Make sure you have eliminated the usb storage device such as USB Flash Drive and so on, then remove the usb-storage driver also with the following command:

# rmmod usb_storage

7. # lsusb
result : Bus 004 Device 003: ID 19d2:ffdd ONDA Communication S.p.A.
If the result is different, please unplug the modem and repeat the above steps all over again

8. Load number of parameters to the kernel usb_serial modem by typing the following command:
# Modprobe usbserial vendor = 0x19d2 product = 0xffdd

9. # wvdialconf
make sure there results the words "Found a modem on / dev/ttyUSB0".

10. edit the file /etc/wvdial.conf
# nano /etc/wvdial.conf

[Dialer smart]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
modem Type = Analog modem
Phone = #777
New PPPD = yes
ISDN = 0
Username = smart
Password = smart
modem = /dev/ttyUSB0
Baud = 460800
Command Line = ATDT
Stupid Mode = 1

11. and finally you connect with the command
# wvdial smart

good luck :)
READ MORE >> setting modem smartfren in ubuntu

Monday, January 2, 2012

Create Local Repository

Repository is gathered somewhere package-package (linux software) that were created especially for a linux distro. its function is to facilitate the repository linux users to get a variety of packages (software). usually it is an online repository. so to get the package (software) we need an internet connection.

such as the post title above, we I will discuss about creating a local repository. if your home does not have an internet connection. This repository is very suitable and helpful for you to store software that you can from outside the home.

how the local repository, first of all packages stored in a directory. later in the scan result package.gz file. directory path and then add a local repository in the sources.list file. after that you can install the package in the repository this way actually means.

The following steps create a local repository :
1. collection of all the package that you have in a directory. for example /home/husnu/repository
2. in the repository directory create 2 directorys with name pool and dists.
3. move all the package to directory pool
4. in the dists directory create a directory with the name of husnu
5. in the husnu directory create a directory with the name of the binary-1386
6. open terminal
7. cd /home/husnu/repository
8. sudo dpkg-scanpackages pool /dev/null | gzip -9c > dists/husnu/binary-i386/Packages.gz
9. sudo gedit /etc/apt/sources.list
10. in the last line add the following code
11. deb file:///home/husnu/repository husnu
12. save
13. sudo apt-get update
14. finish

if any question, please write comment in this post. thank :)


need to know! 
Many software publishers and other organizations maintain servers on the Internet for this purpose, either free of charge or for a subscription fee. Repositories may be solely for particular programs, such as CPAN for the Perl programming language, or for an entire operating system. Operators of such repositories typically provide a package management system, tools intended to search for, install and otherwise manipulate software packages from the repositories. For example, many Linux distributions use Advanced Packaging Tool (APT), commonly found in Debian based distributions or yum, found in Red Hat based distributions. There are also multiple independent package management systems, such as pacman, used in Arch Linux and equo, found in Sabayon Linux.

As software repositories are designed to include useful packages, major repositories are designed to be malware free. If a computer is configured to use a digitally signed repository from a reputable vendor, and is coupled with an appropriate permissions system, this significantly reduces the threat of malware to these systems. As a side effect, many systems that have these capabilities do not require anti-malware software such as anti-virus software.

Most major Linux distributions have many repositories around the world that mirror the main repository.
READ MORE >> Create Local Repository

Sunday, January 1, 2012

Make Application In Qt Creator (Ubuntu)

First step : Install Qt Cretor
- sudo apt-get install qtcreator (in terminal)
- or install using ubuntu software center

Second step : Make a New Project
- click Create Project
- choose Qt4 GUI Application, then click ok
- fill Name with name of the project that you create
- Create in is location you will save the project
- Then click Next

Third step : Desain Interface
- to design applications, we enter the editor and double-click mainwindow.ui adding components with drag 'n drop components to the form.
- in this tutorial we need :
   ~ 2 spin box
   ~ 2 Labels
   ~ 1 Push Button
- double-click to edit caption
- to change property of object, we look at side panel

Fourth step : Give Code
- to Give code we click-right object, click go to slot then choose event.
- so we click-right Push Button, Click go to slot then choose clicked()
- give code below MainWindow::on_pushbutton_clicked().

qint8 result= ui­>spinbox­>value() + ui­>spinbox_2­>value();
QString resultString=QString::number(result);
ui­>label­>setText(resultString);

Fiveth step : Running application
- save (CTRL + S)
- run (CTRL + R or F5)


need to know! 
Qt Creator is a cross-platform C++ integrated development environment which is part of the Qt SDK. It includes a visual debugger and an integrated GUI layout and forms designer. The editor's features includes syntax highlighting and autocompletion, but not tabs. Qt Creator uses the C++ compiler from the GNU Compiler Collection on Linux and FreeBSD. On Windows it can use MinGW or MSVC with the default install and can also use cdb when compiled from source.
READ MORE >> Make Application In Qt Creator (Ubuntu)

Tuesday, December 27, 2011

Fix Packet Tracer Fonts in Ubuntu

packet tracer is a software simulation of cisco for learning / designing a network. for me it is very important because software is software that's one software that I need for school. after a few moments ago I decided to move from windows to linux. I need to find some software that I need. one of which is packet tracer.

then i get the installer packet tracer file with the extension. bin. I installed and successfully. after I noticed something strange on the font. I am handy tips for those of you who have problems like me. there are 2 ways completion.

first way

1. open terminal
2. sudo apt-get install ttf-mscorefonts-installer

second way

1. open terminal
2. sudo apt-get install libqtwebkit2.2-cil libqt4-script libqt4-qt3support libqt4-sql
3. sudo gedit /usr/local/PacketTracer5/packettracer
4. put a # in front of the line export LD_LIBRARY_PATH = $ PTDIR / lib

The second way gives fonts better than if you use the first way. both methods require an internet connection. if your ubuntu are not connected to the Internet. you have to do is download the following package of libqtwebkit2.2 4-cil, libqt4-script, libqt4-qt3support and libqt4-sql package along with its dependencies.

I recommend you download the package-package by using qdebdownloader. because qdebdownloader helps you to download all the dependencies package from the package you are looking for. then install it offline all packages with the command dpkg-i *. deb in the directory containing the package-package. then do step 3 and 4 on the second way. if you have any questions please leave your comment. hopefully useful:)
READ MORE >> Fix Packet Tracer Fonts in Ubuntu

Monday, August 22, 2011

Set DNS Client / IP Name Server

if we create a local network that there is a computer server and local web server. certainly you will also configure the DNS server so that web can be accessed using the domain name (eg google.com).

I did not explain how to configure a DNS server. this post I want to share a settlement of the problems I've ever experienced in practice the DNS server. after the DNS server has been configured. You also must set up the DNS client. Generally, we only need to enter DNS server IP. Different operating systems are also different way. if in our windows facilitated by a GUI (Graphic User Interface) is very friendly. in linux there were also some who have been using the GUI. but sometimes there is little constraint on linux.

problem is that sometimes not all network devices detected in the GUI. only detected if we use the command ifconfig. therefore we need a way of manually setting up the DNS client. this way.

1. open terminal

2. vi /etc/resolv.conf

3. add the text below

search yourdomain.com

nameserver ipnameserver

example :

search google.com

nameserver 192.168.2.1

4. save

5. check with command nslookup

example :

nslookup google.com


need to know! 
In the context of client-server architecture, a server is a computer program running to serve the requests of other programs, the "clients". Thus, the "server" performs some computational task on behalf of "clients". The clients either run on the same computer or connect through the network.

In most common use, server is a physical computer (a hardware system) dedicated to running one or more such services (as a host), to serve the needs of users of the other computers on the network. Depending on the computing service that it offers it could be a database server, file server, mail server, print server, web server, or other.

In the context of Internet Protocol (IP) networking, a server is a program that operates as a socket listener.

Servers often provide essential services across a network, either to private users inside a large organization or to public users via the Internet. For example, when you enter a query in a search engine, the query is sent from your computer over the internet to the servers that store all the relevant web pages. The results are sent back by the server to your computer.
READ MORE >> Set DNS Client / IP Name Server

Friday, August 19, 2011

Renew IP Dynamic With Command Linux

a time when I tried DHCP on linux debian server. I got a problem. the problem is not on its server. but on his client. client computer using ubuntu linux 11.04. the problem is when the DHCP server has been completed the client computer can not renew its IP with the IP that is given by the server.

I try to set in the edit connection. but to no avail. I have to browse the final choice to solve this problem. I have tried a few keywords. from keyword "DYNAMIC IP" to "HOW TO ADJUST THE DYNAMIC IP" and everything nothing works. until the end I was dragged into a forum to discuss Linux. and that's where I found the answer.

turned out to renew dynamic IP obtained from DHCP server. requires only a very simple command. The following command syntax to renew dynamic IP.

#dhclient interfaces

example :

#dhclient eth0

This command is valid only in the root user. if you have not as root you need to login as root with the following command.

$sudo su

or

$su root

or you can also command the following for brevity

$sudo dhclient interfaces

example

$sudo dhclient eth0

good luck and thank :)

need to know! 
An Internet Protocol address (IP address) is a numerical label assigned to each device (e.g., computer, printer) participating in a computer network that uses the Internet Protocol for communication. An IP address serves two principal functions: host or network interface identification and location addressing. Its role has been characterized as follows: "A name indicates what we seek. An address indicates where it is. A route indicates how to get there."

The designers of the Internet Protocol defined an IP address as a 32-bit number and this system, known as Internet Protocol Version 4 (IPv4), is still in use today. However, due to the enormous growth of the Internet and the predicted depletion of available addresses, a new addressing system (IPv6), using 128 bits for the address, was developed in 1995, standardized as RFC 2460 in 1998, and is being deployed worldwide since the mid-2000s.

IP addresses are binary numbers, but they are usually stored in text files and displayed in human-readable notations, such as 172.16.254.1 (for IPv4), and 2001:db8:0:1234:0:567:8:1 (for IPv6).

The Internet Assigned Numbers Authority (IANA) manages the IP address space allocations globally and delegates five regional Internet registries (RIRs) to allocate IP address blocks to local Internet registries (Internet service providers) and other entities.
READ MORE >> Renew IP Dynamic With Command Linux

Monday, August 1, 2011

Setting Internet USB Modem In Ubuntu

Setting Intenet USB Modem In Ubuntu
need to be considered for the linux version 10.04 down. must install the files below first.
Name FileLink Download
Udev http://ubuntu.pesat.net.id/archive//pool/main/u/udev/udev_162-2_i386.deb
Usb-modemswitch-datahttp://ubuntu.pesat.net.id/archive//pool/main/u/usb-modeswitch-data/usb-modeswitch-data_20100826-1_all.deb
Usb-modemswicthhttp://ubuntu.pesat.net.id/archive//pool/main/u/usb-modeswitch/usb-modeswitch_1.1.4-1_i386.deb

for the linux version 10.04 and above do not need to install the files above. follow these steps for setting intenet with USB modem in ubuntu.
  1. usb modem plugs
  2. if it is detected, click the network connection tray icon - click on edit
  3. Mobile Broadband tab - click add
  4. choose your provider's country - click forward
  5. choose your provider  - click forward
  6. choose your billing plan - click forward
  7. click apply.

how to activate the following.
  1. click the network connection tray icon
  2. click your connection name.
  3. finish.
    post a comment if anyone asked. thank :)

    need to know! 
    A modem (modulator-demodulator) is a device that modulates an analog carrier signal to encode digital information, and also demodulates such a carrier signal to decode the transmitted information. The goal is to produce a signal that can be transmitted easily and decoded to reproduce the original digital data. Modems can be used over any means of transmitting analog signals, from light emitting diodes to radio. The most familiar example is a voice band modem that turns the digital data of a personal computer into modulated electrical signals in the voice frequency range of a telephone channel. These signals can be transmitted over telephone lines and demodulated by another modem at the receiver side to recover the digital data.

    Modems are generally classified by the amount of data they can send in a given unit of time, usually expressed in bits per second (bit/s, or bps). Modems can alternatively be classified by their symbol rate, measured in baud. The baud unit denotes symbols per second, or the number of times per second the modem sends a new signal. For example, the ITU V.21 standard used audio frequency-shift keying, that is to say, tones of different frequencies, with two possible frequencies corresponding to two distinct symbols (or one bit per symbol), to carry 300 bits per second using 300 baud. By contrast, the original ITU V.22 standard, which was able to transmit and receive four distinct symbols (two bits per symbol), handled 1,200 bit/s by sending 600 symbols per second (600 baud) using phase shift keying.
    READ MORE >> Setting Internet USB Modem In Ubuntu

    Friday, July 29, 2011

    Change Login Background In Linux


    login view on ubuntu is often called by GDM. in other words we will change the background of GDM. Essentially we will change the login background to use the software in linux that is Appearance. but Appearance is usually only used in desktop. to be in use also when we login, we must add Appearance at startup login. follow these steps.
    1. open terminal - typing "sudo su" - insert your root password.
    2. copy Appearance by typing "cp '/usr/share/applications/gnome-appearance-properties.desktop' '/usr/share/gdm/autostart/LoginWindow'"
    3. then logout your computer.
    4. at login would appear like the picture above.
    5. selections click close.
    login background has been changed. follow these steps to eliminate the Appearance window at login.
    1. open terminal
    2. typing "sudo rm '/usr/share/gdm/autostart/LoginWindow/gnome-appearance-properties.desktop'".
    3. insert your root password.

    Asked if there is please leave a message on this post. thank you for your attention :)

    need to know! 
    GDM is the abbreviation of the GNOME display manager. Ubuntu uses the GNOME desktop. so in ubuntu using the GDM login screennya. whereas on linux kubuntu using KDM (the KDE display manager) because kubuntu uses KDE desktop. There are also new in version 11.10 ubuntu (oneiric ocelot). oneiric GDM does not use anymore because it has been replaced with LightDM which has a more elegant look.
    READ MORE >> Change Login Background In Linux

    Play MP3 Music Files In Linux

    Mp3 is one of the audio files in music format. Average - average audio files to music is mp3. Music mp3 format because the quality is sufficient. to play the mp3 files we need mp3 player software and there is also a need decode (codec).

    many ways that you can use to play mp3 files in linux. one way to install the codec pack linux. in addition you can also use VLC player can play for mp3 file.

    how to install the Codec Pack and VLC player is no different. first of all download Codec Pack or VLC player. file that you downloaded in the form of a ZIP file. therefore we must extract it first.

     There are two ways :
    1. open terminal - typing "unzip path/file_name.zip" - example : unzip /home/husnu/vlc-1.9-Offline-Installer.zip.
    2. right click file - extract here. 
    nb : if file type is tar.gz, use that ways :
    1. open terminal - typing "tar -xvf path/file_name.tar.gz" - example : tar -xvf /home/husnu/vlc-1.9-Offline-Installer.tar.gz
    2. right click file - extract here.
    than locate the file install.sh. how to install it also has two ways. as follows :
    1. open terminal - typing "sudo sh path/install.sh" - example : sudo sh /home/husnu/vlc-1.9-Offline-Installer/install.sh - insert your root password - wait process instalation.
    2. double click the file install.sh - click Run In Terminal - wait process instalation.
     installation is complete and mp3 files can be played. thank :)
    READ MORE >> Play MP3 Music Files In Linux

    Thursday, July 28, 2011

    Install Flash Player For Linux

    Adobe Flash Player is a plugin that must-have for running content that contains video and flash (the file format. Swf). If you want to watch streaming video on youtube or listen to streaming radio on the browser you are obliged to have Adobe Flash Player.

    Adobe Flash Player is the high performance, lightweight, highly expressive client runtime that delivers powerful and consistent user experiences across major operating systems, browsers, mobile phones and devices. Installed on over 750 million Internet-connected desktops and mobile devices, Flash Player enables organizations and individuals to build and deliver great digital experiences to their end users.

    • Immersive experiences with Flash video, content and applications with full-screen mode.
    • Low-bandwidth, high-quality video with advanced compression technology.
    • High-fidelity text using the advanced text rendering engine.
    • Real-time dynamic effects with filters for Blur, DropShadow, Glow, Bevel, Gradient Glow, Gradient Bevel, Displacement Map, Convolution, and Color Matrix.
    • Innovative media compositions with 8-bit video alpha channels.
    • Blend modes, radial gradient, and stroke enhancements.
    • Additional image formats: GIF, Progressive JPEG, and PNG.

    This time i wanted to share how to install flash player for linux

    Before we download the plugin flash player first. please download plugin flash player in adobe.com.

    Next open terminal (for default press ctrl+alt+T).

    Copy libflashplayer.so to folder plugin browser (/usr/lib/mozilla/plugins) by typing in terminal sudo cp path_your_file/libflashplayer.so /usr/lib/mozilla/plugins.

    Example : sudo cd /home/husnu/Downloads/libflashplayer.so /usr/lib/mozilla/plugins.

    Insert your root's password. then wait process copying.

    After the copy process please check your browers plugin if already installed flash player. Thank :)
    READ MORE >> Install Flash Player For Linux

    Followers