Tiny Core Base > CorePlus

Problem with rtl8188EUS wifi USB adapter

<< < (2/12) > >>

aus9:
there is at least one error in my script
change this line chmod -R 755 $P/usr/local/tce.installed to
chmod -R 775 $P/usr/local/tce.installed

submitqc --libs should have fixed that with luck

notferrari:

--- Quote from: GNUser on September 20, 2023, 12:49:20 PM ---
The x86_64 repo has 88x2bu.tcz and 8188eu.tcz extensions. You are on x86 so those extensions are not going to help you, but you can consult the notes on how those extensions were built. Process to build 8188eu on x86 is probably identical or nearly so.

http://repo.tinycorelinux.net/14.x/x86_64/tcz/src/88x2bu/compilation
http://repo.tinycorelinux.net/14.x/x86_64/tcz/src/rtl8188eu/build-8188eu.sh


--- End quote ---

I've tried to use this script with some changes (inside attachment), and it looks like it almost worked. It tries to find "/lib/modules/6.1.2-tinycore/build", which doesn't exist. It also fails to apply patch (I tried to apply anyways and no difference on this part). The full output is also inside attachment.

Looking trough tips inside the script and the 88x2bu link, it looks like a step is missing, and I really don't understand what do I need to do with that part:

--- Code: ---tce-load -wi compiletc perl5 bash ncursesw-dev bc glibc_apps elfutils-dev gettext

http://repo.tinycorelinux.net/14.x/x86_64/release/src/kernel/linux-6.1.2-patched.txz
http://repo.tinycorelinux.net/14.x/x86_64/release/src/kernel/config-6.1.2-tinycore64

$ cd linux-6.1.2
$ make mrproper
$ cp ../config-6.1.2-tinycore64 .config
$ make oldconfig
$ make prepare
$ make modules_prepare
# ln -s $HOME/Downloads/linux-6.1.2 /lib/modules/6.1.2-tinycore64/build

--- End code ---

The "tce-load" part is straightforward. But the links and the "cd linux-6.1.2" part is weird to me. Which path should this folder be?


--- Quote from: aus9 on September 20, 2023, 04:05:37 PM ---Lets confirm we have a match for your adapter to my TC64 vendor and product ids

1) download and load usb-utils then post the output for your adapter for command

--- Code: ---lsusb
--- End code ---

--- End quote ---

Also added to attachment.


--- Quote from: aus9 on September 20, 2023, 04:05:37 PM ---class N speeds are slow.....have you considered buying an ac speed dongle?
Mine is single antenna in theory max 150 megabits per second
Some members here may be able to give you their suggestions

--- End quote ---

Just like the PC, it's a leftover that I'd like to use on some simple projects.


--- Quote from: aus9 on September 20, 2023, 06:33:09 PM ---there is at least one error in my script
change this line chmod -R 755 $P/usr/local/tce.installed to
chmod -R 775 $P/usr/local/tce.installed

submitqc --libs should have fixed that with luck

--- End quote ---

Tried the change, no difference.

Rich:
Hi notferrari

--- Quote from: notferrari on September 21, 2023, 05:36:12 AM --- ...
--- Code: ---tce-load -wi compiletc perl5 bash ncursesw-dev bc glibc_apps elfutils-dev gettext

http://repo.tinycorelinux.net/14.x/x86_64/release/src/kernel/linux-6.1.2-patched.txz
http://repo.tinycorelinux.net/14.x/x86_64/release/src/kernel/config-6.1.2-tinycore64

$ cd linux-6.1.2
$ make mrproper
$ cp ../config-6.1.2-tinycore64 .config
$ make oldconfig
$ make prepare
$ make modules_prepare
# ln -s $HOME/Downloads/linux-6.1.2 /lib/modules/6.1.2-tinycore64/build
--- End code ---
...
--- End quote ---

I see a few things that might be causing problems. One of them
is that the step to untar the source package is implied instead
of being stated.

See if this version gets you any further:

--- Code: ---tce-load -wi compiletc perl5 bash ncursesw-dev bc glibc_apps elfutils-dev gettext

# Fetch source and configuration files.
wget http://repo.tinycorelinux.net/14.x/x86/release/src/kernel/linux-6.1.2-patched.txz
wget http://repo.tinycorelinux.net/14.x/x86/release/src/kernel/config-6.1.2-tinycore

$ tar xf linux-6.1.2-patched.txz
$ cd linux-6.1.2
$ make mrproper
$ cp ../config-6.1.2-tinycore .config
$ make oldconfig
$ make prepare
$ make modules_prepare
# ln -s $HOME/Downloads/linux-6.1.2 /lib/modules/6.1.2-tinycore/build
--- End code ---

notferrari:

--- Code: ---tar xf linux-6.1.2-patched.txz
--- End code ---
It gives me the error:

--- Code: ---tar: can't create symlink 'linux-6.1.2/scripts/dummy-tools/objcopy' to 'ld': Operation not permitted
--- End code ---
even if I run as root.

Apart from that, all "make" commands gives "nothing to do" result.

aus9:
your lsusb confirms that you could use my TC64 converted to TC32 except I do not detail the kernel prep.

see attachment for modified 8188eu for TC32 Good Luck
changes are...flags.....git source is already patched.....dep file had a duplication when you load wifi.tcz

2) The kernel prep is not working for me....I have some memory/RAM issues

3) In addition to what you have already downloaded and unpacked
suggest you include this for download and unpack

--- Code: ---wget http://tinycorelinux.net/14.x/x86/release/src/kernel/Module.symvers-6.1.2-tinycore.gz
gunzip Module.symvers-6.1.2-tinycore.gz
--- End code ---

Please keep copies of all downloads or better still keep copies somewhere of your unpacks

more suggestions. I do all my downloads to /tmp
Use root powers to create a dir /usr/src

--- Code: ---sudo mkdir -p /usr/src
--- End code ---
Use root powers to copy your unpacked kernel source into that new dir
But I use sudo mc to do the copy but you "need"
/usr/src/linux-6.1.2

Then

--- Code: ---ln -s /usr/src/linux-6.1.2 /lib/modules/6.1.2-tinycore/build
SRC=/usr/src/linux-6.1.2
cd $SRC
make mrproper  # seconds
mv /tmp/config-6.1.2-tinycore .config
make oldconfig  # seconds
make prepare  # about 10 seconds
make modules_prepare  # seconds
make modules
--- End code ---

make modules borks for me

I am aware I am confusing you with your use of Downloads vs my use of /usr/src etc




Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version