Can anyone help get my ethernet port working using the sky2 module?

Joseph C. Lininger jbahm at pcdesk.net
Sun Jun 14 15:38:34 EDT 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

My original reply to got held for moderation because of too many
recipients. Well, I canceled it and readdressed this one. Let's try again.

Good morning,
Before we go any further, let me just let you know I'm a Gentoo user,
not a Debian user. However, I feel the issue is for the most part
related as is the fix to it.
The renaming of eth0 to eth1 by udev is most likely something in your
udev rules. Many distros will do this so that devices won't change
device name. I'll bet what you did was to take an existing Linux install
from one machine (orchid, perhaps?) and slap it on magnolia. In that
case, the old machine's MAC would be registered with udev as eth0, and
the current one in magnolia would be assigned eth1. Don't worry though,
this assignment can be corrected.
To fix it, you just have to find the set of rules in your udev
configuration that mapps your ethernet interfaces based on MAC address.
On my system, that file is:
/etc/udev/rules.d/70-persistent-net.rules
There is one line for each of my network interfaces. If you just delete
these lines, then udev will remap the interfaces next time you reboot,
which will result in your actual interface getting eth0. You could
probably even remove the file entirely and it would forget all mappings
and create new ones when you reboot. That's how I handle things when it
does this. Let me stress once again that the file might be in a
different place under Debian, or it may not be set up like this at all.
But have a poke around /etc/udev and see if maybe you can find a similar
file.
Ok, that's how you fix your current problem. There is a little more
information below for anyone interested in disabling the persistent
network interface naming behavior altogether. It's completely optional
in this context, so you can simply skip it if you're not interested.
If you don't like this persistent network interface behavior (I really
don't myself) you can disable it altogether by removing the set of rules
which generates these persistent interface names. Be careful if you
decide to do this. On my system, that file is:
/etc/udev/rules.d/75-persistent-net-generator.rules
If I were to remove this file, as well as
/etc/udev/rules.d/70-persistent-net.rules it would completely disable
that behavior.
Joe

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQEcBAEBCAAGBQJKNVG5AAoJEMh8jNraUiwqBXAIAI+YvKBCHYviyuTGdIcsOr6g
hFP2+WXjDwZsrsOLsWWGhLNdCzZBAeRjnSegtGMH5oQre5HCAbfBWP4YxKtilfFf
PMJDDWHoHjQGDGA/UDefoMPsF3XcSwcXrNXbMWzqzK3BEIhU+1q5kHVW6TjEidrZ
G8HbVhJXdnSZwbtPs6xCiP5UFeEWurZ/O7wyiqoNbhYxLEn6e5TANYB6xBdNRAF7
k7D1JoTIcBBmTzzVlWtk74MUMWZcCrfD9rxj87S134hrvf7Yj2jVEy39gW+s6DQJ
XpQCh4wuKrnd7+AFREjmrELbzz42iAOngWwNx29EXG2EextxYKDi1UjcBRa+G9o=
=1XYa
-----END PGP SIGNATURE-----



More information about the Speakup mailing list