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

atheros-madwifi su debian etch/lenny



Penso di essere riuscito a sistemare la routing table (ps: perchè eth0 si connetteva anche senza route?), ma non mi si connette lo stesso (ho provato anche davanti all'ap con segnale massimo!)!
Qui sotto posto tutto quello che mi è venuto in mente di controllare!
Ho assegnato un indirizzo statico, ma nemmeno il dhcp va, e arping rimane lì a lampeggiare senza fare niente!

snoopy:/home/brunetto# route

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


snoopy:/home/brunetto# ifconfig

ath0      Link encap:Ethernet  HWaddr 00:11:F5:A5:6C:86
          inet addr:192.168.0.2  Bcast:192.168.0.255   Mask:255.255.255.0
          inet6 addr: fe80::211:f5ff:fea5:6c86/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:380 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:0 (0.0 b)  TX bytes:36277 (35.4 KiB)

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:358 errors:0 dropped:0 overruns:0 frame:0
          TX packets:358 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:69935 (68.2 KiB)  TX bytes:69935 (68.2 KiB)

wifi0     Link encap:UNSPEC  HWaddr 00-11-F5-A5-6C-86-00-00-00-00-00-00-00-00-00-00
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:17493 errors:0 dropped:0 overruns:0 frame:210
          TX packets:653 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:199
          RX bytes:2360403 (2.2 MiB)  TX bytes:61149 (59.7 KiB)
          Interrupt:177


snoopy:/home/brunetto# iwconfig

lo        no wireless extensions.

eth0      no wireless extensions.

eth1      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"WirelessZG"
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:14:6C:62:D7:7E
          Bit Rate:11 Mb/s   Tx-Power:16 dBm   Sensitivity=0/3
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:3541-4339-4332-4235-3333   Security mode:restricted
          Power Management:off
          Link Quality=13/94  Signal level=-74 dBm  Noise level=-87 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

sit0      no wireless extensions.


snoopy:/home/brunetto# iwlist scan

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

eth1      Interface doesn't support scanning.

wifi0     Interface doesn't support scanning.

ath0      Scan completed :
          Cell 01 - Address: 00:14:6C:62:D7:7E
                    ESSID:"WirelessZG"
                    Mode:Master
                    Frequency:2.412 GHz (Channel 1)
                    Quality=19/94  Signal level=-76 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100

sit0      Interface doesn't support scanning.


snoopy:/home/brunetto# 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 ath0


snoopy:/home/brunetto# ping 192.168.0.1

PING 192.168.0.1 ( 192.168.0.1) 56(84) bytes of data.
From 192.168.0.2 icmp_seq=2 Destination Host Unreachable
From 192.168.0.2 icmp_seq=3 Destination Host Unreachable
From 192.168.0.2 icmp_seq=4 Destination Host Unreachable
From 192.168.0.2 icmp_seq=6 Destination Host Unreachable
From 192.168.0.2 icmp_seq=7 Destination Host Unreachable
From 192.168.0.2 icmp_seq=8 Destination Host Unreachable
...
38 packets transmitted, 0 received, +27 errors, 100% packet loss, time 37001ms
, pipe 3




---------- Forwarded message ----------
From: automatic_jack <automatic_jack@katamail.com >
Date: 28-mag-2007 11.31
Subject: Re: Fwd: Fwd: atheros-madwifi su debian etch/lenny
To: debian-italian@lists.debian.org

On Mon, 28 May 2007 10:50:03 +0200
"Brunetto Marco Ziosi" <brunettolist@gmail.com> wrote:

> non ero riuscito nemmeno con lìip statico, segna tutto ok ma non si
> connette, e per i problemi dhcp non saprei dove mettere le mani!
> Ho guardato un po il man di route ma non c'ho capito molto, come
> funzia?

Bhè, non so come funziona "in generale" ma per quel che lo ho
utilizzato...nel mio caso, che poi è speculare al tuo (solo che io ho
una configurazione statica) la tabella di routing ha due sole entry:
quella relativa all' interfaccia ath0 (caricata automaticamente) e
quella del default gataway che devi impostare a mano durante le prove
per poi automatizzarla:

#route add default gw GATEWAY_IP

l' ip del gateway deve essere pingabile (il gateway deve essere
raggiungibile)

Fa stà prova:

#ifcontig ath0 192.168.0.2

e vedi se ti fa pingare il gateway, se non funge installa "arping" e
vedi se con:

#arping -I ath0 GATEWAY_IP

ottiene qualcosa

Ciao :)


Reply to: