Cek HTB Tools + Squid 3

Diskusi tentang Ubuntu Server baik webserver, database server, samba server dan service lainnya serta jaringan menggunakan Sistem Operasi Ubuntu.
User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Cek HTB Tools + Squid 3

Post by jv4me78 » 23 Feb 2010, 09:03

saya sudah berhasil konfigurasi HTB tools + squid 3 di ubuntu 9.10
mengikuti http://lutfi-blog.trunojoyo.ac.id/2009/ ... h-dan.html (thx buat lutfi)...

kemudian saya ubah salah satu di htb nya seperti ini
-$sudo gedit /etc/htb/eth0-qos.cfg

contoh
class class_1 {
bandwidth 384;
limit 384;
burst 2;
priority 1;


client client_1 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.4/24;
};
};

client client_2 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.6/24;
};
};

client client_3 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.7/24;
};
};

client client_4 {
bandwidth 20;
limit 20;
burst 2;
priority 1;
src {
222.222.1.9/24;
};
};

client client_5 {
bandwidth 64;
limit 128;
burst 2;
priority 1;
src {
222.222.1.224/24;
};
};
};


class default { bandwidth 8; };

untuk 222.222.1.9 saya beri 20 kbps bandwithnya...tapi setelah saya cek di http://www.sijiwae.net/speedtest/ kok masih tetep 100 an...gimana men-cek bahwa pengaturan konfigurasi htb sudah benar ? (htb punya saya sudah bisa dijalankan dengan baik)...thx buat jawabannya.....


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 24 Feb 2010, 19:31

ayo om2 dibantu.. saya juga butuh soal nya :grin:


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 25 Feb 2010, 07:11

Kalo saya pake ubuntu 9.04 + squid 2.7 + webhtb, bisa mengamati trafik lewat browser.
Lihat di : SQUID ZPH + WEBHTB TUTORIAL


User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Post by jv4me78 » 25 Feb 2010, 11:15

ok..thx...saya coba dulu...


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 25 Feb 2010, 15:34

mas djo atau om2 yang lain
kenapa ini :confused:
instal squid pake synatic

sudo gedit /etc/apt/sources.list
paste
deb http://kambing.ui.edu/ubuntu intrepid main
save
apt-get update

ozi@ozi-desktop:~$ sudo apt-get update
Get:1 http://ppa.launchpad.net karmic Release.gpg [307B]
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Get:2 http://security.ubuntu.com karmic-security Release.gpg [189B]
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Hit http://archive.canonical.com karmic Release.gpg
Ign http://archive.canonical.com karmic/partner Translation-en_US
Hit http://deb.opera.com stable Release.gpg
Ign http://deb.opera.com stable/non-free Translation-en_US
Hit http://id.archive.ubuntu.com karmic Release.gpg
Ign http://id.archive.ubuntu.com karmic/main Translation-en_US
Get:3 http://ppa.launchpad.net karmic Release.gpg [307B]
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Get:4 http://security.ubuntu.com karmic-security Release [44.1kB]
Hit http://archive.canonical.com karmic Release
Hit http://deb.opera.com stable Release
Get:5 http://ppa.launchpad.net karmic Release [66.0kB]
Ign http://id.archive.ubuntu.com karmic/restricted Translation-en_US
Ign http://id.archive.ubuntu.com karmic/universe Translation-en_US
Get:6 http://id.archive.ubuntu.com karmic-updates Release.gpg [189B]
Ign http://id.archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://id.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://id.archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://deb.opera.com stable/non-free Packages
Hit http://id.archive.ubuntu.com karmic Release
Get:7 http://id.archive.ubuntu.com karmic-updates Release [44.1kB]
Ign http://deb.opera.com stable/non-free Packages
Get:8 http://ppa.launchpad.net karmic Release [66.0kB]
Hit http://ppa.launchpad.net karmic Release
Hit http://ppa.launchpad.net karmic Release
Ign http://ppa.launchpad.net karmic Release
Hit http://deb.opera.com stable/non-free Packages
Hit http://archive.canonical.com karmic/partner Packages
Get:9 http://ppa.launchpad.net karmic/main Packages [3,436B]
Get:10 http://security.ubuntu.com karmic-security/main Packages [76.3kB]
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://id.archive.ubuntu.com karmic/main Packages
Hit http://id.archive.ubuntu.com karmic/restricted Packages
Hit http://id.archive.ubuntu.com karmic/main Sources
Hit http://id.archive.ubuntu.com karmic/restricted Sources
Hit http://id.archive.ubuntu.com karmic/universe Packages
Hit http://id.archive.ubuntu.com karmic/universe Sources
Get:11 http://id.archive.ubuntu.com karmic-updates/main Packages [184kB]
Get:12 http://security.ubuntu.com karmic-security/restricted Packages [14B]
Get:13 http://security.ubuntu.com karmic-security/main Sources [22.5kB]
Get:14 http://security.ubuntu.com karmic-security/restricted Sources [14B]
Get:15 http://security.ubuntu.com karmic-security/universe Packages [36.8kB]
Get:16 http://security.ubuntu.com karmic-security/universe Sources [6,767B]
Get:17 http://id.archive.ubuntu.com karmic-updates/restricted Packages [14B]
Get:18 http://id.archive.ubuntu.com karmic-updates/main Sources [54.2kB]
Get:19 http://id.archive.ubuntu.com karmic-updates/restricted Sources [14B]
Get:20 http://id.archive.ubuntu.com karmic-updates/universe Packages [108kB]
Get:21 http://id.archive.ubuntu.com karmic-updates/universe Sources [26.3kB]
Err http://kambing.ui.edu intrepid Release.gpg
Could not connect to kambing.ui.edu:80 (152.118.24.30), connection timed out
Err http://kambing.ui.edu intrepid/main Translation-en_US
Unable to connect to kambing.ui.edu http:
Fetched 673kB in 2min 0s (5,602B/s)
Reading package lists... Done
W: GPG error: http://ppa.launchpad.net karmic Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 2E183FA1E260F5B0
W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/intrepid/Release.gpg Could not connect to kambing.ui.edu:80 (152.118.24.30), connection timed out

