Good day to everybody.
I'm using Wordpress on Apache localy to keep a diary (it's convenient because of the tags).
When I'm connected to any network (be it wired or wireless) my Apache (and Wordpress, of course) works just fine. But as soon as I go offline, I can't access the web server neither through browser nor by telneting to the 80th port.
Pinging localhost works just fine.
Here is my ifconfig when offline and when online:
Online:
Code:
eth0 Link encap:Ethernet HWaddr 00:24:54:6f:07:aa
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18
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:14853 errors:0 dropped:0 overruns:0 frame:0
TX packets:14853 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2995483 (2.9 MB) TX bytes:2995483 (2.9 MB)
wlan0 Link encap:Ethernet HWaddr f0:7b:cb:6f:07:87
inet addr:192.168.1.118 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::f27b:cbff:fe6f:787/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:32568 errors:0 dropped:0 overruns:0 frame:0
TX packets:26589 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28070593 (28.0 MB) TX bytes:4854448 (4.8 MB)
Offline:
Code:
eth0 Link encap:Ethernet HWaddr 00:24:54:6f:07:aa
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:18
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:14939 errors:0 dropped:0 overruns:0 frame:0
TX packets:14939 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:3001943 (3.0 MB) TX bytes:3001943 (3.0 MB)
wlan0 Link encap:Ethernet HWaddr f0:7b:cb:6f:07:87
inet6 addr: fe80::f27b:cbff:fe6f:787/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:32655 errors:0 dropped:0 overruns:0 frame:0
TX packets:26653 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:28142321 (28.1 MB) TX bytes:4867453 (4.8 MB)
And here is nmap listing.
Online:
Code:
root@V:/home/v# nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-06 17:21 MSD
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
Interesting ports on localhost (127.0.0.1):
Not shown: 996 closed ports
PORT STATE SERVICE
80/tcp open http
631/tcp open ipp
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt
Nmap done: 1 IP address (1 host up) scanned in 0.51 seconds
Offline:
Code:
root@V:/home/v# nmap localhost
Starting Nmap 5.00 ( http://nmap.org ) at 2010-05-06 17:23 MSD
Warning: Hostname localhost resolves to 2 IPs. Using 127.0.0.1.
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Interesting ports on localhost (127.0.0.1):
Not shown: 996 closed ports
PORT STATE SERVICE
80/tcp open http
631/tcp open ipp
3306/tcp open mysql
10000/tcp open snet-sensor-mgmt
Nmap done: 1 IP address (1 host up) scanned in 0.39 seconds
Is the routing? Maybe I should manually create a route to localhost while offline?
P.S. As you all can see, i'm using webmin on 10000th port. When offline it's unavailable as well.
Thanks alot.
Bookmarks