Android-wifi-tether & linux - Epic 4G General

Anyone have issue with linux client connecting to ap? Windoz client works fine?
Sent from my SPH-D700 using XDA App

I'm able to connect with Ubuntu Karmic (LPIA) and Ubuntu Lucid (x86_64). It often takes two tries on the 64-bit machine, though; I have to disable and re-enable the wifi in between as well, but the second try will always work.
This particular machine has issues with WEP, though; I figured that was it.

Hmmms...I'm running pclinuxos on netbook, I will try on work laptop running fedora core 13.
Sent from my SPH-D700 using XDA App

I'm running 10.04 LTS on my laptop and it is fine for me.
I have Broadcom Atheros Drivers and this is the first distro I have not had to build my own drivers for. But none the less, Wifi tether is full of win here.

Related

Cyanogen USB tether help

Running the latest cyanogen and can't figure out how to setup USB tethering. I assume I need some type of driver for my phone but am having trouble finding one. Anyone been succesful setting it up?
all you need is to go in to settings and the wireless control and scrol down to usb tethering and just clik on that while your phone is connected to the pc and you got internet...........it was that easy for me
sorin129 said:
all you need is to go in to settings and the wireless control and scrol down to usb tethering and just clik on that while your phone is connected to the pc and you got internet...........it was that easy for me
Click to expand...
Click to collapse
Hmm... pc comes up with the new hardware install wizard and asks for an android driver. I need to install the phone somehow.
acis said:
Running the latest cyanogen and can't figure out how to setup USB tethering. I assume I need some type of driver for my phone but am having trouble finding one. Anyone been succesful setting it up?
Click to expand...
Click to collapse
If you're running windows XP the driver isn't included on your computer. Some people have installed HTC Sync to get the drivers, personally I got them from this post:
http://forum.xda-developers.com/showthread.php?t=445436
I can confirm that the driver from that post works, I am using tethering with my laptop right now to write this post!
bassderek said:
If you're running windows XP the driver isn't included on your computer. Some people have installed HTC Sync to get the drivers, personally I got them from this post:
http://forum.xda-developers.com/showthread.php?t=445436
I can confirm that the driver from that post works, I am using tethering with my laptop right now to write this post!
Click to expand...
Click to collapse
Worked for me, thank you sir!
That was exactly my problem, thanks a ton.
Same there. Thanks !
acis said:
Hmm... pc comes up with the new hardware install wizard and asks for an android driver. I need to install the phone somehow.
Click to expand...
Click to collapse
glad it worked for you
Linux drivers
Hello I am using Linux (gentoo, so I need kernel options, not binary modules, really). Does anyone know what drivers/mechanism can be used to configure USB tethering on a Linux host?
Linux kernel support for USB tethering
To answer my own question... The relevant kernel options under kernel version 2.6.31 seem to be:
CONFIG_USB_USBNET=m
CONFIG_USB_NET_CDCETHER=m
CONFIG_USB_NET_RNDIS_HOST=m
If you 'cd /usr/src/linux; make menuconfig' You can key '/' to initiate a search for the substrings 'usbnet', 'cdcether', etc. They are under:
Code:
│ -> Device Drivers
│ -> Network device support (NETDEVICES [=y])
│ -> USB Network Adapters
For CyanogenMod-4.2.3.1 (and similar verions):
When you connect your phone via usb, browse (on the phone) to Settings -> Wireless controls, and check 'Internet tethering'.
On your host linux machine the node /dev/usb0 should be created. Run 'dmesg' to see if it is registered. Type 'lsmod' to see if you have a listing like:
Code:
rndis_host 6160 0
cdc_ether 4236 1 rndis_host
usbnet 13196 2 rndis_host,cdc_ether
I am assuming you have kernel module auto-loading enabled. If not try running 'modprobe rndis_host'. You should hopefully then have /dev/usb0 or similar.
Furthermore this should be recognised as a network interface and be listed by 'ifconfig -a'. The interface can then be configured in the usual way, i.e.:
Code:
ifconfig usb0 up
dhcpcd usb0
Whereon the phone seems to automagically provide dhcp and dns. Hope this helps fellow linux users. I can provide further details of my working configuration if anyone has difficulty.
The USB tethered device is much friendlier on battery. Previously I was having to plug my wireless tethered phone into my laptop just to keep it alive. It was very hot and would sometimes loose the charging battle (i.e. putting out more power over 3G and Wifi than accepting from USB charging). The proper USB networking device interface is much preferable and should theoretically provide superior performance than the higher level Java-based NAT approaches previously seen, although I have not yet noticed reduced latency.
The only issue from an open source perspective is that the RNDIS protocol does not seem like a very pleasant option, being encumbered with a proprietary license and limited documentation from what I have read. I wonder why android does not support open source CDC alternatives (which I am lead to believe do exist).
I'm on mac and I can't figure how to get connected by usb. Do I have to configure Firefox ?
silasdavis,
Thanks a ton!
That got me working.
I was unable to get the tethering to work with Wifi. I would be able to see it as a network in Wicd but could never get an IP.
Could you shed some light on how you did this? I am a Gentoo user as well.
It took me a while to figure it out but what I did was made a symlink in /etc/init.d from net.usb0 to net.lo and that was the only way I could start it. using ifconfig usb up didn't seem to work.
:: edit ::
BTW, I posted (and am editing) this using USB tethering
It is kind of nostalgic for me... like I'm on dialup or something.
How fast is the connection across the tether, could it handle an RDP connection to a desktop at home?
@captsammy
It's of course going to depend on your 3g connection more than anything else, but I just got the following results from speedtest.net when tethering via usb:
Ping 78ms (not bad actually, for 3g)
Download 1.03Mbps (about 120 kilobytes/s)
Upload: 0.32Mbps (about 40 kilobytes/s)
That would almost certainly suffice for a remote desktop connection, bandwidth wise, but as will be the case with every connection via cell-phone wireless, it will be incredibly laggy due to poor latency (ping 78).
silasdavis said:
Lots of linux config....
Click to expand...
Click to collapse
That was exactly what I was looking for.
I personally just compiled them built-in rather than modules, but great info!
Posted from Gentoo tethered to my G1
Ubuntu Karmic Koala
To whom it concerns: on Ubuntu Karmic Koala USB tethering works out of the box - all the necessary modules are loaded automatically, the station gets the DHCP parameters and sets the IP address and routing rules automatically and you're ready to go - no configuration needed.
usb tether - code 10 - win xp
Heres my problem
Using mt3g with cyanogen 4.2.7.1. On my win xp laptop i previously installed the android sdk/adb deal to do shell stuff like manual sd partitioning. I enable tethering on tje device but windows cannot install the htc ndis driver. I get the code 10 error.
Heres the kicker, i am running the same windows version on my desktop computer but have not installed the sdk. Tethering works fine.
It seems that something to do with the sdk install on the laptop prevents the usb tethering. I dont know what do to to make this work.
Any help is appreciated.
Thanks.
Paul
Mt3g
Cyan 4.2.7.1
Enoch theme
501 ext4
97mb swap
Running CM 4.2.8.1 on mt3g and having trouble with USB Tethering to my MacBook Pro. I have the sdk installed but I'm not sure what I would need to enter in Terminal to get it connected as a USB ethernet device.
Any tips?
Windows 7 home premium
how to setup for win 7 ?? i tick internet tethering inside wireless control .. it doest do the work .. any driver for win 7 ?? im using cyanogenmod 4.2.8 too
Win7 automatically installs driver for Remote NDIS
I am on a Windows 7 laptop and have the Android SDK installed. On the phone side, I am running CyanogenMod v. 4.2.12.2 on an HTC ADP1.
USB Internet Tethering works like a charm. I am posting this via USB tether to a WiFi connected phone (3G tether also works). Great work by Cyanogen and co-workers!
To get tethering running on Win7, I first enabled USB Internet Tethering on the phone, before connecting it to the Win7 laptop. Win7 then automatically installed the Remote NDIS based Internet Sharing Device driver and connected to the phone. No configuration required.
Perhaps the people having trouble on Win7 didn't enable tethering on the phone before connecting to Win7? However, now I can actually enable/disable tethering with the phone constantly connected to USB and Win7 loads the correct drivers on the fly.

Wifi hotpot app on vista?

I can get the wifi hotspur app to work great on me wifes windows 7 machine but not on my vista laptop. My laptop will connect to the phone but won't get internet access. are there any settings I can change on the vista machine to get it to work ?
Sent from my HTC Glacier using XDA App
I believe the ability to become a WIFI Router is built only into Windows 7 (I could be wrong though). I use Connectify (www.connectify.me) on my 7 machine... I haven't checked the site lately though, might be worth looking into.

[Q] Can anyone here properly Tether with Froyo and Windows 7?

- Ive been trying to use the built in wifi tether and usb tether and neither work.
- I'm able to connect to the wireless AP but i cannot get an IP address
- Ive tried PDANet and that works, so i can only assume other third party ones will also work.
- I have an HTC Desire. Ive tried using OpenDesire (many, many different revisions) and Oxygen. Both by AdamG, but i doubt it makes a difference.
- I can tether with the built in Froyo tether function on a macbook pro. Which means the problem is with Windows 7!
Am i missing a step?
A couple times to get it to work properly on my Droid, I had to run a command prompt as admin and force an IP renew for my internet to connect/work.
using Wireless tether for root I was able to use my internet from the 3g on a windows 7 laptop (incurred a HUGE bill from Vodafone UK, they know I didn't use my phone to browse and charged me) but it worked.
...I cant believe doing a release renew worked lmao
thanks!
No issue on stock Nexus
I use Wi-Fi tethering almost every day; it works even better than USB tethering with my old Nokia phone. I have a stock HTC Desire as designated in my signature and a Sony VAIO with Windows 7 Professional x64. Tethering to an iPad also works great.
PDANet only does USB and Bluetooth as far as I can remember. Anyhow, I think the fact that you can't USB tether points to a Windows driver issue. Strangely enough, I've had driver issues myself - then I realized that I don't need USB. I just use an FTP and Wi-Fi tethering works as expected anyway.
Useing Wi-Fi tethering every day & USB tethering once in a while with no issues. It's my Nexus FRG83D to Windows 7 Home Premium x64. Sounds like your PC drivers...
I already fixed it. Thanks.
but icant do it how it works? <-- karşıyaka rent a car www.izmirrentacarrental.com/karsiyaka-oto-kiralama.html rent a car'dan kiralayın

Reverse Tethering

I want to set up my Windows 7 system as an access point (ad hoc, I suppose) so that I can connect my tablet via wifi and use the Window system's network access.
I used the ad hoc network wizard, but the tablet could not see it, and could not be force it to hook up.
Has anyone been successful at this?
Sent from my SCH-I800 using XDA App
i dun know but i hope u will have the way to do this
I was just working on this the other night, so I'll answer your question and pose a second.
Go grab the 'Connectify' program. That'll make the setup a snap.
Here's the problem, though.... Hoping some of the keen XDA minds might be able to help. The 'SoftAP' that windows 7 has built in will ONLY set itself up with WPA2 security. This makes it teasingly close to allowing Nintendo DS and PSP connections since it's setting itself up as an Infrastructure Access point, but only with security too strong for those platforms.
Does anyone here have an Idea of how to force/hack Win7 to use a lower form of security like WPA or WEP?
Would love to get an answer to above users question
Sent from my HERO200 using XDA Premium App
Once i was blind, now i can see !
Thank you for this, i had problems with 3g at my work, now i have wifi!
After some additional research, I found out that this WPA2 'lock' is actually a part of the Win7 certification for a given WiFi device.
This would seem to indicate that it would be either part of the driver or hard-coded into the device itself.
A driver seems like it could be something that'd be edited to be more pliable with regards to Wifi protection, but if it's hard-coded, we're likely screwed.
Any info pertaining to using Windows XP Pro with any of this. I run on Revol Wireless with my Hero200,I flashed the phone to their network so I dont have full network access. Anyways...I'm trying to reverse tether at home to use the net on my phone where my network is connected through my desktop pc. I'm running a Dell Dimension 4600 with XP Pro strictly as my DEV computer. This comp only gets Android crap on it all the time. A few windows things here and there but I need the windows programs for the android stuff so...Any help is VERY greatly appreciated guys!
andy_lowe02 said:
Any info pertaining to using Windows XP Pro with any of this. I run on Revol Wireless with my Hero200,I flashed the phone to their network so I dont have full network access. Anyways...I'm trying to reverse tether at home to use the net on my phone where my network is connected through my desktop pc. I'm running a Dell Dimension 4600 with XP Pro strictly as my DEV computer. This comp only gets Android crap on it all the time. A few windows things here and there but I need the windows programs for the android stuff so...Any help is VERY greatly appreciated guys!
Click to expand...
Click to collapse
dude...you will have stability problems and protocols relevent issues on using connectify
some times u'll get blue screen errors too.
So,after googling a lot i hav found "mhotspot" we dont even need to install the software,but it creates a virtual access point and enables wifiinternet sharing
working great..
try it here....www. mhotspot .com

[Q] WiFi Tether Causes a BSOD in Laptop Using Intel WiFi Hardware

On a rooted Nexus 4 using stock 4.2.2, if I enable Wifi tether then connect my laptop (a Lenovo T520 using Centrino Advanced-N 6205 hardware with driver v15.3.1.2) I get a BSOD within seconds. I am using the stock tether app.
I read elsewhere that I am not the only one with this problem, but Intel refuses to acknowledge it. I even waited for an updated Wifi driver to come out, which I installed today, but the problem persists. According to this thread, the workaround is to set the Local IP to 192.168.1.100 instead of 192.168.1.1 and the DHCP starting IP to 192.168.1.101 instead of 192.168.1.10. But since I am using the stock tethering app these settings are not available. Is there a tweak app that would allow me to do this? Or are there other workarounds to this issue?
TIA
lurk skywalker said:
On a rooted Nexus 4 using stock 4.2.2, if I enable Wifi tether then connect my laptop (a Lenovo T520 using Centrino Advanced-N 6205 hardware with driver v15.3.1.2) I get a BSOD within seconds. I am using the stock tether app.
I read elsewhere that I am not the only one with this problem, but Intel refuses to acknowledge it. I even waited for an updated Wifi driver to come out, which I installed today, but the problem persists. According to this thread, the workaround is to set the Local IP to 192.168.1.100 instead of 192.168.1.1 and the DHCP starting IP to 192.168.1.101 instead of 192.168.1.10. But since I am using the stock tethering app these settings are not available. Is there a tweak app that would allow me to do this? Or are there other workarounds to this issue?
TIA
Click to expand...
Click to collapse
That's a bummer! I don't know of any mods that cater for adding options to WiFi Hotspot in the stock settings. I would strongly recommend using a third party app such as https://play.google.com/store/apps/details?id=com.googlecode.android.wifi.tether
I had 3 Bluescreens in 10 minutes on Windows 7 until realized that the tethering was the problem. BUT i reverted my Intel Driver from 15.4.1.1 (23.01.2013) to 15.1.0.18 (20.02.2012) and it works now.
The laptop is a Lenovo ThinkPad E130 with an Intel Centrino Wireless-N 2230 Chipset.
Mahennemaha said:
I had 3 Bluescreens in 10 minutes on Windows 7 until realized that the tethering was the problem. BUT i reverted my Intel Driver from 15.4.1.1 (23.01.2013) to 15.1.0.18 (20.02.2012) and it works now.
The laptop is a Lenovo ThinkPad E130 with an Intel Centrino Wireless-N 2230 Chipset.
Click to expand...
Click to collapse
I'd rather change the tether app than use an outdated WiFi Driver...
Is it just me, or does this seem to happen only on Lenovo laptops. Maybe the problem is in one of the custom apps?
Also this does not happen on windows 8, only on w7
I have t520...
pajics said:
Is it just me, or does this seem to happen only on Lenovo laptops. Maybe the problem is in one of the custom apps?
Also this does not happen on windows 8, only on w7
I have t520...
Click to expand...
Click to collapse
same here.
According to this post from INTEL commuinty (communities.intel.com/thread/33377)
only tethering between INTEL wireless and QUALCOMM S4 based mobile phones will lead to disconnection or BSOD.
including
intel wireless n1030/6300/n130/6235 ,etc
vs
Xperia Z/Nexus4/Xiaomi2 or even Lumia920 running WP8.
I'm using dell N4110 with intel n1030 , and this happens both on Win8 and Win7.
the post above also mentioned enabling FIPS encryption on windows could help, but it didn't work for me on Win8.
using older inrel driver might also help, haven't tried yet.
it seems intel wireless and qualcomm s4 is incompatible.
The issue was reported to intel half a year ago, but the problem isn't solved.
Well this sucks I am going to change my wireless card then this really is a pin in the but...

Categories

Resources