Jump to content

Specify eth0 v. eth1


fopetesl
 Share

Recommended Posts

I upgraded MDK10.0 to Mandriva 2006. Most things still work as before.

However in the process eth0 & eth1 got swapped around.

 

I need to swap back because of physical arrangements 'cos the Mini-ITX board has only one PCI slot taken up by a Belkin NIC which, when built into a case, is the only one available, i.e. the built-in RJ45 connector not accessible. My code is written to only access eth0 and I do not want hours of hacking to suit eth1.

 

With MDK10.0 I could 'force' the Belkin to be eth0 by simply disabling the on-board NIC. Now that doesn't work I always end up with the Belkin as eth1 even when the on-board NIC is disabled.

 

On other OSs there is an /etc/network/interfaces + etc/resolve.conf where ethx are defined. How to do here :help:

Link to comment
Share on other sites

Look in /etc/modprobe.conf. You'll see entries like:

 

alias eth0 8139too
alias eth1 e100

 

or something. Simply change the entries round, and that should do the trick.

Link to comment
Share on other sites

That didn't work, seems I should actually be amending /etc/iftab.

 

However it turns out the 'upgrade' totally screwed up PHP, MySql and didn't 'upgrade' Apache, in fact removed it altogether. Luckily I had a witness that all these progs were enabled for 'upgrade'.

 

Sigh :wall: so it's back to Ubuntu

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...