I followed a tutorial to install ubuntu 12.04 on SGS3. all fine until the last part.
Using androidvnc it fails to launch, times out.
not sure what my local host should be.
thanks
Literally "localhost" (w/o quotes, ofc, and no spaces, one word), or as alternative the localhost/loopback IP 127.0.0.1
ubuntu on sg s3
HellcatDroid said:
Literally "localhost" (w/o quotes, ofc, and no spaces, one word), or as alternative the localhost/loopback IP 127.0.0.1
Click to expand...
Click to collapse
join me on skype and i will pay you if you can get in running (paypal)
skype = yellowgeeks
thanks
Related
USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Tried it and it's not working for me...
Or maybe i didn't setup squid right.
I'm not so good on ubuntu OS
I tried making a bridge connection on windows...the networks
The network seems to be connected but no internet connection...
Is it necessary to have Ubuntu OS?
Maybe some another how-to will help:
http://forum.xda-developers.com/showthread.php?t=793102
To setup squid to work:
type in:
sudo gedit /etc/squid/squid.conf
In that file find the section called
# ACCESS CONTROLS
Under the section find the line
#Recommended minimum configuration:
and add this line next to it
acl all src all
then find the section
# TAG: http_access
Under this section find the line
#Default:
and add the following line to look like
#Default:
http_access allow all
Close the file and restart squid as:
sudo start squid
That should setup squid to share your internet on all clients.
If required, reboot.
You can try out a similar approach on any other distro other than ubuntu.
i tried several searches about this topic, but none of them succeeded,
any update on this?
can i install ubuntu in my Win7?
syruz said:
can i install ubuntu in my Win7?
Click to expand...
Click to collapse
Well, you can virtualize it in Virtual box. It's free for personal use.
by the way what is the squid your talking about?
@ TS
maybe you can provide us with the link for ubuntu and squid?
Come on.. if you don't already know what ubuntu and squid are there's no point in trying this.
Ubuntu = Linux, that's another operating system. Squid is a proxy.
You ashould at least have the decency of Googling those for yourself..
Sent from my LG-P500 using XDA App
harshaxdadevelopers said:
USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Click to expand...
Click to collapse
Hi guys,
Do you know why I wouldn't be able to see "USB tethering" option? No matter what I did so far, all I can see is the "Portable Wi-Fi hotspot" option and that works fine. But I need to use the USB Tethering!!!
Thanks for the help!
If someone is having the same problem as me (ie usb tethering mode not visible) just use a program called togglesettings lite. It can turn on the usb tethering for you. Now the reverse usb tethering works for me like a charm. Peace!
Sent from my LG-P500 using XDA App
harshaxdadevelopers said:
USB tethering on froyo works if you need to use the phone's internet on PC. Sometimes, we just need to do it the other way around (lets say the PC doesn't have a wireless card, or we only have ad-hoc networks that are not discoverable without patching) and use our PC's net on android through USB.
Few people have done it using bridges. I did it using squid proxy server on ubuntu.
1.) Install squid and allow http access to all required clients.
2.) Connect the phone with usb tethering on.
3.) Ubuntu detects it as usb0. Now change the ip of usb0 from 'Automatic DHCP' to 'Shared to other computers'.
4.) Fire up the terminal emulator and enter the following.
#su
#netcfg usb0 dhcp
If all went well, you should now be able to connect to the internet.
Click to expand...
Click to collapse
Thank you for sharing this trick. But i dont have netcfg utility, since i use ubuntu maverick 10.10, it is not in source list. is ther any other way to do "netcfg usb0 dhcp"?
This is by far the easiest solution I've found to reverse tether. Thanks!
jadeiceman said:
This is by far the easiest solution I've found to reverse tether. Thanks!
Click to expand...
Click to collapse
Sorry and wich is the solution ????
syruz said:
@ TS
maybe you can provide us with the link for ubuntu and squid?
Click to expand...
Click to collapse
sudo apt-get install squid
This should install squid.
netcfg is not there on recent ubuntu versions not even software list but you can configure via app indicator at right but still i can't use reverse tethering although i followed you pretty well.
netcfg is a utlility on the phone... u need to run that command at the terminal of the phone not on your computer. (get a terminal emulator from the market)
Wow I'm feeling stupid.Will give it a go now.
Guys,
I have HD2. Installed Win 6.5 Energy ROM. Yesterday I installed Android on SD Card method. I insytalled Nexus HD ROM.
Android Version : 2.3.4
Baseband : 15.42.50.11U_2.15.50.14
Builder Number: GRJ22 (NexusHD2-Gingerbread V2.7 SD)
All I want is "Reverse USB Tethering" i.e. Share my Laptop's internet connection on my phone via a USB Connection ( not via WiFi .. tha i can do my making my Laptop a Hotspot)
I have tried the following link:
http://forum.xda-developers.com/showthread.php?t=941227
but it is not working somehow, is there something i'm missing ?
Has anyone tried doing this or some different method to make it work.
Please let me know. any help in this regard would be highly appreciated.
Regards
Hello, I'm using RAFDROID HD 4.2 on SD with my HD2 and I just have to connect my phone to my computer via USB and choose Internet relay ("Relais internet" in French, I don't know what are the exact words in english) in the pop-up menu.
It's working great...
thivi said:
Hello, I'm using RAFDROID HD 4.2 on SD with my HD2 and I just have to connect my phone to my computer via USB and choose Internet relay ("Relais internet" in French, I don't know what are the exact words in english) in the pop-up menu.
It's working great...
Click to expand...
Click to collapse
Its Internet Pass Through on English.
Sent from my HTC Incredible S using XDA Premium App
Dude, this is not the Q&A forum, you should not be posting topic in here unless your re a dev and posting your work.
mohitsheoran said:
Guys,
I have HD2. Installed Win 6.5 Energy ROM. Yesterday I installed Android on SD Card method. I insytalled Nexus HD ROM.
Android Version : 2.3.4
Baseband : 15.42.50.11U_2.15.50.14
Builder Number: GRJ22 (NexusHD2-Gingerbread V2.7 SD)
All I want is "Reverse USB Tethering" i.e. Share my Laptop's internet connection on my phone via a USB Connection ( not via WiFi .. tha i can do my making my Laptop a Hotspot)
I have tried the following link:
http://forum.xda-developers.com/showthread.php?t=941227
but it is not working somehow, is there something i'm missing ?
Has anyone tried doing this or some different method to make it work.
Please let me know. any help in this regard would be highly appreciated.
Regards
Click to expand...
Click to collapse
http://www.connectify.me/
you search this
it has usb support too
or try this :
Rugga said...
I'm using Windows 7. I shared my ethernet internet connection to the USB tether device.
In console emulator on the phone I typed:
ifconfig usb1 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb1
I can ping the gateway, I can also ping the web by IP address, eg 64.233.181.104 for google.com
What I can't do is use the browser or ping by domain name. I tried:
setprop net.usb1.dns1 192.168.2.1; and
setprop net.dns1 192.168.2.1
But with no luck, any ideas?
July 28, 2010 2:00 AM
Rugga said...
OK it is working now. After setting up ICS type in console emulator on your phone:
ifconfig usb1 192.168.2.2 netmask 255.255.255.0 up
route add default gw 192.168.2.1 dev usb1
iptables -F
iptables -F -t nat
setprop net.dns1 8.8.8.8
setprop "net.gprs.http-proxy" ""
Hope it works for everyone else. GL HF.
July 28, 2010 2:09 AM
When I put in the ubuntu, ubuntu, local host and 5900 in the vnc veiwer. I click connect and it gives an error message saying "connection refused"
What am I doing wrong?
Anybody? Im super excited to get ubuntu up and running, but ive been stuck here for 2 days now.
You have opened the terminal emulator, right?
The part where you type in "su" then CD to wherever you put the ubuntu files and start the shell?
If you are using the paid app you might want to contact the dev for support.
Crisis, yes I did that. Then pressed home, then opened up vnc, and typed all that good stuff in.
Hi all,
im new to the forum and wanted to say hello to everyone
Im running ubuntu 12.04 at my desktop and also on my HTPC so i decided to test ubuntu touch on my Nexus 4 and my Nexus 10. I never had any kind of smartphone before and never had buy one if there wasnt ubuntu touch :good:
I have two questions about different things and hopefully someone can guide me through the darkness.
1.: with daily build 2013/08/21 my background image switches from the default ubuntu unity like to the one with the auger and im not able to change it back to the default ubuntu 13.10 theme. Hot can i fix this?
2.: As i never worked before with openssh i dont know exactly how to transfer files from desktop to the phone. If i connect to the phone with ssh [email protected]_of_device im connected to it but dont have the knowledge to transfer files like music and/or pictures. How do i have to proceed here?
Thanks a lot for your help.
akI* said:
..2.: As i never worked before with openssh i dont know exactly how to transfer files from desktop to the phone. If i connect to the phone with ssh [email protected]_of_device im connected to it but dont have the knowledge to transfer files like music and/or pictures. How do i have to proceed here?...
Click to expand...
Click to collapse
About that...
The openssh package contains a command called scp made for file transfer. Should work like this:
Code:
scp file-to-send [email protected]_of_device:/path/to/place/file
happyass**** said:
About that...
The openssh package contains a command called scp made for file transfer. Should work like this:
Code:
scp file-to-send [email protected]_of_device:/path/to/place/file
Click to expand...
Click to collapse
Thanks
scp did the trick.
I read the scp man and -r give me the rest of information to copy complete folders to my /home/phablet/Music folder
Work like a charm :good:
Good morning everyone. As per the thread title, My girlfreind has a TV box that I suspect is a clone (the update ROMs from chinagadget review wont flash from TWRP).
This device is connected to her ADSL router/modem via a LAN cable and everytime the device boots, the MAC address for the LAN interface is randomised, causing the router to issue a new IP address via DHCP. (I cannot get the device to communicate with static IP)
it's running a lollipop based ROM at the moment (LMY47V.20160505 TEST-KEYS) is reported in settings.
I haven't removed the case yet, to investigate the circuitboard/RAM manufacturer (and don;t know how to check via software, if the wifi/bt module is made by broadcom/atheros) but my gut feeling is screaming "it's a clone". (If it helps, the TWRP backup I performed has saved to a sub-folder called "k200")
She purchased the device from Amazon UK and the majority of apps on Play Store give "version isn;t compatible with this device" error. I've tried to spoof other device in build.prop and with an app called "market helper" but no joy yet.
Any help appreciated
Has anyone got any advoce for me?
CAn anyone point me to messages/threads on hoiw to spoof a MAC address on ethernet adaptor?
does anyone know how to spoof my device type so I can get Play Store to allow me to download/install apk's without needing to sicdeload
wodgey said:
Has anyone got any advoce for me?
CAn anyone point me to messages/threads on hoiw to spoof a MAC address on ethernet adaptor?
does anyone know how to spoof my device type so I can get Play Store to allow me to download/install apk's without needing to sicdeload
Click to expand...
Click to collapse
I also have this issue with my Kata Box 2 (Amlogic S905)
I was also very frustrated when I learned that the mac address was always set at random every time I reboot.
I've read that you need to use USB burning tool to hard code the mac address for your android box.
Here's what I did to solve this.
you need:
a rooted android box
busy box
Terminal emulator
1st method:
Make sure that the ethernet cable is unplugged.
Run terminal emulator.
Run these commands in lower case:
su
ip link set eth0 down
ip link set eth0 address 01:23:45:67:89:10 (change the values of your desired mac address)
ip link set eth0 up
2nd method:
su
busybox ifconfig eth0 down
busybox ifconfig eth0 hw ether 01:23:45:67:89:10 (change the values of your desired mac address)
busybox ifconfig eth0 up
You can run run these on startup using Script Manager.
I tried both method 1 and 2 and works very well.
To verify the if everything was set properly you can run these commands:
ip link show
And
busybox ifconfig
so far on my end its working great. Im now able to reserve the IP address via MAC address.
aperture;68526292Here's what I did to solve this..[/QUOTE said:
Thanks dude. I'll try this and report back.
Click to expand...
Click to collapse
aperture said:
I tried both method 1 and 2 and works very well.
Click to expand...
Click to collapse
For me, method 2 works. 1st method didn't change anything that I could see.
I have also added start/stop adbd and setprop tcp port to my script also so I can have adb over tcp upon boot, shich I was struggling to set as persistent.
Thanks again.
wodgey said:
For me, method 2 works. 1st method didn't change anything that I could see.
I have also added start/stop adbd and setprop tcp port to my script also so I can have adb over tcp upon boot, shich I was struggling to set as persistent.
Thanks again.
Click to expand...
Click to collapse
I'm glad it worked out well for you. :victory: