changing IP adress from outside

Hello,

does someone know how to change the IPadress of a QNX4 Box from
outside?

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

I wonder if arp can do the job?

Horst.Hannappel@mbs-software.de wrote in news:a3bhv9$j5s$1@mbs-software.de:

does someone know how to change the IPadress of a QNX4 Box from
outside?

Depends how far outside you are, and how “inside” the QNX4 box is right now
(behind a firewall?).

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

I wonder if arp can do the job?

Try DHCP.


Cheers,
Adam

QNX Software Systems Ltd.
[ amallory@qnx.com ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <pschon@baste.magibox.net>

<Horst.Hannappel@mbs-software.de> wrote in message
news:a3bhv9$j5s$1@mbs-software.de

Hello,

does someone know how to change the IPadress of a QNX4 Box from
outside?

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

I wonder if arp can do the job?

ARP is a protocol to resolved IP Adresse versus MAC address (on ethernet).
It has nothing to do with IP addresse allocation per se. It is use by one
machine to find the MAC addresses of other machines.

Horst.Hannappel@mbs-software.de wrote:

Hello,

does someone know how to change the IPadress of a QNX4 Box from
outside?

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

Enable FLEET on the box and the admin box, so you can do a:

SOCK= ifconfig enX

-xtang

I wonder if arp can do the job?

does someone know how to change the IPadress of a QNX4 Box from
outside?

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

I wonder if arp can do the job?

Find a manual of a ethernet switch or hub with management, and do it the
same way.

E.g. when you power it up for the first time, it will have address X.Y.Z.V
Enable user to telnet into the box and change IP address to whatever he
wants.
(phlip_nophoton could be handy)

You can also use a serial port to acomplish the same task.

Pavol Kycina

Xiaodan Tang <xtang@qnx.com> wrote:

Horst.Hannappel@mbs-software.de > wrote:
Hello,

does someone know how to change the IPadress of a QNX4 Box from
outside?

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

Enable FLEET on the box and the admin box, so you can do a:

SOCK= ifconfig enX <ip

the admin box does not necessarily run QNX.

-xtang

I wonder if arp can do the job?

rarp?

Adam Mallory <amallory@qnx.com> wrote:

Horst.Hannappel@mbs-software.de > wrote in news:a3bhv9$j5s$> 1@mbs-software.de> :

does someone know how to change the IPadress of a QNX4 Box from
outside?

Depends how far outside you are, and how “inside” the QNX4 box is right now
(behind a firewall?).

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

I wonder if arp can do the job?

Try DHCP.

i want to do that only to get access when my box is inserted into a new network.
After that the box is assigned a new fixed IPadress by adjusting the startup sript
via telnet/ftp.


Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

Does this system not have an keyboard and monitor? If it does, you can use
ifconfig to interactivly change it’s IP address. You would then have to
change your start up scripts and config files (i.e. /etc/hosts)

If there is no keyboard/monitor, perhaps you could pre-configure the system
with some arbitrary IP address and telnet support. You could then adjust
the config files and reboot.


Bill Caroselli – 1(626) 824-7983
Q-TPS Consulting
QTPS@EarthLink.net


<Horst.Hannappel@mbs-software.de> wrote in message
news:a3bqjp$lmj$1@mbs-software.de

Adam Mallory <> amallory@qnx.com> > wrote:
Horst.Hannappel@mbs-software.de > wrote in
news:a3bhv9$j5s$> 1@mbs-software.de> :

does someone know how to change the IPadress of a QNX4 Box from
outside?

Depends how far outside you are, and how “inside” the QNX4 box is right
now
(behind a firewall?).

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he
needs
to assign an IP adress to the Box.

I wonder if arp can do the job?

Try DHCP.

i want to do that only to get access when my box is inserted into a new
network.
After that the box is assigned a new fixed IPadress by adjusting the
startup sript
via telnet/ftp.

\

Cheers,
Adam

QNX Software Systems Ltd.
[ > amallory@qnx.com > ]

With a PC, I always felt limited by the software available.
On Unix, I am limited only by my knowledge.
–Peter J. Schoenster <> pschon@baste.magibox.net

On Thu, 31 Jan 2002 16:15:53 +0000 (UTC), Horst.Hannappel@mbs-software.de wrote:

Adam Mallory <> amallory@qnx.com> > wrote:
Horst.Hannappel@mbs-software.de > wrote in news:a3bhv9$j5s$> 1@mbs-software.de> :

does someone know how to change the IPadress of a QNX4 Box from
outside?

Depends how far outside you are, and how “inside” the QNX4 box is right now
(behind a firewall?).

The problem is, that i want to deliver a Box without user interface.
The customer will place it in his existing TCP/IP Ethernet. Now he needs
to assign an IP adress to the Box.

I wonder if arp can do the job?

Try DHCP.

i want to do that only to get access when my box is inserted into a new network.
After that the box is assigned a new fixed IPadress by adjusting the startup sript
via telnet/ftp.

You can potentially do this via a script, and checking whether a file exists
or not. The file serves as a non-volatile means to say the box has been
attached to a network at least once.

Horst.Hannappel@mbs-software.de wrote in
news:a3bpav$kms$1@mbs-software.de:

the admin box does not necessarily run QNX.

Well that makes things even less clear - it will be harder for us to
suggest how to access a QNX box remotely when you can’t say what
environment/utilities the admin box will have.

I wonder if arp can do the job?

rarp?

ARP is only used in discovery, it doesn’t actually change IP addresses of
other machines (reverse arp will get you nothing as well). I am also
confused as to how you can ensure that one of these remote boxen, won’t be
behind a firewall (you won’t be able to “see” it network-wise). This would
be why I suggest dhcp, since it’s pretty common on networks, can be served
from many different OS’s and the box could autoconfigure itself w/o
intervention.

You could write a simple program to allow a serial terminal interface
(which can be accessed by any computer with a terminal program and a serial
port) and offer a basic interface for configuring network information.
This is what many switches and router do in case there is a reason you
can’t access them across the network.

-Adam