[Q] Barnacle Wifi Tether - how to get working? - Sony Ericsson XPERIA X10 Mini

I am having real trouble trying to get Barnacle Wifi Tether to work
I am running windows 7 and am able to detect Barnacle in my wireless networks. I get a full 5 bar excellent signal. When I try and connect, the phone seems to connect, as Barnacle confirms connection in the log. There is though as problem, as in the wirless network tab on the taskbar there is an exclamation mark and when I hover over it with the mouse it reads: Barnacle no internet access
Following something I read on a previous forum I set my Barnacle settings as following
BSSID - nothing entered
Wireless ENcryption - disabled
Access contrtol: restirct NAT to selected MAC address - disabled
Custom Wifi Ad-hoc - none
Skip wpa_supplicant - enabled
WAN - tiwlan0
LAN - tiwlanO
DHCP:
Gateway: 192.168.5.1
Netmask: 255.255.255.0
First Host: current 100
Number of Hosts: 100
Lease Time: 1200
DNS 1 - nothing entered
DNS 2 - nothing entered
NAT:
First Port current: 32000
Number of Ports current: 300
Queue Length current: 100
Timeout: 30
Timeout TCP current: 90
I would be greateful if anyone could tell me how I can get this working? ARe my settins correct? Is there anything I could change. I have tried chaning the channel but that has no effect. Any ideas what I can do to get this working?
I have looked at other forum posts but am still not having any luck.

I think I have sorted it has I have now left the WAN and LAN field empty. I then connect and then I have to press associate once connected otherwise it does not work. My only problem is that it seems very slow and I get frequent drops in connection. I think the download speed is around 3kb/s and the upload around 1 kb/s. I am not in the best converage area, however this is much slower than when I use the phone to browse the internet without a pc. I seem to be getting only a 2 bar signal. When I broswe the internet directly from the phone I can get at 3 - 4 bar signal. What is going on? I can at least play youtube videos when using the phone on it's own, however due to the slow speed this is not possible with tethering.

Something must be wrong, my 3G signal is exactly the same wether im tethering or not..
Also my PC is putting out about 1.4mbit DL & 0.3mbit on wifi tether, same as the phone alone..

Related

Hero crashes Wifi router

