Wi-Fi

From AlwaysInnovating

(Redirected from Wifi)
Jump to: navigation, search

Connection instruction

To connect your Touch Book to a wireless internet connection, use the Networking control panel.

  1. Click on the Network icon in the status bar
  2. This display a list of nearby networks. Select the one you want to connect to and press the "Connect" button.
  3. If the network requires a password, you will be prompted to enter it now. You will need to use the HEX pass phrase.
  4. You're now connected to wireless network.


Various comments

- Wi-Fi Driver is rt3070sta.ko. "lsmod" should report it. It's compiled from the Ralink open source code. The Openembedded recipe is available in the Always Innovating git tree here. The recipe source is listed below:

DESCRIPTION = "Ralink 3070"
SECTION = "kernel/modules"
LICENSE = "GPLv2"
PR = "r2"

inherit module

SRC_URI = "http://www.ralinktech.com.tw/data/drivers/2009_0525_RT3070_Linux_STA_v${PV}.tar.bz2 \
           file://RT2870STA.dat \
           file://makefile.patch \
	   file://config.patch \
	 "

EXTRA_OEMAKE = "LINUX_SRC=${STAGING_KERNEL_DIR}"

S = "${WORKDIR}/2009_0525_RT3070_Linux_STA_v${PV}"

do_install() {
	install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
	install -m 0644 ${S}/os/linux/rt3070sta.ko ${D}${base_libdir}/modules/${KERNEL_VERSION}/kernel/drivers/net/wireless
	install -d ${D}/etc/Wireless/RT2870STA
	install -m 0644 ${WORKDIR}/RT2870STA.dat ${D}/etc/Wireless/RT2870STA
	install -d ${D}/lib/firmware
	install -m 0644 ${S}/common/*.bin ${D}/lib/firmware/
}

PACKAGES =+ "${PN}-firmware"
FILES_${PN}-firmware = "/etc /lib/firmware"

RDEPENDS_${PN} = "${PN}-firmware"

SRC_URI[md5sum] = "705c5f8ba0f8a378218fef74859335f5"
SRC_URI[sha256sum] = "b2a24265bb29f4d429ec42fefbfc545b898c8c046c01c577ca08d9cc65c860d7"

See this bug report http://bugzilla.alwaysinnovating.com/show_bug.cgi?id=8&action=View for a patch and updated recipe file to enable WPA-Enterprise support in the driver.


Break through

  1. The wpa_supplicant tool and the configuration file wpa_supplicant.conf managing the Wi-Fi definitions.
  2. Start iwconfig to see the current active interface.
  3. At least use iwpriv to communicate directly with the rt3070 driver:
iwpriv ra0 radio_off
 - turn radio module off to save power consumption.
iwpriv ra0 radio_on
 - turn radio module on
iwpriv ra0 show TxPower
 - display transmitter power in percent.
iwpriv ra0 set TxPower=30
 - change transmitter power to 30% to save power consumption.
Personal tools