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

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby 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

Re: Cek HTB Tools + Squid 3

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby 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:

Re: Cek HTB Tools + Squid 3

Postby zitux » 27 Feb 2010, 18:28

[quote=muhlis88]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