No WAN ip after reboot

Report wireless and/or network connectivity problems in this forum.

Moderator: Moderators

11freddy
Posts: 18
Joined: Fri Mar 18, 2016 3:00 pm

Re: No WAN ip after reboot

Post by 11freddy »

Wish I had better news...

I replaced the etc/config/network file with the updated code and rebooted... nothing blew up but the behavior did not change from before.
For good measure I power cycled everything (modem+router), it came up fine. I rebooted the router and confirmed power cycling the modem or unplugging the RJ45 still allows the router to get an IP.

What now? Is there more we can do or we go back to the OpenWRT ticket and say the fix doesn't seem to work and there are three of us with the issue? Is there a hope this would be looked at sometime?

Thanks.

Lantis
Moderator
Posts: 6735
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: No WAN ip after reboot

Post by Lantis »

Hmm. That's disappointing.

Yea you're back off to openwrt and that ticket for support I believe.
Sorry mate I'm out of knowledge.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

11freddy
Posts: 18
Joined: Fri Mar 18, 2016 3:00 pm

Re: No WAN ip after reboot

Post by 11freddy »

Thanks again for your help...
I have updated the thread at OpenWRT https://dev.openwrt.org/ticket/18680 and added a link back to this one.
Is there anything else I could/should do to attract some attention there? I don't know anything about how that forum works.

Thanks.

chaos40
Posts: 13
Joined: Sat Feb 20, 2016 11:40 am

Re: No WAN ip after reboot

Post by chaos40 »

Hi!

Any progress on this topic?

BR,
Chaos40

zatokan
Posts: 2
Joined: Mon Nov 13, 2017 7:31 pm

Re: No WAN ip after reboot

Post by zatokan »

I'd just like to say that I too have this issue. TP-Link Archer C7 v2, no WAN IP on router restart. Has a solution been found?

jaylweb
Posts: 4
Joined: Sun Apr 30, 2017 1:26 pm

Re: No WAN ip after reboot

Post by jaylweb »

I have a TP-Link Archer C7 v2 with Gargoyle Version 1.10.0 having the same no WAN IP on router restart issue. The easiest way to resolve is to unplug the NIC from the WAN port and plug it back in. However, difficult to do if you are not at home AND definitely not a permanent solution.

The code that Lantis provided solved my issue, although, I had to make some changes because my ISP uses a cable modem and requires DHCP. I used WinSCP to connect to the file system and then made a duplicate of /etc/config/network as network.sav. I then modified /etc/config/network as follows.

Code: Select all


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 'fd15:1715:442e::/48'

config interface 'lan'
   option ifname 'eth0'
   option force_link '1'
   option type 'bridge'
   option proto 'static'
   option netmask '255.255.255.0'
   option ip6assign '60'
   option ipaddr '192.168.0.1'
   option dns '208.67.220.220 208.67.222.222'

config interface 'wan'
   option ifname 'eth1'
   option proto 'dhcp'
   option keepalive '3 5'
   option ipv6 '0'

config interface 'wan6'
   option ifname 'eth1'
   option proto 'dhcpv6'

config switch
   option name 'switch0'
   option reset '1'
   option enable_vlan '1'

config switch_vlan
   option device 'switch0'
   option vlan '1'
   option ports '2 3 4 5 6'

config switch_vlan
   option device 'switch0'
   option vlan '2'
   option ports '0 1'
   
After saving the newly updated /etc/config/network, I performed a reboot in the web browser. Lo and behold, the WAN IP came back! I did this several more times just to be sure as I was skeptical! LOL

The only difference from the OP that I can tell is that the OP had version 1.9 and I have version 1.10.0.

Thank you Lantis for finding that gem.

~jaylweb

User avatar
CBx86
Posts: 157
Joined: Sun Jan 05, 2014 5:43 pm
Location: Brazil

Re: No WAN ip after reboot

Post by CBx86 »

Hey!
What you change from default config?

Post Reply