Intel Atom 330 (D945GCLF2) Onboard NIC?

Discussion in 'General' started by bhp666, Jul 7, 2009.

  1. bhp666

    Joined:
    Feb 15, 2009
    Messages:
    8
    Likes Received:
    0
    Currently running Elastix latest distro 1.5.2 32bit on an old Dell and I am the hero at work - works very well.

    I have more office locations and wish to implement more of these units.
    I would like to use the Intel Atom 330 D945GCLF2 motherboard combo, for its size, price and low power consumption, however...

    The Realtek on board 10/100/1000 NIC gives me grief. There are some post on this but all I have found are missing key information for Linux newbies such as myself. For example, they assume I will know how to, choose, unpack and install the driver that is available on the website.
    From post number 14089 under success stories - huh?

    Can any one give me a step by step.
    I have the luxury of a test unit and would really like to perfect a package that I can deploy. I have been at it for a week using bits and pieces from this forum, trixbox, centOS etc - but can not seem to come up with a solution that works.
    Can someone please walk me through what they have done to achieve this?

    Thanks, BHP :huh:
     
  2. telecomtechnician

    Joined:
    Jan 8, 2008
    Messages:
    422
    Likes Received:
    0
    Hi there

    If you have time to learn, search the web and learn a little bit more about linux and install the driver for your onboard NIC card.

    Or take the fast track and buy an external NIC card (a Realtek type they are not expensive) and elastix will recognize it fast.

    Good luck

    David Medina
     
  3. velez

    Joined:
    Jul 18, 2008
    Messages:
    55
    Likes Received:
    0
    You need the driver that you can download it from Realtek and compile it. You might need another ethernet card connect or you can use a usb drive to load the driver to be compiled.
     
  4. jchamba

    Joined:
    Oct 22, 2008
    Messages:
    6
    Likes Received:
    0
    Dear bhp666, please explain me a little more your grief with this mainboard: D945GCLF2. And please paste the result of this command since the shell of your linux system:

    lspci

    Best Regards.
     
  5. poweronat

    Joined:
    Jul 19, 2009
    Messages:
    4
    Likes Received:
    0
    this works:

    cd /usr/src
    wget http://www.power-on.at/VOIP/r8168-8.012.00.tar.bz2
    tar --bzip2 -xvf r8168-8.012.00.tar.bz2
    cd r8168-8.012.00
    make
    make install
    mkdir /usr/src/r8169backup
    mv /lib/modules/2.6.18-92.1.22.el5/kernel/drivers/net/r8169.ko /usr/src/r8169backup/
    mv /etc/sysconfig/hwconf /usr/src/r8169backup/
    mv /etc/modprobe.conf /usr/src/r8169backup/
    cd /lib/modules/2.6.18-92.1.22.el5/kernel/drivers/net/
    cp r8168.ko r8169.ko
    kudzu
    ifdown eth0
    lsmod|grep -i r8168
    modprobe -sv r8168
    reboot
     
  6. virusbcn

    Joined:
    Sep 12, 2008
    Messages:
    99
    Likes Received:
    0
    Thankyou ;-)
     
  7. onire

    Joined:
    Jul 27, 2009
    Messages:
    4
    Likes Received:
    0
    Hi guys, I have a D945GCLF, but the same problem.
    I have disabled the nic on bios, downloaded this driver and then I have readed the istructions, but when I make # make clean modules I have this results:
    Code:
    make -C src/ clean
    make[1]: Entering directory `/tmp/r8101-1.006.00/src'
    rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset
    make[1]: Leaving directory `/tmp/r8101-1.006.00/src'
    make -C src/ modules
    make[1]: Entering directory `/tmp/r8101-1.006.00/src'
    make -C /lib/modules/2.6.18-92.1.22.el5xen/build SUBDIRS=/tmp/r8101-1.006.00/src modules
    make: Entering an unknown directory
    make: Leaving an unknown directory
    make[1]: Leaving directory `/tmp/r8101-1.006.00/src'
    What should I do?
    Thank you.
    Onire
     
  8. poweronat

    Joined:
    Jul 19, 2009
    Messages:
    4
    Likes Received:
    0
    perhaps there are some missing dependencies...
    below is a snippet from my default install i do

    yum -y install kernel-devel
    yum -y install bison
    yum -y install bison-devel
    yum -y install ncurses
    yum -y install ncurses-devel
    yum -y install zlib
    yum -y install zlib-devel
    yum -y install openssl
    yum -y install openssl-devel
    yum -y install gnutls-devel
    yum -y install gcc
    yum -y install gcc-c++
    ln -s /usr/src/kernels/`uname -r`/ /usr/src/linux-2.6


    also i found the following instructions in the readme of the dlded file from intel for compiling:
    If you are running the target kernel, then you should be able to do :

    # make clean modules (as root or with sudo)
    # make install
    # depmod -a
    # insmod ./src/r8101.ko
     
  9. onire

    Joined:
    Jul 27, 2009
    Messages:
    4
    Likes Received:
    0
    Thank you poweronat, but if the lan doesn't work, how do I connect to the internet?

    Onire
     
  10. jchamba

    Joined:
    Oct 22, 2008
    Messages:
    6
    Likes Received:
    0
    Onire, if you using this mainboard (D945GCLF2), that mainboard have this lan adapter: Realtek r8168. So when you install the last version of elastix, that version use this driver for that lan adapter r8169, so i recommend you first review in the bios of your mainboard and desactive the integrated Lan adapter, and after boot of your elastix system, and make this:

    rmmod r8169 (delete the module that have in memory by the kernel)

    Edit this file: vim /etc/modprobe.d/blacklist And add a line like that: blacklist r8169

    So after, download the correct driver (r8168) of this site: http://www.power-on.at/VOIP/r8168-8.012.00.tar.bz2

    Follow the instructions in the Readme file for install the driver, the basic steps are untar the file with tar -jxvf r8168-8.012.00.tar.bz2, enter to the folder and review the readme file for install the driver, normally are three steps:

    make clean modules (as root or with sudo)
    make install
    depmod -a
    modprobe r8168

    The next step is modify /etc/modprobe.conf and edit the line have eht0, that line should have: eth0 r8168.

    Finally review the /etc/sysconfig/network-scripts/ifcfg-eth0, and check the correct configuration of TCP/IP, and reboot your system, enter to bios, activate your Integrated Lan Adapter, and thats all. When use ifconfig, should appear the eth0 interface.

    And when you execute lsmod | grep r81*, should you see the correct module: r8168.

    Best Regards
     
  11. onire

    Joined:
    Jul 27, 2009
    Messages:
    4
    Likes Received:
    0
    Thank you jchamba,
    i have a D945GCLF, with the atom 230. I find the driver on the intel site for RealTek RTL8101E.
    Follow the instructions in the Readme file, but when i make a first step (make clean modules)
    thi is a result:
    make -C src/ clean
    make[1]: Entering directory `/tmp/r8101-1.006.00/src'
    rm -rf *.o *.ko *~ core* .dep* .*.d .*.cmd *.mod.c *.a *.s .*.flags .tmp_versions Module.symvers Modules.symvers rset
    make[1]: Leaving directory `/tmp/r8101-1.006.00/src'
    make -C src/ modules
    make[1]: Entering directory `/tmp/r8101-1.006.00/src'
    make -C /lib/modules/2.6.18-92.1.22.el5xen/build SUBDIRS=/tmp/r8101-1.006.00/src modules
    make: Entering an unknown directory
    make: Leaving an unknown directory
    make[1]: Leaving directory `/tmp/r8101-1.006.00/src'
    I think as said poweronat "perhaps there are some missing dependencies..."
    What should I do?
    Thank you.
    Onire
     
  12. poweronat

    Joined:
    Jul 19, 2009
    Messages:
    4
    Likes Received:
    0
    just buy a cheap (pci or usb) lan adapter for getting internet to resolve the dependencies....
     
  13. jchamba

    Joined:
    Oct 22, 2008
    Messages:
    6
    Likes Received:
    0
    Onire, you are using D945GCLF, not the version 2, this mainboard use the R8101, so continue with the other steps first make clean modules and later make install , etc, the result of you pasted see a behavior normal:

    # make clean modules (as root or with sudo)
    # make install
    # depmod -a
    # insmod ./src/r8101.ko

    Best Regards,
     
  14. onire

    Joined:
    Jul 27, 2009
    Messages:
    4
    Likes Received:
    0
    Thanks for your idea, I'm trying
    Onire
     

Share This Page