Ubuntu Touch Nexus 7 (2013) DHCP issue with N900 QT Mobile Hotspot - Ubuntu Touch Q&A, Help & Troubleshooting

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.

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] Any way to connect to ad-hoc network?

My new Touchpad don't seem to support ad-hoc wireless networks. It don't see them or let me join them by entering the SSID (network name) and password. Is there any software I can add or configuration change I can make to change this? I have a Windows Mobile cell phone that can share its connection over wifi, but its ad-hoc only and I use WEP.
Any ideas on what to do about adhoc networks? Any hacks or sideloaded software, if no official apps?
This KILLED me. I bought mine over the weekend while I was on vacation and the hotel had a catch-all page so I couldn't get through registration from that network. I figured no big deal and turned on my hotspot (Moto Photon) and it wasn't showing up. I configured a wifi shared connection on my laptop and it didn't show up. I thought I was insane! Ended up getting annoyed and driving up the road until I found an open network without a catch-all... My wife drove while I scanned for a connection. I know for a fact that they work with the Palm Pre's shared connection. What's up with the haterade HP?
I have an original droid and have this same issue as I understand cyanagen mod allows you to create a non ad hoc WiFi but I can't get a clear answer on this
So far I could not find an app or hack to allow the Touchpad to connect to an adhoc wifi either. I too have a WM phone (HD2). Unfortunately there is also no app for the WM phone that would allow it to broadcast infracstructure (non-adhoc) wifi.
Dissenter said:
This KILLED me. I bought mine over the weekend while I was on vacation and the hotel had a catch-all page so I couldn't get through registration from that network.
Click to expand...
Click to collapse
I had this problem also, but you can still make it work. Goto your networks wifi setting and flip the auto switch and wait. It takes some time (almost 5min for me) but it'll pickup the ip address and finish loading the setup pages.
I am trying to use my TP with the wifi from my Touch Pro 2. Any help would be appreciated.
This is a real let down, no ad-hoc support. And our WinMo phone and Motorola Triumph do not support Infrastructure mode.
SoftAP appears to be a requirement to tether with android phones.
Unfortunately my Galaxy Spica does not have this so until some wonderful magical person creates an app/patch which allows the Touchpad to Bluetooth tether or utilise ad hoc wifi networks my tablet will be housebound
also need help with HTC HD2 on winmo 6.5 tethering adhoc with touchpad.
i guess the more realistic solution will be HD2 running android?
For you rooted android phone users http://forum.xda-developers.com/showthread.php?t=1238382
I'm really annoyed about this. One of the main things I thought of when buying the touchpad was to tether it to my winmo phone and browse the internet on the move. I hope someone creates a patch soon to enable adhoc wifi.
Really disapointed that I can't tether my iphone 4 to my touchpad.
For the price I can live without gps, sd/micro sd card slot, usb but the not being able to tether this thing is a deal breaker for me.
All I wanted to be able to do with my touchpad is tether for mail, browse the web, music, and be able to watch movies and it seems this thing falls short on everyone of the fronts.
I wonder if its likely anyone will release a patch for WebOS to allow it to recognise and use AdHoc networks?!
Just upgraded my Samsung Galaxy Spica to 2.2 Froyo using kitchen - Enabled portable Wi-Fi Hotspot from the settings menu and now it works perfectly (open or with WPA2 PSK encryption)
Appears this was the only way to get it to work for me as the touchpad was not detecting the adhoc connection on 2.1.
for those with the HD2, try using MCCM HD v6 DESIRE ROM. I can tether to my touchpad with no problems.... first try, no setting tweaks or anything...
Through my searching it was my understanding that Ad-Hoc support could be injected to the touchpad, is there any progress on this front to make it more user friendly? It was pretty heavy linux speak.
Most of the threads I've seen are focusing on Android development for support. What about the webOS side of things?
This is what I'm referencing:
webos-internals
.org/wiki/Ad-Hoc_Networking*
Is there some reason this isn't a viable option? the signal issues? Seems if the method is there than all that it needs is to be more user friendly...
*argh! too newb to post links
CarbolDroid said:
Through my searching it was my understanding that Ad-Hoc support could be injected to the touchpad, is there any progress on this front to make it more user friendly? It was pretty heavy linux speak.
Most of the threads I've seen are focusing on Android development for support. What about the webOS side of things?
This is what I'm referencing:
webos-internals
.org/wiki/Ad-Hoc_Networking*
Is there some reason this isn't a viable option? the signal issues? Seems if the method is there than all that it needs is to be more user friendly...
*argh! too newb to post links
Click to expand...
Click to collapse
I tried what was described in the thread a few days ago. Ran into issue when trying to execute
/usr/sbin/wifidriver -i
no such file exised....
I have a Samsung Charge with Gummybear. I could not tether at first. I went to the tethering settings and changed the profile to a Samsung Fascinate. Then changed the Setup-Method to softap for Samsung (master). This did not work at first then I shutdown (using the task manager) the tethering app and restarted. Turned my wi-fi on the touchpad off, then on, and my SSID came up. Clicked connect and went to access control and approved my touchpad connection. Now it works.
Hope this helps someone.
Just a heads up for anyone using an iphone 4 with their touchpad.
If you upgrade to ios 4.3.3 or later you can enable wifi hotspot and this hotspot will thether with the touchpad without issue.
I was running ios 4.1 trying to use mywi without success and then decided to try this method and works like a charm.

[Q] Remote Desktop Server for android ICS

Hello,
i am searching for an remote desktop server for android ICS
I read on some old threads that for old android OS there was some app like webkey, that allow to control the android phone / tablet remotely via 3g
Does anyone know if there are some other app for ICS?
(i wonder if ICS has some remote desktop server built in in the OS, like windows, but i suppose it hasn't)
Thanks!
Bye
try app phonemypc. works great on my ics s2
kzflame said:
try app phonemypc. works great on my ics s2
Click to expand...
Click to collapse
Thanks,
but i dont search an app to control the pc via tablet.
Instead, i would like to control the tablet (that i leave at home) with the pc that i have in the office where i work.
So i need an app to be installed in the tablet, that acts like the windows remote desktop server ...
Is this what you are looking for?
To control your PC from phone/tablet, use TeamViewer. Of course, you need to have TeamViewer installed in the other device as well. Dunno if the reverse (controlling phone/tablet from PC) is possible. Never tried.
Oomahey said:
Is this what you are looking for?
To control your PC from phone/tablet, use TeamViewer. Of course, you need to have TeamViewer installed in the other device as well. Dunno if the reverse (controlling phone/tablet from PC) is possible. Never tried.
Click to expand...
Click to collapse
Yes, i was looking for something like the VNC server link you suggested me.
But perhaps it does not allow remote connection (over internet)...
Oomahey said:
Is this what you are looking for?
To control your PC from phone/tablet, use TeamViewer. Of course, you need to have TeamViewer installed in the other device as well. Dunno if the reverse (controlling phone/tablet from PC) is possible. Never tried.
Click to expand...
Click to collapse
Hello,
finally i was able to remote access my android tablet (acer a500) by another android tablet (dell streak):
i rooted the tablet and installed a VNC server on the tablet a500;
i configured my wireless home router to enable forwarding port 5901 to the (static) ip address of the tablet a500.
Then i installed a VNC client on the other tablet (dell streak).
Now i can with the dell streak and 3g connection, remote access the a500 that i leave at home.
The 'remote desktop' works well, its nice to see the screen of the a500 as screen of the dell streak...
and when i touch the screen of the dell streak , i 'touch' in same time the screen of the a500...
the only thing i dont like is that the connection is very slow...sometimes i have to wait many seconds to see the answer of the a500 on the dell streak...
Bye!
Vicolodo said:
Hello,
finally i was able to remote access my android tablet (acer a500) by another android tablet (dell streak):
i rooted the tablet and installed a VNC server on the tablet a500;
i configured my wireless home router to enable forwarding port 5901 to the (static) ip address of the tablet a500.
Then i installed a VNC client on the other tablet (dell streak).
Now i can with the dell streak and 3g connection, remote access the a500 that i leave at home.
The 'remote desktop' works well, its nice to see the screen of the a500 as screen of the dell streak...
and when i touch the screen of the dell streak , i 'touch' in same time the screen of the a500...
the only thing i dont like is that the connection is very slow...sometimes i have to wait many seconds to see the answer of the a500 on the dell streak...
Bye!
Click to expand...
Click to collapse
thank you for info
Strange that there is so few such solutions. I'd imagine people would create apps for this just like there is plenty of those WiFi File Managers where you start server on the phone/tablet and move files using web browser on PC.
Maybe LogMeIn will finally develop something proper for remote controling Phones/Tablets, there is a need for this, I for example need to support a person in another country and I need to be able to at least see the screen remotely, not necessairly control it remotely.
access a server on a 3g wireless phone directly is almost impossible, this is not for technical reasons, instead the wireless operators blocks all server ports on mobile devices.
One way is to do NAT punch through, or use proxy, none of these is easy, so I don't really see servers that can accessed from internet.
Update: I have installed dynamic dns server and vnc server and that did the trick.
I assume this is still with WIFI, did you manage to connect to a server in 3g network, i.e., using ip address provided by wireless providers, instead of a wifi ip address.
schriss said:
Update: I have installed dynamic dns server and vnc server and that did the trick.
Click to expand...
Click to collapse
Vicolodo said:
Hello,
finally i was able to remote access my android tablet (acer a500) by another android tablet (dell streak):
i rooted the tablet and installed a VNC server on the tablet a500;
i configured my wireless home router to enable forwarding port 5901 to the (static) ip address of the tablet a500.
Then i installed a VNC client on the other tablet (dell streak).
Now i can with the dell streak and 3g connection, remote access the a500 that i leave at home.
The 'remote desktop' works well, its nice to see the screen of the a500 as screen of the dell streak...
and when i touch the screen of the dell streak , i 'touch' in same time the screen of the a500...
the only thing i dont like is that the connection is very slow...sometimes i have to wait many seconds to see the answer of the a500 on the dell streak...
Bye!
Click to expand...
Click to collapse
WarriorMaN said:
thank you for info
Click to expand...
Click to collapse
Thats great that it worked but what software was used? "A VNC server" and "A VNC client" Isn't terribly informative!
Any names atall?

Unable to connect to adhoc wifi

Hi all,
I just got my brand new Samsung Galaxy SIII
All is well except for the fact that the phone is failing to even detect the adhoc wifi that I've setup. I get my home's internet using a mobile cdma usb modem and I've setup an adhoc wifi connection thru internet sharing option in windows 7.
Here's a twist though: When using my Ipod Touch- I noticed that the Ipod manages to detect the same adhoc wifi network I've setup- the Ipod also manages to connect to the network but fails to provide any internet. (from windows 7)
Oddly enough- the only way I can get adhoc wifi to work is when I use it on my Ipod from Linux Ubuntu. I cannot connect to adhoc wifis from either windows 7 or linux on my SGS3.
Is there any way I could get my SGS3 to detect and connect to the adhoc wifi from either windows 7 or Ubuntu with the mobile internet that I use at home??
Bump. Anyone??
Android's Wifi manager by default does not detect or use adhoc networks.
There exist several patches (requires root) but I'm not sure if they have been confirmed to work/ported to the S3 yet.
CM9 should include adhoc support.
I strongly recommend using the Windows7 application 'Connectify' which creates a full-fledged ap-mode network and not an adhoc while still allowing you to keep connected to any current Wifi network.
I guess similar tools might exist for OsX and Ubuntu Linux but I've only used them in forward tether and not reverse tether so far.
By the way, this is a forum not a support center. So it might take some time to get a reply.
Bumping after 3 hours is just rude seeing that we all try to work together for free
d4fseeker said:
Android's Wifi manager by default does not detect or use adhoc networks.
There exist several patches (requires root) but I'm not sure if they have been confirmed to work/ported to the S3 yet.
CM9 should include adhoc support.
I strongly recommend using the Windows7 application 'Connectify' which creates a full-fledged ap-mode network and not an adhoc while still allowing you to keep connected to any current Wifi network.
I guess similar tools might exist for OsX and Ubuntu Linux but I've only used them in forward tether and not reverse tether so far.
By the way, this is a forum not a support center. So it might take some time to get a reply.
Bumping after 3 hours is just rude seeing that we all try to work together for free
Click to expand...
Click to collapse
Thanks for the clarifications and suggestion. I finally managed to share my usb internet using mhotspot , so it's all good now. Now it's time to root this ***** and go app-freaking-crazy
T.K.B said:
Thanks for the clarifications and suggestion. I finally managed to share my usb internet using mhotspot , so it's all good now. Now it's time to root this ***** and go app-freaking-crazy
Click to expand...
Click to collapse
This issue is ICS Related, I had the Galaxy nexus for 6 months, i tried every solution that is out there with no luck, hopefully CM will include this fix or else use "Connectify" which personally I don't recommend.
NoEnd said:
This issue is ICS Related, I had the Galaxy nexus for 6 months, i tried every solution that is out there with no luck, hopefully CM will include this fix or else use "Connectify" which personally I don't recommend.
Click to expand...
Click to collapse
If you haven't tried it already- then I suggest you try disabling your antivirus when you share the network. That's what I did in the end to finally make it work.

[Q] Bluetooth tethering from an Android tablet to a non-Android phone

Hi all.
I have a 3G (HSDPA) mobile phone, not Android nor a smart phone, which has Bluetooth DUN profile: I can already tether my laptop to it via Bluetooth.
I'm planning to buy a WiFi only tablet running Android and would like to tether it to my mobile phone the same way as the laptop.
I've searched through the forums here at XDA with (apparent) no luck.
Is there any application/ROM for Android tablets that supports such a use?
I've tried a few Android phones (both stock and modded), but they don't seem to support Bluetooth tethering.
Is there any hint, reference, link or advice?
I am not scared to eventually do that in command line on the tablet, though.
Please don't suggest WiFi tethering (as the phone has no WiFi) or USB tethering as both the tablet and the phone just work as devices, not host.
Thanks in advance.
No way?
Depends on the tablet you purchase. I have an Archos 101G9 Turbo tablet and an old Nokia E71 phone. I cannot tether the tablet to the phone through the bluetooth settings menu as it just does NOT show any profiles for the phone. I can however tether the tablet to my phone via command line commands. But this requires the tablet to be rooted in order to use such commands.
Djirin said:
Depends on the tablet you purchase. I have an Archos 101G9 Turbo tablet and an old Nokia E71 phone. I cannot tether the tablet to the phone through the bluetooth settings menu as it just does NOT show any profiles for the phone. I can however tether the tablet to my phone via command line commands. But this requires the tablet to be rooted in order to use such commands.
Click to expand...
Click to collapse
Well, rooting is almost mandatory to have any non-trivial feature on these devices.
I was just wondering whether my "special need" was somehow supported in some tablet with stock or aftermarket ROM.
I do understand that a fairly complete bluetooth stack should be already in place in Android.
What I need to understand is how far my feature is from a simple use.
Well I just happened to install BlueVPN from the market a day or two ago and it works like a charm. No need to open a terminal emulator and do what I've done before.
Using either way to connect to my phone still results in some native apps not recognizing the connection. The web browsers work (stock, opera mobile/mini, firefox, chrome). But native apps like the gmail app, speed test app, and probably a few others just won't recognize the data connection. I wonder if some other properties need to be set for them to recognize it.
Not a huge deal for me since the web browsers work.
Djirin said:
Well I just happened to install BlueVPN from the market a day or two ago and it works like a charm. No need to open a terminal emulator and do what I've done before.
Using either way to connect to my phone still results in some native apps not recognizing the connection. The web browsers work (stock, opera mobile/mini, firefox, chrome). But native apps like the gmail app, speed test app, and probably a few others just won't recognize the data connection. I wonder if some other properties need to be set for them to recognize it.
Not a huge deal for me since the web browsers work.
Click to expand...
Click to collapse
These are great news for me.
While email and calendar can be accessed with the browser, SSH (ConnectBot) needs a connection. Could you please check whether this works?
I fear there's some firewalling or NAT in place, this is why it's not working... maybe.
I tried ConnectBot out for at least the telnet portion and that was able to connect but could not send anything from the onscreen keyboard. It just would not recognize anything I typed. I do not have anything to SSH into so could not test that connectivity out.
It connects at least from what I can see. But dislikes the touchscreen keyboard on my tablet apparently.

Categories

Resources