Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
rtl8187 based USB wireless adapter?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  Messages 1 - 25 of 33 - Collapse all  -  Translate all to Translated (View all originals)   Newer >
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Nelson Neves  
View profile  
 More options Jul 1 2009, 8:31 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Wed, 1 Jul 2009 17:31:47 -0700 (PDT)
Local: Wed, Jul 1 2009 8:31 pm
Subject: rtl8187 based USB wireless adapter?
Hi,

is it possible to run a USB wireless adapter base on rtl8187 chip?
If so, can anyone please point me in the right directions!

Thanks in advanced,

Nelson.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jonathan Roozing  
View profile  
 More options Jul 2 2009, 1:54 am
From: Jonathan Roozing <jrooz...@yahoo.com>
Date: Wed, 1 Jul 2009 22:54:44 -0700 (PDT)
Local: Thurs, Jul 2 2009 1:54 am
Subject: Re: [bifferboard] rtl8187 based USB wireless adapter?

Hi,

I'm having the same problem.
As far as i know the latest Openwrt trunk has a package for this device.
Current Bifferboard source does not include this package.
I guess the next Bifferboard source will.
I'm just waiting for that.

Regards,
MRX

--- On Thu, 7/2/09, Nelson Neves <nelson.s.ne...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sunspot  
View profile  
 More options Jul 2 2009, 3:45 am
From: Sunspot <fgmarsh...@sunspot.co.uk>
Date: Thu, 2 Jul 2009 00:45:51 -0700 (PDT)
Local: Thurs, Jul 2 2009 3:45 am
Subject: Re: rtl8187 based USB wireless adapter?
For robot etc applications I would be pleased for *any* driver for a
current  USB WIFI  - and I would even buy a  new dongle for it!
(and - for the todo list - i2c write would still be nice!)

On Jul 2, 6:54 am, Jonathan Roozing <jrooz...@yahoo.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 2 2009, 5:22 am
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Thu, 2 Jul 2009 10:22:36 +0100
Local: Thurs, Jul 2 2009 5:22 am
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Hum, now I get it! I saw some references to rtl818x on OpenWrt but couldn't
find any related package on bifferboard!
Thanks for pointing this out!

Regards,

Nelson.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 2 2009, 5:41 am
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Thu, 2 Jul 2009 10:41:41 +0100
Local: Thurs, Jul 2 2009 5:41 am
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Hi Graham,

have you tried your D-Link DWL-G122 that you have used for slug?
I think this one is based on Ralink rt73, just giving a quick pick into
bifferboard source I found this package:

kmod-rt73-usb

Give it a try, I may also try this one latter! I would prefer to use the one
with
rtl8187but would have to wait! I'm using this one due the hardware specs:
http://forum.lowyat.net/topic/1059934

I2C write issue is not forgotten ... so many things to do right now :(

Regards,

Nelson.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sunspot  
View profile  
 More options Jul 2 2009, 12:59 pm
From: Sunspot <fgmarsh...@sunspot.co.uk>
Date: Thu, 2 Jul 2009 09:59:47 -0700 (PDT)
Local: Thurs, Jul 2 2009 12:59 pm
Subject: Re: rtl8187 based USB wireless adapter?
I did compile kmod-rt73-usb OK on v1.1 but it failed to compile for v2
- and version magic would not let me try the driver for v1.1.
I wanted to dump version magic to force  it a try the old driver but
could not see how to - so I gave up. This was a while ago before the
new net install etc.
Perhaps I am out of date......
Consoling myself with i2c greenhouse control via Sweex router at the
moment!

On Jul 2, 10:41 am, Nelson Neves <nelson.s.ne...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 2 2009, 4:44 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Thu, 2 Jul 2009 21:44:01 +0100
Local: Thurs, Jul 2 2009 4:44 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

I've tested the kmod-rt73-usb on bifferboard V14 and it still fails :(

...
make[4]: ***
[/home/nelson/bifferboardsvn14/bifferboard/openwrt/bin/packages/target-i386 _uClibc-0.9.29/kmod-crypto-core_2.6.27.5-bifferboard-1_i386.ipk]
Error 1
make[4]: Leaving directory
`/home/nelson/bifferboardsvn14/bifferboard/openwrt/package/kernel'
make[3]: *** [package/kernel/compile] Error 2
make[3]: Leaving directory
`/home/nelson/bifferboardsvn14/bifferboard/openwrt'
make[2]: ***
[/home/nelson/bifferboardsvn14/bifferboard/openwrt/staging_dir/target-i386_ uClibc-0.9.29/stamp/.package_compile]
Error 2
make[2]: Leaving directory
`/home/nelson/bifferboardsvn14/bifferboard/openwrt'
make[1]: *** [world] Error 2
make[1]: Leaving directory
`/home/nelson/bifferboardsvn14/bifferboard/openwrt'
make: *** [remake] Error 2

No luck for your D-Link! It seams there is some problem with the
kmod-crypto-core!


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 2 2009, 5:49 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Thu, 2 Jul 2009 22:49:19 +0100
Local: Thurs, Jul 2 2009 5:49 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Tried a different one, a Tp-Link TL-WN322G (based on zd1211rw) and got the
same problem of the kmod-crypto-core :( ... no more usb wifi  adapters to
test! I'm pretty sure that I saw some previous post where somebody mentioned
that they had one working!

I forgot to mentioned something, it asked for this question (on both tests):

> Salsa20 stream cipher algorithm (i586) (EXPERIMENTAL) (CRYPTO_SALSA20_586)

[N/m/y/?] (NEW)
I have tried m, y, and finally N, but no luck! ...

On Thu, Jul 2, 2009 at 9:44 PM, Nelson Neves <nelson.s.ne...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thar001  
View profile  
 More options Jul 2 2009, 6:05 pm
From: thar001 <thie...@echodelta.net>
Date: Thu, 2 Jul 2009 15:05:53 -0700 (PDT)
Local: Thurs, Jul 2 2009 6:05 pm
Subject: Re: rtl8187 based USB wireless adapter?
Hi,

In case you haven't seen it, I have also tried to use the rt73usb
driver and copied some informations on the way I used to compile it on
a previous
thread, here: http://groups.google.com/group/bifferboard/browse_thread/thread/da2f3....
The problem is that this process allows the compilation of the driver,
but leads to the creation of a module which makes the system crash
(reboot) after the first attempts to use the iwlist or iwconfig
commands.

 I have not already tried it, but maybe it could be possible to obtain
better results by including the rt73usb driver inside the kernel (make
kernel_menuconfig), instead of compiling it as a module via the
openwrt process (make menuconfig).

Thierry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 2 2009, 7:24 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Fri, 3 Jul 2009 00:24:59 +0100
Local: Thurs, Jul 2 2009 7:24 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Hi Thierry,

thanks for the thread, I was looking into the old group, forgot completely
to search here!
I found that the previous discussion is related to both of my USB dongles,
I'll give it another try tomorrow with the 'make kernel_menuconfig' instead.

Regards,

Nelson.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thar001  
View profile  
 More options Jul 3 2009, 7:53 pm
From: thar001 <thie...@echodelta.net>
Date: Fri, 3 Jul 2009 16:53:16 -0700 (PDT)
Local: Fri, Jul 3 2009 7:53 pm
Subject: Re: rtl8187 based USB wireless adapter?
Hi,

For the first time, the DWL-G122 adapter seems to be useable on my
board !

I haven't tried yet to connect to the network over encrypted modes
(only tried the managed open mode), but I can now ping and ssh the
board from my laptop, without the unstability problems (system
crashes) that I encoutered during my previous attempts.

For this, I compiled everything related to the rt73usb driver, and
more generally to wireless networking, directly into the kernel, using
the "make kernel_menuconfig" command.

As I mentionned it in a previous message, one important point related
to the rt73usb driver is that it needs to be used in conjunction with
the rt73.bin file, which contains the firmware of the adapter (you can
take a look to the thread mentionned above to see where you can get
it, and what are the questions arised by its use inside the kernel).
For my part, I obtained this file under Ubuntu via the command apt-get
install linux-
firmware, and copied it into a directory (/home/thierry/
rt73usb_firmware/) which must be specified during the kernel
configuration.

So here is how I proceeded, starting from an already built toolchain
via the standard bb-src-1.4 process :

$ cd openwrt

$ make kernel_menuconfig

----------------------------------------------

 Networking support > Wireless > Generic IEEE 802.11 Networking Stack
(mac80211) ---> y (built-in)

 Networking support > Wireless > Enable LED triggers ---> y

 Device Drivers > Network device support > Wireless LAN > Wireless LAN
(IEEE 802.11)  ---> y

Device Drivers > Network device support > Wireless LAN > Wireless LAN
(IEEE 802.11) >  Ralink driver support  ---> y

Device Drivers > Network device support > Wireless LAN > Wireless LAN
(IEEE 802.11) >  Ralink driver support > Ralink rt2501/rt73 (USB)--->
y

Device Drivers > Network device support > Wireless LAN > Wireless LAN
(IEEE 802.11) >  Ralink driver support > Ralink rt2501/rt73 (USB) >
Ralink rt2501/rt73 leds support ---> y

Cryptographic API > Deflate compression algorithm ---> y

Device Drivers > Generic Driver Options > Userspace firmware loading
support ---> y

Device Drivers > Generic Driver Options > Include in-kernel firmware
blobs in kernel binary ---> y

Device Drivers > Generic Driver Options > External firmware blobs to
build into the kernel binary ---> rt73.bin

Device Drivers > Generic Driver Options > Firmware blobs root
directory ---> /home/thierry/rt73usb_firmware/

----------------------------------------------

$ make menuconfig

----------------------------------------------

Base system > wireless-tools ---> y

(no further references to kmod-rt73-usb, because, of course,
everything related to the driver is now embedded in the kernel)

----------------------------------------------

make V=99

After the upload of the new kernel and the first boot, I can now do :

# cat /proc/net/wireless

# ifconfig wlan0 up

# iwlist wlan0 scan

# iwconfig wlan0 essid "linksys" mode managed key open

# ifconfig wlan0 192.168.2.110

# ping 192.168.2.100

without the crashes I previously encountered when I tried to use the
kmod-rt73-usb module compiled via the openwrt process (make
menuconfig).

I hope that this process will be useable for other adapters, and that
we will be soon able to use fully (including over wpa_supplicant) some
wireless adapters on the bifferboard.

Greetings,

Thierry


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 3 2009, 8:08 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Sat, 4 Jul 2009 01:08:38 +0100
Local: Fri, Jul 3 2009 8:08 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Thanks for the detailed explanation, I was supposed to try this tonight but
had some problems on other parallel test that I was doing with BB. I will
also test this with my DWL-G122.

Regards,

Nelson.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Sunspot  
View profile  
 More options Jul 4 2009, 7:06 am
From: Sunspot <fgmarsh...@sunspot.co.uk>
Date: Sat, 4 Jul 2009 04:06:02 -0700 (PDT)
Local: Sat, Jul 4 2009 7:06 am
Subject: Re: rtl8187 based USB wireless adapter?
Looking good! - but lots to do and lots of "gotchas" for *users*
rather than *developers*!

A point I keep making - what is the chance of ending up with a
"distro"?
1) a binary to burn in to the board
2) files for the memory stick

Due to the hated "Version Magic" it would be necessary to include a
full set of kmod files accepted by the particular board binary.
webcam/i2c/sound etc.

Might we get there in the end? I get loads of downloads by users from
my Sweex/Edimax router "distro" page.

I am sure there are many hardware builders who just want a distro that
works - more Bifferboard sales guaranteed!

http://www.sunspot.co.uk/Projects/sweexproject.htm

On Jul 4, 12:53 am, thar001 <thie...@echodelta.net> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 5 2009, 6:11 am
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Sun, 5 Jul 2009 03:11:02 -0700 (PDT)
Local: Sun, Jul 5 2009 6:11 am
Subject: Re: rtl8187 based USB wireless adapter?
Opened a new topic for this discussion:
http://groups.google.com/group/bifferboard/browse_thread/thread/40c2e...

On 4 jul, 12:06, Sunspot <fgmarsh...@sunspot.co.uk> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 5 2009, 7:24 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Mon, 6 Jul 2009 00:24:16 +0100
Local: Sun, Jul 5 2009 7:24 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Getting back to the original post objective!

I decided to give it a try and run Thierry test, but while I was inside the
make kernel_menuconfig I have spotted Realtek 8187 package related and so my
curiosity took me to test it!

This are my steps:

$ cd openwrt
$ make kernel_menuconfig
----------------------------------------------
 Networking support > Wireless > Generic IEEE 802.11 Networking Stack
(mac80211) ---> y (built-in)

 Networking support > Wireless > Enable LED triggers ---> y

 Device Drivers > Network device support > Wireless LAN > Wireless LAN
(IEEE 802.11)  ---> y

Device Drivers > Network device support > Wireless LAN > Wireless LAN
(IEEE 802.11) >  Realtek 8187 and 8187B USB Support  ---> y

--- (no more options available)

--- (no more options available)

Cryptographic API > Deflate compression algorithm ---> y

Device Drivers > Generic Driver Options > Userspace firmware loading
support ---> y

Device Drivers > Generic Driver Options > Include in-kernel firmware
blobs in kernel binary ---> y

Device Drivers > Generic Driver Options > External firmware blobs to
build into the kernel binary ---> ??? (not assigned)

Device Drivers > Generic Driver Options > Firmware blobs root
directory ---> ??? (not assigned)
----------------------------------------------
$ make menuconfig
----------------------------------------------
Base system > wireless-tools ---> y
----------------------------------------------
$ make remake V=99

After flashing BB and rootfs my system now recognizes my ALFA NETWORK USB
wifi dongle based on RTL8187 but I can find any .bin on my Linux Ubuntu that
is related to this device (from Ubuntu repository I can only get the source
code, from ALFA NETWORK CD-ROM also have source code but it fails to compile
... sure I'm making something wrong!)

Question: will this model also require firmware.bin to work ? If so, how can
I get this?

I also made this tests:

After the upload of the new kernel and the first boot, I can now do :
# cat /proc/net/wireless
# ifconfig wlan0 up
# iwlist wlan0 scan
# iwconfig wlan0 essid "MyNetwork" mode managed key open
# ifconfig wlan0 192.168.1.166

It doesn't give any error, but I'm not able to get it to work (since I'm
configuring the wifi IP similar to ethernet they may be confused on the
route - the router for eth0 and wifi is the same and I can't change the IP
range at the moment).

Well, just a preliminary test, hope to get this working soon! I'll post my
feedback (as always),

Once again thanks to Thierry for the detailed how to!

Regards,

Nelson.

On Sun, Jul 5, 2009 at 11:11 AM, Nelson Neves <nelson.s.ne...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thar001  
View profile  
 More options Jul 6 2009, 5:19 am
From: thar001 <thie...@echodelta.net>
Date: Mon, 6 Jul 2009 02:19:58 -0700 (PDT)
Local: Mon, Jul 6 2009 5:19 am
Subject: Re: rtl8187 based USB wireless adapter?
Hi Nelson,

I don't know if the rtl8187 driver really needs to be used in
conjunction with a firmware file, but I suppose that this is not the
case because the system would return an error such as "Failed to
request Firmware" when you do ifconfig wlan0 up (the firmware beeing
loaded at this stage, either from a file located on the root file
system, via hotplug, or as a "blob" embedded inside the kernel).

Greetings, and good luck,

Thierry

On 6 juil, 01:24, Nelson Neves <nelson.s.ne...@gmail.com> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 6 2009, 2:40 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Mon, 6 Jul 2009 19:40:45 +0100
Local: Mon, Jul 6 2009 2:40 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Hurray, It's working!

It was really a problem related with IP! I have configured the wireless
router with the IP 192.168.2.253 and wifi interface Open, BB connected
successfully to the wireless network.

Thanks! Will post steps on wiki ;)


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thar001  
View profile  
 More options Jul 6 2009, 5:24 pm
From: thar001 <thie...@echodelta.net>
Date: Mon, 6 Jul 2009 14:24:23 -0700 (PDT)
Local: Mon, Jul 6 2009 5:24 pm
Subject: Re: rtl8187 based USB wireless adapter?
Hi Nelson,

I'm happy to learn that you've also suceeded in your attempts. What a
joy to be able to communicate with this tiny board without any wire,
using low-cost adapters such as the ones we experimented ! Of course,
security will have to be one of our major concerns with these
equipments, and the next step for us will be to master the
communication over encrypted modes using the tools provided by
openwrt...

Greetings,

Thierry

On 6 juil, 20:40, Nelson Neves <nelson.s.ne...@gmail.com> wrote:

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 6 2009, 5:53 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Mon, 6 Jul 2009 22:53:30 +0100
Local: Mon, Jul 6 2009 5:53 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Thank you Thierry for your insistence and for showing me the way!
Most of the times I just need a small push, them I just go with the flow!

I will post a wiki as soon as my tests are finished (trying to access WEP or
WPA network, don't even now if possible). Think that I will also post the
DWL-G122 how, may be useful!

Regards,

Nelson.

...

read more »


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
bifferos  
View profile  
 More options Jul 6 2009, 6:15 pm
From: bifferos <biffe...@yahoo.co.uk>
Date: Mon, 6 Jul 2009 15:15:21 -0700 (PDT)
Local: Mon, Jul 6 2009 6:15 pm
Subject: Re: rtl8187 based USB wireless adapter?
On Jul 6, 10:53 pm, Nelson Neves <nelson.s.ne...@gmail.com> wrote:

> I will post a wiki as soon as my tests are finished (trying to access WEP or
> WPA network, don't even now if possible). Think that I will also post the
> DWL-G122 how, may be useful!

Perhaps WPA will work with wpa_supplicant (http://hostap.epitest.fi/
wpa_supplicant/), set the driver to 'wext', which may well be
supported by your wifi device.  It's worth a try.

cheers,
Biff.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
thar001  
View profile  
 More options Jul 7 2009, 6:23 pm
From: thar001 <thie...@echodelta.net>
Date: Tue, 7 Jul 2009 15:23:34 -0700 (PDT)
Local: Tues, Jul 7 2009 6:23 pm
Subject: Re: rtl8187 based USB wireless adapter?
Hi,

I just wanted to confirm that the connection over WPA / PSK, using
wpa_supplicant, seems to work without problems with my DWL-G122
adapter.

For people interested in this test, here is the process I followed :

- Configure the kernel as stated above

- Configure openwrt so you get as "built-in", the packages "wireless
tools" and "wpa-supplicant"

- Once the board has started, do :

vi /etc/wpa_supplicant.conf

~~~~~~~~~~~~~~~~~~~~~~~~~~~

network={
  ssid="mynet"
  scan_ssid=1
  key_mgmt=WPA-PSK
  psk="2a62bf5a5f2e76c85...."

}

~~~~~~~~~~~~~~~~~~~~~~~~~~~

followed by :

wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B

and

ifconfig wlan0 192.168.1.110

To get back with this config at the next boot, I made :

vi /etc/config/network

~~~~~~~~~~~~~~~~~~~~~~~~~~~

...

config interface        wlan
        option ifname   "wlan0"
        option proto    static
        option ipaddr   192.168.1.110
        option netmask  255.255.255.0

~~~~~~~~~~~~~~~~~~~~~~~~~~~

vi /etc/init.d/wlan

~~~~~~~~~~~~~~~~~~~~~~~~~~~

#!/bin/sh /etc/rc.common

START=75

start() {
   echo "wlan going up..."
   wpa_supplicant -iwlan0 -c/etc/wpa_supplicant.conf -B

}

stop() {
   echo "wlan going down..."

}

~~~~~~~~~~~~~~~~~~~~~~~~~~~

chmod +x /etc/init.d/wlan

ln -s /etc/init.d/wlan /etc/rc.d/S75wlan

The delay before beeing able to communicate wirelessly with the board,
after powering it, is then of about 55 seconds.

As I'm just a beginner with openwrt, I suppose that all these things
may be done here in a much more cleaner way...

Greetings,

Thierry

On 7 juil, 00:15, bifferos <biffe...@yahoo.co.uk> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 7 2009, 8:50 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Wed, 8 Jul 2009 01:50:00 +0100
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Hi,

nice to now that WPA works fine on BB with DWL-G122!

Iv'e being testing the Alfa Network based on rtl8187 (I will have to return
this adapater to my friend very soon :(  ), Opened and WEP wireless mode are
working fine. Did some rougth test only with command line:

wireless router IP = 192.168.2.253

1-
# Wireless network - Opened encryption
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "Seven" mode managed key open
ifconfig wlan0 192.168.2.166 netmask 255.255.255.0
route add -net default gw 192.168.2.253

2-
# Wireless network - WEP64 encryption
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "Seven" mode managed key 4B024A99E7
ifconfig wlan0 192.168.2.166 netmask 255.255.255.0
route add -net default gw 192.168.2.253

3-
# Wireless network - WPA-PSK/TKIP
ifconfig wlan0 down
iwconfig wlan0 essid "SevenNetwork"
ifconfig wlan0 up
wpa_supplicant -iwlan0 -c /etc/wpa_supplicant.conf -Dwext -dd

#/etc/wpa_supplicant.conf
network={
  ssid="SevenNetwork"
  scan_ssid=1
  key_mgmt=WPA-PSK
  proto=WPA
  pairwise=TKIP
  group=TKIP
  psk="mypasswd1"

}

but still having some problems with WPA-PSK/TIK:

socket(PF_UNIX): Address family not supported by protocol
Failed to initialize control interface '/usr/sbin/wpa_supplicant'.
You may have another wpa_supplicant process already running or the file was
left by an unclean termination of wpa_supplicant in which case you will need
to manually remove this file before starting wpa_supplicant again.

... almost there! ;)

Regards,

Nelson.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Nelson Neves  
View profile  
 More options Jul 7 2009, 9:28 pm
From: Nelson Neves <nelson.s.ne...@gmail.com>
Date: Wed, 8 Jul 2009 02:28:31 +0100
Local: Tues, Jul 7 2009 9:28 pm
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

Hurray, it works!

Sorry guys, to sleepy to see some Copy+Paste errors:

3- run from command line

# Wireless network - WPA-PSK/TKIP
ifconfig wlan0 down
ifconfig wlan0 up
iwconfig wlan0 essid "SevenNetwork"
wpa_supplicant -iwlan0 -c /etc/wpa_supplicant.conf -Dwext -B
ifconfig wlan0 192.168.2.166 netmask 255.255.255.0
route add -net default gw 192.168.2.253

#/etc/wpa_supplicant.conf

# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
#ctrl_interface=/usr/sbin/wpa_supplicant # NEEDS TO BE COMMENTED
# By default, only root (group 0) may use wpa_cli

network={
  ssid="SevenNetwork"
  scan_ssid=1
  key_mgmt=WPA-PSK
  proto=WPA
  pairwise=TKIP
  group=TKIP
  psk="mypasswd1"

}

Not as clean as it should be, but it gets the job done! (just for testing
purposes)

Once again thanks to Biff and Thierry for all the help!

Will try to test with my other USB wifi adapter Tp-Link TL-WN322G (based on
zd1211rw).

BB rocks ;)

