Related
I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
ghost_o said:
I just loaded my AT&T version with cyanogen 5.0.5.3, and the wireless tether app does not work.
No matter the security settings I use, it always shows unsecure network on my laptop (OSX, Ubuntu and Vista).. If I set it to unsecure in the app, it still does not connect.
I have never used it before, but I am assuming the cyanogenmod kernel has the required bits for the app to work properly.
Am I missing something stupid?
Thanks
-G
Click to expand...
Click to collapse
Did you turn off USB tethering?
hotweiss said:
Did you turn off USB tethering?
Click to expand...
Click to collapse
Never turned it on, and verified it is off...
how did you load the apk?
lpasq said:
how did you load the apk?
Click to expand...
Click to collapse
Downloaded to SD, and installed from browser download screen...
ghost_o said:
Downloaded to SD, and installed from browser download screen...
Click to expand...
Click to collapse
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
lpasq said:
you may want to adb push method or adb install -r method instead. reboot after install. or try my rom linked in signature.
if you don't know how to use sdk's adb, do a search here on xda for one of the many basic tutorials or ask for details.
Click to expand...
Click to collapse
Will do adb.. I have the linux sdk..
Thanks, will post back with results..
OK, installing with adb has the same effect.
There are posts from the google code pages where this has happened in the past (last year though), so I doubt related..
Out of ideas...!
eth0 IEEE 802.11-DS ESSID:"AndroidTether" Nickname:""
Mode:Ad-Hoc Frequency:2.437 GHz Cell: 3A:4E:3D:88:EC:41
Bit Rate=72 Mb/s Tx-Power:32 dBm
Retry min limit:7 RTS thrff Fragment thrff
Encryption keyff
Power Managementmode:All packets received
Link Quality=5/5 Signal level=-57 dBm Noise level=-57 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
This is with WEP set.. It must have something to do with wpa_supplicant somewhere.. I'll keep digging...
maybe it might have something to do with atnt not able to do it throught there network. like us tmobile users can use data while on the phone? dont know alot but that could be a possibility
Nah, wpa_supplicant is not negotiating wep for some reason. I just replace the wpa_supplicant.conf file with a very generic open key WEP config and it still does not work..
I need to dig through my broadcom nda's and find this chip, and see if I can use the firmware.. I'll just load it up in AP mode and run hostapd and be done with it....
Ad-Hoc just plain sucks, almost as much as wep...
Cant find find wireless apk anywhere can someone please give me link
ttieder said:
Cant find find wireless apk anywhere can someone please give me link
Click to expand...
Click to collapse
http://lmgtfy.com/?q=android-wifi-tether&l=1
deprecate said:
http://lmgtfy.com/?q=android-wifi-tether&l=1
Click to expand...
Click to collapse
lmgtfy.com - that was awesome - my family members are gonna feel like idiots asking me questions now!
I had not heard of that site before.
Regarding wep-encryption & CM 5.0.5.x:
http://code.google.com/p/android-wifi-tether/issues/detail?id=292
So, wep-encryption is broken (no idea why) on the latest cyanogenmod-build. Please use CM 5.0.4.1 - it works flawlessly there.
I will take a closer look the next days ... but it's hard to tell what is causing this - I don't know which changes were made on CM.
By the way ... why was this topic moved to Q&A
This is definitely an issue which needs to be solved and should stay in development!
Thanks - I googled for quite a while, and never came across that info. Tethering is not that critical (unless I am travelling), so I will just wait for a fix sometime.
I would have figured other in this forum would have hit it though?!?!?
-G
I've installed 5.0.5.3 and downgraded the kernel which came with 5.0.4.1 - and it start working again! So, I would say that this issue is related to the latest kernel (2.6.33.1)!
I've created an issue on cyanogemod:
http://code.google.com/p/cyanogenmod/issues/detail?id=1217
i have wifi tether pre 8 on latest CM mod and its working great, wep works, and no errors in log.
I am having the same problem. I have both a nexus one and motor milestone. Tethering on milestone doesn't have problems but my nexus can't seem to connect as well no Sep security. I can see the my SSID, anyone can help?
There are obviously factors that differ between devices somehow. I too can change kernels and the issue goes away. Something is "missing" somewhere. A git pulled vanilla 2.6.33 kernel works just fine when booting the zimage from fastboot..
I have not looked at the cyanogen .config or wireless module source yet to see any modifications that would effect it...
I'm more interested in the module working in AP mode now that the driver supports it, and have been working on that...
-G
Have this working well and thought this info may help others...
First, your phone needs to be rooted and busybox properly installed. If you've rooted in the past few days, you're fine as the current payload-update.zip does install busybox with all of the links, but if you rooted early please confirm this before continuing.
Next, grab the tun.ko module from the OpenVPN thread.
Then follow the instructions for the Motorola Droid at the VPN Connections site, using the tun.ko you downloaded previously. The one caveat here is that you have to copy the module in recovery on the Incredible as we don't yet have rw access to the /system partition when booted normally.
Once you've restarted your phone after installing tun.ko, just install the latest VPN Connections apk and you're ready to go!
One point that confused me (for longer than I care to admit) is that once you create a VPN profile, you have to long-press on it to bring up the menu for connect/disconnect.
Enjoy!
Dave
which vpn connections. I downloaded latest from the store it opened but did not work.
then tried the latest from the site and it forces close. I'll start over tonight and try again.
-------------------------------------
Sent via the XDA Tapatalk App
I was working on this the other day, but I cannot get the phone to connect to my company's VPN - I setup the IPSEC ID/PW correctly as well as my user IP/PW, but I get an ISAKMP_N_AUTHENTICATION_FAILED. The one thing I didn't do was copy tun.ko in recovery mode - I just did a modprove /sdcard/tun.ko...it didn't complain and it seems like VPN Connections can find the device node without a problem.
On my linux box, I can run the same config options in vpnc and connect no problem...
I got it working after a couple days playing with it. My problem was that I had not installed busybox to xbin like their instructions outlined since it was already installed to sbin. once installed to xbin and proper permissions were granted, it worked like a charm.
Please someone post a complete how to. I cannot get this working. Busybox will not "--install" to xbin
Is there a secrete to getting busybox installed? I know this is weak sauce, but I need help.
Did you try installing busybox while in recovery mode?
where do I install busybox? /system/xbin or sbin?
Kulaa said:
where do I install busybox? /system/xbin or sbin?
Click to expand...
Click to collapse
I've got it in both places. It needs to be in xbin for the vpnc-script. I tried modifying the vpnc-script but running in to too many problems.
Those to configured their ASA
I am trying to setup the ASA for this VPN. Numerous vague (to me) unresolved errors. Phase 1 completes (easy).
Phase 2 Failure: Mismatched attribute types for class Encapsulation Mode: Rcv'd: Tunnel Cfg'd" Transport
Group = <group>, Username = <username>, IP = <IP Address>, All IPSec SA proposals found unacceptable!
" " Duplicate Phase 2 packet detected. No last packet to retransmit.
I am not finding the answers to these issues. I have not been working on VPNs for long but have setup A LOT of client (Any Connect & SSL) VPNs. I tried to "match" those configurations and have failed.
Anyone know of a tut they used to set the VPN up on the Firewall side? Im sure one of these guys I work w/ can set it up in mins but learning the hard way is what "they" prefer. < a week later is enough, I concede!
Bump ~ 10 ~
Bump ~ 10 ~
Console output?
It think I followed all the necessary steps but wanted to confirm somehow. Is there any ways to see the log on what VPN Connect is trying to do and why login fails?
supagene said:
It think I followed all the necessary steps but wanted to confirm somehow. Is there any ways to see the log on what VPN Connect is trying to do and why login fails?
Click to expand...
Click to collapse
./vpnc --debug 3 --script <path to script> --gateway <gatewayip> --id <VPN Group ID> --username <username>
johnnybags said:
./vpnc --debug 3 --script <path to script> --gateway <gatewayip> --id <VPN Group ID> --username <username>
Click to expand...
Click to collapse
./vpnc --script ./vpnc-script --gateway gateway.domain.com --id "Default Initial G
roup" --username supagene
Enter IPSec secret for Default Initial [email protected]: *******
Enter password for [email protected]: *******
uname: not found
basename: not found
grep: not found
which: not found
grep: not found
which: not found
grep: not found
which: not found
[: not found
readlink: not found
[: not found
[: not found
hash comparison failed: (ISAKMP_N_AUTHENTICATION_FAILED)(24)
check group password!
I know about the comment to check the group password, but I copy and pasted it so I know it is correct. Any suggestions? Do I copy the busy box from sbin to xbin or do I need to look for another busybox, where do you recommend me getting it form? Sorry for the noob questions.
Ok So I looked and found that the Procudures I followed for Rooting didn't actually copy busybox to xbin so maybe the first post should be updated to mention to check that xbin actually has busybox. I used the same busybox that was included in the rooting guide.
Now I'm at a different error.
Error binding to source port. Try '--local-port 0'
Failed to bind to 0.0.0.0:500: Address already in use
that's fine, it means you probably have another process of vpnc running that didn't terminate. just ad --local-port 0 to the end of your command line.
So how is your ASA configured? Is it the latest software or 8.2? ???
Kulaa said:
So how is your ASA configured? Is it the latest software or 8.2? ???
Click to expand...
Click to collapse
Not sure. I just know that the Admin can connect with his Cyanogen Modded G1 and it works great for him. He has his NAND fully unlocked of coarse.
Thanks for all the help I'll post my next issue tomorrow.
Following this thread that was linked for helping to get this working on the Incredible.
I'm getting a constant "unable to connect" error... Where do I need to enable logging to find out more about where the error is happening at? On my ASA or on the Incredible?
Thanks.
I've never got it working but if you look above you'll see how I ran this thin in adb shell. That will output everything to console and tell you what is wrong.
Because Motorola hasn't provided the .config file for the Droid X yet, I used 'make mapphone_defconfig' and then enabled config_tun in the resulting .config file. That .config file was used to generate tun.ko - it's currently functioning and working on my droid X phone. Since it's not the .config file used by Motorola there may be some oddities, unexpected problems or your house may explode if you use it. I don't take any responsibility for anything that happens if you use this - use it at your own risk.
It hasn't bricked my phone and it's been working without a problem, but your mileage may vary.
Attached is the .config file that was used as well as the tun.ko file
Enjoy
Noob Warning:
What does this do for us ?
pman219 said:
What does this do for us ?
Click to expand...
Click to collapse
This lets you run OpenVPN or http://code.google.com/p/get-a-robot-vpnc/ (allows you to connect to cisco, nortel or freeswan IPSEC servers
Would I need the config file or is that just for compiling other kernel modules for the DX?
The config file would really only be used to compile other modules. All you need is the tun.ko file
I placed this in /dev/net/tun/tun.ko
then I ran chmod 777 /dev/net/tun/tun.ko
then I ran insmod /dev/net/tun/tun.ko
I then tried the Gui app (get-a-robot-vpnc) and it fails immediately when trying to connect - am I missing something?
I'm new to android.
kris7778 said:
I placed this in /dev/net/tun/tun.ko
then I ran chmod 777 /dev/net/tun/tun.ko
then I ran insmod /dev/net/tun/tun.ko
I then tried the Gui app (get-a-robot-vpnc) and it fails immediately when trying to connect - am I missing something?
I'm new to android.
Click to expand...
Click to collapse
Hi,
You should place tun.ko in /sdcard/ or /system/lib/modules (if you have it mounted /system read,write)... I use the app "openvpn settings" - in that program when you go into the settings and choose "advanced" you can click the checkbox next to "load tun kernel module", then in "TUN module settings" set "load module using" to "insmod" and type in the proper path to tun.ko in the "path to tun module" area.
You may need to, as root (su) run:
mkdir /dev/net
busybox mknod /dev/net/tun char 10 100
ln -s /dev/net/tun /dev/tun
Best of luck
Do I need to set the path to the openvpn binary also? (Not sure where this gets installed)
And... what is required in the config file.
This is all I use on linux:
IPSec gateway X.X.X.X
IPSec ID mygroupid
IPSec secret mysecret
thanks!
kris7778 said:
Do I need to set the path to the openvpn binary also? (Not sure where this gets installed)
And... what is required in the config file.
This is all I use on linux:
IPSec gateway X.X.X.X
IPSec ID mygroupid
IPSec secret mysecret
thanks!
Click to expand...
Click to collapse
Hi Chris,
I think that would be something that the get-a-robot-vpnc folks will have to help you out with.
I got your tun.ko working with the commandline vpnc. It appears that get-a-robot-vpnc is just not quite calling vpnc how i need it to.
Thanks for your help.
Sent from my DROIDX using XDA App
You can pull .config from /proc/config.gz
mrozzeh said:
You can pull .config from /proc/config.gz
Click to expand...
Click to collapse
While that file apparently exists on other phones, it does not on the droid x - atleast not the last time that i checked
anyone know how you would recompile this for the .32 kernel
Invalid module format
I get an invalid module format error while trying to load this module. I am running Froyo if that makes any difference. THX
Can someone post instructions.....
HI,
Can someone post some instruction how to get the vpn connections working in Droid X? Please...
I can help with a donation.... $$
SOGJC said:
HI,
Can someone post some instruction how to get the vpn connections working in Droid X? Please...
I can help with a donation.... $$
Click to expand...
Click to collapse
I would love to get some instructions as well. I have a corp 5520 with group authentication that would be very nice to be able to connect to. Anyone successfully connect with the DroidX?
Anyone?
Still cannot get this to work on my DroidX - currently on 2.3.340 stock.
mab2,
As you were able to get this file, is there any way you are able to dump a file so I can use to get EVDO internet settings stick on QPST?
VPN Connections
Are you rooted?
I will post instructions if needed, I connect to a Cisco ASA and use VPN Connections - works like a charm.
Reply
rhyzar said:
Anyone?
Still cannot get this to work on my DroidX - currently on 2.3.340 stock.
Click to expand...
Click to collapse
Are you rooted?
I will post instructions if needed, I connect to a Cisco ASA and use VPN Connections - works like a charm.
Hi,
Has anyone succeeded in getting USB tethering to work with Ubuntu? I have :
Ubuntu 11.10
Samsung Galaxy S 2.3.5, kernel speedmod k16-11
USB tethering works a treat under windows, once I install the samsung drivers, but I can't get usb0 to appear when I type "ifconfig". "lsusb" does however list the samsung phone.
Any ideas, other than using easy tether ?
Thanks
Hi mmlbbntr,
I have got Ubuntu 11.10 on MacBookPro. I had problems to connect to School WLAN, so I do USB Tethering and it was successful.
But I use Teamhacksung ICS on my SGS ;-)
// Don't forget to Thanks
Have You tried
ifconfig -a
?
It should list Your usb0 ethernet.
If it is right there You should try
ifconfig usb0 up
and
dhcpcd usb0
If there is no usb0, maybe
ifconfig usb0 plumb
will help.
There is a bug with gingerbread where USB tethering is broken on linux. It worked well on Froyo and it also works well on CM9
there is a workarround however, but it is much less clean
http://technomagus.wordpress.com/mobile/tethering/samsung-galaxy-s-i9000-as-3g-modem/
Yeah ifconfig doesn't list any usb connection. I'll try "ifconfig -a" though, not sure what the difference is. If that fails I'll try "ifconfig usb0 plumb", no idea what that does either, but worth a shot.
Thanks for the tips, I'll keep you posted tonight.
robert-km said:
Have You tried
ifconfig -a
?
It should list Your usb0 ethernet.
If it is right there You should try
ifconfig usb0 up
and
dhcpcd usb0
If there is no usb0, maybe
ifconfig usb0 plumb
will help.
Click to expand...
Click to collapse
Oh wow, I hadn't seen your post. Thanks for the info. Guess all I can do is wait for a stable release of CM9 and upgrade...
zorxd said:
There is a bug with gingerbread where USB tethering is broken on linux. It worked well on Froyo and it also works well on CM9
there is a workarround however, but it is much less clean
http://technomagus.wordpress.com/mobile/tethering/samsung-galaxy-s-i9000-as-3g-modem/
Click to expand...
Click to collapse
I'm using Arch with ICS on galaxy S, so I didn't know about this bug.
ifconfig -a lists every lan devices, not only UP state.
plumb as far as i remember works only on solaris, so You sould not need this command, sorry for making mess.
zorxd said:
There is a bug with gingerbread where USB tethering is broken on linux. It worked well on Froyo and it also works well on CM9
there is a workarround however, but it is much less clean
http://technomagus.wordpress.com/mobile/tethering/samsung-galaxy-s-i9000-as-3g-modem/
Click to expand...
Click to collapse
No mention anywhere of 2.3.6. I wonder if USB tethering bug is fixed. Has anyone tried?
I'd rather not install ICS until a stable release is out TBH...
Could someone compile the following file for me? I'd do it myself, but, unfortunately, I don't have access to a computer, nor will I for a while (I'm touchpad only for now).
https://github.com/CyanogenMod/hp-kernel-tenderloin/blob/gingerbread/drivers/net/usb/mcs7830.c
The driver is for a USB-Ethernet adapter that I'm trying to get working on the Touchpad through ICS (cm9).
Thanks.
Is this for USB 3g dongles??
No, not for a 3G adapter, but for one that goes from USB to Ethernet cable.
jcsullins compiled it for me, by the way, so I no longer need the driver (many thanks to him).
However, I can confirm that ICS on CM9 recognized it without problems as eth0 and once I ran dhcpd and assigned a DNS server, I had no problems connecting to the internet. So feel free to add a driver for your own adapter if you have one.
So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)
A couple caveats, I've noticed.
1) It doesn't play nice with wifi. I sort of expected this, but bringing up wlan0 and eth0 at the same time crashes the tablet.
2) Not all apps recognize the internet connection. This is a bit frustrating since most do (including the Browser), but not all.
potissimus said:
No, not for a 3G adapter, but for one that goes from USB to Ethernet cable.
jcsullins compiled it for me, by the way, so I no longer need the driver (many thanks to him).
However, I can confirm that ICS on CM9 recognized it without problems as eth0 and once I ran dhcpd and assigned a DNS server, I had no problems connecting to the internet. So feel free to add a driver for your own adapter if you have one.
So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)
A couple caveats, I've noticed.
1) It doesn't play nice with wifi. I sort of expected this, but bringing up wlan0 and eth0 at the same time crashes the tablet.
2) Not all apps recognize the internet connection. This is a bit frustrating since most do (including the Browser), but not all.
Click to expand...
Click to collapse
Thanks for the extra info--but a link the the driver jcsullins provided you would be a lot more helpful! Any chance you can post it somewhere for us?
all4adriver said:
Thanks for the extra info--but a link the the driver jcsullins provided you would be a lot more helpful! Any chance you can post it somewhere for us?
Click to expand...
Click to collapse
*bump*
is there a USB ethernet adapter that will work on our touchpads without a driver?
all4adriver said:
*bump*
is there a USB ethernet adapter that will work on our touchpads without a driver?
Click to expand...
Click to collapse
I figured out how to compile drivers manually myself shortly after my posts in this thread. I havent used my build environment in a while though, should still be able to check out what (if any) drivers are built into the kernel by default. Do you already have an adapter?
ba114 said:
I figured out how to compile drivers manually myself shortly after my posts in this thread. I havent used my build environment in a while though, should still be able to check out what (if any) drivers are built into the kernel by default. Do you already have an adapter?
Click to expand...
Click to collapse
OMG thank you for responding! No, I don't have an adapter yet--was waiting to find out which one works and I'll buy that. I'm open to suggestions. Thank you!
You are my shining beacon of hope ba114! Have you had a chance to see what drivers might exist in the kernel?
I read elsewhere that the cyanogenmod for the asus transformer contains a driver compatible with Asix AX88772. That chipset is what this cheapo adapter (OMG, no links for noobs!) uses. I have half a mind to buy one just to see, but it would help immensely if someone could confirm that jcsullins cm9 or cm10 for the touchpad also has support for this chipset baked in...
Hopefully giving you something to work with will make this less of a "needle in the haystack"...
Thanks!
really wish I could post links, as jscullins has posted the driver!
hxxp://goo.im/devs/jcsullins/cmtouchpad/misc/mcs7830.ko
all4adriver said:
really wish I could post links, as jscullins has posted the driver!
hxxp://goo.im/devs/jcsullins/cmtouchpad/misc/mcs7830.ko
Click to expand...
Click to collapse
http://goo.im/devs/jcsullins/cmtouchpad/misc/mcs7830.ko
could use some help
OK, finally got my OTG cable and USB ethernet. Let's do this!
Tried to follow these instructions:
So to review:
-copy driver (to /system/lib/modules)
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
-get an IP address (manually, or "/system/bin/dhcpd eth0")
-add DNS (setprop net.dns1 *yourDNSserver*)
Had to troubleshoot why my Touchpad wasn't being seen as a USB mass storage device. DONE. I'm feeling like a boss.
Windows Explorer didn't see the main system--just the "SD Card". What ever--not big deal. I copied the driver over to the SD Card. Downloaded Astro File Manager to copy the file to /system/lib/modules. Nope. Denied.
No problem! Dropped to terminal and enabled super user. Astro is still a no go. No worries!! I'm a big boy--I'll do this in terminal! Taught myself enough command line jargon to navigate to the file, and copy it to the intended directory. NOPE. Directory is read only.
OK, so I navigate there and try to chmod the directory with u+w. "Bad mode". Research that to learn I have to use the numbers. So I try that (775) and now it tells me it is a read-only file system.
sigh
It might not seem like it, but I'm trying. I really am.
Can someone tell me how to get past step one of this process? Please? What on earth am I doing wrong?
I recently had to do some wizardry on my phone to get openvpn to co-operate, and I suspect that would work here but I don't understand the commands, and fear I'd end up screwing something up.
This was the command:
mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system
I'm guessing I need to unmount the system so I can work on it and copy the file into that directory? Is that the case? Would the command line be the same, or different?
Anyone else get this to work now that the driver has been posted publicly?
Thanks!!!!
To help those who come after me:
Grab ES File Explorer. It includes a Root Explorer that lets you mount the file system as writable. The "copy to" command claimed to work but did not copy the file. Copy the driver, then manually navigate to /system/lib/modules and paste. Voila.
-insert module ("insmod /system/lib/modules/*yourdriver*.ko")
Click to expand...
Click to collapse
this appeared to work
-get an IP address (manually, or "/system/bin/dhcpd eth0")
Click to expand...
Click to collapse
this took me a long time to figure out. as far as I can tell, the only "directions" noobs like me have to follow contain typos. the command should read dhcpcd eth0
HOWEVER, what I get instead is eth0: interface not found or invalid
a little help here? Does the mcs7830.ko driver work with the Asix AX88772 chipset?
Stupid question--should I be expecting the touchpad to power the USB ethernet adapter via the OTG cable, or do I require a "Y" cable to supply power? Is that why I'm getting:
eth0: interface not found or invalid
Click to expand...
Click to collapse
all4adriver said:
Stupid question--should I be expecting the touchpad to power the USB ethernet adapter via the OTG cable, or do I require a "Y" cable to supply power? Is that why I'm getting:
Click to expand...
Click to collapse
I would assume so. Every HP Touchpad tutorial that I've see that mentions an OTG cable also mentions it needing to be powered.