W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/intr ... -en_US.bz2 Unable to connect to kambing.ui.edu http:

W: Some index files failed to download, they have been ignored, or old ones used instead.
ozi@ozi-desktop:~$ apt-get install squid squid-client squid-cgi
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
ozi@ozi-desktop:~$ sudo apt-get install squid squid-client squid-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package squid-client
ozi@ozi-desktop:~$

gak bisa lanjut kayake :(


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 25 Feb 2010, 15:59

Itu server di Kambing sedang down, cobalah beberapa saat lagi (kayak telpon ya :grin: ) atau gunakan repositori lokal lain kan banyak pilihan
Tapi kok yg di kambing pake reponya intrepid bukan karmic ?


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 25 Feb 2010, 16:16

hayooo yang salah kambing nya atau saya ini :grin:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 26 Feb 2010, 22:07

deb http://kambing.ui.edu/ubuntu intrepid main
kagak bisa diakses
down terus
ada repository lain nya yg bisa install squid squid-client squid-cgi ?? :confused:


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 27 Feb 2010, 17:56

Bro ozi ubuntu nya karmic kan, kok ambil repository yang interpid sih? :confused:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 27 Feb 2010, 18:28

muhlis88 wrote:Bro ozi ubuntu nya karmic kan, kok ambil repository yang interpid sih? :confused:
lhaaaaaaa
namanya juga nubie om :grin: bener2 orang baru :grin:

harus nya dimana om ?
kasih contoh supaya bisa langsung dipaste :grin:

matur suwun sing katha


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 27 Feb 2010, 20:31

semoga benar


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 27 Feb 2010, 23:15

matur suwun om muhlis
tp yang terjadi :(

Get:8 http://dl2.foss-id.web.id hardy-security/universe Packages [109kB]
Get:9 http://dl2.foss-id.web.id hardy-security/multiverse Packages [12.3kB]
Get:10 http://dl2.foss-id.web.id hardy-security/main Sources [35.7kB]
Get:11 http://dl2.foss-id.web.id hardy-security/restricted Sources [943B]
Get:12 http://dl2.foss-id.web.id hardy-security/universe Sources [17.3kB]
Get:13 http://dl2.foss-id.web.id hardy-security/multiverse Sources [1,122B]
Err http://kambing.ui.edu karmic/main Translation-en_US
Could not connect to kambing.ui.edu:80 (152.118.24.30). - connect (113: No route to host)
Ign http://kambing.ui.edu karmic Release
Ign http://kambing.ui.edu karmic/main Packages
Ign http://kambing.ui.edu karmic/main Packages
Err http://kambing.ui.edu karmic/main Packages
Unable to connect to kambing.ui.edu http:
Fetched 523kB in 2min 39s (3,267B/s)
W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/karmic/Release.gpg Could not connect to kambing.ui.edu:80 (152.118.24.30). - connect (113: No route to host)

W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/karm ... -en_US.bz2 Could not connect to kambing.ui.edu:80 (152.118.24.30). - connect (113: No route to host)

W: Failed to fetch http://kambing.ui.edu/ubuntu/dists/karm ... ackages.gz Unable to connect to kambing.ui.edu http:

E: Some index files failed to download, they have been ignored, or old ones used instead.
ozi@ozi-desktop:~$ sudo apt-get install squid squid-client squid-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package squid-client
ozi@ozi-desktop:~$

knp ya mosok server kambing down sampai beberapa hari :(


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 28 Feb 2010, 04:37

muhlis88 wrote:semoga benar
salah ternyata, semoga yang ini benar


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 28 Feb 2010, 04:39

wah sepertinya sources.list kacau tuh, masak masih ada hardy segala sih ....


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 28 Feb 2010, 04:57

coba copas disini isi dari sources.list nya


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 28 Feb 2010, 16:45

muhlis88 wrote:coba copas disini isi dari sources.list nya
ini om hardy nya udah saya remove :grin: kagak ngerti soalnya :blush:

# deb cdrom:[Ubuntu 9.10 _Karmic Koala_ - Release i386 (20091028.5)]/ karmic main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://archive.ubuntu.com/ubuntu/ karmic main restricted
deb-src http://archive.ubuntu.com/ubuntu/ karmic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted
deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://archive.ubuntu.com/ubuntu/ karmic universe
deb-src http://archive.ubuntu.com/ubuntu/ karmic universe
deb http://archive.ubuntu.com/ubuntu/ karmic-updates universe
deb-src http://archive.ubuntu.com/ubuntu/ karmic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse
# deb-src http://id.archive.ubuntu.com/ubuntu/ karmic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu karmic partner

deb http://archive.ubuntu.com/ubuntu/ karmic-security main restricted
deb-src http://archive.ubuntu.com/ubuntu/ karmic-security main restricted
deb http://archive.ubuntu.com/ubuntu/ karmic-security universe
deb-src http://archive.ubuntu.com/ubuntu/ karmic-security universe
# deb http://ppa.launchpad.net/chromium-daily/ppa/ubuntu karmic main
deb http://ppa.launchpad.net/ubuntu-tweak-t ... ppa/ubuntu karmic main
deb http://ubuntusatanic.org/hell karmic main
deb http://kambing.ui.ac.id/ubuntu karmic main

ini hasil nya

ozi@ozi-desktop:~$ sudo apt-get update
Hit http://archive.canonical.com karmic Release.gpg
Ign http://archive.canonical.com karmic/partner Translation-en_US
Hit http://archive.ubuntu.com karmic Release.gpg
Ign http://archive.ubuntu.com karmic/main Translation-en_US
Ign http://archive.ubuntu.com karmic/restricted Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Hit http://ubuntusatanic.org karmic Release.gpg
Ign http://ubuntusatanic.org karmic/main Translation-en_US
Hit http://archive.canonical.com karmic Release
Ign http://archive.ubuntu.com karmic/universe Translation-en_US
Hit http://archive.ubuntu.com karmic-updates Release.gpg
Ign http://archive.ubuntu.com karmic-updates/main Translation-en_US
Hit http://deb.opera.com stable Release.gpg
Ign http://deb.opera.com stable/non-free Translation-en_US
Ign http://archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://archive.ubuntu.com karmic-updates/universe Translation-en_US
Hit http://archive.ubuntu.com karmic-security Release.gpg
Ign http://archive.ubuntu.com karmic-security/main Translation-en_US
Ign http://archive.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release.gpg
Ign http://ppa.launchpad.net karmic/main Translation-en_US
Hit http://ppa.launchpad.net karmic Release
Hit http://ubuntusatanic.org karmic Release
Ign http://archive.ubuntu.com karmic-security/universe Translation-en_US
Hit http://archive.ubuntu.com karmic Release
Hit http://deb.opera.com stable Release
Hit http://archive.canonical.com karmic/partner Packages
Hit http://archive.ubuntu.com karmic-updates Release
Hit http://archive.ubuntu.com karmic-security Release
Hit http://ppa.launchpad.net karmic Release
Hit http://ppa.launchpad.net karmic Release
Hit http://ubuntusatanic.org karmic/main Packages
Ign http://deb.opera.com stable/non-free Packages
Hit http://archive.ubuntu.com karmic/main Packages
Hit http://archive.ubuntu.com karmic/restricted Packages
Hit http://archive.ubuntu.com karmic/main Sources
Hit http://archive.ubuntu.com karmic/restricted Sources
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://archive.ubuntu.com karmic/universe Packages
Ign http://deb.opera.com stable/non-free Packages
Hit http://archive.ubuntu.com karmic/universe Sources
Hit http://archive.ubuntu.com karmic-updates/main Packages
Hit http://archive.ubuntu.com karmic-updates/restricted Packages
Hit http://archive.ubuntu.com karmic-updates/main Sources
Hit http://archive.ubuntu.com karmic-updates/restricted Sources
Hit http://archive.ubuntu.com karmic-updates/universe Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://ppa.launchpad.net karmic/main Packages
Hit http://deb.opera.com stable/non-free Packages
Hit http://archive.ubuntu.com karmic-updates/universe Sources
Hit http://archive.ubuntu.com karmic-security/main Packages
Hit http://archive.ubuntu.com karmic-security/restricted Packages
Hit http://archive.ubuntu.com karmic-security/main Sources
Hit http://archive.ubuntu.com karmic-security/restricted Sources
Hit http://archive.ubuntu.com karmic-security/universe Packages
Hit http://archive.ubuntu.com karmic-security/universe Sources
Err http://kambing.ui.ac.id karmic Release.gpg
Could not connect to kambing.ui.ac.id:80 (152.118.24.30), connection timed out
Err http://kambing.ui.ac.id karmic/main Translation-en_US
Unable to connect to kambing.ui.ac.id http:
Reading package lists... Done
W: Failed to fetch http://kambing.ui.ac.id/ubuntu/dists/karmic/Release.gpg Could not connect to kambing.ui.ac.id:80 (152.118.24.30), connection timed out

W: Failed to fetch http://kambing.ui.ac.id/ubuntu/dists/ka ... -en_US.bz2 Unable to connect to kambing.ui.ac.id http:

W: Some index files failed to download, they have been ignored, or old ones used instead.
ozi@ozi-desktop:~$ sudo apt-get install squid squid-client squid-cgi
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package squid-client
ozi@ozi-desktop:~$


User avatar
M3L3R
Posts: 1335
Joined: 18 Jan 2010, 22:40
Location: Jogja
Contact:

Post by M3L3R » 28 Feb 2010, 16:50

coba, lebih mudahnya pake software source

system > administration > software source ...


User avatar
M3L3R
Posts: 1335
Joined: 18 Jan 2010, 22:40
Location: Jogja
Contact:

Post by M3L3R » 28 Feb 2010, 16:51

untuk install squid bisa lewat ubuntu software center ...


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 28 Feb 2010, 17:28

M3L3R wrote:untuk install squid bisa lewat ubuntu software center ...
sudah om sudah berhasil di instal lewat sypnatic cuma gw remove lagi coz squid.conf nya kosong gak sama dgn contoh yg ada di http://opensource.telkomspeedy.com/foru ... hp?id=5530
:confused:
ngerepotin terus ini nubie


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 28 Feb 2010, 19:04

sip dah kalo begitu :grin:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 28 Feb 2010, 19:33

lhaaaa.... :grin:


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 28 Feb 2010, 20:11

ozi wrote:lhaaaa.... :grin:
maksute apa bro ... :confused:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 28 Feb 2010, 22:05

maksutnya kayaknya gak ada penyeleseian kasus ini :(
muhlis88 wrote:sip dah kalo begitu :grin:
padahal aq instal squid dari sypnatic trus aq remove <<--- berarti masih belum ada dan belum jalan SQUID ZPH + WEBHTB di pc saya
tq....
MasDjo wrote:Kalo saya pake ubuntu 9.04 + squid 2.7 + webhtb, bisa mengamati trafik lewat browser.
Lihat di : SQUID ZPH + WEBHTB TUTORIAL


User avatar
lisnux
Posts: 1763
Joined: 02 Jan 2010, 16:26
Location: Samarinda
Contact:

Post by lisnux » 28 Feb 2010, 22:08

ooooo ... gitu to, saya kira udah fix :grin:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 28 Feb 2010, 23:54

jv4me78 wrote:ok..thx...saya coba dulu...
dah bisa belum bro jv4me78 ??
saya juga coba http://lutfi-blog.trunojoyo.ac.id/2009/ ... h-dan.html

dgn hasil yg sama
squid3 dah jalan ok
webhtb sudah jalan ok

ozi@ozi-desktop:~$ sudo /etc/init.d/rc.htb show_eth0
+ hasil setelah ditest gak berubah :(
tapi mending ada hasil setelah berusaha :grin: squid dan webhtb sudah jalan :grin: :grin: cuma belum bisa sesuai dgn yg diharapkan :grin:


User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Post by jv4me78 » 11 Mar 2010, 10:40

memang susah bro....tapi ini juga saya coba lagi pake webhtb...


User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Post by jv4me78 » 11 Mar 2010, 14:39

bro..akhirnya berhasil...webhtb...tapi ada masalah lagi...kok traficnya ndak jalan...????thx....


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 12 Mar 2010, 00:19

ada yang baru lagi aneh :grin:
kompi gw pake dual boot =xp dan ubuntu
web htb + squid3 dipasang di ubuntu :grin: koneksi sudah bisa terbagi diclient2
yg aneh waktu saya restart pak xp
kok di client masih 64kbps :( (padahal server di ubuntu nya kan sudah OFF )
klo ada yg bisa jelasin :(


User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Post by jv4me78 » 12 Mar 2010, 13:42

bentar...punya bro...jadi servernya apa ndak??? coba di webHTB pilih change Qos Status-> lalu Stop Qos.......punya saya juga belum berhasil bagi bandwithnya hanya webhtbnya yg bisa tampil...cuman belum bisa mbagi...sulit emang...


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 12 Mar 2010, 14:41

Saya ngikuti tutorial seperti yg telah saya cantumkan sebelumnya kok bisa ya.... ( bruntung kali ya :) ).
Atau coba webhtb terbaru hasil racikan Bung Taufiq (Opikdesign) yang sudah lengkap pembagian class nya tinggal menambah client saja dan sudah dipisah antara bandwidth game, lokal (IIX) dan internasional
donlot : webhtb 2.9.25 dan Tutorialnya
Saya pake yg 2.9.25, ini skrinsut nya
Image


User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Post by jv4me78 » 13 Mar 2010, 10:25

saya sudah berhasil bro...thx...rupanya yang saya isi src ip
bukan dest ip...setelah saya ubah trafficnya keliatan...

yang ingin saya tanyakan..kenapa ketika di reboot komputernya
ketika saya lihat dishow traffice tidak ada...,tapi setelah saya
start/restart qos baru bisa...kenapa ndak otomatis ya...apa masalah di
iptables nya??? thx


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 15 Mar 2010, 07:01

Sepengetahuan saya WebHTB akan mengingat start/stop qos, jadi bila kita mematikan server dlm kondisi stop qos, maka pada saat server startup maka webhtb akan start dg kondisi qos disable alias tidak ada managemen.


User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Post by jv4me78 » 15 Mar 2010, 09:03

berarti ketika server dimatikan saat kondisi webhtb start qos...,harusnya saat startup otomatis webhtb pada kondisi start qos bukan stop??? begitu....thx...


User avatar
jv4me78
Posts: 8
Joined: 23 Feb 2010, 08:46

Post by jv4me78 » 15 Mar 2010, 16:39

setelah cek sana en cek sini ..akhirnya saya berhasil...karena ubuntu 9.10 tidak mengenal sysvconfig...makanya webhtb tidak bisa autostart...oleh karena itu solusinya...buat command di /etc/rc.local tambahkan baris =>>> /etc/init.d/webhtb start (tentunya webhtb sudah tercopy di /etc/init.d)...thx buat http://opensource.telkomspeedy.com/foru ... hp?id=5530....


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 15 Mar 2010, 17:39

Wah...benar juga, saya pake Ubuntu server 9.04.
Untuk Ubuntu 9.10 diganti dg sysv-rc-conf

Code: Select all

#apt-get install sysv-rc-conf
atau tambahkan repositori jaunty untuk menginstall sysvconfig

sumber :
http://superuser.com/questions/96040/di ... buntu-9-10


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 15 Mar 2010, 22:43

Image

harus seperti itu ya ?
punya saya
internet--->>modem Adsl--->Switch hub--->pc server/squid+pc klient+pcklient +pc klient


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 17 Mar 2010, 01:05

masdjo
sudah hampir selesei ini :grin: berkat petunjuknya :grin:
masalah terkahir

kagak bisa login webhtb :(
By SSH authentication failed, incorrect password or failed SSH connection !


salah dimana ya :confused:
Attachments
Screenshot-3.png
Screenshot-3.png (87 KiB) Viewed 1182 times


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 17 Mar 2010, 07:55

Mungkin password yg dimasukkan salah.
coba lakukan ssh ke server proxy/webhtb bisa gak :

Code: Select all

ssh root@195.168.1.5


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 17 Mar 2010, 13:52

MasDjo wrote:Mungkin password yg dimasukkan salah.
coba lakukan ssh ke server proxy/webhtb bisa gak :

Code: Select all

ssh root@195.168.1.5

root@ozi-desktop:~# ssh root@195.168.1.5
ssh: connect to host 195.168.1.5 port 22: No route to host
:confused:

cara cek port ssh yg bisa dipake gimana ?


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 17 Mar 2010, 14:41

Hehehe...maaf no IP nya mungkin salah , itu no IP server proxy milik Bro Ozi maksudnya ( 192.168.1.5 ... iya kan? ):

Code: Select all

ssh root@192.168.1.5
:grin:

cek port, : ada di /etc/services
cek port ssh :

Code: Select all

cat /etc/services | grep ssh


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 17 Mar 2010, 20:40

wkwkwk :grin: bener om wis terbiasa copas copas klo liat code :grin:

hasil nya seperti ini

ozi@ozi-desktop:~$ ssh root@192.168.1.5
The authenticity of host '192.168.1.5 (192.168.1.5)' can't be established.
RSA key fingerprint is 36:15:03:9d:f9:81:26:bb:82:be:da:63:6f:c4:da:dc.
Are you sure you want to continue connecting (yes/no)? y
Please type 'yes' or 'no': yes
Warning: Permanently added '192.168.1.5' (RSA) to the list of known hosts.
root@192.168.1.5's password:
Linux ozi-desktop 2.6.31-20-generic #57-Ubuntu SMP Mon Feb 8 09:05:19 UTC 2010 i686

To access official Ubuntu documentation, please visit:
http://help.ubuntu.com/

Last login: Wed Mar 17 19:41:02 2010 from ozi-desktop.local
root@ozi-desktop:~# cat /etc/services | grep ssh
ssh 22/tcp # SSH Remote Login Protocol
ssh 22/udp
root@ozi-desktop:~#

yg kurang apanya om kok gak bisa login ?


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 17 Mar 2010, 22:15

horee dah bisa :grin:
makacih makacih :grin:

sudah bisa login dgn menginstal beberapa aplikasi yang belum terinstall mysql server dan open ssh
menghapus folder webhtb lama dan extrak yg baru seting ulang :grin:

masalah baru muncul sudah disetting kok gak bisa jalan ya ? (belum bisa pecah tuh bandwith nya :(
atau mungkin karena topologi LAN nya
punya saya = kabel telp-->modem Adsl--->hub--->pc server + klient 1 2 3 4
:confused:
Attachments
Screenshot-5.png
Screenshot-5.png (109.11 KiB) Viewed 1012 times


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 18 Mar 2010, 08:06

Mungkin karena modem langsung ke switch/hub,
mestinya : modem----server-----switch-----client
Apakah gateway klien sudah diarahkan ke IP server proxy


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 18 Mar 2010, 11:42

MasDjo wrote:Mungkin karena modem langsung ke switch/hub,
mestinya : modem----server-----switch-----client
Apakah gateway klien sudah diarahkan ke IP server proxy
modem --> server ---switch/hub
berarti [color:#FF6666]server nya pasang 2 card line[/color] satu untuk IN dari modem dan satu untuk out ke hub/switch

1 eth0
1 eth1

bener om ?


User avatar
guehand
Posts: 6
Joined: 04 Apr 2010, 12:07
Location: Jakarta

Post by guehand » 04 Apr 2010, 12:40

ozi wrote: punya saya = kabel telp-->modem Adsl--->hub--->pc server + klient 1 2 3 4
untuk BWM server jng sejajar dg client..
jd topologinya cb d rubah spt ini :

Modem------Ubuntu------Switch/hub/AP---Client


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 05 Apr 2010, 22:30

ok bro ..masih nunggu saat yg tepat buat cabut tuh modem coz inet kantor ON terus 24 jam :grin:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 12 May 2010, 01:17

akhir nya....beranikan diri pasang instalasi modem----server-----switch-----client :grin:
masalah baru setelah berhasil install web htb
pasang 2 card line
dgn configurasi
eth0 = ke isp
eth1 = ke switch

dgn configurasi sbb:

Code: Select all

# Set up the local loopback interface
auto lo
iface lo inet loopback

# Set up the External interface
#
# For every xxx.xxx.xxx.xxx, enter the numeric address given to you
# by your Internet provider. Don't forget to change eth0 to the proper
# name of the external interface if applicable.
#
auto eth0
iface eth0 inet static
    address 192.168.1.5
    netmask 255.255.255.0
    gateway 192.168.1.1

# Set up the internal wired network
#
# Don't forget to change eth1 to the proper name of the internal
# wired network interface if applicable.
#
auto eth1
iface eth1 inet static
    address 192.168.0.1
    network 192.168.0.0
    netmask 255.255.255.0
    broadcast 192.168.0.255 
eth0 =jalan normal = inet konek
eth1= gak normal = gak bisa konek ke switch atau pc lainnya

Code: Select all

ozi@ozi-desktop:~$ ping 192.168.1.9
PING 192.168.1.9 (192.168.1.9) 56(84) bytes of data.
From 192.168.1.5 icmp_seq=1 Destination Host Unreachable
From 192.168.1.5 icmp_seq=2 Destination Host Unreachable
From 192.168.1.5 icmp_seq=3 Destination Host Unreachable
From 192.168.1.5 icmp_seq=4 Destination Host Unreachable
From 192.168.1.5 icmp_seq=5 Destination Host Unreachable
From 192.168.1.5 icmp_seq=6 Destination Host Unreachable
^C
--- 192.168.1.9 ping statistics ---
9 packets transmitted, 0 received, +6 errors, 100% packet loss, time 8050ms
, pipe 3
ozi@ozi-desktop:~$ 
salah dimana ya :confused::confused::confused::confused:


User avatar
thrvers
Posts: 4458
Joined: 01 Jan 2010, 13:28
Location: Jombang, Indonesia
Contact:

Post by thrvers » 12 May 2010, 01:26

'
mustinya IP buat client dibedakan dg server bro, jangan 192.168.1.xxx

nanti kalau bgt kurang ICS (Internet Connection Sharing) ==> ada di forum bro :D

-lg malas cari2-


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 12 May 2010, 12:09

Mestinya IP client diset 192.168.0.x , misal :
client01 :

auto eth0
iface eth0 inet static
address 192.168.0.2
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1

Atau sekalian servernya dijadikan DHCP server dg kombinasi MAC address client shg client bisa otomatis dapat IP yg telah ditentukan ( bisa lihat di tutorial server all in one di forum ubuntu indonesia ini )


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 12 May 2010, 22:25

MasDjo wrote:Mestinya IP client diset 192.168.0.x
ip client sudah coba saya ganti dgn 192.168.0.3
hasil nya

Code: Select all

ozi@ozi-desktop:~$ ping 192.168.0.3
PING 192.168.0.3 (192.168.0.3) 56(84) bytes of data.
^C                  
--- 192.168.0.3 ping statistics ---
684 packets transmitted, 0 received, 100% packet loss, time 687969ms

ozi@ozi-desktop:~$ 
setelah ditunggu selama 1 menit gak ada proses ping
MasDjo wrote:, misal :
client01 :


auto eth0
iface eth0 inet static
address 192.168.0.2
network 192.168.0.0
netmask 255.255.255.0
broadcast 192.168.0.255
gateway 192.168.0.1
minta penjelasan diatas dunk om
ath0 = card line yg pertama dipasang ?
address = ip kompi kita diset terserahkan (diatas ip gateway dari isp ?
network = alamat didapat dari mana ?
netmask =didapat dari mana ? ( klo diwind 255.255.255.0 semua punya saya)
broadcast = didapat dari mana ?
gateway = ip yg diset pada modem speddy kan ? atau bagaimana ?
MasDjo wrote: Atau sekalian servernya dijadikan DHCP server dg kombinasi MAC address client shg client bisa otomatis dapat IP yg telah ditentukan ( bisa lihat di tutorial server all in one di forum ubuntu indonesia ini )
belum siap om coz masih buta masalah jaringan :grin:

NB :client masih pake wind Xp


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 18 May 2010, 03:57

seep dah bisa masalah card line dan sekarang masalah berlanjut diwebhtb

nb: saya mengikuti semua petunjuk tutorial sampai dgn bab V

waktu start gos ada keterangan
"rate" is required. "rate" is required. 9
tp setelah membaca
imamrahadian wrote:

mas, saya ada kendala nih,,, pas mw restart QOS web htb, gagal trus,,, knp ya?? pesan eror nya
"rate" is required. "rate" is required. "rate" is required. 9
mohon bantuannya,,,
gak apa2, webhtbnya dah jalan
Last edited by rinovan (17-02-2010 20:04:08)
memang webhtb sudah jalan

tp waktu show trafic monitor nya tidak bisa jalan / membaca semua klient :(
apakah ada yg terlewat/ salah pada konfigurasi nya
terima kasih

harap maklum masih blank masalah jaringan :grin:
Attachments
Screenshot.png
Screenshot.png (153.9 KiB) Viewed 928 times


User avatar
suryayusra
Posts: 394
Joined: 05 May 2010, 15:54
Location: Palembang, Indonesia
Contact:

Post by suryayusra » 19 May 2010, 08:23

kemarin, setelah baja postingan ini, ane langsung mau tes tis HTB + squid pada ubuntu 10.4 :D tapi nasib buruk melanda, squid pada ubuntu 10.4 gak jalan error apa karna blum stabil y
duh scren shot nya ada di kompie server, gak bisa ane kasi liat sekarang.


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 19 May 2010, 09:34

Squid nya yang versi 2.7 atau yg versi 3.xx bro Surya?
Soalnya saya juga rencana upgrade server proxy ke Lucid.


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 19 May 2010, 17:39

kemaren pake squid3
td mlm tak remove coba pake versi 2.7 sesuai tutorial
tp gak ada effect dan tetep show monitor gak bisa jalan cuma _default_ nya saja yg berjalan
tq


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 19 May 2010, 18:50

Dari scrinsut, Clas IIX dan Intl download belum diberi bandwidth dan limit


User avatar
sipelaut
Posts: 1965
Joined: 03 Jan 2010, 17:25
Location: madura-sampang
Contact:

Post by sipelaut » 19 May 2010, 22:07

squid 10.04 kayaknya defaultnya 2.7 tuchh
dan ada perubahan pa yaaa... kok dari kemarin aku restart
pakek "/etc/init.d/squid restart" gak mau gituu???

===
komandan@umum:~$ sudo /etc/init.d/squid restart
[sudo] password for komandan:
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service squid restart

Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the restart(8) utility, e.g. restart squid
start: Job failed to start
=====

sudah coba pakek "service squid restart" malah gak bisa

====
komandan@umum:~$ sudo service squid restart
restart: Unknown instance:
=====

ada yang tau kenapa ??
apakah memang ada perubahan yaaa


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 20 May 2010, 00:12

Alhamdulillah akhirnya clear juga kasus WebHtb ku :grin:

terima kasih untuk masdjo,c0jack serta semua teman forum ubuntu ini
yg tidak bisa saya sebutkan 1 per 1

hasil nya :D


User avatar
MasDjo
Posts: 1260
Joined: 03 Jan 2010, 17:38
Location: Bayuangga City
Contact:

Post by MasDjo » 20 May 2010, 09:03

Selamat bro Zitux, tapi ngomong2 kok Intl bandwidthnya kecil amat (cuma 8 kbps atau 1 kBps) memang dibegitukan ya biar gak bisa brosing keluar :grin:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 20 May 2010, 15:31

hehe... pusing dari kemaren di-test2 gak bisa liat perbedaan nya antara speedy down dan pembatasan bandwith :grin:
klo test pake bandwith 8 dan limit 16 :D (gak mungkin speedy sampe turun drastis gitu) :grin:


User avatar
zitux
Posts: 843
Joined: 15 Jan 2010, 23:17
Location: Malang Jatim Indonesia
Contact:

Post by zitux » 25 May 2010, 16:42

suryayusra wrote:kemarin, setelah baja postingan ini, ane langsung mau tes tis HTB + squid pada ubuntu 10.4 :D tapi nasib buruk melanda, squid pada ubuntu 10.4 gak jalan error apa karna blum stabil y
duh scren shot nya ada di kompie server, gak bisa ane kasi liat sekarang.
om klo di lucid squid 2.7 sering ada pesan eroor nya tp klo pake yg squid3 lancar2 saja


Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests