Thanks for your reply. Can I use udev for my case? If yes, can you please let me know some documentation? Thanks On Wed, Jul 21, 2010 at 4:44 PM, Kay Sievers <kay.sievers@xxxxxxxx> wrote: > On Wed, Jul 21, 2010 at 07:34, linux newbie <linux.newbie79@xxxxxxxxx> wrote: >> * I am running linux_2.6.27 kernel with hotplug support >> (/sbin/hotplug) on PXA255 based embedded platform. >> * I have a usb network adapter, so when it is plugged into our >> platform, I can able to access it using "usb0". >> * Whenever this device is plugged in, I do "ifconfig usb0 192.168.0.1" >> * I need to automate this process and I do not have hotplug related >> scripts in my userspace. >> >> Can anyone let me know, the script files that I need to download? Also >> how to tailor it for my custom needs? > > I don't think many people on this list really use the ancient > /sbin/hotplug mechanism and the shell scripts anymore. All this stuff > has moved to udev since years. > > Hotplug-aware services do stuff like this for video device handling: > http://article.gmane.org/gmane.linux.hotplug.devel/13925 > > Kay > -- To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html