Tiny Core Extensions > TCE Bugs

(fixed for the tce* version) segfault: wpa_supplicant tcz*

<< < (2/3) > >>

tobiaus:
all understood, and apologies, i was just going to edit the post. actually your advice was indispensable, thank you, although i'm not sure if it directly or indirectly solved one problem (it doesn't matter which, really.)

luckily when i tried norestore nolocal base with my 1.2rc cd, i decided to try the tce* instead of the tcz* (from appbrowser like you said.) then i tried wpa_supplicant with no switched and got the "quite a lot of information") then i rebooted and tried tcz, still got the segfault (don't care, but worth noting.) i rebooted again, downloaded the tce version from appbrowser (download only) and replaced all opens-whatever (sl i think) and wpa_supplicants on the thumb with the tce versions. note: i've tried tce versions before, maybe using appbrowser helped (i don't know, it was your idea.)

so the thumb boots 1.2 (not the rc) and wpa_supplicant works (tce only.) thanks again.

i'll look at the links, and perhaps the wpa_supplicant conf in xubuntu will clue me into setting that up. (you think differently when you're less annoyed about the number of attempts you've made.)

naturally i'm still not online, but you've solved the one that was the farthest beyond me. i thought i was going to have to use the wpa_supplicant from dsl (which sounded like a terrible idea anyway.) i'm changing the title to (fixed for tce*) this really has been all uphill, so thanks for the push, and your own patience.

Jason W:
Everything is cool here.  Looking back on my initial response I see how it could be taken as condescending.  I think it is better to say "wpa_supplicant is probably configured the same whichever distro is used and configuration may not be TC-specific" than it is to post urls.  There are times to post urls, but I think it is to be done judiciously and with tact.  And I should have known how could you boot and load the extensions over the net when you clearly stated you could not get on the network with that machine in the first place!  And being already frustrated by the issue you were facing, my initial reply could just add to the frustration.

Anyway, I am glad to hear that at least the segfault issue is solved.  I had a hunch that something was amiss with wpa_supplicant or openssl like missing or corrupt files.  I hope it goes well and you are online with TC on that machine soon.

 

tobiaus:
oh i overreacted. but i'm very sensitive to frustrated users, because i have been so many times. as i mentioned to roberts, i often feel like doing certain things relating to internet access are like lucy holding out a football that says (in this instance, "wireless") and telling me to kick it (lucy always pulls the ball away at the last minute, and charlie brown lands on his back.)

that's got nothing to do with you. you're right, urls can be taken the wrong way "hey, read this, dumbass..." but i didn't really think that's what you meant. it's more along the lines of, when you've already tried so many things, having someone tell you to download something so you can get the internet working (that is precisely what i did,) sort of produces a "oh no, not again!" feeling, if not resentment.

you'd see i was no stranger to second tries if you saw my setup, but that was self inflicted... xubuntu uses xfce and lots of things are tied into the sessions, which aren't done the same way as in lighter or more traditional distros. (for example, there is no wpa*.conf anywhere, wpa_supplicant uses a file called wpa_supplicant-global3 but the file does not exist.) despite this, i got wireless working in jwm without .xsession by examining the output of ps -FA and replicating this and that, so i have a script that lets me get online even though i'm not using xfce anymore.

none of that helps here, sadly (and i'm not trying to use it.) before i had a wireless card that worked in linux, i bought a cardbus adapter just for eth, (because the laptop was a pii and didn't have its own,) and i could never get that working in the distro i was using, until i tried it in dsl and it "just worked." so i was very happy the first time i got online in linux, even though it took about a year just to do wired eth :(

with the help here last year, i got wired eth working in the earlier versions (where you had to modprobe) within days, now you don't have to do anything to use wired eth. i know that as more people ask about setting up wireless i'll find more things that i should try, and sooner or later i'll figure it out, because i know that it works in linux. perhaps i'll try wlan0 instead of ath0 next. (it's ath0 in conk, lsmod lists ath_pci and wlan, but ath_pci is used by "0" things, wlan is used by "5.") not sure wpa is the issue, in the setup it says "wep" but i do need the key. time to read more (again.)

tobiaus:
i hate all the confusion. was this all for nothing? i don't know. from your link:


--- Quote --- What is WPA Supplicant?

You have probably heard about WEP and its inherent weaknesses. A network protected by a static WEP key can quite easily be compromised by a motivated hacker. WPA corrects the problem of the static key, by changing it at a packet transmitted/recieved frequency, or once a certain amount of time has passed. This process is performed by a daemon which is tightly bound to your wireless hardware.
--- End quote ---

so i know i'm using wep. i'm going to try to comment out the links regarding wpa_supplicant in xubuntu (or just rename /sbin/wpa_supplicant to /sbin/no_wpa_thankyou) and see if i can still get online.

if so, i'll know i don't need it. if i can't, i still won't know anything. using an open router is so tempting, though i won't have that option everywhere i intend to use this, and it seems like an even worse idea than using wep. (right now, wep is the only option anyway.) nothing about this stuff is ever very clear, even the thinkwiki page is still a bit alien. it's intolerable how complicated this is, when everyone else gets away with three extensions and three commands at the root prompt.

=edit= back in wireless in xubuntu again. no surprise that hiding wpa_supplicant didn't help. sadly this proves nothing except that the setup in xubuntu thinks it needs wpa_supplicant (i had to unhide it.) it does not prove i need wpa in tc, so i don't know if i'm wasting my time more trying to get wpa to work, or, trying everything else... (i wish i knew which was easier.) despite this, i'm really (truly) glad i don't have to wait another day to get wpa_supplicant to run without a segfault. still losing the war (so far) but won the battle.

roberts:
The router that you are trying to connect to dictates the contents of wpa_supplicant.conf

Have you tried copying your wpa_supplicant.conf from xubuntu into TC and try it.
If xubuntu is installed then mount the drive, if not mounted and copy it.
You can test it from any location with the -c option, e.g., -c /home/tc/wpa_supplicant.conf

I had one working on a simple WPA-PSK router. If needed I will post the conf file.
But I would try the xubuntu one first, as it is already setup for your router.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version