fopetesl Posted June 22, 2006 Report Share Posted June 22, 2006 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 Quote Link to comment Share on other sites More sharing options...
ianw1974 Posted June 22, 2006 Report Share Posted June 22, 2006 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. Quote Link to comment Share on other sites More sharing options...
fopetesl Posted June 23, 2006 Author Report Share Posted June 23, 2006 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 so it's back to Ubuntu Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.