Showing posts with label Network. Show all posts
Showing posts with label Network. Show all posts

Thursday, October 18, 2012

Install Google Apps using ADB for LG P690B

First it needs to be root, this is the case for LG P690B when enabled debug and connected to PC via USB.
 C:\Users\tv\Downloads\SuperOneClickv2.2\ADB>adb shell
$
$ means unroot (just like sudo on linux root)

Do root follow this link for instruction it takes about few minutes
http://forum.xda-developers.com/showthread.php?t=1443115

After doing the prompt will change from '$' to "#' (root as linux world)
C:\Users\tv\Downloads\SuperOneClickv2.2\ADB>adb shell
# ls  
 # means rooted

Install apps without login to google account, if you follow the above link for root then you already have
ADB installed in your computer. In my case it locates in Downloads directory below.
C:\Users\tv\Downloads\SuperOneClickv2.2\ADB>adb install c:\users\tv\Downloads\Ti
tanium_Backup_root_5_6_0.apk
2335 KB/s (5768864 bytes in 2.412s)
        pkg: /data/local/tmp/Titanium_Backup_root_5_6_0.apk
Success
Titanium_Backup_root is installed without using Google Market which required Gmail account.
More info. http://androidcommunity.com/forums/f4/how-to-install-apps-using-adb-4482/ 

Without connecting to Google account the Wifi signal is Grey or White indicates that it is not sync to Google account because it is installed Google Apps using ADB. The following picture indicates that Wifi is white color it was capture using aScreenShoot apps. Beside the color everything is working surf the web and so on....
With this in mind we can have Android phone runs all the apps without Google knowing about the phone the minute that you login into the Google account you can not logout and the phone is tracked the only thing gets out the Google account by doing the manufacture reset. I try clear data of Google apps or Account sync and none of them seems working. Manufacture reset will wipe out all the data and possible unroot the phone again.
This is becoming important when people gives the phone away. Google should make easy for people to change account or remove account.

Saturday, February 13, 2010

WEP key 128 bits only work if share key for DIR-615 Dlink router


It works for both linux and windows for this setup don't know why. WEP 128 bit in order to have share (instead of open option) then Wi-Fi protection needed to be disabled.

Friday, January 25, 2008

Bug 1341 - wlan0 disappears after running for a while

