[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: D-Link DWL-650+



Hi Christian,

Instead I have to run a script after the laptop is booted. Now my
question is if I could make this process automated in any way. And if
anyone has done it? With the G650 I had some lines in /etc/network/interfaces and that
worked excellent with that card. The lines were:

auto ath0
iface ath0 inet dhcp

mapping hotplug
        script grep
        map ath0

I'd like to have something similar with the 650+.
If you use Debian /etc/network/interfaces, it is possible to use "pre-up" and "post-down" options for a particular interface e.g.,

auto ath0
iface ath0 inet dhcp
	pre-up prepare.sh
	post-down cleanup.sh

Shell script defined as "pre-up" is executed right before activation of network interface, and shell script defined as "post-down" is executed right after disactivation of network interface.

Is this what you wanted to achieve?

Best,
Chris
--
Krzysztof Wilk                        chris@gridwisetech.com
Gridwise Technologies                 http://gridwisetech.com
Grid Consulting and Training          Serving US and Europe



Reply to: