Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => iMX233 => Topic started by: idragoev on November 06, 2012, 02:21:27 pm

Title: ArchLinux + USB-WiFi
Post by: idragoev on November 06, 2012, 02:21:27 pm
Hi,
I just have my Olinuxino Micro + WiFi dongle + Micro SD card with Arch Linux on it.
How to setup the wireless network? I see the ipconfig but I do not have ifup/ifdown, etc. Is there a tutorial for thaT?

Thanks.
Title: Re: ArchLinux + USB-WiFi
Post by: Kean on November 06, 2012, 03:59:40 pm
It depends on the USB WiFi module you are using, and whether the drivers are available.

I've written up some note on setting up an ArchLinuxARM image on our dev blog at
http://dev.moorescloud.com/2012/11/02/getting-your-microsd-card-boot-image-ready/

The problem with a Micro is that you don't have network access to install drivers before you get the WiFi working.  So to get an initial image prepared, you need to either:
- use a Maxi to prepare the SD card (like I did)
- use a WiFi module with built in drivers and unsecure WiFi network
- use a USB ethernet module with built in drivers for initial config
- load all the files on the SD using a separate Linux machine

Sorry I couldn't provide an easier solution.

HTH,
Kean
Title: Re: ArchLinux + USB-WiFi
Post by: Bobi on November 09, 2012, 07:07:13 pm
Hi all,

Kean, thanks for the reply on this topic! The tutorial you suggested is great, however I find it a little bit confusing in some of the steps. Please, can you make it more clear for me:

This is wanted in step 9) where the blog says that I need the Realtek 8192cu driver for the Wifi, and it gives a command: "unzip 8192cu.zip && mkdir -p /lib/modules/`uname -r`/kernel/drivers/net/wireless/rtl818x/ && cp 8192cu.ko /lib/modules/`uname -r`/kernel/drivers/net/wireless/rtl818x/ && depmod -a"

So where should I execute this? I guess if I get the 8192cu.ko on the board I would be able to execute the second part of the command and everything will be fine.

So, I tried to find out how to get the file on the board. I tried two things:


Any ideas? I'm sure it is something stupid that I'm missing, but I have no idea what it is.

(When I tried to transfer the file through the USB - the board kept on restarting and I didn't make it work either)

Thanks!
Title: Re: ArchLinux + USB-WiFi
Post by: Bobi on November 10, 2012, 11:55:52 am
Hi again,

I think I figured it out using picocom which I found here:
https://www.olimex.com/forum/index.php?topic=94.0

Thanks for the nice tutorial there and I also think it would be good to have a wiki :)
best