Jump to content

ChrisAdmin

Members
  • Posts

    6
  • Joined

  • Last visited

Recent Profile Visitors

1098 profile views
  1. Hi all, I have a strange problem, when I make any file system changes, I can count to 10, pull out the power, and my changes are lost. My application sometimes requires changing of a settings file, and then quickish disconnection of power by the user (I know its not good, but it's a fact of the product) My current solution is to flush the write cache when I save the settings, I forget the command name, but that isn't ideal as other changes such as logging is lost. I'm using the armbian debian release at the moment. How can I change this write-cache timing to something like 2 seconds? Also, is this an SD-card technology issue or will the issue disappear for eMMC? Thanks
  2. Found the answer, apologies for adding a self answering thread to this forum, but hopefully this helps others. https://askubuntu.com/questions/947519/ubuntu-17-04-how-to-rename-a-usb-network-interface-based-on-path-not-based-on/947852#947852 sudo ln -s /lib/udev/rules.d/80-net-setup-link.rules /etc/udev/rules.d/80-net-setup-link.rules
  3. After finally compiling the github 8188cu-fixed, blacklisting the old driver, I'm left with an interface name starting with lx and continuing with the mac address. I really need it to just say wlan1, so that I can use this sd-image for multiple orangepi-lite boards. Each usb wifi stick I plug in comes up with a different MAC address, hence the interface name changes accordingly. Example: One stick may have a MAC address 00-b6-56-0a-34-b2, and the interface ends up being called lx00b6560a34b2 I've had a look at the leading Ubuntu Xenial solutions, so far none of them work, mainly they use a grub based solution. Hope someone can help.
  4. UPDATE: Ah fixed it. Looks like asterix's install method (above) was required rather than the GIT method. I also happened to do a make clean beforehand. [INFO] The changes to ieee80211.h were required. ---------------------- Update: full reinstall of Armbian, apt update/upgrade, then I also made the changes recommended in another thread, changing extern to static for is_multicast_mac_addr , is_broadcast_mac_addr , is_zero_mac_addr in include/ieee80211.h Recompile Still getting similar errors :/ Please help! /var/lib/dkms/8192cu/1.10/build/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /var/lib/dkms/8192cu/1.10/build/os_dep/linux/ioctl_cfg80211.o: In function `is_multicast_mac_addr': ioctl_cfg80211.c:(.text+0x0): multiple definition of `is_multicast_mac_addr' /var/lib/dkms/8192cu/1.10/build/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /var/lib/dkms/8192cu/1.10/build/os_dep/linux/ioctl_cfg80211.o: In function `is_broadcast_mac_addr': ioctl_cfg80211.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /var/lib/dkms/8192cu/1.10/build/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /var/lib/dkms/8192cu/1.10/build/os_dep/linux/ioctl_cfg80211.o: In function `is_zero_mac_addr': ioctl_cfg80211.c:(.text+0xb4): multiple definition of `is_zero_mac_addr' /var/lib/dkms/8192cu/1.10/build/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /var/lib/dkms/8192cu/1.10/build/os_dep/linux/rtw_android.o: In function `is_multicast_mac_addr': rtw_android.c:(.text+0x0): multiple definition of `is_multicast_mac_addr' /var/lib/dkms/8192cu/1.10/build/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /var/lib/dkms/8192cu/1.10/build/os_dep/linux/rtw_android.o: In function `is_broadcast_mac_addr': rtw_android.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /var/lib/dkms/8192cu/1.10/build/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /var/lib/dkms/8192cu/1.10/build/os_dep/linux/rtw_android.o: In function `is_zero_mac_addr': rtw_android.c:(.text+0xb4): multiple definition of `is_zero_mac_addr' /var/lib/dkms/8192cu/1.10/build/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here scripts/Makefile.build:432: recipe for target '/var/lib/dkms/8192cu/1.10/build/8192cu.o' failed make[1]: *** [/var/lib/dkms/8192cu/1.10/build/8192cu.o] Error 1 Makefile:1368: recipe for target '_module_/var/lib/dkms/8192cu/1.10/build' failed make: *** [_module_/var/lib/dkms/8192cu/1.10/build] Error 2 make: Leaving directory '/usr/src/linux-headers-3.4.113-sun8i'
  5. I also got kernel panics on boot with a strong well known PS, when plugging in the usual ebay 8188CUS with the usual ID I have apt upgraded to the latest Tried above scripts, but get this error ..... rtw_android.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /root/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /root/rtl8192cu-fixes/os_dep/linux/rtw_android.o: In function `is_zero_mac_addr' : rtw_android.c:(.text+0xb4): multiple definition of `is_zero_mac_addr' /root/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here scripts/Makefile.build:432: recipe for target '/root/rtl8192cu-fixes/8192cu.o' f ailed make[2]: *** [/root/rtl8192cu-fixes/8192cu.o] Error 1 Makefile:1368: recipe for target '_module_/root/rtl8192cu-fixes' failed make[1]: *** [_module_/root/rtl8192cu-fixes] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.4.113-sun8i' Makefile:584: recipe for target 'modules' failed make: *** [modules] Error 2
  6. Hi Igor, You may wish to mention in your bold text that wifi maybe knocked out when the "Errors were encountered", and to encourage the usage of the serial interface. Certainly my heart stopped when my console over wifi died on that error. It seems natural to me and other pi users of all types to just do an upgrade now and then when it looks like it effects packages we are interested in, I can only guess the easiest place to put a warning about the OP's error situation is in the login welcome message, perhaps pointing them to your website if apt-get upgrading.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines