[ALUG] Centos7
Hamisi Jabe
administrator at banana.co.tz
Mon Jul 14 15:24:32 EAT 2014
I tried but Centos 7 is running kernel 3.10 and it seem to support the
following type of ethernet and not D-Link
drivers/net/ethernet/atheros/alx/main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1035>drivers/net/ethernet/atheros/atl1c/atl1c.h
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1036>drivers/net/ethernet/atheros/atl1c/atl1c_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1037>drivers/net/ethernet/atheros/atl1e/atl1e_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1038>drivers/net/ethernet/broadcom/bgmac.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1039>drivers/net/ethernet/broadcom/bgmac.h
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1040>drivers/net/ethernet/broadcom/bnx2x/bnx2x_cmn.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1041>drivers/net/ethernet/broadcom/bnx2x/bnx2x_sp.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1042>drivers/net/ethernet/broadcom/tg3.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1043>drivers/net/ethernet/broadcom/tg3.h
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1044>drivers/net/ethernet/cadence/macb.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1045>drivers/net/ethernet/chelsio/cxgb3/sge.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1046>drivers/net/ethernet/emulex/benet/be_cmds.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1047>drivers/net/ethernet/emulex/benet/be_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1048>drivers/net/ethernet/freescale/fec_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1049>drivers/net/ethernet/ibm/ehea/ehea_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1050>drivers/net/ethernet/intel/e100.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1051>drivers/net/ethernet/intel/e1000e/phy.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1052>drivers/net/ethernet/intel/igb/e1000_phy.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1053>drivers/net/ethernet/intel/ixgbe/ixgbe_dcb_82598.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1054>drivers/net/ethernet/marvell/mv643xx_eth.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1055>drivers/net/ethernet/marvell/mvneta.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1056>drivers/net/ethernet/mellanox/mlx4/cmd.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1057>drivers/net/ethernet/mellanox/mlx4/en_cq.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1058>drivers/net/ethernet/mellanox/mlx4/en_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1059>drivers/net/ethernet/mellanox/mlx4/en_netdev.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1060>drivers/net/ethernet/mellanox/mlx4/fw.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1061>drivers/net/ethernet/mellanox/mlx4/main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1062>drivers/net/ethernet/mellanox/mlx4/mlx4.h
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1063>drivers/net/ethernet/mellanox/mlx4/mlx4_en.h
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1064>drivers/net/ethernet/realtek/8139cp.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1065>drivers/net/ethernet/realtek/r8169.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1066>drivers/net/ethernet/sfc/filter.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1067>drivers/net/ethernet/sfc/ptp.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1068>drivers/net/ethernet/sfc/rx.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1069>drivers/net/ethernet/smsc/smc91x.h
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1070>drivers/net/ethernet/sun/sunvnet.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1071>drivers/net/ethernet/tehuti/tehuti.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1072>drivers/net/ethernet/ti/cpsw.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1073>drivers/net/ethernet/ti/davinci_emac.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1074>drivers/net/ethernet/via/via-rhine.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1075>drivers/net/ethernet/xilinx/ll_temac_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1076>drivers/net/ethernet/xilinx/xilinx_axienet_main.c
<https://www.kernel.org/diff/diffview.cgi?file=%2Fpub%2Flinux%2Fkernel%2Fv3.x%2Fpatch-3.10.48.xz;z=1077>
Will work on it if can find the respective drivers for the card
Many thanks
On 10/07/2014 07:43 alasiri, Andreas Tauscher via Linux wrote:
> Am 07/10/2014 06:57 PM, schrieb Hamisi Jabe via Linux:
>> Dear All,
>>
>> CentOS 7 has just been released
>>
>> I have installed it and the kind of network cards are like fedora 16
>> - 20 where they are named as em0, em1 and not like eth0 and eth1.
> Only names. It's all hollow words ;)
>
>> I have worked all the way to rename it to eth* but the big issue is.
>> The machine i installed the Os has two network cards but its only the
>> primary/board network card is visible upon using the command ifconfig
>> when i use the command lspci i get the information below for the two
>> nic
>>
>> 04:00.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5721
>> Gigabit Ethernet PCI Express (rev 21)
>> 0a:01.0 Ethernet controller: VIA Technologies, Inc. VT6105/VT6106S
>> [Rhine-III] (rev 86)
>>
>> Now the first one has been allocated the name "enp4s0"
>>
>> How do i find the allocated name of the second nic as it is not
>> displayed when using the ifconfig command, and in the
>> /etc/sysconfig/network-script/ there is only one file called
>> "ifcfg-enp4s0" for the first nic only
> check the output of dmesg.
> A list of all cards you find for example in /proc/sys/net/ipv4/conf
> beside the directories all and default you find a dir for each interface.
> Or in this case in /sys/devices/pci0000:00/0000:0a:01.0/net you should
> find also the name for the card.
> But first check the output of dmesg/kernel.log
> Rhine-III should be handled by the via_rhine module. Is it loaded?
> As I remember there have been several versions of this ethernet chipset
> and not all are covered by the via_rhine module.
> If it is such a version you will find an hint in the logs which module
> to use instead.
> Then you blacklist via_rhine in modprobe or force the loading of the
> other module in modprobe or you adapt a udev rule to load a different
> module.
> udev is also the place where you can rename the devices back to ethx.
> There you also can force to load/unload/reconfigure a different module,
> execute scripts before or after modules are loaded, hardware is plugged
> in or disconnected.....
>
> Andreas
> _______________________________________________
> The Arusha Linux User Group: http://unix.or.tz
> Linux mailing list
> Linux at lists.habari.co.tz
> http://lists.habari.co.tz/cgi-bin/mailman/listinfo/linux
>
> The Arusha LUG mailing list is generously hosted by Habari Node Ltd: http://www.habari.co.tz/
>
> The above comments and data are owned by whoever posted them (including attachments if any). The mailing list host is not responsible for them in any way.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.habari.co.tz/pipermail/linux/attachments/20140714/80729ca7/attachment-0001.html>
More information about the Linux
mailing list