LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 06-24-2012, 11:43 PM   #1
gewmba
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Rep: Reputation: Disabled
Getting AR8152 v2.0 Fast Ethernet to work


Hey,

As the forum suggests I am very new to linux. I have installed CAELinux 2011 and have been unable to get my ethernet connection to work. I have installed linux on a partition of my Toshiba laptop. I have a AR8152 v2.0 Fast Ethernet device and have tried to install a driver for it but still do not get results.

I have tried doing what's suggested in the following link (http://askubuntu.com/questions/12715...r8152-os-12-04) by downloading compat-wireless-2012-05-10.tar.bz2 from this link (http://linuxwireless.org/download/compat-wireless-2.6/). I also downloaded (from the first link under North America on http://packages.ubuntu.com/precise/a...ntial/download) and installed build-essential.

I then followed the below steps copied from the first link:
  • sudo apt-get update
  • sudo apt-get install build-essential
  • cd ~/Downloads # [or wherever you download it to]
  • tar-xjvf compat-wireless-2012-04-26.tar.bz2
  • cd compat-wireless*
  • scripts/driver-select atl1c
  • make
  • sudo make install
  • Then just reboot.

Everything seems to work as it should (although I am not sure how it should work, but there are no errors), but when I reboot nothing seems to have changed. Am I missing something? There are no more instructions for after reboot, but I still do not get internet.

To be clear, I don't have any internet access when on Linux, but I followed these steps verbatim. I also tried the suggestion lower on the first link to install ath9k instead of atl1c. I know the that the connection through the ethernet is not the problem and works, I have tested it with another system.

I may be missing something simple, but regardless I would like a solution that gets my ethernet connection working. Any help would be great, thanks!
 
Old 06-25-2012, 05:01 PM   #2
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Quote:
Everything seems to work as it should (although I am not sure how it should work, but there are no errors), but when I reboot nothing seems to have changed. Am I missing something? There are no more instructions for after reboot, but I still do not get internet.
After the make install ran, assuming no errors, the module should be compiled, and ready to be loaded. Did you run a 'modprobe nameofmodule' command? This will not happen automatically. You can check to see if the module is loaded with a 'lsmod | grep modulename' command. If the module lists, then its loaded, if you get nothing back, it is not loaded.

Once the module is loaded, you will have to issue a 'ifconfig eth0 up' command. Then run 'ifconfg' on its own. If the device is active, eth0 will show up.

Now you need to configure the device. I think Ubuntu has some gui tools to configure the device through. I ran it in the past, 10.04 was the last version I remember running.

The driver ath9k is for wireless cards. Is this card wired or wireless?

As far as I can tell, you are dealing with a wired card.
 
Old 06-26-2012, 12:53 AM   #3
gewmba
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Hello camorri,

I did the steps again for the atl1c and several of the final lines after the 'sudo make install' are posted below (in case it helps):
make[1]: Leaving directory `/usr/src/linux-headers-2.6.32-34-generic'
Updating Ubuntu's initramfs for 2.6.32-34-generic under /boot/ ...
Will now run update-grub to ensure grub will find the new initramfs ...
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-34-generic
Found initrd image: /boot/initrd.img-2.6.32-34-generic
Found linux image: /boot/vmlinuz-2.6.32-24-generic
Found initrd image: /boot/initrd.img-2.6.32-24-generic
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows 7 (loader) on /dev/sda2
Found Windows Vista (loader) on /dev/sda4
done
depmod will prefer updates/ over kernel/ -- OK!

Now run:

sudo make unload to unload all: wireless, bluetooth and ethernet modules
sudo make wlunload to unload wireless modules
sudo make btunload to unload bluetooth modules

Run sudo modprobe driver-name to load your desired driver.
If unsure reboot.

I then ran 'modprobe atl1c' and got the following:
WARNING: Error inserting led_class (/lib/modules/2.6.32-34-generic/kernel/drivers/leds/led-class.ko): Operation not permitted
WARNING: Error inserting compat (/lib/modules/2.6.32-34-generic/updates/compat/compat.ko): Operation not permitted
FATAL: Error inserting atl1c (/lib/modules/2.6.32-34-generic/updates/drivers/net/ethernet/atheros/atl1c/atl1c.ko): Operation not permitted

After this I checked to see if the module was loaded using 'lsmod | grep atl1c' as suggested and got nothing back, so it was not loaded.

Also, I am dealing with a wired card. I was trying the ath9k driver because it was suggested, I didn't notice it was for a wireless card.
Just to be clear, I am working with AR8152 v2.0 Fast Ethernet.

Do you have any other suggestions? Is there any other information I can get you that may help? Thanks!
 
Old 06-26-2012, 09:35 AM   #4
camorri
LQ Guru
 
Registered: Nov 2002
Location: Somewhere inside 9.9 million sq. km. Canada
Distribution: Slackware 14.1, 14.2
Posts: 5,090

Rep: Reputation: 483Reputation: 483Reputation: 483Reputation: 483Reputation: 483
Did you try loading the modules as root? Add sudo to the fron of the command; you will need the root password.

I did some more looking, and it looks like the atl1c driver is depreciated. It is replaced by the alx driver.

See this link -->http://www.linuxfoundation.org/colla...networking/alx

This driver was tested on a much newer kernel. I'm not familiar with CAELinux 2011, had a look at their home page, and it is based on Ubuntu 10.04. That is about two years old.

Things you can try, look to see if this linux distro has online repos. If yes, look for the newer driver there. Not sure what else to suggest. Usually wired ethernet cards are not a problem. However, it looks like bleeding edge hardware.

You could try installing the alx driver on the older kernel. No idea if that will work or not. A kernel upgrade is possible also. However, that can be a difficult task for someone with little experience.

If this is a desktop, you might consider buying and installing another nic, they are inexpensive, most work out of the box.

So, there are some alternatives for you to consider.

Last edited by camorri; 06-26-2012 at 09:38 AM.
 
Old 10-10-2012, 10:30 PM   #5
gewmba
LQ Newbie
 
Registered: Jun 2012
Posts: 5

Original Poster
Rep: Reputation: Disabled
Unfortunately I have not figured out how to get my ethernet to work with linux, but that is mostly because I installed the driver for my wireless card and that has provided me with all the internet I need. Thus I gave up trying to get the ethernet to work and moved on with life for now. If I decide to try again and find a solution I will be sure to post it, or at least any progress I make.

Camori, your help was very much appreciated.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Lenovo G470: problem installing Atheros AR8152 v2 ethernet and Broadcom WIreless (RHEL6) subashd Linux - Laptop and Netbook 1 03-18-2012 10:04 AM
Lenovo G470: problem installing Atheros AR8152 v2 ethernet and Broadcom WIreless (RHEL6) subashd Linux - Laptop and Netbook 4 03-18-2012 03:56 AM
Getting Apollo Fast Ethernet Card to work under KNOPPIX 4.0.2 Jolle Linux - Networking 1 12-19-2005 09:25 AM
VIA Rhine II fast ethernet adapter wont work!!! schindler Linux - Hardware 13 10-20-2004 07:22 PM


All times are GMT -5. The time now is 08:18 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration