From: Joe on
On 2010-04-05, Tim Fardell <tim.fardell.all-your-clothes(a)virgin.net> wrote:
> On 5 Apr 2010, Joe wrote:
>
>> On 2010-04-05, Tim Fardell <tim.fardell.all-your-clothes(a)virgin.net> 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
From: Joe on
On 2010-04-10, Bruce Richardson <itsbruce(a)uklinux.net> wrote:
>> 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.
>
> I am a Debian user and do much prefer it to Fedora, but you're not
> comparing like with like, there. APT and rpm are not the same kind of
> component; dpkg and rpm are equivalents, apt and yum are equivalents.
> And Fedora includes apt (apt-rpm, an equivalent combination to
> apt-dpkg).
>

DEB and RPM are the package management utilities. YUM, APT, DPKG and
RPM are just utilities (I know, fuzzy, since RPM is also the name of
the tool). So, you're right in that I mis-spoke using APT instead of
DEB, but you got the jist... ;-)

I prefer Debian's packaging system to RPM. I learned using RPM. I am
a RedHat trained and Certified engineer. I prefer DEB. It just does
a better job in resolving dependencies, though YUM has made great
strides.

I still run RedHat servers here, as well as a couple of Debian
servers. Installing things in the Debian systems is just smoother. I
have rarely had to go looking for packages to resolve dependencies on
the Debian systems.

--
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