Re: Problem with Cable Moden & Router.



Mark Healey wrote:
On Thu, 04 Jan 2007 21:49:32 -0600, Bit Twister wrote:

On Fri, 05 Jan 2007 03:14:32 GMT, Mark Healey wrote:

avahi-daemon 0:off 1:off 2:off 3:on 4:on 5:on 6:off

I recommend you turn that service off, can cause slow DNS lookups. Command:
service avahi-daemon stop
chkconfig avahi-daemon off

Before I do that, what does it do?

======== hostname ==========
localhost

I recommand a Fully Qualifed Domain Name (FQDN) for your node.
Local web, email servers and whatnot like a FQDN name.

Example with suggestion:
darkstar.mylan.invalid

I wasn't given one by my cable company.

============== route =================
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0

Thar she blows, no default gateway route, see my example

Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.2.0 0.0.0.0 255.255.255.0 U 10 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 10 0 0 eth0
127.0.0.0 0.0.0.0 255.0.0.0 U 0 0 0 lo
0.0.0.0 192.168.2.1 0.0.0.0 UG 10 0 0 eth0

Shouldn't it be getting that information from the router.

Also, your mods to my script did not show your
/etc/sysconfig/network-scripts/ifcfg-eth* settings.

That's because the file doesn't exist.

I did get fc5 installed today and my scipt works :)

If you changed eth0 to static, that would explain what is going on.
You would have to add a gateway ip to /etc/sysconfig/network

It was static when I installed FC5.


======== /etc/sysconfig/network ==========
NETWORKING=yes
HOSTNAME=

There is where you can set FQDN node.domain used during cold start and
read by other scripts sourcing /etc/sysconfig/network

$ cat /etc/sysconfig/network
NETWORKING=yes
HOSTNAME=wb1.home.invalid <===== there is mine
GATEWAY=192.168.2.1 <=== gateway on my lan since eth0 is static setup

============== /etc/hosts ===============
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost

You also might set the FQDN here

$ head -3 /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 wb1.home.invalid wb1 localhost.localdomain localhost

Again I wasn't assigned a domain name.

I'm still lost.

--
Mark Healey
marnkews ãt healeyopolis döt com

It was static when I installed FC5.

And it still can be. But you need your
router's address. For example, a
typical router has an address of
192.168.1.1- unless you have enabled
security restrictions within the router
itself, you can assign your box an
adress of say, 192.168.1.200,
and the router will recognize it
as a valid part of "it's" network.

If your box is the only one attached
to the router (why did you buy it
in the first place?), you could even
make the addy 192.168.1.2, and not
even use the dhcp functionality of
the router.

You still need to setup the router
to correctly get the IP from your
ISP. You also need to add the
router's address, as a gateway,
to your routing tables.

You're still touching base with
c.o.l, so I assume you have access
to Google, and ReHat's site. You need
to brush up on basic network
concepts, and consult RedHat for
the appropriate startup scripts.

You can change routing on the fly
with the 'route' command, but
for that info to persist- you
have to alter the pertinent boot
script.

I learned a good 50% of what I know
about networking from the man
pages (plus others!) that I listed
for you before.

RedHat (ca 9-ish, or FC1?) had a GUI
for setting up this stuff, but it's
important to know whats going
on 'under the hood'.

HTH,
Tarkin

.



Relevant Pages

  • Re: Problem with Cable Moden & Router.
    ... Mark Healey wrote: ... security restrictions within the router ... as a valid part of "it's" network. ... router's address, as a gateway, ...
    (comp.os.linux.misc)
  • Re: Using Remote Desktop From an SBS Domain
    ... After I thought about needing 3389 forwarded on my router to allow me to ... Remote Desktop "out" from a workstation on my SBS network to a host XP ... Hopefully next week I can attempt a connection while my ISP watches the ...
    (microsoft.public.windows.server.sbs)
  • Re: Linksys NAS200 Network Storage adapter
    ... The only two wireless network settings that are of any consequence are the SSID and the encryption method and password. ... either click the "Print Network Settings" button on the final screen of the Wizard or simply access the appropriate XML file and get at them that way and then use the information to configure the router manually as I explained earlier. ... I've read thru some of the MS web site on that product and it appears to do everything a NAS will do plus other cool features, such as, with an xbox360 with the wireless adapter, I can stream my video/pics to my TV for family viewing. ...
    (microsoft.public.windowsxp.network_web)
  • Re: OSPF routes not in routing table
    ... Here's the output of "sh ip ospf database router", ... "(Link Data) Router Interface address: ... Link connected to: a Stub Network ... Number of TOS metrics: 0 ...
    (comp.dcom.sys.cisco)
  • Re: Host Computer with ICS cannot be accessed
    ... You read my mind on the router thing. ... My home network is a piece of cake... ... >>firewall settings, not that I've found so far, but I'll keep looking. ... and we couldn't get file sharing working until ...
    (microsoft.public.windowsxp.network_web)