How to drive attansic L2 100/100 Fast Ethernet under fc7

Source: Internet
Author: User

Linked from http://www.2beanet.com/

 

How to drive attansic L2 100/100 Fast Ethernet under fc7 

Summary:

For personal use, I DIY a personal computer, the main board is from ASUS, integrated with attansic L2 10/200 fast Ethernet, the seller provided with the device drive for Windows series, but I want to install it with Linux which is fedore core 7, what a pity, the network card has not been supported be default installation, and then Google ......

Solveing the problem:

I downloaded L2-linux-driver_new.rar from Internet, unpacked it under Windows XP, and then copy all the files into fc7, compile it, errors appeared:

[Root @ localhost SRC] # Make
Make-C/lib/modules/2.6.21/build subdirs =/home/mark/net_driver/L2-linux-driver_new/src modules
Make [1]: Entering directory '/usr/src/linux-2.6.21'
CC [m]/home/mark/net_driver/L2-linux-driver_new/src/at_main.o
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: In function 'at _ vlan_rx_kill_vid ':
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: 1490: Error: 'struct vlan_group 'has no member named' VLAN _ devices'
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: In function 'at _ restore_vlan ':
/Home/mark/net_driver/L2-linux-driver_new/src/at_main.c: 1511: Error: 'struct vlan_group 'has no member named' VLAN _ devices'
Make [2]: *** [/home/mark/net_driver/L2-linux-driver_new/src/at_main.o] Error 1
Make [1]: *** [_ module _/home/mark/net_driver/L2-linux-driver_new/src] Error 2
Make [1]: Leaving directory '/usr/src/linux-2.6.21'
Make: *** [Default] Error 2

And then I opened at_main.c file, found two debug functions:

At_vlan_rx_kill_vid

At_restore_vlan

Drop the content of the functions, return directly.

Compile again, passed!

Then

# Make install

Reboot

# Ifconfig

OK, you cocould see the device eth0 ......

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.