From mboxrd@z Thu Jan 1 00:00:00 1970 From: bboett@bboett.dyndns.org (Bruno Boettcher) Date: Sat, 02 Nov 2002 17:22:03 +0000 Subject: setting up a pda automaticly? Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org Hello! i did look around the docu, but the parts i found are quite hard to get through.... i am wondering about how to set up my PDA to be immediately reachable through the net as soon as its put into its cradle... the thing is linked through USB to the server... actually i have to load the usbnet module by hand, and i don't know how to let it be loaded automatically, and what to put into my modules.conf.... nevertheless, that's the not so annoying part.... now i am running debian unstable, and have installed the hotplug package, the thing works nice with the other usb devices i have, but fails to recognize my PDA.... now each time i put the thing into the cradle, i have to make myself an ifconfig usb0 192.168.1.1 netmask 255.255.255.0 broadcast 192.168.0.255 as root to get the network up and running.... i looked through some sample scripts, but they are not really clear to me.... i looked into /etc/hotplug/usb.usermap and usb.usermap.local but the thing is quite cryptic, also the usb sub dir stated in the sample setup i read through doesn't yet exist on my system... so i keep wondering as what i have to set up to make this work diligently... first of all the data i collected from the system: usb0: register usbnet 001/051, Linux Device and: usbnet Speed: 12Mb/s (full) USB Version: 1.00 Device Class: ff(vend.) Device Subclass: 00 Device Protocol: 00 Maximum Default Endpoint Size: 8 Number of Configurations: 1 Vendor Id: 0e7e Product Id: 1001 Revision Number: 0.00 i thought of setting up in usb.usermap.local (which is otherwise empty) yopy 0x0e7e 0x1001 0x0 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x0 0x00000000 and create an usb subdir with a script called yopy with the ifconfig line.... does this have a chance of working? -- ciao bboett =============================== bboett@adlp.org http://inforezo.u-strasbg.fr/~bboett =============================== ------------------------------------------------------- This sf.net email is sponsored by: See the NEW Palm Tungsten T handheld. Power & Color in a compact size! http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel