Tentang IT dan Komputer

Teknologi Informasi

Archive for August, 2007

Setting up Dial-up connection in Ubuntu

Posted by intrik on August 16, 2007

Dial-up access is a form of Internet access through which the client uses a modem connected to a computer and a telephone line to dial into an Internet service provider’s (ISP) node to establish a modem-to-modem link, which is then routed to the Internet.Most ISPs provide dial-up connections supporting PPP because it is a fast and efficient protocol for using TCP/IP over serial lines. PPP is designed for two-way networking; TCP/IP provides the transport protocol for data.

PPP (Point to Point Protocol) uses several components on your system. The first is a daemon called pppd, which controls the use of PPP. The second is a driver called the high-level data link control (HDLC), which controls the flow of information between two machines. A third component of PPP is a routine called chat that dials the other end of the connection for you when you want it to.

Configuring a Dial-Up Connection in Ubuntu

Ubuntu includes some useful utilities to get your dial-up connection up and running.Here is the following ways you can connect to your dialup connection

1)Using your networking option in Ubuntu

2)using gnome-ppp

3)using kppp (For Kubuntu)

4)using wvdialconf & wvdial

5)using pppconfig & pon/poff

first thing you need to make sure your modem drivers are installed or not.If you want more details about modem drivers in ubuntu and installation check here

Now we will see 3 ways how to configure dialup connection in ubuntu

Before Starting

Before configuring Dial-up connection you need to have the following information from your ISP

1)Username

2)Password

3)Dail-in number

Configuring a Dial-Up Connection using Networking option

you can go to System—>Administration —>Networking


Once it open the application you should see the following screen

In the above screen select modem connection option and click on properties you should see the following screen

The first thing you will need to do is to enable the connection by ticking the Enable this connection box,now you need enter your ISP’s phone number as well as your username and password

Next, click on the modem tab to specify details about your modem and also configure the speaker volume. Most telephone systems use tone dialling nowadays, so make sure this is selected . I have selected the speaker volume on medium.

Now you need to click on options tab If you are using a laptop, then you will probably want to uncheck Set modem as default route to the Internet whilst you are on a LAN, otherwise you may struggle to see anything! Tick it when you are expecting to use your dial-up connection though, and Ubuntu will use this connection to get out onto the Internet.You need to select other two options checked.

Now You can use the Gnome Modem Monitor and Network Monitor panel if you want to stop, start and monitor modem connections.

Configuring a Dial-Up Connection using pppconfig

configure a connection using pppconfig, a command line utility to help you to configure specific dial-up connection settings.This is a command line based option to manage dialup connections.

Open a terminal from Applications > System Tools > Terminal and type

sudo pppconfig

Now you should see the following screen here you need to select “Create Create a connection” select ok and press enter

Here you need to enter provider name and you can leave default one and in this example i am giving “comcast” select ok and press enter

Next screen you need to select “Dynamic Use dynamic DNS” select ok and press enter

You need to select Authentication method here i am selecting “chat :Use chat for login/password :Authentication” select ok and press enter

Select login prompt option leave default select ok and press enter

Select password prompt option leave default select ok and press enter

Enter the username given to you by your ISP in this example i am using “ruchiw” select ok and press enter

Enter the password given to you by your ISP in this example i am using “myfirstpassword” select ok and press enter

Enter the modem speed as “115200″ select ok and press enter

Select method of dialing as “Tone” select ok and press enter

Enter the number to dial select ok and press enter

Choose your modem configuration method if you want to detect your modem automatically select yes otherwise select no in this example i am selecting no select ok and press enter

Select the modem port and i leave the default option select ok and press enter

Here is the complete details you have choosen for your provider connection in this example comcast

Finished the connection settings select ok and press enter

Select “Quit Exit this utility”

Exit the terminal window using the following command

exit

Connecting to your ISP

Before you connect for the first time you need to add yourself to both the dip and dialout groups by using the commands

sudo adduser YOURNAMEHERE dip

sudo adduser YOURNAMEHERE dialout

# connect to the ISP configured as “comcast”

pon comcast

# disconnect the ISP configured as “comcast”

poff comcast

If you are trying to connect as default “provider” you need to use the following commands to connect and disconnect

pon

poff

You can check the last messages generated by these commands with

# shows the (status) messages generated by pon and poff

plog

Configuring a Dial-Up Connection using gnome-ppp

GNOME PPP is an easy to use graphical dialup connection configuring and dialing tool with system tray icon support.It uses GNOME/GTK+ for its graphical interface and integrates well in GNOME desktop environment, but it can be used in other environments.

It also uses WvDial dialer as its backend, providing simple configuration via config files. You can also use plain wvdial if you don’t have X running.

Install gnome-ppp Ubuntu

sudo apt-get install gnome-ppp

This will complete the installation.

If you want to open the application go to Application—>Internet—>GNOME PPP

Once application opens you should see the following screen

In the above screen you need to click on setup to configure your settings you should see the following screen configre the modem settings

Next click on networking tab to configure network settings

Next click on options tab to configure general options

Once you have all the details enter the details you can see the following screen

sumber : http://www.ubuntugeek.com/

Advertisements

Posted in Linux | Leave a Comment »

SHARING INTERNET DIAL UP DENGAN LINUX

Posted by intrik on August 16, 2007

Komputer anda telah terinstall OS Mandriva 2005 , semua aplikasi sudah terintegrasi ( included ) pada cd Mandriva 2005 jadi anda hanya tinggal install seperti biasa menggunakan rpm maupun urpmi.

Konfigurasi wvdial

masuk sebagai root

[userdrake@migration-team ~]$ su –
[root@migration-team ~]#

jalankan wvdialconf

[root@migration-team ~]# wvdialconf /etc/wvdial.conf
Scanning your serial ports for a modem.

ttyS1<*1>: ATQ0 V1 E1 — OK
ttyS1<*1>: ATQ0 V1 E1 Z — OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 — OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 — OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 — OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 — OK
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 — OK
ttyS1<*1>: Modem Identifier: ATI — 28800
ttyS1<*1>: Speed 2400: AT — OK
ttyS1<*1>: Speed 4800: AT — OK
ttyS1<*1>: Speed 9600: AT — OK
ttyS1<*1>: Speed 19200: AT — OK
ttyS1<*1>: Speed 38400: AT — OK
ttyS1<*1>: Speed 57600: AT — OK
ttyS1<*1>: Speed 115200: AT — OK
ttyS1<*1>: Max speed is 115200; that should be safe.
ttyS1<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0 — OK
ttyS0<*1>: ATQ0 V1 E1 — ATQ0 V1 E1 — ATQ0 V1 E1 — nothing.
Port Scan<*1>: S2 S3

Found a modem on /dev/ttyS1.

 

Lakukan konfigurasi wvdial.conf

[Dialer Defaults]
Modem = /dev/ttyS1
Baud = 115200
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 S11=55 +FCLASS=0
Phone = 080989999
Username = telkomnet@instan

Password = telkom

jalankan wvdial

[userdrake@migration-team ~]# wvdial

setelah komputer terkoneksi biasanya komputer nya akan mendapatkan DNS di /etc/resolve.conf dan routing gateway telkom itu artinya komputer anda sudah bisa browsing,

Untuk menshare ada beberpa tahapan konfigurasi lagi.

Aktifkan forward ipv4

[userdrake@migration-team ~]# vi /etc/sysctl.conf

ipv4_forward = 1 ( aktif , default=0 )

agar network local dapat melakukan routing ke ppp0 ( disini kunci agar jaringan komputer kita dapat sharing internet

[userdrake@migration-team ~]# iptables -t nat -A POSTROUTING -s 10.60.254.0/24 -o ppp0 -j MASQUERADE

Posted in Linux | Leave a Comment »

Instalasi dan Konfigurasi LTSP 4.1.1 Dengan Fedora Core 4

Posted by intrik on August 15, 2007

Proof-of-concept instalasi dan konfigurasi LTSP (Linux Terminal Server Project)
4.1.1 dengan Fedora Core 4 sebagai basis sistem operasinya. Selain dari instalasi dan
konfigurasi LTSP di sistem operasi Fedora, dokumen ini juga membahas Symbiont
Workstation Manager (SWM) 4.1.4, DireqCafe 3.0 dan CD PXES (Universal Linux Thin
Client) 1.0 secara satu kesatuan.
Juga dibahas tentang WINE (Wine Is Not Emulator) untuk mereka yang tertarik
untuk menjalankan aplikasi Windows di lingkungan Linux/LTSP. Dengan menggunakan
WINE maka tidak diperlukan lagi sistem operasi Windows untuk menjalankan aplikasi
Windows.
Gabungan dari empat perangkat lunak dan sistem operasi tersebut menghasilkan
solusi lingkungan terminal terminal server yang bisa dihandalkan, mudah untuk
diimplementasikan dan mudah pemeliharaannya. Bila instalasi dan konfigurasi awal
sudah berjalan dengan baik maka untuk memelihara lingkungan LTSP ini tidak
memerlukan orang yang ahli Linux. Dengan menggunakan web GUI (Graphical User
Interface) maka tingkat pemula-pun akan mampu mengoperasikannya dengan baik.
Perangkat keras yang dipakai untuk klien LTSP sangat dianjurkan pakai kartu
jaringan yang mendukung PXE (Preboot eXecution Environment) tetapi kalau tidak
punya maka lihat solusi yang diberikan di lampiran A (Boot Klien LTSP dari CD PXES
(Universal Linux Thin Client)). Saat ini tidak dicantumkan solusi untuk boot klien LTSP
dari floppy ataupun harddisk.

Untuk lebih lengkapnya silahkan download di sini

Posted in Linux | Leave a Comment »