<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
    <title>rail - guide</title>
    <subtitle>enby fox on the internet :3</subtitle>
    <link rel="self" type="application/atom+xml" href="https://flufftech.net/tags/guide/atom.xml"/>
    <link rel="alternate" type="text/html" href="https://flufftech.net"/>
    <generator uri="https://www.getzola.org/">Zola</generator>
    <updated>2025-05-04T00:00:00+00:00</updated>
    <id>https://flufftech.net/tags/guide/atom.xml</id>
    <entry xml:lang="en">
        <title>Running Signal desktop app natively on Wayland</title>
        <published>2025-05-04T00:00:00+00:00</published>
        <updated>2025-05-04T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              rail
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://flufftech.net/posts/signal-desktop-natively-on-wayland/"/>
        <id>https://flufftech.net/posts/signal-desktop-natively-on-wayland/</id>
        
        <content type="html" xml:base="https://flufftech.net/posts/signal-desktop-natively-on-wayland/">&lt;p&gt;Signal, the private messaging app, ships an Electron-based desktop application available for Windows, Mac and Linux computers.&lt;&#x2F;p&gt;
&lt;p&gt;The Linux version by default does not support Wayland natively and will run through XWayland in a Wayland environment despite generally accepted system-wide configuration that should cause a different behavior.&lt;&#x2F;p&gt;
&lt;p&gt;That is not without a reason. Signal desktop for Linux ships its own packaged Electron build which does not respect &lt;code&gt;$HOME&#x2F;.config&#x2F;electron-flags.conf&lt;&#x2F;code&gt; configuration nor has any custom &lt;code&gt;-flags.conf&lt;&#x2F;code&gt; file to pull configuration from. I can speculate this behavior is due to (understandable) security concerns that would come from using external system-wide Electron and its configurations.&lt;&#x2F;p&gt;
&lt;p&gt;In this post I will summarize my journey into configuring Signal to work natively on Wayland and issues I encountered along the way.&lt;&#x2F;p&gt;
&lt;!-- toc --&gt;&lt;h2 id=&quot;making-signal-not-use-xwayland&quot;&gt;Making Signal not use XWayland&lt;&#x2F;h2&gt;
&lt;div class=&quot;side-note&quot;&gt;
    &lt;strong&gt;Note:&lt;&#x2F;strong&gt;&amp;nbsp;At the beginning of writing this blog, I was not aware of Signal actually respecting an environment variable and wanted to suggest a different, more complicated solution. The things you get to know ^^
&lt;&#x2F;div&gt;
&lt;p&gt;Setting &lt;code&gt;ELECTRON_OZONE_PLATFORM_HINT&lt;&#x2F;code&gt; environment variable to &lt;code&gt;&quot;auto&quot;&lt;&#x2F;code&gt; will make Signal start without using XWayland.&lt;&#x2F;p&gt;
&lt;p&gt;This behavior didn’t use to be the case in the past, and since Signal doesn’t respect Electron flags set in a config file, the only option of making it run on Wayland was adding command-line flags directly into the &lt;code&gt;.desktop&lt;&#x2F;code&gt; file. That obviously had its implications for example for window managers such as Sway, because they don’t use those files to start applications.&lt;&#x2F;p&gt;
&lt;p&gt;Usually the easiest way to set up an environmental variable for your system is by creating a file in &lt;code&gt;~&#x2F;.config&#x2F;environment.d&#x2F;&lt;&#x2F;code&gt; folder. I will assume you never set it up before, so here is what you need to do:&lt;&#x2F;p&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #A9B1D6; background-color: #1A1B26;&quot;&gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt;$&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt; mkdir ~&#x2F;.config&#x2F;environment.d&#x2F;&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt;$&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt; echo&lt;&#x2F;span&gt;&lt;span style=&quot;color: #89DDFF;&quot;&gt; &amp;#39;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt;ELECTRON_OZONE_PLATFORM_HINT=&amp;quot;auto&amp;quot;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #89DDFF;&quot;&gt;&amp;#39; &amp;gt;&amp;gt;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt; ~&#x2F;.config&#x2F;environment.d&#x2F;variables.conf&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;&lt;div class=&quot;side-note&quot;&gt;
    &lt;strong&gt;Note:&lt;&#x2F;strong&gt;&amp;nbsp;This solution only works for distributions using systemd. If you don’t use one of those, I’m sure you know best how to set up env variables on your system!
