Сборка rtl8188fu под Porteus

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

Moderator: Blaze

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

Сборка rtl8188fu под Porteus

Post#1 by dwais » 11 Oct 2019, 14:03

Доброго дня!
Porteus 4.14.0 запущен с флешки. Пытаюсь заставить работать usb WiFi адаптер RTL-8188FTV(так отображается в винде)
В usb устройствах его видно, но как беспроводной интерфейс не определяется.

Code: Select all

root@porteus:~# 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:~# ifconfig
eth1: 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:fea5:b32a  prefixlen 64  scopeid 0x20<link>
        ether 08:00:27:a5:b3:2a  txqueuelen 1000  (Ethernet)
        RX packets 154385  bytes 153097207 (146.0 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 54483  bytes 3609992 (3.4 MiB)
        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 1000  (Local Loopback)
        RX packets 94  bytes 4740 (4.6 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 94  bytes 4740 (4.6 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

root@porteus:~# 
Пробовал сделать как описано здесь viewtopic.php?f=54&t=8621, но некоторые команды вообще не работают.

Есть решение?

:download: РЕШЕНИЕ

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.

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

RTL8188FTV на Porteus 4

Post#2 by Blaze » 11 Oct 2019, 16:42

Здравствуйте dwais.
Непонятно какая у Вас версия Porteus, предоставьте логи команд:

Code: Select all

cat /etc/porteus-version
uname -a
так же к нужной версии Porteus необходимо скачать и активировать 05-devel.xzm + crippled_sources.xzm

В зависимости от архитектуры процессора, можно найти здесь:
http://dl.porteus.org/i586/
http://dl.porteus.org/x86_64/
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 на Porteus 4

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

Code: Select all

root@porteus:~# cat /etc/porteus-version
Porteus-v3.2.2
root@porteus:~# uname -a
Linux porteus 4.14.0-porteus #1 SMP PREEMPT Fri Sep 28 00:43:19 MSK 2018 i686 Intel(R) Core(TM) i3 CPU         550  @ 3.20GHz GenuineIntel GNU/Linux

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

RTL8188FTV на Porteus 4

Post#4 by Blaze » 11 Oct 2019, 17:04

dwais, Porteus-v3.2.2 и архитектура i686 (32-х битная) - не факт, что модуль соберется из гита.

Для Porteus-v3.2.2 i586: После чего производите сборку.
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 на Porteus 4

Post#5 by dwais » 11 Oct 2019, 17:05

Активировал эти модули 05-devel.xzm + crippled_sources.xzm
В директории с драйвером открыл терминал. Команда make, затем make install.
Результат

Code: Select all

root@porteus:/tmp/rtl8188eu# make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.14.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.14.0-porteus/kernel/drivers/net/wireless
cp rtl8188eufw.bin /lib/firmware/.
/sbin/depmod -a 4.14.0-porteus
mkdir -p /lib/firmware/rtlwifi
cp rtl8188eufw.bin /lib/firmware/rtlwifi/.
root@porteus:/tmp/rtl8188eu# modprobe 8188eu
modprobe: ERROR: could not insert '8188eu': Exec format error
root@porteus:/tmp/rtl8188eu# 
Все ли правильно? и что нужно дальше сделать

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

RTL8188FTV на Porteus 4

Post#6 by dwais » 11 Oct 2019, 17:22

Blaze wrote:
11 Oct 2019, 17:04
dwais, Porteus-v3.2.2 и архитектура i686 (32-х битная) - не факт, что модуль соберется из гита.

Для Porteus-v3.2.2 i586: После чего производите сборку.
модуль вроде собрался Image
У меня в папке porteus/modules есть еще 3 папки. В какую из них нужно положить модуль или просто в корень папки кинуть?

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

RTL8188FTV на Porteus 4

Post#7 by dwais » 11 Oct 2019, 17:36

Code: Select all

root@porteus:~# su
root@porteus:~# toor
bash: toor: команда не найдена
root@porteus:~# 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 | 3.42 MiB/s, готово.
Определение изменений: 100% (9605/9605), готово.
Проверка соединения… готово.
root@porteus:/tmp# cd /tmp/rtl8188eu
root@porteus:/tmp/rtl8188eu# make
make ARCH=i386 CROSS_COMPILE= -C /lib/modules/4.14.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.14.0-porteus/kernel/drivers/net/wireless
cp rtl8188eufw.bin /lib/firmware/.
/sbin/depmod -a 4.14.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.14.0-porteus-i686.xzm, block size 262144.
[===================================================================\] 5/5 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 256.79 Kbytes (0.25 Mbytes)
	31.11% of uncompressed filesystem size (825.37 Kbytes)
Inode table size 206 bytes (0.20 Kbytes)
	51.24% of uncompressed inode table size (402 bytes)
Directory table size 230 bytes (0.22 Kbytes)
	77.44% of uncompressed directory table size (297 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
modprobe: ERROR: could not insert '8188eu': Exec format error
root@porteus:/tmp# 

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

RTL8188FTV на Porteus 4

Post#8 by Blaze » 11 Oct 2019, 18:02

Скопируйте rtl8188eu-4.14.0-porteus-i686.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

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

RTL8188FTV на Porteus 4

Post#9 by dwais » 11 Oct 2019, 19:10

Blaze wrote:
11 Oct 2019, 18:02
У меня в папке porteus/modules есть
У меня в папке porteus/modules есть еще 3 папки air, pro, ru. В какую из них нужно скопировать модуль? Кстати модуль не копируется никуда( пишет: "только для чтения"

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

RTL8188FTV на Porteus 4

Post#10 by dwais » 11 Oct 2019, 19:19

Image

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

RTL8188FTV на Porteus 4

Post#11 by Blaze » 11 Oct 2019, 19:30

У Вас не Porteus, а 'форк' AirSlax.
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 на Porteus 4

Post#12 by dwais » 11 Oct 2019, 19:35

Blaze wrote:
11 Oct 2019, 19:30
У Вас не Porteus, а форк AirSlax.
и что из этого вытекает?

Code: Select all

root@porteus:~# modprobe 8188eu
modprobe: ERROR: could not insert '8188eu': Exec format error
root@porteus:~# 

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

RTL8188FTV на Porteus 4

Post#13 by Blaze » 12 Oct 2019, 06:40

dwais wrote:
11 Oct 2019, 19:35
и что из этого вытекает?
установить Porteus из темы СОФТ и инструкции для Porteus-5.x или Вам сюда airslax.ru
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#14 by dwais » 12 Oct 2019, 11:07

Blaze wrote:
12 Oct 2019, 06:40
dwais wrote:
11 Oct 2019, 19:35
и что из этого вытекает?
установить Porteus из темы СОФТ и инструкции для Porteus-5.x или Вам сюда airslax.ru
установил из темы Porteus-v3.2.2-x64-rus

Code: Select all

guest@porteus:~$ su
Пароль: 
root@porteus:/home/guest# cd /tmp
root@porteus:/tmp# git clone https://github.com/lwfinger/rtl8188eu.git
bash: /usr/bin/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

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

RTL8188FTV на AirSlax

Post#15 by Blaze » 12 Oct 2019, 11:22

Забыли активировать 05-devel.xzm и crippled_sources.xzm
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

Post Reply