Error

Matthew Basch <[email protected]>
Newsgroups gmane.network.nocat
Message-ID <BD94F2BF.3D5%[email protected]>
Sorry my vision is bad when reading from the screen

Can't bind to port 5280... Not 5200

~Matt














Hello everyone...this is my first post.  I am a fairly experienced
windows/mac user but sort of new to the Linux game.  I am trying to setup a
nocat gateway, and am having a few issues.

I have installed Red Hat 9.1.  I am pretty sure I have all the right service
setup.  I got DHCP to successfully run, and I also made the nocat gateway
and configured the nocat.conf file.  I have this running on my wireless
network.  My wireless client gets an ip address, but I simply get "page can
not be found" and I am not redirected to the login portal.

My gateway's nics are configured as follows

eth0 is 10.1.10.2 255.255.255.0 gateway: 10.1.10.1
eth1 is 192.168.0.1 255.255.255.0

I can ping websites such as google and get responses
I can also use lynx to get what I need

Nocat is set to start at boot...it starts successfully

If I tell nocat to start again (after boot) by running
/usr/local/nocat/gateway/bin/gateway, the following happens

Resetting firewall
Detected InternalDevice 'eth1'
Detected ExternalDevice 'eth0'
Detected LocalNetwork '192.168.0.0/255.255.255.0'
Can't bind to port 5200: Address already in use (Is another gateway already
running?)
Can't call method "sockhost" on an undefined value at
/usr/local/nocat/gateway/bin/../lib/NoCat/Gateway.pm line 64.


I think the port 5200 thing is just because it is already running at start
(unless I'm wrong)
I don't know about the "sockhost" thing
Also, I am unsure what the difference between internal and external device
is.  eth0 is connected to the internet (for me) and eth1 is connected to the
access point and serving dhcp

And yea... My client machine gets
dnsnameserver: baschauth.wifi.arl
Ip 192.168.0.209
 255.255.255.0
Gw 192.168.0.1
Dns 192.168.0.1

Page can not be found
If I type in 192.168.0.1:5280/splash.html
I get a page can not be found (s:)

lastly:  lo
I am not sure what the purpose of the local loop back is...or if it would
cause this problem...running ifconfig it says

Inet address 127.0.0.1 mask 255.0.0.0



Any help would be tremendously appreciated

Thanks in advance,
Matt Basch
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.