Rui Ribeiro

  • Posts

    104
  • Joined

  • Last visited

Profile Information

  • Gender
    Male
  • Interests
    Unix, security, networking, ISP background

Contact Methods

  • Website URL
    https://www.linkedin.com/pub/rui-ribeiro/16/ab8/434

Recent Profile Visitors

1502 profile views

Rui Ribeiro's Achievements

  1. I also have the resistor there. However with my humidity sensors I did away with it. It *seems* it is not needed with the Lamobo R1. I think I have read something about that, I might be wrong. Congratulations. As I said, save that dtb file, and do not forget after each kernel upgrade from Armbian to copy it over again.
  2. bad, here is the GPIO image. http://imgur.com/a/HR1NA and the dtb file: https://www.dropbox.com/s/7ou1tel22fxli77/sun7i-a20-lamobo-r1.dtb?dl=0 ; the dtb file should be copied to /boot/dtb
  3. Hi bad, Just keep in mind the R1 bus is inverted compared to the raspberry; and that each upgrade do the kernel places there again the new dtb. I am beginning the day here, later at home I can send you photos and place here the dtb that zador posted for me (and that I am still using)
  4. Old swconfig # ldd swconfig linux-vdso.so.1 (0xbee4d000) libdl.so.2 => /lib/arm-linux-gnueabihf/libdl.so.2 (0xb6f6b000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e7a000) /lib/ld-linux-armhf.so.3 (0x7f601000) new swconfig # ldd swconfig linux-vdso.so.1 (0xbef88000) libnl-3.so.200 => /lib/arm-linux-gnueabihf/libnl-3.so.200 (0xb6f11000) libnl-genl-3.so.200 => /lib/arm-linux-gnueabihf/libnl-genl-3.so.200 (0xb6f04000) libc.so.6 => /lib/arm-linux-gnueabihf/libc.so.6 (0xb6e14000) libpthread.so.0 => /lib/arm-linux-gnueabihf/libpthread.so.0 (0xb6df1000) libm.so.6 => /lib/arm-linux-gnueabihf/libm.so.6 (0xb6d7d000) /lib/ld-linux-armhf.so.3 (0x7f628000) The pthread library seems out of place here. @goldfish the difference in size is because the new is stripped Even then, after stripping root@ruir:/sbin# ls -la swconfig -rwxr-xr-x 1 root root 23276 Sep 17 04:30 swconfig root@ruir:/sbin# ls -la swconfig.new -rwxr-xr-x 1 root root 11444 Sep 16 20:10 swconfig.new
  5. @zador, last binary still problematic. swconfig dev eth0 help switch0: eth0(BCM53125), ports: 9 (cpu @ 8), vlans: 4096 --switch Attribute 1 (int): enable_vlan ((null)) Attribute 2 (string): ports ((null)) Attribute 3 (int): reset_mib ((null)) Attribute 4 (int): enable_jumbo ((null)) Attribute 5 (int): allow_vid_4095 ((null)) Attribute 6 (unknown): apply ((null)) Attribute 7 (unknown): reset ((null)) --vlan Attribute 1 (ports): ports ((null)) --port Attribute 1 (string): mib ((null)) Attribute 2 (int): pvid ((null)) Attribute 3 (string): link ((null))
  6. @goldfich_paris Even I had checked earlier with find, I checked again after your post. I do not have it. Thanks. root@ruir:/sbin# whereis swconfig swconfig: /sbin/swconfig
  7. Here it is Zador. I only have one swconfig, unlike goldfish #swconfig dev eth0 help switch0: eth0(BCM53125), ports: 9 (cpu @ 8), vlans: 4096 --switch Attribute 1 (int): enable_vlan ((null)) Attribute 2 (string): ports ((null)) Attribute 3 (int): reset_mib ((null)) Attribute 4 (int): enable_jumbo ((null)) Attribute 5 (int): allow_vid_4095 ((null)) Attribute 6 (unknown): apply ((null)) Attribute 7 (unknown): reset ((null)) --vlan Attribute 1 (ports): ports ((null)) --port Attribute 1 (string): mib ((null)) Attribute 2 (int): pvid ((null)) Attribute 3 (string): link ((null))
  8. Thanks Zador.b.s, it has got exactly the same behaviour. root@ruir:/etc/network# swconfig dev eth0 set reset 1 failed root@ruir:/etc/network# swconfig dev eth0 set enable_vlan 1 root@ruir:/etc/network# swconfig dev eth0 vlan 101 set ports '3 8t' root@ruir:/etc/network# swconfig dev eth0 set apply 1 failed root@ruir:/etc/network# uname -r 4.7.3-sunxi root@ruir:/etc/network# swconfig list Found: switch0 - eth0
  9. Hi, Did today a kernel update...upon reboot, has no connectivity. I have lost swconfig; copied the one that comes with the sdcard/img download, it booting the switch by default, but does not allow to do much more...the reset and set operations are giving an error. What could I do?