Results 1 to 9 of 9
Hi,
I have a running linux-server but I don't know what a distribution it is.
(redhat, ubunt,suse ... )
How can I check what's the distribution.
The main problem is, ...
- 12-15-2008 #1Just Joined!
- Join Date
- Dec 2008
- Posts
- 1
what is my linux distribution
Hi,
I have a running linux-server but I don't know what a distribution it is.
(redhat, ubunt,suse ... )
How can I check what's the distribution.
The main problem is, I have to change to another ethernet card.
But I always get the followign error :
insmod: cannot insert `/lib/modules/2.6.16.51/pcnet32.ko': Invalid module format (-1): Exec format error
Thanks for help.
with kind regards
edi
- 12-15-2008 #2forum.guy
- Join Date
- May 2004
- Location
- arch linux
- Posts
- 18,086
Welcome to the forums!
Look around in the /etc folder for files that might reveal the distro information, such as *.release.
You might also be able to find some indicators in system boot messages.oz
→ new members/users: read this first | new member faq
→ no private messages requesting computer support - post them on the forums!
→ please use the "report post" button to alert our forum admins to problematic posts rather than responding to them yourself.
- 12-15-2008 #3Just Joined!
- Join Date
- Dec 2008
- Posts
- 8
type
uname -i
- 12-15-2008 #4
- 12-15-2008 #5Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
This will not tell you which Linux/version you are running. It may help give you a *clue.*cat /proc/version
Search > How can I find what distro is running?
One of those will likely work.Code:cat /etc/*release* cat /etc/*version* cat /etc/lsb-release cat /etc/issue
- 12-15-2008 #6
That's true, but then again, that wasnt the question he asked.
>>How can I check what's the distribution.
root@mars:~> cat /proc/version
Linux version 2.6.22.5-31-default (geeko@buildhost) (gcc version 4.2.1 (SUSE Linux)) #1 SMP 2007/09/21 22:29:00 UTC
root@mars:~>
- 12-15-2008 #7Linux Guru
- Join Date
- Nov 2007
- Posts
- 1,695
Code:cat /proc/version Linux version 2.6.9-55.ELsmp (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 3.4.6 20060404 (Red Hat 3.4.6-3)) #1 SMP Fri Apr 20 16:36:54 EDT 2007
So which of these machines is running RedHat or Fedora? Or are they just "the same"? And what version? Doesn't look too helpful to me.Code:cat /proc/version Linux version 2.6.18-1.2798 (brewbuilder@hs20-bc2-4.build.redhat.com) (gcc version 4.1.1 20061011 (Red Hat 4.1.1-30)) #1 SMP Mon Oct 16 14:37:32 EDT 2006
Let's see...we have someone that doesn't know what distro they have, yet they posted this in the Gentoo forum. I think it's safe to say that what they need to know (because the forum is going to ask next), is what distro and what version.
I'll stick with:
This will not tell you which Linux/version you are running. It may help give you a *clue.*
- 12-16-2008 #8Just Joined!
- Join Date
- Apr 2008
- Location
- Melbourne, Victoria, Australia.
- Posts
- 11
I just tried uname -i and it came back with unknown. But cat /proc/version did give me my kernel version and distro name.
- 12-18-2008 #9Just Joined!
- Join Date
- Oct 2005
- Location
- India
- Posts
- 23
Simple !!!
Fire "cat /etc/redhat-release" and you'r done..


Reply With Quote
