[Samsung Galaxy Mini] stepph:
I try to re-do all i wrote here, matching the attached scheme...

This time, i prepared two scripts:

/system/xbin/usbtether.sh

#!/system/xbin/busybox sh
echo setting if...
ifconfig usb0 192.168.0.2 netmask 255.255.255.0 up
echo deleting route...
route delete default >/dev/null
echo setting route...
route add default gw 192.168.0.1 dev usb0
echo setting dns...
setprop net.dns1 AA.BB.CC.16
setprop net.dns2 AA.BB.DD.16
setprop net.usb0.dns1 AA.BB.CC.16
setprop net.usb0.dns2 AA.BB.DD.16
echo setting proxy...
setprop "net.gprs.http-proxy" "proxy.mycompany.com:8080"
echo check and report...
sh /system/xbin/netdebug.sh
echo set ADBD via tcp
setprop service.adb.tcp.port 5555
stop adbd
start adbd

/system/xbin/netdebug.sh

#!/system/xbin/busybox sh
# net debug info
busybox ifconfig > /sdcard/usbtether_debug.txt
busybox route >> /sdcard/usbtether_debug.txt
getprop | busybox grep dns >> /sdcard/usbtether_debug.txt
getprop | busybox grep proxy >> /sdcard/usbtether_debug.txt

So :

1 - activate usb tethering.

2 - call usbtether.sh

3 - call netdebug.sh,

4 - check the output log

/sdcard/usbtether_debug.txt

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:21 errors:0 dropped:0 overruns:0 frame:0
TX packets:21 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1440 (1.4 KiB) TX bytes:1440 (1.4 KiB)
usb0 Link encap:Ethernet HWaddr 96:0C:D0:21:53:9F
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::940c:d0ff:fe21:539f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:634 errors:0 dropped:0 overruns:0 frame:0
TX packets:110 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:143252 (139.8 KiB) TX bytes:13237 (12.9 KiB)

Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.0.0 * 255.255.255.0 U 0 0 0 usb0
default 192.168.0.1 0.0.0.0 UG 0 0 0 usb0

[net.dns1]: [10.9.55.16]
[net.dns2]: [10.9.2.16]
[net.usb0.dns1]: [10.9.55.16]
[net.usb0.dns2]: [10.9.2.16]

[net.change]: [net.gprs.http-proxy]
[net.gprs.http-proxy]: [proxy.mycompany.com:8080]

On PC side, i have:

[LEFT][FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New]>[/FONT][/COLOR][COLOR=black][FONT=Courier New]ipconfig[/FONT][/COLOR][COLOR=black][FONT=Courier New] /[/FONT][/COLOR][COLOR=black][FONT=Courier New]all[/FONT][/COLOR][/COLOR][/FONT][/LEFT]

[LEFT][FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New]Configurazione IP di Windows[/FONT][/COLOR][/COLOR][/FONT][/LEFT]

[LEFT][FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New] Nome [/FONT][/COLOR][COLOR=black][FONT=Courier New]host[/FONT][/COLOR][COLOR=black][FONT=Courier New] . . . . . . . . . . . . . . : [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…>[/I][/B][/FONT][/COLOR][/COLOR][/FONT]
[FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New] Suffisso DNS primario . . . . . . . : [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…>[/I][/B][/FONT][/COLOR][/COLOR][/FONT][FONT=Courier New][COLOR=black]
[COLOR=black][FONT=Courier New] Tipo nodo . . . . . . . . . . . . . . : Ibrido[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Routing[/FONT][/COLOR][COLOR=black][FONT=Courier New] IP abilitato . . . . . . . . : Sì[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Proxy WINS abilitato . . . . . . . . : No[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Elenco di ricerca suffissi DNS. . . . : [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…>[/I][/B][/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New]Scheda Ethernet Connessione alla rete locale (LAN):[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New] Suffisso DNS specifico per connessione: [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…>[/I][/B][/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Descrizione . . . . . . . . . . . . . : [/FONT][/COLOR][COLOR=black][FONT=Courier New]Broadcom[/FONT][/COLOR][COLOR=black][FONT=Courier New]NetXtreme[/FONT][/COLOR][COLOR=black][FONT=Courier New] 57xx Gigabit Controller[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Indirizzo fisico. . . . . . . . . . . : [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…>[/I][/B][/FONT][/COLOR]
[COLOR=black][FONT=Courier New] DHCP abilitato. . . . . . . . . . . . : Sì[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Configurazione automatica abilitata : Sì[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Indirizzo IP. . . . . . . . . . . . . : [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Subnet[/FONT][/COLOR][COLOR=black][FONT=Courier New]mask[/FONT][/COLOR][COLOR=black][FONT=Courier New] . . . . . . . . .. . . . . : 255.255.255.0[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Gateway predefinito . . . . . . . . . : [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Server DHCP . . . . . . . . . . . . . : [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].16[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Server DNS . . . . . . . . . . . . . : [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].16[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] AA.BB.DD[/FONT][/COLOR][COLOR=black][FONT=Courier New].16[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New]Scheda Ethernet Connessione a Samsung GT-S5570:[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New] Suffisso DNS specifico per connessione:[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Descrizione . . . . . . . . . . . . . : SAMSUNG [/FONT][/COLOR][COLOR=black][FONT=Courier New]Android[/FONT][/COLOR][COLOR=black][FONT=Courier New] USB Remote NDIS Network [/FONT][/COLOR][COLOR=black][FONT=Courier New]Device[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Indirizzo fisico. . . . . . . . . . . : [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…>[/I][/B][/FONT][/COLOR]
[COLOR=black][FONT=Courier New] DHCP abilitato. . . . . . . . . . . . : No[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Indirizzo IP. . . . . . . . . . . . . : 192.168.0.1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Subnet[/FONT][/COLOR][COLOR=black][FONT=Courier New]mask[/FONT][/COLOR][COLOR=black][FONT=Courier New] . . . . . . . .. . . . . . : 255.255.255.0[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Gateway predefinito . . . . . . . . . :[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] Server DNS . . . . . . . . . . . . . : [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].16[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] AA.BB.DD[/FONT][/COLOR][COLOR=black][FONT=Courier New].16[/FONT][/COLOR][/LEFT]
[/COLOR][/FONT]

and​

[LEFT][FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New]>[/FONT][/COLOR][COLOR=black][FONT=Courier New]route[/FONT][/COLOR][COLOR=black][FONT=Courier New]print[/FONT][/COLOR][/COLOR][/FONT]
[FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New]===========================================================================[/FONT][/COLOR][/COLOR][/FONT]
[FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New]Elenco interfacce[/FONT][/COLOR][/COLOR][/FONT]
[FONT=Courier New][COLOR=black][COLOR=black][FONT=Courier New]0x1 ............................... MS TCP [/FONT][/COLOR][COLOR=black][FONT=Courier New]Loopback[/FONT][/COLOR][COLOR=black][FONT=Courier New] interface[/FONT][/COLOR][/COLOR][/FONT][FONT=Courier New][COLOR=black]
[COLOR=black][FONT=Courier New]0x2 .......00 21 9b ed e4 [/FONT][/COLOR][COLOR=black][FONT=Courier New]be[/FONT][/COLOR][COLOR=black][FONT=Courier New] ...... [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…> Ethernet Controller[/I][/B][/FONT][/COLOR][COLOR=black][FONT=Courier New] - Miniport dell'Utilità di pianificazione pacchetti[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]0x3 .......00 23 4e 7e d3 ac ...... [/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]<…> Wireless controller [/I][/B][/FONT][/COLOR][COLOR=black][FONT=Courier New]- Miniport dell'Utilità di pianificazione pacchetti[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]0x10005 ...e2 01 c1 52 05 d5 ...... SAMSUNG [/FONT][/COLOR][COLOR=black][FONT=Courier New]Android[/FONT][/COLOR][COLOR=black][FONT=Courier New] USB Remote NDIS Network [/FONT][/COLOR][COLOR=black][FONT=Courier New]Device[/FONT][/COLOR][COLOR=black][FONT=Courier New] - Miniport …[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]===========================================================================[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]===========================================================================[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]Route[/FONT][/COLOR][COLOR=black][FONT=Courier New] attive:[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]Indirizzo rete [/FONT][/COLOR][COLOR=black][FONT=Courier New]Mask[/FONT][/COLOR][COLOR=black][FONT=Courier New] Gateway [/FONT][/COLOR][COLOR=black][FONT=Courier New]Interfac[/FONT][/COLOR][COLOR=black][FONT=Courier New]. [/FONT][/COLOR][COLOR=black][FONT=Courier New]Metric[/FONT][/COLOR]
[COLOR=red][FONT=Courier New][B][I]([/I][/B][/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I]destination[/I][/B][/FONT][/COLOR][COLOR=red][FONT=Courier New][B][I])[/I][/B][/FONT][/COLOR]
[COLOR=black][FONT=Courier New] 0.0.0.0 [/FONT][/COLOR][COLOR=black][FONT=Courier New]0.0.0.0 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 20[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] 127.0.0.0 255.0.0.0 127.0.0.1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]127.0.0.1[/FONT][/COLOR][COLOR=black][FONT=Courier New] 1[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New] AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].0 255.255.255.0 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 20[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 255.255.255.255 127.0.0.1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]127.0.0.1[/FONT][/COLOR][COLOR=black][FONT=Courier New] 20[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]AA.255.255.255 255.255.255.255 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 20[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New]192.168.0.0 255.255.255.0 192.168.0.1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]192.168.0.1[/FONT][/COLOR][COLOR=black][FONT=Courier New] 10[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]192.168.0.1 255.255.255.255 127.0.0.1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]127.0.0.1[/FONT][/COLOR][COLOR=black][FONT=Courier New] 10[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]192.168.0.255 255.255.255.255 192.168.0.1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]192.168.0.1[/FONT][/COLOR][COLOR=black][FONT=Courier New] 10[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New]169.254.0.0 255.255.0.0 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 20[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New] 224.0.0.0 240.0.0.0 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 20[/FONT][/COLOR]
[COLOR=black][FONT=Courier New] 224.0.0.0 240.0.0.0 192.168.0.1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]192.168.0.1[/FONT][/COLOR][COLOR=black][FONT=Courier New] 10[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New]255.255.255.255 [/FONT][/COLOR][COLOR=black][FONT=Courier New]255.255.255.255 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]255.255.255.255 [/FONT][/COLOR][COLOR=black][FONT=Courier New]255.255.255.255 [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].62 3 1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]255.255.255.255 [/FONT][/COLOR][COLOR=black][FONT=Courier New]255.255.255.255[/FONT][/COLOR][COLOR=black][FONT=Courier New] 192.168.0.1 [/FONT][/COLOR][COLOR=black][FONT=Courier New]192.168.0.1[/FONT][/COLOR][COLOR=black][FONT=Courier New] 1[/FONT][/COLOR][/LEFT]

[LEFT][COLOR=black][FONT=Courier New]Gateway predefinito: [/FONT][/COLOR][COLOR=black][FONT=Courier New]AA.BB.CC[/FONT][/COLOR][COLOR=black][FONT=Courier New].1[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]===========================================================================[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]Route[/FONT][/COLOR][COLOR=black][FONT=Courier New] permanenti:[/FONT][/COLOR]
[COLOR=black][FONT=Courier New]Nessuno[/FONT][/COLOR][/LEFT]

[/COLOR][/FONT]

everything seem ok...​

... but nothing !!! :( i cannot browse!! ​

i tried also - on Next:​

[LEFT]ping 192.168.0.1 => ok..
ping AA.BB.CC.1 => ok.. so i see my gateway
ping [URL="http://www.google.it"]www.google.it[/URL] => name resolved (so my DNS is working) but NOK !![/LEFT]

since there is a proxy server, tracert on pc side does not work...​

What is happening ? why some days ago it works ? :confused:​

I installed - and then disintalled - apks like "ad block' and 'proxy masquerade'... may they have left some wrong configurations ?​

someone can help ? some advice ?​