1834818 Members
2943 Online
110070 Solutions
New Discussion

LAN fails at startup

 
sandro ginnari_1
Occasional Advisor

LAN fails at startup

Hi,
during startup I get two Fail signals on LAN configuration.
I had a look at the rc.log file and this is what I found:
ERROR: usage: add destination [netmask]gateway [metric]
/sbin/rc2.d/S370 named start

and:

ERROR: usage: add destination [netmask]gateway [metric]
/sbin/rc2.d/S440 named start

What I see gives me the idea that something with routing is not working.
What do I have to change?
Whitch file must I edit??

Thanks Sandro

10 REPLIES 10

Re: LAN fails at startup

Look at the file

/etc/rc.config.d/netconf

there should be an entry for ROUTE_COUNT[0] make sure that the value is set.

good luck.
Thomas G. Tudrej
Frequent Advisor

Re: LAN fails at startup

hi,

/etc/rc.config.d/netconf has to have correct settings and syntax. make sure ip, gateway , mask, broadcast, route count, etc. are all correct.
Alan Riggs
Honored Contributor

Re: LAN fails at startup

You seem to be experiencing an error in a route add command. I suggest checking the configuration file /etc/rc.config.d/netconf. Your routing information should look something like:

ROUTE_DESTINATION[1]=default
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=192.14.16.254
ROUTE_COUNT[1]=1
ROUTE_ARGS[1]=""

(add a netmask or additional args as required).
CHRIS_ANORUO
Honored Contributor

Re: LAN fails at startup

The file to edit is /etc/rc.config.d/netconf
Make a copy of the file edit the section that is as follows:
INTERFACE_NAME[0]=lan0
IP_ADDRESS[0]=W.X.Y.Z
SUBNET_MASK[0]=(Depends on Class)
BROADCAST_ADDRESS[0]=""
LANCONFIG_ARGS[0]="ether"
DHCP_ENABLE[0]=0

Cheers
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
CHRIS_ANORUO
Honored Contributor

Re: LAN fails at startup

As a continuition:
Update the following with zero in the square brackets:

ROUTE_DESTINATION[0]=default
ROUTE_MASK[0]=""
ROUTE_GATEWAY[0]=W.X.Y.Z
ROUTE_COUNT[0]=1
ROUTE_ARGS[0]=""

Regards

When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
CHRIS_ANORUO
Honored Contributor

Re: LAN fails at startup

Goto /sbin/init.d and run the command: net stop;
then net start

Cheers!
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.
sandro ginnari_1
Occasional Advisor

Re: LAN fails at startup

Nop
no way I tryed to configure netconf and parameteres you give me are the same but I always get the same error!!
Probably theres some strange beast inside!!
:))
Any other suggestions???
Dale McNamara
Frequent Advisor

Re: LAN fails at startup

The errors you are getting doesn't involve routing directly, it has to do with your system trying to start the name daemon (DNS).

Is your system set up as a name server? If not, you can go into SAM and disable this service. If your system is set up as a name server, you may have problems with the configuration.
Alan Riggs
Honored Contributor

Re: LAN fails at startup

Wait. I somehow missed the part of your post where you said it was named that was registering the error. This could indicate an error in your /etc/named.boot file, or perhaps the absence of a required patch.

I suggest examining your named.boot file (man named for format) and searching the patch database for named patches.
CHRIS_ANORUO
Honored Contributor

Re: LAN fails at startup

Check you /var/adm/syslog/syslog.log file for possible errors and get back your findings please.
When We Seek To Discover The Best In Others, We Somehow Bring Out The Best In Ourselves.