OpenWrt Forum Archive

Topic: State of NoCatSplash?

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

I tried to get NoCatSplash running, to no avail.

I try to open a Google page, and get the NoCat page, but then when I click "Login", nothing happens.  I can't get to the page.  What should be happening?  Is it missing some other package?  Mabye some modules?

root@OpenWrt:~# splashd
Message: Read 31 config items from /etc/nocat.conf

** WARNING **: Got command /usr/lib/nocat/initialize.fw from action ResetCmd
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found
/usr/lib/nocat/initialize.fw: 38: modprobe: not found

** WARNING **: ResetCmd of peer (null) returned 1
Message: starting main loop
DEBUG: adder: adding an item 0x4037a8
DEBUG: adder: queue == 0, waking all workers
DEBUG: worker 1026: dequeuing item 0x4037a8
Message: Checking peers for expiration
DEBUG: adder: adding an item 0x4037a8
DEBUG: adder: queue == 0, waking all workers
DEBUG: worker 1026: dequeuing item 0x4037a8
Message: Checking peers for expiration
DEBUG: adder: adding an item 0x4037a8
DEBUG: adder: queue == 0, waking all workers
DEBUG: worker 1026: dequeuing item 0x4037a8
Message: Checking peers for expiration
DEBUG: adder: adding an item 0x4037a8
DEBUG: adder: queue == 0, waking all workers
DEBUG: worker 1026: dequeuing item 0x4037a8
Message: Checking peers for expiration
Message: thread entering handle_read
Message: Header in: Host=www.google.com
Message: Header in: User-agent=Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040602 Firefox/0.8
Message: Header in: Accept=text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,video/x-mng,image/png,image/jpeg,image/gif;q=0.2,*/*;q=0.1
Message: Header in: Accept-language=en-us,en;q=0.5
Message: Header in: Accept-encoding=gzip,deflate
Message: Header in: Accept-charset=ISO-8859-1,utf-8;q=0.7,*;q=0.7
Message: Header in: Keep-alive=300
Message: Header in: Connection=keep-alive
Message: Header in: Referer=http://192.168.1.1:5280/?redirect=http%3A//www.google.com/linux
Message: Header in: Cookie=PREF=ID=511d3238170d9c4d:TM=1087060667:LM=1087060667:S=b5_9mHR1EVlPFEWc
Message: Header out: HTTP/1.1 302 Moved
Location: http://192.168.1.1:5280/?redirect=http%3A//www.google.com/linux

sounds like you are missing some kernel modules

Check the initialize.fw file there is this section

for module in ip_tables ipt_REDIRECT ipt_MASQUERADE ipt_MARK ipt_REJECT  
    ipt_TOS ipt_LOG iptable_mangle iptable_filter iptable_nat ip_nat_ftp 
    ip_conntrack ipt_mac ipt_state ipt_mark; do

    insmod $module
done

You are likely missing one or more of these modules.

for me it was ipt_mac

I'm confused.  Where are the modules?  Shouldn't they be part of the standard image?  I can't see any likely packages...

Wouldn't this all be compiled in?  I have no ip_tables, for example, yet I'm using iptables just fine...

We (Ewrt group) have NoCatSplash running okay.

Yes,

   The Iptables modules must be compiled in unless you are using nico's firmware (possibly others?) where he packaged several modules for use with his fimware. His repository can be found at http://nthill.free.fr/nicowrt/

Note: Nico has stated that this repository is experimental....

Located in the firmware directory along with the firmware binaries is a file called openwrt-kmodules.tar.bz2

Inside this archive are many modules including the Ipt_* modules you will need to run nocatsplash I am not sure if they would work with other firmware images your mileage may vary.

Hope this helps you out...
kwesibrunee

The discussion might have continued from here.