unable to activate eth0 'attansic L2' on CentOS 5.1
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
unable to activate eth0 'attansic L2' on CentOS 5.1
hello ppl...
i found out that i have an 'attansic technology corp. l2 ethernet adapter'
after my installation of CentOS5.1
im unable to activate this NIC and receiving "3c501 device eth0 does not seem to be present, delaying initialization"
please help me to solve this problem.. is there any modprobe that i have to use if so please mention everything step by step..
Based on that a search for alt2 gave way to many responces. The alt2 is not part of the latest kernel that I can see. So another quick search on google for attansic L2 resulted in the following link to alt2 module package. http://www.opcioncomputer.es/linux.php?info=1
So you need to download the L2 linux driver and extract and compile it for your system. Now being the system install is fresh with standard options you do not have your kernel source installed yet which is what will need to be required to compile the module. So on the cd there is a file called kernel-devel-*********.rpm where ******** is the kernel version you are running. To see kernel version use command ' uname -r '. Now to install you need to be root. Open a console and goto the location of the rpm on the cd. Once there and changed to root using the su command you run the following command.
rpm -ivh kernel-devel-*******.rpm
Once installed follow the install or readme file directions on compiling the module.
So you need to download the L2 linux driver and extract and compile it for your system.
many many thanks for the reply.......
i downloaded the driver...
as i im new to linux, i totally have no idea, WHERE should i extract and compile the module.
and HOW should i install it..? (please include the commands to be used)
do i have to install this driver after doing kernal-devel-*****.rpm..?
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I cut this out of the tar file.
Code:
1. Move the base driver tar file to the directory of your choice. For example,
use /home/username/atl2 or /usr/local/src/atl2.
2. Untar/unzip archive:
tar zxf atl2-x.x.x.tar.gz
3. Change to the driver src directory:
cd atl2-x.x.x/src/
4. Compile the driver module:
make install
The binary will be installed as:
/lib/modules/<KERNEL VERSION>/kernel/drivers/net/atl2.[k]o
The install locations listed above are the default locations. They might
not be correct for certain Linux distributions. For more information,
see the ldistrib.txt file included in the driver tar.
5. Install the module:
insmod atl2 <parameter>=<value>
6. Assign an IP address to the interface by entering the following, where
x is the interface number:
ifconfig ethx <IP_address>
7. Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the interface
that is being tested:
ping <IP_address>
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
Now you need gcc+ installed. It is an rpm on the cd. The bigger issue it requires other rpms ro be installed as well. So once you find the rpm run the command.
rpm -ivh gcc*.rpm and it will spit out needing other rpms. To do so add each as needed to satisfied to install like so.
rpm -ivh gcc*.rpm next.rpm next.rpm next.rpm
The easier way is to copy the rpms off the cd to a directory on your drive. Then use createrepo command to make the repo files. Then you need to add to /etc/yum.repos.d. Then you can use the command ' yum install gcc '. It will install dependencies. many post on setting up local repos. Not on my normal machine to get the info I use. Out of town for a week or so.
Found this patch through google. http://patches.ubuntu.com/by-release...3_compat.patch
But did not resolve this portion. It made an attempt but failed on hunk 2 of 1. This is the one for a call to the at.main.c source code file.
Now from what I see the call eth_copy_and_sum is no longer part of the default 2.6 kernel stream. Seems to have been dropped back in the 2.2 kernel days.
What i would do is contact the developers of the l2-linux module and get their help. Post them the info from your compiling. The links I have here and info posted in this post. Maybe someone that knows coding may be of help. This is a bit over what I know.
If you get it working please post back with the solution. PM me to let me know you resolved it. I would like to know the fix myself. Always love to learn something new.
hi brian thanks for all the affort you took, i downloaded the drivers again from a different source and tried it worked..
now i have a file in /lib/modules/2.6.18-53.el5/kernel/drivers/net/atl2
file name is 'atl2.ko'
Quote:
Originally Posted by Brian1
5. Install the module:
insmod atl2 <parameter>=<value>
6. Assign an IP address to the interface by entering the following, where
x is the interface number:
ifconfig ethx <IP_address>
7. Verify that the interface works. Enter the following, where <IP_address>
is the IP address for another machine on the same subnet as the interface
that is being tested:
ping <IP_address>
[/code]
Brian
in this steps
5. install module
insmod atl2 <parameter>=<value>
what am i to enter for the '<parameter>=<value>' ???????
Distribution: Distribution: RHEL 5 with Pieces of this and that.
Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700
Rep:
I would not bother with any options just do the insmod command. Now there is an error they are showing with the insmod command you must use the full name of the module and its full path if you are not in its directory.
insmod /lib/modules/2.6.18-53.el5/kernel/drivers/net/atl2/atl2.ko
Now since the module is in your /lib/modules/2.6.18-53.el5 you can use the modprobe command. It does not require path or extension as long as a new system.map was generated. Try the following command.
modprobe atl2
If it does not find the module then run this command to build a new system.map file
depmod -a
Also where did you get your current source file you used to build? I would like to give it a try and check the differences.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.