Re: Mac USB Networking

2008-09-12 Thread Christ van Willegen
Hi,

On Fri, Sep 12, 2008 at 1:46 AM, Alexandre Girard [EMAIL PROTECTED] wrote:
 Router:   192.168.0.202 (not actually needed, OS X can figure this out
 for itself, unless you have other conflicting configurations)
Are you sure this is the correct address? I 'had' to put in
192.168.62.1 (my router's address) to get it to work.

 * Some crash on the mac if you boot/shutdown with the usb plugged

Also, lots of crashes if you do opkg upgrade (at least, I've had lots
of problems with that).

Christ van Willegen
-- 
09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mac USB Networking

2008-09-12 Thread Peter Neubauer
Yes,
the same here, I am using the Buglabs driver. I wonder if they are
experiencing the same behaviours with their devices or if this is a OM
issue?

/peter

GTalk: neubauer.peter
Skype peter.neubauer
ICQ 18762544
Phone +46704 106975
LinkedIn http://www.linkedin.com/in/neubauer
Twitter http://twitter.com/peterneubauer

http://www.neo4j.org - New Energy for Data - the Graph Database.
http://www.ops4j.org - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org - New Energy for Java - Domain Driven Development.




On Fri, Sep 12, 2008 at 1:46 AM, Alexandre Girard [EMAIL PROTECTED] wrote:
 Hi Lally,

 Here are some notes I took when configuring the USB networking, it's
 not really different from the wiki page.

 It's working great on my macbook ( and with image 2008.8), it might
 help you:

 * Install AJZaurusUSB driver on mac: 
 http://www.dsitri.de/wiki.php?page=AJZaurusUSB
 * After reboot, configure USB networking in Network pref panel:

 IP-V4: manual
 IP-Addr:  192.168.0.200 (you can use anything in 192.168.0.* but OM is
 configured by default to use 192.168.0.200 as the external gateway)
 Subnet:   255.255.255.0 (should be the default - see tip below if have
 issue with these settings)
 Router:   192.168.0.202 (not actually needed, OS X can figure this out
 for itself, unless you have other conflicting configurations)

 * Connect openmoko and: ssh [EMAIL PROTECTED]
 * hotplug problem, disconnected network - change usb port, reboot
 computer
 * Some crash on the mac if you boot/shutdown with the usb plugged

 Alex

 El 12/09/2008, a las 0:25, Lally Singh escribió:

 Hey all,

  Just got the FR yesterday (nice physical design).  I installed the
 patched network driver listed under Apple CDC Ethernet driver
 10.5.x, and the Networking pane shows a USB serial connection, but no
 ethernet.  It also does not show up as enXX in ifconfig.

  This is OS X 10.5.4.  I can use dfu-util fine.  But, I haven't found
 a way to get the wifi working yet, so the device is networkless.

  Anyone else have a mac with a working usb networking setup?  What'd
 you do?  I'll happily update the wiki with the result.

 Here's my ifconfig when the device is plugged in (this was right
 before I did the dfu-util reflash):
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fd5d:a24b:2849:fed7:217:f2ff:fece:65ba prefixlen 128
 gif0: flags=8010POINTOPOINT,MULTICAST mtu 1280
 stf0: flags=0 mtu 1280
 en0: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
   ether 00:17:f2:ce:65:ba
   media: autoselect status: inactive
   supported media: autoselect 10baseT/UTP half-duplex 10baseT/UTP
 full-duplex 10baseT/UTP full-duplex,hw-loopback 10baseT/UTP
 full-duplex,flow-control 100baseTX half-duplex 100baseTX
 full-duplex 100baseTX full-duplex,hw-loopback 100baseTX
 full-duplex,flow-control 1000baseT full-duplex 1000baseT
 full-duplex,hw-loopback 1000baseT full-duplex,flow-control none
 fw0: flags=8822BROADCAST,SMART,SIMPLEX,MULTICAST mtu 2030
   lladdr 00:19:e3:ff:fe:22:6b:5c
   media: autoselect full-duplex status: inactive
   supported media: autoselect full-duplex
 en1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::219:e3ff:fe04:85c2%en1 prefixlen 64 scopeid 0x6
   inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255
   ether 00:19:e3:04:85:c2
   media: autoselect status: active
   supported media: autoselect
 vmnet8: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu
 1500
   inet 172.16.1.1 netmask 0xff00 broadcast 172.16.1.255
   ether 00:50:56:c0:00:08
 vmnet1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu
 1500
   inet 172.16.74.1 netmask 0xff00 broadcast 172.16.74.255
   ether 00:50:56:c0:00:01

 Thanks in advance!

 -ls

 --
 H. Lally Singh
 Ph.D. Candidate, Computer Science
 Virginia Tech

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mac USB Networking

2008-09-12 Thread Alexandre Girard
Hi,

It's nt our router address you need to put ine the USB network config,  
it's the openmoko IP (described here as a router), because it's  
configure as 192.168.0.202 in its conf.

No crashes yet with opkg on usb networking, a bit slow but internet  
sharing works nice :)

Alex

El 12/09/2008, a las 8:05, Christ van Willegen escribió:

 Hi,

 On Fri, Sep 12, 2008 at 1:46 AM, Alexandre Girard [EMAIL PROTECTED] 
  wrote:
 Router:   192.168.0.202 (not actually needed, OS X can figure this  
 out
 for itself, unless you have other conflicting configurations)
 Are you sure this is the correct address? I 'had' to put in
 192.168.62.1 (my router's address) to get it to work.

 * Some crash on the mac if you boot/shutdown with the usb plugged

 Also, lots of crashes if you do opkg upgrade (at least, I've had lots
 of problems with that).

 Christ van Willegen
 -- 
 09 F9 11 02 9D 74 E3 5B D8 41 56 C5 63 56 88 C0

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mac USB Networking

2008-09-12 Thread Dr. H. Nikolaus Schaller
Yes - both are known and on the bug list.

But debugging OSX kernel drivers needs two machines with the same  
Darwin version connected through firewire and a lot of spare time  
since you have to force the machine to crash, then use gdb from the  
other machine to inspect and try to understand wat did go wrong. Then,  
reboot the crashed machine nd hope that the Journaled Filesystem and  
Time Machine can backup everything. Then try some fix in the sources.  
Recompile on the crashed machine. Copy binaries and symbol files to  
the inspection machine. Then, try again. Each such session takes  
approx. 30 minutes. And, you have to add time to understand the sparse  
documentation of IOKit.
So, if you have no interruptions you verify approx. 8 ideas per day.  
All of them may be wrong and after a long day you have no progress...

Since the Apple CDC driver also works (but shows the problem that you  
have to reconfigure networking after each reboot), I do not have it on  
highest priority.

BR,
Nikolaus


Am 12.09.2008 um 08:05 schrieb Christ van Willegen:


 * Some crash on the mac if you boot/shutdown with the usb plugged

 Also, lots of crashes if you do opkg upgrade (at least, I've had lots
 of problems with that).


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Mac USB Networking

2008-09-11 Thread Lally Singh
Hey all,

  Just got the FR yesterday (nice physical design).  I installed the
patched network driver listed under Apple CDC Ethernet driver
10.5.x, and the Networking pane shows a USB serial connection, but no
ethernet.  It also does not show up as enXX in ifconfig.

  This is OS X 10.5.4.  I can use dfu-util fine.  But, I haven't found
a way to get the wifi working yet, so the device is networkless.

  Anyone else have a mac with a working usb networking setup?  What'd
you do?  I'll happily update the wiki with the result.

Here's my ifconfig when the device is plugged in (this was right
before I did the dfu-util reflash):
lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fd5d:a24b:2849:fed7:217:f2ff:fece:65ba prefixlen 128
gif0: flags=8010POINTOPOINT,MULTICAST mtu 1280
stf0: flags=0 mtu 1280
en0: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:17:f2:ce:65:ba
media: autoselect status: inactive
supported media: autoselect 10baseT/UTP half-duplex 10baseT/UTP
full-duplex 10baseT/UTP full-duplex,hw-loopback 10baseT/UTP
full-duplex,flow-control 100baseTX half-duplex 100baseTX
full-duplex 100baseTX full-duplex,hw-loopback 100baseTX
full-duplex,flow-control 1000baseT full-duplex 1000baseT
full-duplex,hw-loopback 1000baseT full-duplex,flow-control none
fw0: flags=8822BROADCAST,SMART,SIMPLEX,MULTICAST mtu 2030
lladdr 00:19:e3:ff:fe:22:6b:5c
media: autoselect full-duplex status: inactive
supported media: autoselect full-duplex
en1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::219:e3ff:fe04:85c2%en1 prefixlen 64 scopeid 0x6
inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255
ether 00:19:e3:04:85:c2
media: autoselect status: active
supported media: autoselect
vmnet8: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 172.16.1.1 netmask 0xff00 broadcast 172.16.1.255
ether 00:50:56:c0:00:08
vmnet1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 172.16.74.1 netmask 0xff00 broadcast 172.16.74.255
ether 00:50:56:c0:00:01

