CentOS 5 Networking :: Moving Interfaces At Boot?

Oct 6, 2010

I have a series of four config scripts which all run in sequence of each other.first occurs during the whole kcikstart thing.Kickstart then tells rc.local to run step2, which then tells rc.local to run step 3. No steps are repeated, after they are run they delete themselves from rc.local.After each step, it reboots.Step 3 is responsible for creating the /etc/sysconfig/network-scripts/ifcfg-eth1 file, and populating it. It greps ifconfig -a for the mac address of USB0.

#! /bin/bash

# Check to see if the usb nic takes eth2, if it does, move it to eth1[code]............

View 1 Replies


ADVERTISEMENT

CentOS 5 Networking :: Dosen't Enslave Bonded Interfaces On Boot?

Feb 9, 2011

I have a rack of IBM x335s. They are all running 802.1Q over 802.3ad, that is VLAN trunking over two physical Ethernet bonded with LACP. Its been working fine on all of the servers for years.One server recently had its hard drives upgraded and CentOS reinstalled. It is a minimal install. The server has been reconfigured exactly as it was and has been verified and compared against the other working servers.It will not enslave the interfaces on boot. You can manually enslave and then bring up the network, so that much of the configuration is verified. It simply refuses to enslave... which fails everything that comes after thatHere is a snippet of the message log on the machine that does not enslave on boot

Jan 31 22:28:57 vm3srvp01 kernel: NET: Registered protocol family 10
Jan 31 22:28:57 vm3srvp01 kernel: lo: Disabled Privacy Extensions
Jan 31 22:28:57 vm3srvp01 kernel: IPv6 over IPv4 tunneling driver

[code]....

View 2 Replies View Related

Ubuntu :: Network Bridge - Moving Packets Between Interfaces

Mar 27, 2010

I am using vnuml to test a network project. I have one Ethernet card on my ubuntu 9.10( eth0) with network 10.1.0.0/16, and creating a tap0 with subnet 10.4.0.0/16. Now the problem is how to work them together, such that packets from one interface goes to other one?

View 2 Replies View Related

Networking :: Bridged Interfaces In CentOS

Nov 20, 2010

I have two eth interfaces bridged in CentOS, one of these interface is connected to a Windows Server, I can do a ifconfig down on both these interfaces and there is no change of status at the windows side, I don't get the message that 'network cable has been unplugged'

Is this behavior normal ? I think when you shut an interface than you get the interface down message at other end ? And what becomes the status of the bridge if I shutdown one of its interface ?

View 1 Replies View Related

CentOS 5 Networking :: Where Are File /etc/network/interfaces

Jan 15, 2010

I work now with Centos 5.4 and I would like configure my Ethernet, but I can't find the /etc/network/interfaces like in CentOS 5.2.

[root@headnode1 etc]# uname -rmi
2.6.18-164.10.1.el5 i686 i386
[root@headnode1 etc]#

View 4 Replies View Related

CentOS 5 Networking :: 2 Bond Interfaces 2 Different Modes

Dec 7, 2010

I have 4 NICs and am trying to create 2 bonds. The first bond is mode 1, the second is mode 4. What happens though is makes both bonds mode 1. Here's my modeprobe.conf:

alias bond0 bonding
options bond0 miimon=80 mode=1
alias bond1 bonding
options bond1 miimon=100 mode=4 lacp_rate=1

View 4 Replies View Related

Ubuntu Networking :: ADVISEADDR: Error In Specifying Interfaces: No Existing Ip Interfaces Found

Jan 7, 2010

I have a weird issue that I have not seen on any forum. My jaunty on DELL studio laptop seems connected to net, but I can not access any network service (ssh, firefox etc.). But when I connect a cable the cable lights blink as it should be and in wireless connection my wifi light blinks.

It was working 2 days ago without problem, and I have not done big changes recently.I removed and reinstalled network-manager and network-manager-gnome. Nothing changed. I see a message in each restart as follows (when Openafs is starting). I can reproduce it with "/etc/init.d/openafs-client restart"

Code:

ADVISEADDR:error in specifying interfaces: no existing ip interfaces found

#lspci

Code:

04:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100
08:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5784M Gigabit Ethernet PCIe (rev 10)
#lshw -c network

[code].....

View 5 Replies View Related

CentOS 5 Networking :: Which File Can Setup Up Network Interfaces

Jul 20, 2009

which file can setup up my network interfaces? i was able to setup the nameserver using /etc/resolv.conf but I cannot find anywhere to configure the ip and and gateway. I could't find /etc/network/interfaces as you do on Debian

View 1 Replies View Related

CentOS 5 Networking :: Disable IPv6 On Specific Interfaces?

Apr 10, 2011

Now that IPv6 is becoming more and more common, I found the need to disable IPv6 on some interfaces but have it enabled on other. I found that /proc/sys/net/ipv6/conf/*/disable_ipv6 does exactly that. I am now wondering if anybody knows, why are networking scripts so counterintuitive. /etc/sysconfig/network has an option:

NETWORKING_IPV6=yes

All this option does is disable some ipv6 services (dhcpv6...), it does not disable IPv6 in whole (as one would assume...that's why you had to disable it with module parameters). Searching for more IP6 related config option, one can find that /etc/sysconfig/network-scripts/ifcfg-* scripts can contain:

IPV6INIT=yes

Again, this option does not disable IPv6 protocol on the interface, it just skips running ifup-ipv6/ifdown-ipv6 scripts. I added a /sbin/ifup-pre-local. Now, this script runs before ethX entries are created (other scripts run when it's already too late) in /proc directory, so it modifies default values which are then used after those entries are created:

#!/bin/bash
#
[ -f "/etc/sysconfig/network-scripts/$1" ] && . /etc/sysconfig/network-scripts/$1

[code]...

View 1 Replies View Related

Fedora Networking :: Enable 3 Interfaces \ When Start One Interface The Another Interfaces Goes Down?

Jan 25, 2010

I have 3 Interfaces for a different LAN's and when I start one interface the another interfaces goes down.How can it's possible?I configure my ethernets as:

Code:
/sbin/ifconfig eth0 172.16.3.108 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth1 172.16.3.109 netmask 255.255.0.0 broadcast 172.0.255.255
/sbin/ifconfig eth2 172.16.3.1110 netmask 255.255.0.0 broadcast 172.0.255.255

View 12 Replies View Related

Ubuntu Networking :: Adding Interfaces To /etc/network/interfaces?

Apr 16, 2010

If I try to add a new interface (eth1) to /etc/network/interfaces, I get

Code:
* Reconfiguring network interfaces... SIOCSIFADDR: No such device
eth1: ERROR while getting interface flags: No such device
SIOCSIFNETMASK: No such device

[Code]...

How do I add 2 interfaces and get anyone of them to work, as available ?

View 5 Replies View Related

CentOS 5 Networking :: Numerous Hostnames On Numerous Interfaces?

Aug 13, 2010

I'm curious; for a current project a server has 4 network interfaces (eth0 and eth2 are in a bonded pair using the bonding module, and then eth1 is being used for management, while eth3 is currently unused but may be utilized for iscsi in the future).

We need to configure two different hostnames, one for the bonded pair (bond0) and one for eth1. Now I have been googling around to try and figure out how the heck this is done but I can't find much of anything. In some methods it mentions using the hostname command, however this isn't persistant after reboot.

Another mentions just editing the /etc/hosts file but I thought that was only used locally? Both bond0 and eth1 will be on separate VLANs with different DNS servers, so it needs to end up with two different FQDN's

View 1 Replies View Related

CentOS 5 :: Moving Files From CentOS VPS > Windows Home PC?

Jun 11, 2011

I am wondering what is the fastest way for me to move files from a VPS running CentOS to my home PC? I do not have FTP or anything like that installed. Are there commands I can enter in putty, for example, that will simply download an entire directory on the VPS onto my home PC?

View 2 Replies View Related

CentOS 5 Hardware :: Moving Centos From Intel To Amd?

Jul 14, 2011

I got a crash on intel machine running intel cpu (CENTOS 5)I would like to know if i can move hdd to new machine with amd cpu? 3 hdd (raid 0 on 2 of them)system is on hdd without raid.

View 1 Replies View Related

CentOS 5 :: Kickstart With Unknown Number Of Network Interfaces

Nov 23, 2010

we use for the installation of our machines bladelogic. We have different servers. Some servers have only one network interface, but it can be 2, 4 or may be more. There is always one network device for using PXE, but it is not always eth0.Is there any way to run kickstart without the entering of the PXE-Device so, that kickstart checks all the network devices in the system?

View 3 Replies View Related

CentOS 5 :: Moving From Centos 5.2 To 5.3 Breaks USB HUB Use?

Jul 4, 2009

I help develop an Asterisk channel driver that uses USB audio devices to link amateur radio stations via the Internet.All worked well under Centos 5.2 but I recently upgraded to Centos 5.3. I now get either "cannot submit datapipe for urb 0, error -28: not enough bandwidth" followed by a kernel panic or choppy audio depending on the use of either single or multi-TT hubs. For at least 4 devices, things do work under Centos 5.3 if I have a PC with 4 USB ports and do not use a hub. Of course I need to use a hub in most cases errors but even with a single device connected, data seems to be lost resulting in choppy audio. We need the hubs to work for larger systems and PC's with only 2 USB ports.Hardware:

USB 2.0 Audio Device Class 1.0, C-Media CM108
USB 2.0 HUB, 7 port with one TT, NEC UPD720113 or
HUB 2.0 HUB, 7 port with multiple TT's, Genesys Logic GL852.

[code].....

View 1 Replies View Related

Debian Configuration :: Bringing Up Wireless Interfaces At Boot Also

May 11, 2010

My new Squeeze machine detects all of my hardware including the LAN and WLAN cards, but only brings up the LAN card. There isn't even an entry for it in /etc/network/interfaces for me to modify. I tried adding the info manually but then the entire network wouldn't start. I had it configured as a static IP and I know the commands were correct due to them working on the LAN card. I believe that the name "wlan0" was causing the problem, but how else can I bring it up at boot?

View 7 Replies View Related

Fedora :: Bringing Up Wlan Interfaces Failes On Boot?

Sep 27, 2009

Recently (I can't put an exact date on it but its been within the last few weeks) on boot I've had to wait two or three minutes for my system to bring up my network interface, in a way its never done before...The output of /var/log/boot.log is as follows:

Code:
Welcome to Fedora
Press 'I' to enter interactive startup.

[code]...

View 3 Replies View Related

Ubuntu Networking :: Startup Networking Automatically Using /etc/network/interfaces

Jul 2, 2010

I'm on an embedded system that doesn't have Gnome, and I'm trying to startup networking automatically using /etc/network/interfaces. Here's what I have.

[Code]....

eth0 comes up just fine. wlan0 comes up, but it's unable to acquire a DHCP address. I added the following lines to /etc/rc.local, and wlan0 comes up all the way, but I'm not too crazy about this hack.

[Code]....

View 1 Replies View Related

CentOS 5 :: Moving RPM On Disk To A Dir?

Aug 19, 2010

What I'm doing is attempting to create a minimalized CentOS which only installs the base components.

I decided that I'd install everything I need, then I did a ..

rpm -qa > installed-packages

I think used this new file to move all the RPMs that were used during the installation from ~/CentOS/disk/CentOS/ to ~/CentOS/graveyard

[root@localhost CentOS]# cat installed-rpms-no-vers | while read file; do mv disk/CentOS/${file}* ~/CentOS/graveyard/ ;done
mv: cannot stat `disk/CentOS/iptables-ipv6*': No such file or directory
mv: cannot stat `disk/CentOS/nss-tools*': No such file or directory

[Code]....

View 5 Replies View Related

General :: Moving From Fedora To CentOS?

Mar 31, 2010

I have Fedora installed and I am trying to change to CentOS. Can't boot from live CD I download

View 2 Replies View Related

CentOS 5 Hardware :: Moving From IDE To SATA?

May 27, 2009

This might be a common topic but searching yielded me no results. I am trying to take one of my NAS servers from an IDE hard disk to a new SATA hard disk. Reinstalling the OS is not an option. I have a working system and have cloned the disk using Acronis True Image to a SATA hard disk.

First, Grub has to be reinstalled which is no problem. I have done this and it works just fine. My SATA drive is booting through Grub and attempting to load CentOS. Obviously the problem lies in that my original drive is /dev/hda and my new disk is /dev/sda

I have changed the following to try and correct the issue:
/boot/grub/menu.lst
/boot/grub/device.map
/etc/fstab

The new disk is still having problems booting. I have attempted before to create a new inittab but I am not sure it was successful and I encountered the same issues. After booting via Grub, here is the message that I receive

Unable to access resume device (LABEL=SWAP-hda3)
mount: could not find filesystem '/dev/root'
setuproot: moving /dev failed: No such file or directory

[Code]...

There must be some places that still reference hda. That first line of the panic message talks about SWAP-hda3. I have changed an entry like that in the Grub config but it still shows up at boot time.

View 1 Replies View Related

CentOS 5 :: Moving Files To Second Partition?

Dec 8, 2009

Here is a dumb question (For some reason I can never remember Linux commands but can always remember DOS commands). I don't know what it is, but I think it's the "everything is a file or a directory" nature of Linux that I can't remember it.

Anyhow, I have an instance running on Amazon EC2. I have noticed recently that FreePBX (an Asterisk GUI) is warning me of shortage of disk space. So here is the output:

[root@ip-10-251-123-3 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 9.9G 8.8G 621M 94% /
/dev/sda2 147G 188M 140G 1% /mnt

[Code].....

So, it seems that I have a lot of space in sda2 but I don't know how to access it. how to do a symbolic link (or I can search with google) to move some folders to sda2 and then link them.

View 12 Replies View Related

CentOS 5 :: Moving Logs Automatically?

Mar 8, 2010

I have a logserver.log located at /usr/local/logserver. It's NSLOGDEPTH=100. I'm not sure if this is the reason but my log file is only up to 100 only..samplelogserver001.loglogserver002.log......logserver100.logThe other logs were already removed. I do not have any scripts on logrotate for this specific logs. My question now is: How can I move some logs automatically so that it will not be removed totally from the system. I'm planning to move it locally on the server and compressed it at the same time. My second plan is to move it on another server. Do I need to create a script on this or can be done on logrotate? (note: i do not want to remve old logs)

View 1 Replies View Related

CentOS 5 :: Moving Drives To New Hardware?

Jun 22, 2011

I have recently lost quite a bit of electronics around the house to a power surge/lightning strike (all items were on APC backups). The drives from my server were undamaged and I have a new server to host them in. I am having a hard time getting the new server to boot up with the old drives (trying to avoid a fresh install/rebuild of server). The hardware is very similar but not identical. At this point it gets to the following during the boot process:

Scanning and configuring dmraid support devices
md: Autodetecting RAID arrays
MD: autorun ...
MD: ... autorun DONE.
MD: Autodetecting RAID arrays.

[Code]...

View 2 Replies View Related

Networking :: Got Two Interfaces With Same Mac?

May 6, 2011

I'm testing some network setups, and bought two dirt-cheap USB network interfaces. My plan was to attach these two to an embedded device (sheevaplug) and mess with firewall setups. However, the two interfaces are absolutely identical; they have the same MAC, and lsusb -v is the same for both, line by line (except for device number, which tells the order the devices are plugged in, I believe?). Also, this is a single usb bus (single port, with a hub).

Now, obviously I can't make much of a firewall setup if I can't tell the interfaces apart. I realize I probably hit a brick wall, but does anyone have thoughts on this?

View 4 Replies View Related

Debian Configuration :: Wheezy32 Boot Hangs - Configuring Network Interfaces

Jan 6, 2016

As above, my wheezy 32bit hangs at boot. the last few lines displayed are

Code: Select allMounting local filesystems...done.
Activating swapfile swap...done.
Cleaning up temporary files...
Setting kernel variables ...done.
Setting up resolvconf...done.
Configuring network interfaces...

[Code] ....

I removed the files from /etc/network/interfaces.d/ just in case. i still can't boot up.

Resolved (I think) as on this post: [URL] ....

View 14 Replies View Related

CentOS 5 :: Moving /var And /usr Partitions To Different Hard Disk?

Apr 3, 2009

Especially /var because I am running a MYSQL server on this box. I want to know if there is a safe procedure to follow to move these partitions from the current sda2 and sda3 that they are now to sdb2 and sbd3 because this is a much bigger disk. I don't want to break MYSQL and I don't want to be down for a long period. I have heard of some people suggesting a sym link to a /newvar and /newuser on sdb but I have also read this will not work when moving to a different physical drive.

View 3 Replies View Related

CentOS 5 :: Moving Root Filesystem To Another Disk?

May 19, 2009

Ive setup a filesystem on a RAID 0+1 and am looking at moving root filesystem from a single disk to the new one. I could not install CentOS on mirrored filesystem as the RAID card did not have a pre-built driver for CentOS 5.3, so I had to compile the driver after installing the system.

What Im going to do now is:

1.Mount the new mirrored filesystem under /root1
2.use find | cpio to copy everything from the existing / to /root1
3.use grub to create a boot record on /root1
4.edit /root1/etc/fstab to point / to the new disk
5. reboot the system and keep my fingers crossed

Is this the way to go? Am I missing anything?

View 6 Replies View Related

CentOS 5 Hardware :: Moving System From Usb To E-sata?

Nov 11, 2009

I've a pc running Centos 5.4 with an uniq external hard disk hooked by USB (no internal drive). I'd like to hook it through e-sata to get performance improvment. So I am using a sata->e-sata connector to plug the disk.The disk is well detected by the bios, and Centos begin to boot but when it wants to mount the volume groups I've a kernel panic.VG and LV names are detected, but the system says it can't find them (there is a /dev/root not found error message)If I boot the system through a live cd I can mount and access VG/LV without problem any hint to get the system up and running through sata ?

grub.conf:

# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that

[code]...

View 1 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved