QuestionsAnswered.net
What's Your Question?

How to Trace an IP Address

Just in case you still don’t know, an internet protocol address or IP address is a set of numbers that uniquely identifies each device — such as computers, mobile phones, cameras and printers — connected to a TCP/IP network. All IP addresses have two main parts. One of the numerical parts identifies the network and the other one is the host. In some cases, obtaining an IP address is enough to trace it to a general location — or even right down to the device itself. So how can you trace an IP address? The following shows one way of obtaining particular IP address and how you can go about tracing its physical location.
Obtain the IP Address Via the Command Prompt.
One way of obtaining the IP address — say for a particular website — is by using the Windows command prompt. If you already have the IP address of the device you want to trace, proceed to the next step. Open the command prompt by typing “cmd” on the Windows search field. Type “ping (host name). For example, if you want to know the IP address of Instagram type “ping Instagram.com.” A line will appear that says “Pinging (website) (IP address)” or “Pinging instagram.com (IP address).”
Use a Free IP locator tool
Once you have the IP address, go to one of the many websites that offer free IP locator services. For this instruction, the free IP locator service is whoisdomaintools.com. On the address bar, type http://whoisdomaintools.com/ (IP address that you want to trace).
Check the Results
The results will yield the IP address’ country of origin, the internet service provider (ISP) or organization that owns the IP, and the proximity location. There are other IP locator tools available online, and you may try them as well. Some tools may work better at tracing the IP address’ physical location and others may not give you good results.
Call the ISP
Keep in mind that the results may not be even close to the actual physical location of the device. However, the ISP on the trace results will very likely be right on the money. If you’re bent on finding out the physical location of the IP address, consider calling the ISP and ask for their help in finding out its physical address.
Explore Legal Means
There’s a strong chance the ISP’s internal protocols will keep them from revealing the physical location of the ISP. This protects their subscribers from scams, extortions and stalking. However, if you’re tracing a particular ISP because you were a victim of a scam, extortion or harassment by a stalker using one of their nodes, then you may explore legal means to get the ISP to give you the physical location of an IP address.
MORE FROM QUESTIONSANSWERED.NET

trying to change ip address
We recently moved one of our QNX machines to a new network, and now I am having a hard time getting network working again. I changed /etc/hosts, and tried to change the ip with ifconfig, and even went through the stuff in the manual where it reloads the ethernet driver, as well as, of course, rebooting. It appears to have the new ip. If I type ifconfig en1, I get this:
en1: flags=8863 <UP,BROADCAST,NOTRAILERS,RUNNING,SIMPLE,MULTICAST> inet 128.95.153.237 netmask ffff0000 broadcast 128.95.153.255
but I can’t ping anything, and the output for netmask is still referring to the gateway of the old subnet: default 128.95.53.100 UG 0 6 en1
Seems like maybe I missed a config file somewhere, but can’t figure out what that would be.
Thanks for any help,
cheers, maria
You don’t need any config file to get basic TCP/IP ( not even /etc/hosts).
How do you start TCP/IP. What version of TCP/IP is it.
Look at your /etc/net.cfg file. This is set up by phlip / netmanager utilities. When in doubt set everything to manual and play with ‘ifconfig’ / ‘route’.

