<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Disable AP and set static IP]]></title><description><![CDATA[<p dir="auto">Just got my Omega2+'s, they're working fine.</p>
<p dir="auto">As I would like to do a more secure Wi-Fi setup, I am wondering how I can:</p>
<ul>
<li>Set up a static IP</li>
<li>Disable the AP and make the Omega a "standard" wifi client</li>
</ul>
<p dir="auto">I have tried to disable the AP from the Onion Console, but that setting doesn't seem to do anything.</p>
<p dir="auto">Anyway, as I can easily access the serial console, I would actually prefer to do the above through command-line. I have done a few experiments with the /etc/config/network and /etc/config/wireless files, but I couldn't come up with a fully reliable configuration.</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>http://community.onion.io/topic/1249/disable-ap-and-set-static-ip</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 02:27:09 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/1249.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 10 Jan 2017 23:41:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 10 Jan 2017 23:41:50 GMT]]></title><description><![CDATA[<p dir="auto">Just got my Omega2+'s, they're working fine.</p>
<p dir="auto">As I would like to do a more secure Wi-Fi setup, I am wondering how I can:</p>
<ul>
<li>Set up a static IP</li>
<li>Disable the AP and make the Omega a "standard" wifi client</li>
</ul>
<p dir="auto">I have tried to disable the AP from the Onion Console, but that setting doesn't seem to do anything.</p>
<p dir="auto">Anyway, as I can easily access the serial console, I would actually prefer to do the above through command-line. I have done a few experiments with the /etc/config/network and /etc/config/wireless files, but I couldn't come up with a fully reliable configuration.</p>
<p dir="auto">Thanks in advance!</p>
]]></description><link>http://community.onion.io/post/8067</link><guid isPermaLink="true">http://community.onion.io/post/8067</guid><dc:creator><![CDATA[SukkoPera]]></dc:creator><pubDate>Tue, 10 Jan 2017 23:41:50 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Wed, 11 Jan 2017 18:01:43 GMT]]></title><description><![CDATA[<p dir="auto">Did you check out the wiki (even if it was made for omega1, similarities are still there) ... i guess there are several hints how to set a static IP.</p>
]]></description><link>http://community.onion.io/post/8099</link><guid isPermaLink="true">http://community.onion.io/post/8099</guid><dc:creator><![CDATA[Luciano S.]]></dc:creator><pubDate>Wed, 11 Jan 2017 18:01:43 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Wed, 11 Jan 2017 20:01:26 GMT]]></title><description><![CDATA[<p dir="auto">I also have some trouble setting a static IP address</p>
<p dir="auto">What I tried and know so far :</p>
<p dir="auto">The settings are stored at this location <code>/etc/config/network</code><br />
You can find info on the parameters there :<br />
<a href="https://wiki.openwrt.org/doc/uci/network" rel="nofollow">https://wiki.openwrt.org/doc/uci/network</a></p>
<p dir="auto">I setup a static ip address for interface <code>wwan</code> with <code>option proto 'static'</code><br />
I also setup the right gateway and then reloaded the network settings with <code>/etc/init.d/network reload</code></p>
<p dir="auto">The static IP address is there after I reload the config, and I can ping the Omega and from the Omega I can ping my router</p>
<p dir="auto">The problem I have is that internet access is not working anymore. I think it might be a DNS issue.</p>
]]></description><link>http://community.onion.io/post/8115</link><guid isPermaLink="true">http://community.onion.io/post/8115</guid><dc:creator><![CDATA[Fred Blais]]></dc:creator><pubDate>Wed, 11 Jan 2017 20:01:26 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Thu, 12 Jan 2017 02:22:31 GMT]]></title><description><![CDATA[<p dir="auto">I've found the same thing in my efforts to do the same.</p>
]]></description><link>http://community.onion.io/post/8144</link><guid isPermaLink="true">http://community.onion.io/post/8144</guid><dc:creator><![CDATA[Thomas Jager]]></dc:creator><pubDate>Thu, 12 Jan 2017 02:22:31 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 04:37:43 GMT]]></title><description><![CDATA[<p dir="auto">Has anyone found a solution to this yet?<br />
I've seen this on several different omega2+ modules now.<br />
Wifi Client configured with static IP can ping local network, but cannot reach the internet.</p>
<p dir="auto">It works fine when using DHCP, though.</p>
]]></description><link>http://community.onion.io/post/25851</link><guid isPermaLink="true">http://community.onion.io/post/25851</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 04:37:43 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 10:31:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/2215">@Thomas-Jager</a> Please don't necropost, on a 8 year old thread! Just create a new thread and add a reference to the old thread.</p>
<p dir="auto">My guess is your DNS is the issue, DHCPD (when you use dynamic IP), also sets your DNS among other things,  you can probably fix it by hard configuring the DNS when you use a static IP.</p>
<p dir="auto">Try changing the wireless config for sta by adding the following settings:</p>
<p dir="auto">option netmask '255.255.255.0'<br />
option gateway '192.168.1.1'<br />
option dns '8.8.8.8'</p>
<p dir="auto">The gateway and netmask will be specific to your network. After making those changes restart the network using the command "service network restart" or just reboot. If it still does not work then post the output of the following commands:</p>
<p dir="auto">ping 8.8.8.8<br />
traceroute 8.8.8.8<br />
uci show network<br />
uci show wireless</p>
<p dir="auto">Then set back to dynamic ip (using dhcp) and post the output of the above commands, and also add the command:</p>
<p dir="auto">ifconfig</p>
]]></description><link>http://community.onion.io/post/25852</link><guid isPermaLink="true">http://community.onion.io/post/25852</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 27 Feb 2024 10:31:22 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 15:29:05 GMT]]></title><description><![CDATA[<p dir="auto">Sorry it's a habit to search threads for common issues before posting a question and the similar issue others had above weren't addressed.<br />
Nevertheless, I had already set those parameters for the wwan interface and it didn't make any difference.<br />
Here's the output from those commands.</p>
<pre><code>
root@Omega-3DA9:/# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd1d:48c4:7633::/48'
network.wlan=interface
network.wlan.type='bridge'
network.wlan.proto='static'
network.wlan.ipaddr='192.168.3.1'
network.wlan.netmask='255.255.255.0'
network.wlan.ip6assign='60'
network.wwan=interface
network.wwan.ifname='apcli0'
network.wwan.hostname='Omega-3DA9'
network.wwan.proto='static'
network.wwan.ipaddr='192.168.5.88'
network.wwan.netmask='255.255.240.0'
network.wwan.gateway='192.168.5.254'
network.wwan.dns='8.8.8.8'
network.wan=interface
network.wan.ifname='eth0'
network.wan.proto='dhcp'
root@Omega-3DA9:/# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='ralink'
wireless.radio0.variant='mt7628'
wireless.radio0.country='US'
wireless.radio0.hwmode='11g'
wireless.radio0.htmode='HT40'
wireless.radio0.channel='auto'
wireless.radio0.disabled='0'
wireless.radio0.device_mode='apsta'
wireless.radio0.op_mode='preference'
wireless.ap=wifi-iface
wireless.ap.device='radio0'
wireless.ap.mode='ap'
wireless.ap.network='wlan'
wireless.ap.ifname='ra0'
wireless.ap.encryption='psk2'
wireless.ap.key='12345678'
wireless.ap.disabled='0'
wireless.ap.ssid='Omega-3DA9'
wireless.sta=wifi-iface
wireless.sta.device='radio0'
wireless.sta.mode='sta'
wireless.sta.ifname='apcli0'
wireless.sta.encryption='psk2'
wireless.sta.network='wwan'
wireless.sta.led='omega2p:blue:wifi'
wireless.sta.disabled='0'
wireless.sta.key='&lt;MY_PASSWORD&gt;'
wireless.sta.ssid='&lt;MY_SSID&gt;'
wireless.@wifi-config[0]=wifi-config
wireless.@wifi-config[0].key='&lt;MY_PASSWORD&gt;'
wireless.@wifi-config[0].ssid='&lt;MY_SSID&gt;'
wireless.@wifi-config[0].encryption='psk2'
root@Omega-3DA9:/# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
 1traceroute: sendto: Network unreachable
root@Omega-3DA9:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network unreachable
root@Omega-3DA9:/#
</code></pre>
<p dir="auto">And here is the same with DHCP enabled:</p>
<pre><code>
root@Omega-3DA9:/# uci show network
network.loopback=interface
network.loopback.ifname='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fd1d:48c4:7633::/48'
network.wlan=interface
network.wlan.type='bridge'
network.wlan.proto='static'
network.wlan.ipaddr='192.168.3.1'
network.wlan.netmask='255.255.255.0'
network.wlan.ip6assign='60'
network.wwan=interface
network.wwan.ifname='apcli0'
network.wwan.hostname='Omega-3DA9'
network.wwan.ipaddr='192.168.5.88'
network.wwan.netmask='255.255.240.0'
network.wwan.gateway='192.168.5.254'
network.wwan.dns='8.8.8.8'
network.wwan.proto='dhcp'
network.wan=interface
network.wan.ifname='eth0'
network.wan.proto='dhcp'
root@Omega-3DA9:/# uci show wireless
wireless.radio0=wifi-device
wireless.radio0.type='ralink'
wireless.radio0.variant='mt7628'
wireless.radio0.country='US'
wireless.radio0.hwmode='11g'
wireless.radio0.htmode='HT40'
wireless.radio0.channel='auto'
wireless.radio0.disabled='0'
wireless.radio0.device_mode='apsta'
wireless.radio0.op_mode='preference'
wireless.ap=wifi-iface
wireless.ap.device='radio0'
wireless.ap.mode='ap'
wireless.ap.network='wlan'
wireless.ap.ifname='ra0'
wireless.ap.encryption='psk2'
wireless.ap.key='12345678'
wireless.ap.disabled='0'
wireless.ap.ssid='Omega-3DA9'
wireless.sta=wifi-iface
wireless.sta.device='radio0'
wireless.sta.mode='sta'
wireless.sta.ifname='apcli0'
wireless.sta.encryption='psk2'
wireless.sta.network='wwan'
wireless.sta.led='omega2p:blue:wifi'
wireless.sta.disabled='0'
wireless.sta.key='&lt;MY_PASSWORD&gt;'
wireless.sta.ssid='&lt;MY_SSID&gt;'
wireless.@wifi-config[0]=wifi-config
wireless.@wifi-config[0].key='&lt;MY_PASSWORD&gt;'
wireless.@wifi-config[0].ssid='&lt;MY_SSID&gt;'
wireless.@wifi-config[0].encryption='psk2'
root@Omega-3DA9:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=117 time=43.152 ms
64 bytes from 8.8.8.8: seq=1 ttl=117 time=27.060 ms
64 bytes from 8.8.8.8: seq=2 ttl=117 time=33.935 ms
64 bytes from 8.8.8.8: seq=3 ttl=117 time=43.808 ms
64 bytes from 8.8.8.8: seq=4 ttl=117 time=23.444 ms
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 23.444/34.279/43.808 ms
root@Omega-3DA9:/# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
 1  192.168.5.254 (192.168.5.254)  8.139 ms  3.263 ms  3.386 ms
 2  107-222-2-1.lightspeed.tpkaks.sbcglobal.net (107.222.2.1)  4.638 ms  5.771 ms  4.953 ms
 3  99.164.208.50 (99.164.208.50)  23.434 ms  15.245 ms  7.470 ms
 4  *  *  *
 5  *  *  *
 6  32.130.17.87 (32.130.17.87)  20.985 ms  23.270 ms  34.714 ms
 7  12.255.10.122 (12.255.10.122)  57.814 ms  12.255.10.120 (12.255.10.120)  26.544 ms  12.255.10.124 (12.255.10.124)  31.061 ms
 8  *  *  *
 9  dns.google (8.8.8.8)  20.466 ms  19.858 ms  27.595 ms
root@Omega-3DA9:/#
</code></pre>
]]></description><link>http://community.onion.io/post/25854</link><guid isPermaLink="true">http://community.onion.io/post/25854</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 15:29:05 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 15:35:06 GMT]]></title><description><![CDATA[<p dir="auto">And here's the ifconfig output with DHCP:</p>
<pre><code>
root@Omega-3DA9:/# ifconfig
apcli0    Link encap:Ethernet  HWaddr 88:1E:59:01:3D:AB
          inet addr:192.168.5.186  Bcast:192.168.15.255  Mask:255.255.240.0
          inet6 addr: fe80::8a1e:59ff:fe01:3dab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:1595 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-wlan   Link encap:Ethernet  HWaddr 88:1E:59:01:3D:A9
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::8a1e:59ff:fe01:3da9/64 Scope:Link
          inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:40 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:7305 (7.1 KiB)

eth0      Link encap:Ethernet  HWaddr 88:1E:59:01:3D:AA
          inet6 addr: fe80::8a1e:59ff:fe01:3daa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:533 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:176870 (172.7 KiB)
          Interrupt:5

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:286 errors:0 dropped:0 overruns:0 frame:0
          TX packets:286 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20014 (19.5 KiB)  TX bytes:20014 (19.5 KiB)

ra0       Link encap:Ethernet  HWaddr 88:1E:59:01:3D:A9
          inet6 addr: fe80::8a1e:59ff:fe01:3da9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:6
</code></pre>
]]></description><link>http://community.onion.io/post/25855</link><guid isPermaLink="true">http://community.onion.io/post/25855</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 15:35:06 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 15:46:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> Please post your ifconfig when using static ip also output of route command.</p>
]]></description><link>http://community.onion.io/post/25856</link><guid isPermaLink="true">http://community.onion.io/post/25856</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 27 Feb 2024 15:46:22 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 18:03:13 GMT]]></title><description><![CDATA[<p dir="auto">Here are those outputs using static IP.<br />
I also pinged the gateway at the end</p>
<pre><code>root@Omega-3DA9:/# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network unreachable
root@Omega-3DA9:/#
root@Omega-3DA9:/# traceroute 8.8.8.8
traceroute to 8.8.8.8 (8.8.8.8), 30 hops max, 38 byte packets
 1traceroute: sendto: Network unreachable
root@Omega-3DA9:/#
root@Omega-3DA9:/# ifconfig
apcli0    Link encap:Ethernet  HWaddr 88:1E:59:01:3D:AB
          inet addr:192.168.5.88  Bcast:192.168.15.255  Mask:255.255.240.0
          inet6 addr: fe80::8a1e:59ff:fe01:3dab/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:9316 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

br-wlan   Link encap:Ethernet  HWaddr 88:1E:59:01:3D:A9
          inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0
          inet6 addr: fe80::8a1e:59ff:fe01:3da9/64 Scope:Link
          inet6 addr: fd1d:48c4:7633::1/60 Scope:Global
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:5768 (5.6 KiB)

eth0      Link encap:Ethernet  HWaddr 88:1E:59:01:3D:AA
          inet6 addr: fe80::8a1e:59ff:fe01:3daa/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2929 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:994005 (970.7 KiB)
          Interrupt:5

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:294 errors:0 dropped:0 overruns:0 frame:0
          TX packets:294 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:20510 (20.0 KiB)  TX bytes:20510 (20.0 KiB)

ra0       Link encap:Ethernet  HWaddr 88:1E:59:01:3D:A9
          inet6 addr: fe80::8a1e:59ff:fe01:3da9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:6

root@Omega-3DA9:/# ping 192.168.5.254
PING 192.168.5.254 (192.168.5.254): 56 data bytes
64 bytes from 192.168.5.254: seq=0 ttl=64 time=11.243 ms
64 bytes from 192.168.5.254: seq=1 ttl=64 time=6.952 ms
64 bytes from 192.168.5.254: seq=2 ttl=64 time=10.411 ms
64 bytes from 192.168.5.254: seq=3 ttl=64 time=4.754 ms
64 bytes from 192.168.5.254: seq=4 ttl=64 time=5.466 ms

