WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Wifi on ASUS eee pc 1000HE (with WEP)  (Read 8618 times)

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Wifi on ASUS eee pc 1000HE (with WEP)
« on: July 29, 2009, 03:35:33 PM »
It's good to be back, I have nice memories about DSL and it is especially nice to see some familiar people around  :)

In my first post let me share my successful activation of wifi with WEP. I've read bits and pieces here on the forum and elsewhere.

In a Terminal type:

Code: [Select]
sudo iwconfig wlan0 essid "MY ESSID"
sudo iwconfig wlan0 mode managed key "MY KEY"
sudo ifconfig wlan0 up
sudo udhcpc -i wlan0

To do this at every boot, add the above (without sudo) to /opt/bootlocal.sh

Please reply if there is a better way of doing this.

Edit: added how to make this run at every boot.
« Last Edit: August 10, 2009, 04:44:39 PM by BobTarragon »

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Wifi on ASUS eee pc 1000HE
« Reply #1 on: July 30, 2009, 03:15:46 PM »
not better, but shorter:

1. cpanel, dhcp server on wlan0;
2. sudo iwconfig wlan0 essid MYESSID key MYKEY

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Wifi on ASUS eee pc 1000HE
« Reply #2 on: July 30, 2009, 10:58:30 PM »
iirc, if you use the gui, i.e. from cpanel, a script will be generated and saved as something like /opt/my*.sh

Offline BobTarragon

  • Newbie
  • *
  • Posts: 13
Re: Wifi on ASUS eee pc 1000HE
« Reply #3 on: July 31, 2009, 12:49:51 PM »
iirc, if you use the gui, i.e. from cpanel, a script will be generated and saved as something like /opt/my*.sh
So I use Netcardconfig in Control Panel (called Panel in the bar) and set interface to wlan0,  set Use DHCP Broadcast to yes and then click Apply. This generates /opt/wlan0.sh which contains:
Code: [Select]
#!/bin/sh
pkill udhcpc
udhcpc -H box -b -i wlan0
I don't think this will work... or did you mean that this file can then be modified by adding all else needed, and then /opt/wlan0.sh added to /opt/.filetool.lst ?

Offline ^thehatsrule^

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 1726
Re: Wifi on ASUS eee pc 1000HE
« Reply #4 on: July 31, 2009, 06:12:36 PM »
Yes, something like that.  The user spillz recently added a "setting up wifi" wiki article which may be of interest.

Offline mcnalu

  • Newbie
  • *
  • Posts: 20
Re: Wifi on ASUS eee pc 1000HE
« Reply #5 on: August 01, 2009, 05:30:32 AM »
Here's what I've got in bootlocal.sh on my 1000H eee pc.

Notes:
1. No need for sudo
2. The SSID is set twice due to a bug in the driver (though this may be fixed)
3. driver is in tc2.x in wireless-2.6.29.1-tinycore.tcem, but compiling from source in tc1.x wasn't hard.

Code: [Select]
#!/bin/sh
# put other system startup commands here

ifconfig ra0 up

iwpriv ra0 set NetworkType=Infra
iwpriv ra0 set AuthMode=WPAPSK
iwpriv ra0 set EncrypType=TKIP
iwpriv ra0 set SSID=MYSSID
iwpriv ra0 set WPAPSK=MYVERYLONGHEX #use wpa_passphrase to generate
iwpriv ra0 set SSID=MYSSID

udhcpc -b -i ra0