Adding an ENC28J60 Ethernet module - instructions - Raspberry Pi Forums
hi folks,
i've written instructions adding enc28j60 ethernet interface pi. project at:
http://www.instructables.com/id/super-c ... pberry-pi/
simple enough school project, or kids. know it's 10mbit ethernet interface, it's surprisingly performance (i'm getting 350-400kbytes/sec downloading sd card images raspberrypi.org) , it's really cheap.
comments welcome,
ian
i've written instructions adding enc28j60 ethernet interface pi. project at:
http://www.instructables.com/id/super-c ... pberry-pi/
simple enough school project, or kids. know it's 10mbit ethernet interface, it's surprisingly performance (i'm getting 350-400kbytes/sec downloading sd card images raspberrypi.org) , it's really cheap.
comments welcome,
ian
hi iam
have followed instruction use enc28j60 raspberry have problems when accessing module.
idea have original interface (eth0) connected internet , use enc28j60 additional interface (eth1) attach ip camera , stream use of rtsp. ip eth0 need assigned dhcp , eth1 fixed (need fixed rtsp url).
have attached pins describen , when running command abble se right message. if run command ifconfig can see additional interface eth1. despite all, there 1 interesting message "interrupt:249" @ end of interface eth1. problem? when running lsmod get: , when running dmesg get: have tried set fixed ip address on eth1 after additng lines below in /etc/network/interface pi didn't want boot.
next approach set ip address manualy command still can not access camera on ip 192.168.5.106.
appreciate suggestion. if nedd additioanl information please let me know.
thank you
have followed instruction use enc28j60 raspberry have problems when accessing module.
idea have original interface (eth0) connected internet , use enc28j60 additional interface (eth1) attach ip camera , stream use of rtsp. ip eth0 need assigned dhcp , eth1 fixed (need fixed rtsp url).
have attached pins describen , when running command
code: select all
ls /boot/overlays/enc28*
code: select all
eth0 link encap:ethernet hwaddr b8:27:eb:f0:87:59 inet addr:192.168.5.113 bcast:192.168.5.255 mask:255.255.255.0 broadcast running multicast mtu:1500 metric:1 rx packets:1944 errors:0 dropped:0 overruns:0 frame:0 tx packets:1738 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:141408 (138.0 kib) tx bytes:154337 (150.7 kib) eth0:1 link encap:ethernet hwaddr b8:27:eb:f0:87:59 inet addr:10.88.88.10 bcast:10.88.88.255 mask:255.255.255.0 broadcast running multicast mtu:1500 metric:1 eth1 link encap:ethernet hwaddr 06:45:db:e4:e9:4d broadcast running multicast mtu:1500 metric:1 rx packets:602 errors:0 dropped:0 overruns:0 frame:0 tx packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 rx bytes:38528 (37.6 kib) tx bytes:0 (0.0 b) interrupt:249
code: select all
module size used tun 18674 2 snd_bcm2835 19802 0 snd_pcm 73442 1 snd_bcm2835 snd_seq 52642 0 snd_seq_device 3445 1 snd_seq snd_timer 18792 2 snd_pcm,snd_seq snd 50779 5 snd_bcm2835,snd_timer,snd_pcm,snd_seq,snd_seq_device enc28j60 18259 0 evdev 10278 2 joydev 9024 0 spi_bcm2835 7074 0 bcm2835_rng 1763 0 bcm2835_gpiomem 2860 0 uio_pdrv_genirq 2944 0 uio 7753 1 uio_pdrv_genirq
code: select all
... ... [ 5.508166] vfs: mounted root (ext4 filesystem) readonly on device 179:2. [ 5.517441] devtmpfs: mounted [ 5.523443] freeing unused kernel memory: 448k (8078a000 - 807fa000) [ 6.522343] udevd[174]: starting version 175 [ 6.999287] gpiomem-bcm2835 3f200000.gpiomem: initialised: registers @ 0x3f200000 [ 8.031047] bcm2835-rng 3f104000.rng: hwrng registered [ 8.040432] spi spi0.0: setting native-cs0 gpio 8 [ 8.048507] spi spi0.1: setting native-cs1 gpio 7 [ 8.094753] enc28j60 spi0.0: enc28j60 ethernet driver 1.01 loaded [ 8.114048] net eth1: enc28j60 driver registered [ 9.566041] ext4-fs (mmcblk0p2): re-mounted. opts: (null) [ 9.791690] ext4-fs (mmcblk0p2): re-mounted. opts: (null) [ 9.871139] random: nonblocking pool initialized [ 14.270424] net eth1: link down [ 14.270460] net eth1: normal mode [ 14.270775] net eth1: multicast mode [ 14.397477] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup [ 15.070162] net eth1: link - half duplex [ 15.946435] smsc95xx 1-1.1:1.0 eth0: link up, 100mbps, full-duplex, lpa 0x45e1 [ 18.322816] adding 102396k swap on /var/swap. priority:-1 extents:1 across:102396k ss fs [ 19.158826] uart-pl011 3f201000.uart: no dma platform data [ 21.709490] tun: universal tun/tap device driver, 1.6 [ 21.709519] tun: (c) 1999-2004 max krasnyansky <maxk@qualcomm.com>
code: select all
auto eth1 iface eth1 inet static address 192.168.5.106 netmask 255.255.255.0
next approach set ip address manualy command
code: select all
sudo ifconfig eth1 192.168.5.106
appreciate suggestion. if nedd additioanl information please let me know.
thank you
raspberrypi
Comments
Post a Comment