Re: Fedora: internet connection

From: P Gentry (rdgentry1_at_cablelynx.com)
Date: 05/07/04


Date: 7 May 2004 11:02:13 -0700

Phrank <> wrote in message news:<f0tl90d487s2hnp2hs7i9fk5rcl6bq6cq3@4ax.com>...
> Hello,
>
> I hope I can explain this clearly enough. I wrote a week or so ago
> about my recently installed Linux being slow at booting up and not
> connecting to the internet. For the most part, I've worked out the
> slow bootup; I disabled sendmail and added a line to the hosts file,
> and this sped things up a lot. But I've still got a roadblock during
> bootup when it comes to the part where it says:
> "ntpd opening firewall for input from clock2.redhat.com port 123"
> ....it then hangs for a couple minutes and finally says,
> "port 123 iptables v1.2.8 host/network not found /FAILED/."
> and then continues to bootup. ...

ntpd is trying to connect to a n(etwork)t(ime)p(rotocol) server to get
an "accurate" time to help keep your clock accurate. The connection
fails then takes ~3 minutes to time out. For now I would forget about
this by not running ntpd till other issues are resolved. System
Settings -- Date & Time and uncheck "Enable Network Time Protocol"

> ... However, once booted up, it apparently
> has no internet connection; I open up the Mozilla browser, and when I
> try to go to any website, it just hangs there for a couple minutes and
> finally gives me a 'host not found' type error message. ...

This usually indicates a DNS problem -- ie., a problem resovling names
to IP addresses. See below.

> ... I'm connected
> to the internet via a Charter Pipeline cable modem, and the connection
> works just fine when I boot up with my Windows XP partition. ...

I was helping someone else about the same time with Charter and web
browsing problems -- think they set it aside as the fix was slow
getting there ... See below.

> ... I took
> my computer back up to the computer club at school, and it works fine
> even with my Linus when hooked up there on the schools internet
> connection, however, it's not back here.

You're acquiring a different network configuration at school on a
different network.

> I ran ifconfig like they told me at school, and the 'inet addr:' line
> they said to look for that shows whether or not I'm connected to the
> internet is definitely there. ...

This simply tells whether you acquired an IP address. It doesn't say
anything about the rest of your network configuration. See below.

> ... Here's what my ifconfig file shows:
>
> etho Link encap:Ethernet HWaddr 00:0A:E6:94:E8:29
> inet addr:24.247.115.27 Bcast:255.255.255.255
> Mask:255.255.252.0
> UP BROADCAST RUNNING MULTICAST MTU:1500
> METRIC:1
> RX packets:57425 errors:0 dropped:0 overruns:0 frame:0
> TX packets:372 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:1000
> RX bytes:4194222 (3.9 Mb) TX bytes:33799 (33.0 Kb)
> Interrupt:10 Base address:0xd400
>
> lo Link encap:Local Loopback
> inet addr:127.0.0.1 Mask:255.0.0.0
> UP LOOPBACK RUNNING MTU:16436 Metric:1
> RX packets:2994 errors:0 dropped:0 overruns:0 frame:0
> TX packets: 2994 errors:0 dropped:0 overruns:0 carrier:0
> collisions:0 txqueuelen:0
> RX bytes:2490032 (2.3 Mb) TX bytes:2490032 (2.3 Mb)
>
> I was told the second line that starts inet addr: is the one that
> shows whether or not you are connected. They told me that if I was
> connected, then that stuff would be there. So, the question is why is
> that stuff there but I can't seem to connect to web pages?
>
> I feel like I'm slowly but surely getting there. I hope someone can
> help me get past this last hurdle. Thanks!
>
> Frank

First, you may want to talk to Charter techs lurking here:
http://www.dslreports.com/forum/charter

You need three pieces to set up your network connection:
-- an IP address, which you have now
-- a GW (gateway router) to provide the first link to Charter's
network
-- at least one name server (DNS) to resolve those names in browser
urls to IP addresses (other person had 4)

We need output from the following commands/files:
$ /sbin/route -n
or you can use
$ netstat -rn
These will tell us your routing table setup -- something that should
be provided by Charter (via DHCP) when you boot up. Especially the
entry marked as GW -- your gateway router.

The contents of these files:
/var/lib/dhcp/dhclient-eth0.leases
/etc/sysconfig/networking/profiles/default/resolv.conf
/etc/sysconfig/networking/profiles/default/ifcfg-eth0
/etc/sysconfig/networking/profiles/default/hosts
/etc/sysconfig/networking/profiles/default/network
/etc/hosts
/etc/host.conf
/etc/nsswitch.conf
These will tell us the rest of the story about your network
configuration.

>From an XP prompt (as Admin?) the output of:
> ipconfig /all

For now I'm assuming you have not futz'd with the iptables rules or
Lokkit settings. Have to pick somewhere to keep the output down to
managable size ;-)

As a general rule, someone new to Linux should use the gui tools to
set up the networking configuration because of the number and varied
location of these files. And different distros use different
files/locations, so ...

Also, get yourself the RH manuals if you don't have them already. The
RH9 ones will get you going with Fedora Core.
https://www.redhat.com/docs/manuals/linux/
Especially the Reference Guide and Customization Guide for networking
stuff -- that's an official term, "stuff" ;-)

For testing purposes it would be good to have other browser, eyeball
tests:
ftp://152.2.210.109/ ibiblio ftp site
http://216.92.28.162/ Inside OE site
See if results are same with Moz and Konqueror as a double check.

Something never resolved with other person's problem was the question
of whether Charter has trouble with dual boot setups (with no router)
since the dhcp client-id is different in XP than in Linux. It is
possible to make a Linux client send the same id, but not sure if it's
necessary. Sometimes (always?) is with Verizon.

BTW, you have a rather incomplete and very strange dns ptr record:
 Lookup 24.247.115.27 (24.247.115.27.kzo.mi.chartermi.net) in 21+11
Zones
  AS: [NO_ROUTE]
 Net 24/8 APNIC-AP ? Milton, New South Wales

I assume you're in Kalamazoo and not near New South Wales. Looks like
Charter's upgrade rollout is not very clean or someone's asleep ;-(

hth,
prg
email above disabled



Relevant Pages

  • Re: What does the "Configure email and Internet Connection Wizard"
    ... > the CEICW does (listed under "Configure Email and Internet Connection ... > Configure E-mail and Internet Connection Wizard is designed to correctly ... > configure settings for your network, firewall, secure Web site, and e-mail ...
    (microsoft.public.windows.server.sbs)
  • Re: What does the "Configure email and Internet Connection Wizard"
    ... Understanding the Configure E-mail and Internet Connection WizardThe ... Configure E-mail and Internet Connection Wizard is designed to correctly ... configure settings for your network, firewall, secure Web site, and e-mail ...
    (microsoft.public.windows.server.sbs)
  • Re: Outgoing POP3 email missing/lost/not received
    ... ISP's mail server instead of the domain name on the ... SUMMARY OF SETTINGS FOR CONFIGURE E-MAIL AND INTERNET ... Internet Connection Wizard. ... After the wizard completes, the following network connection ...
    (microsoft.public.windows.server.sbs)
  • Re: Wireless network issue for two SP2 computers
    ... with DSL Internet ... When I pull up view network computers, when I try to add network ... >The LAN connection also has TCP/IP, with Client for MS Networks, QoS Packet ... If the computers run the original or SP1 versions of Windows XP, ...
    (microsoft.public.windowsxp.network_web)
  • Re: Remote Access and Outlook Web Access on SBS 2003
    ... SUMMARY OF SETTINGS FOR CONFIGURE E-MAIL AND INTERNET ... Internet Connection Wizard. ... network, firewall, secure Web site, and e-mail. ... NETWORKING CONFIGURATION SUMMARY ...
    (microsoft.public.windows.server.sbs)