Hi gurus, I am experiencing strange networks problems. I am trying to teather internet from HTC Desire S with Android. Basicly I followed those instructions: https://wiki.archlinux.org/index.php...ring#Procedure

1.) Enable USB Debugging - Phone: Settings --> Applications --> Development --> USB debugging
2.) Disconnect computer from any wireless or wired networks
3.) Enable the tethering option from phone - Phone: Settings --> Wireless & Networks --> Internet tethering (or Tethering & portable hotspot, for more recent versions)

This worked as expected first time I have tried it. But when I executed same sets of commands second time it did not worked (usb0 interface did not goes up and thus is not capable to obtain IP address), no system changes was done.


Code:
[root@HP-PC ~]# ifconfig usb0
usb0      Link encap:Ethernet  HWaddr 0B:16:21:2C:37:42  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

[root@HP-PC ~]# ifconfig usb0 up
SIOCSIFFLAGS: Cannot assign requested address
In the past I posted problem which enabling wlan0 interface which still preserves http://www.linuxforums.org/forum/har...945abg-bg.html today while I disconected wired network (for purposs described above) wlan0 interface goes imediatelly up.

Code:
#LAN CABLE IS UNPLUGGED:
[pista@HP-PC ~]$ ifconfig 
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:4732 errors:0 dropped:0 overruns:0 frame:0
          TX packets:4732 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:355920 (347.5 KiB)  TX bytes:355920 (347.5 KiB)

p3p1      Link encap:Ethernet  HWaddr 00:1A:4B:76:8A:B3  
          inet6 addr: fe80::21a:4bff:fe76:8ab3/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:177056 errors:0 dropped:0 overruns:0 frame:0
          TX packets:98720 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:235463377 (224.5 MiB)  TX bytes:7864682 (7.5 MiB)
          Interrupt:18 

wlan0     Link encap:Ethernet  HWaddr 00:1C:BF:2F:9D:E1  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)



#LAN CABLE IS PLUGGED:
[pista@HP-PC ~]$ ifconfig 
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:5296 errors:0 dropped:0 overruns:0 frame:0
          TX packets:5296 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:398788 (389.4 KiB)  TX bytes:398788 (389.4 KiB)

p3p1      Link encap:Ethernet  HWaddr 00:1A:4B:76:8A:B3  
          inet addr:192.168.1.139  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::21a:4bff:fe76:8ab3/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:234962 errors:1 dropped:0 overruns:0 frame:1
          TX packets:133222 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:318050150 (303.3 MiB)  TX bytes:11134161 (10.6 MiB)
          Interrupt:18
But in spite of this I am unable to connect to wifi access point (No encryption or MAC filter)

Code:
# works as expected and shows avaliable wireless network with approporiate channels
iwlist wlan0 scan

# echo $? return code 0
iwconfig wlan0 mode managed essid HTC channel 1

# But when i issue iwconfig I get Not-Associated under Acess point
[root@HP-PC ~]# iwconfig wlan0
wlan0     IEEE 802.11abg  ESSID:"HTC"  
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Tx-Power=off   
          Retry  long limit:7   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
I think those problems could be related somehow, can something hold the network interfaces and not allowing system to use it ? I tried disable NetworkManager.service but no luck.

Code:
systemctl disable NetworkManager.service
systemctl stop NetworkManager.service
Configuration:
Code:
[root@HP-PC ~]# lsb_release -d
Description:	Fedora release 16 (Verne)
[root@HP-PC ~]# uname -a
Linux HP-PC 3.6.2-1.fc16.x86_64 #1 SMP Wed Oct 17 05:30:01 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
[root@HP-PC ~]# lspci | grep -i wireless
10:00.0 Network controller: Intel Corporation PRO/Wireless 3945ABG [Golan] Network Connection (rev 02)
Many thanks.