[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: consulta netbook acer aspire one d250



On Thu, 5 Nov 2015 18:10:58 +0000 (UTC)
Camaleón <noelamac@gmail.com> wrote:

>       ...
> > Supongo que como explica Debian, Network-Manager se hace cargo de las
> > conexiones y no se hace necesaria la configuración de la eth0 en
> > interfaces
> > 
> > este es el ifconfig tras poner la ip
> > 
> > 
> > eth0      Link encap:Ethernet  HWaddr 00:26:22:67:cc:29
> >           inet addr:192.168.0.42  Bcast:192.168.0.255 
> >           Mask:255.255.255.0 inet6 addr: fe80::226:22ff:fe67:cc29/64
> >           Scope:Link UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
> >           RX packets:10 errors:0 dropped:0 overruns:0 frame:0 TX
> >           packets:53 errors:0 dropped:0 overruns:0 carrier:1
> >           collisions:0 txqueuelen:1000 RX bytes:1242 (1.2 KiB)  TX
> >           bytes:8991 (8.7 KiB)
> 
> Bien, eso es correcto. Ahora que ya tienes configurada la tarjeta ejecuta 
> un "ping -c 3 google.es" y un "ping -c 3 192.168.0.1" y pon la salida de 
> ambos.
> 
> > y este el interfaces:
> > 
> > 
> > # This file describes the network interfaces available on your system #
> > and how to activate them. For more information, see interfaces(5).
> > 
> > source /etc/network/interfaces.d/*
> > 
> > # The loopback network interface
> > 
> > 
> > auto lo iface lo inet loopback
> > 
> > 
> > #dhcp #auto eth0 #iface eth0 inet dhcp
> > 
> > auto eht0 iface eth0 inet static
> > 	address 192.168.0.42 netmask 255.255.255.0 broadcast 192.168.0.255
> > 	network 192.168.0.0 gateway 192.168.0.1
> > 
> > si ves algo no apropiado me dices...
> 
> Yo añadiría "allow-hotplug":
> 
> auto eth0
> allow-hotplug eht0
> iface eth0 inet static
> 	address 192.168.0.42
> 	netmask 255.255.255.0
> 	broadcast 192.168.0.255
> 	network 192.168.0.0
> 	gateway 192.168.0.1
> 
> Y por último, comprueba que los DNS sean los correctos:
> 
> /etc/resolv.conf 
> #search linux.site
> nameserver 192.168.0.1
> nameserver 80.58.0.33
> nameserver 8.8.8.8
> 
> Si haces algún cambio en los archivos reinicia el servicio de red, 
> verifica que todo está correcto con ifconfig/ping... y a navegar :-P
> 
> Saludos,
> 
> -- 
> Camaleón
> 

	Camaleon disculpa la tardanza he estado de recados (no solo de bits vive el hombre), te 	reporto resultados:

El router admite DHCP de hecho el resto de conexiones las ha gestionado correctamente.
Antes de nada y tras probar "sin" tus configuraciones propuestas:

root@debian:/home/tresseth# ping -c 3 google.es
ping: unknown host google.es
root@debian:/home/tresseth# ping -c 3 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
From 192.168.0.42 icmp_seq=1 Destination Host Unreachable
From 192.168.0.42 icmp_seq=2 Destination Host Unreachable
From 192.168.0.42 icmp_seq=3 Destination Host Unreachable

--- 192.168.0.1 ping statistics ---
3 packets transmitted, 0 received, +3 errors, 100% packet loss, time 2000ms
pipe 3

Pero tras configurar lo que me indicas primero interfaces y luego resolv.conf en ambos casos me sigue devolviendo lo mismo exactamente.

Y esto es lo que sale cuando comento todas las directivas de interfaces y le dejo al network-manager que gestione. Ahora aparece eth0 en el icono de notificación de xcfe pero se queda pillado esperando la direccion de red...

ifconfig:

eth0      Link encap:Ethernet  HWaddr 00:26:22:67:cc:29  
          inet6 addr: fe80::226:22ff:fe67:cc29/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:562 errors:36 dropped:5 overruns:0 frame:36
          TX packets:313 errors:0 dropped:0 overruns:0 carrier:1
          collisions:0 txqueuelen:1000 
          RX bytes:53024 (51.7 KiB)  TX bytes:30223 (29.5 KiB)

Se me ocurre ¿puede que me falte instalar algún paquete básico? este equipo está
instalado desde usb y quizás no haya cargado todo lo necesario en la instalación
inicial...


POr ejemplo tras configurar interfaces para conexion dhcp (quitando la de ip manual
 estatica) y dejando las dns's en resolv.conf:

root@debian:/etc/network# /etc/init.d/network-manager restart
[ ok ] Restarting network-manager (via systemctl): network-manager.service.
root@debian:/etc/network# ifup eth0
Internet Systems Consortium DHCP Client 4.3.1
Copyright 2004-2014 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/

Listening on LPF/eth0/00:26:22:67:cc:29
Sending on   LPF/eth0/00:26:22:67:cc:29
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Es curioso que en este netbook exista el archivo /etc/dhcpcd.conf y en el portatil no.
Probé por ejemplo en este archivo a concretarle la mac:

 interface "eth0" {
   send dhcp-client-identifier 00:26:22:67:cc:29;
 }

sin exito...

Incluso llegué a renombrar el archivo totalmente a ver cómo reaccionaba sin él y lo mismo...

buen finde

-- 
Alberto C <ac90869@gmail.com>


Reply to: