ETH0 Address (Telnet Device)

Post Reply
Message
Author
highway_man
Posts: 21
Joined: Thu 07 Feb 2013, 03:22

ETH0 Address (Telnet Device)

#1 Post 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)

User avatar
Burn_IT
Posts: 3650
Joined: Sat 12 Aug 2006, 19:25
Location: Tamworth UK

#2 Post 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.
"Just think of it as leaving early to avoid the rush" - T Pratchett

User avatar
rcrsn51
Posts: 13096
Joined: Tue 05 Sep 2006, 13:50
Location: Stratford, Ontario

#3 Post 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.

Post Reply