Archive for the Category » tupurangi «

Thursday, September 17th, 2015 | Author:
  • Part 1 – Kupu Whakataki – Te whakatu rārangi Simple (Tenei pou)
  • Part 2 – Reliably tāutu i waka – Whakatatūria ake ana Mangle Ture (Haere mai i maoro TM)
  • Part 3 – Kaupapa Motuhake me Tepe – Te whakatu Trees Tūtira (Haere mai i maoro TM)
  • Part 4 – Monitoring Usage – Redefining rārangi – Limiting Abusive Devices (Haere mai i maoro TM)
  • Part 5 – ??? Profit ???

Kupu Whakataki

The first problem one usually comes across after being tasked with improving an Internet connection is that the connection is overutilised. Tikanga tangata e mohio he aha, nei, ranei te mea kei te meinga te raruraru – except of course everyone blames the ISP. I te tahi taime te reira i te ISP – but typically you can’t prove that without having an alternative connection immediately available. I currently manage or help manage four “pae / whare” e whakamahi QoS ki te whakahaere i to ratou hononga Ipurangi. Ko tētahi ko toku wāhi mahi, two are home connections, and the last one is a slightly variable one – te tikanga noa i te hononga te kāinga, engari i ētahi wā, for a weekend every few months, it becomes a 140-tangata (me te tipu) LAN. Fun. 🙂

MikroTik RouterOS me

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, pērā i DD-WRT, Smoothwall, Untangle, a na atu. Te nuinga o enei te nuinga e rapu e whai koe i te tūmau e manawapa takoto e pā ana ki ranei he pouara pūmārō hototahi. Mikrotik hokona RouterBoards e whai RouterOS builtin – a ko ratou āhua ngāwari.

Toku wheako ki te pouara he matua ki Cisco ko MikroTik – and my experience with QoS is primarily with A wehewehea NetEnforcer / NetXplorer pūnaha me MikroTik. Ko te tino rongonui whakaaro MikroTik i roto i toku wheako (i tua atu i to ratou roa-whānui pūrere ahokore i whakatapua) kua ratou rb750 (putanga hou ingoa “hex“) me te rb950-hāngai papa. E ratou maha ētahi atu available and are relatively inexpensive. In historical comparison with Cisco’s premium devices, Kua whangai ahau ki te whakaahua whakaaro o MikroTik rite “90% te āhuatanga i 10% te utu”. Ka rite ki hāngai ana tēnei aratohu kei te matua i SME / whakamahi Kāinga, inexpensive makes more sense. If you’re looking at getting a MikroTik device, mōhio e te mahi MikroTik pouara kore typically include DSL modems, ko te kupu ko te nuinga tonu koutou taputapu ngā tika. Kia mōhio hoki ko tenei kore he akoranga i runga i te whakatakoto ake i te pūrere MikroTik i te wahanga. He nui o nga kaiarahi e wātea ana ipurangi hoki e kua he.

Theory ki mahi – kaupae tuatahi

Hei whakaturia ake QoS tika, you need to have an idea of a policy that takes into account the following:

  • Ko te tere o te tūhononga whānui
  • Hia kaiwhakamahi / e whakaaro mā te whakamahi i te hononga
  • The users/devices/services/protocols that should be prioritised for latency and/or throughput

Ki te whakatutuki i te i runga ake i roto i toku tauira, Ka amo ahau te whai ake:

  • Whakaturia te MikroTik ake ki te whirihoranga whatunga taunoa te wahi i te whatunga rohe ko 192.168.88.0/24 ka whakaratohia te hononga Ipurangi kei mā KPPiI.
  • Ko te tere hononga ko 10 / 2Mbps (10 Mpiah tere download; 2 Mpiah tere tukuake)
  • He ka 5 kaiwhakamahi ki te hunga i rite 15 pūrere (rorohiko maha / papa / waea pūkoro / WiFi aha)
  • Tikiake angamaheni rapua e tiketike matua ki te puta engari iti-matua ki te torohūtanga
  • Gaming/Skype/Administrative protocols require high priority with both latency and throughput
  • No kaiwhakamahi e ki kia matua i runga i ētahi atu

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

Kua hanga e ahau he hōtuhi poto e kua ora ahau i runga i toku whakaaro MikroTik ki te whakaturia ake nga rārangi māmā. Ko reira e whai ake:

:no te x i 1 ki 254 ta koutou e mea ={
 /tūtira ingoa tāpiri ohie ="ipurangi-usage- $ x" dst ="KPPiI" max-rohe = 1900k / 9500k ūnga ="192.168.88.$x"
}

Ko e hā te runga e rohe ki te tere mōrahi e taea e tetahi pūrere takitahi whakamahi ki “1900k” (1.9Mb) tukuatu a “9500k” (9.5Mb) download.

Tuhipoka:

  • Ko te take he aha e nga rohe max i 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. No te tauira, ki te 100 kaiwhakamahi ai whakaturia i runga i te ratonga 20MP ahau tenei rohe ki 15Mb ranei ara rite iti rite 1Mb. Ko te ti'aturi i runga pehea tenei “taunu” nga kaiwhakamahi e me, rite feruri e koe i roto i te wahi a pēhea te puta nui tūkino, you can adjust it appropriately.
  • Ko te kuhimua “ipurangi-whakamahinga” i roto i te tawhā ingoa taea te whakarite. Tikanga whakaturia e ahau enei ki tirohia ki te ingoa whare. No te tauira, with premises named “ārepa” me te “peta”, Te tikanga ka hoatu e ahau “ipurangi-Arepa” me te “ipurangi-peta”. E āwhina ana tēnei ki maoritia ana differentiating i waenganui i ngā pae.
  • Ko te tawhā dst nei “KPPiI” i roto i te tauira. Kia whakakapia ki te ingoa o te tenei atanga that provides the Internet connection.

Me whakarite whakarite koe i te hōtuhi kia kia tika ki tou whirihoranga. Whakaorangia te hōtuhi ki te MikroTik me rere i te reira – whakapiri tika ranei te reira ki kāpeka o te MikroTik ki te mahia te reira.

In my next post I will go over setting up what RouterOS refers to as Mangle ture. Mahi ēnei ture ki te tautuhi i / whakarōpū i te waka whatunga roto i te tikanga ki te hanga QoS kaitahi-baked taea.

Share
Category: tupurangi  | Waiho a Comment
Thursday, September 17th, 2015 | Author:

Tūmataitinga, Wā, Money

E kore ahau e rite whakahau nama. E kore kua ahau pai te whakaaro e taea e tetahi hinonga, i hinaaro, tango tata tetahi nui o toku moni (pai … te wātea mea katoa). Tuhu atu te hoa i te take ki MTN e kua karohia ua te whakamahi ahau i te tikanga nama. Pea te “haratau” e kore ko te taua mea kino tauwehe.

Whakaaro ahau te pātai penultimate konei he ahakoa e kore ranei e hiahia ana koe te haratau me te taea whakawhirinaki pūtahi (i roto i tenei take ki to koutou moni) – ranei, ki te kore e taea e koe te whakawhirinaki ratou, a he pai ki te Dante haratau. I roto i toku take, ahakoa ui tonu ahau i te haratau, Ua haapii ahau te ara pakeke ki MTN e te reira mea huakore, e taea e whakararuraru ki te whai iti tou ao tūhono ki “motu mamao” tūnga. Tata katoa i tenei ra haere ki te tauwehe haratau.

Haratau

I te tahi atu i te ringa, i teie nei i te wa roa i mua, I had a dispute with Planet Fitness te wahi i haratau he hoari matarua. Korerotia e ahau to ratou mahi pakihi ki te Komihana amuamu Consumer (mai anō-faanahonahohia rite te National Kiritaki Komihana) 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.

Ahau i te Discovery Rikarika mema e homai maha painga, tae atu ki ngā reiti iti i runga i rama Premium – pānga ki te hauora o te akoranga te nuinga, as Discovery is a Medical Aid/Health Insurance provider. Hei hoatu i te reira noa, Ko whakamataku Discovery. Hua o te Rikarika hipokina mematanga omaoma nei atu ngā Planet Fitness. You still have to pay something, he tohu iti o te tini, ki Discovery, mo te mema omaoma. Ko, muri katoa, FIE ratou ki ahau kia hauora, so they don’t mind footing the bulk of the bill. Ko, āhua, tenei te tikanga Planet Fitness’ e kore e āpiha hoko whiwhi i te kōmihana!

Na he aha e tenei hua i roto i? Ko te hua, ko e hoatu hoko kaihoko o PF he ahua teeraa ahau mo te “E hāngai ana te ora-” mema. Teka ia. Ia ka i haina ahau i runga i te rārangi iraira mō te utu teeraa i te “auau” mema (ae, mau atu i te ara e whai i te mema auau utu ko reira), ending up about 4 me te 5 wa rite nui rite te mema e hāngai ana Rikarika-.

Epiphanies

Some time in 2011 Ahau te mutunga wisened ake ki te utu i mahara ahau ki te kia te aufauraa i. Discovery e mohio ana ahau e kore e hari rawa e pā ana ki tenei te tokomaha. Korero ahau ki te Kaiwhakahaere i te omaoma, a ka fakapapau'i ahau e pai te kirimana katoa e whakakorehia. E kore ahau tetahi mo te tutu … te kore ona hākinakina hoki … i roto i te Tapawaru … engari i muri i toku tere 5 ki te Kaiwhakahaere, ki te ui aha i tonu tupu te ota Taipitopito, ka korerotia e ia ki ahau i miharo ia kihai i kawea mai e ahau patu ki ahau mo te tere. I muri atu i te tahi mau hahaereraa, mau te Kaiwhakahaere i mahue Planet Fitness, a faataa ki ahau e te “kirimana” was between myself and Head Office and that the local gym, āhua i te mahi karapu-kāhua, i iti ki kahore te mea na e pā ana ki ahakoa kahore ranei i taea te whakakore te reira. Ki te mea Office Head kahore, waimarie uaua.

By this point I’d lost it. I had my bank put a mutu ki nga whakahau nama. 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 “faaho'i mai i” the blocking mahi. E kore e taea e ahau te tauturu engari whakaaro tautoko te pūnaha pēke kīanga wā otiia e kore e tika mohio nga kaimahi ki te whakamahi i te reira.

Technically I’m still waiting on the CCC to get back to me (e kore tupu – a o te akoranga anō-faanahonahohia i rite ratou ki whakahuatia i runga ake na pea hinga te take i roto i nga kapiti). O te akoranga, e taua wāhi hiahia hoki PF ki blacklist ahau hoki kahore te aufauraa i!

Ko te Hero ohorere

He whakahua kōpeka o te take ki Discovery (Whakaaro ahau huaina ratou e ahau e pā ana ki te toronga niho) hua i roto i te hokiwaea i tetahi o nga āpiha o Discovery. Na ka ui ratou ki ahau ki te whakaahua i te raruraru, i roto i ngā, i roto i te tuhituhi, ki te pai te whakamārama i toku tirohanga i tupu te aha tino. Titauhia ahau. Huri i te reira i roto i ko ahau tika e pā ana ki a ratou e kore e te “oaoa rawa” e pā ana ki te reira. I roto i te meka ratou tino kihai i rite te reira. About three weeks later, Planet Fitness Ka whakahokia ahau i roto i KAKATO mō moni katoa i ake kua utua ki a ratou.

Ko Awesome Discovery. 🙂

Share
Monday, October 29, 2012 | Author:

Puta i te reira e, i roto i te whakaaro nui mure ore, Google he āhuatanga haumaru e taea e te ārai i te tono i te whakauru ki te whakamahi ranei i tō pūkete google. Ka taea e kite ahau i pehea ai e he raruraru tenei mo ngā kaiwhakamahi o Google, i roto i ngā ratou GTalk me te Gmail kaiwhakamahi. I roto i taku take, ko reira Häunga te mea he take ki te Jabber mahi (i te mea tū wahi o GTalk). Kitea e ahau i te otinga i muri i te iti keri. I maere e ahau i pehea tau o te take, me pehea te roa, kua vai tēnei āhuatanga!

Ki te iriti i te aamu, a te tiki i tō tono ipurangi, whakamahi Captcha te whārangi o Google konei.

Share
Wenerei, June 08th, 2011 | Author:

I ahau i te whakahou tonu i runga i toku tūmau whaiaro i te kāinga rite herea te kotahi ki te mahi, maha, ki te Arch. Ko te tūmau puri kia reira te mau pē a e manukanuka iti mo mehemea e kore ranei ahau ki te hono i te papapātuhi / aroturuki i te kore mahi mea tika te mahi. Kihai i hoatu i te hiahia i tenei ra:

Tīmata Arch Linux booting ake tikanga me te tīmata init runlevel 3, te wahi e Stats reira loading daemons:

:: Whakatikatika Clock Pūmārō [Korewātea]

Na e te wahi i te reira noa iri. No atu. Ctrl Alt Del mahi, aratau kaiwhakamahi kotahi mahi, engari runlevel paerewa 3 e kore. Huri i te reira i roto i taua i te take ko te bug i waenganui i hwclock me te karaka ngā pūmārō te tūmau o te. Te pākahiko pūrua i runga i te kaupapa, powering te mahara CMOS me, muri, te karaka ngā pūmārō, he mate. E kore te Ahakoa powered te te pūnaha ake e hiahiatia ana i te pākahiko – Heoi e matau ana mai te karaka ngā pūmārō kua tautuhi anō te reira, e kore e tohu te reira tae noa ki te korerotia e tatou i te reira te mea i te wa kei te. Kaitatau ki tenei, ko e ka Tīmata ai hwclock, te mea e tatari ana mo te tohu karaka kia hoki ki te mohio, ki te he pai auau te karaka o ngā pūmārō o te ahunga whakamua. Hopu 22.

Ko te otinga i roto i toku take i haere ki te ki aratau kaiwhakamahi kotahi te wahi i taea e ahau monokia hwclock i roto i /etc / rc.conf. Kua kua ahau te whakamahi i ntpd ki te pupuri i te wa i roto i te pūnaha tukutahi e mahi pai noa. Ahau e kore e hēmanawa rawa ahau ki a ahakoa e kore ranei e tika te karaka ngā pūmārō – Hiahia noa ahau karaka o te pūnaha ora ki te e tika. Ka tonu te mea he whakaaro pai ki te tiki i te pākahiko whakakapinga mai, tae noa ki e te mea ai, wā katoa i te tiaa tūmau ka whakaaro te reira i roto i tona hoki 1997.

Share
Category: tupurangi  | One Comment
Paraire, Mahuru 24, 2010 | Author:

Te whakapainga ake ki WordPress 3 ko te roa o te tōmuri (rite he maha tuhinga tauira). Mīharo, rerekē tetahi mea titiro mai kua oti te whakahōu i, ahakoa i ahau ano e kore e miharo ki te kua ngaro ahau he naianei nui mono.

Ka e whakapau ahau i te ra i tenei wiki anake i runga i te orooro i te pae me te whakaoti ake etahi oko. Whai koe i te mea ki te titiro atu ki te. 🙂

Share