[opensuse] Network settings
Very generic question... what is the easiest way to quickly get all the current network info? ie ipaddress, gateway, dns servers etc I have used ifconfig, net and route, but can't seem to find one tool that will tell it all (sorry about the comparison, but like ipconfig /all in win) John. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John wrote:
Very generic question... what is the easiest way to quickly get all the current network info? ie ipaddress, gateway, dns servers etc I have used ifconfig, net and route, but can't seem to find one tool that will tell it all (sorry about the comparison, but like ipconfig /all in win) John.
ifstatus <network device> - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGkgejasN0sSnLmgIRAjjdAKDblstNzkKxQVv8bIP58pJYEgFzVQCeLm4b PgmjZGVEBgxB/jpPa43zrZM= =28jT -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 G T Smith wrote:
John wrote:
Very generic question... what is the easiest way to quickly get all the current network info? ie ipaddress, gateway, dns servers etc I have used ifconfig, net and route, but can't seem to find one tool that will tell it all (sorry about the comparison, but like ipconfig /all in win) John.
ifstatus <network device>
oops to get DNS config as well..... ifstatus <network device> ; cat /etc/resolv.conf should cover most cases... - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGkg1masN0sSnLmgIRAqbrAJ9viXK378+j/0Q8cS0tI70lD4n5AACfX/yj wEduC8rIZPu908UWcxdAQzw= =EI8N -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 2007-07-09 at 19:59 -0400, John wrote:
I have used ifconfig, net and route, I would use only ifconfig and route.
(sorry about the comparison, but like ipconfig /all in win) ipconfig /all doesn't show routing tables. You still need to use route print in win, which is the same as ifconfig + route in Linux.
Toshi -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 09 July 2007, Toshi Esumi wrote:
On Mon, 2007-07-09 at 19:59 -0400, John wrote:
I have used ifconfig, net and route,
I would use only ifconfig and route.
(sorry about the comparison, but like ipconfig /all in win)
ipconfig /all doesn't show routing tables. You still need to use route print in win, which is the same as ifconfig + route in Linux.
Toshi
Quite frankly the number of times I've needed to look at the routing tables in any os were few - maybe 4 times in 10 years. -- _____________________________________ John Andersen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 John Andersen wrote:
On Monday 09 July 2007, Toshi Esumi wrote:
On Mon, 2007-07-09 at 19:59 -0400, John wrote:
I have used ifconfig, net and route, I would use only ifconfig and route.
(sorry about the comparison, but like ipconfig /all in win) ipconfig /all doesn't show routing tables. You still need to use route print in win, which is the same as ifconfig + route in Linux.
Toshi
Quite frankly the number of times I've needed to look at the routing tables in any os were few - maybe 4 times in 10 years.
Depends on your mileage... I have had to dig into routing tables rather more times than I prefer to think about. I would agree that it is not something one would normally need to see. Unless one really knows what one is doing I would not play with routing tables except at home, otherwise one could have a very p**d off network manager planning when and where to defenestrate one...:-) - -- ============================================================================== I have always wished that my computer would be as easy to use as my telephone. My wish has come true. I no longer know how to use my telephone. Bjarne Stroustrup ============================================================================== -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org iD8DBQFGkz7QasN0sSnLmgIRAvFuAJ46DlLAcQhbN+z0LDrgVAyGH+wfzACfVXTC vnMYi9h59PlE5fy4jB6foyM= =rOU7 -----END PGP SIGNATURE----- -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Mon, 9 Jul 2007 23:47:23 -0800 John Andersen <jsa@pen.homeip.net> wrote:
Quite frankly the number of times I've needed to look at the routing tables in any os were few - maybe 4 times in 10 years.
In my experience, the routing tables tend to show some very simply failures. As an example, I've seen cases in both Linux and Windows where the default route was incorrect for some reason. Additionally, I think we have seen the need for it on this forum when someone has a comm problem. Certainly ifconfig is very important. -- Jerry Feldman <gaf@blu.org> Boston Linux and Unix user group http://www.blu.org PGP key id:C5061EA9 PGP Key fingerprint:053C 73EC 3AC1 5C44 3E14 9245 FB00 3ED5 C506 1EA9
participants (5)
-
G T Smith
-
Jerry Feldman
-
John
-
John Andersen
-
Toshi Esumi