Re: guessnet with ifplugd during boot fails
On Sat, 26 Feb 2005 18:40:10 +0100, Olaf Conradi wrote:
> This is my configuration:
>
> I have NET_AGENT_POLICY=auto in /etc/default/hotplug
>
> and my /etc/default/ifplugd contains:
> INTERFACES="" with
> HOTPLUG_INTERFACES="all"
> ARGS="-q -f -d10 -w -I"
> SUSPEND_ACTION="stop"
>
> This is what my /etc/network/interfaces looks like:
>
> # The loopback network interface.
> auto lo
> iface lo inet loopback
>
> # Allow hotplug to bring up interfaces.
> mapping hotplug
> script echo
The mapping hotplug stanza is not required if you have
NET_AGENT_POLICY is set to "auto"
> # Find out if the interface is wired or wireless.
> mapping eth*
> script /usr/local/bin/interfacetype
>
> mapping wired
> script /usr/sbin/guessnet-ifupdown
> map home
> map timeout: 10
> map verbose: true
>
> #mapping wireless
> # empty for now
>
> iface home inet dhcp
> dns-search student.utwente.nl
> # We are at home, my server is recognised.
> test peer address 192.168.1.1 mac 00:40:95:1B:3A:56
>
> The script /usr/local/bin/interfacetype just checks for the existance
> of /sys/class/net/$IFACE/wireless and outputs either wireless or wired
> on the standard output.
>
> For now I don't do anything with the wireless stanze. I first want to
> get my onboard lan card working.
>
> Does anyone know why guessnet does not detect my server during boot?
> Is it guessnet where the problem lies?
The problem is probably #245651.
Don't hold your breath waiting for this to be fixed. Hot plugging of
network cards isn't supported in sarge.
--
Thomas Hood
Reply to: