Re: Problem with Cable Moden & Router.
- From: Bit Twister <BitTwister@xxxxxxxxxxxxxxxx>
- Date: Thu, 04 Jan 2007 21:49:32 -0600
On Fri, 05 Jan 2007 03:14:32 GMT, Mark Healey wrote:
I had to make a few changes to your script. su-ing to root on my system
doesn't give you roots path so I had to add full path names in the script.
Guessing you did a su root
not a su - root :(
Here is the output.
Thu Jan 4 17:05:15 PST 2007
Fedora Core release 5 (Bordeaux)
Fedora Core release 5 (Bordeaux)
======== /etc/version ==========
msec security level is
======== chkconfig --list ==========
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
======== 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
The .invalid will help external email filters to drop any email that
might escape your system.
============== 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
line with UG Flags is default route line.
Your resolv.conf indicates dhclient so for some reason your
/sbin/dhclient-script did not set the gateway.
Also, your mods to my script did not show your
/etc/sysconfig/network-scripts/ifcfg-eth* settings.
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
======== /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
It also looked for something that wasn't there and spat out this.
cat: /etc/version: No such file or directory
Yeah, that is a Mandriva Linux file. I fixed the script to manage it.
I re-installed fc5 at noon and found that bug.
Now when you make a hostname change, I recommend a reboot so all
services/deamons get the new host name.
.
- Follow-Ups:
- Re: Problem with Cable Moden & Router.
- From: Mark Healey
- Re: Problem with Cable Moden & Router.
- References:
- Problem with Cable Moden & Router.
- From: Mark Healey
- Re: Problem with Cable Moden & Router.
- From: Bit Twister
- Re: Problem with Cable Moden & Router.
- From: Mark Healey
- Re: Problem with Cable Moden & Router.
- From: Bit Twister
- Re: Problem with Cable Moden & Router.
- From: Mark Healey
- Re: Problem with Cable Moden & Router.
- From: Bit Twister
- Re: Problem with Cable Moden & Router.
- From: Mark Healey
- Problem with Cable Moden & Router.
- Prev by Date: Re: Problem with Cable Moden & Router.
- Next by Date: Re: how can I find where the software locates after installation?
- Previous by thread: Re: Problem with Cable Moden & Router.
- Next by thread: Re: Problem with Cable Moden & Router.
- Index(es):
Relevant Pages
|