1837650 Members
2701 Online
110117 Solutions
New Discussion

no network after setup

 
Henry Chua
Super Advisor

no network after setup

Hi guys,

I have just reinstall HP10.20b on my system. I have configure the netconf and hosts files but somehow I just cant get connected to the network.. how could this be.. try pinging to and fro the system but just cant get anything..
Anyone knows what wrong with this?

thank u for your help!!
12 REPLIES 12
Steven E. Protter
Exalted Contributor

Re: no network after setup

There may be a program called set_parms in 10.20

This release is obsolete, and may not have the feature. If it does you can run that and set up the network again.

If that does not work look at the following items:

/etc/rc.config.d/netconf

It may have a problem or an ip address not legal on your network.

NIC card in the back: is the cable plugged in, are there green lights.

If you have a graphics card, you can run xstm and test the hardware. The NIC could have failed.

If the system is capable, consider a supported HP-UX release.

Its easier to help you if you post the system model of the box you are working with.

Regards,

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Bill Hassell
Honored Contributor

Re: no network after setup

You are probably better off running the set_parms command. It will ask you all the necessary questions and fix the config files. Be sure to run:

set_parms hostname
set_parms ip_address
set_parms addl_netwrk


Bill Hassell, sysadmin
Henry Chua
Super Advisor

Re: no network after setup

hi thanks guys, I will try those out..
the version I am using is:
HP-UX gx24_hp B.10.20 A 9000/743 and model is 9000/743i/A.

Many thanks!
Henry Chua
Super Advisor

Re: no network after setup

HI Guys for the "set_parms addl_netwrk ", what do I have to add for the DNS query?

Thanks!

Stf
Esteemed Contributor

Re: no network after setup

You won't be force to add DNS entry, if you want to add it you have 2 choices:

1. may be you have internel DNS so you add it...

2. you can add the DNS of your provider

if you have both an internal and a provider DNS you can add its.

Stf ;-)
Ralph Grothe
Honored Contributor

Re: no network after setup

If you run a DNS server for your domain at your site (what is quite likely) you're supposed to enter the IP address of your primary DNS server, and the name of the domain you're box belongs to.
If you use hosts files omit these questions.
The script should only populate the files
/etc/resolv.conf and /etc/nsswitch.conf for you, which probably is quicker done by manual editing.
Madness, thy name is system administration
Vishwas Pai
Regular Advisor

Re: no network after setup


Your DNS servers ip address (the one used
(ex: nslookup) for getting the ip<->hostname
conversion). DNS server is also known as name-service.


HTH - vishwas
Bill Hassell
Honored Contributor

Re: no network after setup

If your computer is just used internally with no access to the Internet, or your company does not have a DNS server, you don't need to set one up. Remove the vfile /etc/resolv.conf and /etc/nsswitch.conf which now defaults your system to using /etc/hosts for all hostname-to-IP lookups.


Bill Hassell, sysadmin
Henry Chua
Super Advisor

Re: no network after setup

Somehow I still cant get connected to my network.. Really dunno wat I have done wrong. I have attached the netconf and hosts file, hope u can help me find out wat did I do wrongly..


THank u!!
Henry Chua
Super Advisor

Re: no network after setup

Here is the netconf file
Stf
Esteemed Contributor

Re: no network after setup

In your netconf file comment your last lines:
ROUTE_DESTINATION[1]="default"
ROUTE_MASK[1]=""
ROUTE_GATEWAY[1]=gateway
ROUTE_COUNT[1]=1

Stf ;-)
Stf
Esteemed Contributor

Re: no network after setup

Sorry after commenting your lines in netconf do a:

# /sbin/init.d/net stop
# /sbin/init.d/net start

Stf ;-)