wollik

Members
  • Content Count

    10
  • Joined

  • Last visited

  1. Hi xwiggen, T H A N K you, that solves my MAC address problems. Regards WolliK
  2. Hi All, I''m using a BPI M2 Zero, where a 100 MBit ethernet Interface is implemented on the board. Since I'm using DHCP for this interface, I found that the MAC Address of this eth0 interface changes on every boot. The MAC Address of the wlan0 interface is permanent and don't changes during boots. ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Di 30. Jun xx:xx:xx CEST 2020 Debian GNU/Linux 10 (buster) 5.4.45-sunxi ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 17:42:11 up 25 min, 2 users, load average: 0,00, 0,00, 0,05 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 8a:aa:ea:69:67:50 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet) 17:46:04 up 0 min, 2 users, load average: 2,48, 0,70, 0,24 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 5e:af:c0:93:75:72 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet) 17:47:07 up 0 min, 2 users, load average: 1,92, 0,44, 0,14 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 56:e7:62:af:35:55 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet) 17:48:23 up 0 min, 2 users, load average: 1,69, 0,39, 0,13 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether 96:57:7c:ed:85:e0 txqueuelen 1000 (Ethernet) wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 ether cc:b8:a8:a9:bc:8e txqueuelen 1000 (Ethernet) Is there a way to set the MAC address of the eth0 interface to a fix value ? Regards WolliK
  3. Thanks to all, I ve updated to the latest image and installed the kernel headers via armbian-config. Regards WolliK
  4. Hi Hans, what is the difference compared to the previous entry from shigeki ?
  5. Hi Igor, thanks for this hint! But i still need the build directory and I have no idea how to get it created and filled with the tools to get the compilation done. compile with KDIR=/lib/modules/4.19.62-sunxi/build/, at /home/pi/tools/CAN/can4linux_svn273/can4linux CC = cc make -C /lib/modules/4.19.62-sunxi/build/ C=0 M=/home/pi/tools/CAN/can4linux_svn273/can4linux TARGET=BANANAPI modules make[1]: *** /lib/modules/4.19.62-sunxi/build/: No such file or directory. Stop. Makefile:664: recipe for target 'all' failed make: *** [all] Error 2 Please can you help again ? Many Thanks wollik
  6. Hi forum members, when I try to install the kernel headers via: "sudo apt-get install kernel-headers-$(uname -r)" I gote these errors: Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package kernel-headers-4.19.62-sunxi E: Couldn't find any package by glob 'kernel-headers-4.19.62-sunxi' E: Couldn't find any package by regex 'kernel-headers-4.19.62-sunxi' In the /etc/apt/sources.list the lines with the deb-src links are comments. I've tried to uncomment these but got the same errors. So please can somwone point me right kernel-headers Armbian is using ? Many Thanks wollik
  7. Hi Andre1000, please can you share the diagram of the CAN interface you are using with the bananapi ?
  8. Hi everybody, I need your help in setting the default values of some or all GPIO Pin, so that it will be always activated after reboot instead of deactivated like the default is today. The reason for this is that I've connected a relaisboard to some GPIO Pins that will need "1" to be deactivated . Everything works fine, I can control and work with these Pins like needed by using "1" for OFF and "0" for ON. After booting up my BPI I initialize the needed GPIO Pins via export the pins. That will create virtual directories for these Pins with these defaults: direction -> in value -> 0 Like I mentioned, my relaiseboard need a logical 0 to be activated, so when I switch the direction to out, my motor on the related relay start to spin. Doing a sequence of create via export, set direction to out and set value to 1 will we fast, but will activate the motor for a short time, this is what I must avoid! Instead of rebuilding the HW for using the value "1" to been activated instead of "0" I try to change the GPIO default value from 0 to 1 what means deactivated/not active for my relaisboard. Since this is a BPI M2 Zero and there are no newer images I think I need to do this via the script.bin file. I've found for my pin PA08 these entries, but have no idea what default means what: smc_sda = port:PA08<2><default><default><default> scr_sda = port:PA08<2><default><default><default> Please can someone help me doing this or point me to an example how this must be done ? Regards WolliK
  9. Hi Members, I've installed the latest avaiable image for my lamobo Ri (Debian GNU/Linux 8, Release 4.9.7-sunxi) from: https://www.armbian.com/lamobo-r1/ I need to set the overscan parameters for my display, but can't find the formal used file: script.bin Please by what files/procedures are the values found in script.bin during boot are now replaced? Or does someone knows a newer armbian image for my BPI-R1 ? Regards Wolli