Archive for the Category » ID «

Thursday, September 17th, 2015 | Author:
  • Apá 1 – Ọrọ Iṣaaju – Eto soke Simple queues (Yi post)
  • Apá 2 – Reliably Idamo ijabọ – Eto soke Mangle Ofin (Nbọ laipẹ TM)
  • Apá 3 – Ayo ati ifilelẹ – Eto soke isinyin Igi (Nbọ laipẹ TM)
  • Apá 4 – Monitoring Usage – Redefining queues – Limiting Abusive Devices (Nbọ laipẹ TM)
  • Apá 5 – ??? Èrè ???

Ọrọ Iṣaaju

The first problem one usually comes across after being tasked with improving an Internet connection is that the connection is overutilised. Ojo melo si eniti o mo idi ti, ti o, tabi ohun ti wa ni nfa iṣoro – except of course everyone blames the ISP. Nigba miran o jẹ awọn ISP – but typically you can’t prove that without having an alternative connection immediately available. I currently manage or help manage four “ojula / agbegbe ile” pe lilo QoS lati ṣakoso awọn won Internet Asopọmọra. Ọkan ni mi ise, two are home connections, and the last one is a slightly variable one – maa o kan a ile asopọ sugbon tabi, for a weekend every few months, it becomes a 140-eniyan (ati ki o dagba) Lan. Fun. 🙂

MikroTik RouterOS ati

MikroTik'S RouterOS is very powerful in the right hands. Many other routers support QoS but not with the fine-grain control MikroTik provides. Alternatively you could utilise other Linux-based router OS’s, bi eleyi DD-WRT, Smoothwall, Untangle, ati ki o jade. Julọ ti awọn wọnyi ojo melo beere pe o ni a apoju server eke nipa tabi hardware a ibamu olulana. Mikrotik ta RouterBoards ti o ni RouterOS builtin – ati awọn ti wọn ni o jo mo ilamẹjọ.

Mi iriri pẹlu awọn onimọ jẹ nipataki pẹlu Cisco ati MikroTik – and my experience with QoS is primarily with Ẹ pín ká NetEnforcer / NetXplorer awọn ọna šiše ati MikroTik. Awọn julọ gbajumo MikroTik awọn ẹrọ ninu mi iriri (miiran ju wọn ifiṣootọ gun-ibiti o ẹrọ alailowaya) ti wọn rb750 (titun ti ikede a npè ni “hex“) ati rb950-orisun lọọgan. Won ni ọpọlọpọ awọn miran available and are relatively inexpensive. In historical comparison with Cisco’s premium devices, Mo ti sọ awọn mọlẹbi lati se apejuwe MikroTik ká ẹrọ bi “90% awọn ẹya ara ẹrọ ni 10% awọn iye owo”. Bi yi guide ti wa ni Eleto nipataki ni SME / Home lilo, inexpensive makes more sense. If you’re looking at getting a MikroTik device, akiyesi pe MikroTik awọn onimọ ṣe ko typically include DSL modems, bayi rẹ tẹlẹ itanna ni ojo melo si tun pataki. Akiyesi tun ti ni yi ko a tutorial lori eto soke a MikroTik ẹrọ kan lati ibere. Nibẹ ni o wa opolopo ti itọsọna wa online fun awọn ti o tẹlẹ.

Yii sinu iwa – akọkọ awọn igbesẹ

Lati ṣeto soke QoS ti tọ, you need to have an idea of a policy that takes into account the following:

  • The ìwò iyara asopọ
  • Bawo ni ọpọlọpọ awọn olumulo / awọn ẹrọ yoo ti wa ni lilo awọn asopọ
  • The users/devices/services/protocols that should be prioritised for latency and/or throughput

Lati se aseyori awọn loke ni mi apeere, Mo ti yoo ro awọn wọnyi:

  • The MikroTik ti wa ni ṣeto soke pẹlu awọn aiyipada nẹtiwọki iṣeto ni agbegbe ibi ti awọn nẹtiwọki wa ni 192.168.88.0/24 ati awọn asopọ ti wa ni Internet pese nipasẹ PPPoE.
  • Awọn asopọ iyara jẹ 10 / 2Mbps (10 Mbps download iyara; 2 Mbps po si iyara)
  • O maa wa nibe 5 awọn olumulo pẹlu bi ọpọlọpọ bi 15 awọn ẹrọ (ọpọ awọn kọmputa / wàláà / mobile foonu / WiFi ati be be lo)
  • Aṣoju awọn gbigba lati ayelujara beere ga ni ayo pẹlu losi sugbon kekere ni ayo-pẹlu lairi
  • Gaming/Skype/Administrative protocols require high priority with both latency and throughput
  • Ko si olumulo ni o wa lati wa ni prioritized lori awọn miran

The first and probably quickest step is to set up what RouterOS refers to as a Simple isinyin.

Mo ti sọ ṣe kukuru a akosile ti mo ti fipamọ lori mi MikroTik awọn ẹrọ lati ṣeto soke ni o rọrun queues. O ti wa ni bi wọnyi:

:fun x lati 1 si 254 ṣe ={
 /isinyi o rọrun Fikun orukọ ="-ayelujara usage- $ x" DST ="pppoe" Max-iye = 1900k / 9500k afojusun ="192.168.88.$x"
}

Ohun ti awọn loke ṣe ni iye awọn ti o pọju iyara eyikeyi kọọkan ẹrọ le lo lati “1900k” (1.9Mb) po ati “9500k” (9.5Mb) download.

Awọn akọsilẹ:

  • Awọn idi idi ti awọn Max ifilelẹ lọ ni o wa ni 95% of the line’s maximum speed is that this guarantees no single device can fully starve the connection, negatively affecting the other users. With a larger userbase I would enforce this limit further. Fun apere, pẹlu 100 awọn olumulo lori a 20Mb iṣẹ ti mo le ṣeto yi iye to si 15Mb tabi koda bi kekere bi 1MB. Eleyi ni o šee igbọkanle ti o gbẹkẹle lori bi “meedogbon” awọn olumulo ni o wa ati, bi o ba ro ero jade ibi ti ati bi Elo abuse waye, you can adjust it appropriately.
  • The ìpele “-ayelujara lilo” ni awọn orukọ igbeseô le wa ni ti adani. Ojo melo ni mo ṣeto awọn wọnyi lati tọka si awọn agbegbe ile orukọ. Fun apere, with premises named “Alpha” ati “Beta”, Mo ti yoo ojo melo fi “-Alpha ayelujara” ati “-ayelujara Beta”. Eleyi iranlọwọ pẹlu instinctively differentiating laarin awọn ojula.
  • The DST igbeseô ni o ni “pppoe” ninu awọn apẹẹrẹ. Eleyi yẹ ki o wa ni iparo pẹlu awọn orukọ ti awọn ni wiwo that provides the Internet connection.

Rii daju ti o ṣe awọn akosile lati jẹ yẹ lati rẹ iṣeto ni. Fi awọn akosile lati awọn MikroTik ati ṣiṣe awọn ti o – tabi lẹẹmọ o taara sinu awọn MikroTik ká ebute lati ìdájọ o.

In my next post I will go over setting up what RouterOS refers to as Mangle ofin. Awọn wọnyi ofin sin lati da / lẹtọ awọn nẹtiwọki ijabọ ni ibere lati ṣe finer-grained QoS ṣee.

Share
Ẹka: ID  | Leave a Comment
Thursday, September 17th, 2015 | Author:

Ìpamọ, Time, Owo

Emi ko fẹ debiti bibere. Mo ti sọ feran awọn agutan ti miiran nkankan le, ni ife, ya fere eyikeyi iye ti owo mi (daradara … ohunkohun ti o ni wa). A ẹlẹgbẹ tokasi jade ni oro pẹlu MTN yoo ti a ti yee ti mo ti a ti lilo a debiti ibere. Boya awọn “wewewe” ifosiwewe jẹ ko iru a buburu ohun.

Mo Sawon t'o ibeere nibi jẹ boya tabi ko o fẹ awọn ile itaja wewewe ati ki o le gbekele ajo (ninu apere yi pẹlu rẹ owo) – tabi ti o ba o ko ba le gbekele wọn ki o si wa setan lati forgo wipe itaja wewewe. Ni mi irú, ani tilẹ Mo si tun Ìbéèrè awọn ile itaja wewewe, Mo kọ awọn lile ọna pẹlu MTN wipe o yèkoro le jẹ inconvenient lati ni rẹ ti sopọ aye dinku si “latọna erekusu” ipo. Fere gbogbo eniyan loni lọ pẹlu awọn ile itaja wewewe ifosiwewe.

Wewewe

Ti a ba tun wo lo, bayi a igba pipẹ seyin, I had a dispute with Planet Fitness ibi ti wewewe je a ni ilopo-olójú idà. Mo royin won owo asa si awọn onibara Ẹdun Commission (niwon tun-ṣeto bi awọn National Consumer Commission) and never got feedback from them. The gist of the issue is that Planet Fitness’s sales agent lied to me and a friend in order to get more commission/money out of my pocket.

Mo wa a Awari vitality egbe eyi ti yoo fun ọpọlọpọ awọn anfani, pẹlu dinku ošuwọn lori Ere burandi – okeene ilera-jẹmọ ti dajudaju, as Discovery is a Medical Aid/Health Insurance provider. Lati fi o nìkan, Awari ti wa ni oniyi. Vitality ká anfani bo gym memberships eyi ti siwaju pẹlu Planet Fitness. You still have to pay something, a kekere àmi ti ona, Awari si, fun awọn idaraya ẹgbẹ. Ṣugbọn, lẹhinna, nwọn FẸẸ mi lati wa ni ilera, so they don’t mind footing the bulk of the bill. Ṣugbọn, nkqwe, yi tumo si aye Fitness’ tita òjíṣẹ ko si gba awọn Igbimo!

Nítorí náà, ohun ti n se yi esi ninu? Awọn abajade ni wipe PF ká tita oluranlowo fun mi ohun inflated olusin fun a “Vitality-orisun” ẹgbẹ. O si puro. O si ti mi wole lori awọn ti sami ila fun ohun inflated owo ti a “deede” ẹgbẹ (bẹẹni, o je kosi siwaju sii ju paapa a deede ẹgbẹ yoo ni iye owo), ending up about 4 ati 5 igba bi Elo bi awọn vitality-orisun ẹgbẹ.

Epiphanies

Some time in 2011 Mo nipari wisened soke to awọn owo ti mo ti ikure lati wa ni san. Awari Èmi daju yoo ko ni le ju dun nipa yi fiasco. Mo sọ fun awọn Manager ni-idaraya, ati ki o Mo ti a ti fidani wipe gbogbo guide yoo ndgbasoke. Mo wa ko ọkan fun iwa- … ayafi ti awọn oniwe-idaraya fun … ni ohun Octagon … ṣugbọn lẹhin mi 5th ibewo si awọn Manager lati beere idi ti awọn Debiti kogba won si tun ṣẹlẹ, o so fun mi o a ti ya emi kò ti mu ohun ija pẹlu mi fun awọn ibewo. Lẹhin kan diẹ diẹ ọdọọdun, awọn Manager ti kosi osi Planet Fitness ati salaye si mi pe awọn “guide” was between myself and Head Office and that the local gym, nkqwe a idibo-ara isẹ, ti kekere si ko si wipe nipa boya tabi ko o le wa ni pawonre. Ti o ba Head Office wi ko si, alakikanju orire.

By this point I’d lost it. I had my bank put a Duro si awọn debiti bibere. It was a huge schlep: I had to contact the bank every month because the debit order descriptions would change ever so slightly. It also cost me a little every couple of months to “reinstate” the blocking iṣẹ. Emi ko le ran sugbon ro awọn ile-ifowopamọ eto atilẹyin deede expressions ṣugbọn ọpá ma ko dandan mo bi lati lo o.

Technically I’m still waiting on the CCC to get back to me (kò sele – ati ti awọn dajudaju ti won ni won tun-ṣeto bi darukọ loke ki awọn irú jasi ṣubu nipasẹ awọn dojuijako). Dajudaju Of, nipa ti ojuami PF tun fe lati blacklist mi ko san fun!

The Airotẹlẹ akoni

A haphazard darukọ ti oro si Awari (Mo ro pe mo ti pè wọn nipa a ehin ibewo) yorisi ni a callback nipasẹ ọkan ninu awọn Awari ká òjíṣẹ. Won ki o si beere mi lati se apejuwe awọn isoro, ni apejuwe awọn ati ni kikọ, lati se alaye dara lati mi irisi ohun ti gan ṣẹlẹ. Mo rọ. O wa ni jade mo ti wà ọtun nipa wọn ko ni ogbon “ju dun” nipa rẹ. Ni o daju ti won gan kò fẹ o. About three weeks later, Planet Fitness refunded mi ni FULL fun gbogbo awọn ti o ti monies lailai a ti san si wọn.

Awari jẹ Awesome. 🙂

Share
Monday, October 29th, 2012 | Author:

It appears that, in infinite wisdom, Google have a security feature that can block an application from accessing or using your google account. I can see how this might be a problem for Google’s users, in particular their GTalk ati Gmail users. In my case it was Pidgin having an issue with the Jabber iṣẹ (which is technically part of GTalk). I found the solution after a little digging. I was surprised at how old the issue was and how long this feature has existed!

To unlock the account and get your application online, use Google’s Captcha page here.

Share
Wednesday, June 08th, 2011 | Author:

I did a full update on my personal server at home as one is bound to do, often, pẹlu Arch. It’s a headless server so there’s always that slight anxiety concerning whether or not I have to connect a keyboard/monitor when things don’t just work. The wish was not granted today:

Arch Linux started booting up normally and init starts runlevel 3, the where it stats loading daemons:

:: Adjusting Hardware Clock [Busy]

And that’s where it just hangs. No further. Ctrl+Alt+Del works, single user mode works, but standard runlevel 3 will not. It turns out that the cause is a bug between hwclock and the server’s hardware clock. The backup battery on the motherboard, powering the CMOS memory and, subsequently, the hardware clock, is dead. While the system is powered up the battery isn’t neededhowever since the hardware clock knows it has reset, it won’t tick until we tell it what the time is. Counter to this is that when hwclock starts, it’s waiting for a clock tick in order for it to know if the hardware clock’s rate of progress is good. Catch 22.

The solution in my case was to go into single user mode where I could disable hwclock in /etc/rc.conf. I’ve been using ntpd to keep the system time in sync which works just fine. I’m not too bothered with whether or not the hardware clock is rightI just want the live system’s clock to be right. It will still be a good idea to get a replacement battery since, until that’s done, every time the server boots it will think its back in 1997.

Share
Ẹka: ID  | One Comment
Friday, September 24th, 2010 | Author:

The upgrade to WordPress 3 was long overdue (as are many draft articles). Surprisingly, nothing looks different since the upgrade has been completed, though I also would not be surprised if I’ve missed an important plugin breakage.

I’ll be spending a day this weekend solely on polishing the site and finishing up some articles. You have something to look forward to. 🙂

Share