&lt;&#x2F;div&gt;
&lt;p&gt;After variables from the configuration file are loaded, Signal (and other Electron applications) should start without using XWayland. You can verify that by running &lt;code&gt;xlsclients&lt;&#x2F;code&gt; (&lt;code&gt;signal-desktop&lt;&#x2F;code&gt; should &lt;strong&gt;not&lt;&#x2F;strong&gt; appear there).&lt;&#x2F;p&gt;
&lt;p&gt;However, this does not mean there are no issues…&lt;&#x2F;p&gt;
&lt;h2 id=&quot;problems-ahead&quot;&gt;Problems ahead&lt;&#x2F;h2&gt;
&lt;p&gt;There are &lt;em&gt;some&lt;&#x2F;em&gt; problems&lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;github.com&#x2F;signalapp&#x2F;Signal-Desktop&#x2F;issues?q=state%3Aopen%20label%3A%22Wayland%22&quot;&gt;&lt;sup&gt;[1]&lt;&#x2F;sup&gt;&lt;&#x2F;a&gt; with running Signal natively on Wayland. I will only cover some of them here, consult GitHub if you encounter different ones.&lt;&#x2F;p&gt;
&lt;h3 id=&quot;problem-1-starting-minimized&quot;&gt;Problem 1: Starting minimized&lt;&#x2F;h3&gt;
&lt;div class=&quot;side-note&quot;&gt;
    &lt;strong&gt;Note:&lt;&#x2F;strong&gt;&amp;nbsp;Check if GitHub issue &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;github.com&#x2F;signalapp&#x2F;Signal-Desktop&#x2F;issues&#x2F;6368&quot;&gt;#6368&lt;&#x2F;a&gt; hasn’t been fixed at the time of reading. Maybe you don’t need to do anything!
&lt;&#x2F;div&gt;
&lt;p&gt;Trying to run Signal, you may notice it seems to not work initially, or only starts in system tray, not launching the window and you need to start the application twice or more to actually get it running. This might not be a desired behavior and does not normally happen under X11.&lt;&#x2F;p&gt;
&lt;p&gt;This problem can be approached in a few different ways.&lt;&#x2F;p&gt;
&lt;h4 id=&quot;solution-1-json-config&quot;&gt;Solution 1: JSON config&lt;&#x2F;h4&gt;
&lt;p&gt;&lt;strong&gt;The first solution&lt;&#x2F;strong&gt; is changing the &lt;code&gt;maximized&lt;&#x2F;code&gt; key within &lt;code&gt;~&#x2F;.config&#x2F;Signal&#x2F;ephemeral.json&lt;&#x2F;code&gt; file from &lt;code&gt;false&lt;&#x2F;code&gt; to &lt;code&gt;true&lt;&#x2F;code&gt;.&lt;&#x2F;p&gt;
&lt;p&gt;But this does not fully solve the issue, as contents of &lt;code&gt;~&#x2F;.config&#x2F;Signal&#x2F;ephemeral.json&lt;&#x2F;code&gt; are overwritten by Signal on every startup. To solve this, you may need to create a script that will be run every time the app is closed or before it is started, setting the window maximization key to &lt;code&gt;true&lt;&#x2F;code&gt; every time.&lt;&#x2F;p&gt;
&lt;h4 id=&quot;solution-2-desktop-file&quot;&gt;Solution 2: &lt;code&gt;.desktop&lt;&#x2F;code&gt; file&lt;&#x2F;h4&gt;
&lt;div class=&quot;side-note&quot;&gt;
    &lt;strong&gt;Note:&lt;&#x2F;strong&gt;&amp;nbsp;If you use a window manager, ignore this section entirely and skip to the &lt;a href=&quot;#solution-3-patched-build&quot;&gt;section below&lt;&#x2F;a&gt; instead.
