[opensuse] eth* connection status via cli
Hello, I noticed in Yast, when setting up nics, that it shows whether the interface is connected or not. Does anyone know what the command would be to determine if the nic has a connection to the network? Many thanks, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* James D. Parra
Does anyone know what the command would be to determine if the nic has a connection to the network?
ifconfig <device> ifconfig eth0 ifconfig wlan0 -- Patrick Shanahan Plainfield, Indiana, USA HOG # US1244711 http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://counter.li.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
* James D. Parra
Does anyone know what the command would be to determine if the nic has a connection to the network?
ifconfig <device> ifconfig eth0 ifconfig wlan0 ~~~~~~ Thanks Patrick, however that doesn't me if the cat 5 cable is connected or not. For example, if the computer has six nics and i have only one cabled, Yast will show which one is connected and I can set up setup that nic with an IP address. I am looking for a way in the command, prior to assigning IP addresses to the nics, which nic is cabled and connect to a network. Many thanks, James -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Wed, 21 Apr 2010 18:34:09 -0700 (PDT)
"James D. Parra"
* James D. Parra
[04-21-10 20:54]: Does anyone know what the command would be to determine if the nic has a connection to the network?
ifconfig <device> ifconfig eth0 ifconfig wlan0
~~~~~~
Thanks Patrick, however that doesn't me if the cat 5 cable is connected or not. For example, if the computer has six nics and i have only one cabled, Yast will show which one is connected and I can set up setup that nic with an IP address. I am looking for a way in the command, prior to assigning IP addresses to the nics, which nic is cabled and connect to a network.
Many thanks,
James
Mine shows Rx & Tx packets, doesn't yours? -- Tom Taylor - retired penguin openSuSE 11.3-M5 x86_64 KDE 4.4.2rel3, FF 3.6.3 claws-mail 3.7.5 linxt-AT-comcast.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
James D. Parra wrote:
* James D. Parra
[04-21-10 20:54]: Does anyone know what the command would be to determine if the nic has a connection to the network?
ifconfig <device> ifconfig eth0 ifconfig wlan0
~~~~~~
Thanks Patrick, however that doesn't me if the cat 5 cable is connected or not.
Try the more modern version "ip addr":
# ip addr show dev eth0
2: eth0:
Am 22.04.2010 02:51, schrieb James D. Parra:
I noticed in Yast, when setting up nics, that it shows whether the interface is connected or not.
Does anyone know what the command would be to determine if the nic has a connection to the network?
If you want to know if a cable is plugged, use the command ifplugstatus. Herbert -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (5)
-
Herbert Graeber
-
James D. Parra
-
Patrick Shanahan
-
Per Jessen
-
Thomas Taylor