LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-07-2007, 05:03 AM   #1
IBall
Senior Member
 
Registered: Nov 2003
Location: Perth, Western Australia
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088

Rep: Reputation: 62
Debian Etch - Ethernet Device and MAC address changes after reboot


I am running Debian Etch. It is a new PC, with a Gigabyte mainboard and builtin Ethernet. The Ethernet is:
Code:
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
Whenever I reboot the system (necessary from time to time, for kernel upgrades and power failures), the ethernet device changes (eg was eth0, then eth1 then eth2, etc). More interestingly, the MAC address changes.

The problem is this - this is a server, so a fixed IP address is obviously essential. I use a setting in my ADSL router to assign the same IP address to a MAC address, which works well on all my other systems (where the MAC address is constant, like it should be). I also can't manually set an IP address in /etc/network/interfaces, since the ethernet device changes each time.

I am currently running a Backport 2.6.21-1-amd64 kernel, but the problem was the same with the default Etch 2.6.18 kernel.

Does anyone have any ideas?

Thanks in advance
--Ian
 
Old 06-07-2007, 08:07 AM   #2
HappyTux
Senior Member
 
Registered: Mar 2003
Location: Nova Scotia, Canada
Distribution: Debian AMD64
Posts: 4,170

Rep: Reputation: 244Reputation: 244Reputation: 244
I seem to remember reading about something like this on the Debian User mailing list having to do with that damn udev screwing up the interface like that, don't really have the solution for the problem as I don't use udev but it could be worth searching the archives of debian-user at http://lists.debian.org.
 
Old 06-07-2007, 09:58 AM   #3
Hern_28
Member
 
Registered: Mar 2007
Location: North Carolina
Distribution: Slackware 12.0, Gentoo, LFS, Debian, Kubuntu.
Posts: 906

Rep: Reputation: 38
Write a udev rule.

I had to write a udev rule to force mine to be consistantly named. my eth0 and 1 were switching and sometimes being named eth1 ant eth2 on occasion.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Getting MAC address from Ethernet packet in C++ eljofi Programming 9 10-13-2013 02:21 AM
changing ethernet mac address and retaining the same after reboot guy24x Linux - Hardware 3 02-06-2009 06:51 AM
Viewing ethernet activity using a MAC address noonmid27 Linux - Networking 6 04-03-2007 09:31 AM
Possible to change ethernet MAC address using kernel parameters? rollo Linux - Networking 2 02-23-2006 05:16 PM
NIC gets different MAC address after each reboot?? BrianG Linux - Networking 1 04-09-2001 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration