Hi all,
i want to use Reverse USB Tethering in Samsung galaxy s..
i know WiFi hot-spot option.but,i am interested in USB connection(like HTC Desire HD internet pass through feature)
i searched the google & our forum...but i am not getting correct solution for (windows +Reverse USB Tethering in Samsung galaxy s) this, some one please help me..
note:-
http://blog.mycila.com/2010/06/reverse-usb-tethering-with-android-22.html
thanks in advance..
yes i want it too
Me too! If it's possible..
+1
Mee too want this feature.
My search button shows .
http://forum.xda-developers.com/showthread.php?t=939806&highlight=USB+-internet+passthrough
jje
Hi jje,
yes..it shows same query(created me)..sorry for conflicting the thread..
any way i got short-time work order solution:-
1.connect mobile to system using usb
2.in mobile setting-->wireless and network-->tethering--->enable USB tethering.
3.in system you may get one more "local area connection 2 (or X)", just set ip to 192.168.2.1 and mask 255.255.255.0.
4.just in enable primary Local area connection" enable ICS to "local area connection 2 (or X)"
3.in mobile user terminal emulator to type following cmd.
ifconfig usb0 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb0
iptables -F
iptables -F -t nat
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
4.thats all you will get internet browsing option in mobile.it will work only browsers and you tube.etc... it will not work android market.
5.if your networking having proxy also will work.(if you facing problem try to use proxy application)
Hi android seniors,
i am looking longtime for this solution as feature in ROM like Darkey or insanity(both good mod/rom creators.).etc...
as of now no answers(because they are BC in ROM optimize and performance improvement).
any way this is iptable-nat related operation..
some one helping to invent feature in SGS ROM then very very good.
note:-
i thing we can duplicate the formula(method) what HTC usinging in internet pass-through (it will not illegal)
Thanks in advance...
can you explain it more? Did you use Xp or 7?
1- just in enable primary Local area connection" enable ICS to "local area connection 2 (or X). How will we do this in XP?
2- setprop "net.gprs.http-proxy" "" What does this mean? What will we actually type at terminal?
3- iptables -F . I get iftables not found error.
mycila blog has some info but i could not understand.
hi yken,
i tested windows 7 but windows Xp also will work...
just type setprop "net.gprs.http-proxy" "" actually it is redirecting to GPRS connection..i thing..not sure..
iptables is the cmd...find the attachment you can copy to /system/bin/
Any developers willing to take this one or make it a bounty ? Am sure there are many who would be willing to pay for such an app.
Android experts.. Need your help... I am willing to donate
You have always been helpful.. need your help again now..
Mee too want this feature!!!
i am also ready to donate if we get a app for same.
Related
Hi,
I 'd like to use my Diamond like modem, using usb-rndis-lite.
'Got no ip from the HTC.
If someone reached to connect, using hardy heron...
thx
Yep, I've got the exact same problem, also on Hardy Heron. In addition to usb-rndis-lite, I also tried WMWifiRouter but that didn't work either.
Is there anyone who's been able to use Internet sharing on the Diamond with any flavor of Linux?
I've got the same problem. all that synce stuff (sychronisation with evolution) works properly, but my network manager doesn't recognize the diamond. i'm using ubuntu 8.04
I'm using Hardy and have it working via bluetooth.
I've got Blueman 0.5 installed and set up a PAN for the phone to connect to the computer. I then just start the internet sharing on the phone, connect to the computer and it all works fine.
Hi
Do you have a detailed how to site, I've been searching for weeks on this one and still can't get it to work.
http://translate.google.com/transla...ogspot.com/2008/06/bluetooth-pan-network.html
The link above has a very brief how to, although I think it uses a slightly older version of blueman, it still works OK. Only thing I did differently was that instead of setting up DHCP in Blueman, I set it in the normal Network Configuration section.
Try SynCE to tether to a phone via USB
@all: I found a USB-based solution in a project called "SynCE 0.11" while searching over on PPCGeeks. I downloaded, installed & configured per the information on the following pages on Ubuntu 8.04, ThinkPad T42. I works great as a solid quasi-broadband wireless solution, as I use it to tether to my HTC/Sprint Mogul (CMDA/EVDO Rev. A) smartphone, which is running the new WM6.1 ROM.
http://forum.ppcgeeks.com/showthread.php?t=26508
http://www.synce.org/moin/SynceWithUbuntu
http://sourceforge.net/projects/synce/
I plan to continue to use this solution when I buy my next phone -- a Sprint Diamond Victor.
Best of luck.
@Desmondo: Thanks, that worked! The only problem with this solution is that the speed of Bluetooth is so low that it might be a waste of bandwidth on an HSDPA connection (although perhaps not always).
@malcontent510: Thank you! Unfortunately, those techniques don't appear to work for the Diamond. For some yet-to-be-determined reason, Ubuntu's dhcp client can't get an IP address from the Diamond over USB. See for instance
http://forum.xda-developers.com/showthread.php?t=340747&page=8
or
http://sourceforge.net/tracker/index.php?func=detail&aid=1909626&group_id=30550&atid=399601
Considering that it works over BT, it seems that it should be possible to get it working over USB as well so it would be really great to hear if someone had succeeded.
I tried that method over USB but couldn't get it to work either. I'm happy with using bluetooth at the moment as it's only for very occasional use.
Linux USB Tethering on Touch Pro Working via ICS
So I have had the same issue with the newer HTC phones and the usb-rndis-lite driver not getting a dhcp address from the phone. I have found a solutions and it requires changing the source code to the usb-rndis-lite files. I do not take ANY credit for this as I simply stumbled across this on my many google searches. All credit to José Oliveira for posting this solution. For the full version please see
Original Post
The Fix:
Code:
Step 1 - Install Pre-requisites
open a terminal (use same terminal in next steps)
Code:
$ sudo apt-get install subversion
Step 2 - Get the Source
Code:
$ svn co http://synce.svn.sourceforge.net/svnroot/synce/trunk/usb-rndis-lite
cd usb-rndis-lite/
Step 3 - Modify the source (Diamond only)
Code:
$ gedit rndis_host.c
on line 524, find this bit
Code:
if (tmp <>hard_mtu) {
dev_err(&intf->dev,
"dev can't take %u byte packets (max %u)\n",
dev->hard_mtu, tmp);
goto fail;
}
change it to this
Code:
if (tmp <>hard_mtu) {
dev_err(&intf->dev,
"dev can't take %u byte packets (max %u)\n",
dev->hard_mtu, tmp);
retval = -EINVAL;
/* goto fail;*/
}
save the file
Step 4 - Compile and make and install
Code:
$ make
$ sudo ./clean.sh
$ sudo make install
Step 5 - Start the Internet Connection Sharing
On OLD Tytn II's open Comm Manager on your phone and click on the Internet Sharing Now make sure USB is selected and choose connect
On Diamonds it's a seperate program called Internet Connection Sharing
Step 6 - Plug in the Phone (USB)
You may need so select that device in NetworkManager or "sudo dhclient rndis0".
Verified on a HTC AT&T Fuze (Touch Pro)
-e
I need to change the DNS settings for a connection I use a lot that is managed by company who has setup OpenDNS to block a lot of stuff...
How can I go about doing this on a wpa encrypted wireless network where i do no not have a dynamic ip address?? It seems it only supports changing a DNS server when the phone is setup dynamically.. I need it to work on DHCP, I just need the DNS server changed, i dont need or want a dynamic ip..
HELP!
tiptoekirk said:
I need to change the DNS settings for a connection I use a lot that is managed by company who has setup OpenDNS to block a lot of stuff...
How can I go about doing this on a wpa encrypted wireless network where i do no not have a dynamic ip address?? It seems it only supports changing a DNS server when the phone is setup dynamically.. I need it to work on DHCP, I just need the DNS server changed, i dont need or want a dynamic ip..
HELP!
Click to expand...
Click to collapse
This is the code needed to change the DNS settings. Just connect your N1 to your PC and open command in your PC then;
adb shell setprop net.dns1 8.8.8.8
adb shell setprop net.dns2 8.8.8.4
henihazbay said:
This is the code needed to change the DNS settings. Just connect your N1 to your PC and open command in your PC then;
adb shell setprop net.dns1 8.8.8.8
adb shell setprop net.dns2 8.8.8.4
Click to expand...
Click to collapse
That did not seem to do it... I tried several times with wifi on and off and even restarted the phone.. any other ideas??
tiptoekirk said:
I need to change the DNS settings for a connection I use a lot that is managed by company who has setup OpenDNS to block a lot of stuff...
How can I go about doing this on a wpa encrypted wireless network where i do no not have a dynamic ip address?? It seems it only supports changing a DNS server when the phone is setup dynamically.. I need it to work on DHCP, I just need the DNS server changed, i dont need or want a dynamic ip..
HELP!
Click to expand...
Click to collapse
Not sure if i get that... When you use static ip there is a section that allows you to specify the DNS... not sure what you mean The problem as i see it, is that there is no easy way (via android GUI) of changing DNS if you use DHCP
Anyways... try...
adb shell setprop dhcp.eth0.dns1 <IP>
adb shell setprop dhcp.eth0.dns2 <IP>
etc
This will only change the DNS server. If you know shell scripting, You could make this more permanent by editing :
/system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf
If that works, and you are unfamiliar with shell scripting, then post some conditions (i.e SSID of network, gw of network etc) and i'll see if i can knock something up for you.
Hope that helps
yasn77 said:
Not sure if i get that... When you use static ip there is a section that allows you to specify the DNS... not sure what you mean The problem as i see it, is that there is no easy way (via android GUI) of changing DNS if you use DHCP
Anyways... try...
adb shell setprop dhcp.eth0.dns1 <IP>
adb shell setprop dhcp.eth0.dns2 <IP>
etc
This will only change the DNS server. If you know shell scripting, You could make this more permanent by editing :
/system/etc/dhcpcd/dhcpcd-hooks/20-dns.conf
If that works, and you are unfamiliar with shell scripting, then post some conditions (i.e SSID of network, gw of network etc) and i'll see if i can knock something up for you.
Hope that helps
Click to expand...
Click to collapse
Yes i am wanting to just change the DNS server that my phone uses when connecting to wifi but i cant set it up dynamically so i am forced to keep it dhcp.
i tried the way you said and it didn't do it.. this android stuff is new to me.. after i type in that command in it does not say anything.. i have rooted and unlocked my nexus one and pretty good with computers but this linux stuff is another ballgame..
ive done some dos scripting back in the day, is this anything similar? what other info would u need from me to create the file? SSID, password, ??
THANKS!
How to set the dns for the mobile internet connection?! I wanna use FoolDNS in place of Google DNS.. Because with froyo 2.2 and flashplayer we see allllllll the advertising on web and navigation becames much slower
Just wondering cause i like seeing names for the devices that are connected to my router without having to check on each item.. My phone comes up as blank on my router settings page. My wifes iphone(hate saying that word) shows up as her name. Same with all my PCs just wish my phone showed up other than a blank.
My Uncle had asked me about that at one point as well. He uses MAC address approval on his AP at his house and had no clue how to distinguish which from phone from who had it. We have 3 Captivates in my house.
Sucks having to check mac address just to see whos connected to my router.
For now I know I'm the only one on it but I check everyday to see if some one tried to jump on my ship and would love to see a name. .
Sent from my SAMSUNG-SGH-I897 using XDA App
Couldn't someone just change their device name and MAC address to match yours?
On any note, some devices use the same name stored for bluetooth. I can't really test it right now, but try and change it from the default BT name. Sounds dumb, usually I would test these things before saying anything though, so forgive me if I'm wrong!
I don't use mac address security.
The blue tooth is a good idea. Image test after work today. If u get a chance before me just let me know what happens.
Thanks for the idea
Sent from my SAMSUNG-SGH-I897 using XDA App
Our phone does not use the BT name as its network name. I have been trying to figure out where it would keep its name, because I would like to accomplish the same thing. I mean, all my devices have names, even my network printer, the kid's wii, etc.
on a normal linux box, the host name would be stored in /etc/hostname
Pirateghost said:
Our phone does not use the BT name as its network name. I have been trying to figure out where it would keep its name, because I would like to accomplish the same thing. I mean, all my devices have names, even my network printer, the kid's wii, etc.
on a normal linux box, the host name would be stored in /etc/hostname
Click to expand...
Click to collapse
Haven't confirmed it on the captivate (mines at the shop getting repaired) but i did try this method on my tilt2 running xdandroid (froyo 2.2) and a smartq V7 android tablet (eclair 2.1).
edit your init.rc file
find the section that looks something like this
Code:
on boot
#basic network init
ifup lo
hostname localhost
domainname localdomain
change hostname localhost to hostname name_of_device.
For example I called mine XDAndroiD. This is how the section looks like.
Code:
on boot
#basic network init
ifup lo
hostname XDAndroiD
domainname localdomain
This method will survive a phone reboot. Another method (that wont survive reboot) is to issue this command in a terminal under root
Code:
su
echo name_of_device > /proc/sys/kernel/hostname
This example using my XDAndroiD name would look like this.
Code:
su
echo XDAndroiD > /proc/sys/kernel/hostname
***Again I haven't tried this on my Captivate yet. Will test it out when I get my phone back from the shop.
thanks for that. i will have a look later today and see what happens.
While this may not be something that most people may want to do, it's something that I wanted to figure out here at work since I have a tri-monitor setup and wanted to use my existing keyboard & mouse on my Atrix's webtop without having to get the HD dock and use a physical KVM. Another obstacle to overcome was the fact that my linux workstation (main machine) is on a separate, wired network from my Atrix, which is connected via a 3G/4G MiFi device. You'll want to make sure you're rooted in both android OS and the webtop OS. You'll also need lxterminal working in the webtop.
So you'll need to get a couple of Jaunty packages compiled for arm:
x11vnc
libvncserver0
Once downloaded, you'll need to get them onto the /osh partition for installation. I do this via adb:
adb push x11vncfiles/ /sdcard/tmp/
adb shell
su
mkdir /osh/tmp
cd /sdcard/tmp
cp *.deb /osh/tmp
sudo -H -u adas bash (switch you to adas user in webtop)
sudo /bin/bash (switches you to root in webtop; you may need to use sulogin)
chroot /osh
cd /tmp
dpkg -i *.deb
exit
Now on to testing...
If you are like me and need to be able to get to the webtop but it isn't on the same network that your desktop/laptop machine is on, you can use the USB cable and adb forward to handle the connectivity. A positive side-effect of this limitation is that x11vnc only needs to listen on the lo (localhost) interface, which helps keep that connection more secure.
LOCAL USB CONNECTION
In lxterminal in the webtop, run the following (as adas) for testing:
export DISPLAY=:0.0
x11vnc -noncache -nolookup -localhost
On your desktop/laptop, run the following:
adb forward tcp:5900 tcp:5900
Using a vnc viewing application (vncviewer, tightvnc, etc), connect to localhost:5900
If all worked out, you should see a remote view of your webtop
REMOTE WIFI CONNECTION
If your Atrix and desktop/laptop are on the same network (or can reach each other via routing), you can do the following steps to test:
In lxterminal in the webtop, run the following (as adas) for testing:
export DISPLAY=:0.0
ifconfig (notate the IP address for eth0)
x11vnc -noncache -nolookup -listen ip_addr_from_prev_step
On your desktop/laptop, run the following:
Using a vnc viewing application (vncviewer, tightvnc, etc), connect to ip_addr_of_atrix:5900
If all worked out, you should see a remote view of your webtop
AUTOMATING THE PROCESS
In order for the x11vnc process to spawn automatically, we need to add it to the lxsession autostart file. This file is read when lxsession starts up and in turn fires off whatever scripts are listed in there. The file is located at:
/etc/xdg/lxsession/LXDE/autostart
By default, the only thing listed in that file is start-oshwt-1.sh, which is a script located at /usr/local/bin. So to get x11vnc working, we add an additional entry into that file:
(as root in webtop): echo start-x11vnc.sh >> /etc/xdg/lxsession/LXDE/autostart
Then we need to create that script in /usr/local/bin:
vi /usr/local/bin/start-x11vnc.sh
Code:
#!/bin/sh
export DISPLAY=:0.0
cd ~
nohup /usr/bin/x11vnc -usepw -forever -nossl -logappend /home/adas/.vnc/x11vnc.log -noncache -nolookup -localhost -nofb -bg
(If you're using it on the same network, replace -localhost with -listen ip_addr like the example above)
Save that file, and make it executable:
chmod +x /usr/local/bin/start-x11vnc.sh
Also, we need to modify Tomoyo to allow it to run that script. Edit /etc/tomoyo/domain_policy.conf and around line 1440:
Code:
<kernel> /osh/usr/bin/lxsession
use_profile 3
Change the 3 to a 2.
Add the following lines to that section:
Code:
allow_execute /osh/usr/bin/x11vnc
allow_execute /osh/usr/local/bin/start-x11vnc.sh
FINAL TOUCHES
I wanted to be able to just move my mouse cursor to the right edge of my desktop machine and have it magiaclly jump to the atrix monitor. To do this, I use a piece of software called x2vnc. If you're using Windows, there's also a package called Win2VNC that will accomplish the same thing. With either software, you run the client (in my case, it's x2vnc) and tell it which direction your vnc server is located at. So to the right of my linux desktop would be east, so I run x2vnc like so:
x2vnc -east localhost:5900
And this connects me to the x11vnc instance running on the atrix. By moving my mouse to the right edge of my main screen, the cursor now appears on the webtop, and I'm able to mouse around and type using my desktop's keyboard.
USING X2X INSTEAD OF X2VNC/WIN2VNC
For anyone that would rather not install any additional packages, and are already running a local X server (XFree/Xorg/Cygwin) you can use x2x to directly connect to the X server running on the Atrix. In order to do this, you'd need to modify /etc/init.d/startXServer.sh and remove the -nolisten tcp from the startx lines and reboot. Then X will listen on port 6000 (for the first display) and that can be used via adb forward on your host machine. The keyboard entry still doesn't work in the Mobile View for some reason...still investigating this. But the mouse seems to function a lot better over native X; selecting text and dragging windows works fine, as does copy & paste.
The top section still applies (you'll need double-root), but the changes are rather minimal:
Code:
adb shell
su
sudo -H -u adas bash
sudo /bin/bash
vi /etc/init.d/startXServer.sh
At the bottom of this script you'll find the lines:
Code:
sudo -u adas -i /usr/bin/startx -- -nolisten tcp -layout HDMI vt2 &
else
sudo -u adas -i /usr/bin/startx /usr/local/bin/xnull -- -nolisten tcp -layout HDMI vt2 &
Remove the -nolisten tcp from both of those lines. Save that file.
You'll also need a method of giving your localhost access via xhost. This has to run under the user context that has the primary display (adas). Since I went to this method after the x11vnc method, I already have the /usr/local/bin/start-x11vnc.sh script setup. I modified this to not run x11vnc but to instead disable access controls for X connections:
Code:
cat /usr/local/bin/start-x11vnc.sh
#!/bin/sh export DISPLAY=:0.0
xhost +
With those set, reboot your phone. When ready, relaunch the webtop and either fire up x2x directly or via forwarding over adb like so:
adb forward tcp:6001 tcp:6000
x2x -east -to localhost:1 &
You should now be able to mouse around on your webtop. Typing in terminal, browser, etc works, but Mobile View is still not working. I think I have it narrowed down to that app (aiw) not responding to XKEYBOARD events. I'll know more once I get my usb hub working and can plug in a keyboard.
This is awesome. I noticed that everything works great but then when I try to click into my mobile view and use my keyboard it wont work there. So for instance once my vnc is up, i can type in firefox, lxterminal, etc etc. But once I click into the phones mobile view the keyboard just isnt recognized. Its pretty odd.
Again though. This is great. Thanks.
EDIT: After poking around some more, I guess I was mistaken. I must've been using my BT keyboard when I was typing in Handcent. The keyboard via vnc isn't being passed to the aiw (Mobile View) window. I'll try and get that resolved.
Awesome work. This is sweet.
Synergy?
Has anyone tried installing a program called Synergy?
It's a software KVM that lets you "place" another screen beside your current screen and lets you control it by moving your mouse beyond the edge of your screen. For example, you have a desktop monitor in front of you and a laptop to the left. Running the server program on the desktop (where the mouse and keyboard are plugged in) and the client program on the laptop, after a quick setup, you can move your desktop mouse+keyboard to control the laptop. You can't drag windows or files across but copy+paste does work for text between computers, which is very useful.
It's open source and runs on Linux so I don't see any reason the client software couldn't be installed on the webtop (may have to be compiled from source).
I can't post links in the forum yet but the software is at www dot synergy-foss dot org.
I don't have an Atrix (yet) so I can't test it but if VNC works then I don't see any reason that this shouldn't work.
The default port on Synergy is 24800, so substituting that in the tutorial should allow the same thing to be achieved.
If this works it would be one more reason to get the phone when it comes out in Canada (2 days)!
Yep, I tried synergy first, but unfortunately, it wouldn't work in my situation since the synergyc (client) runs on the phone and tries to connect to the syngerys (server) on my PC. I can't redirect ports in that direction over USB, so x11vnc it was.
For those on the same network, there's no reason it wouldn't work just fine. I actually use synergy on the other side of my tri-monitor setup to control our 50" plasma when doing demos and whatnot.
D'oh
I was hoping this was a "got usb host working" thread
Oh well...
/me begins learning about his phone to get that project started.
Does the hdmi cable need to be connected to phone after we setup vnc server to run automatically ? What happens after reboot without cable plugged in ..
The x11vnc server will autostart whenever the webtop is started for the first time. After that, I believe that entire X instance runs in the background. It's just idle, waiting for the next time you connect the hdmi cable/dock.
x2vnc auto reconnects by default, but for those that are forwarding tcp ports via adb, you'll have to recreate the port forward prior to it reconnecting.
agentdr8 said:
The x11vnc server will autostart whenever the webtop is started for the first time. After that, I believe that entire X instance runs in the background. It's just idle, waiting for the next time you connect the hdmi cable/dock.
Click to expand...
Click to collapse
Was your hdmi cable always plugged in your testing ?
I just tested this right now; disconnected both cables and rebooted. Once the phone was fully up, I plugged in usb and adb shell'd in:
Code:
[email protected]:~# ps aux | grep x11vnc
Unknown HZ value! (176) Assume 100.
root 4351 0.0 0.0 1648 528 ? S+ 08:42 0:00 grep x11vnc
[email protected]:~# uptime
Unknown HZ value! (171) Assume 100.
08:42:39 up 2 min, 0 users, load average: 2.29, 1.29, 0.50
[email protected]:~#
And then I plugged the hdmi in, selected Webtop from the popup, and reran that above:
Code:
[email protected]:~# !ps
ps aux | grep x11vnc
adas 4645 0.2 0.2 9832 2020 ? Ss 08:44 0:00 /usr/bin/x11vnc -usepw -forever -nossl -logappend /home/adas/.vnc/x11vnc.log -noncache -nolookup -localhost -nofb -bg
root 5258 0.0 0.0 1652 548 ? S+ 08:44 0:00 grep x11vnc
[email protected]:~# uptime
08:44:36 up 4 min, 0 users, load average: 1.26, 1.16, 0.53
[email protected]:~#
Not sure if usb host without a Motorola media hub / lapdock has been mentioned. I managed to get my Atrix working with full usb host by applying 5vdc to the usb power rail. Seems to work with any usb hub and keyboard / mouse combo long as 5vdc is present on the host side(phone microusb connector). This works in both webtop and normal android shell.
agentdr8 said:
EDIT: For anyone that would rather not install any additional packages, and are already running a local X server (XFree/Xorg/Cygwin) you can use x2x to directly connect to the X server running on the Atrix. In order to do this, you'd need to modify /etc/init.d/startXServer.sh and remove the -nolisten tcp from the startx lines and reboot. Then X will listen on port 6000 (for the first display) and that can be used via adb forward on your host machine. The keyboard entry still doesn't work in the Mobile View for some reason...still investigating this. But the mouse seems to function a lot better over native X; selecting text and dragging windows works fine, as does copy & paste.
Click to expand...
Click to collapse
Hey, this is great. I was wondering if you could make more of a step by step guide for this portion. I'm currently in the middle of getting Cygwin but just in case anything goes wrong haha. Thanks.
^^ Sure thing. I'll update the first post tomorrow.
usb host...?
@callen81 - You got USB host working?! I am highly interested in how this would work, but by applying 5v DC to USB, I don't exactly get what you mean. Could you possibly post a guide? I know a TON of people on this forum would love to hear how exactly you did it.
It's as easy as it sounds; you just connect a micro usb togo cable to a hub and make sure power goes back to the phone. Usually most hubs have a diode to make sure power can only come from the host port not to it. So I just hardwired +5vdc from the hub power socket.
Great work callen. Will give it a try. You may want to draw up a simple schematic or maybe some pics and start a new post in Dev or Accessories so others can benefit from your discovery.
agentdr8 said:
Great work callen. Will give it a try. You may want to draw up a simple schematic or maybe some pics and start a new post in Dev or Accessories so others can benefit from your discovery.
Click to expand...
Click to collapse
I just made a small film.
http://www.youtube.com/watch?v=shvFmLRUNGA
so agentdr8, great guide but im just havin to much trouble with tryin to get x2x workin. its bein a pain with cygwin on my windows box, and too much work for my osx box. im wonderin, would it be hard to just get X workin forwardin the webtop session straight over like ssh or even telnet :/
I haven't tried redirecting the entire webtop X session to a different X server...not sure how that would work out.
I did try some simple ssh forwarding and that works fine. You'd need to install openssh-server, openssh-client, and grep packages (use -i --force-overwrite for grep). You can then tunnel whatever you want over that ssh connection to the phone.
hi, Enable Ad Hoc for Jellybean ((without router)) with Infrastructure Wi-Fi windows 7
follow the youube steps
http://www.youtube.com/watch?v=klHzMyYFGeQ
cmd run as admin ,
netsh wlan set hostednetwork mode=allow ssid=testwifi key="123456789012"
netsh wlan start hostednetwork
netsh wlan show hostednetwork
But can Nexus actualy see Ad-Hoc networks? I remeber having a problem finding iPhone 3GS Ad-Hoc tethered network on my previous android devices, I had to use hacked wpa-supplicant to enable support for this and it never worked stable enough.
this work for all android ,ios ,this dont need to hack wpa_supplicant ,it will work like router , stable but it need windows 7 , with wifi card built in that support virtual miniport
banesi said:
But can Nexus actualy see Ad-Hoc networks? I remeber having a problem finding iPhone 3GS Ad-Hoc tethered network on my previous android devices, I had to use hacked wpa-supplicant to enable support for this and it never worked stable enough.
Click to expand...
Click to collapse
Still need hacked wpa-supplicant to CREATE ad hoc networks on the Android device.
OP is showing how to create wireless network from the Win7 machine, for the Android to connect to.
This is a new feature in Windows 7 and differs from the normal adhoc networks. It shows on any Android device without problem. The video shows quiet good how you can set it up.
However, you might have to enable "Internet Connection Sharing (ICS)" first, and set it to Automatic start. This is done in Computer Management -> Services and Applications -> Services. The Service may have a different (translated) name if your using Windows 7 in another language.
Also I would add keyUsage=persistent to the command line setting up your network.
And finally, since the Network has to be started again if you have restarted your PC or have woken it up from hibernation, a little tip:
- create a folder (doesn't really matter where, I just put it in C), name it, say, "Wifi" or "SoftAP" or whatever you like.
- Create two text documents in there, start.txt and stop.txt. (or on.txt and off.txt, again, doesn't matter)
- type netsh wlan start hostednetwork into start.txt and save
- type netsh wlan stop hostednetwork into stop.txt and save
- change both file's extension to .bat
- right click on taskbar -> Toolbars -> New Toolbar
- browse to the folder created earlier
You now have an on/off switch for your Soft-Access-Point on your taskbar!
You can also add start.bat to the list of services run at system start if you want to.
Been trying to get this to work and now its working. Thanks a lot
Thank you, thank you, thank you. Just what I needed.
Works perfectly on my Nexus 4.
Getting Error after running the command
C:\Windows\system32>netsh wlan start hostednetwork
"The hosted network couldn't be started.
The group or resource is not in the correct state to perform the requested operation."
Click to expand...
Click to collapse
Did the 'set' command work ok?
Did you try opening the cmd window with Admin rights?
What keyUsage=persistent does?
danielms22 said:
Also I would add keyUsage=persistent to the command line setting up your network.
Click to expand...
Click to collapse
What keyUsage=persistent does?
pablovish said:
What keyUsage=persistent does?
Click to expand...
Click to collapse
http://bit.ly/1j2fr2A