[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-27 Thread Lars Wirzenius
Alexander, I thought I did that already in my first message to this bug report: the D-Link card (r8169 driver, MAC 00:17:9a:3a:c9:52) is the right one, the VIA card is the wrong one (and has no cable attached). That's also what I tell the installer, of course.

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-27 Thread Martin Pitt
Wrt point 3) I don't think it is unreasonable to assume that the default interface chosen in the installer will also be the default interface in the installed system. So probably the installer should write persistent- net.rules, not udev at the first boot. -- After initial reboot, wrong ethernet

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-27 Thread Alexander Sack
OK, lets use this bug for 1. then. 3. is an installer issue and network- manager has no chance to know which one to use. Lars, your syslog log gets an IP through you via card, which definitly doesn't capture the bug interface selected though no cable attached ... can you get a syslog for that

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-26 Thread Lars Wirzenius
There was some discussion about this on IRC, and as a result I was directed to look at /etc/udev/rules.d/70-persistent-net.rules, which I attach. Two things: 1) It names the interfaces eth2 and eth3, instead of eth0 and eth1, which is going to surprise a number of people. 2) If I switch the

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-26 Thread Alexander Sack
Lars, did you already defined what the right interface is? Anyway, I see 3 issues here (please correct me or add more): 1. network-manager does select an interface without a signal 2. network-manager appears to connect to random interfaces, which could or could not be caused by 1. 3.

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-25 Thread Lars Wirzenius
I have the same problem. In my case, the installer offered the extra D-Link card as the second option in its list (don't know if the ordering is relevant), and the installed system wanted to use the VIA card integrated onto the motherboard. The VIA card doesn' t have a cable attached, since it

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-25 Thread Ubuntu QA Tracker
** Tags added: iso-testing -- After initial reboot, wrong ethernet card is used https://bugs.launchpad.net/bugs/134496 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-25 Thread Henrik Nilsen Omma
Looks like NM is picking the wrong card on boot. Please read https://wiki.ubuntu.com/DebuggingNetworkManager and attach appropriate logs. ** Changed in: network-manager (Ubuntu) Sourcepackagename: None = network-manager Importance: Undecided = Medium Status: New = Incomplete -- After

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-25 Thread Lars Wirzenius
I followed the instructions on that page, and the syslog snippet is attached. I am not sure this is directly useful: after I manually chose the D-Link card, it seems to be chosen every time, even after a reboot. (Might be a timing problem, or udev randomness, rather than NM remembering the manual

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-25 Thread Lars Wirzenius
I rebooted a few more times, to get more statistics, and NetworkManager does not always choose the same device: sometimes it chooses one, sometimes the other Ethernet card. -- After initial reboot, wrong ethernet card is used https://bugs.launchpad.net/bugs/134496 You received this bug

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-25 Thread Alexander Sack
Lars, I don't understand the problem here. Given that NetworkManager is independent of ifupdown, how should NM know which interface you initially want to be upped? -- After initial reboot, wrong ethernet card is used https://bugs.launchpad.net/bugs/134496 You received this bug notification

[Bug 134496] Re: After initial reboot, wrong ethernet card is used

2007-09-25 Thread Lars Wirzenius
Wearing a ignorant user hat: the installer asks me which interface should be used, but the installed system ignores that. I have to choose the right card from the NetworkManager every time, and that's pretty annoying. If NetworkManager in the installed system can't make use of the information I