Results 1 to 3 of 3

Thread: Android Ad-Hoc WiFi Tether Connection Dropping

  1. #1
    Just burned his ISO
    Join Date
    Feb 2010
    Posts
    5

    Default Android Ad-Hoc WiFi Tether Connection Dropping

    I am using a T-Mobile G1 with a wifi tether mode (Ad-Hoc) for internet. My connection drops out every 20 seconds or so.
    Also when connecting to my phone's ad-hoc from a vista box a notification will show on my phone letting me know someones connected...what is weird is I am getting a connection but no notification on the phone. Sometimes while using firefox to browse it will show me the no connection page I wait a few and hit reload and it works.


    to get my internet connection i typed this in shell ( probably not the best way to get it to work lol)

    root@bt:~# ifconfig wlan0 up
    root@bt:~# iwconfig wlan0 essid "G1Tether"
    root@bt:~# ifconfig wlan0 down
    root@bt:~# iwconfig wlan0 mode Ad-Hoc
    root@bt:~# ifconfig wlan0 up
    root@bt:~# ifconfig wlan0 192.168.1.123 netmask 255.255.255.0
    root@bt:~# route add default gateway 192.168.3.0
    SIOCADDRT: No such process
    root@bt:~# dhclient wlan0
    There is already a pid file /var/run/dhclient.pid with pid 8695
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/wlan0/00:24:2b:2b:88:9d
    Sending on LPF/wlan0/00:24:2b:2b:88:9d
    Sending on Socket/fallback
    DHCPREQUEST of 192.168.3.103 on wlan0 to 255.255.255.255 port 67
    DHCPACK of 192.168.3.103 from 192.168.3.254
    bound to 192.168.3.103 -- renewal in 19005 seconds.
    root@bt:~#


    So I'm using an atheros 5007 chipset driver is the ath5k driver.

    Please advise if my connection dropping is user error or if anyone has a android phone and has a better way.
    Thanks

  2. #2
    My life is this forum Barry's Avatar
    Join Date
    Jan 2010
    Posts
    3,817

    Default Re: Android Ad-Hoc WiFi Tether Connection Dropping

    Quote Originally Posted by MrCory View Post
    I am using a T-Mobile G1 with a wifi tether mode (Ad-Hoc) for internet. My connection drops out every 20 seconds or so.
    Also when connecting to my phone's ad-hoc from a vista box a notification will show on my phone letting me know someones connected...what is weird is I am getting a connection but no notification on the phone. Sometimes while using firefox to browse it will show me the no connection page I wait a few and hit reload and it works.


    to get my internet connection i typed this in shell ( probably not the best way to get it to work lol)

    root@bt:~# ifconfig wlan0 up
    root@bt:~# iwconfig wlan0 essid "G1Tether"
    root@bt:~# ifconfig wlan0 down
    root@bt:~# iwconfig wlan0 mode Ad-Hoc
    root@bt:~# ifconfig wlan0 up
    root@bt:~# ifconfig wlan0 192.168.1.123 netmask 255.255.255.0
    root@bt:~# route add default gateway 192.168.3.0
    SIOCADDRT: No such process
    root@bt:~# dhclient wlan0
    There is already a pid file /var/run/dhclient.pid with pid 8695
    killed old client process, removed PID file
    Internet Systems Consortium DHCP Client V3.1.1
    Copyright 2004-2008 Internet Systems Consortium.
    All rights reserved.
    For info, please visit http://www.isc.org/sw/dhcp/

    Listening on LPF/wlan0/00:24:2b:2b:88:9d
    Sending on LPF/wlan0/00:24:2b:2b:88:9d
    Sending on Socket/fallback
    DHCPREQUEST of 192.168.3.103 on wlan0 to 255.255.255.255 port 67
    DHCPACK of 192.168.3.103 from 192.168.3.254
    bound to 192.168.3.103 -- renewal in 19005 seconds.
    root@bt:~#


    So I'm using an atheros 5007 chipset driver is the ath5k driver.

    Please advise if my connection dropping is user error or if anyone has a android phone and has a better way.
    Thanks
    I've not tried it with wifi, but usb seems to work great. I used it for my wifi connection the whole weekend for Shmoocon.

  3. #3
    Senior Member lordplagueis's Avatar
    Join Date
    Jan 2010
    Location
    Virginia
    Posts
    106

    Default Re: Android Ad-Hoc WiFi Tether Connection Dropping

    i've been trying to figure this out for a while now and it's a known problem wicd does not do well with ad-hoc it will keep dropping and reconnecting with ad-hoc networks there is no known permanent fix as of yet
    HP DV7
    8GB DDR3
    Core i7-720QM
    Nvidia GeForce GT 320M

    BT5-64bit x WIN7-64bit DualBoot

Similar Threads

  1. Help Creating Dial-Up, PPPoE Connection
    By MASTERofMINDS in forum Beginners Forum
    Replies: 4
    Last Post: 04-05-2011, 06:00 AM
  2. wicd ad-hoc connection
    By lordplagueis in forum Beginners Forum
    Replies: 6
    Last Post: 02-27-2011, 12:22 PM
  3. Need help with wireless connection
    By Skitz in forum Beginners Forum
    Replies: 1
    Last Post: 02-10-2010, 04:23 AM
  4. ADSL connection
    By Nostrum in forum Beginners Forum
    Replies: 2
    Last Post: 02-02-2010, 01:16 AM
  5. wpa_supplicant atheros AR5212 no connection
    By dimifak in forum BackTrack Bugs
    Replies: 0
    Last Post: 01-21-2010, 11:37 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •