Click to See Complete Forum and Search --> : help


sad_b0i
07-16-2001, 01:17 AM
Micer wrote,
I have it figured out now and the eth0 interface loads successfully. As well
I can ping other machines.There is an instruction missing from their
readme.txt that prevents eth0 from success.

Here is what a person really needs to do: Recompile the kernel

1) Go to www.linksys.com (http://www.linksys.com) and download the appropriate driver, in my case the
Linksys LNE100TX Version 4.

2) Unpack it and then open the "Linux" sub-folder. In it you will find the
files "Netdri~1.tgz" and "readme.txt".

3) Read the readme.txt but understand that there is one vital step missing
>from the instructions. Unpack the "Netdri~1.tgz" file.

4) There is a "Makefile" file that you must make executable using "chmod +x
Makefile". Run the Makefile with "./Makefile". It will run part way through
and then die a tragic death without completing, but it will show the correct
syntax for building tulip.o and pci-scan.o.

5) Now type the command in manually to build both pci-scan.o and tulip.o.
The readme.txt instructions say absolutely nothing about pci-scan.o but
tulip.o is dependent on it for starting eth0.

6) Copy pci-scan.o and tulip.o to /lib/modules/2.2.5-15/net, (replace
2.2.5-15 with whatever your kernel version is).

7) Now follow the rest of the instructions in the readme.txt, (ie: run
/sbin/depmod -a, then adjust /etc/conf.modules, /etc/sysconfig/network, and
/etc/sysconfig/network-scripts/ifcfg-eth0).

8) Reboot. Everything works fine and eth0 comes up normally.


i dont understand step 3...how do i unpack?!?!?!?!!?

thanks! it getting frustrating... :)

bdg1983
07-16-2001, 05:24 AM
Many ways to unpack tgz files, but the easiest would be...

tar zxvf Netdri~1.tgz

sad_b0i
07-16-2001, 09:01 AM
thanks

bdg1983
07-16-2001, 10:16 AM
Your welcome.

Here's some more that may help you.

1. Using gzip
The gzip utility is used for file compression. By default, the gzip utility replaces the filename to be compressed with a file of the same name with an extension of .gz. The following is a list of common commands and examples of using gzip.For more advanced usage of gzip and gunzip, see the respective man pages.


Compressing a file:
gzip /etc/samba.d/smb.conf


Decompressing a file:
gzip -d /etc/samba.d/smb.conf.gz or gunzip /etc/samba.d/smb.conf.gz


Compress all files in a directory recursively:
gzip -r /jeff


Force a compression or decompression:
gzip -f /etc/samba.d/smb.conf or gunzip -f /etc/samba.d/smb.conf.gz


List compression statistics on a compressed .gz file:
gunzip -l /etc/samba.d/smb.conf.gz


List options for gzip and gunzip:
gzip -h or gunzip -h


2. Using Tar
The tar utility is also a compression utility as is the gzip utility. However, tar is more powerful and has many advanced options. There are eight basic functions of tar along with various options that can be applied to these functions. The examples below are some of the basic tar commands that are used in OpenLinux. There are more advanced commands but are not covered in this guide. For more information see the tar man and info pages in OpenLinux.


Creating a tar archive:
tar --create --file=test.tar test test1
or
tar -cf test.tar test test1


Extracting a tar archive:
tar --extract --verbose --file=test.tar
or
tar -xvf test.tar


List the contents of an archive:
tar --list --file=test.tar
or
tar -tf test.tar
or
tar -lvf test.tar (which will show ownership, permissions, and dates on the files)


Append files to the end of an archive:
tar --append --file=test.tar test3
or
tar -rf test.tar test3


Append tar files to an archive:
tar --concatenate --file=test.tar test1.tar
or
tar -Af test.tar test1.tar


Update files in an archive with a newer copy of a file:
tar --update --file=test.tar test
or
tar -uf test.tar test


Delete files from an archive:
tar --delete --file=test.tar test1


Compare the archive files with the file system files:
tar --diff --file=test.tar test1
or
tar -df test.tar test1


3. Using RPM
The rpm utility is a standard in the linux community for packaging binary and source files. It is much more powerful than either tar or gzip and has many advanced options. It's strength is in the database where the rpm utility stores information about every program that has been installed using rpm. This results in being able to check for file dependencies, query files on the system, among other tasks. The following information lists those commands that are most useful to users using Caldera OpenLinux. It does not cover building rpm packages or the more advanced topics with rpm.


Installing rpm packages:
rpm -ivh packagename.rpm


Installing rpm packages without checking for dependencies:
rpm -ivh --nodeps packagename.rpm


Updating rpm packages with a newer version:
rpm -Uvh packagename.rpm


Deleting an rpm package:
rpm -e packagename.rpm


Find out what rpm packages have been installed on the linux system:
rpm -qa | more


Searching for a particular rpm package that is already installed:
rpm -qa | grep packagename


Find out which packages contains a specific file (the file must exist on the system):
rpm -qf /usr/lib/filename


Find out which package contains a certain file (file does not need to exist on the system):
rpm -q --whatprovides filename


Find out which packages are dependent on a certain file:
rpm -q --whatrequires filename


Getting rpm help from the commandline
rpm --help | more


4. Additional Resources

The RPM-HOWTO Document at http://www.calderasystems.com/LDP/HOWTO/RPM-HOWTO/index.html
Man and info pages for gzip, tar, and rpm.

sad_b0i
07-16-2001, 10:53 AM
thanks