LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   I need help install new network card Intel 82546EB NIC on Debian 5 not working (http://www.linuxquestions.org/questions/linux-hardware-18/i-need-help-install-new-network-card-intel-82546eb-nic-on-debian-5-not-working-939374/)

n0fx 04-11-2012 09:29 PM

I need help install new network card Intel 82546EB NIC on Debian 5 not working
 
OS: Debian 5
Kernel version: 2.6.26-2-686
Network Card: Intel 82546EB

Currently, I have a Dell server that already 3 network cards (dual nic and 1 single), 1 is unused (Intel 82557) and the other 2 Broadcom's are connected, the only problem is that one of them is going bad (keeps disconnecting from the net). The way I have it setup is that 1 nic has an internal IP address and the other has an external IP address. I'm currently SSH into the server with the internal IP and I'm trying to install a new network card, which is the Intel 82526EB dual nic gigabit card. I ran LSPCI and it detects the card but I can't seem to be able to connect to it from outside on the net. I have a LAMP setup (using ISPConfig v2.0) on the server and I reconfigured the new ethX connections with the external IP but it doesn't seem to work. I tried all 3 other ethX interfaces (eth0, eth3, eth4), configured them with the same static IP, since only one cable is plugged into the socket, it should work. The cable is plugged directly to the cable modem we have and an external IP address is set on all the interfaces. I tried to restart the network with /etc/init.d/networking restart and also tried rebooting the server, but it doesn't work.

I don't know what else I can do, other than try installing the latest drivers but I'm not sure how to even install them. I know I can do the make install and compile it but from there, I don't know how to apply the driver and make sure it loads up every time I reboot the server. I currently trying to do this remotely online, since I don't have physical access to the server.

Any help would be truly appreciated!

LSPCI:

00:00.0 Host bridge: Broadcom CMIC-WS Host Bridge (GC-LE chipset) (rev 13)
00:00.1 Host bridge: Broadcom CMIC-WS Host Bridge (GC-LE chipset)
00:00.2 Host bridge: Broadcom CMIC-LE
00:04.0 Class ff00: Dell Embedded Remote Access or ERA/O
00:04.1 Class ff00: Dell Remote Access Card III
00:04.2 Class ff00: Dell Embedded Remote Access: BMC/SMIC device
00:0e.0 VGA compatible controller: ATI Technologies Inc Rage XL (rev 27)
00:0f.0 Host bridge: Broadcom CSB5 South Bridge (rev 93)
00:0f.1 IDE interface: Broadcom CSB5 IDE Controller (rev 93)
00:0f.2 USB Controller: Broadcom OSB4/CSB5 OHCI USB Controller (rev 05)
00:0f.3 ISA bridge: Broadcom CSB5 LPC bridge
00:10.0 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 03)
00:10.2 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 03)
00:11.0 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)
00:11.2 Host bridge: Broadcom CIOB-X2 PCI-X I/O Bridge (rev 05)

01:08.0 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
01:08.1 Ethernet controller: Intel Corporation 82546EB Gigabit Ethernet Controller (Copper) (rev 01)
02:06.0 Ethernet controller: Intel Corporation 82557/8/9/0/1 Ethernet Pro 100 (rev 0d)
03:06.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)
03:08.0 Ethernet controller: Broadcom Corporation NetXtreme BCM5701 Gigabit Ethernet (rev 15)

04:08.0 PCI bridge: Intel Corporation 80303 I/O Processor PCI-to-PCI Bridge (rev 01)
04:08.1 RAID bus controller: Dell PowerEdge Expandable RAID Controller 3/Di (rev 01)
05:06.0 SCSI storage controller: Adaptec RAID subsystem HBA (rev 01)
05:06.1 SCSI storage controller: Adaptec RAID subsystem HBA (rev 01)

Ifconfig:

eth0 Link encap:Ethernet HWaddr 00:02:b3:cb:f3:74
inet addr:xx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.xxx.xxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth1 Link encap:Ethernet HWaddr 00:06:5b:fc:6c:16
inet addr:xx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.xxx.xxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Interrupt:28

eth2 Link encap:Ethernet HWaddr 00:06:5b:fc:6c:17
inet addr:10.4.1.215 Bcast:10.4.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:5bff:fefc:6c17/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3788 errors:0 dropped:0 overruns:0 frame:0
TX packets:1381 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:558890 (545.7 KiB) TX bytes:233196 (227.7 KiB)
Interrupt:29

eth3 Link encap:Ethernet HWaddr 00:02:a5:4f:19:85
inet addr:xx.xxx.xx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.xxx.xxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth4 Link encap:Ethernet HWaddr 00:02:a5:4f:19:84
inet addr:xxx.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:xxx.xxx.xxx.xxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:39 errors:0 dropped:0 overruns:0 frame:0
TX packets:39 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2973 (2.9 KiB) TX bytes:2973 (2.9 KiB)

cat /etc/udev/rules.d/70-persistent-net.rules

# This file was automatically generated by the /lib/udev/write_net_rules
# program run by the persistent-net-generator.rules rules file.
#
# You can modify it, as long as you keep each rule on a single line.

# PCI device 0x8086:0x1229 (e100)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:b3:cb:f3:74", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

# PCI device 0x14e4:0x1645 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:06:5b:fc:6c:16", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

# PCI device 0x14e4:0x1645 (tg3)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:06:5b:fc:6c:17", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

# PCI device 0x8086:0x1010 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:a5:4f:19:85", ATTR{type}=="1", KERNEL=="eth*", NAME="eth3"

# PCI device 0x8086:0x1010 (e1000)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:02:a5:4f:19:84", ATTR{type}=="1", KERNEL=="eth*", NAME="eth4"

dmesg:

[ 0.482434] ACPI: PCI Interrupt Link [LNK8] (IRQs 3 4 5 6 *7 9 10 11 12 14)
[ 0.482434] ACPI: PCI Interrupt Link [LNK9] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.482434] ACPI: PCI Interrupt Link [LNKA] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.482434] ACPI: PCI Interrupt Link [LNKB] (IRQs 3 4 5 6 *7 9 10 11 12 14)
[ 0.482434] ACPI: PCI Interrupt Link [LNKC] (IRQs 3 4 5 6 7 9 10 *11 12 14)
[ 0.482434] ACPI: PCI Interrupt Link [LNKD] (IRQs 3 4 5 6 7 9 *10 11 12 14)
[ 0.482434] ACPI: PCI Interrupt Link [LNKE] (IRQs 3 4 5 6 *7 9 10 11 12 14)
[ 0.482434] ACPI: PCI Interrupt Link [LNKF] (IRQs 3 4 5 6 7 9 10 *11 12 14)
[ 0.482434] ACPI: PCI Interrupt Link [LN10] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.482625] ACPI: PCI Interrupt Link [LN11] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.483042] ACPI: PCI Interrupt Link [LN12] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.487814] ACPI: PCI Interrupt Link [LN13] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.487997] ACPI: PCI Interrupt Link [LN14] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.488180] ACPI: PCI Interrupt Link [LN15] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.488363] ACPI: PCI Interrupt Link [LN16] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.488546] ACPI: PCI Interrupt Link [LN17] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.488728] ACPI: PCI Interrupt Link [LN18] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.488911] ACPI: PCI Interrupt Link [LN19] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.489095] ACPI: PCI Interrupt Link [LN1A] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.489281] ACPI: PCI Interrupt Link [LN1B] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.489465] ACPI: PCI Interrupt Link [LN1C] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.489647] ACPI: PCI Interrupt Link [LN1D] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.489834] ACPI: PCI Interrupt Link [LN1E] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.490017] ACPI: PCI Interrupt Link [LN1F] (IRQs 3 4 5 6 7 9 10 11 12 14) *0, disabled.
[ 0.490202] ACPI: PCI Interrupt Link [LUSB] (IRQs 3 4 *5 6 7 10 11 12 14)
[ 0.491203] Linux Plug and Play Support v0.97 (c) Adam Belay
[ 0.491244] pnp: PnP ACPI init
[ 0.491244] ACPI: bus type pnp registered
[ 0.528556] pnp: PnP ACPI: found 16 devices
[ 0.528560] ACPI: ACPI bus type pnp unregistered
[ 0.528566] PnPBIOS: Disabled by ACPI PNP
[ 0.531742] PCI: Using ACPI for IRQ routing
[ 0.533418] ACPI: RTC can wake from S4
[ 0.540911] system 00:0a: ioport range 0x800-0x89f has been reserved
[ 0.540915] system 00:0a: ioport range 0x8a0-0x8af has been reserved
[ 0.540918] system 00:0a: ioport range 0xc00-0xcd7 has been reserved
[ 0.540921] system 00:0a: ioport range 0xf50-0xf58 has been reserved
[ 0.540925] system 00:0a: ioport range 0x8e0-0x8e3 has been reserved
[ 0.540937] system 00:0b: iomem range 0x0-0x9ffff could not be reserved
[ 0.540941] system 00:0b: iomem range 0x100000-0x7fffffff could not be reserved
[ 0.540945] system 00:0b: iomem range 0xf0000-0xfffff could not be reserved
[ 0.540949] system 00:0b: iomem range 0xfec00000-0xfec0ffff could not be reserved
[ 0.540952] system 00:0b: iomem range 0xfee00000-0xfee0ffff could not be reserved
[ 0.540956] system 00:0b: iomem range 0xffe00000-0xffffffff could not be reserved
[ 0.572272] PCI: Bridge: 0000:04:08.0
[ 0.572272] IO window: 9000-9fff
[ 0.572272] MEM window: 0xfc800000-0xfc9fffff
[ 0.572272] PREFETCH window: 0x0000000080100000-0x00000000801fffff
[ 0.572272] NET: Registered protocol family 2
[ 0.585169] IP route cache hash table entries: 32768 (order: 5, 131072 bytes)
[ 0.588264] TCP established hash table entries: 131072 (order: 8, 1048576 bytes)
[ 0.589454] TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
[ 0.590273] TCP: Hash tables configured (established 131072 bind 65536)
[ 0.590281] TCP reno registered
[ 0.595895] NET: Registered protocol family 1
[ 0.596259] checking if image is initramfs... it is
[ 1.071939] Switched to high resolution mode on CPU 1
[ 1.072016] Switched to high resolution mode on CPU 3
[ 1.072064] Switched to high resolution mode on CPU 2
[ 1.075540] Switched to high resolution mode on CPU 0
[ 1.127043] Freeing initrd memory: 6034k freed
[ 1.131953] audit: initializing netlink socket (disabled)
[ 1.131953] type=2000 audit(1334191520.104:1): initialized
[ 1.131953] highmem bounce pool size: 64 pages
[ 1.131953] Total HugeTLB memory allocated, 0
[ 1.131953] VFS: Disk quotas dquot_6.5.1
[ 1.131953] Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
[ 1.131953] msgmni has been set to 1750
[ 1.131953] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 253)
[ 1.131953] io scheduler noop registered
[ 1.131953] io scheduler anticipatory registered
[ 1.131953] io scheduler deadline registered
[ 1.131953] io scheduler cfq registered (default)
[ 1.131953] pci 0000:00:0e.0: Boot video device
[ 1.131953] pci 0000:02:06.0: Firmware left e100 interrupts enabled; disabling
[ 1.131953] isapnp: Scanning for PnP cards...
[ 1.486275] isapnp: No Plug & Play device found
[ 1.492581] Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing enabled
[ 1.492581] serial8250: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.492581] serial8250: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 1.497686] 00:07: ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
[ 1.497686] 00:08: ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
[ 1.497686] ACPI: PCI Interrupt 0000:00:04.1[B] -> GSI 23 (level, low) -> IRQ 23
[ 1.497686] 0000:00:04.1: ttyS2 at I/O 0xec80 (irq = 23) is a 16550A
[ 1.504585] brd: module loaded
[ 1.504585] PNP: PS/2 Controller [PNP0303:KBD,PNP0f13:MOU] at 0x60,0x64 irq 1,12
[ 1.504585] serio: i8042 KBD port at 0x60,0x64 irq 1
[ 1.504585] serio: i8042 AUX port at 0x60,0x64 irq 12
[ 1.504585] mice: PS/2 mouse device common for all mice
[ 1.504585] rtc_cmos 00:09: rtc core: registered rtc_cmos as rtc0
[ 1.504585] rtc0: alarms up to one day, y3k
[ 1.504585] cpuidle: using governor ladder
[ 1.504585] cpuidle: using governor menu
[ 1.504585] No iBFT detected.
[ 1.504585] TCP cubic registered
[ 1.504585] NET: Registered protocol family 17
[ 1.504585] Using IPI No-Shortcut mode
[ 1.504585] registered taskstats version 1
[ 1.504585] rtc_cmos 00:09: setting system clock to 2012-04-12 00:45:21 UTC (1334191521)
[ 1.504585] Freeing unused kernel memory: 244k freed
[ 1.543898] input: AT Translated Set 2 keyboard as /class/input/input0
[ 1.637702] ACPI: ACPI0007:00 is registered as cooling_device0
[ 1.637702] ACPI: ACPI0007:01 is registered as cooling_device1
[ 1.637702] ACPI: ACPI0007:02 is registered as cooling_device2
[ 1.637702] ACPI: ACPI0007:03 is registered as cooling_device3
[ 1.950275] No dock devices found.
[ 1.997356] SCSI subsystem initialized
[ 2.026281] libata version 3.00 loaded.
[ 2.053772] Uniform Multi-Platform E-IDE driver
[ 2.053772] ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
[ 2.065990] SvrWks CSB5: IDE controller (0x1166:0x0212 rev 0x93) at PCI slot 0000:00:0f.1
[ 2.065990] SvrWks CSB5: not 100% native mode: will probe irqs later
[ 2.065990] SvrWks CSB5: simplex device: DMA forced
[ 2.065990] ide0: BM-DMA at 0x08b0-0x08b7
[ 2.065990] SvrWks CSB5: simplex device: DMA forced
[ 2.065990] ide1: BM-DMA at 0x08b8-0x08bf
[ 2.065990] Probing IDE interface ide0...
[ 2.081359] Intel(R) PRO/1000 Network Driver - version 7.3.20-k2-NAPI
[ 2.081359] Copyright (c) 1999-2006 Intel Corporation.
[ 2.122419] usbcore: registered new interface driver usbfs
[ 2.122419] usbcore: registered new interface driver hub
[ 2.122419] Floppy drive(s): fd0 is 1.44M
[ 2.126427] usbcore: registered new device driver usb
[ 2.122419] e100: Intel(R) PRO/100 Network Driver, 3.5.23-k4-NAPI
[ 2.122419] e100: Copyright(c) 1999-2006 Intel Corporation
[ 2.134724] Adaptec aacraid driver 1.1-5[2456]-ms
[ 2.138712] ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
[ 2.138712] FDC 0 is a National Semiconductor PC87306
[ 2.819240] hda: TEAC CD-ROM CD-224E, ATAPI CD/DVD-ROM drive
[ 3.491041] hda: host max PIO4 wanted PIO255(auto-tune) selected PIO4
[ 3.491626] hda: UDMA/33 mode selected
[ 3.491709] Probing IDE interface ide1...
[ 4.291515] ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
[ 4.291558] ide1 at 0x170-0x177,0x376 on irq 15
[ 4.295988] ACPI: PCI Interrupt Link [LUSB] enabled at IRQ 11
[ 4.295988] ACPI: PCI Interrupt 0000:00:0f.2[A] -> Link [LUSB] -> GSI 11 (level, low) -> IRQ 11
[ 4.295988] ohci_hcd 0000:00:0f.2: OHCI Host Controller
[ 4.295988] ohci_hcd 0000:00:0f.2: new USB bus registered, assigned bus number 1
[ 4.295988] ohci_hcd 0000:00:0f.2: irq 11, io mem 0xfe100000
[ 5.463610] usb usb1: configuration #1 chosen from 1 choice
[ 5.463610] hub 1-0:1.0: USB hub found
[ 5.463610] hub 1-0:1.0: 4 ports detected
[ 5.565127] usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
[ 5.565132] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 5.565135] usb usb1: Product: OHCI Host Controller
[ 5.565138] usb usb1: Manufacturer: Linux 2.6.26-2-686 ohci_hcd
[ 5.565140] usb usb1: SerialNumber: 0000:00:0f.2
[ 5.565450] tg3.c:v3.92.1 (June 9, 2008)
[ 5.565450] ACPI: PCI Interrupt 0000:03:06.0[A] -> GSI 28 (level, low) -> IRQ 28
[ 5.565450] ACPI: PCI Interrupt 0000:04:08.1[A] -> GSI 30 (level, low) -> IRQ 30
[ 5.659938] AAC0: kernel 2.7-1[3170]
[ 5.659938] AAC0: monitor 2.7-1[3170]
[ 5.659938] AAC0: bios 2.7-1[3170]
[ 5.659938] AAC0: serial 77D441D3
[ 5.659938] scsi0 : percraid
[ 5.659938] scsi 0:0:0:0: Direct-Access DELL hdraid V1.0 PQ: 0 ANSI: 2
[ 5.934308] scsi 0:1:1:0: Direct-Access FUJITSU MAW3147NC 5803 PQ: 0 ANSI: 3
[ 5.934308] scsi 0:1:2:0: Direct-Access MAXTOR ATLAS10K5_146SCA JNZ6 PQ: 0 ANSI: 3
[ 7.172623] scsi 0:1:6:0: Processor PE/PV 1x5 SCSI BP 1.1 PQ: 0 ANSI: 2
[ 7.406883] eth0: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000Base-T Ethernet 00:06:5b:fc:6c:16
[ 7.406889] eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] WireSpeed[1] TSOcap[0]
[ 7.406893] eth0: dma_rwctrl[76db000f] dma_mask[64-bit]
[ 7.410151] ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 29 (level, low) -> IRQ 29
[ 9.131605] eth1: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000Base-T Ethernet 00:06:5b:fc:6c:17
[ 9.131605] eth1: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] WireSpeed[1] TSOcap[0]
[ 9.131605] eth1: dma_rwctrl[76db000f] dma_mask[64-bit]
[ 9.503347] ACPI: PCI Interrupt 0000:01:08.0[A] -> GSI 20 (level, low) -> IRQ 20
[ 9.503347] ACPI: PCI Interrupt 0000:02:06.0[A] -> GSI 24 (level, low) -> IRQ 24
[ 10.203414] udev: renamed network interface eth1 to eth2
[ 10.227840] e100: eth0: e100_probe: addr 0xfcd20000, irq 24, MAC addr 00:02:b3:cb:f3:74
[ 10.266674] udev: renamed network interface eth0_rename to eth1
[ 10.482562] e1000: 0000:01:08.0: e1000_probe: (PCI-X:133MHz:64-bit) 00:02:a5:4f:19:85
[ 10.521793] e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 10.522042] ACPI: PCI Interrupt 0000:01:08.1[B] -> GSI 21 (level, low) -> IRQ 21
[ 10.791038] e1000: 0000:01:08.1: e1000_probe: (PCI-X:133MHz:64-bit) 00:02:a5:4f:19:84
[ 10.828774] e1000: eth4: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 10.889293] hda: ATAPI 24X CD-ROM drive, 128kB Cache
[ 10.889303] Uniform CD-ROM driver Revision: 3.20
[ 18.141681] Driver 'sd' needs updating - please use bus_type methods
[ 18.145695] sd 0:0:0:0: [sda] 286716672 512-byte hardware sectors (146799 MB)
[ 18.145695] sd 0:0:0:0: [sda] Write Protect is off
[ 18.145695] sd 0:0:0:0: [sda] Mode Sense: 06 00 00 00
[ 18.145695] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 18.145695] sd 0:0:0:0: [sda] 286716672 512-byte hardware sectors (146799 MB)
[ 18.145695] sd 0:0:0:0: [sda] Write Protect is off
[ 18.145695] sd 0:0:0:0: [sda] Mode Sense: 06 00 00 00
[ 18.145695] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 18.145695] sda: sda1 sda2 <<5>sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 18.149952] scsi 0:1:1:0: Attached scsi generic sg1 type 0
[ 18.149952] scsi 0:1:2:0: Attached scsi generic sg2 type 0
[ 18.149952] scsi 0:1:6:0: Attached scsi generic sg3 type 3
[ 18.168446] sda5 >
[ 18.168446] sd 0:0:0:0: [sda] Attached SCSI removable disk
[ 18.421472] PM: Starting manual resume from disk
[ 18.473221] kjournald starting. Commit interval 5 seconds
[ 18.473221] EXT3-fs: mounted filesystem with ordered data mode.
[ 20.222017] udevd version 125 started
[ 20.576860] dcdbas dcdbas: Dell Systems Management Base Driver (version 5.6.0-3.2)
[ 20.936563] Linux agpgart interface v0.103
[ 21.300568] piix4_smbus 0000:00:0f.0: Found 0000:00:0f.0 device
[ 21.315380] input: Power Button (FF) as /class/input/input1
[ 21.352609] ACPI: Power Button (FF) [PWRF]
[ 21.588181] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 21.603115] shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
[ 21.640978] input: PC Speaker as /class/input/input2
[ 21.895160] Error: Driver 'pcspkr' is already registered, aborting...
[ 21.910636] logips2pp: Detected unknown logitech mouse model 74
[ 22.335369] input: PS/2 Logitech Mouse as /class/input/input3
[ 23.476303] Adding 2650684k swap on /dev/sda5. Priority:-1 extents:1 across:2650684k
[ 23.896221] EXT3 FS on sda1, internal journal
[ 24.321245] loop: module loaded
[ 25.813183] NET: Registered protocol family 10
[ 25.813183] lo: Disabled Privacy Extensions
[ 25.900131] ADDRCONF(NETDEV_UP): eth0: link is not ready
[ 26.762315] ADDRCONF(NETDEV_UP): eth1: link is not ready
[ 27.137289] ADDRCONF(NETDEV_UP): eth2: link is not ready
[ 27.268400] ADDRCONF(NETDEV_UP): eth3: link is not ready
[ 27.383223] ADDRCONF(NETDEV_UP): eth4: link is not ready
[ 29.581518] tg3: eth2: Link is up at 100 Mbps, full duplex.
[ 29.581545] tg3: eth2: Flow control is on for TX and on for RX.
[ 29.581883] ADDRCONF(NETDEV_CHANGE): eth2: link becomes ready
[ 43.057158] eth2: no IPv6 routers present
[ 333.636082] warning: `proftpd' uses 32-bit capabilities (legacy support in use)
[ 348.200465] ip_tables: (C) 2000-2006 Netfilter Core Team

Peacedog 04-11-2012 10:15 PM

Hi n0fx, If I understand correctly, you have the cable modem plugged directly into the new card? If so, have you tried powering off the cable modem? Cable modems will sometimes bind to the mac address of the nic they are plugged into and powering them off allows them to reset and bind to a new mac.

Good luck. ;-)

n0fx 04-11-2012 10:21 PM

Shoot, I feel like an idiot. I'll have to do that tomorrow when I get over there. I did everything else except that, you might be right, I know some cable modems lock the MAC into their tables and won't release unless you reboot it off for 10 minutes, thanks!

if that doesn't work, do you have any other suggestions?

Peacedog 04-11-2012 10:31 PM

That's the first thing that came to mind. If that doesn't work post back here and we'll look for more solutions/suggestions.

Good luck. ;-)

n0fx 04-12-2012 03:05 PM

Quote:

Originally Posted by Peacedog (Post 4650700)
That's the first thing that came to mind. If that doesn't work post back here and we'll look for more solutions/suggestions.

Good luck. ;-)

I gave the cable modem at 10 minute reboot and it still won't connect. I did notice for the eth4 port, it says there was some RX and TX data coming in but I still could not connect to the Apache via the external IP, so I rebooted the server and now the eth4 doesn't show any RX or TX data coming in. (it's 0 for both)

I tried to edit the /etc/udev/rules.d/70-persistant-net.rules file by commenting out the other onboard Intel network card (e100) but when I rebooted, it automatically assigned it as eth0 again. What I did is assign the e100 to eth4 and set the new Intel card as eth0. It was successfully named but I don't get any packets going in/out from it:

eth0 Link encap:Ethernet HWaddr 00:02:a5:4f:19:84
inet addr:xx.xxx.xxx.xxx Bcast:xx.xxx.xx.xxx Mask:xxx.xxx.xxx.xxx
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

I'm not sure what else I should do?

craigevil 04-12-2012 04:33 PM

Try installing firmware-linux-nonfree

Not sure if it is Lenny.

Peacedog 04-12-2012 09:43 PM

Is the cable modem actually setup static? It's not issuing ip's via dhcp?

What do your iptables rules look like?

Good luck. ;-)

n0fx 04-13-2012 12:14 PM

I managed to get it to work but it was really strange. I assigned the e1000 card as eth4 but the system only would function if I set the same IP address on eth0, which is the other intel e100 card. The server has 3 physical network cards, 1 x Intel e100, 1 x Intel e1000 (dual nic) and a 1 x Broadcomm (dual nic). The e100 is assigned eth0, broadcomm is eth1 and eth2, while the e1000 is eth3 and eth4. I just basically assigned the external wan IP to both eth0 and eth4 and it worked! Once I disabled the static setings for eth0, the server would not respond to http requests on the wan ip. I looked at the udev dmesg settings during bootup and it does some weird stuff, such as auto renaming the ethX ports:

[ 3.953474] eth0: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000Base-T Ethernet$
[ 3.953481] eth0: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] WireSpeed[1] TSOcap[0]
[ 3.953484] eth0: dma_rwctrl[76db000f] dma_mask[64-bit]
[ 3.953557] ACPI: PCI Interrupt 0000:03:08.0[A] -> GSI 29 (level, low) -> IRQ 29
[ 6.363977] eth1: Tigon3 [partno(BCM95701A10) rev 0105 PHY(5701)] (PCIX:133MHz:64-bit) 10/100/1000Base-T Ethernet$
[ 6.363982] eth1: RXcsums[1] LinkChgREG[1] MIirq[1] ASF[0] WireSpeed[1] TSOcap[0]
[ 6.363986] eth1: dma_rwctrl[76db000f] dma_mask[64-bit]
[ 6.365763] ACPI: PCI Interrupt 0000:01:08.0[A] -> GSI 20 (level, low) -> IRQ 20
[ 6.365826] ACPI: PCI Interrupt 0000:02:06.0[A] -> GSI 24 (level, low) -> IRQ 24
[ 6.365763] udev: renamed network interface eth1 to eth2
[ 6.592762] e100: eth0: e100_probe: addr 0xfcd20000, irq 24, MAC addr 00:02:b3:cb:f3:74
[ 6.624754] udev: renamed network interface eth0_rename to eth1
[ 6.848751] e1000: 0000:01:08.0: e1000_probe: (PCI-X:133MHz:64-bit) 00:02:a5:4f:19:85
[ 6.886815] e1000: eth3: e1000_probe: Intel(R) PRO/1000 Network Connection
[ 6.886815] ACPI: PCI Interrupt 0000:01:08.1[B] -> GSI 21 (level, low) -> IRQ 21
[ 7.178272] e1000: 0000:01:08.1: e1000_probe: (PCI-X:133MHz:64-bit) 00:02:a5:4f:19:84
[ 7.215958] e1000: eth4: e1000_probe: Intel(R) PRO/1000 Network Connection

Peacedog 04-13-2012 09:20 PM

Glad you got it sorted. What do iptables and ifconfig look like?

Good luck. ;-)

n0fx 04-16-2012 06:30 PM

#ifconfig

eth0 Link encap:Ethernet HWaddr 00:02:a5:4f:19:84
inet addr:64.xxx.xxx.xxx Bcast:64.xxx.xxx.xxx Mask:255.255.255.248
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)

eth2 Link encap:Ethernet HWaddr 00:06:5b:fc:6c:17
inet addr:10.4.1.215 Bcast:10.4.1.255 Mask:255.255.255.0
inet6 addr: fe80::206:5bff:fefc:6c17/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:491113 errors:0 dropped:0 overruns:0 frame:0
TX packets:5555 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:42181741 (40.2 MiB) TX bytes:546830 (534.0 KiB)
Interrupt:29

eth3 Link encap:Ethernet HWaddr 00:02:a5:4f:19:85
inet addr:64.xxx.xxx.xxx Bcast:xxx.xxx.xxx.xxx Mask:255.255.255.248 (same as eth0)
inet6 addr: fe80::202:a5ff:fe4f:1985/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:119414 errors:0 dropped:0 overruns:0 frame:0
TX packets:104946 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:100
RX bytes:9108477 (8.6 MiB) TX bytes:28502131 (27.1 MiB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:2043 errors:0 dropped:0 overruns:0 frame:0
TX packets:2043 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:191399 (186.9 KiB) TX bytes:191399 (186.9 KiB)

# iptables -L -n

Chain INPUT (policy ACCEPT)
target prot opt source destination
fail2ban-proftpd tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 21,20,990,989
fail2ban-apache tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443
fail2ban-sasl tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 25,465,143,220,993,110,995
fail2ban-ssh tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 22
fail2ban-apache-overflows tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 80,443
fail2ban-ssh-ddos tcp -- 0.0.0.0/0 0.0.0.0/0 multiport dports 22

Chain FORWARD (policy ACCEPT)
target prot opt source destination

Chain OUTPUT (policy ACCEPT)
target prot opt source destination

Chain fail2ban-apache (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

Chain fail2ban-apache-noscript (0 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

Chain fail2ban-apache-overflows (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

Chain fail2ban-proftpd (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

Chain fail2ban-sasl (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

Chain fail2ban-ssh (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

Chain fail2ban-ssh-ddos (1 references)
target prot opt source destination
RETURN all -- 0.0.0.0/0 0.0.0.0/0

I installed fail2ban, following a guide I saw from another forum. I'm running ISPConfig 2 on the box and was worried since it was directly connected on the net, that I should have another layer of protection on the box.


All times are GMT -5. The time now is 11:02 PM.