You are not logged in.

#1 2006-01-20 03:35:02

fallen
Member
Registered: 2005-08-03
Posts: 30

newest udev and initscripts problem[solved again..lol]

after i  upgraded the newest initscripts and udev from testing...i got the follow problem
i have 2 network adapter on my laptop...one is via-rhine onboard another is ipw2200 wireless network adapter.
this is my INTERFACES setting in rc.conf

lo="lo 127.0.0.1"
eth0="dhcp"
eth1="eth1 192.168.0.11 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo eth1)

this my /etc/conf.d/wireless

wlan_eth1="eth1 mode auto essid fallen channel 6 rate auto txpower on

with the previous version of initscripts,when i boot up my laptop, i will have eth0 as my wired connection and eth1=wireless connection. but after the upgrade, i have the eth1=wired connection and eth0 goes to the wireless connection.

ok....so,until now, its not the problem. i switch the settings in /etc/rc.conf, just change the eth1->eth0 and eth0->eth1.

then after i reboot my laptop, i got the weird problem, the interface switch again, and i got eth0=wired eth1=wireless again.....then i change the setting and reboot and interfaces goes back again....which means i can not have my network configuration done, except i configure my interfaces manually after each boot.

sorry for my poor english...


Openbox now

Offline

#2 2006-01-21 07:30:21

fallen
Member
Registered: 2005-08-03
Posts: 30

Re: newest udev and initscripts problem[solved again..lol]

just by add alias at /etc/modprobe.conf


Openbox now

Offline

#3 2006-01-21 21:57:43

apeiro
Daddy
From: Victoria, BC, Canada
Registered: 2002-08-12
Posts: 771
Website

Re: newest udev and initscripts problem[solved again..lol]

Try binding your interface name to the MAC address of each card. 

http://www.reactivated.net/writing_udev … mple-iface

You can put the rules in a separate file so they don't get overwritten (eg, /etc/udev/rules.d/eth.rules)

Offline

#4 2006-01-21 22:33:37

fallen
Member
Registered: 2005-08-03
Posts: 30

Re: newest udev and initscripts problem[solved again..lol]

the problem was solved....such a good idea!
thank u very much...lol


Openbox now

Offline

#5 2006-01-30 08:44:51

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: newest udev and initscripts problem[solved again..lol]

It has solved my problem untill hal has been updated now i am back to the same problem yikes
eth1 -> 00:0e:35:75:95:f2
eth0 -> 00:c0:9f:59:04:00

[wael@nasreddine ~]$ tail /etc/udev/rules.d/udev.rules
##### Hotplug rules - end
#####################################

# debugging monitor
RUN+="socket:/org/kernel/udev/monitor"


KERNEL="eth*", SYSFS{address}=="00:0e:35:75:95:f2", NAME="eth1"
KERNEL="eth*", SYSFS{address}=="00:c0:9f:59:04:00", NAME="eth0"

Offline

#6 2006-01-30 11:03:06

scarecrow
Member
From: Greece
Registered: 2004-11-18
Posts: 715

Re: newest udev and initscripts problem[solved again..lol]

Don't put them in udev.rules- rather make another set and name it "00.gandalfrules.rules"


Microshaft delenda est

Offline

#7 2006-02-01 10:28:42

_Gandalf_
Member
Registered: 2006-01-12
Posts: 735

Re: newest udev and initscripts problem[solved again..lol]

Thank you for your answer but

[wael@nasreddine ~]$ cat /etc/udev/rules.d/00.network.rules
KERNEL="eth*", SYSFS{address}=="00:0e:35:75:95:f2", NAME="eth1"
KERNEL="eth*", SYSFS{address}=="00:c0:9f:59:04:00", NAME="eth0"

and it is still not loading sad

[wael@nasreddine ~]$ pacmanQ udev
udev 084-1

Offline

Board footer

Powered by FluxBB