Related
I want to make my tablet a Wi-Fi hotspot so I can share files by connecting my phone to the tablet Wi-Fi ap, and start a ftp server.
Can it be done? I tried foxfi but it crashed when I tried to enable AP.
I can use my phones tether option, but when I do my ftp app says "please connect to a network"
Thanks
Swiped from my Nexus 10 using xda-developers app
To clarify, I want to share ftp from my phone, connected to host AP on my nexus 10, and access on my nexus 10. I have been able to connect my laptop and tablet to my phone AP, and successfully shared files (apache2 http server) from my laptop to tablet, but this requires my laptop to be constantly on, also my phone.
Bump.....
Swiped from my Nexus 10 using xda-developers app
thank you ))
ismayilovali said:
thank you ))
Click to expand...
Click to collapse
For what? Lol
Swiped from my Nexus 10 using xda-developers app
Bump...
Sigh, I really wish I could get it working.
I downloaded an iwconfig binary but it says:
Code:
# iwconfig
lo no wireless extensions.
sit0 no wireless extensions.
wlan0 no wireless extensions.
ip6tnl0 no wireless extensions.
p2p0 no wireless extensions.
Im confused what you are trying to accomplish. If you host the FTP on your phone, and want to connect the Nexus 10 to the FTP to share files, then all you do is on your phone turn on wifi tether, and connect to the wireless network the phone creates from your N10. I dont think it is possible to make a tablet an access point that doesnt have a cell service internet connection. In order for the Nexus 10 to be an "access point" it would actually be just a repeater from your routers (or phones, or whatever) internet connection. But you already have that on your phone and by making your phone the hotspot you just connect your tablet to the phone like it was connecting to any normal wireless network.
EniGmA1987 said:
Im confused what you are trying to accomplish. If you host the FTP on your phone, and want to connect the Nexus 10 to the FTP to share files, then all you do is on your phone turn on wifi tether, and connect to the wireless network the phone creates from your N10. I dont think it is possible to make a tablet an access point that doesnt have a cell service internet connection. In order for the Nexus 10 to be an "access point" it would actually be just a repeater from your routers (or phones, or whatever) internet connection. But you already have that on your phone and by making your phone the hotspot you just connect your tablet to the phone like it was connecting to any normal wireless network.
Click to expand...
Click to collapse
No, I just want my Nexus 10 to be able to HOST [read: have IP 192.168.43.1], to be able to connect my phone to it [192.168.43.105], so that my FTP app will see I really am connected to wifi.
In tether mode, phone has 192.168.43.1, however the app doesn't recognize it as being connected since it's in tether, and not regularly connected to wifi, and will not start because it says Please connect to a network.
This is why I would like my Nexus 10 to host an infrastructure network.
Well sorry but I dont know how to help you with that sort of setup. or if it will even work. I highly doubt it will work since normally you MUST be on data to start a tether. This is because it configured your wifi radio for a different mode that allows others to connect. I dont think it is possible to have the same radio be configured in two separate ways at the same time.
WHy not just do what the majority of people do and get a dropbox for free and host the files there. Your tablet and phone will both be able to access it.
EniGmA1987 said:
Well sorry but I dont know how to help you with that sort of setup. or if it will even work. I highly doubt it will work since normally you MUST be on data to start a tether. This is because it configured your wifi radio for a different mode that allows others to connect. I dont think it is possible to have the same radio be configured in two separate ways at the same time.
WHy not just do what the majority of people do and get a dropbox for free and host the files there. Your tablet and phone will both be able to access it.
Click to expand...
Click to collapse
Look, you have no clue what you're talking about.
I know what I intend to do will work IF I could get my tablet to make a network in infrastructure mode. I do not want to hear about "better ways" to do it, you have no clue what my situation is.
You are really wrong on a lot of points [you do not need an actual data connection/plan to start a tether network, on pretty much any phone that supports it], you really don't know, I understand, but please stop saying "it can't be done," or just stop replying. Also I cannot just use dropbox because it would take a zillion years to upload 4GB movies. And when I'm traveling [like now] I do not always have wifi.
lol. Wow dude what a **** post. Here I am trying to help you and you be a complete ass about it my suggestion? I thought of soemthing that might work and was going to post it but since you feel like telling me to go **** myself then same to you buddy.
I think I am picking up what you are laying down.
You want to start a wireless network between your N10 and your phone without using a wireless router or access point device.
If you were trying this back in the old days you would simply use a ethernet cross over cable between two ethernet cards and set them to have the same subnet.
Can't say that I know how to do this though with wireless networking.
Sent from my Nexus 10 using Tapatalk HD
This is the type of thing Wifi Direct is supposed to be for. The Nexus 10 supports that, it's under the menu in wireless settings. Not sure if your phone does, of course.
Also, depending on AP settings, two devices (clients) on the same wireless network can communicate with each other. It's relayed through the AP, so it will be somewhat slower.
mvmacd said:
Look, you have no clue what you're talking about.
I know what I intend to do will work IF I could get my tablet to make a network in infrastructure mode. I do not want to hear about "better ways" to do it, you have no clue what my situation is.
You are really wrong on a lot of points [you do not need an actual data connection/plan to start a tether network, on pretty much any phone that supports it], you really don't know, I understand, but please stop saying "it can't be done," or just stop replying. Also I cannot just use dropbox because it would take a zillion years to upload 4GB movies. And when I'm traveling [like now] I do not always have wifi.
Click to expand...
Click to collapse
You are being a **** man.. and I uploaded borderlands 2 in less than 3 hours to my drop box.. you don't need data tho, but you may need a cellular radio. Why not use a PC or a USB otg cable and connect the 2? Do it all the time with my N7 and HTC vivid
Sent from my Vivid 4G using Tapatalk 2
Still not clear as to what the problem is. Since both on 192.168 non-routable networks presumably they are sitting next to one another. Then who cares which device is the AP? One should be able to run ftp server and the other ftp client. Since he doesn't need data then it seems ftp is just to access one device from the over - no true tether for external data.
Still Charged Up
Here's what I did and it works to share files between phone and tablet without PC using ftp. Both devices running ES File Explorer. Droid Charge phone hotspot started - has IP address 192.168.43.1. Turn on ftp server within es file explorer on phone. Connect to phone from tablet over WiFi. Phone assigns tablet IP address - in this case 192.168.43.131. On the tablet open es file explorer and define the ftp server that is running on the phone. Once done perform the ftp connection from the tablet to the phone. You can then ftp between the two for as much as you want.
I am paying for phone tethering app on phone. The apps I see in the market seem to identify issues with JB or seem just too old to depend on. Regardless, if you just want to ftp between the two you do not need tethering. You need an app that will act as a hotspot managing devices, security and IP addresses. Another option is a cheap portable access point. Again, you keep focusing on ftp - not the internet. The ap creates a WiFi network that your phone and tablet can connect to - no different than a crossover cable between two wired Ethernet devices. As long as the both are on the same network you are good to go.
BTW - you may think you've perfectly explained what you are looking for answers to. You have not so you should not be too surprised at some of the answers.
Sent from my Nexus 10 using xda app-developers app
Reilly1812 said:
Here's what I did and it works to share files between phone and tablet without PC using ftp. Both devices running ES File Explorer. Droid Charge phone hotspot started - has IP address 192.168.43.1. Turn on ftp server within es file explorer on phone. Connect to phone from tablet over WiFi. Phone assigns tablet IP address - in this case 192.168.43.131. On the tablet open es file explorer and define the ftp server that is running on the phone. Once done perform the ftp connection from the tablet to the phone. You can then ftp between the two for as much as you want.
I am paying for phone tethering app on phone. The apps I see in the market seem to identify issues with JB or seem just too old to depend on. Regardless, if you just want to ftp between the two you do not need tethering. You need an app that will act as a hotspot managing devices, security and IP addresses. Another option is a cheap portable access point. Again, you keep focusing on ftp - not the internet. The ap creates a WiFi network that your phone and tablet can connect to - no different than a crossover cable between two wired Ethernet devices. As long as the both are on the same network you are good to go.
BTW - you may think you've perfectly explained what you are looking for answers to. You have not so you should not be too surprised at some of the answers.
Sent from my Nexus 10 using xda app-developers app
Click to expand...
Click to collapse
actually I explained it pretty well: can nexus 10 be an AP? How?
Look up AP on Google.
Reilly1812 said:
Still not clear as to what the problem is. Since both on 192.168 non-routable networks presumably they are sitting next to one another. Then who cares which device is the AP? One should be able to run ftp server and the other ftp client. Since he doesn't need data then it seems ftp is just to access one device from the over - no true tether for external data.
Still Charged Up
Click to expand...
Click to collapse
I think I explained my FTP doesn't honor tether mode, it technically can access wlan0 to get ip to bind, just the dev didn't allow it.
XxSHaDoWxSLaYeRxX said:
You are being a **** man.. and I uploaded borderlands 2 in less than 3 hours to my drop box.. you don't need data tho, but you may need a cellular radio. Why not use a PC or a USB otg cable and connect the 2? Do it all the time with my N7 and HTC vivid
Sent from my Vivid 4G using Tapatalk 2
Click to expand...
Click to collapse
You're missing the point. I want to INSTANTLY stream from phone to tablet.
also I only have 0.6Mbps up.
derobert said:
This is the type of thing Wifi Direct is supposed to be for. The Nexus 10 supports that, it's under the menu in wireless settings. Not sure if your phone does, of course.
Also, depending on AP settings, two devices (clients) on the same wireless network can communicate with each other. It's relayed through the AP, so it will be somewhat slower.
Click to expand...
Click to collapse
yeah, Rezound don't got Wi-Fi direct.
EniGmA1987 said:
lol. Wow dude what a **** post. Here I am trying to help you and you be a complete ass about it my suggestion? I thought of soemthing that might work and was going to post it but since you feel like telling me to go **** myself then same to you buddy.
Click to expand...
Click to collapse
Sorry for coming off like that, you just kept telling me things that were irreverent to the op, I got a little ticked. Sorry
Swiped from my Rezound using xda-developers app
Not sure if it's what your looking for, but how about http://code.google.com/p/android-wifi-tether/ ?
When I tether my tablet to my phone (haven't tried other way around), it see's its WiFi as a normal WiFi, not as a mobile hotspot or anything. There's different device profiles to choose from, and I think a choice for either ad-hoc or infrastructure; and it's free
Instantly stream from phone to tablet? If that is all you need then the tablet does not need to function as AP - the phone can do it. All you need is the two units on the same network.
I'm done with this thread. Good luck.
Still Charged Up
Reilly1812 said:
Instantly stream from phone to tablet? If that is all you need then the tablet does not need to function as AP - the phone can do it. All you need is the two units on the same network.
I'm done with this thread. Good luck.
Still Charged Up
Click to expand...
Click to collapse
That's the problem, my main router only gets about 150KB/s when I stream it both connected to that. I need a router in my room, and my phone has a tether mode that acts as a router [192.168.43.1, gives DHCP IPs, etc]. The only thing, the program I used ["FTP server"] doesn't recognize I have a 192.168 IP, because it sees the regular wifi is off [and tethering is on, which I solely use as a router, not internet].
I will look into the other file manager mentioned, it sounds like it might be able to do what I'm looking for. thanks
espionage724 said:
Not sure if it's what your looking for, but how about http://code.google.com/p/android-wifi-tether/ ?
When I tether my tablet to my phone (haven't tried other way around), it see's its WiFi as a normal WiFi, not as a mobile hotspot or anything. There's different device profiles to choose from, and I think a choice for either ad-hoc or infrastructure; and it's free
Click to expand...
Click to collapse
Yeah I did try this. It fails, the log says it failed to set SSID, and a couple other things that are mandatory in order for it to work. :S thanks
mvmacd said:
That's the problem, my main router only gets about 150KB/s when I stream it both connected to that. I need a router in my room, and my phone has a tether mode that acts as a router [192.168.43.1, gives DHCP IPs, etc]. The only thing, the program I used ["FTP server"] doesn't recognize I have a 192.168 IP, because it sees the regular wifi is off [and tethering is on, which I solely use as a router, not internet].
I will look into the other file manager mentioned, it sounds like it might be able to do what I'm looking for. thanks
Yeah I did try this. It fails, the log says it failed to set SSID, and a couple other things that are mandatory in order for it to work. :S thanks
Click to expand...
Click to collapse
If all you want to do is stream movies and music, try searching Play store for a DLNA Media Server. A quick search on Google turned up many. You should be able to forget about what wireless router, IP, etc, - your phone/tablet should show up to the network as a DLNA Media Server.
The other solution with ES File Explorer will indeed work as a file access component. I use it at home to access movies on my home network.
So, at my college there are two networks that a student can use, one designed for computers (that has a proxy) and one that is designed for mobile devices (no proxy, requires MAC to get on.) I was wondering if it was possible to share my Nexus 7 *WIFI* connection to my PC...
techobsessive said:
So, at my college there are two networks that a student can use, one designed for computers (that has a proxy) and one that is designed for mobile devices (no proxy, requires MAC to get on.) I was wondering if it was possible to share my Nexus 7 *WIFI* connection to my PC...
Click to expand...
Click to collapse
Your pc got a wireless dongle?
If so just turn your Nexus into a Hotspot, connected to the Network you want
Then connect your PC to your Nexus ??
Well, I didn't make it clear. I have a wifi version N7. All I want to do is share the wireless connection that the n7 is already on with my PC. So a wireless tether would not work.
You can try to spoof your N7's mac on your pc using Mac Makeup. Your pc needs a wireless adapter and spoofs your n7's mac, so it should connect to the mobile wireless network. You probably won't be able to have both devices on the wap concurrently.
I'm guessing the reason you're looking to doing this to bypass the proxy restriction your school placed on the resource. Keep that in mind in case you decide to download a ton of torrents and they trace the usage back to your N7's mac.
fatfingered said:
I'm guessing the reason you're looking to doing this to bypass the proxy restriction your school placed on the resource. Keep that in mind in case you decide to download a ton of torrents and they trace the usage back to your N7's mac.
Click to expand...
Click to collapse
Yes, they would, but so what? Are they going to check all Asus devices? I'm sure there's plenty (unless you're in US, then Asus is very outstanding among all macbooks and iDevices). And you can't just assume he's going to download millions of illegal stuff. Maybe he wants to download Ubuntu via torrent
OP: I have not seen such a thing, there's normal tethering (3G to wifi hotspot), 3G-BT, 3G-USB, but I have never seen wifi-usb.
http://forum.xda-developers.com/showthread.php?t=1792245 check out this thread. With this adapter, BusyBox and some (more or less) basic knowlege of linux networking, I'm sure you could successfully share your wifi connection trough LAN cable, but I doubt it will ever work trough USB.
If you're running linux on your PC, then faking MAC address is so simple, that it's a better shot, if you're running windows, it's a bit trickier (but still doable).
Faking the MAC on a PC is simple too.
I'm not sure I'm even following this thread. Spoof your PC's MAC and jump on the mobile network. Done.
ALL devices have a MAC... so if they REQUIRE a specific MAC for access then they can trace everything you do online back to you. In that case I would be very cautious on what you do. They can also monitor bandwidth to your MAC (PC) and see you are pulling WAY to much bandwidth for a mobile device. If they don't care, then whatever but you may be getting a knock on your door.
You are basically circumventing their security policies and could put you in some trouble. So Clone your MAC address and keep it simple.
I've seen WiFi hotspot. Not sure if it was baked into sense though
Sent from my Galaxy Nexus using xda app-developers app
Hi. i am working on a project with arduino and android wifi. i wanna connect my arduino to my smartphone, using my smartphone as a router with a wifi hotspot, but i don't wanna share my data connection. how do i do this? i just wanna test something regarding wifi range, so all i need is my arduino to connect to the smartphone as if the smartphone was a router. is this possible?
TL;DR
Can i use my smartphone as a router, allowing me to connect my arduino to it?
My question is why would you want to specifically not share data? Simplest answer is to put your phone on Airplaine Mode... AFAIK
I found an article that doesn't quite match your question but may give you some insight: http://stackoverflow.com/questions/...by-using-the-shell-on-a-rooted-android-device
Personally I think you would have to use some shell commands and some iptables modifications to achieve what you want.. I use DroidWall to modify iptables and block apps from connecting to the internet. Possibly you could block "Tethering" from the Internet using this app.
Hope all goes well,
Sent from my HTCONE using xda app-developers app
So I'm trying to hide some network traffic from my provider Three UK. As my new contract only has 2gb hotspot and I really miss the old unlimited system they had.
Now I'm only trying to tether an android tablet to the phone nothing else, so I'm not sure how they're detecting that it's tethered bandwidth.
Figured I'd try using a VPN to hide the data but now I'm confused. My phone isn't actually sending the hotspot traffic over the VPN.
I tested local traffic and the values show that is going through the VPN, but anything via the hotspot is not. Any idea why? See speed at the top of this bad image, then VPN speed below.
i.imgur kbxyPJR.png
Looking into this further, my tablet get's a seperate IP than my phone, both provided by Three UK.
The vpn might not help much depending on you setup. Usuall there is a packet counter for tethering, among other things. Try providing output from these commands via adb shell or terminal emulator, probably need to be ran as root.
iptables -L -n -x -v
ip route show
ip rule show
Usually iptables rules get reset on a reboot, I usually run iptables -F, which flushes all rules a -Z should reset counters. But starting with the output of those three should help to figure out whats going on exactly.
Sent from my SM-G900P using XDA Free mobile app
The major issue being I don't want to root the device that's being the hotspot.
I can tether invisibly via bluetooth and some simple apps but these are far from perfect and cause errors in things such as plex etc.
The wifi hotspot is interesting though. It seems to actually work as a little server, gives out a new connection to the devices not just sharing it's own. To get 2 different external IP addresses, very interesting.
Pantho86 said:
The major issue being I don't want to root the device that's being the hotspot.
I can tether invisibly via bluetooth and some simple apps but these are far from perfect and cause errors in things such as plex etc.
The wifi hotspot is interesting though. It seems to actually work as a little server, gives out a new connection to the devices not just sharing it's own. To get 2 different external IP addresses, very interesting.
Click to expand...
Click to collapse
I have never heard of it giving out external IP addresses, maybe its something specific to you carrier. If thats the case why not connect it via bluetooth to a linux pc, make the pc the access point, then you can route and rewrite packets easily.
Sent from my SM-G900P using XDA Free mobile app
miked63017 said:
I have never heard of it giving out external IP addresses, maybe its something specific to you carrier. If thats the case why not connect it via bluetooth to a linux pc, make the pc the access point, then you can route and rewrite packets easily.
Sent from my SM-G900P using XDA Free mobile app
Click to expand...
Click to collapse
Well, if we're adding a PC to the mix I could just USB tether then output wifi from there.
However, it's mainly while im at work watching TV at lunch on the tablet.
Pantho86 said:
Well, if we're adding a PC to the mix I could just USB tether then output wifi from there.
However, it's mainly while im at work watching TV at lunch on the tablet.
Click to expand...
Click to collapse
In that case I am pretty sure you will need root. They are probably seeing that you are tethering by either iptables packet counters, creative routing, or user agent strings. If you are tethering another android device for watching media then it is unlikely they are catching you by user agent strings, since both devices should have android user agents. If you are opposed to rooting the device maybe you could buy a cheap one, root it, and swap the sim card into it when you want to tether?
Sent from my SM-G900P using XDA Free mobile app
Pantho86 said:
So I'm trying to hide some network traffic from my provider Three UK. As my new contract only has 2gb hotspot and I really miss the old unlimited system they had.
Now I'm only trying to tether an android tablet to the phone nothing else, so I'm not sure how they're detecting that it's tethered bandwidth.
Figured I'd try using a VPN to hide the data but now I'm confused. My phone isn't actually sending the hotspot traffic over the VPN.
I tested local traffic and the values show that is going through the VPN, but anything via the hotspot is not. Any idea why? See speed at the top of this bad image, then VPN speed below.
i.imgur kbxyPJR.png
Click to expand...
Click to collapse
I posted a guide on how to do this, its the only method that's worked for me, but you need to be rooted
SmokeyTech1 said:
I posted a guide on how to do this, its the only method that's worked for me, but you need to be rooted
Click to expand...
Click to collapse
Well bugger, I really don't want to root my Z3 due to all the DRM software on it.
I can tether USB and Bluetooth without being detected, but WiFi hits this snag still sadly. I can USB tether to a laptop then wifi share from there but that's getting a bit long toothed to just tether my tablet.
The Bluetooth tethering works but flash apps and a few others don't really like it, plex etc.
So there is hidden tcpdump enabler but I need an OTP? Is there anyway around this? I thought OTP is for buying stuff? tcpdump is a free linux tool.
Reason I need this is I am trying to get Larix to work. It is an Android RTMP streamer app. It will not connect to my rtmp media server so I'd like to look at the packets between the S8 and media server. I do not have direct access to the media server.
Thanks
Ray
You'll need root for packet capturing. Best get your hands on a sniffer for a man in the middle attack on your own server and capture packets that way. Unless someone knows of a rootless packet capturing method. Only way I can think of is having a hardwired laptop with wifi hotspot enabled on it and capture the packets that way.
You can actually use an app that setup a local VPN connection and then you have access to the packets.
play.google.com/store/apps/details?id=jp.co.taosoftware.android.packetcapture
play.google.com/store/apps/details?id=app.greyshirts.sslcapture
Valkiry said:
You'll need root for packet capturing. Best get your hands on a sniffer for a man in the middle attack on your own server and capture packets that way. Unless someone knows of a rootless packet capturing method. Only way I can think of is having a hardwired laptop with wifi hotspot enabled on it and capture the packets that way.
Click to expand...
Click to collapse
You will not be able to put your wifi radio in monitor mode without root, if you can at all.
partcyborg said:
You will not be able to put your wifi radio in monitor mode without root, if you can at all.
Click to expand...
Click to collapse
But you dont need to for the case he asked .
As soon as the app is started and the full VPN tunnel is up, all the traffic is routed via the VPN connection, so the app is receiving all the traffic from the device.
If you want to capture WiFI frames, then you need more than just root. The wifi card needs to be put in promiscuous mode...if that is supported on Android I don't know.
rigocalin said:
But you dont need to for the case he asked .
As soon as the app is started and the full VPN tunnel is up, all the traffic is routed via the VPN connection, so the app is receiving all the traffic from the device.
If you want to capture WiFI frames, then you need more than just root. The wifi card needs to be put in promiscuous mode...if that is supported on Android I don't know.
Click to expand...
Click to collapse
Which is why I quoted the person who asked