How to make diald coexist with eth0?
- To: "Debian user list \(undigested\)" <firstname.lastname@example.org>
- Subject: How to make diald coexist with eth0?
- From: Krzys Majewski <email@example.com>
- Date: Wed, 6 Dec 2000 01:18:44 -0800 (PST)
- Message-id: <Pine.LNX.4.21.0012060111590.5980-100000@localhost>
How can I set things up so that, if the eth0 interface can't be upped
(for example, the cable modem is unplugged, or something is broken on
the remote end), diald is started? I guess I could put an "if
ifconfig eth0; then ..." in /etc/init.d/diald. But is this the best
way? Just now my cable modem was unplugged, and the machine seemed to
hang at boot. I don't want it to hang. I want it to say, "OK, looks
like we can't up eth0, let's try diald instead", or something like
that. Whatever. Any suggestion must be better than my current method,
mv diald-renamed diald