Contents |
Since not everyone has a network or WLAN card handy it would be necessary to set up USB networking in order to install software directly from the net or from your PC. You could also use a Compact Flash card, but that's not the topic here. Now on to setting up USB networking.
USB Networking is preconfigured on the SIMpad. You only need to set the network address, netmask, gateway and dns (or use dhcp) in the Network Settings application. If the interface doesn't want to "eat" your configuration then open a Konsole and run:
ifconfig usbf 192.168.129.2 netmask 255.255.255.0 up
for instance to set the IP manualy. You could then set the default gateway with
route add default gw 192.168.129.1
If you also need DNS entries then run
echo "nameserver YOUR.DNS.IP" > /etc/resolv.conf
If you need a second DNS run
echo "nameserver YOUR.2ND.DNS.IP" >> /etc/resolv.conf
Make sure you have USB and USB_NET support in your kernel. You also need hotplug installed and working. If that is the case create (or edit a present one) a file such as /etc/sysconfig/network-scripts/ifcfg-usb0 (on my Mandrake 9.1 it's this one). Now give it this contents:
DEVICE=usb0 BOOTPROTO=static IPADDR=192.168.129.1 NETMASK=255.255.255.0 NETWORK=192.168.129.0 BROADCAST=192.168.129.255 ONBOOT=yes
Make sure DEVICE and file name resembles the device your hotplug set up for you (see 'ifconfig -a' for that). On my PC this file is executable. I'm not sure if this is necessary, but if so run 'chmod 755 /etc/sysconfig/network-scripts/ifcfg-usb0'. Now when you plug your SIMpad into the PC you should have a USB network. If you plan on using your PC as a gateway you would have to set up Network Address Translation (NAT) for that.
Quoting darac from oesf forums: Drivers: Device Drivers -> USB Support -> USB Network Adapters Set "Multi-purpose USB Networking Framework" as a Module and turn on "Embedded ARM Linux links (iPaq, ...)" and "Sharp Zaurus (stock ROMs)" Rebuild your kernel or just "make; make modules_install" if you're feeling brave. (In other words, CONFIG_USB_USBNET=m, CONFIG_USB_ARMLINUX=y and CONFIG_USB_ZAURUS=y)
This will make the "usbnet.ko" module.
PC-Side changes Now there used to be a need to install "hotplug" package, however nowdays you should do fine with udev. I do plan to publish a rule for the simpad here, as soon as I get it to work.
Check:
http://www.linuxdevices.com/news/NS4968723463.html
Works for Windows 2k
or:
Direct download Page http://www.bahia21.com/download.htm
Exact instructions for Win XP: