[opensuse] Re: host file question
James Hatridge wrote:
OK, its been a long time since I've set this up and I must be missing something.
This is my host file:
192.168.0.101 warthog.de warthog
But when I try to use FF to go to warthog or warthog.de it times out. When I use www.warthog.de I get some odd dating site. I checked my Apache server is up and running. So I must be missing something.
First, ping warthog to check that the IP address above is really used by your system and that the network interface is activated. When that works, telnet warthog 80 Output should be Trying 192.168.0.101... Connected to warthog. Escape character is '^]'. Then enter GET / and the HTML code of your Apache homepage should be output on the terminal. If that works, check the proxy configuration of FF, that it doesn't use a proxy for warthog or warthog.de. That's configured in Edit > Preferences > Advanced > Network > Settings. That www.warthog.de doesn't work is clear, you didn't add that name in your hosts file, and warthog.de is an officially registered domain by a Swedish guy with a DNS record for that server. You saw that server's Web site then. HTH, Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod, Roedermark, Germany Email: jschrod@acm.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
HI all! On Monday, June 11, 2012 10:23:41 PM Joachim Schrod wrote:
James Hatridge wrote:
OK, its been a long time since I've set this up and I must be missing something.
This is my host file:
192.168.0.101 warthog.de warthog
But when I try to use FF to go to warthog or warthog.de it times out. When I use www.warthog.de I get some odd dating site. I checked my Apache server is up and running. So I must be missing something.
First, ping warthog to check that the IP address above is really used by your system and that the network interface is activated.
This is what I get when I do a ping: PING warthog.de (192.168.0.101) 56(84) bytes of data. ^C --- warthog.de ping statistics --- 6 packets transmitted, 0 received, 100% packet loss, time 4999ms ####### This is not right, but I'm not sure what's wrong. Ideas? Thanks! JIM
When that works, telnet warthog 80 Output should be Trying 192.168.0.101... Connected to warthog. Escape character is '^]'. Then enter GET / and the HTML code of your Apache homepage should be output on the terminal.
If that works, check the proxy configuration of FF, that it doesn't use a proxy for warthog or warthog.de. That's configured in Edit > Preferences > Advanced > Network > Settings.
That www.warthog.de doesn't work is clear, you didn't add that name in your hosts file, and warthog.de is an officially registered domain by a Swedish guy with a DNS record for that server. You saw that server's Web site then.
HTH, Joachim
-- Check out my stamp & postcard collection! Yankee GO HOME! Anti-US Propaganda on stamps, postcards, envelopes, and labels http://yankeegohome.18-t.com/ Check out my online Delcampe store http://www.delcampe.net/stores/warthogbulletin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Hatridge writes:
On Monday, June 11, 2012 10:23:41 PM Joachim Schrod wrote:
James Hatridge wrote:
OK, its been a long time since I've set this up and I must be missing something.
This is my host file:
192.168.0.101 warthog.de warthog
But when I try to use FF to go to warthog or warthog.de it times out. When I use www.warthog.de I get some odd dating site. I checked my Apache server is up and running. So I must be missing something.
First, ping warthog to check that the IP address above is really used by your system and that the network interface is activated.
This is what I get when I do a ping:
PING warthog.de (192.168.0.101) 56(84) bytes of data. ^C --- warthog.de ping statistics --- 6 packets transmitted, 0 received, 100% packet loss, time 4999ms
Use the command ip addr ls to check which interfaces are active (they must have UP listed in the angles after the interface name) and which IP addresses are assigned to them. Either your network interface is not up, or the IP address is not correct. Joachim -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Joachim Schrod, Roedermark, Germany Email: jschrod@acm.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
On Monday, June 11, 2012 11:19:11 PM Joachim Schrod wrote: This is what I get: warthog@linux-4qfd:~> ip addr ls 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 brd 127.255.255.255 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether e0:cb:4e:a7:58:ff brd ff:ff:ff:ff:ff:ff inet 192.168.178.21/24 brd 192.168.178.255 scope global eth0 inet6 fe80::e2cb:4eff:fea7:58ff/64 scope link valid_lft forever preferred_lft forever ############ I noticed when I boot the system that the boot messages show that networkmanager fails. But I can't find the boot log anymore so I can't be 100% sure that was what I saw. Where is that log now? And could that be part of the problem? Thanks! JIM -- Check out my stamp & postcard collection! Yankee GO HOME! Anti-US Propaganda on stamps, postcards, envelopes, and labels http://yankeegohome.18-t.com/ Check out my online Delcampe store http://www.delcampe.net/stores/warthogbulletin -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 2012-06-11 23:40, James Hatridge wrote:
I noticed when I boot the system that the boot messages show that networkmanager fails.
which is correct if you are using, as you should, traditional ifup networking.
But I can't find the boot log anymore so I can't be 100%
Because in 12.1 with systemd it does not exist; the entries go instead to the messages log. - -- Cheers / Saludos, Carlos E. R. (from 11.4 x86_64 "Celadon" at Telcontar) -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.16 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/WZ6gACgkQIvFNjefEBxqU0wCeJX//deqnqZ2jwkLypnKEasHS LCcAn2cbGwuwT1+9Ky1Du9oPJpnOIpu8 =u6hc -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
James Hatridge wrote:
This is not right, but I'm not sure what's wrong.
Ideas?
What happens if you ping 192.168.0.101 -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (4)
-
Carlos E. R.
-
James Hatridge
-
James Knott
-
Joachim Schrod