</code></pre>
]]></description><link>http://community.onion.io/post/25857</link><guid isPermaLink="true">http://community.onion.io/post/25857</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 18:03:13 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 18:09:59 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> please add the output of the route command.  If you set the static ip to 192.168.5.186 does it work? Not sure if you are behind a firewall</p>
]]></description><link>http://community.onion.io/post/25858</link><guid isPermaLink="true">http://community.onion.io/post/25858</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 27 Feb 2024 18:09:59 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 18:17:03 GMT]]></title><description><![CDATA[<p dir="auto">The output to traceroute is in there.  It says 'Network unreachable'.<br />
I just tried setting static ip to 192.168.5.186 and that also does NOT work.</p>
]]></description><link>http://community.onion.io/post/25860</link><guid isPermaLink="true">http://community.onion.io/post/25860</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 18:17:03 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 18:18:36 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> I'm asking for the output of the "route" command, not "traceroute"</p>
]]></description><link>http://community.onion.io/post/25861</link><guid isPermaLink="true">http://community.onion.io/post/25861</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 27 Feb 2024 18:18:36 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 18:20:09 GMT]]></title><description><![CDATA[<p dir="auto">Oh sorry my mistake.</p>
<pre><code>
root@Omega-3DA9:/# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.240.0   U     0      0        0 apcli0
192.168.3.0     *               255.255.255.0   U     0      0        0 br-wlan
</code></pre>
]]></description><link>http://community.onion.io/post/25862</link><guid isPermaLink="true">http://community.onion.io/post/25862</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 18:20:09 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 18:42:27 GMT]]></title><description><![CDATA[<p dir="auto">And with dhcp:</p>
<pre><code>round-trip min/avg/max = 19.924/24.932/32.018 ms
root@Omega-3DA9:/# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.5.254   0.0.0.0         UG    0      0        0 apcli0
192.168.0.0     *               255.255.240.0   U     0      0        0 apcli0
192.168.3.0     *               255.255.255.0   U     0      0        0 br-wlan
</code></pre>
]]></description><link>http://community.onion.io/post/25863</link><guid isPermaLink="true">http://community.onion.io/post/25863</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 18:42:27 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 18:57:23 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> As I expected there is no default route, so you need to add one, add to your network configuration:</p>
<p dir="auto">option gateway '192.168.5.254'<br />
option netmask '255.255.240.0'</p>
]]></description><link>http://community.onion.io/post/25864</link><guid isPermaLink="true">http://community.onion.io/post/25864</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Tue, 27 Feb 2024 18:57:23 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Tue, 27 Feb 2024 19:26:27 GMT]]></title><description><![CDATA[<p dir="auto">I thought I had done that.  Am I missing something?</p>
<pre><code>
root@Omega-3DA9:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd1d:48c4:7633::/48'

config interface 'wlan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.3.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wwan'
        option ifname 'apcli0'
        option hostname 'Omega-3DA9'
        option netmask '255.255.240.0'
        option gateway '192.168.5.254'
        option dns '8.8.8.8'
        option ipaddr '192.168.5.186'
        option proto 'static'

config interface 'wan'
        option ifname 'eth0'
        option proto 'dhcp'
</code></pre>
]]></description><link>http://community.onion.io/post/25865</link><guid isPermaLink="true">http://community.onion.io/post/25865</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Tue, 27 Feb 2024 19:26:27 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Wed, 28 Feb 2024 07:22:27 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> Add the following to your /etc/config/network</p>
<p dir="auto">config route 'default'<br />
option interface 'wwan'<br />
option gateway '192.168.5.254'<br />
option target '0.0.0.0'<br />
option netmask '0.0.0.0'<br />
option metric '0'</p>
<p dir="auto">Then restart.</p>
]]></description><link>http://community.onion.io/post/25866</link><guid isPermaLink="true">http://community.onion.io/post/25866</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Wed, 28 Feb 2024 07:22:27 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Wed, 28 Feb 2024 15:11:20 GMT]]></title><description><![CDATA[<p dir="auto">Still no luck.</p>
<pre><code>
root@Omega-3DA9:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd1d:48c4:7633::/48'

config interface 'wlan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.3.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wwan'
        option ifname 'apcli0'
        option hostname 'Omega-3DA9'
        option proto 'static'
        option ipaddr '192.168.5.88'
        option gateway '192.168.5.254'
        option netmask '255.255.240.0'
        option dns '8.8.8.8'

config interface 'wan'
        option ifname 'eth0'
        option proto 'dhcp'

config route 'default'
        option interface 'wwan'
        option gateway '192.168.5.254'
        option target '0.0.0.0'
        option netmask '0.0.0.0'
        option metric '0'

root@Omega-3DA9:/etc/config# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.240.0   U     0      0        0 apcli0
192.168.3.0     *               255.255.255.0   U     0      0        0 br-wlan
root@Omega-3DA9:/etc/config# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network unreachable
</code></pre>
]]></description><link>http://community.onion.io/post/25867</link><guid isPermaLink="true">http://community.onion.io/post/25867</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Wed, 28 Feb 2024 15:11:20 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Wed, 28 Feb 2024 17:00:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a>  try this:</p>
<p dir="auto">ip route add default via 192.168.5.254 dev apcli0<br />
ip route get 8.8.8.8<br />
ping 8.8.8.8</p>
]]></description><link>http://community.onion.io/post/25868</link><guid isPermaLink="true">http://community.onion.io/post/25868</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Wed, 28 Feb 2024 17:00:18 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Thu, 29 Feb 2024 04:24:40 GMT]]></title><description><![CDATA[<p dir="auto">That worked!</p>
<pre><code>
root@Omega-3DA9:/etc/config# ip route add default via 192.168.5.254 dev apcli0
root@Omega-3DA9:/etc/config# ip route get 8.8.8.8
8.8.8.8 via 192.168.5.254 dev apcli0  src 192.168.5.88
root@Omega-3DA9:/etc/config# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
64 bytes from 8.8.8.8: seq=0 ttl=117 time=21.440 ms
64 bytes from 8.8.8.8: seq=1 ttl=117 time=21.110 ms
64 bytes from 8.8.8.8: seq=2 ttl=117 time=24.762 ms
64 bytes from 8.8.8.8: seq=3 ttl=117 time=30.374 ms
64 bytes from 8.8.8.8: seq=4 ttl=117 time=39.886 ms
^C
--- 8.8.8.8 ping statistics ---
5 packets transmitted, 5 packets received, 0% packet loss
round-trip min/avg/max = 21.110/27.514/39.886 ms
root@Omega-3DA9:/etc/config# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
default         192.168.5.254   0.0.0.0         UG    0      0        0 apcli0
192.168.0.0     *               255.255.240.0   U     0      0        0 apcli0
192.168.3.0     *               255.255.255.0   U     0      0        0 br-wlan
</code></pre>
]]></description><link>http://community.onion.io/post/25869</link><guid isPermaLink="true">http://community.onion.io/post/25869</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Thu, 29 Feb 2024 04:24:40 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Thu, 29 Feb 2024 04:29:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> ok but it will stop working when you restart the network, please post your entire /etc/config/network file</p>
]]></description><link>http://community.onion.io/post/25870</link><guid isPermaLink="true">http://community.onion.io/post/25870</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Thu, 29 Feb 2024 04:29:12 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Thu, 29 Feb 2024 04:33:02 GMT]]></title><description><![CDATA[<pre><code>
root@Omega-3DA9:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd1d:48c4:7633::/48'

config interface 'wlan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.3.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wwan'
        option ifname 'apcli0'
        option hostname 'Omega-3DA9'
        option proto 'static'
        option ipaddr '192.168.5.88'
        option netmask '255.255.240.0'
        option gateway '192.168.5.254'
        option dns '8.8.8.8'

config interface 'wan'
        option ifname 'eth0'
        option proto 'dhcp'

config route 'default'
        option interface 'wwan'
        option gateway '192.168.5.254'
        option target '0.0.0.0'
        option netmask '0.0.0.0'
        option metric '0'

</code></pre>
]]></description><link>http://community.onion.io/post/25871</link><guid isPermaLink="true">http://community.onion.io/post/25871</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Thu, 29 Feb 2024 04:33:02 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Thu, 29 Feb 2024 04:40:43 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> In the default route, remove target and netmask options. Then use service network restart or reboot and check your routing table again.</p>
]]></description><link>http://community.onion.io/post/25872</link><guid isPermaLink="true">http://community.onion.io/post/25872</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Thu, 29 Feb 2024 04:40:43 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Thu, 29 Feb 2024 06:01:25 GMT]]></title><description><![CDATA[<p dir="auto">Not working with those options removed.</p>
<pre><code>

root@Omega-3DA9:/# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.240.0   U     0      0        0 apcli0
192.168.3.0     *               255.255.255.0   U     0      0        0 br-wlan
root@Omega-3DA9:/# cd etc/config
root@Omega-3DA9:/etc/config# cat network

config interface 'loopback'
        option ifname 'lo'
        option proto 'static'
        option ipaddr '127.0.0.1'
        option netmask '255.0.0.0'

config globals 'globals'
        option ula_prefix 'fd1d:48c4:7633::/48'

config interface 'wlan'
        option type 'bridge'
        option proto 'static'
        option ipaddr '192.168.3.1'
        option netmask '255.255.255.0'
        option ip6assign '60'

config interface 'wwan'
        option ifname 'apcli0'
        option hostname 'Omega-3DA9'
        option proto 'static'
        option ipaddr '192.168.5.88'
        option netmask '255.255.240.0'
        option gateway '192.168.5.254'
        option dns '8.8.8.8'

config interface 'wan'
        option ifname 'eth0'
        option proto 'dhcp'

config route 'default'
        option interface 'wwan'
        option gateway '192.168.5.254'
        option metric '0'

root@Omega-3DA9:/etc/config# ping 8.8.8.8
PING 8.8.8.8 (8.8.8.8): 56 data bytes
ping: sendto: Network unreachable
root@Omega-3DA9:/etc/config# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.240.0   U     0      0        0 apcli0
192.168.3.0     *               255.255.255.0   U     0      0        0 br-wlan</code></pre>
]]></description><link>http://community.onion.io/post/25873</link><guid isPermaLink="true">http://community.onion.io/post/25873</guid><dc:creator><![CDATA[drmoeder]]></dc:creator><pubDate>Thu, 29 Feb 2024 06:01:25 GMT</pubDate></item><item><title><![CDATA[Reply to Disable AP and set static IP on Thu, 29 Feb 2024 06:36:03 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/9231">@drmoeder</a> hmmm not sure why this is not updating the routing table, perhaps someone else has an idea. But here is a workaround for you as I'm going to be offline for the next 24 hours so this will fix the issue for you.</p>
<p dir="auto">Put this script in /etc/hotplug.d/iface/40-wwan-up-route:</p>
<p dir="auto">#!/bin/sh<br />
TARGET_INTERFACE="wwan"</p>
<p dir="auto">logger -t route  "Starting interface hotplug device: ${DEVICE} Action: ${ACTION} Interface: ${INTERFACE}"<br />
if [ "$ACTION" = "ifup" -a "$INTERFACE" = "$TARGET_INTERFACE" ]; then<br />
logger -t route "IFUP ${DEVICE}"<br />
/sbin/ip route add default via 192.168.5.254 dev "${DEVICE}"  &gt;/dev/null</p>
<p dir="auto">fi</p>
<p dir="auto">This scripts runs whenever the interface comes up and adds the route. I just wrote this for you based on another of my scripts so give it a test and let me know how you go. As you can see it logs the activity so if you have any issues post those log entries.</p>
]]></description><link>http://community.onion.io/post/25874</link><guid isPermaLink="true">http://community.onion.io/post/25874</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Thu, 29 Feb 2024 06:36:03 GMT</pubDate></item></channel></rss>