Сборка rtl8188fu под Porteus

Добро пожаловать!

Moderator: Blaze

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

RTL8188FTV на AirSlax

Post#16 by dwais » 12 Oct 2019, 11:47

Code: Select all

guest@porteus:~$ su
Пароль: 
root@porteus:/home/guest# cd /tmp
root@porteus:/tmp# git clone https://github.com/lwfinger/rtl8188eu.git
bash: git: команда не найдена
root@porteus:/tmp# cd /tmp/rtl8188eu
bash: cd: /tmp/rtl8188eu: Нет такого файла или каталога
root@porteus:/tmp# make
bash: /usr/bin/make: Нет такого файла или каталога
root@porteus:/tmp# make install
bash: /usr/bin/make: Нет такого файла или каталога
root@porteus:/tmp# mkdir -p /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
root@porteus:/tmp# install -p -m 644 8188eu.ko /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
install: не удалось выполнить stat для '8188eu.ko': Нет такого файла или каталога
root@porteus:/tmp# mkdir -p /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/firmware/rtlwifi
root@porteus:/tmp# cp rtl8188eufw.bin /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/firmware/rtlwifi/
cp: не удалось выполнить stat для 'rtl8188eufw.bin': Нет такого файла или каталога
root@porteus:/tmp# cd ..
root@porteus:/# rm -rf /tmp/rtl8188eu
root@porteus:/# dir2xzm rtl8188eu-$(uname -r)-$(arch) rtl8188eu-$(uname -r)-$(arch).xzm

Convert directory tree into .xzm compressed module
usage: /usr/bin/dir2xzm source_directory output_file.xzm
root@porteus:/# rm -rf /tmp/rtl8188eu-$(uname -r)-$(arch)
root@porteus:/# modprobe 8188eu

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

RTL8188FTV на AirSlax

Post#17 by dwais » 12 Oct 2019, 11:50

Code: Select all

root@porteus:/# cat /etc/porteus-version
Porteus-v3.2.2
root@porteus:/# uname -a
Linux porteus 4.9.0-porteus #1 SMP PREEMPT Sat Dec 17 19:22:10 BRST 2016 x86_64 Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz GenuineIntel GNU/Linux 
может модули не те использую?
Какие сюда подойдут? Дайте пожалуйста ссылки

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

RTL8188FTV на AirSlax

Post#18 by dwais » 12 Oct 2019, 14:38

Blaze wrote:
12 Oct 2019, 11:22
Забыли активировать 05-devel.xzm и crippled_sources.xzm
снова та же ситуация(

User avatar
Blaze
DEV Team
DEV Team
Posts: 2721
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

RTL8188FTV на AirSlax

Post#19 by Blaze » 12 Oct 2019, 15:01

Linux 5.4.0-rc7-porteus #2 SMP Tue Nov 12 17:45:45 UTC 2019 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

RTL8188FTV на AirSlax

Post#20 by dwais » 12 Oct 2019, 18:41

Blaze post_[code wrote:[/code]id=74218 time=1570892477 user_id=61]
Porteus-v3.2.2 x86_64
http://dl.porteus.org/x86_64/Porteus-v3 ... -devel.xzm
http://dl.porteus.org/x86_64/Porteus-v3 ... ources.xzm
Активировал данные модули.
Выполняю в терминале:

Code: Select all

root@porteus:/home/guest# cd /tmp
root@porteus:/tmp# git clone https://github.com/lwfinger/rtl8188eu.git
Клонирование в «rtl8188eu»…
remote: Enumerating objects: 48, done.
remote: Counting objects: 100% (48/48), done.
remote: Compressing objects: 100% (35/35), done.
remote: Total 12667 (delta 15), reused 28 (delta 10), pack-reused 12619
Получение объектов: 100% (12667/12667), 16.06 MiB | 2.97 MiB/s, готово.
Определение изменений: 100% (9605/9605), готово.
Проверка соединения… готово.
root@porteus:/tmp# cd /tmp/rtl8188eu
root@porteus:/tmp/rtl8188eu# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/4.9.0-porteus/build M=/tmp/rtl8188eu  modules
make[1]: вход в каталог «/usr/src/linux-4.9»
  CC [M]  /tmp/rtl8188eu/core/rtw_ap.o
  CC [M]  /tmp/rtl8188eu/core/rtw_br_ext.o
  CC [M]  /tmp/rtl8188eu/core/rtw_cmd.o
  CC [M]  /tmp/rtl8188eu/core/rtw_debug.o
  CC [M]  /tmp/rtl8188eu/core/rtw_efuse.o
  CC [M]  /tmp/rtl8188eu/core/rtw_ieee80211.o
  CC [M]  /tmp/rtl8188eu/core/rtw_io.o
  CC [M]  /tmp/rtl8188eu/core/rtw_ioctl_set.o
  CC [M]  /tmp/rtl8188eu/core/rtw_iol.o
  CC [M]  /tmp/rtl8188eu/core/rtw_led.o
  CC [M]  /tmp/rtl8188eu/core/rtw_mlme.o
  CC [M]  /tmp/rtl8188eu/core/rtw_mlme_ext.o
  CC [M]  /tmp/rtl8188eu/core/rtw_mp.o
  CC [M]  /tmp/rtl8188eu/core/rtw_mp_ioctl.o
  CC [M]  /tmp/rtl8188eu/core/rtw_pwrctrl.o
  CC [M]  /tmp/rtl8188eu/core/rtw_p2p.o
  CC [M]  /tmp/rtl8188eu/core/rtw_recv.o
  CC [M]  /tmp/rtl8188eu/core/rtw_rf.o
  CC [M]  /tmp/rtl8188eu/core/rtw_security.o
  CC [M]  /tmp/rtl8188eu/core/rtw_sreset.o
  CC [M]  /tmp/rtl8188eu/core/rtw_sta_mgt.o
  CC [M]  /tmp/rtl8188eu/core/rtw_wlan_util.o
  CC [M]  /tmp/rtl8188eu/core/rtw_xmit.o
  CC [M]  /tmp/rtl8188eu/hal/HalHWImg8188E_MAC.o
  CC [M]  /tmp/rtl8188eu/hal/HalHWImg8188E_BB.o
  CC [M]  /tmp/rtl8188eu/hal/HalHWImg8188E_RF.o
  CC [M]  /tmp/rtl8188eu/hal/HalPhyRf.o
  CC [M]  /tmp/rtl8188eu/hal/HalPhyRf_8188e.o
  CC [M]  /tmp/rtl8188eu/hal/HalPwrSeqCmd.o
  CC [M]  /tmp/rtl8188eu/hal/Hal8188EPwrSeq.o
  CC [M]  /tmp/rtl8188eu/hal/Hal8188ERateAdaptive.o
  CC [M]  /tmp/rtl8188eu/hal/hal_intf.o
  CC [M]  /tmp/rtl8188eu/hal/hal_com.o
  CC [M]  /tmp/rtl8188eu/hal/odm.o
  CC [M]  /tmp/rtl8188eu/hal/odm_debug.o
  CC [M]  /tmp/rtl8188eu/hal/odm_interface.o
  CC [M]  /tmp/rtl8188eu/hal/odm_HWConfig.o
  CC [M]  /tmp/rtl8188eu/hal/odm_RegConfig8188E.o
  CC [M]  /tmp/rtl8188eu/hal/odm_RTL8188E.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_cmd.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_dm.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_hal_init.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_mp.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_phycfg.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_rf6052.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_rxdesc.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_sreset.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188e_xmit.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188eu_led.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188eu_recv.o
  CC [M]  /tmp/rtl8188eu/hal/rtl8188eu_xmit.o
  CC [M]  /tmp/rtl8188eu/hal/usb_halinit.o
/tmp/rtl8188eu/hal/usb_halinit.c: В функции «GetHwReg8188EU»:
/tmp/rtl8188eu/hal/usb_halinit.c:1926:3: предупреждение: пустая декларация
   __attribute__((fallthrough));
   ^
/tmp/rtl8188eu/hal/usb_halinit.c:1926:3: предупреждение: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /tmp/rtl8188eu/hal/usb_ops_linux.o
/tmp/rtl8188eu/hal/usb_ops_linux.c: В функции «usb_read_port_complete»:
/tmp/rtl8188eu/hal/usb_ops_linux.c:556:4: предупреждение: пустая декларация
    __attribute__((fallthrough));
    ^
/tmp/rtl8188eu/hal/usb_ops_linux.c:556:4: предупреждение: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement]
  CC [M]  /tmp/rtl8188eu/os_dep/ioctl_linux.o
  CC [M]  /tmp/rtl8188eu/os_dep/mlme_linux.o
  CC [M]  /tmp/rtl8188eu/os_dep/os_intfs.o
  CC [M]  /tmp/rtl8188eu/os_dep/osdep_service.o
  CC [M]  /tmp/rtl8188eu/os_dep/recv_linux.o
  CC [M]  /tmp/rtl8188eu/os_dep/rtw_android.o
  CC [M]  /tmp/rtl8188eu/os_dep/usb_intf.o
  CC [M]  /tmp/rtl8188eu/os_dep/usb_ops_linux.o
  CC [M]  /tmp/rtl8188eu/os_dep/xmit_linux.o
  LD [M]  /tmp/rtl8188eu/8188eu.o
  Building modules, stage 2.
  MODPOST 1 modules
  CC      /tmp/rtl8188eu/8188eu.mod.o
  LD [M]  /tmp/rtl8188eu/8188eu.ko
