OpenWrt Forum Archive

Topic: Webif don't works with unofficial firmwares

The content of this topic has been archived on 29 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

I'm using X-wrt webif ( http://downloads.x-wrt.org/xwrt/kamikaz … latest.ipk ) on my ASUS Wl-500Gp with atheros wifi card. It's working with official firmware images like: http://downloads.openwrt.org/kamikaze/7 … uashfs.trx

But don't works with images especially for this router: http://openwrt.ertl-net.net/broadcom

I tried this two versions: http://openwrt.ertl-net.net/broadcom/im … uashfs.trx and http://openwrt.ertl-net.net/broadcom/im … uashfs.trx

The webif package installed succesfully, but if i enter the router address into a browser, nothing happens. ps command shows httpd running:

httpd -p 80 -h /www -r OpenWrt

But from the browser only connecting..., and no data received.

What's the problem?

(Last edited by LaySoft on 22 Oct 2007, 08:21)

LaySoft wrote:

But from the browser only connecting..., and no data received.

What's the problem?

I don't use any of these distro but my guess it that might be
iptables/firewall issue.

Firewall only affected if i use the webif remote, not local. Not? But for me don't works locally.

LaySoft wrote:

Firewall only affected if i use the webif remote, not local. Not? But for me don't works locally.

Normally yes but not a must.

As I mentioned, I don't use the distro so I don't know for sure. But it is possible to use iptables to block all INPUT to the box including coming from the LAN. Who knows, the author is so secure conscious that he is so desired to block all input to the firewall.

Cheers.

Ok, i see. And how can i recognise the problem is in the iptables?

LaySoft wrote:

Ok, i see. And how can i recognise the problem is in the iptables?

Log in to the system and type :-

   iptables -I INPUT -p tcp --dport 80 -j ACCEPT

Then verify if it fixes the problem. If yes, then it's a firewall/iptables problem.

My images using Busybox 1.7.2. I only find out later (confirmed by nbd) that AWX from Busybox 1.7.2 has problems and webif does not work...

mctiew: Your command don't affect the problem. Now i'm using the official version and waiting for the busybox fix.

The discussion might have continued from here.