LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-05-2007, 06:27 PM   #1
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Rep: Reputation: 15
Funky Wireless card device name in FC5?


Hello all-

I'm running FC5 (kernel 2.6.18-1.2257.fc5) on a Toshiba laptop. I've seen reference to this problem in other threads, but I was unable to find a solution.

My laptop has two cards: a regular cat5e connection, and a wireless card.

For FC5 and previous Linux distro installs (FC4 and others), the wired card has always come up as eth0.

For FC4 and previous distros, the wireless card was always identified as eth1.

However, since I've installed FC5, the wireless card is being given a new name on every boot (!). Instead of eth1, it's dev53418 or something (dev followed by 4-5 numbers).

The wirelss card works just fine, but the changing name makes it impossible for me to auto-configure the card at boot time.

Is there something I can do so that the wireless card is given a consistent device name on every boot?

Thanks-

-Thomas
 
Old 04-05-2007, 08:03 PM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
As root: chkconfig --levels 345 kudzu off
 
Old 04-08-2007, 05:34 PM   #3
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Original Poster
Rep: Reputation: 15
Interesting. So perhaps hardware autodetection is causing this?

I've just tried that (chkconfig --levels 345 kudzu off) and rebooted a few times. I'm still getting a random device name for my wireless card (devXXXXX).

I've verified that kudzu is off:

# chkconfig --list kudzu
kudzu 0ff 1ff 2ff 3ff 4ff 5ff 6ff

That looks off to me! But again, I'm still getting random device names.

Any other ideas? I'm not very familiar with how device names are assigned, but kudzu seemed like a likely culprit.

-Thomas
 
Old 04-09-2007, 06:48 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Sorry for the delay in getting back to this. I remember reading something a while ago (over a year) on this and the fix. I'm trying to find it again. If this is a new installation then please update to the latest or if possible install FC6 and then update.
 
Old 04-10-2007, 03:38 AM   #5
short101
Member
 
Registered: May 2004
Location: Aust.
Distribution: Debian
Posts: 424

Rep: Reputation: 30
this is usually udev related i think. try deleting your persistent.net.rules file in /etc/udev/udev.d (this file is automatically generated at boot, i suggest you just move it out the way initially and try a boot or restart udev)
 
Old 04-13-2007, 09:42 PM   #6
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Original Poster
Rep: Reputation: 15
Found the problem!

It turned out to be a problem with the /etc/sysconfig/network-scripts files.

I'm not sure why, but FC5 at some point (right after install) decided to flip the order or names of the network cards. At some point my wireless card had been eth0, now FC5 wanted to call it eth1.

The ifcfg-eth0 startup script referred to the wireless card as eth0, and I'm guessing this mismatch was causing the devXXXX device names.

Once I swapped my ifcfg-eth0/1 files, the wireless card was properly named on boot (eth1 now). And as a result, I can configure it at boot time automatically.

Obviously a bug somewhere at boot. But there is a simple workaround (assuming the kernel doesn't want to keep flipping the names).
 
Old 04-13-2007, 09:54 PM   #7
tomva
Member
 
Registered: May 2006
Distribution: Fedora
Posts: 45

Original Poster
Rep: Reputation: 15
Actually, it was a dumber problem: I had a bad MAC address in one of the ifcfg-ethX files.

Once I had the correct MAC address, it was properly named at boot. Whoops.
 
  


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
Problem with Wireless Card on FC5 dachosd Linux - Wireless Networking 1 09-11-2006 02:14 PM
Wireless NIC (PC CARD) For FC5 foustware Linux - Hardware 1 08-11-2006 03:25 AM
FC5 wireless card Jer1234 Linux - Wireless Networking 8 07-23-2006 10:19 PM
Activate ipw2915abg wireless card fc5 coronaronin Linux - Wireless Networking 0 05-01-2006 01:38 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 10:30 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