CentOS 5 :: Best Way Of Specifying Names Of Ethernet Devices In CentOS5.5 Or Later?
Apr 13, 2011
What is the best way of specifying the names of ethernet devices in CentOS5.5 or later? There seems to be at least two ways of doing this: Would the 60_net.rule file override a 010_netinterfaces.rules file because it gets executed later, or would the 010_ net interfaces. rule file set up the info in /sys which would then be used by 60_net.rule?
I have a fairly simple iSCSI setup using two devices, but they have swapped names on different machines. running CentOs 5.3 ia64, and using iscsi-initiator-utils-6.2.0.868-0.18.el5
vm1: [root@vm1 ~]# fdisk -l Disk /dev/xvda: 4194 MB, 4194304000 bytes 255 heads, 63 sectors/track, 509 cylinders Units = cylinders of 16065 * 512 = 8225280 bytes
[Code].....
Any way to get iSCSI to mount the devices as consistent device names ?
I want to use old devices names eth0, eth1 etc. instead of default OpenSuSE (11.1)eth_s0_0 etc. There is no firewall, no devices management via NetworkManager, static IP address.
1) to edit /etc/udev/rules.d/70-persistent-net.rules and insert eth0ð1 instead of eth_s0_0 & eth_s0_1
2) To rename /etc/sysconfig/network/ifcfg_eth_s0_0 ( and s0_1) to ifcfg_eth0 and ifcfg_eth1 and then reboot ?
if i would know the terms i could search for it, so bare with my words: i got an old PC, and my ethernet-cables don't fit into its plug (port?). its a little smaller than the usual one. how is it called and what am i looking for (whats the name of the plugs which need to fit, whats the measure. all i could see is male/male and some voodoo stuff like RJ333 <-wrong.
Is it a straightforward endeavour to burn a bootable iso of centos5.5 with k3b, or is there some hidden setting to make sure it is bootable?I have looked,and I haven't found anything.
I have download the utorrent from when I am trying to run I am getting the following messages:
[oracle@harvey-dt utorrent-server-v3_0]$ ./utserver ./utserver: /lib/libcrypto.so.0.9.8: no version information available (required by ./utserver) ./utserver: /lib/libssl.so.0.9.8: no version information available (required by ./utserver)
do not know how to install the driver RT25USB-SRC-V2.0.8.0.tar.gz for my Wireless USB, please someone have a howto, since I used the howto Centos4 in and had problems, did not conclude,
I am facing problem in postfix. I am using centos5.2.My postfix was running well but some strange problem it failed today.after that I wanted to restart postfix service , it does not restrat. But the postfix process is found in the process list( take memory and cpu ). Then i want to reinstall the postfix.The progress bar show it completed but not showing the completed message. I wait long time for the completion message but not display it and not return to command promt.When I cancel the command( ctrl+c) then the following error message is displayed:error: %post(postfix-2.3.3-2.1.el5_2.x86_64) scriptlet failed, signal 2For your information this is the process of installation:
I had installed a Centos 5 server, with one network interface card and work find. Now I want to install ADSL (PPPOE) dial-up for internet in this server, so need to add a 2nd network interface card (RTL8139D or other) . After plug the network card, what I need to do in Centos to find this new card and config it?
I am trying to see if a can get a centos 5.5 server setup as an smtp store and forward spamfilter by following the Centos Wiki and the freespamfilter.org guide by Mr88Talent at [url], which relates to another linux distro.
The spamfilter is essentially working! however, i have one issue with DCC.
test problem:
I'm not sure if anyone else would be interested in a Centos version of Mr88Talent's tutorial, but a very rough and completely untested first effort is available at the following url: [url]
Any opinions on this setup or just a total slating of everything i have done wrong would be welcome as i don't want to waste time trying to use a setup that is just not going to be practical or reliable to maintain / keep operational.
I have read that yum update can break this type of system - which concerns me.
The intended use of the spamfilter is for a small business (only about twenty e-mail accounts). However, they still need to reliably receive e-mails (hopefully with less spam though).
Missing ifcfg-eth[2-5] fileset for ZNYX 345Q Quad Port 10/100 cards. I have showing in the gui network device that my ports for my ZNYX ZX345Q Quad Port card my ports are Auto eth2, Auto eth3 etc. My Motherboard and Intel cards show as System eth0 and System eth1.
There ARE corresponding entries for those in my /etc/sysconfig/network-settings/ directory, but there are not ifcfg-eth[2-5] files to correspond to these adapters. Can I just write my own files and that will do it?
How does Fedora 12/13 load these drivers into the kernel without having these ifcfg files?
I'd love to know if there is another way Fedora controls NICs / other system resources.
I installed centos 5.5 Ent as host and i installed vmware server 2.2. i need to Change the location of the 'Virtual Machines' directory(/var/lib/vmware/Virtual Machines) to a directory on /home(/home/Virtual Machines) where there is more disk space.Reinstalling centos and reinstalling Vmware server is not the option for me.
I'm working on a server and noticed that the to RAID5 setup is showing 4 Raid devices but only 3 Total devices. It's on a fully updated CentOS 5 system that only has three SATA drives, as it can not hold anymore. I've done some researching but am unable to remove the fourth device, which is listed as removed. The full output of `mdadm -D /dev/md2` can be see below. I've never run into this situation before.Anyone have any pointers on how I can reduced the Raid Devices from 4 to 3? I have tried
I "inherited" a cluster of 2 systems with XenCluster, based on CentOS 5.5. About five weeks ago I ran the (long overdue) yum update, which crashed in the middle of updating on both nodes, so I had to reinstall all those packages by hand and had to re-enable their startup. So both systems are already in the not-ideal state.
One system rebooted itself during my absence and now won't boot anymore. It seems to boil down to clustered lvm not being activated in the initrd and therefore no VolGroup00 available, which contains the root. The other volume group has good reasons to be clustered but the root does not need to be. But I can't fix it from a rescue CD, every time the error comes up that the volume group is clustered.The exact error display at boot is at
what do I do to either fix the startup to ignore VolGroup00 being clustered OR change the status of VolGroup00 to non-clustered?I notice the other system has this too so my best guess is that I'll have the same problem in a bigger way when this system reboots too. Hoping for no power failures...Relevant versions of stuff:
I have a new system using an Intel DG451D main board. I have been trying to get a RAID 1 mirror set working as the main drive in this system and for some reason, my SATA drives - three of them all new have had their SMART data changed to show the drives as failing and in need of replacement. Eventually the drive reports failure to the degree that the BIOS no longer recognises it. When loading the Centos os I was getting differing results because of this issue. I am not sure if this is a hardware issue even - I know that the drives were all very much OK and brand new - no good now! Just putting a feeler out to see if anyone has had a similar issue or to see if anyone knows of any possible known causes for this?
Failing any explanation, can anyone suggest a good desktop style Main Board that supports RAID well for Centos 5.4? I plan to sue this as a small server system so graphics etc are not important here.
I'm setting up a raid 5 on several hard disks with a layer of lvm on top for good measure.I know the recent kernels support growing software raid, but since centos runs 2.6.18, I wanted to make sure it'll work. Does the centos kernel support growing raid devices?
I have installed CentOS 5.3 on my PC which has an Atheros AR8121/8113/8114 Gigabit Ethernet. Unfortunately 5.3 has no drivers for this LAN Card. I searched the Google for drivers but was unable to find any. Does the 5.4 has them? If yes then how can i upgrade it to 5.4 without Network connectivity?
I was try to compile the drirver from cd asus, but my lan card still not detected in centos 5.3. when i bringing up eth0 its show like : "the atl2 device eth0 does not to be present, delaying initialization."iwas suft on google some driver but all driver just to centos 5.3 when i install the rpm it does not work. i love centos i dont want to change my lovely centos.
I've installed from the CD the Centos version 5.5. When I try to connect to Internet I can't because I received some errors. I've the Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) Ethernet Controller also a wireless slot (I've the wireless card DWL-G650+) When I turn on the pc and I go to "Ethernet Device", I see set: peth0 (Intel Corporation 82801CAM (ICH3) PRO/100 VE (LOM) ETHERNET CONTROLLER) and also set "Bind to MAC address": fe:ff:ff:ff:ff:ff I've set manually the IP address (I'm under router). Status is "Active" but can't go on the Net. When I change to "eth0 (Intel EtherExpress/100 driver)...sometimes become "Active" an other times said that the MAC address is different or to check the cable because can't find the IP. What can I do?
I've installed a new fresh Centos 5.5 ..and after a lot of work..something starts to work (X now works with the new ATI HD5145 using ATI drivers) but i've a serious problemThe ethernet controller JMC250 JMicron PCI EXPR. doesent work at all so my notebook is out of the world !!!Here is some infos:rpm -q centos-release
i have a centos 5 and i cant access to the LAN or Internet because , i cant create a network connection , i try to say My Ethernet dont appears,and i cant add any connections.i id thisTerminal:Quote:sudo iwconfig
I am using asus p5ld2-x/1333 motherboard,I installed the centos ,Centos saw other drivers but didn't see ethernet card.I am not connection the internet.
We installed CentOS 5 at our school and are attempting to get 2 simple DNS servers online. These are simple name resolution servers for our network. We installed the needed caching nameserver packages via Yum and all seems to be well, but for some reason when the server is online, it fails to resolve DNS records except when we direct the requests to its 127.0.0.1 (localhost) interface. As for the server specs, the DNS server is running on a Virtual Machine, and the ESXi server has 2 quad-core Xeon CPU's with 48 Gigs of RAM (in short.. hardware is adequate.)
Here's more details: When the box boots up, we can confirm that the named service is running and it resolves DNS records when we direct queries to its localhost address: [root@ns1 ~]# dig hotbot.com @localhost ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @localhost ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 55510 ;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 4, ADDITIONAL: 0 ..... ; <<>> DiG 9.3.6-P1-RedHat-9.3.6-4.P1.el5_4.2 <<>> hotbot.com @66.186.176.2 ;; global options: printcmd ;; connection timed out; no servers could be reached
What would cause the Named service to not answer DNS queries from the physical IP but only from it's internal IP?
I have a server wich is connected to an iSCSI storage and gets harddisks from this storage. Sometimes I have to add new disks to this server. Everytime I add a disk and make an /etc/init.d/iscsi restart on the server the disks don't have the same device name as before the iscsi restart.
It should be possible to gave the disks persistent names using udev rules. Now I tried to create different rules in "/etc/udev/rules.d/99-static-iscsi-names.rules" e.g.
# /dev/sdc KERNEL=="sd*", BUS=="scsi", PROGRAM=="/sbin/scsi_id -g -s %p",RESULT=="360a98000503355344c4a576864467877" NAME=="sdc%n" In "/etc/rc.local" I added "/sbin/start_udev" and in "/etc/scsi_id.config" I added the line "vendor="NETAPP",model="LUN",options=-g"