On Wed, 2003-01-15 at 02:11, Peter Hewett wrote: > I've inherited an old pc working(perfectly) as an internet router. > I don't think it's been upgraded in about 2 years and I have no idea what > version of Linux it's running. > I'm moving to ADSL and will need to modify it's config in the near future, > so I need to know what distribution I'm using (or doesn't it matter). > > uname -a returns : > Linux gw 2.0.35 #2 Thu Mar 4 23:35:24 EST 1999 i586 > > I understand 2.0.35 is the version - but which distribution of Linux ? > I'd also love to know how I tell the hardware config of the machine without > pulling it apart. Anyone spot me a handy unix command for this one ?
that's pretty old. Redhat have a file /etc/redhat-release which will have the version if it's redhat. Debian has /etc/debian_version. Try these two and see if it tells you anything. as for configuration, look in /proc - cat some of the files that don't have numbers as names. They'll tell you various "stuff" about the machine. I don't have a 2.0 kerneled box around here so I can't tell you much more than that. I think they had /proc/cpuinfo back then - that will tell you what sort of cpu it has. hth James. -- SLUG - Sydney Linux User's Group - http://slug.org.au/ More Info: http://lists.slug.org.au/listinfo/slug
