However, when I run an IP65
program such as DATE65, it sometimes makes its DHCP request with this MAC
and sometimes some other MAC (usually 00:08:DC:11:11:11, which just so happens to be the default for Contiki.
I don't see anything fishy in the
code, and I can't explain this behaviour.
The reason I am messing with this is I have more than one Apple II with Uthernet II on my LAN, and I can't have them using the same MAC ;) I was thinking to add the MAC address to the ETHERNET.SLOT file that IP65 uses.
Hoping Oliver Schmidt gets to read this and can give me an idea what is
going on.
Hi,
However, when I run an IP65
program such as DATE65, it sometimes makes its DHCP request with this MAC
and sometimes some other MAC (usually 00:08:DC:11:11:11, which just so
happens to be the default for Contiki.
This isn't a question of IP65 vs Contiki but a question of old vs. new.
Both IP65 and Contiki use the exact same driver. At some point I changed
the MAC from ...:11 to ...:A2. So you have an old Contiki and a new IP65.
I don't see anything fishy in the
code, and I can't explain this behaviour.
I can't explain this too. I must admit that I question that your experience >is EXACTLY the one you describe - but that doesn't matter after all.
The reason I am messing with this is I have more than one Apple II with
Uthernet II on my LAN, and I can't have them using the same MAC ;) I was
thinking to add the MAC address to the ETHERNET.SLOT file that IP65 uses.
There's no need to hack that driver to do that. On initialization the
driver checks the W5100 register $001A (which has the power-up default $55) >for the value $06. If that value is found it does not use its own MAC
address but the one found in the W5100 registers $0009-$000E (and leaves >$001A at $06).
Please note that the driver does NOT(!) set the register $001A to $06 when
it finds it to have the power-up default $55. Rather it sets it to $1A.
So the driver will never enter this "MAC re-use" mode by itself. You need
to explicitly set it before initializing the driver once e.g. with a
specific MAC-Set program. But then the driver will stay in that MAC re-use >mode over several initializations - until a Ctrl-Reset or power cycle.
Hoping Oliver Schmidt gets to read this and can give me an idea what is
going on.
The usual way to contact a person is to write an email - but I guess that
you as an author of SMTP / POP3 software know that ;-)
Regards,
Oliver
.
Hi,
However, when I run an IP65
program such as DATE65, it sometimes makes its DHCP request with this MAC
and sometimes some other MAC (usually 00:08:DC:11:11:11, which just so
happens to be the default for Contiki.
This isn't a question of IP65 vs Contiki but a question of old vs. new.
Both IP65 and Contiki use the exact same driver. At some point I changed
the MAC from ...:11 to ...:A2. So you have an old Contiki and a new IP65.
I don't see anything fishy in the
code, and I can't explain this behaviour.
I can't explain this too. I must admit that I question that your experience >is EXACTLY the one you describe - but that doesn't matter after all.
The reason I am messing with this is I have more than one Apple II with
Uthernet II on my LAN, and I can't have them using the same MAC ;) I was
thinking to add the MAC address to the ETHERNET.SLOT file that IP65 uses.
There's no need to hack that driver to do that. On initialization the
driver checks the W5100 register $001A (which has the power-up default $55) >for the value $06. If that value is found it does not use its own MAC
address but the one found in the W5100 registers $0009-$000E (and leaves >$001A at $06).
Please note that the driver does NOT(!) set the register $001A to $06 when
it finds it to have the power-up default $55. Rather it sets it to $1A.
So the driver will never enter this "MAC re-use" mode by itself. You need
to explicitly set it before initializing the driver once e.g. with a
specific MAC-Set program. But then the driver will stay in that MAC re-use >mode over several initializations - until a Ctrl-Reset or power cycle.
Hoping Oliver Schmidt gets to read this and can give me an idea what is
going on.
The usual way to contact a person is to write an email - but I guess that
you as an author of SMTP / POP3 software know that ;-)
Regards,
Oliver
.
Setting the MAC and setting register $001a to $06 works perfectly with
IP65.
However with Contiki I am still getting :11:11:11. I tested with >WEBBROWS.SYSTEM.
I checked the version of Contiki I am running and it is the release from >2019-05-08. I am not sure if there is a more recent one -- if so, I wasn't >able to find it.
Hi,
Setting the MAC and setting register $001a to $06 works perfectly with >>IP65.
Great :-)
However with Contiki I am still getting :11:11:11. I tested with >>WEBBROWS.SYSTEM.
I checked the version of Contiki I am running and it is the release from >>2019-05-08. I am not sure if there is a more recent one -- if so, I wasn't >>able to find it.
No, that's the right one. It contains a file W5100.ETH which contains
at offset $6E the sequence 00:08:DC:A2:A2:A2.
Do you happen to use ADTPro VEDRIVE >(http://adtpro.sourceforge.net/vedrive.html)? It sets the W5100
register $001A to $06
Oliver - you are right that ADTPro (and VEDRIVE) does not currently support >this convention.
I am hoping that this may be fixed in the next release of
ADT though :)
Sysop: | Gate Keeper |
---|---|
Location: | Shelby, NC |
Users: | 764 |
Nodes: | 20 (0 / 20) |
Uptime: | 41:06:45 |
Calls: | 11,275 |
Calls today: | 1 |
Files: | 5,288 |
D/L today: |
82 files (10,175K bytes) |
Messages: | 521,283 |