Download Print this page

Sharp Zaurus SL-C3000 Instruction Manual page 46

Zaurus pda instruction manual
Hide thumbs Also See for Zaurus SL-C3000:

Advertisement

my Zaurus SL-C3000 and SL-C3100
However, you can also manually configure the network without using the Network config applet.
The config files it generates are located under /home/zaurus/Applications/Network/modules and are
called WLANx.conf. You will also need to edit the corresponding entry in /etc/pcmcia/wlan-ng.opts.
If for any reason the applet won't let you enter a value you want (such as space in ssid), then you
can edit the mentioned config files yourself.
Enabling a USB LAN adaptor:
Now this one was a bit trickier. My USB LAN adaptor came with a Linux driver, a file called rtl8150.c
and all that was required was to compile it on the Zaurus (provided you got gcc to work). Anyway, I
cheated and googled for rtl8150-1.o and found it :)
Next I had to install this driver which was quite easy. All that was required was to drop it into the
following location: /lib/modules/2.4.20/kernel/drivers/usb/net and the hotplug mechanism in Linux
would detect whenever the device was connected and enable eth0.
Now came the slightly harder part, ie the automatic configuration of the device. The network applet
seems to only work for the CF based cards so it completely ignored eth0 because it came from the
USB interface. After looking at how the usbdnet and wlan is configured by the hotplug mechanism, I
extended the net.agent to check for eth0 as well and added net.func and net.conf to automatically
configure the network once the cable was plugged in.
In addition I also wrote a script called net to change the stored network settings so I can easily
switch between networks. The configuration for net are stored under /etc/sysconfig/netconf and net
is invoked with the name of one of the config files as the parameter. Proxy settings for the Zaurus
are stored under /home/zaurus/Applications/Network/modules/Proxies.conf which net will
automatically update depending on the config being loaded.
# su
# cp /home/zaurus/Documents/custom/rtl8150-1.o /lib/modules/2.4.20/kernel/drivers/usb/net
# cp /home/zaurus/Documents/custom/net /usr/bin
# cp /home/zaurus/Documents/custom/net.* /etc/hotplug
# mkdir /etc/sysconfig/netconf
# cp /home/zaurus/Documents/custom/*.conf /etc/sysconfig/netconf
for example:
# net dhcp (loads the config file dhcp.conf)
# net -gui (starts with opie shell in QTopia desktop)
# net -refresh (tells NetFront that its connected already)
46 of 212
http://www.users.on.net/~hluc/myzaurus/
16/09/2007 12:23

Advertisement

loading

This manual is also suitable for:

Zaurus sl-c3100