Il giorno 16 gennaio 2012 21:31, Federico Bruni <[email protected]> ha scritto:
> Il 16/01/2012 19:01, Lorenzo Sutton ha scritto: > >> >> >> Il giorno 16 gennaio 2012 10:02, Alessandro T. <[email protected] >> <mailto:[email protected]>> ha scritto: >> >> >> Il 16/01/2012 10:41, Lorenzo Sutton ha scritto: >> >> >> Però non va in internet né riesco a pingare 192.168.1.1. >> >> >> `cat /etc/resolv.conf` >> >> >> # Generated by NetworkManager >> domain hnw300ap >> search hnw300ap >> nameserver 192.168.1.1 >> >> > che domain è quello? > > anch'io sono su Fastweb, con NetworkManager e DHCP > Via wifi? Quek domain è una cosa specificata sul router... > questo è il mio resolv.conf: > > # Generated by NetworkManager > domain fastwebnet.it > search fastwebnet.it > nameserver 62.101.93.101 > nameserver 83.103.25.250 > > > > > `route -n` (da root o con sudo) >> >> >> Kernel IP routing table >> Destination Gateway Genmask Flags Metric Ref Use >> Iface >> 0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 >> wlan0 >> 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 >> wlan0 >> 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 >> wlan0 >> > > L'ip del gateway nel mio caso è diverso: > Che router? Potrebbe dipendere anche questo dal router? > > # route -n > > Kernel IP routing table > Destination Gateway Genmask Flags Metric Ref Use > Iface > 0.0.0.0 192.168.1.254 0.0.0.0 UG 0 0 0 > wlan1 > 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 > wlan1 > 192.168.1.0 0.0.0.0 255.255.255.0 U 2 0 0 > wlan1 > > > In /etc/network/interfaces dovresti avere solo queste righe: > > auto lo > iface lo inet loopback > Sì. Il resto è tutto commentato.

