http://qa.mandrakesoft.com/show_bug.cgi?id=5500
------- Additional Comments From [EMAIL PROTECTED] 2003-11-09 01:30 ------- Am Donnerstag, 11. September 2003 00:54 schrieb [jan.ciger]: Read the source luke ;). >From top of my head (You should verify what i will say, i only describe it basically, how i have it understood): The proper way is, to put a script that returns the mentioned line(s) in /usr/lib/hotplug/ dir. The name in the line that stands normally for the module, is the name of the script, that gets executed. This script have to be placed in /etc/hotplug/usb dir. The script gets called with one argument (add or remove) and this should do the needed/wished things then on plug or unplug. Very nice thing to play with, if you have a digikam or the like (load the pictures from the cam, convert them in a webgallery or the like) BTW: In the usb.useragent script is a typo as far as i have understood it. The name of the script must not have the name of a modul what needs eventually to be loaded. In the script was written, that it must have the name. It may be fixed in the meantime, but was very confusing. Steffen -- Configure bugmail: http://qa.mandrakesoft.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is. ------- Reminder: ------- assigned_to: [EMAIL PROTECTED] status: NEW creation_date: description: Please add Zaurus 5500 support. It can be recognised in hotplug for use with qtopiadesktop. Just add it to hotplug map. The instructions have been sent by bluegreenone on Mandrakeclub : http://www.mandrakeclub.com/modules.php?op=modload&name=Splatt_Forum&file=viewtopic&topic=8225&forum=10&post_id=25952 1) Add this line to the end of /etc/hotplug/usb.handmap : Code: usbdnet 0x0003 0x04dd 0x8004 0x0000 0x0000 0x02 0x00 0x00 0xff 0x01 0x00 0x00000000 (if last line in file make sure to add a linefeed at the end) 2) Add a script called /etc/hotplug/usb/usbdnet (this forum malfunctions when i try to format this using CODE like I did above.) #! /bin/bash typeset -i num num=`ifconfig | grep usb0 | wc -l` if [ $num -eq 0 ] ; then ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up route add -host 192.168.129.201 usb0 fi 3) Then setup shorewall to both allow the zaurus to talk to the PC and to have it do connection sharing so the zaurus can get to the Internet. Check out the two interface example of shorewall here. This assumes that you have one regular ethernet card and then the zaurus (usb0) as the second interface. 4) Set zaurus usbd networking to IP: 192.168.129.201 Subnet mask: 255.255.255.0 Gateway: 192.168.129.1 DNS: use your own