Author Topic: Still can't ping the zaurus  (Read 4940 times)

tekniklr

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://terisolow.com
Still can't ping the zaurus
« on: September 02, 2004, 03:21:28 pm »
Alright, I've been trying to do this on my own, but it's been at least 5 days and I'm basically just going in circles.

My zaurus is a SL-5000D running OpenZaurus 3.2.  My computer is running gentoo with kernel version 2.6.7.

I've tried various combinations of instructions from docs and forums all over the place (From OZ, ethernet over usb. ppp over usb, even other threads from this forum) and I'm still at the exact place I started.

No matter what I seem to do, or how many kernel configuration permutations I seem to try, I still cannot ping the zaurus:
Code: [Select]
root@minips1 /usr/src/linux # ping 192.168.129.201
PING 192.168.129.201 (192.168.129.201) 56(84) bytes of data.
From 192.168.129.1 icmp_seq=1 Destination Host Unreachable
From 192.168.129.1 icmp_seq=2 Destination Host Unreachable
From 192.168.129.1 icmp_seq=3 Destination Host Unreachable
From 192.168.129.1 icmp_seq=4 Destination Host Unreachable
From 192.168.129.1 icmp_seq=5 Destination Host Unreachable
From 192.168.129.1 icmp_seq=6 Destination Host Unreachable

--- 192.168.129.201 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6000ms
, pipe 4

I plug in the zaurus, and see the following in my syslog:
Code: [Select]
Sep  2 14:04:01 localhost kernel: usb 2-1: new full speed USB device using address 2
Sep  2 14:04:01 localhost kernel: usb0: register usbnet at usb-0000:00:1d.1-1, Sharp Zaurus SL-5x00
Sep  2 14:04:01 localhost kernel: usbcore: registered new driver usbnet
at which point hotplug sets up my usb0 network.
Code: [Select]
root@minips1 /usr/src/linux # lsmod
Module                  Size  Used by
wlan_wep                6144  1
usbnet                 13192  0
ath_pci                55716  0
wlan                  105472  3 wlan_wep,ath_pci
ath_hal               125008  2 ath_pci
ehci_hcd               26436  0
uhci_hcd               29136  0

I have the following line in my /etc/conf.d/net file:
Code: [Select]
iface_usb0="192.168.129.1 pointopoint 192.168.129.201 netmask 255.255.255.0" (I have also tried 192.168.129.200, instead of 192.168.129.1, with the same results) which appears to be working as the output of the below commands shows:
Code: [Select]
root@minips1 /home/tekniklr # ifconfig usb0
usb0      Link encap:Ethernet  HWaddr E6:3D:50:73:2F:0E  
          inet addr:192.168.129.1  Bcast:192.168.129.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:80828 dropped:0 overruns:0 frame:0
          TX packets:6 errors:12 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:276 (276.0 b)

root@minips1 /home/tekniklr # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.129.0   *               255.255.255.0   U     0      0        0 usb0
10.0.0.0        *               255.255.255.0   U     0      0        0 ath0
loopback        localhost.local 255.0.0.0       UG    0      0        0 lo
default         10.0.0.1        0.0.0.0         UG    0      0        0 ath0
If've also tried this, which doesn't give me better results:
Code: [Select]
root@minips1 /home/tekniklr # route add -host 192.168.129.201 usb0
root@minips1 /home/tekniklr # route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.129.201 *               255.255.255.255 UH    0      0        0 usb0
192.168.129.0   *               255.255.255.0   U     0      0        0 usb0
10.0.0.0        *               255.255.255.0   U     0      0        0 ath0
loopback        localhost.local 255.0.0.0       UG    0      0        0 lo
default         10.0.0.1        0.0.0.0         UG    0      0        0 ath0

My kernel has the following relevant configuration:
Code: [Select]
Device Drivers  --->
    USB support  --->
  [*] Enfore USB bandiwdth allocation
   EHCI HCD (USB 2.0) support
   UHCI HCD (most Intel and VIA) support
   Multi-purpose USB Networking Framework
  [*] Embedded ARM Linux links (iPaq, ...)
  [*] Sharp Zaurus (stock ROMs)
  [*] CDC Ethernet support (smart deviced such as cable modems)
  USB Gadget Support  --->
      <*> Support for USB Gadgets
      <*>   USB Gadget Drivers (Ethernet Gadget)  --->
    Networking support  --->
  <*> PPP (point-to-point protocol) support
  <*> PPP support for sync tty ports
  <*> PPP Deflate compression
  <*> PPP BSD-Compress compression
(one of the many tutorials I looked at said PPP was needed).

