It is currently Thu Jan 22, 2026 12:14 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2
Author Message
 Post subject:
PostPosted: Tue Nov 07, 2006 4:06 am 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
hannenz wrote:
btw: isn't there a possibility to flush the whole cache or something shorter in linux?!


Haven't tried but ifconfig interface down up might (should imho) do the trick..


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 07, 2006 1:25 pm 
Offline
User avatar

Joined: Thu Jan 12, 2006 12:52 am
Posts: 203
Location: Denmark
hannenz wrote:
isn't there a possibility to flush the whole cache or something shorter in linux?!

/me is a linux n00b, but for reference, in windoze you can simply do a: arp -d *


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 07, 2006 9:06 pm 
Offline

Joined: Thu Jan 12, 2006 8:04 am
Posts: 116
Location: Germany / 88471
Quote:
/me is a linux n00b, but for reference, in windoze you can simply do a: arp -d *

yeah, i tried this in the first place ;) but unfortunately under linux it doesn't work, the manpage to ARP says nothing about any possibility to flush the whole cache, a pity...
but i am happy that i know now what to do to get things working as they should :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 07, 2006 10:15 pm 
Offline

Joined: Sat Oct 14, 2006 8:30 am
Posts: 140
This is why apps shouldn't set the MAC address if one is already set, like I discussed in the other thread... :)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Nov 07, 2006 10:26 pm 
Offline
User avatar

Joined: Thu Jan 12, 2006 12:52 am
Posts: 203
Location: Denmark
yes.. read MAC, if <> lotsa 0s, set it, otherwise stay away, noted, got it!

..so an init routine that resets the nic, should read and store the mac first.. hmm but if that succeeds, there's probably no need for resetting the nic... which there probably isn't anyway, but might be good practice nonetheless... hmmmmm :?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Nov 08, 2006 4:28 pm 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Could someone verify if RR-net's MAC remain set after hard-resetting the computer? (I currently don't have any monitor so I can't try myself). My guessing is that it will be reset... :?:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Nov 08, 2006 5:49 pm 
Offline
User avatar

Joined: Thu Jan 12, 2006 12:52 am
Posts: 203
Location: Denmark
Hehe... apparently it remembers the MAC even after a power cycle:

Resetting the C64 has no effect on the MAC stored in RR-Net.
Resetting the RR-Net has no effect on the MAC stored in RR-Net.
Powering off for less than 60 seconds while keeping the cart inserted has no effect on the MAC stored in RR-Net on my test system.
Powering off for longer periods WILL reset the MAC to the default broadcast address FF-FF-FF-FF-FF-FF

For how long can YOUR RR-Net hold it's breath? ;-)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 09, 2006 2:45 pm 
Offline

Joined: Thu Jan 12, 2006 8:04 am
Posts: 116
Location: Germany / 88471
btw: is there a particular reason why the rr-net's MAC address is changeable at all??! I always thought that each network device has its own absolutely unique hardcoded MAC.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Thu Nov 09, 2006 3:07 pm 
Offline
User avatar

Joined: Thu Jan 12, 2006 12:52 am
Posts: 203
Location: Denmark
The MAC is usually (practically always) stored in a ROM of some sort and then read into the chip upon init. Some chips, e.g. RTL8019AS iirc, require you to actually emulate an EPROM in order for you to "upload" the MAC address to it. It has no writeable register for the MAC. I'd suspect that many ethernet controllers are designed this way, to simply read the MAC from a ROM.
An ethernet controller with a 6 byte EEPROM or FlashMem would be a nice thing ;-)


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 10, 2006 3:02 am 
Offline
Site Admin

Joined: Wed Jan 11, 2006 11:22 am
Posts: 874
Devia wrote:
An ethernet controller with a 6 byte EEPROM or FlashMem would be a nice thing ;-)


That's why RR has a 128K MAC prom :lol:


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Nov 10, 2006 11:11 am 
Offline
User avatar

Joined: Thu Jan 12, 2006 12:52 am
Posts: 203
Location: Denmark
RaveGuru wrote:
Devia wrote:
An ethernet controller with a 6 byte EEPROM or FlashMem would be a nice thing ;-)

That's why RR has a 128K MAC prom :lol:

hehe.. yeah but unfortunately the interface between RR and the ethernet controller is limited to the Clock Port and thus not able to provide for the ROM functionality :o


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 26 posts ]  Go to page Previous  1, 2

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group