{"id":99,"date":"2019-11-16T11:08:04","date_gmt":"2019-11-16T10:08:04","guid":{"rendered":"https:\/\/blog.simon-frey.eu\/?p=99"},"modified":"2024-01-19T12:52:36","modified_gmt":"2024-01-19T11:52:36","slug":"wifionice-not-working-on-linux","status":"publish","type":"post","link":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/","title":{"rendered":"WIFIonICE not working on Linux"},"content":{"rendered":"\n<p>If&nbsp;you&nbsp;are&nbsp;reading&nbsp;this&nbsp;post&nbsp;and&nbsp;are&nbsp;currently&nbsp;suffering&nbsp;from Deutsche&nbsp;Bahn&nbsp;WIFIonICE not working on your Linux laptop ask&nbsp;yourself&nbsp;<em>&#8220;Is&nbsp;docker&nbsp;running&nbsp;on&nbsp;my laptop?&#8221;<\/em>.&nbsp;If&nbsp;not&nbsp;or&nbsp;you&nbsp;don&#8217;t&nbsp;know&nbsp;what&nbsp;docker&nbsp;is,&nbsp;I&nbsp;am&nbsp;sorry&nbsp;that&nbsp;this&nbsp;blog post&nbsp;will&nbsp;not&nbsp;help&nbsp;you.<\/p>\n\n\n\n<p>So&nbsp;you&nbsp;have&nbsp;docker&nbsp;running&nbsp;on&nbsp;your&nbsp;machine.<\/p>\n\n\n\n<p>The&nbsp;problem&nbsp;with&nbsp;WIFIonICE&nbsp;on&nbsp;Linux&nbsp;and&nbsp;docker&nbsp;is,&nbsp;that&nbsp;they&nbsp;use&nbsp;the&nbsp;same&nbsp;subnets&nbsp;for&nbsp;giving&nbsp;you IPs. <\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>A subnetwork or subnet is a logical subdivision of an IP network The practice of dividing a network into two or more networks is called subnetting.<\/p><cite>Wikipedia<\/cite><\/blockquote>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Solutions<\/h2>\n\n\n\n<p>As&nbsp;you&nbsp;can&nbsp;not&nbsp;change&nbsp;the&nbsp;router&nbsp;of&nbsp;the&nbsp;train&nbsp;you&nbsp;need&nbsp;to&nbsp;fix\/circumvent&nbsp;the issue&nbsp;on&nbsp;your&nbsp;laptop.:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Temporary: <strong>Disable&nbsp;docker<\/strong><\/h3>\n\n\n\n<p>If&nbsp;you&nbsp;do&nbsp;not&nbsp;have&nbsp;work&nbsp;with&nbsp;docker&nbsp;during&nbsp;your&nbsp;train ride,&nbsp;the&nbsp;simplest&nbsp;option&nbsp;is&nbsp;to&nbsp;disable&nbsp;docker&nbsp;and&nbsp;the&nbsp;problem&nbsp;will&nbsp;be&nbsp;gone.&nbsp;<br>Nicolas&nbsp;Kuttler&nbsp;build&nbsp;a&nbsp;neat&nbsp;little&nbsp;script&nbsp;to&nbsp;do&nbsp;that&nbsp;for&nbsp;your.&nbsp;Get&nbsp;it&nbsp;on&nbsp;his&nbsp;website: <a href=\"https:\/\/kuttler.eu\/code\/ice-wlan-linux-docker\/raw\">kuttler.eu\/code\/ice-wlan-linux-docker\/<\/a><br>Just&nbsp;execute&nbsp;the&nbsp;script&nbsp;with&nbsp;<code>sh&nbsp;[your&nbsp;saved&nbsp;scripname].sh&nbsp;on<\/code> to&nbsp;stop&nbsp;docker&nbsp;(weird&nbsp;that&nbsp;he&nbsp;uses&nbsp;the&nbsp;keyword <code>on<\/code> for&nbsp;actually&nbsp;shutting&nbsp;docker&nbsp;off&nbsp;:D)<br>After&nbsp;you&nbsp;trainride&nbsp;you&nbsp;can&nbsp;reenable&nbsp;docker&nbsp;with&nbsp;<code>sh&nbsp;[your&nbsp;saved&nbsp;scripname].sh&nbsp;off<\/code><\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Permanently: <strong>Change&nbsp;docker0&nbsp;subnet<\/strong><\/h3>\n\n\n\n<p>Searching&nbsp;trough&nbsp;the&nbsp;net&nbsp;I&nbsp;found&nbsp;several&nbsp;solutions&nbsp;on&nbsp;how&nbsp;to&nbsp;do&nbsp;that,&nbsp;involving <code>iptables<\/code> and&nbsp;stuff.&nbsp;<\/p>\n\n\n\n<p>But&nbsp;these&nbsp;solutions&nbsp;are&nbsp;all&nbsp;not&nbsp;permanent&nbsp;and&nbsp;take&nbsp;quite&nbsp;some&nbsp;steps.&nbsp;Easiest&nbsp;solution&nbsp;I&nbsp;found.&nbsp;Add&nbsp;a&nbsp;startup&nbsp;parameter&nbsp;to&nbsp;<code>\/etc\/docker\/daemon.json<\/code>:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n  \"bip\": \"172.17.77.1\/24\"\n}<\/code><\/pre>\n\n\n\n<p>Which&nbsp;will&nbsp;tell&nbsp;the&nbsp;docker&nbsp;daemon&nbsp;on&nbsp;startup&nbsp;to&nbsp;use&nbsp;that&nbsp;certain&nbsp;subnet.<br>Just&nbsp;restart&nbsp;your&nbsp;machine&nbsp;and&nbsp;the&nbsp;WIFIonICE&nbsp;should&nbsp;be&nbsp;working&nbsp;from&nbsp;now&nbsp;on.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Fix problems with the Free WIFIonICE and the Docker Bridges<\/p>\n","protected":false},"author":1,"featured_media":102,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":"","_links_to":"","_links_to_target":""},"categories":[21],"tags":[31,19,12,23],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-linux","tag-docker","tag-linux","tag-startup","tag-website"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>WIFIonICE not working on Linux - Blog by Simon Frey<\/title>\n<meta name=\"description\" content=\"The docker subnet interferes with the Deutsche Bahn Wifi and it makes WIFIonICE not working on Linux. Learn how to solve this problem.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Simon Frey\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"WIFIonICE not working on Linux - Blog by Simon Frey","description":"The docker subnet interferes with the Deutsche Bahn Wifi and it makes WIFIonICE not working on Linux. Learn how to solve this problem.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/","twitter_misc":{"Written by":"Simon Frey","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/#article","isPartOf":{"@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/"},"author":{"name":"Simon Frey","@id":"https:\/\/simon-frey.com\/blog\/#\/schema\/person\/34753982b648415636ee7a079f3e19a3"},"headline":"WIFIonICE not working on Linux","datePublished":"2019-11-16T10:08:04+00:00","dateModified":"2024-01-19T11:52:36+00:00","mainEntityOfPage":{"@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/"},"wordCount":480,"publisher":{"@id":"https:\/\/simon-frey.com\/blog\/#\/schema\/person\/34753982b648415636ee7a079f3e19a3"},"image":{"@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/simon-frey.com\/blog\/wp-content\/uploads\/2019\/11\/ice_wifi_not_working_linux_docker-scaled.jpg","keywords":["docker","linux","startup","website"],"articleSection":["Linux"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/","url":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/","name":"WIFIonICE not working on Linux - Blog by Simon Frey","isPartOf":{"@id":"https:\/\/simon-frey.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/#primaryimage"},"image":{"@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/#primaryimage"},"thumbnailUrl":"https:\/\/simon-frey.com\/blog\/wp-content\/uploads\/2019\/11\/ice_wifi_not_working_linux_docker-scaled.jpg","datePublished":"2019-11-16T10:08:04+00:00","dateModified":"2024-01-19T11:52:36+00:00","description":"The docker subnet interferes with the Deutsche Bahn Wifi and it makes WIFIonICE not working on Linux. Learn how to solve this problem.","breadcrumb":{"@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/#primaryimage","url":"https:\/\/simon-frey.com\/blog\/wp-content\/uploads\/2019\/11\/ice_wifi_not_working_linux_docker-scaled.jpg","contentUrl":"https:\/\/simon-frey.com\/blog\/wp-content\/uploads\/2019\/11\/ice_wifi_not_working_linux_docker-scaled.jpg","width":2048,"height":694,"caption":"ICE train having a free wifi logo on it"},{"@type":"BreadcrumbList","@id":"https:\/\/simon-frey.com\/blog\/wifionice-not-working-on-linux\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/simon-frey.com\/blog\/"},{"@type":"ListItem","position":2,"name":"WIFIonICE not working on Linux"}]},{"@type":"WebSite","@id":"https:\/\/simon-frey.com\/blog\/#website","url":"https:\/\/simon-frey.com\/blog\/","name":"Blog by Simon Frey","description":"","publisher":{"@id":"https:\/\/simon-frey.com\/blog\/#\/schema\/person\/34753982b648415636ee7a079f3e19a3"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/simon-frey.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/simon-frey.com\/blog\/#\/schema\/person\/34753982b648415636ee7a079f3e19a3","name":"Simon Frey","logo":{"@id":"https:\/\/simon-frey.com\/blog\/#\/schema\/person\/image\/"},"sameAs":["https:\/\/simon-frey.com","https:\/\/www.linkedin.com\/in\/simonfrey\/","https:\/\/x.com\/eu_frey"]}]}},"_links":{"self":[{"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":6,"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":605,"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/posts\/99\/revisions\/605"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/media\/102"}],"wp:attachment":[{"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/simon-frey.com\/blog\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}