Author Topic: Suse 10.0 & Zaurus Sl-5500  (Read 9092 times)

-G-

  • Newbie
  • *
  • Posts: 15
    • View Profile
Suse 10.0 & Zaurus Sl-5500
« on: November 04, 2005, 07:12:19 am »
Hi,
I upgraded to SuSE 10.0 from 9.2 and I do not seem to be able to get the usbnet loaded automatically.

I can do:
# modprobe usbnet
# ifconfig usb0 192.168.129.201 netmask 255.255.255.0 up

and ping/connect to the zaurus (runing OZ 3.5.1)

# ifconfig -a
shows correctly the usb0 (I also have the ifcfg-usb0 file in /etc/sysconfig/network
and the file ifroute-usb0 in the same directory.
This alone used to be enough in SuSE 9.2 to get connected each time, but know I have to do the modprobe as above after rebooting.
Is there a way to make this stick so the connection can be achieve after rebooting?
Do I have to add some script somewhere for this?

Many thanks in advance.
-G-

-G-

  • Newbie
  • *
  • Posts: 15
    • View Profile
Suse 10.0 & Zaurus Sl-5500
« Reply #1 on: November 16, 2005, 11:28:26 am »
Well, I found out the solution myself so I am posting it in case it is of any use to others.

I added "usbnet" using Yast's /etc/sysconfig Editor.
I went to System>Kernel>MODULES_LOADED_ON_BOOT and added usbnet.
After rebooting, the zaurus can be connected even using Qtopia Desktop 1.7.0.

-G-

fiferboy

  • Newbie
  • *
  • Posts: 38
    • View Profile
Suse 10.0 & Zaurus Sl-5500
« Reply #2 on: November 24, 2005, 07:03:14 am »
Thanks, worked like a charm!  I had been looking for information on how to do this, and this thread was the only thing I found.

Thanks again.

koan

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
    • http://www.lyndonhill.com
Suse 10.0 & Zaurus Sl-5500
« Reply #3 on: November 25, 2005, 05:07:49 am »
Hi,

I am using SuSE 10.0 but I don't know very much about setting up networking.
Can you help ?

Quote
# modprobe usbnet
# ifconfig usb0 192.168.129.201 netmask 255.255.255.0 up

If I do this, then try to connect to 192.168.129.201 I get the local machine not the Zaurus.
This is what ifconfig tells me:

Code: [Select]
usb0      Link encap:Ethernet  HWaddr 86:66:13:82:C2:76
          inet addr:192.168.129.201  Bcast:192.168.129.255  Mask:255.255.255.0
          inet6 addr: fe80::8466:13ff:fe82:c276/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43 errors:0 dropped:0 overruns:0 frame:0
          TX packets:122 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:5685 (5.5 Kb)  TX bytes:14218 (13.8 Kb)

Is this correct ?
I am running the Sharp ROM 3.13.

How can I make a connection to the Zaurus ?

thanks in advance

koan
Zocalo Feed Reader : Thai on Zaurus : Dictionaries for zbedic : Sharp ROM package feed
HELUX Handheld Embedded Linux Blog
SL-C3200 Multiboot : SL-C750  Sharp ROM

fiferboy

  • Newbie
  • *
  • Posts: 38
    • View Profile
Suse 10.0 & Zaurus Sl-5500
« Reply #4 on: November 25, 2005, 06:33:00 am »
koan,

You are close.  You are giving your desktop the same IP as the Zaurus, though.  Try this:

Code: [Select]
# modprobe usbnet
# ifconfig usb0 192.168.129.200 netmask 255.255.255.0 up

See if you are able to ping the Zaurus after that.

koan

  • Sr. Member
  • ****
  • Posts: 370
    • View Profile
    • http://www.lyndonhill.com
Suse 10.0 & Zaurus Sl-5500
« Reply #5 on: November 25, 2005, 09:51:58 am »
Hi fifer

Same problem!
I ssh to 192.168.129.200 and still get to my desktop.

thanks

koan
Zocalo Feed Reader : Thai on Zaurus : Dictionaries for zbedic : Sharp ROM package feed
HELUX Handheld Embedded Linux Blog
SL-C3200 Multiboot : SL-C750  Sharp ROM

Bepp

  • Newbie
  • *
  • Posts: 7
    • View Profile
Suse 10.0 & Zaurus Sl-5500
« Reply #6 on: November 25, 2005, 10:27:25 am »
I has some problems on SUSE 10.0. I get IO errors while plugin the Zaurus on my SUSE 10.0. After reloading the modul pxa27x_bi on the Zaurus it works for me.

You can relaod it with the following command:

Code: [Select]
# modprobe -r pxa27x_bi
# modprobe pxa27x_bi

I don't know if the module exist on you Zaurus. I am using Openzaurus 3.5.3 on a SL-C1000.


Also you can check:

Code: [Select]
# lsmod | grep usbnet
if the modul is really loaded.

What shows route -n on you Desktop?


Hope this will help you,
Bepp

-G-

  • Newbie
  • *
  • Posts: 15
    • View Profile
Suse 10.0 & Zaurus Sl-5500
« Reply #7 on: November 28, 2005, 06:52:03 pm »
OK, here is what I have done to have the Zaurus connected to SUSE 10.0

In the desktop:
1. Create a file in the /etc/sysconfig/network called ifcfg-usb0 with the following entries:

STARTMODE=hotplug
BOOTPROTO='static'
IPADDR=192.168.129.1
NETMASK=255.255.255.
PREFIXLEN=24
BROADCAST=192.168.129.255
REMOTE_IPADDR=192.168.129.201

2. Create a file in /etc/sysconfig/network called ifroute-usb0 with the following entry:
route add -host 192.168.129.201 usb0

3. Set the Zaurus ip address to 192.168.129.201 using the Z's Network application.

4. Set usb0 as the internal network in SuSEFirewall

5. In the desktop run this as root::
# modprobe usbnet
# ifconfig usb0 192.168.129.1 netmask 255.255.255.255 up
# route add -host 192.168.129.201 usb0
# ping 192.168.129.201
(this should show that there is a connection, abort with CTRL+C)

6. Add to /etc/hosts:
192.168.129.201 zaurus

7. Make "usbnet" start when booting using Yast's /etc/sysconfig Editor.
Go to System>Kernel>MODULES_LOADED_ON_BOOT and add "usbnet" (without the quotations).

That's it
I hope I haven't forgot anything and that the steps are in the right order, Please post any corrections.
Cheers,

-G-