I got my HTC Hero on Orange in the UK last week.
I am getting an issue where a normally stable wireless network will be knocked out if i connect the Hero on Wifi.
I know its not the radio - connects fine on WEP secured work network and on the open connection on the train and at McDs
I have done a fair bit of googling and RTFM and basically found lots of router specific issues on Android phones but nothing that looks like the same issue i have encountered except one on the Android community forum where no one has a solution or suggestion i havent already tried.
XDA developers was a great help with unlocking and flashing a ROM to my Trion so i thought i would amend the post i made there and see if i get any more expert opinion on here. Apologies for the length of the post - will post ROM and build numbers if that helps (and someone tells me where to look on the phone!)
Conscious this is a lenghty post (hello all!) but thought as i struggled to find anything it might help others in the same situation if i detail the issues and what i have looked at and hypothesised that i need to try to resolve this - in case anyone else has similar issues.
Netgear DGFV338 ADSL and Ethernet VPN & Firewall router.
Three wireless laptops and Sony Ericsson G900 all connect fine
Laptops run XP Pro, Windows 7 RC and a dual boot Vista/Ubuntu machine
desktops (all on gigabit backbone) run similar mix but only lose internet after router and modem have borked.
I am running this on a 20 MB Virgin connection which is usually faultless (3 years or so uptime not counting upgrades to the modem). Speed or timeout is not an issue - usually get between 12MB and 17MB DL and 700kbps UL
As soon as i connect with the Hero i can use the Wifi but briefly (one web page, start to load Market etc) - basically network detected and WPA-PSK TKIP connected, IP allocated and showing in wireless clients table of router.
I was running restricted MAC access and IP/MAC binding as i have ports open for the 360's and the Wii and want to restrict access to these devices only but removed this as part of the troubleshooting.
Shortly afterwards 20 seconds to 1 minute after connection the wifi drops - all connections lost, laptops lose connections and i lose connection to Virgin. It requires a full reboot of modem and router with the Hero off to recover a connection.
I wiped the router and all the security and all the other pcs etc work fine
then turn on hero - same story. So its not any of my more esoteric and paranoid router settings - i dont think.
Been on the Netgear forums and apart from some issues with the G1 and AES on home routers (mine is the full enterprise kit metal case) i find nada
Troubleshooting to date has narrowed it down to a couple of choices.
I know my router but i am brand new to this phone so some of this is pure guess work. One suggestion was ARP floods from multiple requests from phone getting it blocked by the firewall. Except traffic logs dont support this
Encryption support:
I use WPA PSK TKIP - this is detected as WPA Personal by the Hero but it can connect to router when i use the pass and this setting so i am working on the basis this is supported and correct.
I have read about issues with poor AES support on some routers which are fixed by a firmware update but have the same issue with other devices on AES so would prefer TKIP. So it could be encryption handling - initial connection works but error logging could crash the router if this is not working correctly
Anybody know if the WPA personal listed for connections is TKIP or AES?
I cant find any clear information on this.
Orange DNS or restricted gateway settings:
This appears to be the main symptom - i lose DNS support and therefore access to the internet. Turning off the Hero and reconnecting the laptop gives me access to the router but i need to reboot the modem to get my IP back (dynamic but changes every 12 months or so) the hypothesis is that the Orange connection in this build has the DNS hardcoded to go through their DNS servers which either Orange or Virgin systems dont like and boots my connection off the internet. Bit of a long shot but as i cant seem to find any way to fix static IP or DNS listings it could be the case as i cant switch to OpenDNS as i would to test this otherwise.
Only comes to mind as the first day with the phone (when Orange 3G was not active) i didnt have this problem - wifi on phone and laptop worked fine and both together
Bit of a longshot but the symptoms point to a DNS corruption if it isnt my router treating repeated WPA or DNS requests as a DOS attack. It could be DHCP creating errors but i can bind a MAC to specific IP to override this on the router. It sees the Hero, recognises the MAC and adds it to the restriction whitelist.
I havent checked ARP logging but that theory could pan out as its unlikely DNS would take down the router and modem - ARP or DOS lockdown could.
WiFi Channel
I run channel 11 due to neighbours wifi interference - Wii wont work at all with default channel.
I cant find the default channel information on the Hero but would assume it is 6 like most devices.
this one is strange - if it is the Wifi Channel then seeing the router should be a problem and connection shouldnt happen at all. It seems unusual to allow a connection but then crash the router as it is getting traffic on a different channel.
Could be another side effect of my routers firewall blocking suspicious traffic but seems unlikely.
As you can see a fair amount of things have been tried and i am still getting nowhere.
I need to try the encryption settings - does anyone know what the WPA setting is on the Hero and which encryption is supported/offered as standard?
I need to try changing my router back to channel 6 - does anyone know the default channel or how to change this in the Hero?
I need to try static rather than DHCP (but on the phone as already have tried forcing IP from router) - how do i get to these settings?
I need to try static DNS rather than Dynamic (router proxy of Virgin DNS)
I do have a Linksys WRT54g (three of them - one vanilla, one Sveasoft and one Tomato) which i use for outside events at work so i could swap one of those in but i suspect its a combination of Hero settings and router settings and i would like to get my main router set up (and keep the 8 ports) than swap back to the older WRTs and have to set up my Xbox 360s to get around the issue they have with being on a switch with a different subnet and not connecting to Windows 7 media centre
Basically i have tried most of the things i can try with the access i have on the phone and my knowledge of its default settings. What apps can i try to give me control of the networking and access section?
Otherwise, loving the phone. Better than the reviews and whilst not lightning fast its a damn sight quicker than an overclocked Trion i was running before (which worked fine on the same router and WPA Personal)
I am liking Android, glad to not be locked into the Apple tax/ecosystem and realising that WinMo has a looong way to come; even with the help HTC and xda developers offer to make better use of the hardware.
But i am heavy internet user and i cannot risk running my Hero at home on 3g when i have 500MB cap and a £3 a MB over limit charge with no notice from Orange to say i am near limits.
Any ideas? feedback? similar tales of woe?
Possible solution
Ohkaaay - found advanced settings so that helped! n00b error
Removed all security.
Changed channel to 6
connects
change to channel 11
connects but crashes router
reboot router and modem
change back to channel 6
change security to WPA Personal AES
connects
doesnt crash router
change to channel 11
connects
doesnt crash router
i appear to have a working connection and there is no way i would have made it through this post with the Hero on before i made these changes
weirdly i now have two identical entries in the wireless networks list
one says SSID_name Connected
two says SSID_name WPA Personal
remove remembered networks
Hero autodetects my SSID_name
sign in with AES password
two listings in wifi list again, same as before.
So it looks like WPA TKIP doesnt work on my router with Hero
AES does.
Channel 6 works with no security
Channel 11 doesnt
BUT... enable AES and Channel 11 works.
Guess the Channel 6 signal issue interferes with the TKIP or something
But i can report that on Netgear router WPA Personal AES works ok, which apparently on the pre-Cupcake G1 was a known issue.
Apologies to post and then reply to my own post but this might help someone
I can confirm your findings regarding WPA + TKIP vs WPA2 + AES.
I was running WPA + TKIP on a Linksys WRT54GX and experienced major connectivity issues with my Hero (although is did not crash the router). Did not experience this problem with my iPhone 3G.
Changed configuration to WPA2 + AES and Hero does now work without any issues.
I know this:
A. Is fairly obvious
and
B. Is not particularly helpful to you
However - if any device (regardless of whether it is buggy or not) is crashing your router, the router clearly has buggy firmware itself and is at fault. Router firmware should be robust to the unexpected, especially on wifi as this could be prone to denial of service attacks from anyone happening to be walking by. A router that is crashed by an attempted client connecting is a bad sign.
My personal advice would be to change to a decent standalone router. I use a Buffalo WHR-G54S flashed with Tomato firmware v1.21.8005 (with a seperate linksys Adsl2+ modem to provide internet). It is working flawlessly for me in WPA + TKIP/AES with no issues.

[Q] Optimus one Wifi issues - please advise

Hi guys, so here's the deal : Just got a brand new Optimus One and the Wifi dosen't really work. It took me ages to get it to detect my home network ( Realtek RTL8187, used as a hotspot via win7's wireless miniport adapter - so basically virtual hotspot) Once I managed to get a connection the device would either be stuck at "obtaining ip adress from..." or would simply disconnect and reconnect in a quick burst. I finally managed to get it to connect by manually assigning the internet sharing permissions for the virtual miniport, but the speed is abysmal! We're talking to the order of bytes/s, measured both by attempting a small download from the phone and by reading the in/out data on the pc connection info. Upon some further poking around, a few wifi adapter and phone restarts later, I notice that when I connect to my hotspot the phone's wifi manager reports a normal speed of 54mb/s, but when I actually try to use the connection (say, the youtube app) it works fine for a second or two (it usually loads a bit of a vid, or half of a big webpage) and then drops down to the aforementioned speed and the phone's wifi manager indicated that the connection is 2mb/s
Also, I went out before setting up my home network to a mall and tried to connect to one of the free hotspots available. On some, it would connect straight away, but be very slow (signal wasn't great) and on one (max signal) it would disconnect/reconnect in very short bursts (10-15 times a minute) and it would eventually establish the connection. Then the same speed issue as above: works fine for a few seconds, drops down to unusable. Didn't think about checking the connection speed there, simply thought the public network was overused. In hindsight, the problems were similar to the ones experienced at home
A few side notes: The 3g speed is fine, consistent and problem-free
I have tried changing my home wifi's frequency to a number of settings (there are quite a few other wifi's around, I know it could cause issues if they overlap)
My wifi connection was actually not detected by a friend's laptop wifi, but we could connect our computers just fine via ad-hoc (which from what I've heard is a no-go with android at the moment - and the phone does not see ad-hoc)
The phone is brand new, only installed a handfull of apps on it, didn't change any relevant settings (I think)
Set wifi sleep policy to "never"
My pc wireless adapter worked just fine in the past, used it for a few months as the main internet connection, and even with half-signal it would achieve good speed. I also moved the antenna away from the PC itself to avoid interference
I set my PC to use only 802.11b since I've read around that some phones prefer this to 802.11b/g
That's about all I can think of right now. (oh, and It's my first android, so I don't know my way around the OS that great yet)
I appreciate any advice you can give me. Basically I'm trying to find out if it's an issue with my Wifi adapter, it's settings, the phone's settings, or if the phone itself might be broken, so I can send it back to warranty.
Thanks in advance.
Try switching from b to g.
it was initially on b/g

Got Pandora and Market working with Dock *sorta

Just bought the Malata Dock for my Gtab. I'm currently running Zyhong's Gtab beta 3.2.
As stated by others, Pandora and Google Market fail to stream/download when using Ethernet only.
This is still early and hopefully a dev will point me in the right direction, but I am able to make the tablet use the ethernet connection for Pandora and Market.
Boot Gtab on dock with Ethernet connected. At this point most things work except Pandora/Market.
Using my Droid Inc, I turned on Wireless Tether in Infrastructure mode.
Configure wireless on the tab. Once it connects, go to Settings -> Wifi and modify the wireless connection. I configured the ip address, gateway and DNS 1&2 to work as if the wireless connection was the wired connection.
At this point Pandora and Market will begin to work using the Ethernet. I confirm this by downloading "Angry Birds" from the market. 18MB download in about 30 seconds. Checked phone during this time and it had no bars on 1X...no way it was using the cell connection.
My current theory is the previously stated "Connectivity Status = True" setting. I'm guessing this gets set once the Wifi connection is establish.
If I now drop the wifi connection, Pandora and Market breaks.
I'm curious if it is possible to write an app or script to rename wlan0 to eth1 and eth0 to wlan0. I'm assuming the test for connectivity status = true is set to check wlan0 ?
Any ideas?
Another theory is that there are no DNS servers configured for the wired connection.
I'll be trying that later.
I don't have enough posts yet to ask in the developer forums for help....so if you know one of the devs who are interested in the dock, please point them over here.
With that said, I tested if setting the DNS server manually would have any effect. It appears that DHCP is setting the DNS servers after all with a wired only connection.
So I'm back to the Connectivity Status = True issue.
I'll be looking at how that check is performed and what initiates it. If I can cause the check to be performed on eth0 instead of just wlan0 I think that will fix it.
konman2k4 said:
Another theory is that there are no DNS servers configured for the wired connection.
I'll be trying that later.
Click to expand...
Click to collapse
Got my dock today. With wireless turned off, I can boot on the dock & draw a dhcp ip.
Can't be a DNS issue or you wouldn't be able to surf the net.
Can surf net via browser, play videos/music/pics from my Windows Media Center, Netflix plays fine & can even receive email (as long as the app is the one that does the checking & not me telling it to).
Pandora, Crackle, Market, Amazon App tore, & SlideME not worky (some say no connection while others just hang).
Turning on wireless at the same time results in drawing different ip for wireless. Netcfg show eth0 up with an ip/mask, wlan0 up with an ip/mask. Ifconfig shows data transfer on both interfaces (and different mac addresses).
Must be something the the apps are looking for wifi. or could it be that this is a phone OS & phones don't have ethernet connections (and that ethernet is not listed in Settings, Wireless & Networks)?
At work we don't have wireless, so I used my phone with "wireless tether" to make a connection. Once the wireless network is seen and connected to, I modified the wireless network settings on the tablet so that the gateway, dns, subnet mask and IP are all valid on the wired connection. As for IP just make one up that is not already in use that is valid for the wired network subnet.
This basically tells the tablet that yes you are connected to a wireless network, but with a routing trick you are sending all your traffic out the wired connection.
Since the dock charges the tablet, I connect the phone to the tablet to keep it charged while the wireless tether app is running.
BTW...if you install opera and flash, you can change your agent string to "desktop" within opera and use the web version of pandora all without having to do the fake wireless trick.
I can confirm Pandora and the Market works just fine doing this....as for you other apps I haven't tried those.
konman2k4 said:
At work we don't have wireless, so I used my phone with "wireless tether" to make a connection. Once the wireless network is seen and connected to, I modified the wireless network settings on the tablet so that the gateway, dns, subnet mask and IP are all valid on the wired connection. As for IP just make one up that is not already in use that is valid for the wired network subnet.
This basically tells the tablet that yes you are connected to a wireless network, but with a routing trick you are sending all your traffic out the wired connection.
Since the dock charges the tablet, I connect the phone to the tablet to keep it charged while the wireless tether app is running.
BTW...if you install opera and flash, you can change your agent string to "desktop" within opera and use the web version of pandora all without having to do the fake wireless trick.
I can confirm Pandora and the Market works just fine doing this....as for you other apps I haven't tried those.
Click to expand...
Click to collapse
Read you origianl post. My point was that it is not a DNS issue since with wireless turned off & starting the tab on the dock, internet works. If DNS was the issue then the browsers/etc would not be able to resolve the urls.
But, I did verify your theroy while making sure that there was no possiblity the tab was communicating via your cell/wifi.
I connected mine to the dock with wireless & ethernet connected. Verified both interfaces were up via ifconfig. Wifi connected to wireless access point & ehternet connect directly to a switch. Disconnect access point from switch so no physical connection to lan/wan from the access point, that way wireless connection to tab stays up but it goes nowhere & the only physical connection to the lan/wan is via ethernet. Mail works, Market works, Amazon store works, Pandora works.
Has to be the Connection Status issue in Android that is casuing the problem. Current ROMs must not take ethernet into consideration when checking status. I saw sample code on the net for Connection Status that only looks for Wifi.
I believe we need a rom dev to pursue this for it to work correctly.
Haven't been back to this thread in a bit, but now that I have my 10 posts, i'll start asking around in the Dev community if somebody can point me in the right direction.
konman2k4 said:
Haven't been back to this thread in a bit, but now that I have my 10 posts, i'll start asking around in the Dev community if somebody can point me in the right direction.
Click to expand...
Click to collapse
I did a new post in the Q&A forum back on 5 Aug & pointed it back here. Here's the new post http://forum.xda-developers.com/showthread.php?t=1204015. So far 59 views and a big 0 responses.

issue with android devices and wifi extender

Recently I bought a wifi range extender (TP-Link tl-wa730re first version) and I configured it in order to extend (range extender mode) wifi signal of my router over some rooms of my house. In particular I use this extender to take the signal into a room in which I already get router signal, but it's too low to have a fast connection.
So in this room I have 2 signal (I used this app to analize my conditions Play Store Link): the router one, with 20-30%, and the repeater one, with 70 %. I haven't any problem with my pc, but I have the same issue with my android devices (galaxy nexus, 2 nexus 7, htc sensation, xperia u): they randomly disconnect themselves for just a couple of seconds and then they switch between the 2 signals
Moreover about every 10 hours, I must reboot the extender, or every android device stops to get a working connection. For example, my gnex lost connection and continuously tries to connect to router, but it always fail.
If I move from this room to another one (especially if in this room router signal is stronger than before) my devices lost connection and I have to reboot phone or tab to get connection back...
My router has a WPA-PSK TKIP-AES password, dhcp enabled, automatic channel search enabled (the usual channel is always free), and wifi b\g\n with a speed up to 125 mbps. My extender has no password configured, dhcp disabled, same channel of router and its extended wifi has been seen by every android as the same of router (only 1 signal is detected into settings).
I already tried to set a static IP from wifi settings on phones but nothing change.. help please:crying:
Try wifi static from google play https://play.google.com/store/apps/details?id=com.farproc.wifi.statIc and find a working ip on your extender.
When you get them, go to your router settings and define a reserved ip with MAC adress (your android and ip working)
This should be done!
Hope this help you! :fingers-crossed:

All android devices - full wifi signal, no internet - other devices work fine

Hi there,
I have near been driven to madness by this problem so im admitting defeat and opening it up to all and everyone.
Very quick history - I have weak signal on the top floor of my house, so i purchased a TP LINK WR702N mini router. I have set this up as a wireless repeater on the top floor, and for the majority of my devices it works great. On my sisters windows laptop, my girlfriends iPhone and iPad, they all see the network, connect with full strength and receive 54Mbps. On all of these devices, I can enter 192.168.1.254 and reach the repeaters settings page, or enter 192.168.1.1 and reach my main router (downstairs) settings page. This suggests to me that everything works fine.
When i connect with an android device (either my Nexus 10 or my samsung galaxy S2) the moment they pick up the strong repeater signal - they lose internet connection. The are connected with 100% and 54Mbps speed to the repeater - but they cannot access the web. I can bring up 192.168.1.254 for the repeater, but they will not access 192.168.1.1 for the main router - I believe this is the problem.
I have tried changing the settings on my main router - I have changed the whole network from WPA to WEP encryption, to no avail
I have changed the android advanced wifi settings, changing to fixed IP on both of the android devices and setting the default gateway and DNS to be 192.168.1.1
I turned off my devices, reset the main router, then turned on the repeater - this appeared to fix the problem - but when i turned the repeater on last night I couldnt get internet access, so i retried this step and it didnt work
as a note, all of the devices on my network have a fixed IP set from my main router - these correspond to the fixed IPs on my android devices.
I have spoke to Google and TP Link supprt, each blame the other, and now I really dont know what to do.
Thanks
::bump::
Make sure your devices do not send out, nor honour, ICMP redirects. Since your are running both on the same subnet, there's a possibility your repeater sends out an ICMP redirect once your Android device addresses the main router, since it IP topological is a closer way talking directly.
Or, use different subnets.

Categories

Resources