make[1]: выход из каталога «/usr/src/linux-4.9»
root@porteus:/tmp/rtl8188eu# make install
install -p -m 644 8188eu.ko  /lib/modules/4.9.0-porteus/kernel/drivers/net/wireless
cp rtl8188eufw.bin /lib/firmware/.
/sbin/depmod -a 4.9.0-porteus
mkdir -p /lib/firmware/rtlwifi
cp rtl8188eufw.bin /lib/firmware/rtlwifi/.
root@porteus:/tmp/rtl8188eu# mkdir -p /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
root@porteus:/tmp/rtl8188eu# install -p -m 644 8188eu.ko /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
root@porteus:/tmp/rtl8188eu# mkdir -p /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/firmware/rtlwifi
root@porteus:/tmp/rtl8188eu# cp rtl8188eufw.bin /tmp/rtl8188eu-$(uname -r)-$(arch)/lib/firmware/rtlwifi/
root@porteus:/tmp/rtl8188eu# cd ..
root@porteus:/tmp# rm -rf /tmp/rtl8188eu
root@porteus:/tmp# dir2xzm rtl8188eu-$(uname -r)-$(arch) rtl8188eu-$(uname -r)-$(arch).xzm
Parallel mksquashfs: Using 1 processor
Creating 4.0 filesystem on rtl8188eu-4.9.0-porteus-x86_64.xzm, block size 262144.
[===================================================================|] 6/6 100%

Exportable Squashfs 4.0 filesystem, xz compressed, data block size 262144
	compressed data, compressed metadata, compressed fragments, compressed xattrs
	duplicates are removed
Filesystem size 253.77 Kbytes (0.25 Mbytes)
	22.22% of uncompressed filesystem size (1142.00 Kbytes)
Inode table size 202 bytes (0.20 Kbytes)
	49.75% of uncompressed inode table size (406 bytes)
Directory table size 230 bytes (0.22 Kbytes)
	77.70% of uncompressed directory table size (296 bytes)
Number of duplicate files found 0
Number of inodes 12
Number of files 2
Number of fragments 1
Number of symbolic links  0
Number of device nodes 0
Number of fifo nodes 0
Number of socket nodes 0
Number of directories 10
Number of ids (unique uids + gids) 1
Number of uids 1
	root (0)
Number of gids 1
	root (0)
root@porteus:/tmp# rm -rf /tmp/rtl8188eu-$(uname -r)-$(arch)
root@porteus:/tmp# modprobe 8188eu
root@porteus:/tmp# 
В результате:

Code: Select all

guest@porteus:~$ su
Пароль: 
root@porteus:/home/guest# lsusb
Bus 001 Device 002: ID 0bda:f179  
Bus 001 Device 001: ID 1d6b:0002  
Bus 002 Device 002: ID 80ee:0021  
Bus 002 Device 001: ID 1d6b:0001  
root@porteus:/home/guest# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.0.2.15  netmask 255.255.255.0  broadcast 10.0.2.255
        inet6 fe80::a00:27ff:fe12:a386  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:12:a3:86  txqueuelen 1000  (Ethernet)
        RX packets 2  bytes 1180 (1.1 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 14  bytes 1588 (1.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 1  (Local Loopback)
        RX packets 4  bytes 240 (240.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 4  bytes 240 (240.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
После перезагрузки то же самое, ничего не изменилось. В чем ошибка?

User avatar
Blaze
DEV Team
DEV Team
Posts: 2721
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

RTL8188FTV на AirSlax

Post#21 by Blaze » 12 Oct 2019, 19:50

dwais, тот же совет RTL8188FTV на Porteus 4 (Пост Blaze #74188) только имя модуля будет rtl8188eu-4.9.0-porteus-x86_64.xzm (копировать xzm модуль нужно от root пользователя - для этого кликнете правой кнопкой мыши по папке и в контекстном меню выберите пунт с root и введите пароль toor. В MATE, если не изменяет память он находится в меню caja).
Image


Вопрос - почему Вы смотрите проводные интерфейсы через ifconfig, когда для беспроводных интерфейсов нужно использовать команду iwconfig?
Linux 5.4.0-rc7-porteus #2 SMP Tue Nov 12 17:45:45 UTC 2019 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

RTL8188FTV на AirSlax

Post#22 by dwais » 12 Oct 2019, 20:27

Blaze wrote:
12 Oct 2019, 19:50
Вопрос - почему Вы смотрите проводные интерфейсы через ifconfig, когда для беспроводных интерфейсов нужно использовать команду iwconfig
Это я по неопытности. Просто после ifconfig показывались все интерфейсы в том числе и беспроводные.

Еще один момент. Porteus грузится только в режиме Always Flash, при выборе Grafic Mode загрузка зависает. Может еще поэтому не получается?

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

RTL8188FTV на AirSlax

Post#23 by dwais » 12 Oct 2019, 20:48

Blaze wrote:
12 Oct 2019, 19:50
dwais, тот же совет RTL8188FTV на Porteus 4 (Пост Blaze #74188) только имя модуля будет rtl8188eu-4.9.0-porteus-x86_64.xzm (копировать xzm модуль нужно от root пользователя - для этого кликнете правой кнопкой мыши по папке и в контекстном меню выберите пунт с root и введите пароль toor. В MATE, если не изменяет память он находится в меню caja).
Image
Скопировал все по инструкции. Перезагрузил, но опять ничего... :(

Code: Select all

root@porteus:/home/guest# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

root@porteus:/home/guest#
Хотел еще спросить, возможно ли, что драйвер не подходит? Может этот подойти https://github.com/kelebek333/rtl8188fu ?
Если да, то как его установить правильно?

User avatar
Blaze
DEV Team
DEV Team
Posts: 2721
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

RTL8188FTV на AirSlax

Post#24 by Blaze » 13 Oct 2019, 17:07

Предоставьте лог команд:

Code: Select all

su
toor
lspci -kv | egrep -i "8188|net|wireless"
dmesg | egrep -i "8188|error|faile|warn|issue|resolve|found|bug|ignore|wpa|wlan|wireless|access|essid"
Linux 5.4.0-rc7-porteus #2 SMP Tue Nov 12 17:45:45 UTC 2019 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

donald
Full of knowledge
Full of knowledge
Posts: 1546
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

RTL8188FTV на AirSlax

Post#25 by donald » 13 Oct 2019, 19:05

@ Blaze
A search for the device ID 0bda:f179 shows that rtl8188fu is the driver to use.
This one may work
https://github.com/ulli-kroll/rtl8188fu

The guidance, "how to compile it", in russian/cyrillic is your part.. :)

User avatar
Blaze
DEV Team
DEV Team
Posts: 2721
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

RTL8188FTV на AirSlax

Post#26 by Blaze » 14 Oct 2019, 19:42

donald, Ok, with your https://github.com/ulli-kroll/rtl8188fu I stuck on this:

Code: Select all

# make
make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.4.0-rc3-porteus/build M=/tmp/rtl8188fu  modules
make[1]: вход в каталог «/usr/src/linux-5.4-rc3»
  CC [M]  /tmp/rtl8188fu/core/rtw_cmd.o
  CC [M]  /tmp/rtl8188fu/core/rtw_security.o
  CC [M]  /tmp/rtl8188fu/core/rtw_debug.o
  CC [M]  /tmp/rtl8188fu/core/rtw_io.o
  CC [M]  /tmp/rtl8188fu/core/rtw_ioctl_query.o
  CC [M]  /tmp/rtl8188fu/core/rtw_ioctl_set.o
  CC [M]  /tmp/rtl8188fu/core/rtw_ieee80211.o
  CC [M]  /tmp/rtl8188fu/core/rtw_mlme.o
  CC [M]  /tmp/rtl8188fu/core/rtw_mlme_ext.o
/tmp/rtl8188fu/core/rtw_mlme_ext.c: В функции «mgt_dispatcher»:
/tmp/rtl8188fu/core/rtw_mlme_ext.c:1187:6: предупреждение: this statement may fall through [-Wimplicit-fallthrough=]
 1187 |    if(check_fwstate(pmlmepriv, WIFI_AP_STATE) == _TRUE)
      |      ^
/tmp/rtl8188fu/core/rtw_mlme_ext.c:1192:3: замечание: here
 1192 |   case WIFI_ASSOCREQ:
      |   ^~~~
  CC [M]  /tmp/rtl8188fu/core/rtw_wlan_util.o
  CC [M]  /tmp/rtl8188fu/core/rtw_vht.o
  CC [M]  /tmp/rtl8188fu/core/rtw_pwrctrl.o
  CC [M]  /tmp/rtl8188fu/core/rtw_rf.o
  CC [M]  /tmp/rtl8188fu/core/rtw_recv.o
  CC [M]  /tmp/rtl8188fu/core/rtw_sta_mgt.o
  CC [M]  /tmp/rtl8188fu/core/rtw_ap.o
  CC [M]  /tmp/rtl8188fu/core/rtw_xmit.o
  CC [M]  /tmp/rtl8188fu/core/rtw_p2p.o
  CC [M]  /tmp/rtl8188fu/core/rtw_tdls.o
  CC [M]  /tmp/rtl8188fu/core/rtw_br_ext.o
  CC [M]  /tmp/rtl8188fu/core/rtw_iol.o
  CC [M]  /tmp/rtl8188fu/core/rtw_sreset.o
  CC [M]  /tmp/rtl8188fu/core/rtw_beamforming.o
  CC [M]  /tmp/rtl8188fu/core/rtw_odm.o
  CC [M]  /tmp/rtl8188fu/core/efuse/rtw_efuse.o
  CC [M]  /tmp/rtl8188fu/os_dep/osdep_service.o
  CC [M]  /tmp/rtl8188fu/os_dep/linux/os_intfs.o
/tmp/rtl8188fu/os_dep/linux/os_intfs.c:956:22: ошибка: initialization of «u16 (*)(struct net_device *, struct sk_buff *, struct net_device *)» {aka «short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *)»} from incompatible pointer type «u16 (*)(struct net_device *, struct sk_buff *, struct net_device *, u16 (*)(struct net_device *, struct sk_buff *, struct net_device *))» {aka «short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *, short unsigned int (*)(struct net_device *, struct sk_buff *, struct net_device *))»} [-Werror=incompatible-pointer-types]
  956 |  .ndo_select_queue = rtw_select_queue,
      |                      ^~~~~~~~~~~~~~~~
/tmp/rtl8188fu/os_dep/linux/os_intfs.c:956:22: замечание: (где-то рядом с инициализацией для «rtw_netdev_ops.ndo_select_queue»)
cc1: некоторые предупреждения считаются ошибками
make[2]: *** [scripts/Makefile.build:266: /tmp/rtl8188fu/os_dep/linux/os_intfs.o] Ошибка 1
make[1]: *** [Makefile:1649: /tmp/rtl8188fu] Ошибка 2
make[1]: выход из каталога «/usr/src/linux-5.4-rc3»
make: *** [Makefile:435: modules] Ошибка 2
Compilation was sucessfuly with git https://github.com/kelebek333/rtl8188fu that providesed dwais :P
BTW, If needed I can teach you to speak in Russia :magic:

dwais, пробуйте так:

Code: Select all

su
toor
cd /tmp
git clone https://github.com/kelebek333/rtl8188fu.git
cd /tmp/rtl8188fu
make
# make install
mkdir -p /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
install -p -m 644 rtl8188fu.ko /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
mkdir -p /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/firmware/rtlwifi
cp ./firmware/rtl8188fufw.bin /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/firmware/rtlwifi/
cd ..
rm -rf /tmp/rtl8188fu
dir2xzm rtl8188fu-$(uname -r)-$(arch) rtl8188fu-$(uname -r)-$(arch).xzm
rm -rf /tmp/rtl8188fu-$(uname -r)-$(arch)
# modprobe rtl8188fu
# modprobe cfg80211
# insmod rtl8188fu.ko
не забудьте скопировтаь модуль типа tl8188fu-5.4.0-rc3-porteus-x86_64.xzm из /tmp в директорию /mnt/Ваш-раздел/porteus/modules и перезагрузить Porteus.
Linux 5.4.0-rc7-porteus #2 SMP Tue Nov 12 17:45:45 UTC 2019 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

donald
Full of knowledge
Full of knowledge
Posts: 1546
Joined: 17 Jun 2013, 13:17
Distribution: Porteus 3.2.2 XFCE 32bit
Location: Germany

Сборка rtl8188fu под Porteus

Post#27 by donald » 14 Oct 2019, 23:23

donald, Ok, with your https://github.com/ulli-kroll/rtl8188fu I stuck on this:
..............
Ah,OK..I haven't tried to compile against a 5.x kernel.
This one compiled against 4.16.3 (porteus 4) without any problem.
BTW, If needed I can teach you to speak in Russia :magic:
:) It's hard enough (for me) to put together a few English words to form
a somewhat understandable sentence - not to mention grammar.

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

Сборка rtl8188fu под Porteus

Post#28 by dwais » 15 Oct 2019, 09:07

Blaze wrote:
13 Oct 2019, 17:07
Предоставьте лог команд:

Code: Select all

su
toor
lspci -kv | egrep -i "8188|net|wireless"
dmesg | egrep -i "8188|error|faile|warn|issue|resolve|found|bug|ignore|wpa|wlan|wireless|access|essid"

Code: Select all

guest@porteus:~$ su
Пароль: 
root@porteus:/home/guest# lspci -kv | egrep -i "8188|net|wireless"
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)
root@porteus:/home/guest# dmesg | egrep -i "8188|error|faile|warn|issue|resolve|found|bug|ignore|wpa|wlan|wireless|access|essid"
[    0.000000] found SMP MP-table at [mem 0x0009fff0-0x0009ffff] mapped at [ffff88000009fff0]
[    0.000000] No NUMA configuration found
[    0.144324] PCI: Using configuration type 1 for base access
[    0.157907] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.163440] acpi PNP0A03:00: fail to add MMCONFIG information, can't access extended PCI configuration space under this bridge.
[    0.260965] pnp: PnP ACPI: found 2 devices
[    0.358686] platform rtc_cmos: registered platform RTC device (no PNP device found)
[    0.361389] SGI XFS with ACLs, security attributes, realtime, no debug enabled
[    0.393862] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
[    0.393987] hub 1-0:1.0: USB hub found
[    0.447900] usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
[    0.448181] hub 2-0:1.0: USB hub found
[    0.463699]   No soundcards found.
[    0.760651] scsi 1:0:0:0: Direct-Access     ATA      VBOX HARDDISK    1.0  PQ: 0 ANSI: 5
[    1.160383] usb 1-1: New USB device found, idVendor=0bda, idProduct=f179
[    1.304286] usb 2-1: New USB device found, idVendor=80ee, idProduct=0021
[   24.162845] [drm:0xffffffffa0076ceb] *ERROR* Failed to send log
[   24.162848] [drm:0xffffffffa0076ceb] *ERROR* Failed to send log
[   27.214825] floppy0: no floppy controllers found
[   31.833646] ata2.00: failed command: WRITE DMA
[   31.833650] ata2.00: error: { IDNF }
[   31.845660] ata2.00: failed command: WRITE DMA
[   31.845676] ata2.00: error: { IDNF }
[   31.857648] ata2.00: failed command: WRITE DMA
[   31.857653] ata2.00: error: { IDNF }
[   31.869670] ata2.00: failed command: WRITE DMA
[   31.869675] ata2.00: error: { IDNF }
[   31.880686] ata2.00: failed command: WRITE DMA
[   31.880697] ata2.00: error: { IDNF }
[   31.892691] ata2.00: failed command: WRITE DMA
[   31.892701] ata2.00: error: { IDNF }
[   31.893689] blk_update_request: I/O error, dev sda, sector 2045
[   31.893693] Buffer I/O error on dev sda1, logical block 1917, lost async page write
[   31.905651] ata2.00: failed command: WRITE DMA
[   31.905661] ata2.00: error: { IDNF }
[   31.918678] ata2.00: failed command: WRITE DMA
[   31.918688] ata2.00: error: { IDNF }
[   31.931677] ata2.00: failed command: WRITE DMA
[   31.931688] ata2.00: error: { IDNF }
[   31.944772] ata2.00: failed command: WRITE DMA
[   31.944782] ata2.00: error: { IDNF }
[   31.957684] ata2.00: failed command: WRITE DMA
[   31.957694] ata2.00: error: { IDNF }
[   31.970724] ata2.00: failed command: WRITE DMA
[   31.970765] ata2.00: error: { IDNF }
[   31.972330] blk_update_request: I/O error, dev sda, sector 9709
[   31.972334] Buffer I/O error on dev sda1, logical block 9581, lost async page write
[   31.984750] ata2.00: failed command: WRITE DMA
[   31.984790] ata2.00: error: { IDNF }
[   31.998726] ata2.00: failed command: WRITE DMA
[   31.998766] ata2.00: error: { IDNF }
[   32.012731] ata2.00: failed command: WRITE DMA
[   32.012771] ata2.00: error: { IDNF }
[   32.025681] ata2.00: failed command: WRITE DMA
[   32.025691] ata2.00: error: { IDNF }
[   32.039738] ata2.00: failed command: WRITE DMA
[   32.039749] ata2.00: error: { IDNF }
[   32.052676] ata2.00: failed command: WRITE DMA
[   32.052687] ata2.00: error: { IDNF }
[   32.054118] blk_update_request: I/O error, dev sda, sector 27216
[   32.054121] Buffer I/O error on dev sda1, logical block 27088, lost async page write
[   32.064695] ata2.00: failed command: WRITE DMA
[   32.064705] ata2.00: error: { IDNF }
[   32.077781] ata2.00: failed command: WRITE DMA
[   32.077810] ata2.00: error: { IDNF }
[   32.091721] ata2.00: failed command: WRITE DMA
[   32.091760] ata2.00: error: { IDNF }
[   32.105717] ata2.00: failed command: WRITE DMA
[   32.105756] ata2.00: error: { IDNF }
[   32.117683] ata2.00: failed command: WRITE DMA
[   32.117694] ata2.00: error: { IDNF }
[   32.131679] ata2.00: failed command: WRITE DMA
[   32.131690] ata2.00: error: { IDNF }
[   32.133128] blk_update_request: I/O error, dev sda, sector 898288
[   32.133131] Buffer I/O error on dev sda1, logical block 898160, lost async page write
[   32.133135] Buffer I/O error on dev sda1, logical block 898161, lost async page write
[   32.133137] Buffer I/O error on dev sda1, logical block 898162, lost async page write
[   32.133138] Buffer I/O error on dev sda1, logical block 898163, lost async page write
[   32.133140] Buffer I/O error on dev sda1, logical block 898164, lost async page write
[   32.133142] Buffer I/O error on dev sda1, logical block 898165, lost async page write
[   32.133144] Buffer I/O error on dev sda1, logical block 898166, lost async page write
[   62.553561] ata2.00: failed command: WRITE DMA
[   62.553566] ata2.00: error: { IDNF }
[   62.565329] ata2.00: failed command: WRITE DMA
[   62.565392] ata2.00: error: { IDNF }
[   62.578249] ata2.00: failed command: WRITE DMA
[   62.578331] ata2.00: error: { IDNF }
[   62.589652] ata2.00: failed command: WRITE DMA
[   62.589657] ata2.00: error: { IDNF }
[   62.600553] ata2.00: failed command: WRITE DMA
[   62.600558] ata2.00: error: { IDNF }
[   62.611689] ata2.00: failed command: WRITE DMA
[   62.611690] ata2.00: error: { IDNF }
[   62.612298] blk_update_request: I/O error, dev sda, sector 129
[   62.612300] buffer_io_error: 1 callbacks suppressed
[   62.612301] Buffer I/O error on dev sda1, logical block 1, lost async page write
[   62.626434] ata2.00: failed command: WRITE DMA
[   62.626478] ata2.00: error: { IDNF }
[   62.638605] ata2.00: failed command: WRITE DMA
[   62.638610] ata2.00: error: { IDNF }
[   62.649554] ata2.00: failed command: WRITE DMA
[   62.649558] ata2.00: error: { IDNF }
[   62.661585] ata2.00: failed command: WRITE DMA
[   62.661589] ata2.00: error: { IDNF }
[   62.672555] ata2.00: failed command: WRITE DMA
[   62.672559] ata2.00: error: { IDNF }
[   62.683618] ata2.00: failed command: WRITE DMA
[   62.683622] ata2.00: error: { IDNF }
[   62.684295] blk_update_request: I/O error, dev sda, sector 16512
[   62.684297] Buffer I/O error on dev sda1, logical block 16384, lost async page write
[  160.345522] ata2.00: failed command: WRITE DMA
[  160.345528] ata2.00: error: { IDNF }
[  160.357508] ata2.00: failed command: WRITE DMA
[  160.357515] ata2.00: error: { IDNF }
[  160.369505] ata2.00: failed command: WRITE DMA
[  160.369510] ata2.00: error: { IDNF }
[  160.382376] ata2.00: failed command: WRITE DMA
[  160.382380] ata2.00: error: { IDNF }
[  160.393390] ata2.00: failed command: WRITE DMA
[  160.393390] ata2.00: error: { IDNF }
[  160.405428] ata2.00: failed command: WRITE DMA
[  160.405433] ata2.00: error: { IDNF }
[  160.406052] blk_update_request: I/O error, dev sda, sector 129
[  160.406055] Buffer I/O error on dev sda1, logical block 1, lost async page write
root@porteus:/home/guest# 

User avatar
Blaze
DEV Team
DEV Team
Posts: 2721
Joined: 28 Dec 2010, 11:31
Distribution: ⟰ Porteus current ☯ all DEs ☯
Location: ☭ Russian Federation, Lipetsk region, Dankov
Contact:

Сборка rtl8188fu под Porteus

Post#29 by Blaze » 15 Oct 2019, 17:18

dwais, имелось ввиду на реальной машине, а не в VirtualBox.
Какие успехи по инструкции в сообщении RTL8188FTV на AirSlax (Пост Blaze #74259)
Linux 5.4.0-rc7-porteus #2 SMP Tue Nov 12 17:45:45 UTC 2019 x86_64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz GenuineIntel GNU/Linux
MS-7A12 » [AMD/ATI] Tobago PRO [Radeon R7 360 / R9 360 OEM] (rev 81) » Vengeance LPX 16GB DDR4 K2 3200MHz C16

dwais
Black ninja
Black ninja
Posts: 34
Joined: 11 Oct 2019, 14:00
Distribution: Porteus current

Сборка rtl8188fu под Porteus

Post#30 by dwais » 15 Oct 2019, 18:13

Blaze wrote:
14 Oct 2019, 19:42
dwais, пробуйте так:

Code: Select all

su
toor
cd /tmp
git clone https://github.com/kelebek333/rtl8188fu.git
cd /tmp/rtl8188fu
make
# make install
mkdir -p /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
install -p -m 644 rtl8188fu.ko /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/modules/$(uname -r)/kernel/drivers/net/wireless
mkdir -p /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/firmware/rtlwifi
cp ./firmware/rtl8188fufw.bin /tmp/rtl8188fu-$(uname -r)-$(arch)/lib/firmware/rtlwifi/
cd ..
rm -rf /tmp/rtl8188fu
dir2xzm rtl8188fu-$(uname -r)-$(arch) rtl8188fu-$(uname -r)-$(arch).xzm
rm -rf /tmp/rtl8188fu-$(uname -r)-$(arch)
# modprobe rtl8188fu
# modprobe cfg80211
# insmod rtl8188fu.ko
не забудьте скопировтаь модуль типа tl8188fu-5.4.0-rc3-porteus-x86_64.xzm из /tmp в директорию /mnt/Ваш-раздел/porteus/modules и перезагрузить Porteus.
Blaze! Ура! Наконец-то! Видит беспроводные сети.

Code: Select all

root@porteus:/home/guest# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     unassociated  Nickname:"<WIFI@REALTEK>"
          Mode:Managed  Frequency=2.412 GHz  Access Point: Not-Associated   
          Sensitivity:0/0  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key: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

root@porteus:/home/guest# 
Сети видит, но сразу после подключения разрывается :(
Как теперь мониторить wifi? Возможно ли сюда установить Airslax или aircrack-ng и как это сделать?
Blaze wrote:
15 Oct 2019, 17:18
имелось ввиду на реальной машине, а не в VirtualBox.
Имеется только удаленный доступ к компу, на котором винда стоит. По-другому не знаю как там управиться.
Last edited by dwais on 15 Oct 2019, 18:32, edited 1 time in total.

Post Reply