Deprecated: Return type of WP_Theme::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-theme.php on line 554
Deprecated: Return type of WP_Theme::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-theme.php on line 595
Deprecated: Return type of WP_Theme::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-theme.php on line 535
Deprecated: Return type of WP_Theme::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-theme.php on line 544
Deprecated: Return type of WP_REST_Request::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/rest-api/class-wp-rest-request.php on line 952
Deprecated: Return type of WP_REST_Request::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/rest-api/class-wp-rest-request.php on line 972
Deprecated: Return type of WP_REST_Request::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/rest-api/class-wp-rest-request.php on line 984
Deprecated: Return type of WP_REST_Request::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/rest-api/class-wp-rest-request.php on line 995
Deprecated: Return type of WP_Block_List::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 151
Deprecated: Return type of WP_Block_List::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 175
Deprecated: Return type of WP_Block_List::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 164
Deprecated: Return type of WP_Block_List::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 186
Deprecated: Return type of WP_Block_List::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 138
Deprecated: Return type of WP_Block_List::offsetExists($index) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 75
Deprecated: Return type of WP_Block_List::offsetGet($index) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 89
Deprecated: Return type of WP_Block_List::offsetSet($index, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 110
Deprecated: Return type of WP_Block_List::offsetUnset($index) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 127
Deprecated: Return type of WP_Block_List::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/class-wp-block-list.php on line 199
Deprecated: Return type of Pimple\Container::offsetExists($id) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 133
Deprecated: Return type of Pimple\Container::offsetGet($id) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 98
Deprecated: Return type of Pimple\Container::offsetSet($id, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 79
Deprecated: Return type of Pimple\Container::offsetUnset($id) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/vendor-prod/pimple/pimple/src/Pimple/Container.php on line 143
Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 60
Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 66
Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 72
Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 76
Deprecated: Return type of iThemesSecurity\Lib\Lockout\Execute_Lock\Context::getIterator() should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/lockout/execute-lock/abstract-context.php on line 56
Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 578
Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 585
Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 606
Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 613
Deprecated: Return type of ITSEC_Lib_Distributed_Storage_Cursor::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/lib/class-itsec-lib-distributed-storage.php on line 620
Deprecated: Automatic conversion of false to array is deprecated in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-content/plugins/better-wp-security/core/modules.php on line 137
Deprecated: Implicit conversion from float 4294967295 to int loses precision in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/pomo/mo.php on line 203
Deprecated: Implicit conversion from float 4294967295 to int loses precision in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/pomo/mo.php on line 203
Deprecated: Implicit conversion from float 4294967295 to int loses precision in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/pomo/mo.php on line 203
Notice: register_sidebar anropades felaktigt. Argumentet id var inte satt i argumentmatrisen för sidopanelen ”Sidopanel 1”. Därför används i stället standardvärdet ”sidebar-1”. Ange id manuellt till ”sidebar-1” för att undvika denna notifiering och behålla befintligt innehåll i sidopanelen. Mer information finns i Felsökning i WordPress. (Detta meddelande lades till i version 4.2.0.) in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/functions.php on line 5313
Deprecated: Implicit conversion from float 4294967295 to int loses precision in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/pomo/mo.php on line 203
Deprecated: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /home/jonk/web/jonk.pirateboy.net/www/blog/wp-includes/wp-db.php on line 3031 Jonk
Pi-hole är ett fiffigt sätt att blockera annonser på ett helt nätverk genom att låta en Raspberry Pi agera som en DNS-server som inte släpper igenom trafik från kända annonsadresser. Detta innebär att trafiken som genereras från annonser inte ens laddas ner och befriar hela nätverket från dessa. Har man begränsat med bredband, som jag som bor på landet, så är det ganska fint att ungefär 10% av all trafik filtreras bort och gör nätet snabbare. Tänker du dig ett större företags nätverk så är det också lätt att se att det finns mycket bandbredd att spara som gör nätet snabbare för alla. Pi-hole filtrerar all trafik och användarna på nätverket behöver inte installera någon ad-block-mjukvara alls utan allt sköts automatiskt av Pi-hole. Det är till exempel väldigt trevligt att kunna titta på YouTube utan att behöva vänta på reklam först eller störas av banners i filmerna.
Det du behöver för att bygga en Pi-hole maskin är:
Raspberry-pi
Nätverkskabel
Strömkabel
SD-minneskort
Chassi
Alla dessa saker finns att köpa på t ex Webbhallen, M.nu & Kjell&Co, och kommer att kosta dig under 1000 kr.
Jag hade redan en gammal Raspberry Pi (Raspberry Pi 1 Model B) liggandes hemma så jag körde på, det funkar bra och jag märker inga prestandaproblem. Ska man bygga till större nätverk så är det säkert en bra idé att köra på en nyare Raspberry Pi.
Ladda hem operativsystemet Raspbian Jessie Lite som finns att ladda hem här.
Jag skapade SD-kortet på en mac med instruktioner härifrån.
Det du behöver göra är att sätta i minneskortet i datorn. Kolla var kortet mountas med kommandot: diskutil list
I mitt fall var minneskortet på disk2 så då unmountar jag kortet med diskutil unmountDisk /dev/disk2
och sedan installerar jag operativsystemet med: sudo dd bs=1m if=2016-11-25-raspbian-jessie-lite.img of=/dev/rdisk2
där “2016-11-25-raspbian-jessie-lite.img” är filen jag laddade ner innan.
Nu är det dags att starta upp maskinen, koppla den till en skärm, koppla in ett tangentbord och koppla den också till din router med nätverkskabeln.
Skriv kommandot sudo raspi-config
för att kofigurera servern
Här är de inställningar jag valde:
Expand
Interationailzation: Swedish keyboard
Advanced: Hostname (Döp maskinen till vad du vill att den ska heta)
Advanced: SSH enable (Så att du kan komma åt den via ssh)
Advanced: Memory split: GPU: 16 (Detta är för att jag använder en gammal Raspberry pi och vill ge mer minne till servern och mindre till grafiken)
Boot: Console (Vi har inget grafiskt gränssnitt så vi vill att maskinen ska starta i konsolläge)
Overclock: Turbo (Överklockar maskinen lite, återigen för att jag använder en gammal Raspberry pi)
Change user password: Välj ett lösenord så att inte defaultlösenordet “raspberry” används.
Välj Finish så att den startas om.
Logga in med användarnamn “pi” och ditt lösenord. Kör sudo apt-get update
och sedan sudo apt-get upgrade
så att maskinen är uppdaterad.
Installera pi-hole genom att köra kommandot curl -L https://install.pi-hole.net | bash
och följ instruktionerna på skärmen, se till att notera vilket ip-nummer maskinen fått, du kommer att behöva det senare.
Nu kan du koppla bort skärm och tangentbord från din Pi-hole.
Nu ska du se till att din router använder din Pi-hole som DNS-server. Logga in på din router och fyll i det ip-nummer som du har fått på din Pi-hole. Jag använder en Apple Airport Extreme och då ser det ut såhär.
Nu är allt klart och du kan besöka http://pi.hole/admin/ för att se statistik och konfigurera din Pi-hole. Du kan t ex behöva lägga till en eller annan domän till whitelist där du vill att annonser ska visas.
Spelningen med Trentemøller på Christiania i Köpenhamn i November 2011 som avslutade turnén för “Into the great wide yonder” är en av de bästa spelningar jag någonsin upplevt. Alla kategorier, alla stilar, alla tider. Helt sagolik! När jag fick reda på att allt spelats in så blev jag jättaglad och väntan till nu har varit lång, men nu är den alltså äntligen släppt; Trentemøller Live in Copenhagen finns på iTunes, men jag vet inte om den kommer till Spotify än, det får tiden utvisa.
Tyvärr så verkar det inte som om hela spelningen kommer att släppas som film trots att allt är filmat, ihopklippt och färdigt. Jag har sett den på vad jag tror är den enda visningen den fick och den var fantastisk! Den visades en gång på bio under filmfestivalen CPH:DOX i Köpenhamn och det var som att uppleva konserten en gång till, fast på mycket nära håll, som om man stod på scen tillsammans med Anders och de andra. Magisk närvaro!
Jag träffade Trentemøller efter biovisningen och han berättade att han var väldigt nöjd med ljudet men tyckte att filmen var för mörk, framförallt i början. Jag håller i och för sig inte med, men jag antar att han inte vill släppa något som inte känns perfekt.
Det är bara att hoppas att han ändrar sig och släpper filmen ändå, om inte annat så åtmistone som klipp på YouTube som filmen överst.