On 2010-04-05, Tim Fardell <tim.fardell.all-your-(E-Mail Removed)> wrote:
> On 5 Apr 2010, Joe wrote:
>
>> On 2010-04-05, Tim Fardell <tim.fardell.all-your-(E-Mail Removed)> wrote:
>> >
>> > Specifically, I need to know how to get Debian to detect and set up a
>> > different network card from the one that was present when Debian was
>> > installed. It's not picking up the change of hardware automatically - it
>> > just fails to initialise the network, and I have no entry for 'eth0' shown
>> > in the 'ifconfig' output.
>>
>> Your new card is likely detected, but is listed as eth1. Since you do
>> not have an entry for it in the interfaces file, you just don't see
>> it.
>>
>> You can do one of two things:
>> 1) Edit /etc/networking/interfaces and add an entry for eth1
>> 2) Edit /etc/udev/rules.d/70-persistent-net.rules and remove the eth0
>> interface, then change the eth1 to eth0
>>
>> Then, reboot and all will be set. I like option 2 better, but YMMV.
>
> Thanks to all for the replies.
>
> This was indeed exactly what had happened. I did Option 2, and it sprang
> into life after a reboot.
>
> Actually I found that the new card was using the same driver as the old
> card, it was just that, as Pascal pointed out, it was a different MAC
> address, so it treated it as a different interface.
>
> It's sort of irrelevant now as it's working, but just out of interest,
> could I have brought the new card up without rebooting the machine? I
> tried '/etc/init.d/networking restart', but it failed.
I've never bothered to try, but you could probably shut down
networking, then restart udev and start the network back up.
>
> Thanks again for the help all. I already much prefer Debian to Fedora, and
> I've only been using it for two days!
>
> Fedora tries to make things too simple, and often doesn't do quite what I
> wanted, and it's tricky to make it change its mind - a problem Debian
> doesn't have. Debian does what you tell it, and *only* what you tell it,
> to do. Excellent.
Fedora is a testing ground. It seems like there is always *something*
not working quite right. I also prefer apt to rpm for package
management.
--
Joe - Linux User #449481/Ubuntu User #19733
joe at hits - buffalo dot com
"Hate is baggage, life is too short to go around pissed off all the
time..." - Danny, American History X
|