Thanks for the reply. I did feel like this should be easy, but can’t quite figure it out… This is what I thought should work:
ifconfig en1 128.95.153.237 netmask 255.255.255.0 broadcast 128.95.153.255 up
I’m not sure what you mean by which version of tcp/ip I have, or how to figure it out.
thanks, maria
Post output of sin ver, netmap, cat /etc/netmap and netinfo -l
Well, I seem to have networking working again. I found a script /etc/config/bin/tcpip.1 that was calling route with the old subnet. Changing that seems to have done the trick.
Thanks for your help, Maria
Basic Configuration
This chapter covers the following topics:
Introduction
Configuring a gateway, configuring tcp/ip servers, configuring terminals, before you begin....
In the next three chapters, you'll learn about configuring basic TCP/IP clients, servers, and gateways. But before you begin configuration, you should plan the basic layout of your network (see previous chapter); you should also address the following issues (chapters indicated are from the 2nd edition of TCP/IP Network Administration ):
Please also note that if you:
- wish to successfully run most of the programs described in this chapter, you should be logged in as the superuser ( root ).
- would like to read online discussions about QNX TCP/IP, you should join the quics.experts.tcpip newsgroup on QUICS. With the appropriate service plan, you can also post technical questions to the newsgroup. For information on using QUICS and getting the latest software updates, see the QNX Installation & Configuration guide.
The QNX approach
In QNX, the distinction between ``system'' and ``user'' processes is practically nonexistent. Some processes are called managers (or daemons in Unix terminology), but that's simply because they manage a specific resource and provide a service to other processes.
To configure a computer in QNX, you have to start several processes. Which processes you start depends on the services you want that computer to provide. By adding the appropriate processes to a computer's startup script file (e.g. sysinit . node ), you can easily enable a computer to be a QNX workstation, a TCP/IP client, a TCP/IP server - or all three!
Shared libraries
QNX 4.25 TCP/IP uses shared libraries. The libraries are represented by the binaries rpc_so , snmp_so , and socket_so . To run any executable (except for Socklet , Socket , and Sockppp ) you must have these binaries available. They won't show up in a sin listing, but they do create entries in /dev/shmem . If you wish to remove the socket shared library (not a good idea while you're using it), use the following command:
You can remove the RPC and SNMP shared libraries in the same way.
Client vs server configurations
The minimal configuration of a TCP/IP host is that of a client host. To transform a client into a server, you simply add the desired server daemons to that client's configuration.
Since client and server configurations can be performed in isolation, we describe them separately here. This structure will help you configure any host as a client and then subsequently add server capabilities as required.
A word about protocols
The name ``TCP/IP'' implies two main protocols - TCP and IP - in a suite of many protocols.
IP is the main protocol upon which most protocols are layered. In order to use TCP/IP you need an IP address. You normally get your IP address from an ISP (Internet Service Provider), directly from the InterNIC, or from your MIS department.
If you're setting up a network that is separated from any other machines, then you can use the IP address 192.9.200. x , where x is a number in the range 1 to 254. Many QNX users give the logical node ID as the suffix for the IP address (e.g. node 15 might be 192.9.200.15 ).
The simple way to map between alphanumeric names (e.g. qnx.com ) and IP addresses is via a table kept in the /etc/hosts file. This works fine for small to medium networks. If you think this is getting unwieldy for your network, then you should read the chapter on DNS (Domain Name Service) in TCP/IP Network Administration .
Note that many of the following sample configurations make some assumptions about routing , which can be defined as the act of choosing how to get a packet to its destination. See the `` Routing '' section in this chapter.
Quite often the series of commands you need to start up the TCP/IP aspects of networking are gathered together in the script /etc/netstart . The runtime product includes an example script. Once you work out your specific needs, you should modify that script accordingly. If you have multiple workstations sharing /etc (via QNX networking) and they each have different TCP/IP needs, it's customary to name the various scripts /etc/netstart. node .
If you have several TCP/IP hosts/servers on a QNX network, you can select which one you use by setting the environment variable SOCK to the node number of the Socket Manager you wish to use.
Logging to syslogd
Many TCP/IP programs produce logging or debugging information. For example, sendmail logs a message whenever it processes incoming or outgoing mail. By examining this type of information, you can verify that local host programs are operating correctly.
While some programs write this type of information to standard output or standard error, many will send supplementary status information to syslogd , if it's running. In certain circumstances, logging might also go to the /dev/console file.
Since the /dev/console file doesn't exist in a default QNX system, you may need to execute the following command:
The file argument is the device or file you want to use as your log device. For example, if file is /dev/con1 , logging goes to console 1. But if file is /tmp/logfile , the output goes to /tmp/logfile on disk.
Routing is the act of determining how to get a packet to its intended destination.
There are really three general categories of routing:
- minimal routing - if you're isolated on your own network (single piece of wire), then it's unlikely you'll need to do anything to route packets.
- static routing - if you're on a network with a small (and static over time) number of gateways, then you can use the route command to configure the routing tables within Socket and leave them that way. This is a very common configuration.
There's often confusion between routing and routing protocols . Routing is done by Socket via routing tables; routing protocols allow those tables to change.
Utilities for debugging
Several utilities are useful for debugging TCP/IP configurations:
You use the ping utility to determine if you have connectivity to other hosts. Suppose you've configured a point-to-point link (SLIP or PPP), but you haven't specified a default route. You can type:
to see if you're connected to the other end of the link.
With success, ping will output something like this:
This report will continue until ping is terminated. To terminate ping , press Ctrl - C . You'll see a report like this:
The ping utility may fail for different reasons:
- If nothing is displayed, ping may be having problems resolving the hostname. Try the IP address directly to bypass the resolver (see the /etc/resolv.conf file).
- If only the first line of the above successful output is displayed, then ping isn't receiving a response from the specified host.
- All other problems and errors will output an obvious message (e.g. ``No route to host'').
netstat and route
A common problem involves configuring a PPP interface correctly. Assume that the user has established the connection using pppd . Now the user can ping the machine he's dialed into ( isp.com ), but not anything past it (e.g. the Internet). The user's routing tables (from netstat -rn ) look like this:
Note that the user has a route to isp.com ( 10.0.0.1 ) and to localhost . What the user really needs is a route to ``anywhere he doesn't have in his list.'' This is called the default route. It can be automatically added via the defaultroute option to pppd , but can also be added later via the route utility (e.g. route add default isp.com ).
In other cases the need for a route isn't so obvious to see. Suppose your machine has two interfaces. Which interface does a packet take? Here's the output of netstat -rn and netstat -in on such a machine:
What are some of the things this output tells us? The line under (root node) tells us that packets bound for network 10 will go out the en2 interface. The line below that tells us that packets bound for network 10.8 will go out the en9 interface.
What's the difference between network 10 and network 10.8 ? The answer lies in the IP address and in something called a netmask . During routing, a gateway divides the address into two parts (the network and the host) using the netmask.
The network part is used to determine how to route a packet until it has reached its own network, at which point the host address is used.
To find the netmask for an interface, we need to use the command ifconfig en9 , which gives this output:
This tells us that the netmask for en9 is ffff0000 .
Similarly, we find that en2 has the netmask ff000000 . So, how do we determine what interface a packet bound for 10.0.0.5 will take? We look down the routing table for the longest match .
If we ``bitwise and'' 10.0.0.5 with the 10 netmask ( 255.0.0.0 ), we see that the network portion lines up with the entry in the table. Thus the packet will go out the en2 interface. If we then look at a packet bound for 10.8.0.67 , we find that 10.8 is the longest match and that we'll use en9 . If we then look at a packet bound for 10.2.0.5 , we pick en2 since it's the longest match.
Address mapping via arp
Throughout this manual we've been working with IP addresses. But at the hardware level, networking hardware uses other types of addresses. For point-to-point links it's just ``the other end.'' For common access network media like Ethernet, it's some other type of address (a 48-bit number called a MAC address). Since IP addresses are 32-bit, we can see that there must be some sort of mapping between IP and MAC addresses. This could be held in a database like /etc/hosts , but that would make it hard to add a new machine to the network.
To handle address mapping, IP uses Address Resolution Protocol (ARP). If you have an interface directly on the network of the packet, then you can send out an arp request to find the full hardware address of that host.
If you get an answer back, then you can store that in a cache and continue with your network transaction. Later communications will only cost you a cache lookup, not a whole network transaction. If you don't talk to a host for a while, you can purge that entry from the cache.
If the destination isn't directly connected to your network - and you have a route to its network - then you can look up the address of the gateway (host that relays packets onto another network) for that destination and ARP for it. If you get an answer back, then you can continue with your network transaction sending the packet intended for the destination to the gateway instead.
This is all to introduce a simple little utility called arp , which lets the user list and manipulate the ARP cache. You can use arp to set up proxy arp, which is where you answer the ARP request for another host (possible on a SLIP or PPP link), thus providing a limited form of routing.
You can also use arp to identify when you've got the wrong address for a host. Options to arp let you list, delete, and set entries in the cache.
Both arp and netstat are fine tools for looking at routing on your local network, but they're not very good for examining what's going on across the network. You'll find nslookup and traceroute useful for this.
The nslookup utility lets you query the DNS database. For example, when you enter nslookup vir.com , you'll get:
This tells us that qnx.com thinks vir.com has the address 199.84.154.69 . You can also ask what another host thinks a third host's address is. The command:
This tells us that vir.com thinks neocom.com is at 165.90.128.240 . We can then ask man.net where neocom.com is by entering:
This gives us:
This tells us that at least these two hosts have a common view of where neocom.com is. This only hints at how useful nslookup can be. The utility allows you to find out what a certain host's MX records are, what their nameservers are, and all sorts of other information.
The traceroute utility lets you find out information about the route your packets take to a certain host. The utility takes the destination host as one of its arguments. The output of traceroute vir.com looks like this:
So what does this tell us? To go from the cisco at qnx.com in Ottawa to Zotique.Vir.com in Montreal takes 14 hops. The three times printed are for three probes sent to that site. An asterisk ( * ) is printed if the probe is lost.
If this data showed a bottleneck along the way, then it could be used to choose a better Internet provider or to look for a mirror of whatever service the destination provides.
To enable the host to act as a gateway (a machine that forwards packets between interfaces), specify the -d forward option to Socket :
With this option, data packets will be routed from one network to another. Note that each interface must reside on a different IP network.
We've covered the processes that constitute a basic client host. In this section, you'll learn about what's required to add server capabilities to a client host.
What does being a server mean? If a host is a server, it will invoke the appropriate daemon to satisfy a client's request. Note that most TCP/IP daemons have names ending with the letter ``d.''
A TCP/IP server typically runs the inetd daemon (also known as the ``super-server'').
The inetd daemon
The inetd daemon listens on the TCP/IP network for incoming client requests. Upon receiving a request, it executes the corresponding server daemon. For example, if a client requested an rlogin , then inetd would start rlogind (remote login daemon) to satisfy the request. In most instances, responses to client requests are handled this way (see TCP/IP Network Administration ).
You use the /etc/inetd.conf file to specify the daemons that inetd can start. The distribution contains a sample inetd.conf file that has entries for all the servers currently supported by TCP/IP for QNX, including these commonly used daemons:
- ftpd - file transfer
- rlogind - remote login
- rshd - remote shell
- telnetd - remote terminal session
Remember that you shouldn't ``manually'' start the daemon processes listed in this file - they expect to be started by inetd .
Resident daemons
The following daemons don't need inetd to run:
These daemons listen on their own TCP ports and manage their own transactions. They're usually started when the computer boots and they then run continuously.
For example, if a server will be used only for Internet mail, then sendmail is the only server daemon required. Or if a server will be used only for Domain Name Services (DNS), then named is the only server daemon required.
These daemon processes have their own configuration files. For more information, see the TCP/IP Utilities chapter. See also TCP/IP Network Administration , which describes these daemons in detail.
Starting TCP/IP commands in /etc/netstart
The commands specific to TCP/IP are commonly placed in the /etc/netstart file. Typically executed from a computer's sysinit. node file, the /etc/netstart file provides a handy way to restart the TCP/IP services when you're testing and debugging a site's configuration.
Here are the contents of an example netstart file:
Because the appropriate node ID is substituted for the workstation that /etc/netstart runs on, the above example file can work on any QNX workstation.
Optimizing your configuration
Throughout this manual we refer to Socket as the IP manager. But QNX TCP/IP actually contains three IP managers:
So far, we've looked at the considerations involved in supporting local TCP/IP hosts. In addition to those considerations, access to remote hosts requires that you set up definitions for the remote host terminal.
To run terminal applications that communicate with remote hosts (e.g. telnet , rlogin ), you must enable correct support for remote terminals.
In QNX you should take advantage of ansi terminal emulation on a QNX console (see Dev.ansi ), because it's quite similar to the traditional vt100 terminal type, which is widely supported on TCP/IP hosts.
For more information on terminal emulation, see the QNX Installation & Configuration guide.

