LinHES Forums
http://forums.linhes.org/

Rosewill RNX-G1 802.11b/g USB 2.0 Wireless Adapter: RTL8187L
http://forums.linhes.org/viewtopic.php?f=23&t=22017
Page 1 of 1

Author:  gatorback [ Fri Feb 11, 2011 12:48 pm ]
Post subject:  Rosewill RNX-G1 802.11b/g USB 2.0 Wireless Adapter: RTL8187L

Because I like to stream movies through my (wired) home network from the mythbox, I don't really have a need or desire for a wireless adapter, the exception to this would be when I packup the mythbox and bring it to another family member's home. Wireless then becomes a very desirable capability. That being said, I would like an inexpensive and easy to install wireless device.

I just ordered this item shipped from for $10. Techbargains has a code for a Newegg discount and free shipping: Code: EMCKHJJ52 (Exp 2/17). Newegg reviews indicated that this item is linux friendly, so I Googled ArchLinux RTL8187L.

As for the installation: A Google search yielded: https://wiki.archlinux.org/index.php/Rtl8187_wireless

I imagine there may be others in the community contemplating wireless as well so I though this might interest them. After I receive \ install the adapter I will post my results.

Until then, I would be interested if others have had any success \ lessons learned that would be helpful when I install the adapter.

Author:  gatorback [ Sun Feb 20, 2011 9:49 pm ]
Post subject:  Preliminary Results: Local SSIDs can be scanned / read.

Kernel Version:

Code:
[root@mythtv ~]# cat /proc/version
Linux version 2.6.28-LinHES (root@dev) (gcc version 4.3.3 (GCC) ) #1 SMP PREEMPT Sun Nov 1 06:47:02 UTC 2009



Local SSIDs were scanned and successfully read. Here is an excerpt:

Code:
code][root@mythtv ~]# iwlist wlan0 scan

          Cell 06 - Address: 98:FC:11:43:BD:EA
                    ESSID:"FancyCat"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=15/100  Signal level:65/65 
                    Encryption key:on
                    IE: Unknown: 000846616E6379436174
                    IE: Unknown: 010882848B962430486C
                    IE: Unknown: 03010B
                    IE: Unknown: 2A0100
                    IE: Unknown: 2F0100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: 32040C121860
                    IE: Unknown: 2D1A7C181BFFFF000000000000000000000000000000000000000000
                    IE: Unknown: 3D160B080000000000000000000000000000000000000000
                    IE: Unknown: 4A0E14000A002C01C800140005001900
                    IE: Unknown: 7F0101
                    IE: Unknown: DD700050F204104A00011010440001021041000100103B00010310470010571AF9A6FAF3E30958029287B5843E60102100074C696E6B737973102300054531303030102400063132333435361042000234321054000800060050F2040001101100054531303030100800020084103C000101
                    IE: Unknown: DD090010180200F0040000
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: Unknown: DD180050F2020101000003A4000027A4000042435E0062322F00
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=0000049b0a19d343
                    Extra: Last beacon: 60ms ago


Bonus points if you can explain the IE lines and the hex strings.

In the near future, I will try to register this with my wireless router and post the results.

Author:  gatorback [ Sun Feb 27, 2011 1:33 am ]
Post subject:  Configuring from MythTV Menu: WPA2 vs WPA

I have attempted to configure WLAN0 from the MythTV Menu:

    Service Menu -> LinHES Configuration -> Network Settings

My wireless router is setup to use WPA2 Personal AES encryption. WLAN0 was configured through the menu as WPA and active. The menu's encryption options are:
    1) none
    2) WPA
    3) WEP

Has anyone been able to configure their wireless card through the MythTV Network Adapater menus with a WPA2-AES router?

I tried using the following commands to setup a wireless adapter:

Code:
[root@mythtv etc]# ifconfig wlan0 up
[root@mythtv etc]# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:1A:EF:17:E4:4E
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@mythtv etc]# ifconfig wlan0 down
[root@mythtv etc]# ifconfig wlan0
wlan0     Link encap:Ethernet  HWaddr 00:1A:EF:17:E4:4E
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@mythtv etc]# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"templar"
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@mythtv etc]# dhcpcd wlan0
dhcpcd: version 5.0.7 starting
dhcpcd: wlan0: waiting for carrier
dhcpcd: timed out
[root@mythtv etc]# iwconfig wlan0 channel auto
[root@mythtv etc]# dhcpcd wlan0
dhcpcd: version 5.0.7 starting
dhcpcd: wlan0: waiting for carrier
dhcpcd: timed out
[root@mythtv etc]# ifconfig wlan0 up
[root@mythtv etc]# iwconfig wlan0 up
iwconfig: unknown command "up"
[root@mythtv etc]# iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"templar"
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated
          Tx-Power=27 dBm
          Retry min limit:7   RTS thr:off   Fragment thr=2352 B
          Encryption key:5617-7603-26   Security mode:restricted
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

[root@mythtv etc]# dhcpcd wlan0
dhcpcd: version 5.0.7 starting
dhcpcd: wlan0: waiting for carrier
dhcpcd: timed out
[root@mythtv etc]# pwd
/etc
[root@mythtv etc]# ls -l wpa_supplicant.conf
-rw-r--r-- 1 root root 32656 2009-06-12 14:00 wpa_supplicant.conf


A check of /etc/wpa_supplicant.conf shows that it was untouched by the mythTV menus described above. Should this file be modified or should an attemp to troubleshoot be performed first?

I am not sure what the troubleshooting procedure should be: any troubleshooting suggestions are appreciated.

Apparently there are numerous tools like NetCfg. I am not sure if this will only complicate things or help solve the problem. I hope someone with experience can offer guidance to get over the learning curve. Thanks.

Author:  gatorback [ Sun Feb 27, 2011 3:06 am ]
Post subject:  Working!

The procedure that needs to be followed is here.

First generate the configuration items:

Code:
wpa_passphrase [ssid] "passphrase"


copy the results to /etc/wpa_supplicant.conf

I removed the examples from /etc/wpa_supplicant.conf and the procedure says to add this to the top of the configuration file:

Code:
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=wheel


Start the process:
Code:
# wpa_supplicant -B -Dwext -i wlan0 -c /etc/wpa_supplicant.conf

Maybe the line above should be put in rc.conf?
Code:
# pgrep wpa


Bounce the NIC:
Code:
# dhcpcd wlan0


Check the NIC for an ip address:
Code:
# ifconfig wlan0


Should the wpa_supplicant command be put in the rc.conf file so that it is executed at bootup?

Author:  snaproll [ Sun Feb 27, 2011 7:57 am ]
Post subject: 

I can't speak to getting a wireless adapter working, 'cuz I've never done it.

The time I did set up a wireless Mythbox, I used a D-Link G-820 adaptor with good results... (On SD, not sure wireless G will handle HD streaming...)

http://www.dlink.com/products/?pid=333

Author:  gatorback [ Sun Feb 27, 2011 9:28 pm ]
Post subject:  Streaming Results

I tested a wireless G system to stream from my mythbox to a laptop. Both using wireless. The system was able stream a 720p movie with no problems and plenty of leftover bandwidth. Wired is preferred, however, it sure is nice to have a wireless option.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/