Page 1 of 1

ETH0 Address (Telnet Device)

Posted: Sun 08 May 2016, 12:36
by highway_man
My laptop is connected to a remote device that I am trying to telnet. The remote device has DHCP turned on. When the LAN is connected and disconnected, the screen indicates that there is a connection lost/established.

So, since 'IFCONGIG' does not tell me the address of my device, what other methods are there?
eth0 Link encap:Ethernet HWaddr DC:0E:A1:32:F8:A6
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:17 errors:0 dropped:0 overruns:0 frame:0
TX packets:67 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:10030 (9.7 KiB) TX bytes:24589 (24.0 KiB)

Posted: Sun 08 May 2016, 14:25
by Burn_IT
There won't be until communication is established.
It is like trying to tell who is at the other end of the phone without answering it. Caller ID will tell you the number, but it can't tell you who is actually using it.

Posted: Mon 09 May 2016, 13:33
by rcrsn51
@highway_man: More details please. What kind of device is this? How are you connected? Directly with an ethernet cable? Are your computer and this device both on a LAN managed by a switch or router?

How do you ordinarily get an IP address?

Maybe you just need to run "dhcpcd eth0" to get an IP address from the device's DHCP server.