[Q] xoom wifi problem - Xoom Q&A, Help & Troubleshooting

hello
this is my first threads here and i hope that you will help me.....
my xoom WiFi is freeze on"turning WiFi on..." when i try to start wifi,this started when i tried to enable adhoc on my tablet xoom WiFi (running on 4.0.4)(rooted), i tried every single thing i find it on the internet and i can not make it work......
during my search i found that their are three file on xoom system file related to wpa_supplicant:
1-data/misc/WiFi/wpa_supplicant.conf
2-system/etc/WiFi/wpa_supplicant.conf
3-system/bin/wpa_supplicant
so, i just want from my wifi to start again, so could any body upload these file from his xoom to try if it will fix in this way....
any body could help me will be thanked alot

problem
i want your advice for this problem.......
please help me

That's what I have
Code:
~ # cat /data/misc/wifi/wpa_supplicant.conf
ctrl_interface=wlan0
driver_param=use_p2p_group_interface=1
update_config=1
device_type=0-00000000-0
network={
ssid="MyNetworkSSID"
psk="176641AEC6659DEADBEEF9567D" <-- wpa passphrase
key_mgmt=WPA-PSK
priority=8
}
~ # cat /system/etc/wifi/wpa_supplicant.conf
update_config=1
ctrl_interface=wlan0
eapol_version=1
ap_scan=1
fast_reauth=1
wpa_supplicant is the ELF arm binary used for key negiciation, common on all linux computers
Code:
~ # ls -lah /system/bin/wpa_supplicant
-rwxr-xr-x 1 root shell 539.0K Aug 1 2008 /system/bin/wpa_supplicant
~ # od -c /system/bin/wpa_supplicant | head -1
0000000 177 E L F 001 001 001 \0 \0 \0 \0 \0 \0 \0 \0 \0
I'm running this rom from 4/19/12 http://forum.xda-developers.com/showthread.php?t=1437358
Hope that helps!

thank you.............
i will try it

Battery Saver
I've had this problem as well a couple of months ago.
I noticed that -in my case- it was due to JuiceDefender, so I'd suggest that if you have a battery saver turned on, you uninstall it. Worked for me

Related

extended Desire console with bash,sshd,samba,mc and more: update 09.06.10

(c) by m0narx
Moscow,Russia
Small console extension for rooted ROMs:
What you get:
- bash
- samba - complete CIFS server, discover you Desire as windows share from the box
- sshd - SSH server
- mc - Midnight Commander
- htop - process manager
- tree - directory tree
- screen
- cpulimit
- zip
- colored bash prompt /sdcard/data/root/.bashrc
and more (iftop, opkg, pppd)
!!!UPDATE 09/06/10!!!
D/L smallupdate.zip below -before setup you should have latest console.zip already installed
!add - nano editor
!fix - usbnet minor fixes
!!!UPDATE 08/06/10!!!
!fix - bash grep incorrect option bug fixed
!add - SCP enabled, still no SFTP yet...
!add - root, var and tmp are moved to EXT partition to mount during boot time(works only with app2sd)
!add - you may put your personal init scripts to /system/sd/init.d
they will be launched just the same manner as from /system/etc/init.d
!add - to autostart samba and sshd - just run "samba auto" or "sshd auto"
to turn autorun off just run "samba auto" or "sshd auto" again
!add - usbnet command (it's not necessary to connect in internet sharing mode any more), run in console:
"usbnet on" - turn on with IP: 192.168.100.1
"usbnet off" - self describing
"usbnet auto" - turn on IP and run samba & sshd
How to:
1. D/l console.zip ( 10.19 MB ) below
!!!UPDATE!!! 08/06/10
http://files.mail.ru/X44YRN
http://rapidshare.com/files/396639709/console_new.zip.html
MD5: 27636042F84D55A813C14AD1063E88B7
2. Reboot your phone in FASTBOOT connected by USB to PC
3. launch update-eng.cmd or update-rus.cmd
4. Phone will reboot in recovery - wait 'till windows will recognize it and then press any button.
5. Wait for the update to come and after that it'll reboot in normal mode
6. You're good to go
Can some one develop an APP or widget to control those daemons with current status?!
after reboot to start SSH server:
1. launch terminal from your phone (ConnectBot или BetterTerminal)
or ADB shell from PC
2. type
su
bash
sshd start
Connect phone to PC in Shared Internet mode
or
get a IP address by WIFI from your LAN
launch Putty (included in archive)
in HOST type in your IP
click open
on "Login as:" prompt enter root, and "root's password" is also root
type bash and ENTER
now you have complete console with MC and even mouse working
you may also start smbd daemon by
samba start
after that you may access you Desire by entering it's shared folders:
\\192.168.100.254(your Desire's IP)
shares can be changed in /data/etc/samba/smb.conf
normal colored ADB FIX for WINDOWS:
1. copy *.* from winupdate folder to your C:\Windows\system32\
2. open CMD and launch
ansicon -i
3. now you have colored ADB
Sounds pretty interesting
This works brilliantly - thanks. Can you confirm whether I need to run the commands each time the phone reboots. It would be nice if we could get it to start samba automatically on reboot if not. Great work, thanks.
Can you confirm whether I need to run the commands each time the phone reboots.
Click to expand...
Click to collapse
Restart your phone and find out.
If it doesn't there's a free app on the marker called 'autostarts(root)' that does exactly what is says on the tin.
manks said:
This works brilliantly - thanks. Can you confirm whether I need to run the commands each time the phone reboots. It would be nice if we could get it to start samba automatically on reboot if not. Great work, thanks.
Click to expand...
Click to collapse
for now it isnt! i wonder if we could use this autostarts app mercianary mentioned! i'll try it later today.
also i wonder if additional system services will eat more juice?!
Also other suggestions are appreciated...
do your update.cmd in fastboot usb in my win7 notebook,it tell me device not found。could you provide a zip file that I could flash in the recovery?
Same Happened to me. If You put your phone in recovery first then run it it should work.
Awesome... thanks!!! Will try it out.
Hope you can update the scripts and apply everything automatically on each boot.. will be awesome
EDIT:
Tested and everything works... Samba is OK, I can copy files... but I only get speeds like 500kb/s over wireless... should be more!
Also I can't delete files... but permissions seems fine?
Conf:
[SDCARD]
comment = Internal micro secure digital card
path = /sdcard
browseable = yes
available = yes
public = yes
writable = yes
read only = no
create mask = 0777
directory mask = 0777
create mode = 0777
guest ok = yes
guest only = yes
2ND EDIT:
Tested ssh, works fine, but how can we enable SCP/SFTP?
d3sm0nd said:
Tested and everything works... Samba is OK, I can copy files... but I only get speeds like 500kb/s over wireless... should be more!
Click to expand...
Click to collapse
How are the load averages and IO stats while the transfer is in progress?
Just tested and it's really great but it's really really slow for me when I connect via ssh or use samba.
Anyone having the same issue?
emontes said:
Just tested and it's really great but it's really really slow for me when I connect via ssh or use samba.
Anyone having the same issue?
Click to expand...
Click to collapse
yes it is slow but it works!
I cant figure how to make samba and ssh start at boot.
I downloaded autostart from market and it told me to make an executable file named autostart.sh at /data/opt/
I created file autostart.txt and put some commands in there and renamed it to autostart.sh (changed extension, not just changed name) and chmod-ed it in ssh putty (bash mc) and so on.
but it still doesnt work...
maybe kernel needs to be tweaked??
Re: extended Desire console with bash,sshd,samba,mc and more...
Do you guys use apps2sd? I think it might be slow because of it...
------------------------------------
Sent via the XDA Tapatalk App
Actually, this doesn't work at all for me, maybe because I'm using Defrost that doesn't really work with any networking app I know (Swift, quicksshd for instance)
Can't access samba / can't even start ssh
Above SCP / SFTP, I still did not work (((In the nearest future to get to work NMBD.
If you want to run SSHD automatically on boot, you must create a file "98sshd" in the folder /system/etc/init.d with the following content:
Code:
#!/system/bin/sh
/data/xbin/sshd start
If you want to run SMBD automatically on boot, you must create a file "97samba" in the folder /system/etc/init.d with the following contents:
Code:
#!/system/bin/sh
/Data/xbin/samba start
P.S. download these files to the phone can only help RECOVERY console, using "adb push"
Don't forget chmod +x on /system/etc/init.d/97samba and /system/etc/init.d/98sshd
Sorry for my english
m0narx said:
Sorry for my english
Click to expand...
Click to collapse
Wow! the developer himself finally appeared!
We'll work together to fix stuff, he'll make changes - i'll translate 'em and collect suggestions - so bad english is not a prob. desire - that's what counts! ) (i sense play on words here! )
StrongOneX said:
yes it is slow but it works!
Click to expand...
Click to collapse
Didn't say it doesn't work did I?
M0narx,
Great one, mate. Really useful one.
Keep up the good work
m0narx said:
P.S. download these files to the phone can only help RECOVERY console, using "adb push"
Don't forget chmod +x on /system/etc/init.d/97samba and /system/etc/init.d/98sshd
Click to expand...
Click to collapse
Hey M0narx,
Tried to do an auto restart but it didn't work.
Went in recovery, pushed the files to init.d, chmod`ed 777 but no joy.
Even trying with autostart from Market Place but don't know why, it doesn't autostart for me
Any hint?
Cheers.
i'm not sure whether it works or not...
chmoded to 777, samba sshd mods are 777 also.
may be it's forbidden to run from /data/xbin on boot?
i think samba does not start at boot cause there are no IP addresses during boot time.
but still sshd is running due to ps:
Code:
ps w | grep ssh
128 root 528 S /system/xbin/dropbear -A root -N root -C root -U 0 -G 0 -a -P /sdcard/data/var/run/sshd.pid -b /data/etc/
i'm not sure what does dropbear process mean either.
and also there are .pid files in /sdcard/data/var/run/ for sshd and samba with nonexistent PIDs
Code:
# sshd start
sshd start
Starting SSH server... /system/xbin/dropbear is already running
also netstat:
Code:
# netstat -na
netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 0 0 0.0.0.0:16650 0.0.0.0:* LISTEN
tcp 0 0 127.0.0.1:5037 0.0.0.0:* LISTEN
tcp 0 0 :::7890 :::* LISTEN
tcp 0 0 :::22 :::* LISTEN
and ifconfig
Code:
# ifconfig
ifconfig
eth0 Link encap:Ethernet HWaddr 00:23:76:D8:94:52
inet6 addr: fe80::223:76ff:fed8:9452/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:87 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5046 (4.9 KiB) TX bytes:492 (492.0 B)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:24 errors:0 dropped:0 overruns:0 frame:0
TX packets:24 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1832 (1.7 KiB) TX bytes:1832 (1.7 KiB)
EDIT:
i found out that grep in not working in bash any more complaining about unrecognized option (it's for colored grep output)
Code:
[04:23:28 /data/local]# ps w | grep sshd
/system/xbin/grep: unrecognized option `--color=auto'
BusyBox v1.16.0 (2010-01-29 22:31:34 CET) multi-call binary.
Usage: grep [-HhrilLnqvsoeFEABC] PATTERN [FILE]...
Search for PATTERN in each FILE or standard input
Options:
-H Prefix output lines with filename where match was found
-h Suppress the prefixing filename on output
-r Recurse
-i Ignore case distinctions
-l List names of files that match
-L List names of files that don't match
-n Print line number with output lines
-q Quiet. Return 0 if PATTERN is found, 1 otherwise
-v Select non-matching lines
-s Suppress file open/read error messages
-c Only print count of matching lines
-o Show only the part of a line that matches PATTERN
-m N Match up to N times per file
-F PATTERN is a set of newline-separated strings
-E PATTERN is an extended regular expression
-e PTRN Pattern to match
-f FILE Read pattern from file
-A N Print N lines of trailing context
-B N Print N lines of leading context
-C N Print N lines of output context
Can I use pubkey auth with this sshd?

[Q] Eee Pad Transformer Ubuntu: WiFi connection problems

I've searched the Forums but couldn't find anything interesting which could solve my problem. I've installed Ubuntu on my Device and now I'd like to get my WiFi working. I have made the wpa_supplicant.conf file and pasted it in /etc/wpa_supplicant.
Now when I run
sudo wpa_supplicant -i eth0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf
It says:
Could not read interface eth0 flags: No such device.
Also, when I try to connect to an open network, typing:
sudo ifconfig eth0 down
The result is the same.
So what does
"Could not read interface eth0 flags: No such device."
mean and how can I get into the internet?
Thank You, I hope You can help me
Mr.Ox said:
I've searched the Forums but couldn't find anything interesting which could solve my problem. I've installed Ubuntu on my Device and now I'd like to get my WiFi working. I have made the wpa_supplicant.conf file and pasted it in /etc/wpa_supplicant.
Now when I run
sudo wpa_supplicant -i eth0 -D wext -c /etc/wpa_supplicant/wpa_supplicant.conf
It says:
Could not read interface eth0 flags: No such device.
Also, when I try to connect to an open network, typing:
sudo ifconfig eth0 down
The result is the same.
So what does
"Could not read interface eth0 flags: No such device."
mean and how can I get into the internet?
Thank You, I hope You can help me
Click to expand...
Click to collapse
maybe it's not 'eth0'.
type:
sudo ifconfig -a
to see all interfaces.
fserve said:
maybe it's not 'eth0'.
type:
sudo ifconfig -a
to see all interfaces.
Click to expand...
Click to collapse
Ok, I'm going to give it a try, thank You!
Now is the problem, that I have to open the WICD Manager, but I haven't got it installed... How do i get it now? Without internet?

[Q] Trying to establish adb connection

Hi all.
I'm attempting to root my phone via ZergRush's one click root. However I am on linux and i do not have a usb cable.
I downloaded the android-sdk for linux and have set up ftp/ssh on my Zte score. The problem is whenever I try to adb connect 10.10.0.25 adb does not connect with the device. I can ping my phone from my computer so it's reachable. If I try adb connect 10.10.0.25:2121 (FTP PORT) or 2222 (SSH PORT) it connect but outputs: "Device offline" and I can't run any successful commands.
I heard ssh tunneling is possible and would like to know if anybody knew the exact steps. I've tried:
# ssh [email protected] -p 2222 -R 5555:localhost:5037
and
# ssh -NR 5555:localhost:5037 [email protected] -p 2222
The latter connects through ssh but adb doesn't connect through the tunnel. The former outputs "Connection closed by remote host"
I checked the open ports on my phone and noticed 5555 isn't open so that means i must open it with setprop service.adb.tcp.port 5555 which I tried but still doesn't work. The command does go through though.
Appearantly, setprop didn't work as getprop service.adb.tcp.port 5555 outputs nothing.
Is there any way I can enable adbd to listen on my phone? I got a ssh and ftp shell up and running w/o root.
/mnt/sdcard $ getprop | grep adb
[persist.service.adb.enable]: [1]
[persist.radio.adb_log_on]: [0]
[persist.adb.trace_mask]: [1]
[init.svc.adbd]: [running]
It doesn't show service.adb.tcp.port so I can't set it. Is there a way for me to create this key? Help will be much appreciated! =)
EDIT:
Is there a way for me to chmod without root or adb? I tried chmod 777 exploit but it outputs permission denied. I'm going to see if I can change permissions some other way.
Anyone?
No luck googling for an answer.
Should I just wait and get a data usb cable?

Dropbear ssh server and keys

I know how to use ssh with keys on my Linux pc. I read http://wiki.cyanogenmod.com/wiki/Howto:_Connect_to_Device_with_SSH and did it similar as mentioned. Similar because I had ssh-access already, I only want to limit access to keys.
Code:
ls -lahR /data/dropbear
/data/dropbear:
drwxr-xr-x 1 root root 2.0K Sep 2 18:43 .
drwxrwx--x 1 system system 2.0K Sep 2 18:29 ..
drwx------ 1 root root 2.0K Sep 2 18:42 .ssh
-rw------- 1 root root 458 Sep 2 18:43 dropbear_dss_host_key
-rw------- 1 root root 426 Sep 2 18:43 dropbear_rsa_host_key
/data/dropbear/.ssh:
drwx------ 1 root root 2.0K Sep 2 18:42 .
drwxr-xr-x 1 root root 2.0K Sep 2 18:43 ..
-rw------- 1 root root 389 Sep 2 18:37 authorized_keys
authorized_keysn contains the public key of my pc.
When I connect, I am asked for the password, which can be seen in the Dropbear settings. Did I fogert something to configure with the Dropbear app?
Hi,
From the dropbear -h:
-s Disable password logins
This means you have to run "dropbear -s" to start the ssh daemon.
If you try to connect without a key (or with an incorrect one) you should get "Permission denied" without asking for a password.
Cheers.
wkwkwk said:
Hi,
From the dropbear -h:
-s Disable password logins
This means you have to run "dropbear -s" to start the ssh daemon.
If you try to connect without a key (or with an incorrect one) you should get "Permission denied" without asking for a password.
Cheers.
Click to expand...
Click to collapse
I get from a shell of my pc:
Welcome to DropBear SSH Server!
Permission denied (publickey).
Click to expand...
Click to collapse
# android-phone
# md5sum /data/dropbear/.ssh/authorized_keys
c17fe7f9029970582104c63a43102ad0 /data/dropbear/.ssh/authorized_keys
#linux pc
$ md5sum id_rsa.pub
c17fe7f9029970582104c63a43102ad0 id_rsa.pub
So the keys should be the same
On your Linux PC you need to use the id_rsa *private* key to authenticate, not the public one.
Do you have a file on your PC: ~/.ssh/id_rsa ?
If so, try it like this:
$ ssh -i ~/.ssh/id_rsa ip_of_android
wkwkwk said:
On your Linux PC you need to use the id_rsa *private* key to authenticate, not the public one.
Do you have a file on your PC: ~/.ssh/id_rsa ?
If so, try it like this:
$ ssh -i ~/.ssh/id_rsa ip_of_android
Click to expand...
Click to collapse
Can anyone confirm this? IMO there is never a reason to give away the _private_ key. I want to connect from the pc to the android-phone and I have put the public key of the pc on the android phone. Similar I did it from pc to pc.
I'm not saying to give away the private key, I'm saying to *use it* to connect to android. You seem to try and use the public key to authenticate when you should be using the private key.
To be more exact:
On the PC you need to have (and use): ~/.ssh/id_rsa (private key)
On Android you need to have just the public key: /data/dropbear/.ssh/authorized_keys (which should be identical to the ~/.ssh/id_rsa.pub on your pc).
Also, check the permissions as that's the most common problem:
On your PC:
$ chmod 600 ~/.ssh/id_rsa
On Android:
chmod 755 /data/dropbear
chmod 700 /data/dropbear/.ssh
chown root: /data/dropbear/.ssh/authorized_keys
chmod 600 /data/dropbear/.ssh/authorized_keys
The easiest way to debug would be to launch dropbear on android with -v -F.
It will stay in foreground and be verbose so you can see the error that prevents you from logging in.
Could you please have a look at the md5sum above? I also quoted the permissions at the beginning. Do you see something wrong? I think I did what you said.
Indeed, the permissions look good and the md5 also confirms you have the correct public key.
Try to launch dropbear with -v -F and see what it says when you try to connect. That should give plenty of valuable information.
PS: you are trying to login as root, right?
from your pc:
$ ssh [email protected]

[GUIDE] Huawei usb 3g modem on android x86 4.4.2

Finally found a way to get this usb 3g modem to work with android x86. Looks like there are significant differences in android kitkat, the other tutorials didn't work for me. Here's what i did in case somebody else finds it useful:
Model: Huawei E1752 HSPA USB Stick
Android x86 4.4.2 on Acer Netbook
Get modem to work under Ubuntu first so you have chat scripts that are known to work with your modem/provider. (If having trouble finding the right AT commands to initialize your modem you can record them under windows. Try free serial port monitor)
Install PPP Widget. It doesn't work, but that gives us usb_modeswitch and pppd to play with.
Install busybox if you don't have it already. Your device should be rooted.
I disabled modem's cdrom mode so that i wouldn't have to modeswitch it with PPP Widget every time (did it from linux)
http://ma.juii.net/blog/disable-usb-mode-switching
Tweak and install pppd/chat scripts for your provider:
/sdcard/pppwidget/ppp/free-chat
Chat script to initiate connection. Change AT commands and dial number (*99#) if yours differ.
Code:
ABORT BUSY
ABORT 'NO CARRIER'
ABORT 'NO ANSWER'
ABORT DELAYED
REPORT CONNECT
TIMEOUT 2
"" AT
OK-AT-OK AT&FE0V1X1&D2&C1S0=0
OK-AT-OK AT
OK-AT-OK ATS0=0
OK-AT-OK AT
OK-AT-OK AT&FE0V1X1&D2&C1S0=0
OK-AT-OK AT
OK ATDT*99#
TIMEOUT 30
CONNECT ''
SAY '\rReport from chat:\r'
/sdcard/pppwidget/ppp/peers/free
pppd config file
Code:
#/etc/ppp/peers/free
# Usage: root>pppd call free
ttyUSB0
3600000
crtscts
connect '/data/data/de.draisberghof.pppwidget/app_bin/chat -v -f /sdcard/pppwidget/ppp/free-chat'
noauth
defaultroute
usehostname
user fooooooo
noipdefault
usepeerdns
idle 0
/sdcard/3gmodem/connect
script to start connection
Code:
#!/system/bin/sh
pppd call free
# use own DNS (OpenDNS)
ndc resolver setifdns ppp0 208.67.222.222 208.67.222.220
ndc resolver setdefaultif ppp0
To connect, open a terminal and type:
Code:
$ su
# cd /sdcard/3gmodem
# ./connect
Now you're connected. browser should work now.
Connection is there but android doesn't know about it, so apps like play store which check connectivity will think you're offline. Install Fake Wifi Connection to deal with those.
Done !
how to get chat script for other modem
Hello, Can I use your chat script with Huawei E3531, and replace only the AT commands?
Do I need busybox?
I have no knowledge of commands, just very basic commands on android terminal.
I am having a really hard time to connect to internet, mainly because Broadcom BCM43142 wifi is not compatible with android 9.0-r2, and older versions.
Thank you

Categories

Resources