Koozali.org: home of the SME Server

Change from eth0 to eth1

Offline vaf

  • **
  • 25
  • +0/-0
  • Loving SME Server
Change from eth0 to eth1
« on: December 07, 2010, 04:04:23 AM »
Hi all

I am having a few issues with my server and getting server kernel: NETDEV WATCHDOG: eth0: transmit timed out dropping out the server from the network (which is random and only fixed by rebooting)

I have installed a NIC which has been picked up as eth1 (onboard is eth0)

What is the best way of changing from eth0 to eth1. I am guessing it is not as easy as unplug from in and plug into the other and I haven't found anything in the documentation (possibly not searching for the right terms).

The SME server machine runs 7.5.1 in server mode (not gateway) on about 9mth old hardware.

Thanks

Offline crazybob

  • *****
  • 894
  • +0/-0
    • Stalzer R&D
Re: Change from eth0 to eth1
« Reply #1 on: December 07, 2010, 04:22:17 AM »
Did you disable the on board nic? If you do, the eth1 should become eth0
If you think you know whats going on, you obviously have no idea whats going on!

Offline vaf

  • **
  • 25
  • +0/-0
  • Loving SME Server
Re: Change from eth0 to eth1
« Reply #2 on: December 07, 2010, 04:23:38 AM »
I'll try that. If I can't disable the onboard NIC then is there a way to switch them over or something like that?

Thanks

Offline janet

  • *****
  • 4,812
  • +0/-0
Re: Change from eth0 to eth1
« Reply #3 on: December 07, 2010, 04:39:42 AM »
vaf

Quote
If I can't disable the onboard NIC then is there a way to switch them over or something like that?

You disable the on board NIC in the BIOS, so SME will not detect it. Every BIOS I have seen has the ability to do this.
« Last Edit: December 07, 2010, 04:55:03 AM by mary »
Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline vaf

  • **
  • 25
  • +0/-0
  • Loving SME Server
Re: Change from eth0 to eth1
« Reply #4 on: December 08, 2010, 02:09:24 AM »
Okay I was onsite today, and I disabled onboard ethernet. However during boot-up I got the following error

r8169 device eth0 does not seem to be present, delaying initialization.

r8169 is the onboard device, wherby the PCI NIC is a 3Com card.  The server then has no network access and eth0 is definetly detected:

Output before disabling onboard NIC:
[root@server ~]# /sbin/lspci -m | grep net
03:00.0 "Ethernet controller" "Realtek Semiconductor Co., Ltd."
"RTL8111/8168B PCI Express Gigabit Ethernet controller" -r03 "Giga-byte
Technology" "GA-EP45-DS5 Motherboard"
04:02.0 "Ethernet controller" "3Com Corporation" "3c905C-TX/TX-M
[Tornado]" -r78 "3Com Corporation" "3C905CX-TX/TX-M Fast Etherlink for
PC Management NIC"
 
And after disabling onboard NIC only the 3Com card is there.

How do I get the system to boot and recognise the 3Com as eth0, not to try and find the old eth0?

Thanks

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Change from eth0 to eth1
« Reply #5 on: December 08, 2010, 03:48:33 AM »
And after disabling onboard NIC only the 3Com card is there.

You, you need to log in as admin, and choose option 2. Configure, from the menu.