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

Re: Problema Rete



Daniele Ludovici ha scritto:

>cerca di isolare il problema: avvia la macchina senza cavo ethernet
>attaccato, la prima cosa che devi fare e' un bel ifconfig eth0 down, poi
>controlli lo stato della tabella di routing con il comando route e la
>sistemi lasciandoci solamente la route che ti occorre:
>
>192.168.0.0     *               255.255.255.0   U     0      0        0 ra0
>default         192.168.0.254   0.0.0.0         UG    0      0        0 ra0
>
>
>  
>
Allora,ho riavviato col cavo disconnesso e siccome il wireless non mi
parte al boot la tabella di routing era questa:

coblin:/home/pasta# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface

Cioè era vouta.Poi ho digitato i seguenti comandi:

coblin:/home/pasta# ifconfig eth0 down
coblin:/home/pasta# 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:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6040 (5.8 KiB)  TX bytes:6040 (5.8 KiB)

coblin:/home/pasta# ifconfig ra0 up
coblin:/home/pasta# iwconfig ra0 essid libia
coblin:/home/pasta# iwconfig ra0 key **********
coblin:/home/pasta# iwconfig ra0
ra0       RT2500 Wireless  ESSID:"libia"
          Mode:Managed  Frequency=24.62 MHz  Access Point: 00:0D:F0:11:63:4D
          Bit Rate=24 Mb/s
          RTS thr=2312 B   Fragment thr=2312 B
          Encryption key:6000-0000-03   Security mode:open
          Link Quality=86/100  Signal level=-54 dBm  Noise level:-212 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

coblin:/home/pasta# dhclient ra0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
sit0: unknown hardware address type 776
eth1: unknown hardware address type 24
Listening on LPF/ra0/00:11:09:0d:f0:e9
Sending on   LPF/ra0/00:11:09:0d:f0:e9
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on ra0 to 255.255.255.255 port 67
DHCPREQUEST on ra0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.254
bound to 192.168.0.3 -- renewal in 21600 seconds.
coblin:/home/pasta# 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:92 errors:0 dropped:0 overruns:0 frame:0
          TX packets:92 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:6040 (5.8 KiB)  TX bytes:6040 (5.8 KiB)

ra0       Link encap:Ethernet  HWaddr 00:11:09:0D:F0:E9
          inet addr:192.168.0.3  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::211:9ff:fe0d:f0e9/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:416 errors:0 dropped:0 overruns:0 frame:0
          TX packets:983 errors:4 dropped:4 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:35718 (34.8 KiB)  TX bytes:44960 (43.9 KiB)
          Interrupt:19 Base address:0xb000

coblin:/home/pasta# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use
Iface
192.168.0.0     *               255.255.255.0   U     0      0        0 ra0
default         192.168.0.254   0.0.0.0         UG    0      0        0 ra0


Cazzo ora funziona,ma non posso tenerle connesse entrambe insieme?Poi
vorrei farla partire al boot la wireless anche perchè uso generalmente
quella,l'ethernet la uso solo per copiare file più grandi di 1GB dal
server,ho provato con le impostazioni descritte nel driver della scheda
di rete ma non va.Ora provo a collegare la scheda ethernet e a
disattivare la wireless senza cambiare la tabella d'instradamento e vedo
cosa succede..

>N.B.=router e access point non devono avere lo stesso indirizzo
>
>  
>
Appunto,lo sapevo anch'io,ma è da almeno un mese che mi funzionano senza
problemi usando lo stesso indirizzo..Bo..



Reply to: