Hi again 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.   
      
   Is there a newer build I can grab from somewhere?   
      
   All the best,   
   Bobbi   
      
   Oliver Schmidt wrote:   
      
   >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   
   >   
   >   
   >   
   >.   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|