Go Down

Topic: Ethernet and UDP? (Read 4406 times) previous topic - next topic

Matt Elias

Maybe you should describe what your network looks like. Router? Switch? Cabling? How is it all connected?

zoomkat

Quote
That's a new one on me!! As far as I know its a standard cable, do I need a cross over cable?


How would I know without knowing how you are trying to connect the arduino to your pc.  :smiley-roll-blue:
Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

TomSlater

Quote
How would I know without knowing how you are trying to connect the arduino to your pc.  smiley-roll-blue


Sorry...I am trying to connect directly to my Mac :smiley-red:

TomSlater

Quote
Maybe you should describe what your network looks like. Router? Switch? Cabling? How is it all connected?


It's a basic domestic set up....

I have a wireless o2 router,
I am connected to that via the air port on my mac
and I am plugging the Arduino directly into the ethernet socket on my Mac

My airport settings tell me that "AirPort is connected to Mash up and has the IP address 192.168.1.64."

When I plug the Arduino into the ethernet socket my ethernet setting tell me "Ethernet has a self-assigned IP address and will not be able to connect to the Internet".  an the ip address is 169.254.139.32.

And finally when I go to a site called http://www.ip-adress.com/ it tells me my ip address is 188.222.96.25

zoomkat

Not familiar with how macs work. If you have a router, plug the arduino into the router and things may be easier to use.
Google forum search: Use Google Advanced Search and use Http://forum.arduino.cc/index in the "site or domain:" box.

TomSlater

I'll try tomorrow.

Thanks for your help

tastewar

Alternatively, if you want to connect directly, you will (almost certainly) need a crossover cable. Then you will need to assign your arduino a unique address within the same autoconfig subnet as the mac. If you paste the output of ifconfig here, someone will be able to figure it out...

TomSlater

Quote
If you paste the output of ifconfig here, someone will be able to figure it out...


Here it is

Code: [Select]
unknown-00-1e-52-71-df-2b:~ tomslater$ ifconfig
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x1
inet 127.0.0.1 netmask 0xff000000
gif0: flags=8010<POINTOPOINT,MULTICAST> mtu 1280
stf0: flags=0<> mtu 1280
en0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:1b:63:b6:d3:9c
media: autoselect
status: inactive
fw0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 4078
lladdr 00:1e:52:ff:fe:3b:4b:fa
media: autoselect <full-duplex>
status: inactive
en1: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
ether 00:1e:52:71:df:2b
inet6 fe80::21e:52ff:fe71:df2b%en1 prefixlen 64 scopeid 0x6
inet 192.168.1.64 netmask 0xffffff00 broadcast 192.168.1.255
media: autoselect
status: active

tastewar

Hmm... Thought you said there was an autoconfig address mentioned. Am I mis-remembering?

Go Up