LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-24-2014, 03:01 PM   #1
frequently absent
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Rep: Reputation: Disabled
Question advice on distro and how to make it work (doesn't really fit in distro forum)


Hello all,
I am looking for a live cd/flash drive that I can use to boot up, with admin privileges, and allow lansweeper to pull the MAC address and serial number...obviously there can't be a firewall to block traffic.
This info would be saved in a csv file and used for inventory on new machines.
I can't do this with windows...is there a way to do this by booting from a live flash drive with a linux distro?
Thank you!

Last edited by frequently absent; 10-24-2014 at 03:15 PM.
 
Old 10-24-2014, 03:21 PM   #2
ron7000
Member
 
Registered: Nov 2007
Location: CT
Posts: 248

Rep: Reputation: 26
sounds like you want a linux live cd,
they are available from all the major linux vendors- suse, redhat, and others.
that is the linux operating system that is on cd, or flash drive, that you can boot that up and have a somewhat running system without a hard drive. only requirement i think is 1 or 2 GB of RAM.
whether "lansweeper" comes on the live distribution i don't know, and i don't know what else you need to do buy to get MAC addresses you would just do ifconfig which is a built in command in linux. and there's other built in commands to give you hardware information.
 
Old 10-24-2014, 03:24 PM   #3
frequently absent
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks ron7000,
would I need to create an account in order to use the config command, or would I have automatically have administrator privileges and command line function without signing in as a particular user?
 
Old 10-24-2014, 03:25 PM   #4
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Lansweeper is not made for Linux...
Quote:
Lansweeper server requirements:
Windows 2003 or higher, Windows XP or higher (Windows server recommended)
Dotnet framework 4.0 or higher.
SQL server 2000 or higher or SQL Express (free) or SQL Compact (free)

Lansweeper client requirements:
Windows 2000 or higher.
Windows home clients are only supported with Lspush scanning.
In Linux, you use
Code:
ifconfig -a
.

No special privileges are needed.

Use a solid distro like CentOS or openSUSE, and you'll have no problems.
 
1 members found this post helpful.
Old 10-24-2014, 03:35 PM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
usually you prepend "sudo" to the command you want to run with admin privs.
if that results in an error, try "su" as a sole command next.
if that results in an error, you have to boot straight into root console (= recovery mode).

keep in mind that you won't get any feedback (like ******) on entering passwords.
 
Old 10-24-2014, 03:38 PM   #6
frequently absent
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Excellent.
Does it seem feasible to run a script that would just grab that info and pipe it to a csv file. That way, no monitor would even be necessary, and I could just move on down the line quickly....
Just thinking out loud here.
 
Old 10-24-2014, 04:21 PM   #7
frequently absent
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
So, I've given this a try, but ifconfig -a will give me the hardware address, but not the serial number. I've done a quick google search and come up with some sudo commands for that, but I was wondering if there was a way to pull the serial number without having to shift into administrative privileges?
 
Old 10-24-2014, 04:25 PM   #8
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
What serial number?
 
Old 10-24-2014, 04:29 PM   #9
frequently absent
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
the sn of the pc I am working on.
 
Old 10-24-2014, 04:37 PM   #10
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,876

Rep: Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643Reputation: 643
There is probably hundreds of them on any given PC, which one in particular are you looking for?
 
Old 10-24-2014, 04:40 PM   #11
frequently absent
LQ Newbie
 
Registered: Oct 2014
Posts: 6

Original Poster
Rep: Reputation: Disabled
Thanks for everything, guys.
You pointed me to the answer.

dmidecode -t 1

That gives me exactly the info I need. Now I'll go work on a script to grab that info and file it away.
Thanks again!
 
Old 10-25-2014, 05:26 AM   #12
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by frequently absent View Post
I was wondering if there was a way to pull the serial number without having to shift into administrative privileges?
Code:
$ dmidecode -t 1 
# dmidecode 2.12
/dev/mem: Permission denied
it doesn't look like it would work without admin privs.
but maybe your system is different.

i'm still a little worried about that serial number nonsense.
have you, perchance, installed linux on a motorbike?
 
Old 10-28-2014, 01:17 PM   #13
Ihatewindows522
Member
 
Registered: Oct 2014
Location: Fort Wayne
Distribution: Ubuntu 16.04 LTS
Posts: 616
Blog Entries: 2

Rep: Reputation: 166Reputation: 166
Quote:
Originally Posted by frequently absent View Post
Thanks for everything, guys.
You pointed me to the answer.

dmidecode -t 1

That gives me exactly the info I need. Now I'll go work on a script to grab that info and file it away.
Thanks again!
Maybe tee would help you out with that.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Why doesn't my distro 9.0 setup work for the 13.1 distro OldBikerPete Linux - Networking 9 09-15-2010 12:06 AM
Suspend doesn't work on any linux distro Enry211 Linux - Laptop and Netbook 3 03-28-2010 07:56 AM
How about using distro mascots for the distro section of the forum? Willrandship LQ Suggestions & Feedback 2 12-18-2009 07:42 AM
Sound doesn't work with any Linux distro velibos Linux - Newbie 4 01-22-2006 10:55 PM
Tried Every Distro, Still doesn't work PeteG Linux - General 11 04-02-2005 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration