WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: yet another wireless issue  (Read 4210 times)

Offline crito

  • Newbie
  • *
  • Posts: 7
yet another wireless issue
« on: February 21, 2010, 08:59:18 PM »
New to Tiny Core. I have TC installed on a USB stick, plugged in to an eeepc 1000. Installed rt2860.tcz and wicd.tcz.

Everything seemed to be fine, wicd recognizes my AP, however, when I try to connect to it I error out during the validation stage (Connection Failed: Bad Password). Encryption is WPA PSK, and the key is correct.

Not sure where to go from here. iwconfig shows the rt2860 module loaded.

Is there a file somewhere I need to tweak? I can't make the password any more correct.

Has anyone else seen this?

thx in advance,
m

Offline baz

  • Full Member
  • ***
  • Posts: 216
Re: yet another wireless issue
« Reply #1 on: February 22, 2010, 01:56:06 PM »
Yeah, WICD won't work with WPA. Do this:

To setup Wifi with WPA2 let's install what we need. In the AppBrowser search for "wireless" and install:

- wireless_tools.tcz: General wireless tools.
- wpa_supplicant.tcz: Utility to handle WPA encryption.
- rt2860.tcz: A special driver for the RALink network card that is specific to the EEE 901. Other EEE's may not need this, or need a different driver. I will work on covering them all in the near future.

Now open a blank document in Leafpad and type the following content making sure to replace what is in square brackets with your own setup details:

/sbin/ifconfig ra0 up
/usr/local/sbin/iwconfig ra0 mode managed
/usr/local/sbin/iwpriv ra0 set AuthMode=WPA2PSK
/usr/local/sbin/iwpriv ra0 set EncrypType=TKIP
/usr/local/sbin/iwconfig ra0 essid [your essid]
/usr/local/sbin/iwpriv ra0 set WPAPSK=[your pass phrase]
/usr/local/sbin/iwconfig ra0 essid [your essid]
sleep 2
/sbin/udhcpc -b -i ra0

Make sure that you type everything exactly as it is. Mind your case and make sure "EncrypType" has only one "T". Then Save the file in /opt/connect_wireless.sh and exit. Now start another instance of Leafpad and open the file /opt/bootlocal.sh. After the commented out lines (beginning with a pound #), type the following, then save and exit:

sh /opt/connect_wireless.sh

That should be it. Let's test our connection. Unplug your wired connection, and reboot (uncheck "Backup"). Wait a few seconds then try connecting to the AppBrowser. If the apps load up, you are connected! If not we need to do some debugging.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: yet another wireless issue
« Reply #2 on: February 22, 2010, 02:00:55 PM »
Yeah, WICD won't work with WPA.

What? WICD features:

# Compatible with standard *nix networking commands (iwconfig, ifconfig, etc)
# Once configured, will connect even if the X display does not start
# Can be configured via the command line using wicd-curses
# Support for wired networks, as well as named profiles to save multiple wired configurations.
# Supports configuring static IP addresses and DHCP on a per network basis
# Store different static IPs, gateways, subnet masks, DNS server addresses per network
# Automatically connect at boot - no user intervention required, even for encrypted networks
# Keeps network keys in root accesible only (600) files (unencrypted, however)
# Encryption (template based)

   1. WPA 1/2
   2. WEP
   3. LEAP
   4. TTLS
   5. EAP
   6. PEAP

# Automatically connects at resume from suspend
# Displays information about the network
# Ability to run scripts before/after connecting/disconnecting
# A console interface (wicd-curses)
« Last Edit: February 22, 2010, 02:02:27 PM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline baz

  • Full Member
  • ***
  • Posts: 216
Re: yet another wireless issue
« Reply #3 on: February 22, 2010, 02:03:49 PM »
Well let me rephrase that - after many, many, many hours/days of reading docs, experimenting, re-formatting, etc. I couldn't get it to work :)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: yet another wireless issue
« Reply #4 on: February 22, 2010, 02:08:31 PM »
Well let me rephrase that - after many, many, many hours/days of reading docs, experimenting, re-formatting, etc. I couldn't get it to work :)

This is your problem. But PLEASE, do not tell others such statement about a program which is not true.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline baz

  • Full Member
  • ***
  • Posts: 216
Re: yet another wireless issue
« Reply #5 on: February 22, 2010, 02:12:13 PM »
It was true for me, but since you know otherwise, thank you for correcting it.

Offline crito

  • Newbie
  • *
  • Posts: 7
Re: yet another wireless issue
« Reply #6 on: February 22, 2010, 02:38:49 PM »
hey bmarkus,

that was a very informative info-mercial on the virtues of WICD

do you have any constructive suggestions on why I cant connect to my network?

btw, i also tried the wpa_gui. Same thing, won't authenticate

m

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: yet another wireless issue
« Reply #7 on: February 22, 2010, 04:42:01 PM »
Some cards only accept the passphrase in hex instead of a string. There are converters online and offline for that, might be worth a shot.
The only barriers that can stop you are the ones you create yourself.

Offline crito

  • Newbie
  • *
  • Posts: 7
Re: yet another wireless issue
« Reply #8 on: February 22, 2010, 05:23:00 PM »
thanks, curaga, but that can't be it. I have installed Debian on this netbook with no networking problems. It's a string.