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

IPB

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Z networking wierdness
Woland
post Oct 10 2004, 10:36 AM
Post #1





Group: Members
Posts: 5
Joined: 9-October 04
From: Russian Jack, AK
Member No.: 4,942



After a couple of months of my owning a beautiful 5500, I still can't connect up. I recompiled a bran spanking new 2.6.8 kernel, hotsync seems to work fine---when I turn on the Z in the cradel, usb0 is created and assigned the proper (static) IP address. Here is where the wierdness begins:
My ifconfig shows:
CODE
usb0      Link encap:Ethernet  HWaddr 1A:60:19:07:1A:F0
         inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
         UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
         RX packets:22 errors:0 dropped:0 overruns:0 frame:0
         TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
         RX bytes:2502 (2.4 Kb)  TX bytes:0 (0.0 b)

And when I ping 192.168.0.1 I merrily ping away. Except the trafic does not go to usb0---it goes to the lo device. Gkrellm2 shows a big spike in traffic on lo when I ping, while usb0 remains silent! If I take lo down, then I can't ping.
Here is the output of the route command: (komos is my firewall/gateway)
CODE
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 usb0
10.1.1.0        *               255.255.255.0   U     0      0        0 eth0
default         komos.momus.net 0.0.0.0         UG    0      0        0 eth0

The above is with lo down. With lo up, it looks like this:
CODE
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 usb0
10.1.1.0        *               255.255.255.0   U     0      0        0 eth0
loopback        localhost.local 255.0.0.0       UG    0      0        0 lo
default         komos.momus.net 0.0.0.0         UG    0      0        0 eth0

And, if it would help, here is the output of the netstat -rn command:
CODE
Kernel IP routing table
Destination     Gateway         Genmask         Flags   MSS Window  irtt Iface
192.168.0.0     0.0.0.0         255.255.255.0   U         0 0          0 usb0
10.1.1.0        0.0.0.0         255.255.255.0   U         0 0          0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG        0 0          0 lo
0.0.0.0         10.1.1.1        0.0.0.0         UG        0 0          0 eth0


When I press either the "sync" button on the cradel, or "sync start" in the "PC Link" app, I get a short burst of traffic into usb0, followed by a "Communication was aborted" error on the Z. Unfortunately, I have no other way of getting software on the Z, so I can't even see what is going on there through a terminal.

This is all very frustrating, so any ideas that you may have would be greatly appreciatesd. I tried adding a route manually:
CODE
route add -host 192.168.0.1 usb0
but that did nothing except add a useless entry in the routing table.

I'm using the SHARP 3.10 ROM, if that helps.
Go to the top of the page
 
+Quote Post
lardman
post Oct 10 2004, 01:38 PM
Post #2





Group: Members
Posts: 4,515
Joined: 25-October 03
From: Bath, UK
Member No.: 464



QUOTE
And when I ping 192.168.0.1 I merrily ping away.


What is the IP address of the Z? Hopefully not 192.168.0.1 too (run ifconfig on the Z).

You're pinging the wrong end of the connection at the moment....


Si
Go to the top of the page
 
+Quote Post
Woland
post Oct 10 2004, 01:51 PM
Post #3





Group: Members
Posts: 5
Joined: 9-October 04
From: Russian Jack, AK
Member No.: 4,942



QUOTE(lardman @ Oct 10 2004, 09:38 PM)
What is the IP address of the Z? Hopefully not 192.168.0.1 too (run ifconfig on the Z).

You're pinging the wrong end of the connection at the moment....


Si

Umm, yes, I set the IP on the Z to be 192.168.0.1 which is what I tell the computer usb0 ought to be (ifconfig usb0 192.168.0.1 up) I mean, that's how it works, right? Maybe I am more muddled than I thought.

/me plunging back into the docs in embarassment.
Go to the top of the page
 
+Quote Post
Woland
post Oct 10 2004, 02:03 PM
Post #4





Group: Members
Posts: 5
Joined: 9-October 04
From: Russian Jack, AK
Member No.: 4,942



Oh, for Crissake! The IP of the interface is supposed different from the Z! Duh! Well, at least now I am pinging the Z---packets are going across usb0. However, I still get a "Communication was aborted" error, when I press "Sync Start" on the Z. And that is with qtopia running. Likewise with multisync. No one seems to want to talk. Oh, well, back to the forums.
_____
Edit: Installing OpenZaurus 3.5.1 let me finally communicate with my Z. Just wish I could actually install some programs, or sync! Ah, but nothing is ever easy.
Go to the top of the page
 
+Quote Post

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

 



RSS Lo-Fi Version Time is now: 25th October 2014 - 01:10 PM