http://qa.mandrakesoft.com/show_bug.cgi?id=5500





------- Additional Comments From [EMAIL PROTECTED]  2003-11-09 01:20 -------
Am Donnerstag, 11. September 2003 00:20 schrieb [tvignaud]:

Hmmm. That doesn't set up the network on plug in, as far as i have 
understood all the usb stuff. All you might get this way is a loaded 
module, not an executed script. Alltough, with right config, an ifup 
usb0 should be enough. Maybe i just don't know usbdnet ?? ;)

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

Reply via email to