I've got a new Netgear R7800 with OpenWRT/LEDE installed. I'm hoping this router will replace my old Asus RT-N16 running Tomato. But I'm having trouble getting the R7800 to connect to my ISP. My provider is Frontier FIOS (previously Verizon FIOS).
The Asus RT-N16 w/Tomato doesn't really have much in the way of WAN settings. It just does DHCP to get an IP address and connects.
With the R7800/OpenWRT/LEDE, there are a lot of settings for WAN. I assumed at first I could just leave them all blank or at defaults but it seems that doesn't get me a connection. I've set the Protocol to DHCP but I haven't got a clue what, if anything, should go in fields like "Client ID" and "Vendor Class".
On the fiber-side, I'm got a Verizon ECB2200V with an ethernet port that connects to the router. I've tried powering it down for two hours as per some forum discussions I found but that had no effect. I also called Frontier and they forced a lease release and reset my line but still no go. The R7800 simply won't connect but if I swap back to the RT-N16, it requests and gets an IP almost instantly and gets a good connection.
Any suggestions on how to debug the problem with R7800?
Sometimes MAC filtering is being applied on the ISP side. To verify this, simply lookup the MAC of your Asus' WAN port, and override the MAC address of the WAN port of your R7800 with that address. Then see if it can connect.
Client ID and Vendor class can be left empty. If they were required the Asus router would need them as well.
I leaned if you configured a Client ID on the WAN, that the device is locked to the ONT for 2 hours.
I discovered this in DSLReports threads and by testing the results with my OpenWRT and Verizon FiOS ONT. Also, I discovered the anomaly when my ISP first installed service. I was able to use my own (non LEDE) router and PC...but as soon as I hooked up the ISP's router or mine with a Client ID, I had issues with the WAN port locked down.
Spoof the MAC of the currently working router;
Remove the Client ID and wait 2 hours, your ONT will no longer be locked; or
Call them and request they immediately drop the lease on their side (you cannot do this anymore with Verizon, you must wait 2 hours).
Hope this helps.
(I understand that you claim the the ISP already dropped the lease; but the instant you reconnected the device with a Client ID, it locked again. And "dropping the lease" at the ONT, doesn't appear to be the same as "dropping the Client ID" at the "headend..." In fact, it's no different that unplugging the ONT for 2 hours...So I would just remove the ID and wait 2 hours.)
How did I test:
On the LAN, I changed the MAC on WAN, Internet stopped
I changed the MAC back to default and removed Client ID
After 2 hours, I was able to change the MAC address, Internet continued to work
So it looks like the R7800 isn't even trying to get an IP for some reason.
I see the other suggestion that I need to do both using the old MAC address and waiting two hours. I haven't got any better ideas, so I'll give that a try next. I'm not optimistic just because I don't see any way with Tomato on the Asus to even set a Client ID, so it seems unlikely that's the problem. But I might as well give it a shot!
Using the old MAC address in the R7800 plus waiting two hours still doesn't do it. The R7800 still never sends an IP request to the FIOS network, it just sends the discover. But as soon as I switched back to my old router with Tomato, it connected immediately again.
Am I misunderstanding what I'm supposed to do for this two-hour FIOS wait? Do I need to power down the ECB2200V during the two hours or just leave things powered and wait for the time to elapse?
Also, any ideas on how I can verify that the R7800 isn't experiencing a hardware issue? I'm thinking maybe plug the WAN port on the R7800 into the LAN side of RT-N16 just to see if it can get an IP and bring the eth0 port up.
My problem is that I have a new R7800 with OpenWRT/LEDE and I can't get it to connect to my FIOS. My old Asus RT-N16 w/Tomato works fine though. I have no idea what the issue is, that's why I'm here, looking for advice on how to fix the problem. I have not tried setting a Client ID because I don't know what value to put in that field. I have tried changing the MAC value from the original one included with the R7800 to the one used by the RT-N16 but that didn't help. I have also tried waiting two hours (and now I've tried old MAC + waiting two hours, still no go).
OK...I understand now...let's be clear...here's my log (I performed a reboot just for you):
Mon Mar 26 10:20:43 2018 daemon.notice netifd: wan (1184): udhcpc: started, v1.25.1 Mon Mar 26 10:20:43 2018 daemon.notice netifd: wan (1184): udhcpc: sending discover
Mon Mar 26 10:20:43 2018 daemon.notice netifd: wan (1184): udhcpc: sending select for 71.xxx.xxx.xxx
Mon Mar 26 10:20:43 2018 daemon.notice netifd: wan (1184): udhcpc: lease of 71.xxx.xxx.xxx obtained, lease time 7200
DHCP operations fall into four phases: server discovery, IP lease offer, IP lease request, and IP lease acknowledgement. These stages are often abbreviated as DORA for discovery, offer, request, and acknowledgement.
Also, I noticed your offered WAN IP on the Tomato was a 192.168.1.0/24 address...please confirm that's not the LAN on your OpenWRT!
Oops. I hadn't even noticed those 192.* addresses in the Tomato log. Those are probably the DHCP daemon in Tomato handling requests from stuff on my LAN, not Tomato getting its own IP from the upstream WAN. Just ignore those, they're likely not relevant to the discussion, sorry! I guess all I know for sure then is that Tomato does get an IP from FIOS but OpenWRT/LEDE doesn't
At present I don't think SSH is set up on OpenWRT/LEDE, I was hoping to avoid having to do any command line stuff and get it working through the web UI. Don't suppose there's some way on the UI to get the info you want? Would it not be whatever is set up by default or is the question whether something about my setup in UI caused an unexpected change in /etc/config/network? Basically I just loaded the firmware image, plugged in the ethernet cable, and then checked that DHCP was the selected protocol for the WAN port.
In any case, I'll take another look at things when I get home this evening...
Sorry for the delay in replying, finally got a chance to work on this problem again this weekend. I did manage to ssh to the new R7800 openwrt/lede router and find the /etc/config/network file, which I've copied below. I've set the hostname to 'tomato' and the MAC to '20:CF:30:C6:2E:83' because those are the values used successfully by my current router, the Asus RT-N16 w/Tomato. Still no luck connecting it to FIOS, however.
Is there any way to put udhcpc into a debug or verbose mode where it would log the traffic between it and FIOS so maybe we could discover more about why it's unable to get an IP?
One other question. On my old router with Tomato, it's easy to do a release / renew on the WAN connection by clicking the "release" or "renew" buttons as needed and it displays the WAN status as the process happens. Where is the equivalent interface in the OpenWRT/LEDE UI to release or renew the dhcp lease on the WAN?
I ask because I found one forum discussion saying that swapping routers on FIOS is tricky because you have to explicitly do a release on the old router, then power it down, then swap to the new router and do a renew. It's no problem doing the release portion on Tomato, but when I plug in the OpenWRT/LEDE router, it still doesn't connect, and I can't find a "renew" button in the UI. If I later swap back to the Tomato router, it shows the FIOS connection as still in a disconnected state but reconnects as soon as I hit the "renew" button. Maybe if I could find a way to force OpenWRT/LEDE to do a release/renew, it would finally wake up and connect to FIOS.
I tried one more experiment that may provide some useful information. Here's what I did:
attached my old Asus/Tomato router to the FIOS connection
got a new IP from FIOS and verified it was working
wrote down the IP, gateway, etc.
swapped out routers and connected the R7800/OpenWRT/LEDE
configured the WAN interface on the R7800 as static using the info acquired by the Asus
Everything works fine and I have full access to FIOS through the R7800. Only good as a test obviously since it would break as soon as the lease expires but interesting. The only weird thing I noticed is that the WAN interface continued to be red even though it working. I expected it to turn green once it was connected like the LAN interface. Not sure what's up with that, maybe it realizes I'm doing something weird?
Next I switched the WAN interface back to DHCP and it immediately lost the IP, went down, and would not come back up. So I think this eliminates any remaining suspicion that I have a hardware issue like a bad ethernet port on the R7800. Looks to me like the DHCP software on OpenWRT is where the breakage is. For some reason it's just incapable of functioning with the FIOS DHCP servers. I wonder what DHCP software Tomato uses? Different than OpenWRT?
I've tried both MAC addresses. Neither works. Also I tried having Frontier reset the lease over the phone last week and that didn't help. Anyway, I can release it and get a new IP easily enough with my old router, or release the current one only but not get a new one, so I can swap routers to do the renew. So I really don't think the problem is on the FIOS end at this point. I think it's with udhcpc.