Pages: 1 [2]   Go Down
Author Topic: Ethernet and UDP?  (Read 3283 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Jr. Member
**
Karma: 0
Posts: 91
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

0
Offline Offline
Tesla Member
***
Karma: 114
Posts: 8894
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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
Logged

0
Offline Offline
Tesla Member
***
Karma: 114
Posts: 8894
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Not familiar with how macs work. If you have a router, plug the arduino into the router and things may be easier to use.
Logged

Consider the daffodil. And while you're doing that, I'll be over here, looking through your stuff.   smiley-cool

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I'll try tomorrow.

Thanks for your help
Logged

Arlington, MA, USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 25
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Here it is

Code:
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
Logged

Arlington, MA, USA
Offline Offline
Sr. Member
****
Karma: 0
Posts: 259
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Pages: 1 [2]   Go Up
Jump to: