View Single Post

  #6 (permalink)  
Old 07-03-2005
anhhung@gmail.com
 
Posts: n/a
Default Re: Need Help on setting up a small home site.

Hi . I did as you advised but:
--- As I mentioned, my ADSL modem ( Router) has a web-based
configuration site. Perhaps I have to explain a bit. It's a website
that allow anyone on the network to configure the modem without having
to telnet to it or use a specific software.Unfortunately, this web tool
binds itselft to 192.168.1.1, therefore, telling Apache to listens to
that address is impossible : (99)Cannot assign requested address:
make_sock: could not bind to address 192.168.1.1:80
no listening sockets available, shutting down
Unable to open logs
[FAILED]
-- I then tried to bind it to 192.168.1.33 since my computer is
the one that connects to the modem ( no LAN). 192.168.1.33 points me to
the exact testing website in /var/www/html as well as
anhhung.dyndns.info, in the case I have already added
anhhung.dyndns.info as an alias to /etc/hosts. Without doing so,
anhhung.dyndns.info still points to the website of the modem(
192.168.1.1).Outsiders cannot access the dns and now, they can access
it,but not to my website, to the modem website.
--- Perhaps, imo, apache is no problem, the problem lies in the
Modem configuration. It's bad, I don't know much about port forwarding
and stuff like this. Hoping that someone uses the same modem like me :)
.. It's a Zyxel Prestige 660R-61C.
---- ifconfig gives me the following :
/sbin/ifconfig
eth0 Link encap:Ethernet HWaddr 00:06:7B:0A:F7:8D
inet addr:192.168.1.33 Bcast:192.168.1.255
Mask:255.255.255.0
inet6 addr: fe80::206:7bff:fe0a:f78d/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:294042 errors:0 dropped:0 overruns:0 frame:0
TX packets:262312 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:376563074 (359.1 MiB) TX bytes:18905997 (18.0 MiB)
Interrupt:11 Base address:0xc000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:588 errors:0 dropped:0 overruns:0 frame:0
TX packets:588 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:337254 (329.3 KiB) TX bytes:337254 (329.3 KiB)
Then 192.168.1.33 should be my IP address.
I use NAT, there are two options : SUAonly and Fullfeature. But SUA
must be used if I have one public WAN address and the latter is for
more than one. How do I know that I have one or many Wan puplic
address. I obtain my IP address from ISP. If NAT-SUA or FullFeature is
the right tool for port forwarding, how come it won't work. I've tried
editting everything to 192.168.1.33 port 80 both SUA and Full feature
alternatively but fails. I really have no idea what's going. Anyone
having experience with the modem please help me out.