Ask about linux Internet access

Source: Internet
Author: User
For more information about linux Internet access-general Linux technology-Linux technology and application, see the following. After installing Linux suse, you cannot access the Internet. When configuring the NIC:
There is a problem: # make install
Makefile: 106: *** Linux kernel source not configured-missing config. h. Stop.
The NIC model is Attansic L2 Fast Ethernet 10/100 Base-T Controller.
Some people say this: if config. h no longer exists after you compile the atl1 module and kernel 2.6.18, you will get an error message:

In Makefile: the Linux kernel source is not configured.-The missing c onfig. h is stopped.

Self-contained/Linux/config. h is out of date. One is to use/autoconf. h containing/Linux.
No big deal. Let's do this.

1. Edit Makefile and replace config. h. You can see, with autoconf. h (approx. 92 and 96)
2. Edit at. h and replace # include config. h to # include autoconf. h
3. Edit at_main.c and replace all checksum_hw with checksum_partial

Install now; # insmod atl1.ko;

And enjoy your network interfaces. Note that if you encounter weird traffic problems, such as extremely slow upload traffic, you can use this interface. Try this method

# Ethtool potassium eth0 Cao Xiaokang

If you're compiling ATL1 module with kernel after 2.6.18, the config. h is no longer there and you'll receive an error message:

Makefile: Linux kernel source not configured-missing config. h Stop.

Since include/linux/config. h is deprecated, one is suggested to use include/linux/autoconf. h.
No big deal, let's do it.

1. Edit your Makefile and replace config. h you see to autoconf. h (approx. at line 92 and 96)
2. Edit at. h and replace # include config. h to # include autoconf. h
3. Edit at_main.c and replace all CHECKSUM_HW to CHECKSUM_PARTIAL

Now make; make install; insmod atl1.ko;

And enjoy your network interface. Note that if you encounter weird traffic problem like extremely slow uploading traffic through that interface. Try this way

# Ethtool-K eth0 tso off


I found no CHECKSUM-HW in step 3.
In addition, I do not know what this is. Thanks for your advice!
Related Article

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.