<?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[Static IP set, but no internet access?]]></title><description><![CDATA[<p dir="auto">I set a static IP address for my Onion2+.  Once I do that, I seem to no longer have internet access.<br />
Local wireless router is 192.168.1.1<br />
Static IP needed for the Onion is 192.168.1.202</p>
<p dir="auto">Somehow, I seem to have set this up wrong.  Any help appreciated !</p>
<p dir="auto">ifconfig and /etc/config/network shown below</p>
<p dir="auto">root@Omega-5F4C:~# ifconfig<br />
apcli0    Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4E<br />
inet addr:192.168.1.202  Bcast:192.168.1.255  Mask:255.255.255.0<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4e/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</p>
<p dir="auto">br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4C<br />
inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4c/64 Scope:Link<br />
inet6 addr: fd1d:48c4:7633::1/60 Scope:Global<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:932 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:587 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:134785 (131.6 KiB)  TX bytes:57535 (56.1 KiB)</p>
<p dir="auto">eth0      Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4D<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4d/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B)  TX bytes:17583 (17.1 KiB)<br />
Interrupt:5</p>
<p dir="auto">lo        Link encap:Local Loopback<br />
inet addr:127.0.0.1  Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING  MTU:65536  Metric:1<br />
RX packets:10 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:640 (640.0 B)  TX bytes:640 (640.0 B)</p>
<p dir="auto">ra0       Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4C<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4c/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:1033 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:576 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:169323 (165.3 KiB)  TX bytes:47803 (46.6 KiB)<br />
Interrupt:6</p>
<p dir="auto">here is my /etc/config/network</p>
<p dir="auto">config interface 'loopback'<br />
option ifname 'lo'<br />
option proto 'static'<br />
option ipaddr '127.0.0.1'<br />
option netmask '255.0.0.0'</p>
<p dir="auto">config globals 'globals'<br />
option ula_prefix 'fd1d:48c4:7633::/48'</p>
<p dir="auto">config interface 'wlan'<br />
option type 'bridge'<br />
option proto 'static'<br />
option hostname'MSPPlaner'<br />
option netmask '255.255.255.0'<br />
option ip6assign '60'<br />
option ipaddr '192.168.3.1'<br />
option dns-nameservers '75.75.75.75'</p>
<p dir="auto">config interface 'wwan'<br />
option ifname 'apcli0'<br />
option proto 'static'<br />
option ipaddr '192.168.1.202'<br />
option netmask '255.255.255.0'<br />
option hostname 'PVPlaner</p>
<p dir="auto">config interface 'wan'<br />
option ifname 'eth0'<br />
option proto 'dhcp'</p>
]]></description><link>http://community.onion.io/topic/4915/static-ip-set-but-no-internet-access</link><generator>RSS for Node</generator><lastBuildDate>Sat, 07 Mar 2026 18:33:12 GMT</lastBuildDate><atom:link href="http://community.onion.io/topic/4915.rss" rel="self" type="application/rss+xml"/><pubDate>Fri, 02 Dec 2022 19:13:37 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Static IP set, but no internet access? on Fri, 02 Dec 2022 19:13:37 GMT]]></title><description><![CDATA[<p dir="auto">I set a static IP address for my Onion2+.  Once I do that, I seem to no longer have internet access.<br />
Local wireless router is 192.168.1.1<br />
Static IP needed for the Onion is 192.168.1.202</p>
<p dir="auto">Somehow, I seem to have set this up wrong.  Any help appreciated !</p>
<p dir="auto">ifconfig and /etc/config/network shown below</p>
<p dir="auto">root@Omega-5F4C:~# ifconfig<br />
apcli0    Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4E<br />
inet addr:192.168.1.202  Bcast:192.168.1.255  Mask:255.255.255.0<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4e/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)</p>
<p dir="auto">br-wlan   Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4C<br />
inet addr:192.168.3.1  Bcast:192.168.3.255  Mask:255.255.255.0<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4c/64 Scope:Link<br />
inet6 addr: fd1d:48c4:7633::1/60 Scope:Global<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:932 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:587 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:134785 (131.6 KiB)  TX bytes:57535 (56.1 KiB)</p>
<p dir="auto">eth0      Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4D<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4d/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:0 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:59 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:0 (0.0 B)  TX bytes:17583 (17.1 KiB)<br />
Interrupt:5</p>
<p dir="auto">lo        Link encap:Local Loopback<br />
inet addr:127.0.0.1  Mask:255.0.0.0<br />
inet6 addr: ::1/128 Scope:Host<br />
UP LOOPBACK RUNNING  MTU:65536  Metric:1<br />
RX packets:10 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:10 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:640 (640.0 B)  TX bytes:640 (640.0 B)</p>
<p dir="auto">ra0       Link encap:Ethernet  HWaddr 40:A3:6B:C9:5F:4C<br />
inet6 addr: fe80::42a3:6bff:fec9:5f4c/64 Scope:Link<br />
UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1<br />
RX packets:1033 errors:0 dropped:0 overruns:0 frame:0<br />
TX packets:576 errors:0 dropped:0 overruns:0 carrier:0<br />
collisions:0 txqueuelen:1000<br />
RX bytes:169323 (165.3 KiB)  TX bytes:47803 (46.6 KiB)<br />
Interrupt:6</p>
<p dir="auto">here is my /etc/config/network</p>
<p dir="auto">config interface 'loopback'<br />
option ifname 'lo'<br />
option proto 'static'<br />
option ipaddr '127.0.0.1'<br />
option netmask '255.0.0.0'</p>
<p dir="auto">config globals 'globals'<br />
option ula_prefix 'fd1d:48c4:7633::/48'</p>
<p dir="auto">config interface 'wlan'<br />
option type 'bridge'<br />
option proto 'static'<br />
option hostname'MSPPlaner'<br />
option netmask '255.255.255.0'<br />
option ip6assign '60'<br />
option ipaddr '192.168.3.1'<br />
option dns-nameservers '75.75.75.75'</p>
<p dir="auto">config interface 'wwan'<br />
option ifname 'apcli0'<br />
option proto 'static'<br />
option ipaddr '192.168.1.202'<br />
option netmask '255.255.255.0'<br />
option hostname 'PVPlaner</p>
<p dir="auto">config interface 'wan'<br />
option ifname 'eth0'<br />
option proto 'dhcp'</p>
]]></description><link>http://community.onion.io/post/25039</link><guid isPermaLink="true">http://community.onion.io/post/25039</guid><dc:creator><![CDATA[Jim W]]></dc:creator><pubDate>Fri, 02 Dec 2022 19:13:37 GMT</pubDate></item><item><title><![CDATA[Reply to Static IP set, but no internet access? on Sat, 03 Dec 2022 02:29:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8757">@Jim-W</a> It looks ok to me, so I wonder if the issue is your DNS.  Can you ping 8.8.8.8 and 8.8.4.4 ?</p>
<p dir="auto">If receive a response then this is s DNS setup issue. When you use a static IP your're not using DHCP protocol which not only provides your IP but also provides your DNS configuration.  Edit /etc/resolv.conf  and add your DNS configuration here. If you're not sure which DNS to use you can use Google's  which are the IPs I asked you to ping above. Like so:</p>
<h1>Interface wwan</h1>
<p dir="auto">nameserver 8.8.8.8<br />
nameserver 8.8.4.4<br />
search localdomain</p>
]]></description><link>http://community.onion.io/post/25040</link><guid isPermaLink="true">http://community.onion.io/post/25040</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Sat, 03 Dec 2022 02:29:46 GMT</pubDate></item><item><title><![CDATA[Reply to Static IP set, but no internet access? on Sun, 04 Dec 2022 16:23:22 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6184">@crispyoz</a></p>
<p dir="auto">root@Omega-5F4C:~# ping 8.8.8.8<br />
PING 8.8.8.8 (8.8.8.8): 56 data bytes<br />
ping: sendto: Network unreachable<br />
root@Omega-5F4C:~#</p>
<p dir="auto">Strange.  I edited the resolv.conf to be</p>
<p dir="auto">nameserver 8.8.8.8<br />
nameserver 8.8.4.4<br />
search local domain</p>
<p dir="auto">and saved it.   Just to check I did a cat /etc/resolv.conf and is came back correctly.</p>
<p dir="auto">I rebooted the machine.  Still wont ping.  Checked resolv.conf and is has been changed back to its original</p>
<p dir="auto">search lan<br />
nameserver 127.0.0.1</p>
<p dir="auto">??<br />
Still cannot ping 8.8.8.8<br />
Looks like something is overwriting resolv.conf at reboot?</p>
]]></description><link>http://community.onion.io/post/25041</link><guid isPermaLink="true">http://community.onion.io/post/25041</guid><dc:creator><![CDATA[Jim W]]></dc:creator><pubDate>Sun, 04 Dec 2022 16:23:22 GMT</pubDate></item><item><title><![CDATA[Reply to Static IP set, but no internet access? on Sun, 04 Dec 2022 16:54:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8757">@Jim-W</a> The resolv.conf being overwitten will be caused by dnsmasq but if you can't ping then that is the issue that need to be sorted.</p>
<p dir="auto">Can you ping  192.168.1.1 ?</p>
<p dir="auto">Please post /etc/config/wireless and the output of route -e</p>
]]></description><link>http://community.onion.io/post/25042</link><guid isPermaLink="true">http://community.onion.io/post/25042</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Sun, 04 Dec 2022 16:54:20 GMT</pubDate></item><item><title><![CDATA[Reply to Static IP set, but no internet access? on Sun, 04 Dec 2022 17:38:41 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/6184">@crispyoz</a></p>
<p dir="auto">Could not ping 192.168.1.1<br />
However, found a solution in post Setting DNS with static IP config  (not sure how I missed it in my initial search).</p>
<p dir="auto">Changes wwan to</p>
<p dir="auto">config interface 'wwan'					<br />
option ifname 'apcli0'<br />
option proto 'static'<br />
option hostname 'Omega-XXXX'<br />
option ipaddr '192.168.1.202'			<br />
option netmask '255.255.255.0'<br />
option gateway '192.168.1.1'<br />
option dns '8.8.8.8'</p>
<p dir="auto">and added a line to rc.local</p>
<p dir="auto">route add default gw 192.168.1.1</p>
<p dir="auto">That seemed to do the trick.  I can ping the www (and more importantly the ntp server I needed to get the time from).</p>
<p dir="auto">Thank you for your assistance</p>
]]></description><link>http://community.onion.io/post/25043</link><guid isPermaLink="true">http://community.onion.io/post/25043</guid><dc:creator><![CDATA[Jim W]]></dc:creator><pubDate>Sun, 04 Dec 2022 17:38:41 GMT</pubDate></item><item><title><![CDATA[Reply to Static IP set, but no internet access? on Mon, 05 Dec 2022 00:55:01 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="http://community.onion.io/uid/8757">@Jim-W</a> The configuration changes you show are correct, personally I prefer to place them in the wireless config but either is fine. Adding the route to rc.local is not required.</p>
]]></description><link>http://community.onion.io/post/25044</link><guid isPermaLink="true">http://community.onion.io/post/25044</guid><dc:creator><![CDATA[crispyoz]]></dc:creator><pubDate>Mon, 05 Dec 2022 00:55:01 GMT</pubDate></item></channel></rss>