OESF | ELSI | pdaXrom | OpenZaurus | Zaurus Themes | Community Links | Ibiblio

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Suse 10.0 & Zaurus Sl-5500
-G-
post Nov 4 2005, 04:12 AM
Post #1





Group: Members
Posts: 15
Joined: 24-September 04
Member No.: 4,749



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-
Go to the top of the page
 
+Quote Post
-G-
post Nov 16 2005, 08:28 AM
Post #2





Group: Members
Posts: 15
Joined: 24-September 04
Member No.: 4,749



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-
Go to the top of the page
 
+Quote Post
fiferboy
post Nov 24 2005, 04:03 AM
Post #3





Group: Members
Posts: 38
Joined: 21-June 05
Member No.: 7,408



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.
Go to the top of the page
 
+Quote Post
koan
post Nov 25 2005, 02:07 AM
Post #4





Group: Members
Posts: 328
Joined: 25-February 04
From: UK
Member No.: 2,025



Hi,

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

QUOTE(-G- @ Nov 4 2005, 04:12 AM)
# 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
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
Go to the top of the page
 
+Quote Post
fiferboy
post Nov 25 2005, 03:33 AM
Post #5





Group: Members
Posts: 38
Joined: 21-June 05
Member No.: 7,408



koan,

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

CODE
# 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.
Go to the top of the page
 
+Quote Post
koan
post Nov 25 2005, 06:51 AM
Post #6





Group: Members
Posts: 328
Joined: 25-February 04
From: UK
Member No.: 2,025



Hi fifer

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

thanks

koan
Go to the top of the page
 
+Quote Post
Bepp
post Nov 25 2005, 07:27 AM
Post #7





Group: Members
Posts: 7
Joined: 4-November 05
Member No.: 8,463



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
# 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
# lsmod | grep usbnet


if the modul is really loaded.

What shows route -n on you Desktop?


Hope this will help you,
Bepp
Go to the top of the page
 
+Quote Post
-G-
post Nov 28 2005, 03:52 PM
Post #8





Group: Members
Posts: 15
Joined: 24-September 04
Member No.: 4,749



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-
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 23rd November 2014 - 05:25 PM