Tiny Core Linux
Tiny Core Extensions => TCE Q&A Forum => Topic started by: daxo on September 06, 2010, 03:10:31 PM
-
i have an aspire one netbook, i do not have wired internet, i use my neighbor's wireless so i don't even have access to the router, just the password.
i am able to boot tc3.0 from a usb stick. i have no internet connection to use the tc3 app browser to download wicd or any other wireless packages. i have read http://wiki.tinycorelinux.com/Setting+up+Wifi and it suggests
"If you want to set up wifi with minimum of fuss, just install wicd package (and its dependencies) from the package repository."
is there a way to download .tcz packages (and identify which dependancies i will need to run wicd) without using the app browser?
i downloaded wicd from sourceforge link and tried to install it under the "local" tab/button of app browser but as there is no file with a .tcz extension i'm not sure what else to do, app install doesnt recognise it and i have searched the forums and read about 20 more pages of inscrutable info but i've not found anything that addresses my situation.
i am quite new to linux so please be as specific and simple as possible.
thanks in advance.
-
PS downloaded wicd again from ftp://ibiblio.org/pub/linux/distributions/tinycorelinux/tce/src/wicd/ i extracted it and it appears to be the same albiet earlier version as from sourceforge (that was 1.7.x). nothing is a .tcz. i would have to say the issue appears to be that i do not know what to do with it now. suggestions appreciated.
thanks in advance.
-
Take a look at this file:
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/wicd.tcz.tree
It lists all of the dependent .tcz packages for wicd (there are a lot of them..)
You should be able to download each of these .tcz files (ignore any duplicates listed in wicd.tcz.tree and also download the ".dep" file for each extension) and put them together in a directory, and then use the "local" feature of appbrowser to install wicd.tcz. The .tcz's can be downloaded from: http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tcz_3x.html
-
thank you for the swift and informative reply.
unfortunately i seem to be missing something- at http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/tcz_3x.html there is a spreadsheet that has username, date, etc, and 4 small columns on the right: info, list, md5, dep which have links to text only information files, list (of what presumably is in the package), md5 sum for the package, and a list of dependancies, respectively. what i am not seeing is a link to the package itself (perhaps package is the incorrect nomenclature, forgive me. in this specific case, no link to wicd.tcz)
it also seems unlikely that i will have the tenacity to download the many dependancies involved. all i really want to do is read my email and surf the web a bit.
perhaps my low demands as well as my wireless only status precludes me from using tinycore any further (and, would it not be way convenient to build wireless connectivity into tinycore, at least as an option for those of us who do not have wired access?)
thanks again ixbrian for your efforts
best regards
daxo
-
Try this link to download the tcz and dep files: ftp:// distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/ (Remove the space between "ftp://" and "distro.ibiblio.org" - I put that in there so the forum wouldn't add http://)
-
ah brilliant :)
the page you originally suggested linked to a similar http address, it didn't occour to me to try ftp directories.
the downloading begins, wish me luck!
thanks again
-
Looking at the dependency tree of wicd... Whoa!! :o
All I ever needed to connect to the net with wireless was wireless_tools...
Not even all that is included, I made my personal "light" extension (84KB -> 36 KB) containing only iwconfig and iwlist; though iwpriv might be of benefit to set some advanced options with some specific drivers. (There are even certain drivers which could be configured without any tools just by a config file).
However, I have never had a need to connect to a WPA encrypted net; I'd assume that needs at least wpa_supplicant.tcz and openssl-0.9.8.tcz in addition.
I have no knowledge about wicd but...
If the wiki claims
"If you want to set up wifi with minimum of fuss, just install wicd package (and its dependencies) from the package repository."
for the case of users running into the circular dependency of not being able to connect to the net with TC base, due to lack of wireless support, I couldn't agree that getting - and somehow transferring and installing to target machine - 39 packages with a total size of 23MB+(!!) would seem to be adequately described as "minimum of fuss"...
@ daxo:
You did not state what card you use, you will also need drivers specific to your radio, if they are included as stable in kernel they will most likely be in wireless-2.6.33.3-tinycore.tcz, in other case they might be in a different extension.
-
after painstakingly downloading all 39 .tcz by hand and then almost equally painstakingly loading all 39 by hand into tinycore (fortunately i didnt know how to make them persistent so i have to reload them by hand next time-if there is a next time- by hand too. wouldnt it be nice to have tinycore help files in tinycore itself rather than just on the websight which i cannot access yet from within tinycore? though user friendly does not seem to be the linux way)
i sudo wicd-start and get an error something like usr/local/share/wicd/daemon/wicd-daemon.py in line 46 in <module> import gobject import error: no module named gobject
@tinypoodle referring to the original instructions in the wiki i decided that the only way i stood a chance was to use a gui, i have no clue about what to edit config files to say. 5 hours of tedious work beats the blinking cursor, oh wait i seem to have gotten there anyway.
clues/suggestions anyone?
-
@daxo
tce-load -i *.tcz
No need to load one-by-one :)
-
ah brilliant thank you curaga!
but the bigger problem is still the error that doesnt permit wicd to run....
-
You must be running in Cloud Mode.
You need to read:
http://www.tinycorelinux.com/intro.html
and
http://www.tinycorelinux.com/concepts.html
To at least understand that you need to have a level one directory named tce on a supported partition. And all those extensions should be located there in a subdirectory named optional, e.g. hda1/tce/optional
And those that you wish to load upon boot be listed in a simple text file named onboot.lst located in the tce directory, e.g., hda1/tce/onboot.lst
Then the extensions will not only persist but auto load.
39 extensions mostly for a GUI :o
-
@tinypoodle referring to the original instructions in the wiki i decided that the only way i stood a chance was to use a gui, i have no clue about what to edit config files to say.
Not to be misunderstood, the method of just having to edit config files would only work with very specific drivers by exception.
Using nothing more than wireless_tools should work universally though to connect to any open or WEP encrypted AP. (It has always worked for me with any distro with any radio - with the single exception of ubuntu where I found many things to be broken and not to work as expected...)
In case of wanting to connect to a WPA encrypted AP, i suppose wpa_supplicant (which appears to have openssl-0.9.8 as a dependency) would be required in addition.
You mentioned about a password, but you never made clear if that refers to WEP or WPA encryption...
Also you didn't mention what the chipset of your card is, and if you have found a driver for it in TC repos, which is more basic than configuration tools.
-
much thanks to all who have tried to help me on this.
i am getting quite sad that i am not able to figure this out.
@ curaga
@daxo
tce-load -i *.tcz
No need to load one-by-one :)
i was unable to reproduce your suggestion. surely you aren't suggesting i am to type the name of each of the 40 files by hand in lieu of the asterisk? that would be faaaar more time consuming than clicking hundreds of times in the app browser. have i missed something?
@tinypoodle thanks for taking the time to follow this thread and to reply. unfortunately i don't really understand much of what you have said. i am still trying to get wcid to run. until that happens unfortunately it doesnt really matter what type of password it is. sorry and thanks for your suggestions.
You must be running in Cloud Mode.
@roberts i _am_ running in cloud mode. but from the links you included (which i had read before, and i very much dig the minimalist philosophy) i would think i need to be in mount or perhaps copy mode.
as per one of the wikis, i had already created folders /tiny and /tce/optional inside tce, and i have now placed the .tcz files inside /tce/optional and created an onboot.lst text document there as well but even though tc is in that partition it does not mount on boot and thus nothing loads. would that be fixed by changing to mount mode?
i am not from the windows/linux world, i have always used macs (well, punch cards in the 80's and BASIC on trs80's before that) so the changing names of drives is very confusing. how do i specify the absolute position of something that is a variable?
(in case that last is not clear: i am booting from a usb stick, but it changes names, sometimes its sdb1, sometimes sdc1, sdd1 or even sdf1, and also can be called dev_ro2 or home depending, and i dont really know depending on _what_)
apologies to those annoyed by these basic questions, and gratitude for those who take the time to put up with me. i realise you have better things to do. i have been wrestling on my own with this for a month and realised that i need to use community to help. thanks so much.
-
oops, just found the answer to the last question (how to specify absolutes of variable drive names) at http://wiki.tinycorelinux.com/Boot+codes+explained now need to find the uuid, ok.
my bad. i'm quite overwhelmed by this process.
thanks again to all.
-
@tinypoodle thanks for taking the time to follow this thread and to reply. unfortunately i don't really understand much of what you have said. i am still trying to get wcid to run. until that happens unfortunately it doesnt really matter what type of password it is. sorry and thanks for your suggestions.
My line of thought was to avoid wicd altogether until you first are able to connect to the AP/internet in a much less complicated way, and then can use the power of TC's builtin tools and extensions in combination with an internet connection to do whatever you want.
Troubleshooting of a program which depends on 38 other extensions does not seem like a peace of cake to me, by pure statistical means. (looks like some python stuff is where it's going wrong)
Either way, configuration of your card (and utilities to do so) should not be your first concern before having it recognized by the system and working with a suitable driver (except if wicd would be of any help with such which i wouldn't know).
-
@tinypoodle
you are absolutely correct sir (or madam, whichever you may be)
but given that reading the "another easy way" at http://wiki.tinycorelinux.com/Setting+up+Wifi also involved downloading dozens of dependancies and also left me not even able to formulate a question about how to procede. that is why i was foolin with wicd in the first place.
you know, i booted android on this netbook a couple of days ago. its pretty lame but it actually works: connects to wifi, stays connected, remembers my password, and i can check my email. i think it would be *awesome* if someone came up with a version of tinycore that was half as user friendly. it would be amazing.
we had 3 days of some of the nicest weather of the year, i've spent that (~10+hrs a day) inside trying to get tinycore to work (after a 3+ weeks of another linux distro that sort kinda works but not really) and i have to say that i'm done, and very sad about it. all i want to do is check my email, not earn a masters degree in computer sciencing.
thanks to all who took the time to help me out and best of luck to your project.
-
i sudo wicd-start and get an error something like usr/local/share/wicd/daemon/wicd-daemon.py in line 46 in <module> import gobject import error: no module named gobject
This looks like pygtk or pygobject is missing, but too late?
-
i dont have any way of diagnosing python errors :(
basically i have given up on tinycore. the premise seems great, the philosopy is spot on, but if i cant get online i cant do anything with it.
i'd love for someone to let me know how to do it, and yes i've read dozens of pages of tutorials wikis and forums and most of it is beyond my comprehension, not applicable to me, or both. seems like it would be simple enough to build in wifi support to tc, or at least as a separate but single add-on package (and the purist in me likes tc's minimal approach, while the pragmatist in me would like to actually use it).
i'll check back to this thread to see if anyone comes up with anything but basically i've given up, not without regret (if only at the enormous time invested coming to so little).
i especially want to thank those who helped me try, and not a single disparaging comment for this beginner (unlike some other linux forums i've used). cheers!
-
after painstakingly downloading all 39 .tcz by hand and then almost equally painstakingly loading all 39 by hand into tinycore (fortunately i didnt know how to make them persistent so i have to reload them by hand next time-if there is a next time- by hand too.
Yikes!!!
It would be easier (and less frustrating) to download everything using the appbrowser tool over a wired connection at your neighbor's house or work.
In any case, the wicd package requires 40 extensions in total:
Xorg-7.5-lib.tcz
atk.tcz
bash.tcz
bzip2-lib.tcz
cairo.tcz
dbus-glib.tcz
dbus-python.tcz
dbus.tcz
expat2.tcz
fontconfig.tcz
glib2.tcz
graphics-libs-1.tcz
gtk2.tcz
libcroco.tcz
libffi.tcz
libglade.tcz
libgsf.tcz
libiconv.tcz
librsvg.tcz
libxft.tcz
libxml2.tcz
ncurses-common.tcz
ncurses-utils.tcz
ncurses.tcz
openssl-0.9.8.tcz
pango.tcz
pixman.tcz
pycairo.tcz
pygobject.tcz
pygtk.tcz
python.tcz
shared-mime-info.tcz
sqlite3.tcz
tcl_tk.tcz
ttf-bitstream-vera.tcz
urwid.tcz
wicd.tcz
wireless-2.6.33.3-tinycore.tcz
wireless_tools.tcz
wpa_supplicant.tcz
...and 26 dependency files:
atk, bash, cairo, dbus-glib, dbus-python, dbus, fontconfig, gtk2, libcroco, libglade, libgsf
librsvg, libxft, ncurses-utils, ncurses, pango, pycairo, pygobject, pygtk, python
shared-mime-info, tcl_tk, urwid, wicd, wireless_tools, wpa_supplicant
i sudo wicd-start and get an error something like usr/local/share/wicd/daemon/wicd-daemon.py in line 46 in <module> import gobject import error: no module named gobject
As Juanito already suggested, you're most likely missing the pygobject extension, or forgot to load it.
-
@combo3
since i was trying to get wicd.tcz, i had to download wicd+39=40 items total, which i downloaded and double (at least) checked to make sure i got them all. sorry for the confusion, i'm confused!
pygobject was installed (quadruple checked that since that seemed to me to relate to the error.)
i am curious about the 26 dependancy files you have listed, which seem to have the same names as some of the 40 .tcz items. are the .tcz not dependancies? there were no additional listings on the download page. (ie, cairo.tcz was there but not cairo dependancy)
EDIT just looked at another thread with a user having a very similar issue to mine (trying to get up and running on wireless) and seems as if there are such things as .dep files. i did not notice these on the downloads page referenced earlier in this thread. are they somewhere else? or am i just a blind fktard? thanks.
fwiw i unload trucks for a living and while they are full of wire, the wires attach to 1200a 3 phase generators, not to the internet; i dont exactly live in a "howdy neighbor can i borrow a cup of sugar and an rj11 connection" kind of apartment building. i do know a linux user who has a wire; when he and i have a day off in common i will try to arrange a visit, he lives less than an hour away so it should be easy. though i cant help but think this should be easy-er.
whatev, if i can get over there it will render the entire thread moot....
-
daxo - I just posted a script in programming and scripting that is just for your situation, to quickly and easily set up a TC directory from another network connected distro. Fetches extensions and their dependencies into a specified tce directory. I am hoping that may help folks in your situation.
-
Perhaps we could extend the tc network tool to cope with iwconfig and wpa_supplicant!
Although this doesn't work for headless setups, oh may...
-
@ jason w i am grateful and humbled for the script you wrote. however i am completely unlearned as to what to do with it. i really appreciate your efforts and hope that it will be of use to others in my situation.
@combo3 your list of extensions is quite different from that listed in the repository (if that is indeed what the websight is known as). i will download the .tcz files that are on your list too and see if that works better.
it would seem that there are errors in dependancy lists. wpa_supplicant lists qt-4.x-base.tcz as a dependancy, not found on any other list that i'm aware of, and wireless_tools.tcx lists wireless-KERNEL.tcz as a dependancy, i was unable to find it in the repository websight nor via google searches.
i also tried downloading the wpa_gui and all dependancies listed (except wireless-KERNAL.tcz as noted above). running a scan as described in the wiki on setting up wireless, i recieved an error that the network is down, unable to connect. the network is in fact up, i am using my phone over the same wireless network to type this message. i googled the error message and found items on other distributions recieving same but their supplications were either unanswered or their issue diverged from mine.
using modprob -l grep ath it shows the ath9k driver or extension (not sure of the nomenclature here sorry) but under lsmod the main driver is listed as process 0 which i dont believe exists. (sorry again i dont have it in front of me to be as precise as might be needed to diagnose).
thanks in advance for any assistance!
-
I believe you'll need the following extensions:
wireless_tools.tcz
wireless-2.6.33.3-tinycore.tcz
wpa_supplicant.tcz
openssl-0.9.8.tcz
-
thanks to the gracious help of forum members i have learned how to download extensions, and to make them persistant in a mount mode tc on a usb stick. though roberts seemed to indicate i must be in cloud mode for this to work, so i continue to be a bit confused there.
i have downloaded all the extensions listed for wicd.tcz to work, though as noted above there seems to be contradictory info as to which and how many extensions there are is depending where one references.
also i am a bit confused as to the exact meaning of "dependancy", i believe that the various extensions "depend" on other extensions to work, but combo3's posting seems to indicate there are separate dependancy files neccessary as well, ie not only atk.tcz but also an atk dependancy file. i am unclear on this, and i have found neither an answer nor a place to download such files.
@juanito the extensions you mention are a subset of the wicd extension set, i have previously downloaded them AND those dependancies which are not explicitly mentioned in your post.
where i am at right now: unclear on a few items, mentioned above though none seems fatal. main issue: wifi still does not work. symptoms described in my post #22 above. perhaps i need to rename/start new thread? help! thanks!
-
Let me be clear then...
Your first complaint was that you were having to download 39 extensions every time you booted.
That would indicate that you have no persistent /tce directory setup. That is cloud mode.
I suggested you read introductory documents to learn of the requirement to have setup such a persistent directory. Which you have now achieved.
As several have pointed out, for many, only two, three, or four extensions are required for wireless. That is if you are comfortable with the command line or at least following a wiki.
For those who need/desire/require a full blown GUI, then that GUI will likely depend on many many libraries up to including the one you chose, 39. It is not the requirements of wireless but the GUI tool.
Still your wireless card may require firmware which may be hosted or not, it may in fact, need to be extracted, or possibly even using ndiswrapper.
The more information you can provide regarding your wireless card will enable other to help.
-
@ roberts
i have tried all 3 methods listed in the tc wiki "connect to wifi". i tried the "easy" one first because i thought it would be easier, and gradually worked my way to method 3. i am not "afraid" of using the terminal but i am starting from zero so i believed a gui would be helpful. i often don't know how to interpret console outputs, or know what to do if it does/yields something other than what is in the wiki.
running iwconfig yields info about the interfaces but not the hardware itself. i did look for the hardware info but couldnt find it. is there a command line for discovering this? i would love to learn it. i have an acer aspire one d260; searching other forums tends to indicate the ath9k driver/module/extension work with this laptop, and modprobe shows these drivers are in fact present. lsmod seems to show that everything is there, but i'm not sure.
running the wga_gui results in
current status: could not get status from wpa_suppicant
in menu: network/ add i get error popup "failed to enable network in wpa_supplicant configuration" no matter what i enter in the fields. i was unable to reproduce the error "network down" i mentioned before, i no longer seem to get that far (see below)
i would be happy to re-run this in console, and even happier to learn how to do such.
i will note that i found the dependancy files (they are on the http sight but not the ftp sight i had been downloading .tcz from); adding them to /tce/optional loads all dependancies automatically. genius! but not well documented. here is the important part: error "wireless-KERNEL.tcz not found" (sorry dont remember now if it was a dash or underscore) when installing wicd in the app browser, and wicd will no longer even start. i assume the dependancy text files which automatically load dependancies also block apps from installing/running if the dependancies are not install-ed/-able. this .tcz is not to be found via the google searches i have used. any info available is appreciated. again, i don't have a problem with doing this all from command line and abandoning wicd and wpa-gui. but i am concerned that it is the absence of wireless_KERNEL.tcz that is mucking up the works.
thanks again for your time and patience
-
hi
I do not have any wireless net but you may have been asked to name your wireless device?
You can post the output of
lspci
(and)
lsmod
You may see in the link below that some use Atheros but models differ
http://www.linuxquestions.org/hcl/showcat.php?cat=all&stype=1&si=aspire+one
Some of the atheros modules are showing as ath....in this link..AFAIK
http://distro.ibiblio.org/pub/linux/distributions/tinycorelinux/3.x/tcz/wireless-2.6.33.3-tinycore.tcz.list
good luck
-
tc@box:~$ lspci
sh: lspci: not found
tc@box:~$ lsmod
Module size Used by Not tainted
ath9k 47516 0
ath9k_common 1304 1 ath9k
mac80211 87580 2 ath9k, ath9k_common
ath9k_hw 179940 2 ath9k, ath9k_common
ath 5584 2 ath9k, ath9k_hw
cfg80211 73276 4 ath9k, ath9k_common,mac80211,ath
squashfs 14728 0
ramzswap 10240 1
loop 8068 0
scsi_wait_scan 276 0
battery 6028 0
ac 1696 0
video 12712 0
backlight 1632 1 video
output 724 1 video
wmi 3656 0
atl1c 18936 0
i dont know if this is helpful: running system stats mini app from the panel shows
wlan0 link encap: ethernet HWaddr 78:E4:00:7B:52:07
UP BROADCAST MULTICAST MTU:1500 Metric:1
and all the stats after that are 0 except txqueuelen:1000
also in system stats/ dmesg at the very end there is some stuff about ath9k
i'm typing all this on my phone from what i read on the screen so only what seems important
phy0: Selected rate control algorithm kath9k_rate_control'
Registered led device: ath9kophy0::radio
Registered led device: ath9kophy0::assoc
Registered led device: ath9kophy0::tx
Registered led device: ath9kophy0::rx
phy0 Atheros AR9285 Rev:2 mem=0xf8320000, irq=17
atl1c 0000:01:00.0: irq 27 for MSI/MSI-X
thanks so much for the continuing help and responses
(the linux help page was busy, i will search for aspire one d260 when it becomes available again)
-
A driver seems to be loaded and an interface created :)
ifconfig wlan0 up
to bring interface up
can you post output of
iwconfig
Do you know:
1. ESSID of net you want to connect to
2. if there is a password, if encryption type is WEP or WPA2 ?
-
@combo3 your list of extensions is quite different from that listed in the repository (if that is indeed what the websight is known as). i will download the .tcz files that are on your list too and see if that works better.
Those were all the extensions that downloaded after I did a clean boot (base system, no restore). It appears that the old tree is missing the ncurses related extensions.
wireless_tools.tcx lists wireless-KERNEL.tcz as a dependancy, i was unable to find it in the repository websight nor via google searches.
My bad. When you download wireless-tools via appbrowser, wireless-KERNEL.tcz is automatically replaced with the proper dep file (wireless-2.6.33.33-tinycore.tcz or wireless-2.6.33.33-tinycore64.tcz) depending on which kernel you are running (32 or 64 bit); so you'll need to change it manually.
Open a terminal, go into your tce/optional directory, and enter the following at the prompt:
echo wireless-2.6.33.3-tinycore.tcz > wireless_tools.tcz.dep
tc@box:~$ lspci
sh: lspci: not found
You need the following extensions & dependency files:
libpci.tcz
pci-utils.tcz
pci-utils.tcz.dep
Then install pci-utils with appbrowser (which will automatically load libpci)
Now for the rest:
1. Bring up the interface:
sudo ifconfig wlan0 up
2. Check your card is on:
ifconfig
You should see something similar to the following:
wlan0 Link encap:Ethernet HWaddr 00:11:2A:3B:44:5D
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
3. Scan for wireless networks:
sudo iwlist wlan0 scan
You should see a list similar to this:
wlan0 Scan completed :
Cell 01 - Address: 00:16:B6:C0:33:69
Channel:6
Frequency:2.437 GHz (Channel 6)
Quality=15/100 Signal level=15/100
Encryption key:on
ESSID:"secure-spot"
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
24 Mb/s; 36 Mb/s; 54 Mb/s
Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s
Mode:Master
Extra:tsf=00000006d0fd3183
Extra: Last beacon: 776ms ago
IE: Unknown: 0006672D73706F74
IE: Unknown: 010882848B962430486C
IE: Unknown: 030106
IE: Unknown: 2A0104
IE: Unknown: 2F0104
IE: Unknown: 32040C121860
IE: Unknown: DD09001018020014000000
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
4. Select the network you wish to connect to and note the type of encryption used
5. Connection examples:
a) Non-secured network
sudo iwconfig wlan0 essid "linksys"
b) Secured network using WEP and a Hex key
sudo iwconfig wlan0 essid "default" key 12A1baf345d
c) Secured network using WEP and an ASCII password
sudo iwconfig wlan0 essid "my_home" key s:passphrase
d) Secured network using WPA - see below
6. Request an IP address
sudo udhcpc -b -i wlan0
7. Check your connection
ifconfig
You should see an IP address in the second line similar to the following:
wlan0 Link encap:Ethernet HWaddr 00:11:2A:3B:44:5D
inet address:192.168.0.101 Bcast:192.168.0.255 Mask:255.255.255.0
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Connecting To a Secured Network Using WPA
1. Create a configuration file in /etc :
wpa_passphrase "your_network" "your_password" | sudo tee /etc/wpa_supplicant.conf
2. Edit the config file as root user and add the following line at the top:
ctrl_interface=/var/tmp/wpa_supplicant
Your config file should look like similar to this:
ctrl_interface=/var/tmp/wpa_supplicant
network={
ssid="your_network"
#psk="your_password"
psk=bfd6f71da67902e35fb773cdeb77eef9867ee7bf1889a032365e808f0e81d2de
}
3. Copy and paste the following lines into a startup script named "wlanup"
#!/bin/sh
sudo wpa_supplicant -Bdd -Dwext -iwlan0 -c/etc/wpa_supplicant.conf
sudo udhcpc -b -i wlan0
4. Make the script executable
chmod +x wlanup
5. Run the script
./wlanup
Persistence
Once everything works, add the config file to .filetool.lst
echo etc/wpa_supplicant.conf >> /opt/.filetool.lst
-
Perhaps a change of subject of last post is in order?
Appears to me rather like (a complete) "How to connect to a wireless network"
Also useful for those already having appbrowser working in one or the other way, but no wireless connection yet.
Not to say this might be useful to be mentioned in wiki for its completeness of logical steps.
Note:
If output of
sudo iwlist 'interface' scan
does contain anything like TKIP or PSK, one would be sure network is WPA(2) encrypted.
However, such output is created by some drivers, but with others drivers there is no visible distinction between WEP or WPA(2) encryption.
-
iwlist scan, not iwconfig
-
Ooops, given enough eyeballs, all bugs are shallow...
Post which was written before my first coffee corrected. :-[
-
Perhaps a change of subject of last post is in order?
Appears to me rather like (a complete) "How to connect to a wireless network"
Well, the title of this thread is "Setting up wifi / downloading .tcz packages WITHOUT app browser" ???
Plus we're 30+ posts in and the OP still doesn't have his wireless up. For a seasoned linux guru this might be simple, but to someone familiar with only a GUI it's a different story; so I don't think a little hand-holding is too off-topic. ;)
However, I'll let the mods decide whether or not my instructions warrant splitting off to a separate topic.
-
daxo-
To use the script just download it with your browser, then make executable in a terminal:
chmod +x filltcedir
Then run it in a terminal
./filltcedir
Then answer the questions. While not a guarantee of getting wireless running, it may at least give a graphical environment to boot into with TC to work with.
-
Perhaps a change of subject of last post is in order?
Appears to me rather like (a complete) "How to connect to a wireless network"
Well, the title of this thread is "Setting up wifi / downloading .tcz packages WITHOUT app browser" ???
Plus we're 30+ posts in and the OP still doesn't have his wireless up. For a seasoned linux guru this might be simple, but to someone familiar with only a GUI it's a different story; so I don't think a little hand-holding is too off-topic. ;)
However, I'll let the mods decide whether or not my instructions warrant splitting off to a separate topic.
No opposition to "off-topic" here, the opposite rather; afraid what would be valuable as a basic "How-to" for starters - and is generally valid (not even distro specific) - even if internet access of some sort other than wireless already exists - would be buried within a long thread. :-\