Operating System - HP-UX
1826778 Members
1509 Online
109702 Solutions
New Discussion

ADSL with HP-UX 11i on B1000

 
Jacopo Gandini
New Member

ADSL with HP-UX 11i on B1000

Hello,i'm new in this forum,and this is my first post.
I have a little problem with my adsl,last day i have tryed to configure my dsl router (ip 10.0.0.2)to connect b1000 (ip 10.0.0.5 netmask 255.255.255.0) in internet, the coonection between router and b1000 is ok but when i configure dns and gateway and i reboot,in the startup any network service (nfs,mail service ecc...)are in eternal "please wait...", after two hour the system start with no X and the root user is unavailable same as other user.
PLEASE HELP ME!!!
p.s. i say my english is no good.
3 REPLIES 3
Steven E. Protter
Exalted Contributor

Re: ADSL with HP-UX 11i on B1000

Your English is better than my English.

set the gateway in /etc/rc.config.d/netconf file to 10.0.0.2

Make sure you can ping that ip address before you start.

AT the console(keyboard on the workstation):

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

You could also reboot the machine.

Optionally you could also switch to dhcp and let the router set the ip address.

Your freeze at startup is probably due to an error in the netconf file

As root, run set_parms

Make the network setting including gateway the way they should be, restart the network and you should be all set.

Most dsl/cable routers require port forwarding to relay to a machine in the internal network.

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
Robert-Jan Goossens
Honored Contributor

Re: ADSL with HP-UX 11i on B1000

Hi Jacopo,

Is there a special reason for using DNS ?

Try to login with failsave session and use the info Steven gave you to correct your problem.

Best regards,
Robert-Jan
Jim Keeble
Trusted Contributor

Re: ADSL with HP-UX 11i on B1000

Hello Jacopo,

The problem you describe usually happens when the B1000's hostname (output of "hostname" command) does not match the IP name given to the network interface. Try to make sure your /etc/hosts file contains:

10.0.0.5

And the /etc/nsswitch.conf file checks "files" first for host lookups. Contains:

hosts: files [NOTFOUND=continue] dns