Welcome to TCP/IP for QNX
Welcome to TCP/IP for QNX! This chapter covers the following topics:
What is a network?
Why tcp/ip, the book on tcp/ip network administration, qnx and tcp/ip - two different network models, about hosts and gateways, clients and servers, planning your network.
A network is a series of interconnected computers. Every network involves two fundamental connection ``layers'':
- the hardware or physical layer
- the software or logical layer
Admittedly, this is a bit of an oversimplification - some data communications models (e.g. the OSI Reference Model) describe as many as seven layers within a network. But for our purposes here, the main distinction between hardware and software layers will suffice.
In order to communicate, both the hardware and software layers of a network must use the same ``language'' or protocol . And each computer on a network must have a unique ``name'' or address .
A QNX network natively supports a variety of network hardware (e.g. Arcnet, Ethernet, Token Ring, FDDI, etc.). Whatever the type of hardware, a QNX network communicates via the FLEET protocol. Although FLEET is fast, reliable, and transparent, this protocol has one major disadvantage - it's proprietary. Using FLEET alone, a QNX network is ``closed'' and can't communicate to non-QNX networks.
The TCP/IP protocols enable computers to share computing resources through multiple networks. Implemented on many operating systems, over a variety of network media, these widely accepted protocols have become a de facto standard.
Regardless of the platform, a system that supports TCP/IP can access resources located on any other system that supports TCP/IP. With appropriate configuration, this access can be to distant sites or simply to the computer on your neighbor's desk.
Over the years, many popular TCP/IP services have evolved, such as file transfer, remote login capability, and electronic mail. You can install all of these services on QNX.
For all its benefits, TCP/IP requires skillful configuration. Fortunately, because TCP/IP networking has become so popular, many books have been written on the subject. We've found that Craig Hunt's TCP/IP Network Administration provides a clear description of the current state of TCP/IP, and we've included it as part of the documentation set for TCP/IP for QNX.
For the most part, you can rely on TCP/IP Network Administration to understand what's involved in using TCP/IP. Where the QNX implementation differs from the one described in that book, alternative approaches are outlined in this guide.
The networking model used by TCP/IP differs from the inherent networking model of QNX. But as you'll see, these networking models can coexist with each other - even on the same cable.
Note that if you're familiar with traditional QNX networking, this guide will help you configure TCP/IP on your existing networks. If you're familiar with TCP/IP in other environments, this guide will help you identify those issues that are unique to the QNX implementation of TCP/IP.
QNX networking
QNX's inherent network support implements a local area network that's optimized to provide a fast, seamless interface between QNX workstations. We refer to computers connected with this form of network simply as a QNX network .
QNX workstations on a QNX network.
In a QNX network, a program can transparently access any resource - whether it's a file, a device, or a process - on any other node in the network. A program can also transparently execute on other nodes. Nevertheless, a QNX workstation can communicate only with computers that are running QNX and that are directly connected to the workstation.
For information on configuring a QNX network, see the QNX Installation & Configuration guide.
TCP/IP networking
TCP/IP can send information across multiple intermediate hops to reach its destination - TCP/IP isn't limited to local area networks. These hops can span many physical networks, wide or local area.
Hosts and gateways
In TCP/IP terminology, we always refer to network-accessible computers as hosts . There's a distinction between a regular host and a special form of host called a gateway :
- Host - a node running TCP/IP that doesn't forward IP packets to other TCP/IP networks. A host usually has a single IP ( I nternet P rotocol) address associated with it.
- Gateway - a node running TCP/IP that does forward IP packets to other TCP/IP networks. A gateway always has more than one ``physical'' interface to different networks and has an IP address for each interface.
In general, people refer to a computer running TCP/IP software as a host, with the understanding that a gateway is equally capable of any operation that can be performed by a regular host.
The steps you need to follow to configure a computer to be a host or gateway are described in Chapter 2, Basic Configuration .
Clients and servers
There are actually two types of TCP/IP hosts: clients and servers . Simply put, a client is the host requesting a TCP/IP service; the server is the host providing that service.
As you'll see in Chapter 2, servers need to run daemon processes in order to respond to clients' requests. Therefore, it's advisable to determine during the planning stage which of your computers will provide services (servers) and which will consume those services (clients).
The next section gives some examples to help you decide on your network layout.
Before you start to configure your network, you should plan what you want to accomplish. In particular, you should determine:
- which computers will be servers and which will be clients (or both)
- whether any gateway computers are needed (to access other TCP/IP networks)
- how your TCP/IP network may be combined with a QNX network
- what the media requirements for your site will be
The following examples let you see at a glance the different approaches you can take. While these examples don't imply any client or server capabilities, they do show how you could set up your site. You'll know how you should distribute your server computers once you've decided on a layout for your network.
Single QNX TCP/IP host
In the following example, there's no QNX network. You simply have a QNX TCP/IP host coexisting on the same media with other hosts that may or may not be running QNX.
A single QNX TCP/IP host.
QNX network and TCP/IP hosts
In the following example, a QNX network and a TCP/IP network share a common Ethernet.
A QNX network and a TCP/IP network share a common Ethernet.
In this example, any workstation or terminal on the QNX network could access the TCP/IP network through the QNX workstation that's also a TCP/IP host. For example, if a workstation on the QNX network ran an rlogin to the Sun machine, the rlogin would happen transparently through the QNX host. Effectively, the entire QNX network becomes a single, logical TCP/IP host.
Multiple QNX TCP/IP hosts
In the following example, multiple QNX network nodes are acting as TCP/IP hosts. All the computers reside on the same media as the hosts that aren't running QNX.
Multiple QNX network nodes acting as TCP/IP hosts.
You may wish to set up multiple TCP/IP hosts on the same QNX network in order to have each host provide a different service or to distribute the processing load across several hosts.
QNX gateway with separate networks
In the following example, the configuration enables a QNX host to act as a gateway between two separate TCP/IP networks.
A QNX host acts as a gateway between two separate Ethernet networks.
The gateway will forward IP packets from any TCP/IP host on one network to any TCP/IP host on the other network. So, for example, a Sun machine can access services on the NT machine.
With such a configuration, you'll have to assign a different subnet to each network (see TCP/IP Network Administration ).
This example shows a QNX host connected to two separate networks, but note that a QNX workstation can actually support more than two networking cards.
Single QNX TCP/IP host (serial)
In the following example, a QNX TCP/IP host resides on a serial line. Except for the networking media being used, this is very similar to the ``Single QNX TCP/IP host'' example described earlier.
A QNX TCP/IP host resides on a serial line.
Many people use this type of setup to gain access to a wide area TCP/IP network that they don't have any local area network access to - the Internet, for example. Many people also set up their home computers in this way so they can dial into a remote TCP/IP host with a modem - more on this in the Configuration chapters.
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Super User is a question and answer site for computer enthusiasts and power users. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
QNX Neutrino 6.5.0 LAN communication
I have two PCs. 1) Console (Windows based), connected with 2) Qnx Neutrino 6.5.0(Simulator) using Ethernet cable. I want to send data from PC1-Console to PC2-QNX Neutrino 6.5.0 using LAN cable. What is the simplest way to do this communication? Is it possible to do using command window?
2 Answers 2
- Download Qnx Software development platform 6.6 from Qnx site as per windows/ Linux os
- Create project
- Window menu , Target option
- Enter host name and IP address
- You can access data from Qnx
You can get an ftp server on the QNX system running. First you need to configure your interface. The interface name can be gathered by running 'ifconfig', in vmware it's 'en0'.
Now set the IP address:
Enable the ftp and telnet services:
- Edit /etc/inetd.conf and make sure ftp and telnet are uncommented.
- If you want to login as root remove the root user from /etc/ftpusers
- Run inetd from the command line.
From the windows box, assuming the interface has a 192.168.0.x address you can now ftp or telnet to the QNX target.
You must log in to answer this question.
Not the answer you're looking for browse other questions tagged windows lan simulator ..
- The Overflow Blog
- An intuitive introduction to text embeddings
- How the co-creator of Kubernetes is helping developers build safer software
- Featured on Meta
- Update: New Colors Launched
- Incident update and uptime reporting
Hot Network Questions
- How can I make a more permanent connection to cheap sensors?
- Besides Jamaica, are there other countries where a "Labour" (or Workers' etc.) party is actually right-wing/conservative?
- Probability threshold in ROC curve analyses
- Why do many template languages have `for-else` statements?
- How does Rust parse ambiguous macros?
- Bishul akum on a dish whose ingredients are all eaten raw
- Python strong password validator ( with unit test )
- Deuteronomy 18:15 "from among your midst, from your brothers"
- What is the probability that your life will have lasted for 100 years once you die?
- Off-center via-in-pad
- Plotting from a table
- Capturing all matches (occurences) with QGIS regular expressions
- A connected set which is not path-wise connected
- How can I draw a rubik has the form a pyramid like this?
- How can I connect all nodes with lines by using TikZ?
- How to create stats for a monster without a system?
- Identifying traffic signals for colour blind people
- Can one walk across the border between Singapore and Malaysia via the Johor–Singapore Causeway at any time in the day/night?
- Do atheists bear the burden of proof in showing why/how the reasons presented by theists are unconvincing?
- How does the map function work in stack-based languages?
- What is Robert B. Laughlin saying about quantum field theory?
- Why can we have misclassifications for a perfect model in logistic regression?
- What does “nine bells” mean?
- Strange cymbals notation in The Free Lance March
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy .
Very Computer
Changing ip address on qnx 4.25.
Quote: > What file do I modify to change the IP address and subnet mask on 4.25?
Quote: > Thanks,
1. When Changing IP address, old IP address doesn't quite go away..
Thanks, Bruce Clements
2. yamaha 4416 CDRW on sgi?
3. New QNX 4.25 and Tcpip 4.25 Patches available
4. elisp changes v18->19 (.emacs)???
5. Allen-Bradley SLC5.05 interface for QNX 4.25 using TCP/IP
6. Programmatically change of password
7. Want to write a single byte in the I/O address space (2C0) using QNX 4.25
8. Sendmail with NIS only
9. Kind of TCP/IP Firewall for QNX 4.25?
10. Ticksize Unexpectedly Changing (QNX 4.25)
11. Font displayed differently in QNX 6.2 and QNX 4.25
12. Differences in sizeof between QNX 6 and QNX 4.25
13. QNX 4.25 vs QNX 6.2
Spam Report
How to permanently change network IP and mask of Drive AGX
Please provide the following info (check/uncheck the boxes after creating this topic): Software Version DRIVE OS Linux 5.2.6 [V] DRIVE OS Linux 5.2.6 and DriveWorks 4.0 DRIVE OS Linux 5.2.0 DRIVE OS Linux 5.2.0 and DriveWorks 3.5 NVIDIA DRIVE™ Software 10.0 (Linux) NVIDIA DRIVE™ Software 9.0 (Linux) other DRIVE OS version other
Target Operating System [V] Linux QNX other
Hardware Platform [V] NVIDIA DRIVE™ AGX Xavier DevKit (E3550) NVIDIA DRIVE™ AGX Pegasus DevKit (E3550) other
SDK Manager Version 1.7.1.8928 [V] other
Host Machine Version [V] native Ubuntu 18.04 other
I want to set the DRIVE AGX “10 GbE port 2” IP and mask. If I run the following commands, all works fine:
Now I want to make this setting permanent, to last after a reboot.
I tried creating a new file: sudo gedit /etc/network/interfaces.d/interfaces
Saving and then rebooting, but then when I run “ifconfig” I see that the IP and mask are not set at all. Here is the ifconfig printout. ifconfig log.txt (2.1 KB)
How to permanently change the IP and mask?
Dear @Sunny127 , Does https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/index.html#page/DRIVE_OS_Linux_SDK_NGC_Development_Guide/config_network_setup.html#wwpID0EXHA help?
By reading: https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/index.html#page/DRIVE_OS_Linux_SDK_NGC_Development_Guide/config_network_setup.html#wwpID0E04E0HA
I changed the file /etc/network/interfaces t the following content:
The “enp4s0” still has no ip.
I then opened link: https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/index.html#page/DRIVE_OS_Linux_SDK_NGC_Development_Guide/config_network_setup.html#wwpID0EXHA
Created a file “/etc/netplan/01-network-manager-all.yaml”
The ifconfig shows that “enp4s0” still has no ip.
Dear @Sunny127 , Could you share connection details and dmseg and syslog outputs
Here are the connection details, dmesg and syslog outputs:
dmesg.txt (68.6 KB) ethtool.txt (999 Bytes) ifconfig.txt (3.0 KB) ip link show.txt (1.2 KB) netstat.txt (558 Bytes) syslog.txt (14.6 MB)
Dear @Sunny127 , Could you please confirm if you still have this issue?
I indeed still have the issue.
Is there any solution to this question? I have the same question as well.
@SivaRamaKrishnaNV Any ideas, does modify /etc/systemd/networks works? why default does not have eth0.400, eth0.900 vlan info
When I started using DHCP to automatically assign IP addresses to computers and devices in our house, I could change the subnet mask for all of them using the administration interface of my router. I found this out when I wanted to change the IP address on Android by visiting How to Change the IP Address on Your Android Device before doing so. I use the web browser on my computer to access the router’s web interface. To do this, I must go to the router’s address and log in with my account and password. On most routers, this is 192.168.0.1 or 192.168.1.1, but they can vary.
sudo apt install netplan solves the problem.
Stack Exchange Network
Stack Exchange network consists of 183 Q&A communities including Stack Overflow , the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Server Fault is a question and answer site for system and network administrators. It only takes a minute to sign up.
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Adding a persistant static route to a hardened embedded QNX Unix device
I'll start by saying forgive my ignorance if this is a simple task. I have enough knowledge of *nix to set it up and get around but this embedded version is a little different (missing 90%+ of standard commands) and I've hit a roadblock.
I have a device that is running QNX 6.5.0 SP1. I have access through its serial port and from there I have shell access with a superuser. The device has two physical network interfaces, en0 and en1. At startup the device uses a net.mgr file to set its network info. That file assigns IP addresses to each interface but only appears to support a single gateway. We are looking to add something to the second Ethernet port and need a route command so I serial into the box and used a standard route command to add the route. This worked as intended but the change was not saved after a reboot.
I am trying to figure out how to get the extra route command to persist through reboots but most methods I've found don't work. There is no cron or things like that. Things I've tried:
- Modifying the net.cfg file and adding another gateway. This doesn't work as it just uses the last gateway entered and doesn't allow multiples
- Modifying the net.cfg file and adding the route command. Knew this wouldn't work but tried anyway.
- Adding a /etc/rc.local file with the route command. File persists but seems to be ignored on startup.
- Adding a /etc/rc.d/rc.local file with the route command. (Per the QNX documentation at http://www.qnx.com/developers/docs/6.5.0/topic/com.qnx.doc.neutrino_user_guide/starting.html?resultof=%22%72%63%2e%6c%6f%63%61%6c%22%20#rc.local ). File persists between boots but is also ignored.
- Attempted to modify /sys/bin/rc.local. My changes are ignored (not written to the file). I cannot FTP that file off either, comes out as a 0 byte file while a "cat rc.local" shows its content and I can verify it is using this file based on that content. Tried a 'cat >rc.local' and copying the old contents then adding my route command but the file didn't change. A chmod -x rc.local gives back the file doesn't exist but it does and I'm 99% sure that's whats being executed at boot.
I'm thinking rc.local within the /sys/bin folder is read only? I know one of the two mounts is /ffs0 and the /sys/bin is within that. I have tried to mount it with 'mount -uw /ffs0', make my change, then flip it back to read only but that doesn't seem to work. So I've run out of ideas.
The first thing to understand about QNX 6.X is that there is a boot image that gets executed. That image normally contains the micro kernel and basic drivers (disk etc). However it can be entirely self contained (ie micro kernel, drivers, every command, configuration files etc) for cases where there is just flash memory. In that case it will be impossible to modify anything even if there is a hard drive that contains configuration files (like in /etc/rc.d) and other directories.
You can get some hint of that by looking in /proc/boot. Everything in /proc is what is in the boot image inflated into RAM. It's literally a RAM drive so what you see in there is what's in the boot image. You might get lucky looking into startup-script (this is a compiled script) if you can ftp it off and do a 'strings' command on it to see what's being drivers and scripts are being run.
In a normal QNX boot image (ones you saw in the links) the startup-script will transfer control to /etc/rc.d/rc.sysinit and /etc/rc.d/rc.local once it runs the disk driver and a few other essentials. But embedded systems like yours don't have to do that. That's why your changes in those files aren't taking effect.
I've never heard of /sys/bin/rc.local. That's not part of regular QNX 6 installation so that's something whomever made the device has added. The sys directory may in fact be just a softlink back into the boot image RAM area (which is why you can't change anything there since it's RAM). You can tell if this is so by a 'ls -lrt' at the root file system (ie where sys is located) and seeing if it's a softlink back into /proc or some other place.
- So some files are able to be modified and survive between reboots such as the net.cfg file. I tried other files that seem to be ok between boots like the profile@ file but my changes in them are ignored. I looked through some of the init files and there are a lot of chsum checks so if a file doesn't match it gets a known good copy put back. What I want to do might not be possible, at least with my knowledge. Going to go through some of the unchangeable init scripts and see if any of them call something I might be able to exploit. – ADY Oct 16, 2018 at 14:17
You must log in to answer this question.
Not the answer you're looking for browse other questions tagged unix route ..
- The Overflow Blog
- An intuitive introduction to text embeddings
- How the co-creator of Kubernetes is helping developers build safer software
- Featured on Meta
- Update: New Colors Launched
- Incident update and uptime reporting
Hot Network Questions
- What does “nine bells” mean?
- How can I draw a rubik has the form a pyramid like this?
- How to legally sell installation of Windows 7 as a service?
- How does Rust parse ambiguous macros?
- Is this broken gas valve off?
- Would Artificial Gravity With Short Range Be Possible?
- What scientists and mathematicians were afraid to publish their findings?
- Is the sum of the reciprocals of the products of pairs of coprime positive integers and their sums equal to 2?
- Is it allowed to walk across the border between Singapore and Malaysia via the Malaysia–Singapore Second Link?
- Mysterious wires running from wall - can I remove them
- Does this clip show Israeli Apache helicopters shooting their own citizens on Oct 7?
- How can I uninstall part of a package?
- Off-center via-in-pad
- Does Freedom of Movement prevent damage from Spike Growth?
- Why am I getting heavy output distortion from a BJT amplifier when driving an 8 ohm load?
- A necessary and sufficient condition for the existence of a nontrivial square root in Shor's algorithm
- Does Rashi bring contadictory opinions?
- Writing μ (mu) in the text mode using Latin Modern Roman font
- Checking CMOS battery without going into the BIOS
- Why do many template languages have `for-else` statements?
- Why can we have misclassifications for a perfect model in logistic regression?
- Thermal Superconductors vs Pulse Lasers
- Strange cymbals notation in The Free Lance March
- Print the banned characters based on the most common characters
Your privacy
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy .

IMAGES
COMMENTS
The location of an IP address is usually found in your computer’s network diagnostics or Internet connection settings. Though this information is stored by your computer, it is assigned by your Internet provider or LAN router.
IP address 192.168.0.1 is the default IP address set in many home routers that are on broadband, particularly the D-Link and Netgear routers. This is set at the factory, but you can go in and change the IP address. It is an IPv4 network add...
Just in case you still don’t know, an internet protocol address or IP address is a set of numbers that uniquely identifies each device — such as computers, mobile phones, cameras and printers — connected to a TCP/IP network. All IP addresse...
QNX Neutrino Core Networking User's
Hi there, We recently moved one of our QNX machines to a new network, and now I am having a hard time getting network working again.
If you're setting up a network that is separated from any other machines, then you can use the IP address 192.9.200.x, where x is a number in the range 1 to 254
Type: " vi /etc/net.cfg " : Modify the IP address or IP mask (Use arrow keys to move cursor, "xx" to delete, "i" to insert
Also, can you explain why you need to set netmask and gateway? First thing, after setting static IP address, are you able to ping anyone on the
Может мак-адрес в /etc/config/netmap прописать? Вот только я смотрю
You may wish to set up multiple TCP/
The interface name can be gathered by running 'ifconfig', in vmware it's 'en0'. Now set the IP address: # ifconfig en0 192.168.0.2. Enable
changing ip address on qnx 4.25 ... Quote: > What file do I modify to change the IP address and subnet mask on 4.25? Everything you need to change
... change the subnet mask for all of them using the administration interface of my router. I found this out when I wanted to change the IP address
mgr file to set its network info. That file assigns IP addresses to each interface but only appears to support a single gateway. We are