LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-16-2011, 12:19 AM   #1
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian
Posts: 208

Rep: Reputation: 30
slackware 13.37 problem, udev change network interface randomly, wicd


I use wicd for my slackware 13.37 internet connection. I've read the readme
in slackware's extra/wicd. Actually I don't have problem with wicd.
What I have problem is udev like to change randomly (not always) the network interfaces between wireless and wired interface and it occurs when booting. This becomes nuisance because wicd needs fixed eth number and I have to change the preferences every time this thing occur..like just now.
Seems like udev has some mood swing or something. "Oh okay, my user just boot slackware...hmmm today I feel like to change the network interfaces number" or something like "Slackware got booted ,not in the mood to change network interface right now. "


Dmesg snippet:
Code:
# dmesg |grep eth
[    8.425123] [Firmware Bug]: ACPI: No _BQC method, cannot determine initial brightness
[    8.963282] r8169 0000:05:00.0: eth1: RTL8168c/8111c at 0xffffc90004c4c000, 00:23:5a:46:17:62, XID 1c4000c0 IRQ 41
[    9.410331] eth0: Broadcom BCM4315 802.11 Hybrid Wireless Controller 5.100.82.38
[    9.729125] udev[1296]: renamed network interface eth0 to eth0-eth1
[    9.990129] udev[1292]: renamed network interface eth1 to eth2
[   10.033122] udev[1296]: renamed network interface eth0-eth1 to eth1
[   48.466077] eth1: no IPv6 routers present
So how to make network interface number fix and not let udev messing it up?
Tnx
 
Old 07-16-2011, 12:25 AM   #2
prol
Member
 
Registered: May 2008
Posts: 47

Rep: Reputation: 18
I have a broadcom chip too and it does the same thing. Here's the fix taken from the arch linux wiki.

First you have to find out the mac address or HWaddress by running ifconfig and then .....


Users of the broadcom-wl driver may find their ethernet and wifi interfaces swapped. The udev page explains how to solve this. Create a file called /etc/udev/rules.d/10-network.rules and bind the MAC address of each of your cards to a certain interface name:

SUBSYSTEM=="net", ATTR{address}=="aa:bb:cc:dd:ee:ff", NAME="eth0"
SUBSYSTEM=="net", ATTR{address}=="ff:ee:dd:cc:bb:aa", NAME="eth1"

Ensure that the interface name appears correctly in /etc/rc.conf and other configuration files that refer to it.


hopefully, it works for you too
 
1 members found this post helpful.
Old 07-16-2011, 01:02 AM   #3
hottdogg
Member
 
Registered: Aug 2004
Distribution: opensuse ,debian
Posts: 208

Original Poster
Rep: Reputation: 30
ahh, so broadcom-wl is the culprit? yeah i use broadcom-wl (from broadcom official site) for my wireless driver.
I'll post the update later how the solution works out
 
Old 07-16-2011, 01:06 AM   #4
prol
Member
 
Registered: May 2008
Posts: 47

Rep: Reputation: 18
yes, and if you use wicd. You may or may not be able to reconnect to an access point, if your connection drops. If that happens, you have unload and load the wl module. You can put that in the wicd pre-connect scripts directory too. Other than that, it works fine.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
WICD tray icon says not connected, WICD manager says conneted to wired network?!?! intheshadows Linux - Newbie 1 12-24-2009 01:15 PM
Slackware 12.2 & wicd problem 27thSunshine Slackware 7 01-20-2009 04:31 PM
udev and network interface module Panci Slackware 3 01-16-2009 09:18 AM
Wicd/network daemon connection problem Eivuwan Linux - Networking 0 07-15-2008 06:18 PM
Slackware / Ethernet Network Interface Card (NIC) problem. dwengert Slackware 2 05-21-2008 10:30 PM

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

All times are GMT -5. The time now is 08:27 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration