• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1976
  • Last Modified:

Easy - How to do an ipconfig in linux

I'm new to linux, ok on windows.

I just got my first linux fedora install working ok - found something that looks like a command prompt (lets me do ls-al which is all I can remember from my brief unix exposure 12 years ago!) - whats the command to get ip, mac and computer name etc ?

thanks
0
plq
Asked:
plq
  • 5
  • 4
1 Solution
 
sunnycoderCommented:
Hi plq,

/sbin/ifconfig

Cheers!
Sunnycoder
0
 
sunnycoderCommented:
Hi plq,

Use -a option if you wish to view the details of all the interfaces .. by default ifconfig will list only active interfaces

ifconfig -a

refer to man page for further details
http://www.die.net/doc/linux/man/man8/ifconfig.8.html

Cheers!
Sunnycoder
0
 
plqAuthor Commented:
Thank you sunny.
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
plqAuthor Commented:
You wouldn't happen to know how to turn on snmp on linux would you = I just want to run snmpwalk to see what asset info I can get
0
 
sunnycoderCommented:
0
 
plqAuthor Commented:
OK I've upped the points.

Looks like snmpd isn't installed. I found net-snmp as an available extra in system tools (I've been working with that on windows a fair bit lately). But couldnt find snmpd in there. I didn't think snmpd would be within net-snmp - would it ?
0
 
sunnycoderCommented:
net-snmp does include an snmp deamon ... You can get the whole documentation here
http://net-snmp.sourceforge.net/docs/man/
0
 
plqAuthor Commented:
Well I installed net-snmp and now snmpd is there !!! Hope you can help me get through this... I still can't get it snmpget'ting from another pc.

I will make sure the fw is off first ...
0
 
plqAuthor Commented:
I will raise another Q if I need more help, since the topic title isn't exactly snmp related !!!

thanks for helping
Paul
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now