Im using Linux Mint, an Ubuntu based distro. Sometimes I also use other Debian based distros that use a different wifi manager. I also have the xoom, but only 1gb of monthly data, and I would like to save that for when I am out in the boonies, when my phone dies, or when I cant get a signal with Sprint.
Anyone have any luck finding a solution for tethering the Epic to their Xoom/Android tablet or to their Linux Laptop or Desktop?
Bit of a necro-thread-bump, for which I apologize, but has there been any new progress on this notion of a tethering solution with Linux for the Epic 4G? I've tried: Wired Tether, Easy Tether, PDANet, none of which work for me. I'm hoping there's a simple command line way to enable and disable tethering, a la Linux.
Corpsed said:
Bit of a necro-thread-bump, for which I apologize, but has there been any new progress on this notion of a tethering solution with Linux for the Epic 4G? I've tried: Wired Tether, Easy Tether, PDANet, none of which work for me. I'm hoping there's a simple command line way to enable and disable tethering, a la Linux.
Click to expand...
Click to collapse
Just to make sure I understand, you want to use your Epic using an existing wifi network. I'm using linux mint main edition 11 (gnome) on my computer and Gingerbreat EE03 ROM on my Epic. Even if the specific instructions don't work on your builds, the general idea should work.
Connect your Epic to existing wi-fi network:
1. Go to Settings > Wireless and Network > Wi-Fi Settings
2. Place a check mark next to "Wi-Fi"
3. In the bottom section there are a list of Wi-Fi networks. Choose the wi-fi network you want.
4. Enter password if necessary.
You're done. In the future, you'll connect automatically to this network. All you'll have to do is go to the notification bar and turn on wi-fi to connect. You will need to turn off 4g but your phone may do that automatically.
Corpsed said:
Bit of a necro-thread-bump, for which I apologize, but has there been any new progress on this notion of a tethering solution with Linux for the Epic 4G?
Click to expand...
Click to collapse
USB tethering should work with the Epic-compatible build of Wired Tether. If you're running a ROM with Wired Tether included, it's likely that build.
Linux uses the rndis_wlan driver for tethering. Depending on your distribution, it should work more-or-less out of the box. However, if network interfaces don't come up automatically, you might have to bring "usb0" up manually. Also, the RNDIS driver is a bit finicky, and you might have to disconnect the USB cable, run "modprobe -r rndis_wlan" to ensure the driver reloads on reconnect.
Related
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.
I've been searching on xda and google how to use CM tethering on my G1 to my Mac. I cannot figure it out for the life of me, that is why I am posting this. Is there a step by step for the mac? If so, can someone please help me out?
I'm not sure what you mean by CM tethering. Maybe Cyanogen Mod?
Anyway Tethering is pretty easy with a PC.
Root put on a tethering app. The last five ROMS I flashed on my MT3G had the app built in. Currently using Super-D. Should be the same for a G-1.
Open the app. By default it's wifi, although you can configure Bluetooth. But Wifi doesn't require pairing.
Just start the tethering app on the phone and it becomes an access point. Just like a wireless router.
So on the PC I search for wireless signals and find the one with my phones name and connect. I could add security if I wanted, but rarely do.
So if you can connect to a router with a Mac I guess you could tether.
I'm just assuming of course because I've touched a Mac for about 3 minutes in my life.
I don't know if that will help you at all. I'm assuming you've rooted and installed cyanogen? I think his apps come in an accessory pack or something. Cyanogen is honestly more complicated for me to install that Super-D or WG which have everything all in one for the most part. Sometimes they need ringtones.
Anyway do you have a 'Tethering App' on your phone? It looks like a green wedge.
I think OSX lacks the drivers for wired tethering (includes the settings option), but you might have luck with the wireless tethering app.
I have a Mac. Just use a wireless tether app. When you turn it on your phone will act as a wireless router. Get your Mac to scan for wireless networks and you should find one that says G1 Tether. Connect to it and you should be good to go. This is all I have ever done and I have never had any problems.
Thasro said:
I have a Mac. Just use a wireless tether app. When you turn it on your phone will act as a wireless router. Get your Mac to scan for wireless networks and you should find one that says G1 Tether. Connect to it and you should be good to go. This is all I have ever done and I have never had any problems.
Click to expand...
Click to collapse
So like I said, it should be just as simple as on a PC.
Assuming the OP has rooted his G1.
(Except you can't do it through USB)
yeah i always use the wireless tether for root users app at work, it works just fine for me =], in all of about 2-3 clicks isntant internet =]
same for me
I have a Mac. Just bought it like, 3 days ago. It was Tethering very well until 7 hours after I bought it, and now it doesn't connect to my G1. Any help?
Hi,
I know the phone is capable of doing both, and there are software/apps to do each function seperatly. But is there an app that does both for android phones?
I know Froyo has this capability built in... and will mostly likely be removed by samsung/tmobile. But here's hoping!
Thanks.
GameOver69 said:
Hi,
I know the phone is capable of doing both, and there are software/apps to do each function seperatly. But is there an app that does both for android phones?
I know Froyo has this capability built in... and will mostly likely be removed by samsung/tmobile. But here's hoping!
Thanks.
Click to expand...
Click to collapse
well you can do WiFi using either Wireless Tether or Barnacal. You can get Barnacal on the market. As for USB, thats prob not going to happen till we get some custom roms. For that you would need to alter the Kernal and firmware to acheive this.
MonkySlap said:
well you can do WiFi using either Wireless Tether or Barnacal. You can get Barnacal on the market. As for USB, thats prob not going to happen till we get some custom roms. For that you would need to alter the Kernal and firmware to acheive this.
Click to expand...
Click to collapse
I can't get barnicle or android wifi tether to work for more than a few minutes on my vibrant... Anyone else with more success?
You can USB tether your SGS to your computer out of the box. No rooting, no nothing.
For Windows:
http://forum.xda-developers.com/showthread.php?t=737744
For Mac OSX:
http://forum.xda-developers.com/showthread.php?t=736769
Ugh. Barnacle Legacy works perfectly as does the newest version of Wifi tether.
Sent from my SGH-T959 using XDA App
Yes but there aren't any apps that do both?
Sent from my Samsung Vibrant using XDA App
Dang, both Barnacle and Wifi tether are giving me fits today. I know both of these are in active development, with new releases every other day it seems.
I am using the latest Barnacle available in the market, Version 24 as reported by the "Manage Applications" under settings. I don't see an "About" screen in the application, so I don't know what the *real* version is.
As for Wireless Tether, I am using version 23 as reported my the "manage applications" under settings, or 2.0.5-pre6 as reported by the About screen.
pyun said:
You can USB tether your SGS to your computer out of the box. No rooting, no nothing.
For Windows:
http://forum.xda-developers.com/showthread.php?t=737744
For Mac OSX:
http://forum.xda-developers.com/showthread.php?t=736769
Click to expand...
Click to collapse
This method of tethering on Windows 7 works flawlessly. I've had issues using the Kies method and this fires up right away. It seems to be a little slower than the old wired tether app for my G1, but that could also be because I was tethering on the train in crappy weather. Barnacle works awesome on Windows if you follow these directions:
Baranacle Wifi Settings:
1. Change SSID - [User Preference]
2. Change Channel - 6
3. Custom Wifi Ad-hoc - NONE
4. Skip wpa_supplicant - CHECK
5. Restart Phone As Desired
Settings For Windows:
Open cmd.exe as administrator
C:\Windows\system32>netsh interface ipv4 set subinterface "Wireless Network Connection" mtu=1250 store=persistent
This is assuming your wireless network adapter is called "Wireless Network Connection"
Yeah, I have done all that and I am getting lots of errors:
NAT Restart: Network is down
And then a bunch of these:
Getting netmask of eth0 failed: cannot assign requested address
Followed by a couple instances of
NAT Restarting Now
NAT waiting for local interface
And yes, I have positively confirmed that I set the MTU on my computer.
And the Wireless Tether program now just run and then hangs. No FC, no nothing. When you press the big green icon to start the tether, you get the little animated spinner which freezes after a couple of seconds.
I'm trying to install Kies now.
I don't recommend installing Kies if you just want to USB tether. It's over 280 mb and the program itself kept crashing on me.
Just install the official drivers from Samsung's website then create a DUN connection based on the instructions in http://forum.xda-developers.com/showthread.php?t=737744.
Also, the official drivers on Samsung's download section are not up to date. The latest drivers are in the Kies install. I've zipped them up for x86 Windows users and put them online. You can download the zip and extract the files to your \Windows\System32\Drivers folder.
http://dl.dropbox.com/u/9387307/x86 Vibrant drivers from Kies.zip
for USB tether, I use PdaNet, it is super simple, no configuration needed on the phone or the computer... it works super fast and I've had no issues, just download the PdsNet desktop client and install on your PC and the PdaNet from the android market and done... you will be up and running in 5 minutes or less
That was perfect.
Posting over the DUN connection now. Thanks!
Hey All,
I have been messing with my Adam for a bit. I have been trying to figure a way to tether the device. I know Android 2.3 supports Adhoc networks, but not 2.2.
Although the Adam's kernal seems to be much higher revision than 2.2, the device itself only seems to have native 2.2 config options, with an Adam skin. With that said, I cannot get the Adam to tether/connect to an adhoc network, no matter what I try.
I have a Sprint Touch Pro. I can get it to detect as a 3G Usb modem in windows, and it automatically detects as such when hooked into a linux machine, but sadly does not do anything in Android/The Adam. The adam will pair with it over BT, but will not connect to it, and will not even see it in wifi-tether mode.
Any ideas? Is this something fixable with a settings change? Rooting? An app (on the phone or the adam?)
Any/all help or insight is appreciated.
Edit: I apologize, this was meant for the General Discussion. I don't see a way to move or delete this thread now, either. If the mods can move it, that'd be great. If not, I guess my questions still stand.
Assuming you want to tether to provide a more "mobile" internet connection:
Does your phone have some sort of WiFi tether app for it? If not you could attempt to run Android on your WinMo phone via Haret and then try installing a WiFi tether app and see if it works.
I would imagine to tether over USB Adam would need some type of drivers for mobile devices and that gets tricky. I would first try to tether Adam to a Windows or Linux computer with an Internet connection first, see if you can get that to work. Than go to your phone and try that. If it doesn't work from a computer it probably will not work from a phone.
If you want to tether for other purposes such as transferring files, SSH, SFTP, ADB, logcat, etc there are apps for those.
Correct, tethering for mobile internet.
I've actually tried the XDAndroid 2.2 and the 2.0.6 wifi tether app on my phone, but sadly it seems to create adhoc only, I've been unable to get it to create infrastructure, as well as it sometimes thinks it doesn't have root.
I'd have to get a male/male or female/female USB cable to try tethering to my PC, but i'll see if I can't figure that out.
Honestly, I'd be perfectly fine with Wifi tethering if the adam would detect Adhoc, as the XDA wifi tether android app can do that no problem.
Edit: On the windows mobile side, I've tried PDA net and internet connection sharing. Internet connection sharing supports Bluetooth DUN, but the adam doesn't seem to do anything with it, it'll pair but not connect to it. PDA net also seems to just do adhoc broadcast, which the adam cannot detect.
--removed--
You answered the question before I could post it. (if you have wifi tethering capability on your phone)
Eujin said:
Correct, tethering for mobile internet.
I've actually tried the XDAndroid 2.2 and the 2.0.6 wifi tether app on my phone, but sadly it seems to create adhoc only, I've been unable to get it to create infrastructure, as well as it sometimes thinks it doesn't have root.
I'd have to get a male/male or female/female USB cable to try tethering to my PC, but i'll see if I can't figure that out.
Honestly, I'd be perfectly fine with Wifi tethering if the adam would detect Adhoc, as the XDA wifi tether android app can do that no problem.
Edit: On the windows mobile side, I've tried PDA net and internet connection sharing. Internet connection sharing supports Bluetooth DUN, but the adam doesn't seem to do anything with it, it'll pair but not connect to it. PDA net also seems to just do adhoc broadcast, which the adam cannot detect.
Click to expand...
Click to collapse
So you tried 2.0.6 wifi tether app for WinMo? do you have a link for this app?
Er, no. I tried 2.0.6 wifi tether app for Android, running XDAndroid 2.2 for WM6. Link here to the app
http://code.google.com/p/android-wifi-tether/
I also tried wmwifirouter in windows mobile, link here http://www.wmwifirouter.com/
I had to replace my wpa_supplicant file to get ad-hoc networking working on my Dell Streak. Maybe its similar for Adam.
http://forum.xda-developers.com/showthread.php?p=10514373&highlight=hoc+found#post10514373
http://android.modaco.com/content/d...c-network-connection-for-streak/#entry1381049
http://forum.xda-developers.com/archive/index.php/t-863976.html
http://forum.xda-developers.com/showthread.php?t=754961
I'm trying to get in to modify the wpa_supplicant as mentioned, but I'm starting to think more and more the adam doesn't have superuser/root access like they've said, as all terminal apps I've tried have failed. Thanks for the heads up, though.
If anyone else finds any alternatives in the meantime, let me know.
You would replace the supplicant file on XDAndroid, not on Adam. The supplicant is for the system running wifi tether acting as the hotspot.
Ok, I feel stupid, but ptok's post makes it sounds like he modified the supplicant on his streak so it would see ad-hoc networks.
Wouldn't I want to modify the Adam so it can see ad-hoc, since my phone can already push out ad-hoc even in WinMo?
Eujin said:
Ok, I feel stupid, but ptok's post makes it sounds like he modified the supplicant on his streak so it would see ad-hoc networks.
Wouldn't I want to modify the Adam so it can see ad-hoc, since my phone can already push out ad-hoc even in WinMo?
Click to expand...
Click to collapse
Good luck with that. You're talking about reverse engineering drivers, recompiling kernels, and a lot of time spent for little gain and possibly no gain. It is almost always easier to attempt to get the wifi spewing device to act as an AP than it is to get something else to comprehend ad hoc networks. Besides, security is stronger with the former than the latter.
What about the XDA WiFi Tether from here. Is it any newer, is there an option for WPA? If not thats about all the help I can provide. You are probably going to have to go to XDAndroid forums and ask how to turn the phone into an AP or ask about WPA supplicant info.
Just remembered that some folks on XDA were trying to do the same thing with the Hero I think. They started some stuff and never finished, but did get WiFi Tether to support WPA which is a step in the right direction. You could hunt around the Hero CDMA dev forum and see if anything exists.
Sorry I couldn't help more.
Just read this thread at Notion Ink Hacks that ad hoc should work...
http://notioninkhacks.com/forums/vi...sid=0ee5dff6243da9c4d02433800dd9f4b1&start=60
Sent from my Evo
webs05 said:
Just read this thread at Notion Ink Hacks that ad hoc should work...
http://notioninkhacks.com/forums/vi...sid=0ee5dff6243da9c4d02433800dd9f4b1&start=60
Sent from my Evo
Click to expand...
Click to collapse
I get a "You are not authorised to read this forum" when I try to follow this link. However, I do see that the Notion Ink Hacks update includes Adhoc. Cool.
Tried that on my friend's Adam. It worked.
I can confirm that the NIH updates have enabled ad-hoc tethering, and it works great.
Ad Hoc
What ROM did you use that Ad-Hoc worked on? I am running EdenX and I can connect to an ad-hoc network, but not actually use the internet access through the connection.
[Edit]
I was using WMWifiRouter, which resulted in the scenario identified above. I downloaded the HTC Wifi app that I found in one of the other XDA forums, installed it on my phone and created a hotspot with it and it worked fully. Apparently there is something different in the HTC implementation as compared to the WMWifiRouter app implementation that lets one work fully and the other only to allow a connection, but not access the internet.
WiFi Tethering Adam and Nexus One
Eujin said:
Hey All,
I have been messing with my Adam for a bit. I have been trying to figure a way to tether the device. I know Android 2.3 supports Adhoc networks, but not 2.2.
Click to expand...
Click to collapse
I simply set my Nexus One as a WiFi Hotspot ... configure it with a SSID and WPA2 PSK security and a Password ... then turn on the WiFi on the Adam and enter the Passphrase. Away it goes. That is why I ordered a WiFi only model.
Hi,
I Shared this software was i found because I think it is very useful if you dont have a Wifi USB card.
PdaNet+ is one of the top Android applications of all time. PdaNet+ shares the Internet access of your Android phone with your computer or tablet. PdaNet+ works on all Android phones without rooting. It also does not require a tether plan, that will save you $20/month from most carriers.
PdaNet+ now bundles both PdaNet and FoxFi to give you supports of WiFi hotspot in addition to USB Tether and Bluetooth DUN. In USB mode it is capable of handling download speed of well above 35Mbps (35000kbps) and is the fastest tethering software available for Android.
Website :ht tp :/ / junefabrics. com /android/ delete spaces... my first post sry.
How to?
1 Install Program and follow setup steps.
2 When installation finished automatically the setup install the PDAnet app in your phone.
3 Now open PDAnet app and check Activate USB Tethe is marked.
4 Go to wifi settings in your device and enable wifi, now(in your device) search the wifi acces point what you want to connect.
You can see a new running network in your network connections center.
Compatibility
Android, Iphone, Windows Mobile,BlackBerry, PalmOS
Seeyou ^^
PD: You can download the full version program for example in: piratebay.se, simply search "pdanet" in browser
Good one
its a good one...will be useful for some one...........but i think no one have visited this post