On the zaurus side, Ive verified that usbd0 is up and running with IP 198.168.129.201, and that it is accepting sync connections from '192.168.129.0/24 (default)' (though I've also tried 'All').  I've tried running
Code: [Select]
# route add default gw 192.168.129.1
SIOCADDRT: Network is unreachable
(same results whether I'm trying to use 192.168.129.1 or 192.168.129.200 on my computer).

Anyway, I've recompiled my kernel no less than 15 times already, just trying whatever different things I can think of, and am now completely at a loss.  I don't know if I missed a step or what, but I've gone over everything so much that I don't think I'd be able to find the problem myself anyway.

Any ideas?  Please?
Actually, I've never met a modest costumed scrapper before! Usually, they start off by saying "Nobody can defeat the Purple Panty-Waist!", or "You fool! Don't you realize you've no chance against the Human Windshield Wiper!"
 - Spider-man, ASM #38

lardman

  • Hero Member
  • *****
  • Posts: 4512
    • View Profile
    • http://people.bath.ac.uk/enpsgp/Zaurus/
Still can't ping the zaurus
« Reply #1 on: September 02, 2004, 04:16:52 pm »
Try posting to the openzaurus-users mailing list (link on the openzaurus.org contacts page).  It's probably also worth sitting on #openzaurus on irc to see whether anyone there has any ideas.

I presume you've seen the earlier posts on this site about getting connectivity to work with 2.6.x kernels?:

https://www.oesf.org/forums/inde...wtopic=4544&hl=


I've just upgraded my linux box to 2.6.x so I shall also be looking at how this stuff works (tomorrow). What fun ;-)


Si
« Last Edit: September 02, 2004, 04:23:22 pm by lardman »
C750 OZ3.5.4 (GPE, 2.6.x kernel)
SL5500 OZ3.5.4 (Opie)
Nokia 770
Serial GPS, WCF-12, Socket Ethernet & BT, Ratoc USB
WinXP, Mandriva

tekniklr

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://terisolow.com
Still can't ping the zaurus
« Reply #2 on: September 02, 2004, 05:24:34 pm »
Quote
I presume you've seen the earlier posts on this site about getting connectivity to work with 2.6.x kernels?:

https://www.oesf.org/forums/inde...wtopic=4544&hl=
Yeah, from that and other sources I've seen, it looks everything should just work with the kernel config I have in 2.6.x.... but it's not.  I'll try posting this o that mailing list, though I'm beginning to worry it's a lost cause.
Actually, I've never met a modest costumed scrapper before! Usually, they start off by saying "Nobody can defeat the Purple Panty-Waist!", or "You fool! Don't you realize you've no chance against the Human Windshield Wiper!"
 - Spider-man, ASM #38

h2gofast

  • Newbie
  • *
  • Posts: 33
    • View Profile
Still can't ping the zaurus
« Reply #3 on: September 15, 2004, 04:47:15 pm »

alan

  • Full Member
  • ***
  • Posts: 221
    • View Profile
Still can't ping the zaurus
« Reply #4 on: October 05, 2004, 09:22:32 am »
i had the same situation untill i turned off my firewall... Not a good solution, but at l(e)ast it works...

jamesm

  • Full Member
  • ***
  • Posts: 102
    • View Profile
    • http://
Still can't ping the zaurus
« Reply #5 on: October 05, 2004, 09:55:01 am »
Quote
I have the following line in my /etc/conf.d/net file:
CODE 
iface_usb0="192.168.129.1 pointopoint 192.168.129.201 netmask 255.255.255.0"

I doubt this would be the cause of all your problems, and I don't even know if this is right, but....

Should pointopoint actually read pointtopoint?

(I'm only pointing this out as it jumped off the page at me for some reason)
Victim of c3000 ebay scam.... Now after c3100

cvmiller

  • Full Member
  • ***
  • Posts: 242
    • View Profile
    • http://
Still can't ping the zaurus
« Reply #6 on: October 05, 2004, 11:58:59 am »
Quote
# route add default gw 192.168.129.1
SIOCADDRT: Network is unreachable
(same results whether I'm trying to use 192.168.129.1 or 192.168.129.200 on my computer).

This doesn't look like a good sign. If route refuses to add the route, that usually means that the interface really isn't up (or it doesn't have the correct subnet).

Perhaps you could tell us what "ifconfig -a" reports on the Zaurus.

Have you considered using something other than the USB for connectivity? I use WLAN at home between my Linux desktop, and the Zaurus and it works great!

I hope this helps,

Craig...
SL-6000
ROM v1.12 (Sharp)
Belkin F8U1500 IR Keyboard
1 GB SD Card by SanDisk (ext2)