Ubuntu Networking :: TP-Link Wifi USB Adapter: Cannot Setup It In Master Mode To Use PC As A Router
Jun 10, 2010
I got two issues with my wifi usb adapter:
1) it cannot see any networks around
2) i cannot setup it in master mode to use my PC as a router
As far as i can see, the device is recognized and the correct driver (rt73usb) is loaded. I was able to connect to a laptop somehow (the laptop could see other networks and the adapter's PC-to-PC network). I'd like to make it work as a router, i.e. share my internet connection (eth0) via wlan0. Here is what i have:
Linux 2.6.32-22-generic #36-Ubuntu SMP Thu Jun 3 19:31:57 UTC 2010 x86_64 GNU/Linux
TP-Link TL-WN321G wifi usb adapter as seen as
Bus 001 Device 006: ID 148f:2573 Ralink Technology, Corp. RT2501USB Wireless Adapter
$ iwconfig wlan0
wlan0 IEEE 802.11bg ESSID:off/any
after successfully configuring the dwa-552 to work in master mode in ubuntu 10.04 (ath9k driver) I ran some file transfer tests. The download speed is very good (~50mbps) but the upload speed spikes at about 10-20mbps for the first few KB and then it's nonexistent (0-1kbps). This only affects file transfers or otherwise bandwidth consuming processes. Normal web browsing or ssh is not affected. After running a speedtest of my internet connection which is routed through the AP I could upload to the internet with 1mbps which is my inet connection maximum so apparently this is not affected. Tried the same file transfers with netcat to eliminate any other factors and had the same problem. dmesg and hostapd debug did not report anything unusual
my long awaited WUA-1340 D-Link wifi adapter has arrived, and...unfortunately won't work it didn't work "out of the box", so I tried the following (found on the aircrack website)Here's what I did....1. Edit /etc/modprobe.d/blacklist and add blacklist rt73usb as a new line.2. RebootThen,
Code: wget http://homepages.tu-darmstadt.de/~p_larbig/wlan/rt73-k2wrlz-3.0.3.tar.bz2 tar -xjf rt73-k2wrlz-3.0.3.tar.bz2
I have a telephone connection of 1 mega internet modem huawei mt 880 SmartAX my desktop computer is connected via an ADSL PPPoE.I use Ubuntu 10.04 in Spanish and want to know how to connect a WiFi router TP-LINK TL- wr942nd to provide wireless Internet to other 2 PC, a desktop with a plaquet wireles G CNet CWP-854 and 500 series notebook olivetti olibook. The issue is that when I connect the router I can not even go online and do not know how to operate the network, I can not even connect the desktop to my internet provider
I've got an Ubuntu box set up as a router and wifi hotspot. I can access the internet and any website using this box. I can connect a laptop to my wifi access point, and connect to both the router box and the internet. I'm writing this message from it. If I access either hsbc Hong Kong internet banking or speedtest.net from my laptop I can't connect. Every other site I've tried is fine. What could be causing this? I don't know where to start. I've set up the firewall rules and routing tables, so I vaguely know what I'm doing... but clearly not enough to debug this issue.
after trying several pci and usb network cards none were able to have their ssid broadcasted. The question that i have is: Can a suse box be converted to act as an acces point without the use of atheros based hardware, without switching over to ubuntu and or debian, without the use of openwrt?
I have a load balancer with 2 web servers behind it. The web servers rsync with cloud storage to update their apache directories 1 time every hour. Apache is just running php pages that pull/push data to a DB so they dont need to be updated that often. However I need to figure out how to implement a Master/Master MySQL setup to have my web servers point to for the PHP stuff. I need to implement it without having a single point of failure. The Load balancers are useless for failover as they only detect availability based on Ping request. So putting a master/master setup behind a Load Balancer is out. what is the best way to setup the master/master mysql in a HA setup without the use of a load balancer provided by the host?
I'm looking at buying one of the above cards, and was wondering if anyone knew if they worked in master mode (e.g. as an access point). According to the Aircrack-ng site, they support packet injection and monitor mode. Is master mode support solely up to the driver used with the card, or does the card have to physically support it?
I have only had a few weeks worth of experience with linux, so I'm probably considered a newbie at this but I felt like giving it a shot. I just configured my new Toshiba Satellite A505-S6969 to jaunty. Most of the transition is going well but I'm stuck with a few issues, one of which is getting my wifi to work. Right now I'm working off of an ethernet cable.spci returns
00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port
I'm interested in configuring two Netcomm NB504 WiFi routers to work in a Bridge configuration. ie. Local PCs ---> Router <----//----> Router <--- local PCs
The NB504 router doesn't appear to have a native "bridge" mode. However, it does run Linux according to the documentation. I'm interested to hear from anyone who has actually got two of these routers to work in a bridge configuration. I'm not interested in general theoretical comments - only solid advice. I am also not interested in using other hardware for this exercise - I have two of these devices available for use in this project.
Anybody have any idea that how to set the ath9k in master mode in fedora 11. I am unable to set the same. I am using the D-Link DWA556 card using the kernel built in ath9k.Find below the output I got while setting up it in master mode sudo iwconfig wlan0 mode master.Error for wireless request "Set Mode" (8B06):SET failed on device wlan0 ; Invalid argument.Does that mean that master mode is not supported?Also Want the information if there is any separate community or development group for ath9k development and download the source of same except linuxwireless.com.
I'm running Ubuntu 10.10 and try to get my wifi to work in master mode. The dongle is a Asus 167g v3 and I'm using the rtl8192SU driver. I can connect to a network or put the dongle in Ad-hoc mode without a problem. It's when I try to put in master mode some problem occurs. When I do:
Code: sudo iwconfig wlan1 essid test mode master This is the output I'm getting: Code: wlan1 unassociated Nickname:"rtl_wifi" Mode:Master Access Point: Not-Associated Sensitivity:0/0
The dongle is in master mode but it fails to assign a SSID. I also tried to set it up in /etc/network/interfaces but the result is always the same... No SSID
I am trying to get my wireless card working in master mode. I am running Jaunty server 2.6.28-11 x86_64. I have compiled hostapd with nl80211 enabled. The interface is using ath9k. I have tried to compile compat-wireless with this patch. However IEEE80211_IF_TYPE_AP was undefined along with IEEE80211_IF_TYPE_VLAN. In addition the latest version of compat-wireless needs to be patched for kernels < 2.6.31 with this. However when using this patch IRQ_WAKE_THREAD is still undefined.
I have got to this message:
$ sudo hostapd /home/jophish/.hostapd.conf Configuration file: /home/jophish/.hostapd.conf Failed to set interface wlan0 to master mode.
I try to set-up an Access point using ubuntu 11.04. I am using the minimal configuration file from [URL] together with a TP-Link TL-WN422G (Atheros chipset). I've installed the linux-backports-net-natty-generic drivers. But when trying to start hostapd I always get this output:
Code: # hostapd -dd -K test.conf Configuration file: test.conf Failed to set interface wlan0 to master mode. nl80211 driver initialization failed. wlan0: Unable to setup interface. ELOOP: remaining socket: sock=5 eloop_data=0x9b9440 user_data=(nil) handler=0x43d980 I have also disabled the network-manager for this device by adding this to /etc/network/interfaces:
I've searched for too many days and nights so many information went through my head. I want to buy a usb wireless which support master mode. (not monitor mode) Now I'm interested in Alfa AWUS036NEH. I like it because it is small an have a long antenna strong 1000mW. signal. (AWUS036H is a little bit big for me) However from what i have read AWUS036NEH is not supported in master mode (softAP)(or may be supported but with hostapd, but again some forum said it doesn't support and some say it does... Totally confused.) -> Actually AWUS036NEH is not expensive but I don't want to invest in something i'm not sure about so I won't buy it until I really know if it works. So I switch to find out what is for sure
1. supported in master mode in Ubuntu
2. Have a long antenna (like 5" or something. I have no idea about hardware but I think longer antenna should send signal more further)
3. small (about normal USB size don't count antenna)
Sadly I only find Alfa AWUS036NEH the only option for me , the others has no brand. However TL-WN722N is what most likely to fit. Only it has a shorter antenna. Can i replace the antenna with a longer one (with some others brand) by myself? (TL-WN722N can use master mode in kernel 3.0 ? already ? some say it should but i've not seen one that stated clearly) Ahh I think the above is totally messed up. I will make long story short.
1. Is AWUS036H or AWUS036NEH support master mode in ubuntu ? (if yes with hostapd or something?)
2. Is TL-WN722N or TL-WN722NC can work in master mode in Ubuntu ? (if yes with hostapd or something?)
3.Can I replace the original antenna with a longer one ?(with other brand or same brand) Will the signal be stronger?
I have a pc which has 2 network cards, 1 wifi and 1 ethernet card.
I'm using wifi card to connect to wifi network (internet) and i'm planing to share this wifi/internet connection via ethernet to wireless router (siemens sx763) so i can have internet on my other devices, e.g. mobile phone, laptop.
the only error message I can find comes from "dmesg|tail"all it shows is "no IPv6 router"any body know what is going on here or where where to look for more clues the next time I get around public wifi Oh the windoze washers and apple polishers don't seem to have any problems at all
After purchasing few wifi-usb-dongles for my jaunty and lost many hours, i had no success in bringing them to operate as master or ad-hoc.The devices were Belkin, Level1, and a TP-Link 620 Though the Belkin could work as ad-hoc, but very often disconnects due to buffers issue (though I couldn't build the zd1211b driver for jaunty and it seems that no one can really help with that).
Now I would like to consult with you ahead regarding new potential devices, whether you know it operates as master mode or ad-hoc mode under jaunty (9.04)?
I'm having trouble getting my network set up the way that I want it/had it. You see, when I first set up my network, I just had my cable modem going directly to my standard wired router (A D-Link DI-604), which had DHCP,and was connected to all of the computers on my network. I had one switch hooked up to one of the ports of the router, but this was a regular switch, and it would not try to assign IP addresses, it would just pass through the DHCP info as I wanted.
Now however, my network setup has changed. My room mate and I both got laptops, and we decided that we wanted to have wireless access so we didn't have to constantly plug in to the router.
Now my network is set up like this: The modem is hooked up to the router(DI-604), which is hooked up on the LAN side to our computers, our switch (which is hooked up to 3 more computers), and to a wireless router card (A Gigabyte GN-BC01).
The wireless router card has two jacks for ethernet. One for WAN, and one for LAN. The LAN side we have plugged only into the computer in which the card is installed.
Now the problem is this: The wireless router card comes with DHCP by default, and it's assigning addresses to the laptops and to the computer hat it's in, and worse, the IP addresses are on a different subnet than that of the main dlink router. The Main (dlink) router assigns addresses from 192.168.0.1 (itself) to 192.168.0.254, while the wireless router card assigns addresses from 192.168.1.1 to 192.168.1.254 (itself).
Because of this, I cannot access services on the wireless network from my wired network or vice versa. The first thing I tried was setting the card to assign addresses from 192.168.0.12 to 192.168.0.253, however it just said "internal error" when I tried to do this. I decided that this may be because it sees that it was being assigned an address on it's WAN side on the same subnet. So the next thing I tried was disabling DHCP and setting the "LAN IP Address" to 192.168.0.12, hoping that the DHCP would just go through the card, like a switch. I would have set the LAN IP address to be assigned by DHCP, but this was not an option, so I decided that'd be the best thing to set it to.
Once again however, setting the LAN ip address to an address on the same subnet as that of the IP assigned to it's WAN side caused it to report an "internal error". I verified that this was the issue by setting the LAN address to several other private IP addresses to test (I.E. 10.0.0.1, 192.168.3.1, 192.168.5.12).
My question then really is: How do I set up both routers so that I can access services and computers from each network from the other network. Should I set them with different subnets and set the gateway on the wireless network to the main router? To the wireless router card? Should I put them on the same subnet? Will it know how to communicate?
Here is a link to (picture) my network diagram. Network Diagram
I have just installed Ubuntu 9.10 on an Acer TravelMate 290E. I've got internet connection through the Ehternet Cable, but when I plug in the D-Link WLAN USB device, although the system recognises it, it is disconnected. How can I connect the WLAN USB device adn get it to work?