Luci not available anymore. SSH works

# netstat -nlp | grep uhttpd
tcp        0      0 0.0.0.0:80              0.0.0.0:*               LISTEN      3019/uhttpd
tcp        0      0 0.0.0.0:443             0.0.0.0:*               LISTEN      3019/uhttpd
tcp        0      0 :::80                   :::*                    LISTEN      3019/uhttpd
tcp        0      0 :::443                  :::*                    LISTEN      3019/uhttpd

you should try http://192.168.1.1 :smiley:

1 Like

I don't have any listeners for uhttpd ... what is wrong?

opkg update; opkg --force-maintainer --force-reinstall install uhttpd
service uhttpd restart; sleep 5; logread -l 20
2 Likes

thank you @vgaetera, this worked for me, at least with this i could access to Luci, BUT the root password didn't work anymore, not eaven changing ir from ssh with "passwd".

Finally did a firstboot and configured all again, but why could this happen?? i wasnt eaven at home, just arrived and no internet.

Are you running a router with 8 MB or less of flash?

See, for example,

thank you for your answer, i think that is not the case, got the same router as who started the thread, xiaomi 3G. It's got 128Mb flash.

gallery

is It ok "/dev/root" to be 100%??

Yes, /dev/root being 100% full is normal (it's the read-only squashfs part). There have been two bugs haunting predominantly NAND based devices (like yours) with kernel 4.14, affecting ubi and overlayfs. These bugs should be fixed in the master snapshots, but they didn't make it for 18.06.1.

Leaved home 9AM, everything working normally, arrived home nos 9PM, got no internet connection, can't acces yo luci, can't acces to 192.168.1.1

BUT i can acces all Google sites, ONLY google sites... what can i do? if i ifconfig & traceroute i see:

so router is there, but i can't access to It, why? what could have changed? nobody else lives at home lol

I didn't see proof you accessed a Google site, just proof that you can do a DNS lookup.

  • Do you assign Public DNS servers in your LAN via the DHCP Option No. 6?
  • What happens if you allow the traceroute to complete?
  • Can you ping google.es?

Well i didn't put any probe of that, but i can assure you that I can, YouTube, Google, Google drive, all of them work fine in chromium.

  1. I'm accessing to router by wireless, and no, there's no DNS configured, it's all in automatic. if I do it wired, happens exactly the same.

2.traceroute never completes, i think it loses trace. you can see it on the next pic.

  1. you see next pic.

by the way, you can see YouTube working in the background.

Show the output of route command

You default go Google on ipv6 means your ipv6 talked to Google dns I which is on ipv6
My client faced similar issue 3 month back

As far as I remember it was due to ipv6 only

Just disable ipv6 where ever you had left it enabled
Disable wan6 intergace too if
Make uhttpd listen on ipv4 only
Try this and let me know . I ll get back on this in evening
If you intentionally enabled ipv6 or have it's requirements then also tell here

All your ipv6 when gone from here the output of route command will show only ipv4 address

The problem is that i got no access to router right now, will try to install openwrt firmware again from 0, and this time will try to eliminate all ipv6 configurations.

By the way, i don't know if i need that ipv6 config, i got fiber optic internet, got a ONT (nokia I-010G-P) that makes the bridge to OLT, the fiber optic goes to ONT and then i got a LAN cable to Xiaomi 3G WAN. In r3g, got VLAN 832 configured to connect from WAN, and then i got boh eth.0 & eth.1 "linked" to WAN port.

Nothing of that need ipv6 doesnt it?? thank you.

Right now I'm fighting to get the tftp server thing done... in linux this is a bit complicated, and I got no windows PC anymore, hope I can make it by today!

These are all Layer 2 (Link Layer) descriptions. No information listed would indicate whether this connection would be IPv4-only or dual stacked.

Ok, anyway at this moment I got no access at all to router, if I turn it on starts and I can connect via WiFi, but when I connect LAN ports, nothing happens on PC, there's no LAN connection in normal boot.

If I boot into u-boot with serial to USB, got the same problem, got tftp running ok, but I have no LAN connection to router so I can't TFTP....

At this moment, is it normal that I can't ping 192.168.31.1 Wich is the IP of router?

I think LAN ports are not working, I mean a phisical fail.

My pc has dead LAN, will open a new thread to see if somebody can help me with that. Tried now with other linux pc and i got it running again, make it a firstboot from Failsafe mode.

This time configured VLAN of my company but after that configured only ipv4 interface, ipv6 interface is down and unconfigured, internet is working ok without ISP router.

Time will tell if ipv6 was guilty for bringing router down. If it works correctly more than a week, for me this can be closed, eaven when it's not my thread, thank you @anton.

And thank you guys for so much help.

1 Like

Ok well, not eaven 24 hours working perfect, it's down again. I don't know what's happening, but only last around 24 hours working ok, any ideas???

I'm thinking of quiting all the openwrt thing and leave the ISP router, can't be flashing every 24 hours.

Slightly OT here. I see a series of "show me the output of this command", followed by "show me the output of that command..." There's a script to collect information about all the usual suspects so that the OP can issue one command and get everyone started.

The getstats.sh script of my OpenWrtScripts repo collects a lot of troubleshooting info into a single file. Check out the sample output. Additions, updates welcomed.

@anton - As the OP, if this is still a problem, please consider running the program (instructions are in the top of the script file.)

2 Likes