&lt;&#x2F;div&gt;
&lt;p&gt;Another solution is less elegant and involves modifying the &lt;code&gt;.desktop&lt;&#x2F;code&gt; file used to run the application in a desktop environment. That file controls entries in the application list!&lt;&#x2F;p&gt;
&lt;p&gt;First, you need to copy a system-wide &lt;code&gt;.desktop&lt;&#x2F;code&gt; file and make a local copy of it. Then open it using a text editor:&lt;&#x2F;p&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #A9B1D6; background-color: #1A1B26;&quot;&gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt;$&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt; cp &#x2F;usr&#x2F;share&#x2F;applications&#x2F;signal-desktop.desktop ~&#x2F;.local&#x2F;share&#x2F;applications&#x2F;&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;
&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt;$&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt; nano ~&#x2F;.local&#x2F;share&#x2F;applications&#x2F;signal-desktop.desktop&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;Once you have the file opened, find a line starting with &lt;code&gt;Exec=&lt;&#x2F;code&gt;. It should be somewhere in the upper half of the file. &lt;strong&gt;Replace it&lt;&#x2F;strong&gt; with:&lt;&#x2F;p&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #A9B1D6; background-color: #1A1B26;&quot;&gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt;Exec&lt;&#x2F;span&gt;&lt;span style=&quot;color: #89DDFF;&quot;&gt;=&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt;signal-desktop&lt;&#x2F;span&gt;&lt;span style=&quot;color: #89DDFF;&quot;&gt; &amp;amp;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt; sleep&lt;&#x2F;span&gt;&lt;span style=&quot;color: #FF9E64;&quot;&gt; 1&lt;&#x2F;span&gt;&lt;span style=&quot;color: #89DDFF;&quot;&gt; &amp;amp;&amp;amp;&lt;&#x2F;span&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt; signal-desktop&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;After saving, you need to update the database of &lt;code&gt;.desktop&lt;&#x2F;code&gt; files:&lt;&#x2F;p&gt;
&lt;pre class=&quot;giallo&quot; style=&quot;color: #A9B1D6; background-color: #1A1B26;&quot;&gt;&lt;code data-lang=&quot;shellscript&quot;&gt;&lt;span class=&quot;giallo-l&quot;&gt;&lt;span style=&quot;color: #C0CAF5;&quot;&gt;$&lt;&#x2F;span&gt;&lt;span style=&quot;color: #9ECE6A;&quot;&gt; update-desktop-database ~&#x2F;.local&#x2F;share&#x2F;applications&#x2F;&lt;&#x2F;span&gt;&lt;&#x2F;span&gt;&lt;&#x2F;code&gt;&lt;&#x2F;pre&gt;
&lt;p&gt;That should result in the Signal application being called twice, once to start it minimized and once more to make it show up.&lt;&#x2F;p&gt;
&lt;h4 id=&quot;solution-3-patched-build&quot;&gt;Solution 3: Patched build&lt;&#x2F;h4&gt;
&lt;p&gt;&lt;strong&gt;Third way&lt;&#x2F;strong&gt; of fixing this is, if available on your distribution, installing &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;aur.archlinux.org&#x2F;packages&#x2F;signal-desktop-fix-sway&quot;&gt;&lt;code&gt;signal-desktop-fix-sway&lt;&#x2F;code&gt;&lt;&#x2F;a&gt; build of Signal. It does fix this issue. Said package is available for example on Arch Linux through AUR.&lt;&#x2F;p&gt;
&lt;h3 id=&quot;problem-2-visual-glitches&quot;&gt;Problem 2: Visual glitches&lt;&#x2F;h3&gt;
&lt;p&gt;Running Signal on Wayland not through XWayland may also cause a bunch of different visual glitches such as visual stuttering, glitchy shadows around the window or blurriness (e.g. with UI fractional scaling enabled). Unfortunately I do not know a way of fixing those. We probably need to wait for the developers to fix this :&#x2F;&lt;&#x2F;p&gt;
&lt;hr &#x2F;&gt;
&lt;p&gt;If you have any questions, feel free to reach out to me on the fediverse – you can find me there under &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;social.flufftech.net&#x2F;@rail&quot;&gt;&lt;code&gt;@rail@flufftech.net&lt;&#x2F;code&gt;&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
</content>
        
    </entry>
    <entry xml:lang="en">
        <title>Jak skonfigurować własny router z internetem od Orange (i włączyć dual-stack IPv6)</title>
        <published>2025-01-17T00:00:00+00:00</published>
        <updated>2025-01-17T00:00:00+00:00</updated>
        
        <author>
          <name>
            
              rail
            
          </name>
        </author>
        
        <link rel="alternate" type="text/html" href="https://flufftech.net/posts/orange-wlasny-router-dualstack-ipv6/"/>
        <id>https://flufftech.net/posts/orange-wlasny-router-dualstack-ipv6/</id>
        
        <content type="html" xml:base="https://flufftech.net/posts/orange-wlasny-router-dualstack-ipv6/">&lt;p&gt;Każdy mający mniej więcej jakieś pojęcie na temat sieci, albo chcący nauczyć się o nich więcej bardzo szybko zauważa pewną niemal uniwersalną prawdę – sprzęt wypożyczany klientom przed dostawców internetu jest generalnie na granicy używalności.&lt;&#x2F;p&gt;
&lt;p&gt;Nie inaczej jest z internetem stacjonarnym od Orange, gdzie wydawane przed pomarańczowego operatora routery „wszystko w jednym” są skrajnie ograniczone pod względem możliwości konfiguracji (nie można zmienić serwerów DNS, możliwości firewalla i tworzenia podsieci są bardzo podstawowe), a sam operator swoimi praktykami zdaje się bardzo chcieć zniechęcać użytkowników do wszelkiego kombinowania.&lt;&#x2F;p&gt;
&lt;p&gt;Dopóki nie nastąpi odpowiednia &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;fsfe.org&#x2F;activities&#x2F;routers&#x2F;routers.en.html&quot;&gt;regulacja&lt;&#x2F;a&gt;, zignorujmy wszystkie poprzednie instrukcje i się tym nie przejmujmy. Okazuje się, że własny sprzęt nie tylko daje większą swobodę, ale też umożliwia dość ciekawe rzeczy. O tym za moment.&lt;&#x2F;p&gt;
&lt;!-- toc --&gt;&lt;h2 id=&quot;co-jest-ci-potrzebne&quot;&gt;Co jest ci potrzebne&lt;&#x2F;h2&gt;
&lt;p&gt;Zacznijmy od tego, co jest niezbędne, aby kontynuować:&lt;&#x2F;p&gt;
&lt;ul&gt;
&lt;li&gt;Kablowy internet od Orange (FTTH&#x2F;xDSL)&lt;&#x2F;li&gt;
&lt;li&gt;Router z obsługą VLAN-ów i PPPoE (właściwie każdy na rynku, włączając nawet proste i tanie konsumenckie egzemplarze)
&lt;ul&gt;
&lt;li&gt;W przypadku DSL-a: router ze wbudowanym modemem (i opcjonalnie funkcją bridge)&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;&#x2F;li&gt;
&lt;li&gt;W przypadku światłowodu: &lt;strong&gt;dedykowany terminal światłowodowy&lt;&#x2F;strong&gt; (ONT) – i cierpliwość do obsługi klienta Orange, aby go dostać&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;Jeśli czytasz ten wpis i instalacja światłowodu od Orange dopiero przed tobą upewnij się, aby &lt;strong&gt;poprosić o dedykowany ONT&lt;&#x2F;strong&gt;. Przypomnij o tym technikowi przy potwierdzaniu wizyty. W takiej sytuacji otrzymasz go od ręki i bez żadnych dodatkowych opłat.&lt;&#x2F;p&gt;


&lt;figure class=&quot;media image &quot;&gt;
    &lt;a href=&quot;&amp;#x2F;posts&amp;#x2F;orange-wlasny-router-dualstack-ipv6&amp;#x2F;huawei-ont-hackgpon.jpg&quot;&gt;
        &lt;picture&gt;
            &lt;source srcset=&quot;https:&amp;#x2F;&amp;#x2F;flufftech.net&amp;#x2F;processed_images&amp;#x2F;huawei-ont-hackgpon.f85652697360b3ee.webp&quot; type=&quot;image&#x2F;webp&quot;&gt;
            &lt;img src=&quot;https:&amp;#x2F;&amp;#x2F;flufftech.net&amp;#x2F;processed_images&amp;#x2F;huawei-ont-hackgpon.17ea5d28302bf6e5.jpg&quot; alt=&quot;Fotografia przedstawiajace trzy białe urządzenia Huawei w plastikowych obudowach wyłożone na stole&quot; load=&quot;lazy&quot;&gt;
        &lt;&#x2F;picture&gt;
    &lt;&#x2F;a&gt;
    
    &lt;figcaption&gt;Terminale światłowodowe firmy Huawei. &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;hack-gpon.org&#x2F;ont-huawei-hg8010h&#x2F;&quot;&gt;hack-gpon.org&lt;&#x2F;a&gt;&lt;&#x2F;figcaption&gt;
    
&lt;&#x2F;figure&gt;
&lt;p&gt;Jeśli masz już zainstalowany światłowód a twoim jedynym urządzeniem końcowym jest FunBox, to przed Tobą telefon do obsługi klienta, podczas którego z dużym prawdopodobieństwem spróbują cię przekonać, że wcale go nie potrzebujesz. Gdy zrozumieją, że jednak potrzebujesz, to jedyną opcją dostawy ONT do ciebie będzie &lt;strong&gt;odpłatna&lt;&#x2F;strong&gt; wizyta technika. Tylko po to, żeby dostarczyć ci pudełko.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;istotne-uwagi-inne-uslugi-orange&quot;&gt;Istotne uwagi – inne usługi Orange&lt;&#x2F;h2&gt;
&lt;p&gt;W przypadku korzystania z telewizji i&#x2F;lub telefonii internetowej od Orange przejście na własny sprzęt może być bardziej skomplikowane.&lt;&#x2F;p&gt;
&lt;p&gt;Samemu mam tylko internet od Orange. Korzystając z VoIP, niezbędna będzie osobna bramka SIP bądź router z taką wbudowaną oraz wywalczenie od Orange danych konfiguracji tej usługi.&lt;&#x2F;p&gt;
&lt;p&gt;W przypadku IPTV niezbędne może być odpowiednie skonfigurowanie VLAN-ów w sieci lokalnej – nie mam wiedzy na ten temat, polecam ten wpis na trzepaku: „&lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;trzepak.pl&#x2F;viewtopic.php?t=51177&quot;&gt;Orange FTTH Triple Play na własnym sprzęcie&lt;&#x2F;a&gt;”.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;konfiguracja-podstawowa&quot;&gt;Konfiguracja podstawowa&lt;&#x2F;h2&gt;
&lt;p&gt;Dokładne kroki będą się różnić w zależności od używanego routera, ale ogólna zasada jest dość prosta i identyczna dla światłowodu i DSL-a&lt;&#x2F;p&gt;
&lt;ul&gt;
&lt;li&gt;Konfigurujemy VLAN 35.0 na interfejsie WAN – tym, do którego podłączysz ONT&lt;&#x2F;li&gt;
&lt;li&gt;Ustawiamy rodzaj połączenia z internetem na PPPoE (PPPoA w DSL-u)&lt;&#x2F;li&gt;
&lt;li&gt;Logujemy się do sieci operatora (dane logowania do znalezienia m.in. w aplikacji Mój Orange), np. &lt;code&gt;XXXXXXX@neostrada.pl&lt;&#x2F;code&gt;. Polecam dodanie przedrostka &lt;code&gt;BEZ_OCHRONY-&lt;&#x2F;code&gt; do nazwy użytkownika, co poskutkuje wyłączeniem (większości) firewalla po stronie ISP.&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;p&gt;W większości wypadków to tyle. Połączenie z internetem powinno być aktywne, pozostawiając wszystkie inne ustawienia jak DNS, DHCP, firewall, itd. do twojej dyspozycji.&lt;&#x2F;p&gt;


&lt;figure class=&quot;media image &quot;&gt;
    &lt;a href=&quot;&amp;#x2F;posts&amp;#x2F;orange-wlasny-router-dualstack-ipv6&amp;#x2F;setup-internet-orange.webp&quot;&gt;
        &lt;picture&gt;
            &lt;source srcset=&quot;https:&amp;#x2F;&amp;#x2F;flufftech.net&amp;#x2F;processed_images&amp;#x2F;setup-internet-orange.a394070ce7695215.webp&quot; type=&quot;image&#x2F;webp&quot;&gt;
            &lt;img src=&quot;https:&amp;#x2F;&amp;#x2F;flufftech.net&amp;#x2F;processed_images&amp;#x2F;setup-internet-orange.5daba75224bafd9a.jpg&quot; alt=&quot;Zakurzona metalowa szafka z pułkami, a na nich kolejno: terminal światłowodowy, mały 5-cio portowy switch, mały komputer Fujitsu oraz stojący na nim router Huawei&quot; load=&quot;lazy&quot;&gt;
        &lt;&#x2F;picture&gt;
    &lt;&#x2F;a&gt;
    
    &lt;figcaption&gt;Własny router i access point podłączony do ONT Orange. Praca własna, CC BY-NC-SA 4.0&lt;&#x2F;figcaption&gt;
    
&lt;&#x2F;figure&gt;
&lt;h2 id=&quot;inne-ciekawe-opcje-ipv6-i-dual-stack&quot;&gt;Inne ciekawe opcje – IPv6 i dual-stack&lt;&#x2F;h2&gt;
&lt;p&gt;Orange jest de facto jedynym operatorem w Polsce traktującym IPv6 choćby w połowie poważnie. Wszyscy klienci sieci mobilnej Orange od kilku lat otrzymują wyłącznie adresy IPv6 (z translacją adresów IPv4), a każdy klient sieci stacjonarnej może otrzymać blok adresów IPv6 o rozmiarze &lt;code&gt;&#x2F;56&lt;&#x2F;code&gt;. Nie oznacza to jednak, że konfiguracja i praktyki po stronie operatora względem IPv6 są całkowicie dobre.&lt;&#x2F;p&gt;
&lt;p&gt;Jednym z problemów jest choćby to, że wsparcie IPv6 działa na zasadzie dobrowolnej aktywacji (opt-in), a gdy klient się na taką zdecyduje dodając do danych logowania PPPoE sufiks &lt;code&gt;&#x2F;ipv6&lt;&#x2F;code&gt;, automatycznie &lt;strong&gt;traci przez to dostęp do publicznego adresu IPv4&lt;&#x2F;strong&gt; (Dual-Stack Lite).&lt;&#x2F;p&gt;
&lt;p&gt;Korzystając z własnego routera można obejść to ograniczenie FunBoxów i skonfigurować prawdziwy dual-stack z publicznymi zarówno adresami IPv6, jak i IPv4.&lt;&#x2F;p&gt;
&lt;p&gt;Większość routerów na rynku pozwala na ustawienie konfiguracji połączenia z internetem przez IPv6 całkowicie odrębnie od IPv4. Będzie to potrzebne w tym przypadku. Wystarczy skonfigurować połączenie IPv6 przez PPPoE i wprowadzić te same dane logowania, ale z sufiksem
&lt;code&gt;&#x2F;ipv6&lt;&#x2F;code&gt; na końcu nazwy użytkownika, na przykład
&lt;code&gt;BEZ_OCHRONY-XXXXXXX@neostrada.pl&#x2F;ipv6&lt;&#x2F;code&gt;.&lt;&#x2F;p&gt;


&lt;figure class=&quot;media image &quot;&gt;
    &lt;a href=&quot;&amp;#x2F;posts&amp;#x2F;orange-wlasny-router-dualstack-ipv6&amp;#x2F;setup-openwrt-network.webp&quot;&gt;
        &lt;picture&gt;
            &lt;source srcset=&quot;https:&amp;#x2F;&amp;#x2F;flufftech.net&amp;#x2F;processed_images&amp;#x2F;setup-openwrt-network.a63354bf57f61405.webp&quot; type=&quot;image&#x2F;webp&quot;&gt;
            &lt;img src=&quot;https:&amp;#x2F;&amp;#x2F;flufftech.net&amp;#x2F;processed_images&amp;#x2F;setup-openwrt-network.f72af5eeab661903.jpg&quot; alt=&quot;Zawartość pliku &amp;#x2F;etc&amp;#x2F;config&amp;#x2F;network na OpenWRT odnosząca się do konfiguracji interfejsów sieciowych „WANv4” oraz „WANv6”.&quot; load=&quot;lazy&quot;&gt;
        &lt;&#x2F;picture&gt;
    &lt;&#x2F;a&gt;
    
    &lt;figcaption&gt;Konfiguracja dual-stack na routerze z OpenWRT. Praca własna, CC BY-NC-SA 4.0&lt;&#x2F;figcaption&gt;
    
&lt;&#x2F;figure&gt;
&lt;p&gt;Wówczas router sam powinien zestawić tunel PPPoE oraz klienta DHCPv6-PD przekazującego adresy do sieci lokalnej. Warto zaznaczyć, że przydział adresów IPv6 jest dynamiczny, tak samo jak adres IPv4 – będzie ulegał zmianie co jakiś czas. Jeśli potrzebujesz stałych adresów IPv6 lub chcesz wystawiać usługi do internetu, będzie ci potrzebny adres &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Unique_local_address&quot;&gt;ULA&lt;&#x2F;a&gt; bądź usługa &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Dynamic_DNS&quot;&gt;DDNS&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
&lt;h2 id=&quot;zobacz-tez&quot;&gt;Zobacz też&lt;&#x2F;h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;em&gt;&lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=42Hy4JtBeQA&quot;&gt;IPv6: Why End-to-End Connectivity Matters and How It Benefits You&lt;&#x2F;a&gt;&lt;&#x2F;em&gt; – praktyczne korzyści z używania IPv6 w amatorskich projektach&lt;&#x2F;li&gt;
&lt;li&gt;&lt;em&gt;&lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;idea.popcount.org&#x2F;2020-08-02-orange-ftth-on-a-custom-router&#x2F;&quot;&gt;Orange FTTH on a custom router&lt;&#x2F;a&gt;&lt;&#x2F;em&gt; oraz &lt;em&gt;&lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;idea.popcount.org&#x2F;2023-04-01-orange-ftth-and-ipv6---part-two&#x2F;&quot;&gt;Orange FTTH and IPv6 – part two&lt;&#x2F;a&gt;&lt;&#x2F;em&gt; – bardziej techniczne przedstawienie metod konfiguracji, oraz konfiguracja DS-lite przez tunel IPIP (jak w FunBoxie)&lt;&#x2F;li&gt;
&lt;&#x2F;ul&gt;
&lt;hr &#x2F;&gt;
&lt;p&gt;Jeśli masz jakieś pytania albo uwagi, napisz do mnie na fediwersum – można mnie tam znaleźć jako &lt;a class=&quot;external&quot; rel=&quot;noopener nofollow external&quot; target=&quot;_blank&quot; href=&quot;https:&#x2F;&#x2F;social.flufftech.net&#x2F;@rail&quot;&gt;&lt;code&gt;@rail@flufftech.net&lt;&#x2F;code&gt;&lt;&#x2F;a&gt;.&lt;&#x2F;p&gt;
</content>
        
    </entry>
</feed>
