Blitzortung.org Forum
System Blue Network Interface Question - Printable Version

+- Blitzortung.org Forum (https://forum.blitzortung.org)
+-- Forum: Public Forums (https://forum.blitzortung.org/forumdisplay.php?fid=29)
+--- Forum: General Discussion (https://forum.blitzortung.org/forumdisplay.php?fid=31)
+--- Thread: System Blue Network Interface Question (/showthread.php?tid=1937)



System Blue Network Interface Question - chevyman142000 - 2016-09-13

Hello everyone, 

I just got my system blue built last week and powered up. It has been running fine as far as I can tell. I was just looking at my network switch and noticed that the port it is plugged into is only running at 10mb half duplex and is throwing some CRC and late collision errors on that port. I tested the cable run between the switch and the detector and it checked out. Does it sound like I may have done a bad solder job on the nic?

Thanks!
Jeff


RE: System Blue Network Interface Question - piepants - 2016-09-13

The ethernet controller is a Microchip ENC28J60 which is only 10mbit (and the SPI interface it uses can't handle much more than that anyway). Looking at the schematic and datasheet, it's also set to run half-duplex in this case (LEDB sinks to ground). Couldn't hurt to check the solder joints on the RJ45 jack and crystal Q1.


RE: System Blue Network Interface Question - kevinmcc - 2016-09-13

If you have a managed network switch you can set the port to 10 Mbps and Full duplex and the Ethernet will work fine.


RE: System Blue Network Interface Question - chevyman142000 - 2016-09-13

I checked the solder joints and everything looks good. I tried a different switch port and never could get a link if I did any full duplex or anything above 10mb. I'm also still seeing errors on the port, maybe because it is only running at half duplex? Not sure.


RE: System Blue Network Interface Question - piepants - 2016-09-14

I know you said you've tested the cable, but have you tried another one? And has it been separated from the H and E field preamp cables and other sources of interference?


RE: System Blue Network Interface Question - chevyman142000 - 2016-09-14

Yes, I have also brought it down to the basement and plugged it directly into the switch with a new/different patch cable and got the same results.


RE: System Blue Network Interface Question - allsorts - 2016-09-14

(2016-09-14, 00:52)chevyman142000 Wrote: Yes, I have also brought it down to the basement and plugged it directly into the switch with a new/different patch cable and got the same results.

Who supplied the socket? There are hundreds of variations on RJ45 sockets if sourcing yourself it would be very easy to get one very similar but not correct.


RE: System Blue Network Interface Question - chevyman142000 - 2016-09-14

Not a bad idea. I did find this on Amazon, will have to verify model/part number. https://www.amazon.com/HanRun-HR911105A-HR911105-Network-Transformer/dp/B00VIDRTO8/ref=sr_1_fkmr0_1?ie=UTF8&qid=1473863572&sr=8-1-fkmr0&keywords=hanrun+ENC28J60


RE: System Blue Network Interface Question - allsorts - 2016-09-15

(2016-09-14, 14:34)chevyman142000 Wrote: Not a bad idea. I did find this on Amazon, will have to verify model/part number. https://www.amazon.com/HanRun-HR911105A-HR911105-Network-Transformer/dp/B00VIDRTO8/ref=sr_1_fkmr0_1?ie=UTF8&qid=1473863572&sr=8-1-fkmr0&keywords=hanrun+ENC28J60

Well the part numbers agree, a search of the Hanrun site with hr9111 only brings up 7 results 05a only one... Presumably it's not possible to fit one of the other RJ45 sockets into the LAN position? Or as the HR911105A has magnetics inside perhaps they have been overheated or a connection inside damaged?

Clutching at straws...


RE: System Blue Network Interface Question - kevinmcc - 2016-09-16

(2016-09-13, 23:24)chevyman142000 Wrote: I checked the solder joints and everything looks good. I tried a different switch port and never could get a link if I did any full duplex or anything above 10mb. I'm also still seeing errors on the port, maybe because it is only running at half duplex? Not sure.

Will run 10 Mbps Half unless you have managed switch and set the port to 10 Mbps Full.

For example I am using a Cisco 2960G and can fix port speeds and duplex.

What errors are you seeing? Do you mean collisions?

Collisions are normal for 10 Mbps Half.


RE: System Blue Network Interface Question - chevyman142000 - 2016-09-16

I do have a managed switch (HP Procurve). I've tried setting it to 10mb full and the port just goes disabled.

From the switch log:

Excessive CRC/% alignment errors
Half Duplex Mismatch
Excessive late% collisions


RE: System Blue Network Interface Question - allsorts - 2016-09-16

(2016-09-16, 18:16)chevyman142000 Wrote: I do have a managed switch (HP Procurve). I've tried setting it to 10mb full and the port just goes disabled.

From the switch log:

Excessive CRC/% alignment errors
Half Duplex Mismatch
Excessive late% collisions

And if you set the switch to 10 Mb half duplex? The ENC28J60 is configured to be in half duplex mode as per a post further up this thread.

If you still get CRC errors I'd be getting the scope out to see what is going on with signal levels.

ENC28J60:
Pins 13 and 12 are Tx+ & Tx-, RJ45 Pins 1 & 2 Org/Wht & Org.
Pins 17 and 16 are Rx+ & Rx-, RJ45 Pins 3 & 6 Grn/Wht & Grn.

No scope, give a close examination to the joints of the components between the socket and chip, are the errors in both directions or only one?


RE: System Blue Network Interface Question - kevinmcc - 2016-09-17

(2016-09-16, 18:16)chevyman142000 Wrote: I do have a managed switch (HP Procurve). I've tried setting it to 10mb full and the port just goes disabled.

From the switch log:

Excessive CRC/% alignment errors
Half Duplex Mismatch
Excessive late% collisions

Strange Cisco handles it just fine.

Switch-A#show int g0/7
GigabitEthernet0/7 is up, line protocol is up (connected)
  Hardware is Gigabit Ethernet, address is
  Description: Blitzortung Blue
  MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec,
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 10Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:03, output hang never
  Last clearing of "show interface" counters 1w4d
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 8000 bits/sec, 1 packets/sec
  5 minute output rate 4000 bits/sec, 2 packets/sec
     11175568 packets input, 7327449999 bytes, 0 no buffer
     Received 1264 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     10900051 packets output, 2029037907 bytes, 0 underruns
     0 output errors, 0 collisions, 0 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out


Can you disable the port, change to 10mb Full, then re-enable and see if it errors?


RE: System Blue Network Interface Question - chevyman142000 - 2016-09-19

Sorry for the delay. I will try this out and let you know.