[mythtv-users] OT: Could someone help me to set up an Ad-Hoc wifi connection??

Damian myth at surr.co.uk
Sat Jun 4 19:32:42 UTC 2011


Hi everone,

Sorry for the off topic post, but you lot are the best Linux resource I 
know.

I'm trying to set up AdHoc wifi from my MythTV machine so that I can 
connect my mobile phone to the internet.

My house has several machines, but no wifi. All connected with LAN cable 
hubs and switches.

I bought a "LogicPro 802.11g High Speed Linux / Ubuntu Wireless Internet 
USB Adapter Wifi Dongle"
http://www.amazon.co.uk/gp/product/B...ef=oss_product 
<http://www.amazon.co.uk/gp/product/B003YURCG8/ref=oss_product>

I have tried plugging it in and following AdHoc ubuntu guides online, 
but it's not working.

My feeling is that that whatever driver gets 'auto detected' and used 
can use the wifi dongle 'normally', but can not put it into AdHoc mode.

There's a file on the disk that comes with the dongle called 
"rtl8187B_linux_24.6.1025.tar.gz", but I have no idea what to do with 
that. I was thinking of trying to set it up assuming it's a Linux 
driver, but just read somewhere that if you try to load a driver when 
another driver is already in place then you can get lock up problems etc.

A bit more information ..

I'm running the latest version of Ubuntu with all updates regularly in 
place. Here's the output from a few commands:

$ lsusb
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 004: ID 05af:0408 Jing-Mold Enterprise Co., Ltd
Bus 001 Device 003: ID 0bda:8189 Realtek Semiconductor Corp. RTL8187B 
Wireless 802.11g 54Mbps Network Adapter
Bus 001 Device 002: ID 0409:0058 NEC Corp. HighSpeed Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


$iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     IEEE 802.11bg  ESSID:"UbuntuAdhoc"
           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
           Tx-Power=20 dBm
           Retry  long limit:7   RTS thr:off   Fragment thr:off
           Power Management:off

vboxnet0  no wireless extensions.


$sudo iwconfig wlan0
wlan0     IEEE 802.11bg  ESSID:"UbuntuAdhoc"
           Mode:Managed  Frequency:2.412 GHz  Access Point: Not-Associated
           Tx-Power=20 dBm
           Retry  long limit:7   RTS thr:off   Fragment thr:off
           Encryption key:off
           Power Management:off

$sudo iwconfig wlan0 mode ad-hoc
Error for wireless request "Set Mode" (8B06) :
     SET failed on device wlan0 ; Operation not supported.


Does this help at all?

Can I get an Ad-hoc wifi network with this dongle?

Would installing the supplied "rtl8187B_linux_24.6.1025.tar.gz" driver 
give better results? If so, can anyone talk me though doing that? Do I 
need to turn off the current driver somehow first?

Thanks
Damian


More information about the mythtv-users mailing list