Jump to content

zivimo2

Members
  • Posts

    3
  • Joined

  • Last visited

Recent Profile Visitors

808 profile views
  1. @makama80 different OS! (ubuntu vs. debian), package still does not exist for ubuntu evidence: http://forum.armbian.com/index.php/topic/749-orange-pi-pc-wireless-module-8192cu/page-2#entry14550 @zador.blood.stained thanks man! that worked like charm! can you tell me how to set a fixed mac by module parameter? green line = kernel command line? lenny@orangepipc:[~]$ cat /boot/boot.cmd gpio set PL10 gpio set PG11 setenv machid 1029 setenv bootm_boot_mode sec if ext4load mmc 0 0x00000000 /boot/.verbose then setenv verbosity 7 else setenv verbosity 1 fi setenv bootargs "console=ttyS0,115200 console=tty1 root=/dev/mmcblk0p1 rootwait rootfstype=ext4 cgroup_enable=memory swapaccount=1 sunxi_ve_mem_reserve=0 sunxi_g2d_mem_reserve=0 sunxi_no_mali_mem_reserve sunxi_fb_mem_reserve=16 panic=10 consoleblank=0 enforcing=0 loglevel=${verbosity}" #-------------------------------------------------------------------------------------------------------------------------------- # Boot loader script to boot with different boot methods for old and new kernel #-------------------------------------------------------------------------------------------------------------------------------- if ext4load mmc 0 0x00000000 /boot/.next || fatload mmc 0 0x00000000 .next || ext4load mmc 0 0x00000000 .next then # sunxi mainline kernel #-------------------------------------------------------------------------------------------------------------------------------- ext4load mmc 0 0x49000000 /boot/dtb/${fdtfile} || fatload mmc 0 0x49000000 /dtb/${fdtfile} || ext4load mmc 0 0x49000000 /dtb/${fdtfile} ext4load mmc 0 0x42000000 /boot/uInitrd || fatload mmc 0 0x42000000 uInitrd || ext4load mmc 0 0x42000000 uInitrd ext4load mmc 0 0x46000000 /boot/zImage || fatload mmc 0 0x46000000 zImage || ext4load mmc 0 0x46000000 zImage bootz 0x46000000 0x42000000 0x49000000 #bootz 0x46000000 - 0x49000000 #-------------------------------------------------------------------------------------------------------------------------------- else # sunxi android kernel #-------------------------------------------------------------------------------------------------------------------------------- ext4load mmc 0 0x43000000 /boot/script.bin || fatload mmc 0 0x43000000 script.bin || ext4load mmc 0 0x43000000 script.bin ext4load mmc 0 0x42000000 /boot/uInitrd || fatload mmc 0 0x42000000 uInitrd || ext4load mmc 0 0x42000000 uInitrd ext4load mmc 0 0x48000000 /boot/zImage || fatload mmc 0 0x48000000 zImage || ext4load mmc 0 0x48000000 zImage bootz 0x48000000 0x42000000 #bootz 0x48000000 #-------------------------------------------------------------------------------------------------------------------------------- fi # Recompile with: # mkimage -C none -A arm -T script -d /boot/boot.cmd /boot/boot.scr lenny@orangepipc:[~]$ EDIT: addition to kernel args didnt change a thing so I made a udev rule: cat /etc/udev/rules.d/99-usb-wifi.rules # usb wifi dongle SUBSYSTEM=="net", ACTION=="add", ATTR{address}=="00:f1:31:xx:xx:xx", NAME="wlan0"
  2. The package does not exist. lenny@orangepipc:[~]$ cat /etc/apt/sources.list deb http://ports.ubuntu.com/xenial main restricted universe multiverse deb http://ports.ubuntu.com/xenial-security main restricted universe multiverse deb http://ports.ubuntu.com/xenial-updates main restricted universe multiverse deb http://ports.ubuntu.com/xenial-backports main restricted universe multiverse lenny@orangepipc:[~]$ sudo apt-get update OK:1 http://ports.ubuntu.comxenial InRelease Holen:2 http://ports.ubuntu.comxenial-security InRelease [94.5 kB] OK:3 http://apt.armbian.comxenial InRelease Holen:4 http://ports.ubuntu.comxenial-updates InRelease [95.7 kB] OK:5 http://ports.ubuntu.comxenial-backports InRelease Holen:6 http://ports.ubuntu.comxenial/main Translation-de [501 kB] Holen:7 http://ports.ubuntu.comxenial/restricted Translation-de [2,752 B] Holen:8 http://ports.ubuntu.comxenial/universe Translation-de [1,877 kB] Holen:9 http://ports.ubuntu.comxenial/multiverse Translation-de [94.1 kB] Holen:10 http://ports.ubuntu.comxenial-security/main armhf Packages [120 kB] Holen:11 http://ports.ubuntu.comxenial-security/main Translation-en [55.7 kB] Holen:12 http://ports.ubuntu.comxenial-updates/main armhf Packages [354 kB] Holen:13 http://ports.ubuntu.comxenial-updates/universe armhf Packages [282 kB] Es wurden 3,477 kB in 5 s geholt (609 kB/s). Paketlisten werden gelesen... Fertig lenny@orangepipc:[~]$ sudo apt-get install firmware-realtek Paketlisten werden gelesen... Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen.... Fertig E: Paket firmware-realtek kann nicht gefunden werden. # package could not be found lenny@orangepipc:[~]$
  3. Hey, I'm having trouble getting rtl8192cu-fixes compiled: lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ ARCH=arm make -j4 make ARCH=arm CROSS_COMPILE= -C /lib/modules/3.4.112-sun8i/build M=/home/lenny/compile/rtl8192cu-fixes modules make[1]: Entering directory '/usr/src/linux-headers-3.4.112-sun8i' LD [M] /home/lenny/compile/rtl8192cu-fixes/8192cu.o /home/lenny/compile/rtl8192cu-fixes/core/rtw_security.o: In function `is_multicast_mac_addr': rtw_security.c:(.text+0x20e8): multiple definition of `is_multicast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_security.o: In function `is_broadcast_mac_addr': rtw_security.c:(.text+0x2110): multiple definition of `is_broadcast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_security.o: In function `is_zero_mac_addr': rtw_security.c:(.text+0x219c): multiple definition of `is_zero_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_debug.o: In function `is_multicast_mac_addr': rtw_debug.c:(.text+0x0): multiple definition of `is_multicast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_debug.o: In function `is_broadcast_mac_addr': rtw_debug.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_debug.o: In function `is_zero_mac_addr': rtw_debug.c:(.text+0xb4): multiple definition of `is_zero_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_io.o: In function `is_multicast_mac_addr': rtw_io.c:(.text+0x0): multiple definition of `is_multicast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_io.o: In function `is_broadcast_mac_addr': rtw_io.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_io.o: In function `is_zero_mac_addr': rtw_io.c:(.text+0xb4): multiple definition of `is_zero_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_ioctl_query.o: In function `is_multicast_mac_addr': rtw_ioctl_query.c:(.text+0x0): multiple definition of `is_multicast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_ioctl_query.o: In function `is_broadcast_mac_addr': rtw_ioctl_query.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/rtl8192cu-fixes/core/rtw_ioctl_query.o: In function `is_zero_mac_addr': rtw_ioctl_query.c:(.text+0xb4): multiple definition of `is_zero_mac_addr' ... /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/mlme_linux.o: In function `is_zero_mac_addr': mlme_linux.c:(.text+0x178): multiple definition of `is_zero_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/recv_linux.o: In function `is_multicast_mac_addr': recv_linux.c:(.text+0x1c): multiple definition of `is_multicast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/recv_linux.o: In function `is_broadcast_mac_addr': recv_linux.c:(.text+0x44): multiple definition of `is_broadcast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/recv_linux.o: In function `is_zero_mac_addr': recv_linux.c:(.text+0xd0): multiple definition of `is_zero_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.o: In function `is_multicast_mac_addr': ioctl_cfg80211.c:(.text+0x0): multiple definition of `is_multicast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.o: In function `is_broadcast_mac_addr': ioctl_cfg80211.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/ioctl_cfg80211.o: In function `is_zero_mac_addr': ioctl_cfg80211.c:(.text+0xb4): multiple definition of `is_zero_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/rtw_android.o: In function `is_multicast_mac_addr': rtw_android.c:(.text+0x0): multiple definition of `is_multicast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x34): first defined here /home/lenny/compile/rtl8192cu-fixes/os_dep/linux/rtw_android.o: In function `is_broadcast_mac_addr': rtw_android.c:(.text+0x28): multiple definition of `is_broadcast_mac_addr' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0x5c): first defined here /home/lenny/compile/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' /home/lenny/compile/rtl8192cu-fixes/core/rtw_cmd.o:rtw_cmd.c:(.text+0xe8): first defined here scripts/Makefile.build:432: recipe for target '/home/lenny/compile/rtl8192cu-fixes/8192cu.o' failed make[2]: *** [/home/lenny/compile/rtl8192cu-fixes/8192cu.o] Error 1 Makefile:1368: recipe for target '_module_/home/lenny/compile/rtl8192cu-fixes' failed make[1]: *** [_module_/home/lenny/compile/rtl8192cu-fixes] Error 2 make[1]: Leaving directory '/usr/src/linux-headers-3.4.112-sun8i' Makefile:584: recipe for target 'modules' failed make: *** [modules] Error 2 lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ System info: lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ uname -a Linux orangepipc 3.4.112-sun8i #14 SMP PREEMPT Tue Jul 5 16:28:14 CEST 2016 armv7l armv7l armv7l GNU/Linux lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ lsusb Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 003 Device 003: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ ifconfig eth0 Link encap:Ethernet HWaddr c2:c4:a9:xx:xx:xx inet addr:192.168.xxx.xxx Bcast:192.168.xxx.255 Mask:255.255.255.0 inet6 addr: xxxx:xx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/64 Scope:Global inet6 addr: fe80::c0c4:a9ff:feae:d4c9/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:619 errors:0 dropped:0 overruns:0 frame:0 TX packets:428 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:62931 (62.9 KB) TX bytes:57766 (57.7 KB) Interrupt:114 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:0 (0.0 TX bytes:0 (0.0 lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ iwconfig enx00f131xxxxxxx unassociated Nickname:"<WIFI@REALTEK>" Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated Sensitivity:0/0 Retry:off RTS thr:off Fragment thr:off Power Management:off Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0 lo no wireless extensions. tunl0 no wireless extensions. eth0 no wireless extensions. lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ sudo ifup enx00f131xxxxxx Unknown interface enx00f131xxxxxx lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ cat /etc/modules-load.d/modules.conf # /etc/modules: kernel modules to load at boot time. # # This file contains the names of kernel modules that should be loaded # at boot time, one per line. Lines beginning with "#" are ignored. #8189es 8189cu gpio_sunxi spi_sunxi i2c_sunxi #w1-sunxi #w1-gpio #w1-therm #gc2035 #vfe_v4l2 #sunxi-cir lenny@orangepipc:[~/compile/rtl8192cu-fixes]$ lsmod Module Size Used by 8192cu 624560 0 gpio_sunxi 8269 0 Also the name "enx00f131xxxxxx" seems to depend on the mac adress which does change nearly every reboot and so the name does change as well.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines