how to find ipaddress of the device connected with system in ubuntu
How to find ipaddress of the device connected to the system..
|
Quote:
Quote:
|
Which is the ip address in the following
i got the following output for ifconfig
eth0 Link encap:Ethernet HWaddr 00:1c:c0:6e:sa:2a inet addr:10.0.0.6 Bcast:10.0.0.255 Mask:255.255.255.0 inet6 addr: fe80::21c:c0ff:fe6e:da4a/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:12646 errors:0 dropped:0 overruns:0 frame:0 TX packets:12654 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:9762551 (9.7 MB) TX bytes:2063766 (2.0 MB) Interrupt:27 Base address:0xe000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:108 errors:0 dropped:0 overruns:0 frame:0 TX packets:108 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:9292 (9.2 KB) TX bytes:9292 (9.2 KB) |
Can you see this?
Code:
inet addr:10.0.0.6 Also use Code tags to paste the computer output. It will help members reading the post. |
Quote:
|
is it possible to find ip address of the device which is connected to system alone using ethernet cable
|
huh??
You want to look at an external cable to get the address?? Not to sound smart, but that is like looking at the outside of the computer and knowing it has a word processor installed. |
I guess not. You can find out the ip address of the system you are working on. But on other system connected through a cable? I do not know. I have not done anything like this. I doubt it.
|
Any Device which is connected to a computer or a network won't pick up an ip address automatically. You have to either configure the ip address in the device or setup a DHCP server in the computer or network for the other device to automatically pick up the ip address.
Please don't post multiple threads for the same question. |
If you are wanting the Ip address of whatever you are directly connected to then just use nmap which will scan a given subnet and return results for hosts that allow returns. Something like a firewall can affect the results, but generally you will get some result including the ip address. Assuming you are on a class C 10.0.0.0 network then the nmap command would be
Code:
nmap 10.0.0/24 If you mean across the net, I'm not sure how, but it's doable. |
My question is i want to find the ip address of embedded device(like beagle board ) connected to pc. is it possible to assign ip address of our own to pc and other devices connected to it
|
well im not sure about you're question , but if i'm right , i think you are asking if we can set ip addresses for a device and make it fixed so it won't change? if that is your question , then yes its possible but only if the device/pc is not reset or if the os is reinstalled in the pc , the ip addresses will change and if the device is reset everything will be reset.
|
you can always try finding an ip range scanner such as Angry IP scanner and give it a range of ips (based on the ip/subnet of your machine) and let it scan, and chances are ONE of the ips it finds will be the one you are looking for
|
Quote:
If you have a DHCP server on the network or if you are so sure that your device is picking up and IP you can use the IP scanner suggested by frieza. If your board didn't pick any IP address or you haven't set any IP address to the boards n/w interface then you cannot find by such IP scans. Now, are you running any Operating system on the board. If it is Linux, I am sure you can install some package with which you can set the IP. If you are not running any OS, then there must be some way in which you can set the IP address, refer the board's manual. |
Is it possible to install DHCP server and generate ip address of pc running the DHCP server
|
All times are GMT -5. The time now is 11:26 AM. |