On Wed, Jul 8, 2009 at 1:50 AM, Nelson Neves <nelson.s.ne...@gmail.com>wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
MRX  
View profile  
 More options Jul 8 2009, 2:11 am
From: MRX <jrooz...@yahoo.com>
Date: Tue, 7 Jul 2009 23:11:03 -0700 (PDT)
Local: Wed, Jul 8 2009 2:11 am
Subject: Re: rtl8187 based USB wireless adapter?
I'm quite pleased to see this progress !!
I'm going to try this and see if i can get my dongle working.
This will make my networked audio player wirreless,
that's one step closer to the final coal: the hardware mp3 decoder.

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tomi Hautakoski  
View profile  
 More options Jul 8 2009, 4:59 am
From: Tomi Hautakoski <tha...@iki.fi>
Date: Wed, 8 Jul 2009 11:59:04 +0300 (EEST)
Local: Wed, Jul 8 2009 4:59 am
Subject: Re: [bifferboard] Re: rtl8187 based USB wireless adapter?

On Wed, 8 Jul 2009, Nelson Neves wrote:

Hi,

> Will try to test with my other USB wifi adapter Tp-Link TL-WN322G (based on
> zd1211rw).

Its very nice to see that you have successfully enabled WLAN. Please, when
you get to test that zd1211rw, share with us how did it go because I
experienced kernel crashes with an adapter based on the same chipset when
trying to use it with a WPA2.

        ++Tomi

Tomi Hautakoski
tha...@iki.fi
                            Oxymoron: Vacant Dwelling.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Messages 1 - 25 of 33   Newer >
« Back to Discussions « Newer topic     Older topic »