Operating System - HP-UX
1833144 Members
3307 Online
110051 Solutions
New Discussion

Re: Hostname prompt during first boot

 
SOLVED
Go to solution
Joe Mayo
New Member

Hostname prompt during first boot

I have a couple of new HP systems that I don't think have been booted before. On one of them when I start it up it prompts if I want to connect to the network. I say yes and want to use a static IP address. It (sort of) prompts me for the host name. But what happens is that it says to enter a hostname, but before I can give it one it looks like it takes the default of "unknown" and then asks if that's what I want to do. I respond n, but that just puts me back at the spot where it looks like it already assumed "unknown again". I have a similar type problem on the other machine where it's asking for MP login. I enter in Admin, but before I can enter the password it tells me that the password isn't valid and prompts for login again. Any ideas? Could it be the may I have the monitor setup that's the carriage return isn't right.

Thanks,
Joe
11 REPLIES 11
Torsten.
Acclaimed Contributor

Re: Hostname prompt during first boot

Check if you are using a basic vt100 emulation, this is the best choice.
(not ansi or something like that).

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Chan 007
Honored Contributor

Re: Hostname prompt during first boot

Joe,

Reg MP, if Admin//Admin is not working try Oper/Oper. But the later is just for loging in. Call HP to reset the MP. They will do that.

What can't you try to boot it in the single user mode, and check you /etc/rc.config.d/netconf file?

Hope that will solve your problem

All the best
Chan
Lolupee
Regular Advisor

Re: Hostname prompt during first boot

"set_parm initial " command would allow you to reset all variables in the server as you want it.

just type "set_parms" and a display of all you could change would be displayed.

depending on the terminal you are using vt100 emulation would often work. However, if you are using HP terminal I will advice you use HP emulation.

If the terminal is respawning rapidly, you might have an issue with your inittab file but I doubt it.
Joe Mayo
New Member

Re: Hostname prompt during first boot

Thanks for the very quick reply. Maybe I'm not looking for this in the right place. I was trying to set termmode from the system console. I hit the "menu key" and then the "user system key" (the keys between F4 and F5 on the kyboard), then F8 for config keys, then F5 for terminal config. The options for termmode are HP, em220, em100, and em52, none of these seem to make a difference for me.

Thanks again,
Joe
Lolupee
Regular Advisor

Re: Hostname prompt during first boot

if you do echo $TERM and it gives you HP then you can proceed since you are using HP terminal.

otherwise, type "export TERM=HP"

this would set your terminal to HP emulation.

From your terminal, through terminal config, choose default and safe. You may also try on all others.

Check this and let us see the response.
James R. Ferguson
Acclaimed Contributor

Re: Hostname prompt during first boot

Hi Joe:

Try:

export TERM=70096

Regards!

...JRF...
Joe Mayo
New Member

Re: Hostname prompt during first boot

Thanks for all of the replies. The problem I have is that I can't seem to get into a mode where I can issue the suggested commands. On boot it takes me right to the questions about connecting to the network. If I interrupt the boot where it's doing a 'boot vmunix' it doesn't seem to recognize any of the commands other then 'help' and 'showauto', 'boot' is recognized, but that just gives me other errors. Any chance doing a clean install will make all of my problems magically go away?
Bill Hassell
Honored Contributor
Solution

Re: Hostname prompt during first boot

It sounds like some of the (many) settings on the terminal have ben changed. Turn off the terminal, hold the d (letter d) key down and turn the terminal back on. Release the d key once you see the reset message on the screen. My guess is that the terminal is in block mode so the ENTER key is transmitting the current line rather than the CR character. After restting the terminal, reboot the computer and see if you get a normal response. The HP terminals can be easily reconfigured when a bunch of binary data is sent to the terminal (like the cat of an executable file).


Bill Hassell, sysadmin
Devender Khatana
Honored Contributor

Re: Hostname prompt during first boot

Hi,

There are only two possibilities,either your keyboard connected to console has a faulty keyboard key or your TERM is not set properly.

I do not think you will have any option at OS level to set the terminal, rather try to set terminal to a proper emulation and using the alternate Enter key on keyboard.

HTH,
Devender
Impossible itself mentions "I m possible"
Torsten.
Acclaimed Contributor

Re: Hostname prompt during first boot

Reset your terminal to defaults like advised by Bill Hassel. Once this is done, configure the terminal to "em100" emulation. This works fine for the initial setup.

Hope this helps!
Regards
Torsten.

__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.

__________________________________________________
No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!   
Joe Mayo
New Member

Re: Hostname prompt during first boot

Thanks for all of the replies. Holding the "d" key down did the trick. Although the set_parms command came in handy as well since none of the network setting were set.