remove driver and install again causing wlan0 authenticated and associated (don't need reset system) do this:
modprobe -r iwl4965 (verify by modprobe -l | grep -i iwl4965)
modprobe iwl4965
------------------------upgrade driver iwlwifi.1.2.23 see if it fixes the problem.
tar xvf iwlwifi.1.2.23
cd iwlwifi.1.2.23
make
make install

Thursday, January 24, 2008

If your PC has 2 connections: wire and wireless where the data will go

It will go to wire first then wireless after.
It seems to me when connect to wireless router and wire to another PC. The dhclient will write into resolv.conf with the info of nameserver and domain of the wire network. Therefore, the data will flow into wire.
dmesg:

ADDRCONF(NETDEV_UP): eth0: link is not ready
ADDRCONF(NETDEV_UP): wlan0: link is not ready
Mobile IPv6
wlan0: Initial auth_alg=0
wlan0: authenticate with AP 00:16:b6:c0:0d:e9
wlan0: RX authentication from 00:16:b6:c0:0d:e9 (alg=0 transaction=2 status=0)
wlan0: authenticated
wlan0: associate with AP 00:16:b6:c0:0d:e9
wlan0: RX AssocResp from 00:16:b6:c0:0d:e9 (capab=0x401 status=0 aid=2)
wlan0: associated
ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
wlan0: no IPv6 routers present
wlan0: no IPv6 routers present
r8169: eth0: link up
ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
eth0: no IPv6 routers present
ip_tables: (C) 2000-2006 Netfilter Core Team
Netfilter messages via NETLINK v0.30.
nf_conntrack version 0.5.0 (8192 buckets, 65536 max)

dhclient-resolv.conf

dhclient writing my /etc/resolv.conf so here how to add extra stuff into resolv.conf
gedit /etc/dhcp3/dhclient.conf and add
prepend domain-name-servers 192.168.1.1 (router)
then run
dhclient
check /etc/resolv.conf for 192.168.1.1
(ubuntu run dhclient from /etc/dhcp3)
man dhclient-script for more details

if wlan0 then resolv.conf
search phub.net.x.x.com
nameserver 192.x.2.1 (cable modem)
nameserver 192.x.1.1 (router)
nameserver 64.71.255.x

if eth0 then resolv.conf (via XP)
search mshome.net
nameserver 192.x.1.1
nameserver 192.x.0.1

all done automatic by dhclient
kill -9 dhclient (if want to run again it shows error already pid file /var/run/dhclient.pid)

Wednesday, January 23, 2008

wifi 4965AGN - iwlwifi system LED's blinking and hang - P205-S6267

There are 3 parts for wifi to work:
- mac80211 subsystem must be installed
- tar xvf iwlwifi-4965-ucode-4.44.17.tgz (firmware)
- iwlwifi-1.2.23.tgz (driver)

Fixed by using mac80211-8.0.1 instead of mac80211-10.0.0, the lastest version of MAC802.11 has bugs causing the crash.
http://intellinuxwireless.org/?p=iwlwifi&n=howto-iwlwifi
-----------------------Build mac80211 for kernel
% wget \
http://intellinuxwireless.org/mac80211/downloads/mac80211-10.0.4.tgz
% tar xvf mac80211-10.0.4.tgz
mac80211-10.0.4/origin/GIT
mac80211-10.0.4/origin/net/mac80211/Makefile
...
% cd mac80211-10.0.4
% make
Building modified version in 'modified/' directory:
Copying modified/ from origin/...done
Applying patches and scripts from pending/.
+ Applying: pending/14-d46...0bb780bba2b5db.patch
...
% make patch_kernel <-- You need to be root for this
Patching from compatible/ to /lib/modules/2.6.18-gentoo-r6/build/:
+ Replaced 43 files
% cd /lib/modules/$(uname -r)/build
% make menuconfig
...

Networking --->
Generic IEEE 802.11 Networking Stack (dscape)
...
% make modules && make modules_install
% make all
% make install

% modprobe mac80211
----------------------Firmware
For Intel Wireless WiFi 4965AGN users:
% wget \
http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-4.44.17.tgz
% tar xvf iwlwifi-4965-ucode-4.44.17.tgz
% cp iwlwifi-4965-ucode-4.44.17/iwlwifi-4965.ucode /lib/firmware/
For Intel PRO/Wireless 3945ABG/BG Network Connection users:
% wget \
http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-3945-ucode-2.14.4.tgz
% tar xvf iwlwifi-3945-ucode-2.14.4.tgz
% cp iwlwifi-3945-ucode-2.14.4/iwlwifi-3945.ucode /lib/firmware/
-----------------------Driver
-------------------------------------------------------
http://bughost.org/bugzilla/show_bug.cgi?id=1477


------- Additional Comment #1 From Zhu Yi 2007-09-24 20:51 [reply] -------
1.1.0 (stable) or 0.1.16 (development) fix the problem.


% wget \
http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-1.1.0.tgz
% tar xvf iwlwifi-1.1.0.tgz
% cd iwlwifi-1.1.0
% make
% make install

-------------------------
http://gentoo-wiki.com/HARDWARE_Toshiba_Satellite_P200-141
# Install mac80211
tar xvf mac80211-8.0.X.tgz
cd mac80211-8.0.X
make
# Patch the kernel
make patch_kernel
cd /usr/src/linux
make menuconfig
# Enable Networking/Improved wireless configuration API/
# Enable Networking/Improved wireless configuration API/cfg80211 Wireless Extensions compatibility
# Enable Networking/Improved wireless configuration API/ nl80211 new netlink interface support
# Enable Networking/Improved wireless configuration API/
# Enable Networking/Generic IEEE 802.11 Networking Stack (dscape)
# Maybe disable Device Drivers/ Network device support/Wireless LAN (non-hamradio)/Wireless Extension API over RtNetlink
make
make modules_install
update-modules

# reboot your system with the new kernel
# Install the microcode
wget http://intellinuxwireless.org/iwlwifi/downloads/iwlwifi-4965-ucode-4.44.14.tgz
tar xvf iwlwifi-4965-ucode-4.44.14.tgz
cp -a iwlwifi-4965-ucode-4.44.14/* /lib/firmware/
# Install the module
tar xvf iwlwifi-0.0.X.tgz
cd iwlwifi-0.0.X
make
make install
-------------------------

Tuesday, May 16, 2006

DNS

- Buy a domain then go to domain names server set up IP address of your web hosting
This is standard zone - Fill the IP of web hosting usually 2 boxes:
Standard Primary: 63.247.87.178
(get from web hosting server IP which is dynamic IP
share among many users if you are mini reseller web hosting)
Standard Secondary: 63.247.87.179
- Go to WHM web host mangement (it is not control panel) set up the account using
that domain for example: www.objectlayer.com but only need to put objectlayer.com
Set up space needs for this website, bandwidth, username and password

- Go to control panel set up the rest: email address, database mysql, security...

that is all, when it works you are able to ping the website and it will reply
Run -> cmd -> dos command -> ping objectlayer.com (using ICMP)

C:\Documents and Settings\Administrator>ping objectlayer.com

Pinging objectlayer.com [63.247.87.178] with 32 bytes of data:

Reply from 63.247.87.178: bytes=32 time=153ms TTL=48
Reply from 63.247.87.178: bytes=32 time=163ms TTL=48
Reply from 63.247.87.178: bytes=32 time=171ms TTL=48
Reply from 63.247.87.178: bytes=32 time=159ms TTL=48

When you type www.objectlayer.com --> DNS to get IP --> web hosting and information
is stored here so if the browser asks for HTTP request will get HTTP response
Depend on request it could be GET, HEAD and POST. If the server could not find the page error 5xx (client 4xx)
Basically, web server responds to the request from web brownser usually is on the port 80 (HTTPs on port 443 for SSL) this service that the user need to pay web hosting service if they want to have it for their shopping on line.
HTPPs is working on oscommerce by submitting the predefined URL to credit card or banking under POST (Paypal using winsock), the result is again on the predefined on
the users' website. From the result code, the users (seller) can determ if the buyer can buy their products.