Thanks in advance!

-ls

-- 
H. Lally Singh
Ph.D. Candidate, Computer Science
Virginia Tech

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mac USB Networking

2008-09-11 Thread Warren Baird
I had slightly more luck with the opensource zaurus driver also mentioned on
the mac page - but I found neither solution worked well - after rebooting 6
or 7 times I think I managed to get the USB networking going once.   I'm
afraid I gave up and ended up just using a linux server that I was fortunate
to have access to...

I tried briefly using a Linux vmware image, but I also couldn't get that
working.

If anyone else has managed to get this to work, I'd love to hear about it...

Warren


On Thu, Sep 11, 2008 at 6:25 PM, Lally Singh [EMAIL PROTECTED] wrote:

 Hey all,

  Just got the FR yesterday (nice physical design).  I installed the
 patched network driver listed under Apple CDC Ethernet driver
 10.5.x, and the Networking pane shows a USB serial connection, but no
 ethernet.  It also does not show up as enXX in ifconfig.

  This is OS X 10.5.4.  I can use dfu-util fine.  But, I haven't found
 a way to get the wifi working yet, so the device is networkless.

  Anyone else have a mac with a working usb networking setup?  What'd
 you do?  I'll happily update the wiki with the result.

 Here's my ifconfig when the device is plugged in (this was right
 before I did the dfu-util reflash):
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fd5d:a24b:2849:fed7:217:f2ff:fece:65ba prefixlen 128
 gif0: flags=8010POINTOPOINT,MULTICAST mtu 1280
 stf0: flags=0 mtu 1280
 en0: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:17:f2:ce:65:ba
media: autoselect status: inactive
supported media: autoselect 10baseT/UTP half-duplex 10baseT/UTP
 full-duplex 10baseT/UTP full-duplex,hw-loopback 10baseT/UTP
 full-duplex,flow-control 100baseTX half-duplex 100baseTX
 full-duplex 100baseTX full-duplex,hw-loopback 100baseTX
 full-duplex,flow-control 1000baseT full-duplex 1000baseT
 full-duplex,hw-loopback 1000baseT full-duplex,flow-control none
 fw0: flags=8822BROADCAST,SMART,SIMPLEX,MULTICAST mtu 2030
lladdr 00:19:e3:ff:fe:22:6b:5c
media: autoselect full-duplex status: inactive
supported media: autoselect full-duplex
 en1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::219:e3ff:fe04:85c2%en1 prefixlen 64 scopeid 0x6
inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255
ether 00:19:e3:04:85:c2
media: autoselect status: active
supported media: autoselect
 vmnet8: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 172.16.1.1 netmask 0xff00 broadcast 172.16.1.255
ether 00:50:56:c0:00:08
 vmnet1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet 172.16.74.1 netmask 0xff00 broadcast 172.16.74.255
ether 00:50:56:c0:00:01

 Thanks in advance!

 -ls

 --
 H. Lally Singh
 Ph.D. Candidate, Computer Science
 Virginia Tech

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mac USB Networking

2008-09-11 Thread Alexandre Girard
Hi Lally,

Here are some notes I took when configuring the USB networking, it's  
not really different from the wiki page.

It's working great on my macbook ( and with image 2008.8), it might  
help you:

* Install AJZaurusUSB driver on mac: 
http://www.dsitri.de/wiki.php?page=AJZaurusUSB
* After reboot, configure USB networking in Network pref panel:

IP-V4: manual
IP-Addr:  192.168.0.200 (you can use anything in 192.168.0.* but OM is  
configured by default to use 192.168.0.200 as the external gateway)
Subnet:   255.255.255.0 (should be the default - see tip below if have  
issue with these settings)
Router:   192.168.0.202 (not actually needed, OS X can figure this out  
for itself, unless you have other conflicting configurations)

* Connect openmoko and: ssh [EMAIL PROTECTED]
* hotplug problem, disconnected network - change usb port, reboot  
computer
* Some crash on the mac if you boot/shutdown with the usb plugged

Alex

El 12/09/2008, a las 0:25, Lally Singh escribió:

 Hey all,

  Just got the FR yesterday (nice physical design).  I installed the
 patched network driver listed under Apple CDC Ethernet driver
 10.5.x, and the Networking pane shows a USB serial connection, but no
 ethernet.  It also does not show up as enXX in ifconfig.

  This is OS X 10.5.4.  I can use dfu-util fine.  But, I haven't found
 a way to get the wifi working yet, so the device is networkless.

  Anyone else have a mac with a working usb networking setup?  What'd
 you do?  I'll happily update the wiki with the result.

 Here's my ifconfig when the device is plugged in (this was right
 before I did the dfu-util reflash):
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
   inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
   inet 127.0.0.1 netmask 0xff00
   inet6 ::1 prefixlen 128
   inet6 fd5d:a24b:2849:fed7:217:f2ff:fece:65ba prefixlen 128
 gif0: flags=8010POINTOPOINT,MULTICAST mtu 1280
 stf0: flags=0 mtu 1280
 en0: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
   ether 00:17:f2:ce:65:ba
   media: autoselect status: inactive
   supported media: autoselect 10baseT/UTP half-duplex 10baseT/UTP
 full-duplex 10baseT/UTP full-duplex,hw-loopback 10baseT/UTP
 full-duplex,flow-control 100baseTX half-duplex 100baseTX
 full-duplex 100baseTX full-duplex,hw-loopback 100baseTX
 full-duplex,flow-control 1000baseT full-duplex 1000baseT
 full-duplex,hw-loopback 1000baseT full-duplex,flow-control none
 fw0: flags=8822BROADCAST,SMART,SIMPLEX,MULTICAST mtu 2030
   lladdr 00:19:e3:ff:fe:22:6b:5c
   media: autoselect full-duplex status: inactive
   supported media: autoselect full-duplex
 en1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
   inet6 fe80::219:e3ff:fe04:85c2%en1 prefixlen 64 scopeid 0x6
   inet 10.0.1.2 netmask 0xff00 broadcast 10.0.1.255
   ether 00:19:e3:04:85:c2
   media: autoselect status: active
   supported media: autoselect
 vmnet8: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu  
 1500
   inet 172.16.1.1 netmask 0xff00 broadcast 172.16.1.255
   ether 00:50:56:c0:00:08
 vmnet1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu  
 1500
   inet 172.16.74.1 netmask 0xff00 broadcast 172.16.74.255
   ether 00:50:56:c0:00:01

 Thanks in advance!

 -ls

 -- 
 H. Lally Singh
 Ph.D. Candidate, Computer Science
 Virginia Tech

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Mac USB Networking

2008-09-11 Thread Tomas Riveros Schober
What im doing is using a vmware virtual machine with linux mint 
installed (it was the only image i had lying around in my hd),
so i just share the network using NAT and then the trick in the wiki 
(linux simple networking) after plugging the FR with the virtual machine 
focused.
that way i can df-utils and get usb network to the FR.

hope it helps!

Warren Baird escribió:
 I had slightly more luck with the opensource zaurus driver also 
 mentioned on the mac page - but I found neither solution worked well - 
 after rebooting 6 or 7 times I think I managed to get the USB 
 networking going once.   I'm afraid I gave up and ended up just using 
 a linux server that I was fortunate to have access to...

 I tried briefly using a Linux vmware image, but I also couldn't get 
 that working.

 If anyone else has managed to get this to work, I'd love to hear about 
 it...

 Warren


 On Thu, Sep 11, 2008 at 6:25 PM, Lally Singh [EMAIL PROTECTED] 
 mailto:[EMAIL PROTECTED] wrote:

 Hey all,

  Just got the FR yesterday (nice physical design).  I installed the
 patched network driver listed under Apple CDC Ethernet driver
 10.5.x, and the Networking pane shows a USB serial connection, but no
 ethernet.  It also does not show up as enXX in ifconfig.

  This is OS X 10.5.4. http://10.5.4.  I can use dfu-util fine.
  But, I haven't found
 a way to get the wifi working yet, so the device is networkless.

  Anyone else have a mac with a working usb networking setup?  What'd
 you do?  I'll happily update the wiki with the result.

 Here's my ifconfig when the device is plugged in (this was right
 before I did the dfu-util reflash):
 lo0: flags=8049UP,LOOPBACK,RUNNING,MULTICAST mtu 16384
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 http://127.0.0.1 netmask 0xff00
inet6 ::1 prefixlen 128
inet6 fd5d:a24b:2849:fed7:217:f2ff:fece:65ba prefixlen 128
 gif0: flags=8010POINTOPOINT,MULTICAST mtu 1280
 stf0: flags=0 mtu 1280
 en0: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
ether 00:17:f2:ce:65:ba
media: autoselect status: inactive
supported media: autoselect 10baseT/UTP half-duplex
 10baseT/UTP
 full-duplex 10baseT/UTP full-duplex,hw-loopback 10baseT/UTP
 full-duplex,flow-control 100baseTX half-duplex 100baseTX
 full-duplex 100baseTX full-duplex,hw-loopback 100baseTX
 full-duplex,flow-control 1000baseT full-duplex 1000baseT
 full-duplex,hw-loopback 1000baseT full-duplex,flow-control none
 fw0: flags=8822BROADCAST,SMART,SIMPLEX,MULTICAST mtu 2030
lladdr 00:19:e3:ff:fe:22:6b:5c
media: autoselect full-duplex status: inactive
supported media: autoselect full-duplex
 en1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST mtu 1500
inet6 fe80::219:e3ff:fe04:85c2%en1 prefixlen 64 scopeid 0x6
inet 10.0.1.2 http://10.0.1.2 netmask 0xff00
 broadcast 10.0.1.255 http://10.0.1.255
ether 00:19:e3:04:85:c2
media: autoselect status: active
supported media: autoselect
 vmnet8: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST
 mtu 1500
inet 172.16.1.1 http://172.16.1.1 netmask 0xff00
 broadcast 172.16.1.255 http://172.16.1.255
ether 00:50:56:c0:00:08
 vmnet1: flags=8863UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST
 mtu 1500
inet 172.16.74.1 http://172.16.74.1 netmask 0xff00
 broadcast 172.16.74.255 http://172.16.74.255
ether 00:50:56:c0:00:01

 Thanks in advance!

 -ls

 --
 H. Lally Singh
 Ph.D. Candidate, Computer Science
 Virginia Tech

 ___
 Openmoko community mailing list
 community@lists.openmoko.org mailto:community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community


 

 ___
 Openmoko community mailing list
 community@lists.openmoko.org
 http://lists.openmoko.org/mailman/listinfo/community
   

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community