Forums

Angus
Angus
Offline
Resolved
0 votes
Hi I am new to here and I wanna to use ClearOS as my home server. However, I was getting network error regardless type of installation (gateway nor standalone). I found the onboard NIC (Atheros AR81 family chipset) might cause hardware incompatibility issue. So I disabled onboard NIC in BIOS and put in 2 PCI type 3com 3c905 family NICs and run setup again. It was no luck and did show the same error configuring for your network interface messsage. I am sure the NICs are supported by RH. Can anyone advise me what I can do about it?
Friday, April 01 2011, 07:12 PM
Share this post:
Responses (15)
  • Accepted Answer

    Angus
    Angus
    Offline
    Sunday, April 10 2011, 06:47 PM - #Permalink
    Resolved
    0 votes
    I finally got eth1 up by creating ifcfg-eth1 manually. Thank you for all your support.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 09 2011, 05:22 PM - #Permalink
    Resolved
    0 votes
    If you're lucky you'll see it in the BIOS or on the motherboard box or info. If you fix eth0 and eth2, then, with luck, if eth1 comes up ok (omit the HWADDR line) you can find the MAC address with "ifconfig | grep eth".

    ClearOS (and presumably CentOS) have this nasty thing where they do occasionally mess up the ethernet configuration when the hardware changes or during upgrades. Have a look in /etc/sysconfig/network-scripts/ for any file beginning something like "__tmp". If you have one this could be your missing ifcfg-eth1 file which can be renamed.
    The reply is currently minimized Show
  • Accepted Answer

    Angus
    Angus
    Offline
    Saturday, April 09 2011, 02:53 PM - #Permalink
    Resolved
    0 votes
    thank you, is there any way I can find my on-board NIC MAC address? either webconfig, CLI or BIOS....
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 08 2011, 11:17 AM - #Permalink
    Resolved
    0 votes
    That is naughty of it and I've no idea why it has gone!

    Yes, you can try creating the file manually. I suggest you add the HWADDR lines in the two ifcfg-ethx files you have and, for the moment set the immutable bit so they do not get deleted. For the new file use as your template the ifcfg-ethx file which is your LAN adaptor.
    The reply is currently minimized Show
  • Accepted Answer

    Angus
    Angus
    Offline
    Friday, April 08 2011, 01:20 AM - #Permalink
    Resolved
    0 votes
    After I insert the third NIC (3Com) the eth1 was disappeared in ClearOS webUI, here is the command output:

    [root@mymail ~]# lspci -v |grep Eth
    01:00.0 Ethernet controller: Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
    03:00.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 64)
    Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
    03:01.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
    Subsystem: 3Com Corporation 3C905CX-TX/TX-M Fast Etherlink for PC Management NIC
    [root@mymail ~]# grep eth /etc/modprobe.conf
    alias eth0 3c59x
    alias eth1 atl1e
    alias eth2 3c59x

    ifcfg-eth0 and ifcfg-eth2 were created in /etc/sysconfig/network-scripts/ but not ifcfg-eth1, do you think I should manually create file in the same directoy? please advise ...
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 07 2011, 08:07 PM - #Permalink
    Resolved
    0 votes
    Glad the network is OK. I know nothing about RAID. Can I suggest you open a new topic with a title more relevant to your problem? There are quite a few posts about RAID but I'm not sure if any are relevant to your problem. Not having RAID, I don't pay much attention to the posts.
    The reply is currently minimized Show
  • Accepted Answer

    Angus
    Angus
    Offline
    Thursday, April 07 2011, 07:37 PM - #Permalink
    Resolved
    0 votes
    Thanks for posting and finally I got my on-borad NIC reconized by ClearOS after install driver, here is the output command:
    lspci -v |grep Eth
    01:00.0 Ethernet controller: Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
    03:00.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 64)
    Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
    [root@mymail ~]# !9
    grep eth /etc/modprobe.conf
    alias eth0 3c59x
    alias eth1 atl1e

    The third NIC I will use it for DMZ and add it later. I am very appreciated for your help. Here is another issue I found out in WebUI, The RAID drives show all degraded when I tried to test the software RAID by unplugging power cable one of RAID members. I plugged it back in and showed the same status, any thought of that? here is the screenshot displaying the error:
    Array Size Mount Level Status
    /dev/md0 101.9 MB /boot RAID-1 Degraded
    /dev/md1 87.9 GB / RAID-5 Degraded
    /dev/md2 1.7 TB /var/flexshare/shares RAID-5 Degraded

    [root@mymail ~]# cat /proc/mdstat
    Personalities : [raid6] [raid5] [raid4] [raid1]
    md0 : active raid1 sda1[0] sdb1[1]
    104320 blocks [3/2] [UU_]

    md2 : active raid5 sdb5[1] sda5[0]
    1844374016 blocks level 5, 256k chunk, algorithm 2 [3/2] [UU_]

    md1 : active raid5 sdb2[1] sda2[0]
    92164608 blocks level 5, 256k chunk, algorithm 2 [3/2] [UU_]

    unused devices: <none>
    The reply is currently minimized Show
  • Accepted Answer

    Thursday, April 07 2011, 11:41 AM - #Permalink
    Resolved
    0 votes
    From googling around it looks like you want the atl1e driver and I would choose the latest. I can't check the other link I posted as it is blocked from work, but check in the second link in my last post.

    Perhaps the best way to do it is to set up Tim's repo from the instructions hereThen do a
    yum install kmod-atl1e


    Can you check which kernel you have first with "uname -r". If it has PAE in the name you will need kmod-atl1e-PAE.

    If you don't want to set up Tim's repo you should be able to install the drover from the command line:
    cd /usr/src
    wget ftp://download.clearfoundation.com/community/timb80/repo/clearos/5.2/os/kmod-atl1e-1.0.1.9-3.clearos.i686.rpm
    rpm -ivh kmod-atl1e-1.0.1.9-3.clearos.i686.rpm


    What has happened to your other 3com card? It looks like it has disappeared from your set up.
    The reply is currently minimized Show
  • Accepted Answer

    Angus
    Angus
    Offline
    Thursday, April 07 2011, 03:07 AM - #Permalink
    Resolved
    0 votes
    just want to sure if the box see my on-board NIC by issuing following command:
    [root@mymail ~]# lspci -v |grep Eth
    01:00.0 Ethernet controller: Atheros Communications Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0)
    03:00.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 64)
    Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
    [root@mymail ~]# grep eth /etc/modprobe.conf
    alias eth0 3c59x

    The second command doesn't see the on-board NIC so I issued another command to find the correct driver:
    [root@mymail ~]# lspci -n |grep 1969
    01:00.0 0200: 1969:1026 (rev b0)

    So my question is should I download the rpm package driver from the site you provided? which one? please advise...
    The reply is currently minimized Show
  • Accepted Answer

    Angus
    Angus
    Offline
    Monday, April 04 2011, 07:04 PM - #Permalink
    Resolved
    0 votes
    Thank you so much. I will have a try to see if my on-board NIC works with ClearOS.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 02 2011, 06:47 PM - #Permalink
    Resolved
    0 votes
    It looks like it has picked up the second 3com card OK. Remember to fix the HWADDR in ifcfg-eth1.

    For the Atheros drivers you don't need to recompile the kernel. If the card is not supported out of the box, Tim has compiled a lot of kmod ones here. More details can be found here. The best thing to do is enable the adaptor, do "lspci -v |grep Eth", and "lspci -n | grep 1969". This should tell you which driver you want. Post back if you are not sure.

    Which VPN server service are you talking about? I use IPSec VPN (but not from the wenconfig) and OpenVPN. I have also used PPTP VPN but I try to avoid it. There is good information in the documentation.
    The reply is currently minimized Show
  • Accepted Answer

    Angus
    Angus
    Offline
    Saturday, April 02 2011, 06:01 PM - #Permalink
    Resolved
    0 votes
    Hi, here the command I input after I inserted 2nd 3Com NIC:

    [root@mymail ~]# lspci -v |grep Eth
    01:00.0 Ethernet controller: 3Com Corporation 3c905B 100BaseTX [Cyclone] (rev 64)
    Subsystem: 3Com Corporation 3C905B Fast Etherlink XL 10/100
    01:01.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M [Tornado] (rev 78)
    Subsystem: 3Com Corporation 3C905CX-TX/TX-M Fast Etherlink for PC Management NIC
    [root@mymail ~]# less /etc/modprobe.conf
    alias eth0 3c59x
    alias scsi_hostadapter ata_piix
    alias eth1 3c59x

    There is a Atheros driver for linux, but I am not too familiar complie src kernel in order to get on-board NIC working. So I should stay with 2 3Com cards instead. Now when I reboot ClearOS and I can see the option to change gateway mode. By the way, is there anything else I should concern? I found I forgot to add VPN server service in the box, how do I do that?
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, April 02 2011, 06:48 AM - #Permalink
    Resolved
    0 votes
    Docs are here.

    To change between standalone and gateway mode go to Webconfig > Network > Settings > IP Settings but you won't have the gateway option until you install another NIC. Once you go into gateway mode you will only be able to access the ClearOS box from the LAN interface and not the WAN one.

    If you add another NIC or enable the on-board NIC, ClearOS should sort itself out. I'm not sure how good it is with the Atheros cards so try the 3com card first. When you enable the atheros card, can you post back the output of "lspci -v | grep Eth" and "grep eth /etc/modprobe.conf"? If it does not sort itself out, post back with the output of those two commands anyway.

    One thing about ClearOS is that it can occasionally swap its network cards round so after installing a card a different one may become eth0. This can be a pain (and could be more likely with two cards of the same type). To get round this, for the known cards go to /etc/sysconfig/network-scripts and edit ifcfg-eth0. Add a line:
    HWADDR="aa:bb:cc:dd:ee:ff"
    obviously replacing aa:bb:cc:dd:ee:ff with your card's MAC address which you can find from the command "ifconfig | grep eth". As belt and braces you can set the immmutable bit with the command "chattr +i /etc/sysconfig/network-scripts/ifcfg-eth0" but if you do, you and the webconfig will never be able to change the file until it is un-set. Since you are trying to change configurations this second bit may not be a good idea at the moment. When you do add the other cards it is a good idea to add the HWADDR line to each of the ifcfg-ethx files.

    If you have not worked it out yet, two great tools for using ClearOS from a Windoze workstation are PuTTY and WinSCP.

    Welcome to ClearOS!
    The reply is currently minimized Show
  • Accepted Answer

    Angus
    Angus
    Offline
    Friday, April 01 2011, 10:41 PM - #Permalink
    Resolved
    0 votes
    Thank you for your advise, now I am able to install ClearOS and created RAID 5 with one 3com family NIC running standalone mode. How do I add additional NIC and config or install on-board NIC driver (I found it on ASUS website supporting linux)? How do I change mode to gateway? Can you point me where I can find documentation to accomplish the task?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, April 01 2011, 08:02 PM - #Permalink
    Resolved
    0 votes
    The 3c905 family should be supported by the 3c59x driver. What is the error you are seeing?

    If you try with the motherboard driver, what is the output of "lspci -v | grep Eth" and "grep eth /etc/modprobe.conf"?

    Just in case you are causing the error yourself, can you try installing in stand-alone mode with a single network card? The other(s) can be added later.
    The reply is currently minimized Show
Your Reply