Re: Problem with Cable Moden & Router.



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

.