Tiny Core Linux
Tiny Core Base => CorePlus => Topic started by: staycoldb on July 02, 2014, 12:38:01 AM
-
I just installed core plus on an old Dell machine for a friend. Install went smooth. The wifi card he is using is a USB AirLink101 AWLL5088 Wireless N 150 Ultra . When I do ifconfig all I get is the local loopback address. Not even eth0 shows up. I was planning on downloading everything from the repository but it looks like that's not an option now since tc doesn't even see the 803 card. The only Linux distro I've really messed with are Kali and Ubuntu which are both pretty user friendly from a linux perspective so this is throwing me for a loop.
I'm trying is to install some realtek drivers from a USB stick as the following thread:
http://forums.linuxmint.com/viewtopic.php?t=94495&f=53 (http://forums.linuxmint.com/viewtopic.php?t=94495&f=53) instructs as the software is the same required for the airlink nic I'm using. My problem with this solution is I get stuck at the part where you open the fodler in terminal. I navigate to the folder in app launcher but it doesn't let me open anything. And the CD command doesn't work in Terminal.
I was reading up some on wicd but TC is really limited as far as tools go to install software packages so I'm at a loss right now, I tried to launch wicd.tcz with run programs but nothing happens. Below is a screenshot of what I have on a usb stick right now ready to install. As you can probably tell I'm a linux noob, but if anyone can guide me from here I really appreciate it.
(http://i7.photobucket.com/albums/y297/bwjones/misc/folesonUSB_zps4be92a2d.jpg)
I feel pretty stupid, someone please help....
-
I'd recommend you read this first:
http://tinycorelinux.net/book.html
What version of CorePlus are you using?
Before getting involved with making a wifi connection, we need to confirm what hardware you have using "lsusb" and then check if there is an extension with the required driver and/or firmware already in the extension repository.
-
Thanks for the reply. I installed the default FLWM version. And as for lsusb, that's the thing, when I try that command terminal returns a 'not found' error. I've noticed that with quite a few commands that typically work in other distros but not in tinycore.
I'm gonna skim through the manual now.
-
I meant is it CorePure-5.3 or an older version ;)
You'll need to find a way to download the usb-utils and libusb extensions to have the "lsusb" command work. A catch-22 situation I know, but maybe there's another machine you could download them to and copy them across?
-
It looks like USB AirLink101 AWLL5088 Wireless N 150 Ultra adapter is supported in either
wireless-3.8.13-tinycore.tcz and
firmware-rtlwifi.tcz
Or alternatively newer devices might be better supported in
wl-r8192cu-3.8.13-tinycore.tcz
(this requires to set boot code "blacklist=rtl8192cu")
Like juanito asked, need to know which version of tinycore (download) you are using and the output of lsusb
-
EDIT: During bootup noticed that it's 3.8.13.
As for the sb-utils and libusb extensions, can I download those to usb and just plug the usb stick into the TC machine and install them that way? If so would you happen to know where I can download them and a brief lesson on how to install. I tried to install some realtek drivers in TC already and I just couldnt accomplish anything using 'run program' tool.
-
You can download the libusb, usb-utils and udev-lib extensions here:
http://www.tinycorelinux.net/5.x/x86/tcz/libusb.tcz
http://www.tinycorelinux.net/5.x/x86/tcz/libusb.tcz.dep
http://www.tinycorelinux.net/5.x/x86/tcz/usb-utils.tcz
http://www.tinycorelinux.net/5.x/x86/tcz/usb-utils.tcz.dep
http://www.tinycorelinux.net/5.x/x86/tcz/udev-lib.tcz
If you save these to a usb stick, you can plug it into the machine without internet, use the gui mount tool to mount it and then "tce-load -i /mnt/sdxx/usb-utils" to load the extensions, where sdxx is sda1, sdb2, etc.
-
Awesome, thanks so much Juanito, you're a huge help. I'll post back later with a progress report ;)
-
Ok, got it all installed and libusb works like a charm now.
lsusb shows the wlan adapter I'm using as this:
bus 001 Device 006: ID Obda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
-
It looks like USB AirLink101 AWLL5088 Wireless N 150 Ultra adapter is supported in either
wireless-3.8.13-tinycore.tcz and
firmware-rtlwifi.tcz
Or alternatively newer devices might be better supported in
wl-r8192cu-3.8.13-tinycore.tcz
(this requires to set boot code "blacklist=rtl8192cu")
Like juanito asked, need to know which version of tinycore (download) you are using
The adapter is listed as supported in rtl8192cu which should be loaded if you run wifi from wifi.tcz extension, also required for this driver is firmware- rtlwifi.tcz extension
If the adapter is not supported then try the second option from the above. else you may need to load " wl-r8192u_usb-3.8.10-tinycore.tcz " extension remember to use wifi.tcz extension (plus dependencies)
I'm assuming you are booting the coreplus.iso which has wifi and firmware extensions??
-
It looks like USB AirLink101 AWLL5088 Wireless N 150 Ultra adapter is supported in either
wireless-3.8.13-tinycore.tcz and
firmware-rtlwifi.tcz
Or alternatively newer devices might be better supported in
wl-r8192cu-3.8.13-tinycore.tcz
(this requires to set boot code "blacklist=rtl8192cu")
Like juanito asked, need to know which version of tinycore (download) you are using
I'm assuming you are booting the coreplus.iso which has wifi and firmware extensions??
No, I installed the default FLWM version. It's the first option on the menu before you boot tinycore. Does this mean I need to reinstall the OS? :-[
-
No, I installed the default FLWM version. It's the first option on the menu before you boot tinycore. Does this mean I need to reinstall the OS? :-[
Ok FLWM is only the window manager choice.
-
If a choice of window managers is an option then you must be booting the correct coreplus.iso Instead of booting to FLWM choose + WIFI + Firmware (to load wifi extensions)
" Boot Core with X/GUI (Tinycore) + WIFI + Firmware "
then try wifi icon to connect
edit: for some reason the firmeware-rtlwifi.tcz extension missed being included in the latest coreplus.iso so you'll have to download and load it like you did the usb-utils.tcz extensions
-
If a choice of window managers is an option then you must be booting the correct coreplus.iso Instead of booting to FLWM choose + WIFI + Firmware (to load wifi extensions)
" Boot Core with X/GUI (Tinycore) + WIFI + Firmware "
then try wifi icon to connect
edit: for some reason the firmeware-rtlwifi.tcz extension missed being included in the latest coreplus.iso so you'll have to download and load it like you did the usb-utils.tcz extensions
Damn, guess I gotta reinstall the OS again. Oh well.
-
reinstall ??
-
If you installed to a drive using the tc-install app from coreplus cd and you were successful in booting it to a desktop then chances are good that you have most of the extensions needed
-
Ya? I have the bootable USB and I installed TC from it to the hdd. I installed the FLWM version. When you first boot from the TC image it gives you a list of different ways to boot into TC, I chose that and installed it to the hard drive using the TC installer.
-
is there a WIFI icon on the desktop wbar ? then select it
if not you can load it by using " tce-load -i wifi " at the terminal, then select it or type " sudo wifi.sh "
if a terminal screen appears then disappears after a few seconds then we need to see the output of " dmesg | tail -25 " copy and past that to a file and post it here, which can be a little tricky for those new to linux
one extension you might find useful is fluff a lightweight file manager install it using the same technique used earlier, while you are downloading files i'd download and copy to tce/optional directory firmware-rtlwifi.tcz and wl-r8192cu-3.8.13-tinycore.tcz be careful not to have them both loaded at the same time as they conflict with each other.
-
When you installed, did you tick the box for wifi support?
-
Otherwise you'll need these extensions/files from your usb stick copied over to the drive's /tce/optional store
wifi.tcz
wifi.tcz.dep
wireless_tools.tcz
wireless_tools.tcz.dep
libiw.tcz
wireless-3.8.13-tinycore.tcz
wpa_supplicant.tcz
wpa_supplicant.tcz.dep
openssl-1.0.0.tcz
libnl.tcz
then get this extension from http://tinycorelinux.net/5.x/x86/tcz/firmware-rtlwifi.tcz
firmware-rtlwifi.tcz
also place in same store wih other extensions above
load them all using tce-load -i firmware-rtlwifi wifi
then what is the result of sudo wifi.sh from the terminal?
-
When you installed, did you tick the box for wifi support?
Yes I did.
-
is there a WIFI icon on the desktop wbar ? then select it
if not you can load it by using " tce-load -i wifi " at the terminal, then select it or type " sudo wifi.sh "
if a terminal screen appears then disappears after a few seconds then we need to see the output of " dmesg | tail -25 " copy and past that to a file and post it here, which can be a little tricky for those new to linux
one extension you might find useful is fluff a lightweight file manager install it using the same technique used earlier, while you are downloading files i'd download and copy to tce/optional directory firmware-rtlwifi.tcz and wl-r8192cu-3.8.13-tinycore.tcz be careful not to have them both loaded at the same time as they conflict with each other.
Ya, when I click the wifi icon I get the disappearing terminal window. Here is a screenshot of the output from that dmesg command:
(http://i7.photobucket.com/albums/y297/bwjones/misc/015B3D14-D780-4BF1-A118-3F996A154049_zpsahr854jh.jpg)
-
Otherwise you'll need these extensions/files from your usb stick copied over to the drive's /tce/optional store
wifi.tcz
wifi.tcz.dep
wireless_tools.tcz
wireless_tools.tcz.dep
libiw.tcz
wireless-3.8.13-tinycore.tcz
wpa_supplicant.tcz
wpa_supplicant.tcz.dep
openssl-1.0.0.tcz
libnl.tcz
then get this extension from http://tinycorelinux.net/5.x/x86/tcz/firmware-rtlwifi.tcz
firmware-rtlwifi.tcz
also place in same store wih other extensions above
load them all using tce-load -i firmware-rtlwifi wifi
then what is the result of sudo wifi.sh from the terminal?
I installed firmware-rtlwifi wifi and the output from sudo wifi.sh was 'No wifi devices found!'
-
H'mmm.. good job
as seen in the dmesg result seems like we have an issue with the firmware location (maybe my bad...)
ok the quick fix I think is
unload the driver
sudo modprobe -r rtl8192cu
to verify is not loaded check
lsmod
then copy the firmware to it's expected location
sudo cp /usr/local/lib/firmware/rtlwifi/rtl8192cufw.bin /lib/firmware/rtlwifi/rtl8192cufw.bin
load the driver and try again
sudo modprobe rtl8192cu
sudo wifi.sh
If the driver finds and loads the firmware this time, then temporarily add /lib/firmware/rtlwifi/rtl8192cufw.bin to your backup
-
Additionally I noticed in the dmesg result the firmware for the Ethernet device is not installed. If needed you can install firmware-intel_e100.tcz
-
I just executed
sudo modprobe -r rtl8192cu
and now the keyboard is flashing and the terminal window seems to have frozen at that command so I can't enter a new command. and I can't move the mouse....
-
The idea is to have the firmware installed first then when the driver will find it when it loads
Sent from my iPhone using Tapatalk
-
Here's what lsmod gives me:
(http://i7.photobucket.com/albums/y297/bwjones/misc/0F7B6ADD-718D-4AC7-9BAF-B35F2ABECAD6_zpsrmbzs9bx.jpg)
-
So, that means the driver is loaded and needs unloaded right? I just tried to unload the driver again with the command you gave me and now my peripherals are all frozen again and inoperable..
-
Here the driver shows as loaded. however the previous dmesg indicated the firmware for the device was not loaded. The driver needs to find the firmware when it loads.
check the dmesg again to verify if firmware rtl8192cufw.bin has been found by the driver, else I suggest copying the firmware to /lib/firmware/rtlwifi/rtl8192cufw.bin (why it's not being found is bewildering my at the moment..)
sudo cp /usr/local/lib/firmware/rtlwifi/rtl8192cufw.bin /lib/firmware/rtlwifi/rtl8192cufw.bin
then add /lib/firmware/rtlwifi/rtl8192cufw.bin to your backup and reboot
then when the driver loads it should find the firmware and be ready for use
next question I guess is how to backup??
edit: made some edits here
-
You might also find this book a valuable resource http://tinycorelinux.net/book.html (http://tinycorelinux.net/book.html)
download it and have it handy
many ways to backup, basically you can add /lib/firmware/rtlwifi/rtl8192cufw.bin to /opt/.filetool.lst then run backup from the terminal
reboot
-
Hi coreplayer2
many ways to backup, basically you can add /lib/firmware/rtlwifi/rtl8192cufw.bin to /opt/.filetool.lst then run backup from the terminal
I think you meant you can add:
lib/firmware/rtlwifi/rtl8192cufw.bin
to /opt/.filetool.lst. There is no leading slash.
-
Yes thanks that's exactly it, you can tell I use the gui backup app :p