Multiple ADBD connections - Android Q&A, Help & Troubleshooting

Hello! i am running android-x86 on a ESXi vm, trying to make a pen testing lab. now my problem is that i am trying to allow multiple users connect to the ADBD(adb deamon) running on the virtual device, but the built in android one only supports one connection at a time, so i wanted to know if theres a way to bypass that?

Related

Wifi/Bluetooth tethering with MacBook - impossible?

Hi,
I tried several tools (aNetShare, tetherBlu, Wifi tether) but I can't tether my MacBook to my Hero!
Bluetooth: my Mac is telling me, that no additional BT-service is available except the speakers. I.e. no PAN is available.
Wifi: my Mac shows me the Hero as an access point. But connecting to it has no effect, neither on the Hero neither on my MacBook (except the wifi-icon on the mac is changing to a small console, but greyed out).
Of course, I have rooted my Hero and it's working (tried with several tools). Is tethering Hero and MacBook an impossible mission?
Android doesn't support PAN, only HFP and A2DP.
I haven't tried the apps you mention. DO any of them specifically say that they add PAN to the device?
I'm not familiar with this bluetooth stuff, but with other phones, my MacBook tethers over bluetooth with PAN connection. That's why I assumed that type of connection here, too.
No, not possible with Android.
Like i said, the Android OS only supports HFP and A2DP. If those apps do not specifically add the PAN profile to the hero, and i very much doubt that they do, then you're not gonna get anywhere.
If you need to use the phone as a modem with your mac, you're S.O.L with android!
I have messed around trying to tether my Hero with my Mac book air for a couple of weeks and tried pretty much everthing without any sucess. All the wifi tether apps out there dont seem to like macs and bluetooth failed too.
In the end I found a working solution but its not ideal - however it does work.
Installed Pararellls desktop ( Vmware would probably work too if it has good USB support - never tried it)
Installed windows XP as virtual OS
Installed PDAnet for windows ( mac version doesnt exist )
Installed Phone drivers under windows virtual machine
So now I run windows as virtual machine to tether my HTC hero with my Mac, it works well most of the time, unless the connection is dropped then Pdanet cant see the internet connection any more and requires an OS reboot.
I hope this saves some of you guys the time I lost
naaa.. get the modaco custom rom.
the android-wifi-tether app issue is present for macs and pcs, it is actually do to the hero itself and not your computer, you need to get the custom rom (awifiteth comes pre-installed) and that works perfectly on my macbook!
the custom rom adds iptable support and so it now works..
Is it not possible to make an app that injects this code into the official firmware running Hero's ?
Also, I guess the telco's are helping ensure the manufactures disable any possible way to tether as they have no current mechanism to charge for it unless you buy one of their dongles and pay though the nose for another contract
joemax said:
Is it not possible to make an app that injects this code into the official firmware running Hero's ?
Click to expand...
Click to collapse
No, the official firmware is "non-rooted," meaning that you and your downloaded apps won't be able to access the Linux system on a read-write basis, which is necessary for tethering apps, as they likely all need to change the iptables to alter the way network routing occurs within the phone.
But possible once someone works out how to root the latest firmware ?
If someone does this, I would pay gladly for the app if it allowed me to use the Hero as a 3G/HSDPA modem.

[Q] Connect Honeycomb tablet to Linux computer's internet via Bluetooth

I'm attempting to set up a bluetooth network on my Linux desktop to connect my Honeycomb tablet to for internet access.
I want to use bluetooth because my university does not allow creating WiFi networks in your room, and there isn't a public one in range from my room.
My tablet is an Acer Iconia A500 (unrooted, but willing to root if needed) and I'm running Arch Linux on my desktop. I've successfully paired the two, but I con't work out how to set up a NAP.
This is going to take installing a few packages, and a little bit of config'ing stuff, so I'll avoid giving a man the proverbial fish, and hopefully set you in the right direction:
You'll need to install the 'bluez' package, and the 'blueman' bluetooth manager (assuming you're going for GTK).
You'll likely, but optionally, want to install a dhcp server on your Arch system and then configure that...
Once you've got blueman running right, you'll be able to right-click on the applet and go to 'local services', and there configure the DUN service.
Beyond that, there may be some bridging of network interfaces and stuff, but I'm not sure (that'll be covered in the Arch wiki, as most of this is). Best of luck.
-Dan

[Q] Access home network from my Android phone over 4g

Hello,
First I am able to use simple port forwarding on my router to access each IP cam individually. This is an unsecure method and is exactly the solution I a trying to get away from.
I am a Linux professional. I can handle my own on the Ubuntu side. I am not so much technically savvy on the Android side. I've spent a good amount of time trying various methods mentioned below. The primary problem is that I just don't have beaucoup amount of time debugging to get this to work. Hence my post.
I am looking for the simplest solution to achieve my requirement. I want to securely access multiple services from my Android phone over 4G/3G on my natted home network using my Ubuntu server as the gateway. When i I say securely I mean, using an encrypted protocol to connect to my Ubuntu server, using multiple levels of authentication reaching my final end point application such as my IP webcam.
My phone is a HTC One M8 running Android 4.4.2 rooted using Weaksauce. The server on my internal network is Ubuntu 14.04.
I've unsuccessfully tried using Openvpn v2.3.2 on ubuntu and OpenVPN on my Android. This method and the other listed below I've spent hours trying get it to work. Way too many permutations of configuration and application choices to even attempt to list hear.
I've tried PPTP v1.3.4 on Ubuntu with the Android VPN client unsuccessfully
Again I am looking for the quickest way for my requirements to be met. I am open to the above methods but thinking below is the way to go.
The solution I am leaning towards is using ProxyDroid and SSH Autotunnel on my Android to port forward port 3128 to reach squid v3.3.8 on my Ubuntu.
The current problem I am running into is that SSH Autotunnel complains that it cannot create the port forward because port 3128 is already opened by squid. I've used this solution years ago using Putty on Windows and squid on my Linux system. Technically I am doing the same thing with SSH Autotunnel so I do not understand why I am getting this error this time.
I really appreciate anybody who has a few minutes to help me get up and running.
--Thanks, Chris

[Q] Run Multiple Instances of Android Emulator that can Connect to Wi-Fi

I would like to know if it is possible to run multiple instances of an android emulator so that I can run multiple instances of the same application. The application needs to connect to the internet so a wi-fi connection would need to be available. In the Virtual Machines I have attempted to use I have not found one that allows a wi-fi connection to be used. Is it possible to either run multiple instances without a Virtual Machine or is there a Virtual Machine product that allows me to connect to wi-fi connection?
bump

Ubuntu Touch Nexus 7 (2013) DHCP issue with N900 QT Mobile Hotspot

I have a Nexus 7 (2013) WiFi tablet flashed with Ubuntu touch, there is much unfamiliar to me as a regular Linux user with this distro.
I have been trying to get the tablet to connect to the Nokai N900(Maemo5 Linux) app QT Mobile Hotspot via wifi, it associates but doesn’t grab from an IP from the DHCP as my Ubuntu laptop does. If I run dhclient in the tablet's terminal it just hangs. Any ideas?
The N900 running QT Mobile Hotspot uses ad-hoc mode to make the connection.
Working in shell with the tablet is a bit of a pain as the replacement touch screen makes typing difficult and SSH apparently doesn't work without tweaking.
I see the same with UT on a MX4 and the n900.
Android out of the box disables connecting to ad-hoc networks. I wonder if UT does the same via a driver inheritance?
What issues do you have with ssh?
"Sent from Ubuntu Touch MX using the Forum Browser app"
handaxe said:
I see the same with UT on a MX4 and the n900.
Android out of the box disables connecting to ad-hoc networks. I wonder if UT does the same via a driver inheritance?
What issues do you have with ssh?"
Click to expand...
Click to collapse
Hey handaxe, same from TMO?
From my research Android can go ad-hoc when rooted, in fact my nexus associates in ad-hoc mode with the N900, just that grabbing an IP address fails. Not sure if the tablet uses dhclient, but that fails when I try it in shell.
I got ssh working askubuntu.com/questions/348714/how-can-i-access-my-ubuntu-phone-over-ssh but it is using public key verification, I go through wipes so often and have such low security needs a password is enough and I hate having to worry about key management, I assume a machine will be compromised and just use crypto on private data. Getting the tablet moved to password verification is probably what I need to bootstrap myself into the next step. There is no good gedit like app and I cant very well VI without having Esc, and Ctrl keys.
As an aside if you know how to get a VNC server running, I had been hoping to use the tablet as a big screen for N900/Maemo apps, especially GPS until the Ubuntu Touch selection expands.
biketool said:
Hey handaxe, same from TMO?
...
As an aside if you know how to get a VNC server running, I had been hoping to use the tablet as a big screen for N900/Maemo apps, especially GPS until the Ubuntu Touch selection expands.
Click to expand...
Click to collapse
The same handaxe....
http://www.unixarea.de/bq/bq-aquaris-e45-ubuntu.txt
Item no 7.
Useful info in that page overall. Installing VNC requires setting the filesystem to rw, thus allowing use of apt-get and .deb installation as opposed to clicks. This disables OTA updates.
I test-ran dhclient as root via ssh whilst connected to a WPA AP, and it did not hang, so I assume that ad-hoc is not supported.
But to get back to the most important topic,
has anyone successfully used tethering from an Ubuntu Touch wifi tablet to any phone with an ad-hoc network link?
Just an update, my research shows that it is possible for a rooted android Nexus 7(flo) to connect via ad-hoc just as the Ubuntu Touch flashed Nexus 7 also already can,
I do get a wifi associate on my Ubuntu N7 and can see the MAC address of the Nokia phone on the other side of the connection.
this problem is only an ubuntu touch DCHP hang issue, the connection to the N900 works automaticly and perfectly when I use my Ubuntu laptop.
I do not see a way to post a bug for core OS issues only official Ubuntu Touch apps.
biketool said:
I do not see a way to post a bug for core OS issues only official Ubuntu Touch apps.
Click to expand...
Click to collapse
Bugs go here.
Actually, they go under the app concerned, it this case I imagine network-manager, but bug admin seems to take care of that.
I searched around on ad-hoc and WEP but found nada.

Categories

Resources