General TC > Tiny Core Netbooks

wifi on the olpc xo

<< < (2/3) > >>

maro:
Judging from your reported results of the 'find' command I'd say that the extension was downloaded but not installed. I can't offer an explanation how that has happened, but your observation about 'appsaudit' might not help here much further. With the 'appsaudit' "OnBoot" -> "Maintenance" one gets to see two lists: on the left hand (llabeled "Select") a list of all .tcz files in the '.../tce/optional' directory and on the right hand (labeled "On Boot Items") all entries from the '.../tce/onboot.lst' file. I would imagine that 'wpa_supplicant.tcz' would at least show up on the left hand side, but that does not mean that it is installed.

To check if a entension 'EXT.tcz' is really installed I'd recommend to do two things: (a) check that a file or a link named 'EXT' exists in '/usr/local/tce.installed' (e.g. via ls -l '/usr/local/tce.installed/wpa_supplicant) and (b) check that a non-empty directory named EXT exists under '/tmp/tcloop' (e.g. via ls -l /tmp/tcloop/wpa_supplicant). Under normal circumstances both conditions should be fulfilled for any installed application, but I've run by now often enough into situations where that was not the case, so I consider it important to check both conditions and not just one of them.

If it turns out that the extension is not installed, I'd try to do so with tce-load -i wpa_supplicant (provided that '/opt/.tce_dir' points to the parent directory where the extension file is located).

rbacher:
I agree that it's not installed (but why?). About appsaudit, it (wpa_supplicant) shows up on the right side (On Boot Items).  When I do steps (a) and (b) I get the exact same results (expected) but neither wireless_tools.tcz nor wpa_supplicant.tcz shows up in either directory. When I run tce-load -i wpa_supplicant, the result is "wireless-KERNEL.tcz not found!"  I get the same result when I run tce-load -i wireless_tools. I note that wireless.KERNEL.tcz is listed in the .dep file for wireless_tools.tcz in the Version 3.x Repository at http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tcz_3x.html.  What is wireless.KERNEL.tcz? Thanks for trying to help me

rbacher:
I got it. Not exactly sure what I did. Your suggestion to run tce-load -i EXT helped to solve the problem. I edited the .dep files to remove wireless_KERNEL.tcz, then ran tce-load -i wireless_tools, and that worked, then ran tce-load -i wpa_supplicant, and that also worked. Thanks for your help. Now I will work with wpa_supplicant to see if I can connect to a wifi with a password (which was the original objective)

maro:
OK, at least we are getting somewhere. The problem you've run into is due to a "flaw" in the 'tce-load' script. And now quoting myself from an earierler thread:

--- Quote ---... It [i.e. 'tce-load'] changes at download time the entries in the '.dep' files from 'KERNEL' to the actual value (e.g. '2.6.33.3-tinycore', which is the output of 'uname -r'). I personally believe that downloaded files should not be "fudged". I also believe that you should keep all downloaded file names intact. But you could then "mimic that flaw" of 'tce-load' by "fudging" the entries in the '.dep' files in the same way. You should then be able to use 'tce-load -i EXT' with the expected result.

--- End quote ---

So just change in all .dep files the 'KERNEL' to the output of 'uname -r' and run the 'tce-load -i ...' again.


EDIT: Well, I must have hit the 'Save' button a few seconds too late, but you seem to have made some progress anyway ...

curaga:
@maro: that is unrelated here, seeing as the xo remaster doesn't have a wireless* extension. It would have failed with runtime replacement too.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version