Pagina 1 di 1

Connessione Wi-Fi con Alice ADSL e pppoe

Inviato: ven 16 feb 2007, 16:59
da damy2779
Salve ragazzi sono nuovo del forum.
Non so se ho infranto qualche regola aprendo un nuovo topic praticamente identico ad un'altro ma vi prego di perdonarmi... :)

Ormai è un anno che mi trascino dietro questo problema ed è talmente incomprensibile che avevo lasciato stare....ma il mio orgoglio non ne vuole sapereed eccomi qua :D

Ho una rete wi-fi in casa, il mio provider è Alice e mi connetto ad internet con un Adapter Sagem USB XG-703A...

utilizzo slackware 11.0 col kernel 2.6.17.13
vi posto tutto cio che faccio e ditemi per favore dove sbaglio....non riesco in pratica a navigare...

Codice: Seleziona tutto

  
bash-3.1# ndiswrapper -i WlanUIG.inf
driver wlanuig is already installed
bash-3.1# ndiswrapper -e wlanuig
bash-3.1# ndiswrapper -i WlanUIG.inf
installing wlanuig ...
bash-3.1# ndiswrapper -l
wlanuig : driver installed
        device (0CDE:0008) present
bash-3.1# depmod -a
bash-3.1# modprobe ndiswrapper
bash-3.1# lsmod |grep ndis
ndiswrapper           171092  0
bash-3.1# dmesg |grep ndis
ndiswrapper version 1.37 loaded (preempt=no,smp=no)
ndiswrapper: driver wlanuig (Sagem SA,06/03/2004, 3.0.18.2) loaded
usbcore: registered new driver ndiswrapper
bash-3.1#

bash-3.1# 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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:60:B3:C8:69:7F
          inet6 addr: fe80::260:b3ff:fec8:697f/64 Scope:Link
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:168 (168.0 b)


bash-3.1# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wlan0     IEEE 802.11g  ESSID:off/any  Nickname:"damy"
          Mode:Managed  Frequency:2.462 GHz  Access Point: Not-Associated
          Bit Rate=2 Mb/s   Tx-Power:32 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:off
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

bash-3.1# iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

sit0      Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:08:27:99:AB:D9
                    ESSID:"Alice-16356190"
                    Protocol:IEEE 802.11g
                    Mode:Managed
                    Frequency:2.437 GHz (Channel 6)
                    Quality:70/100  Signal level:-51 dBm  Noise level:-96 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:atim=2

bash-3.1# iwconfig wlan0 key open s:hs4rf5t41tdho
bash-3.1# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

sit0      no wireless extensions.

wlan0     IEEE 802.11b  ESSID:"Alice-16356190"  Nickname:"damy"
          Mode:Managed  Frequency:2.437 GHz  Access Point: 00:08:27:99:AB:D9
          Bit Rate=54 Mb/s   Tx-Power:32 dBm
          RTS thr=2347 B   Fragment thr=2346 B
          Encryption key:6873-3472-6635-7434-3174-6468-6F   Security mode:open
          Power Management:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

MI SONO ASSOCIATO ALL'AP

bash-3.1# ifconfig wlan0 192.168.1.18 up
bash-3.1# 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:8 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:560 (560.0 b)  TX bytes:560 (560.0 b)

wlan0     Link encap:Ethernet  HWaddr 00:60:B3:C8:69:7F
          inet addr:192.168.1.18  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::260:b3ff:fec8:697f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3 errors:0 dropped:0 overruns:0 frame:0
          TX packets:2 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:126 (126.0 b)  TX bytes:168 (168.0 b)


bash-3.1# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     *               255.255.255.0   U     0      0        0 wlan0
loopback        *               255.0.0.0       U     0      0        0 lo

QUESTA E' LA TABELLA DI ROUTING

bash-3.1# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
64 bytes from 192.168.1.1: icmp_seq=1 ttl=64 time=8.59 ms
64 bytes from 192.168.1.1: icmp_seq=2 ttl=64 time=2.13 ms
64 bytes from 192.168.1.1: icmp_seq=3 ttl=64 time=2.42 ms

[1]+  Stopped                 ping 192.168.1.1

RIESCO A PINGARE IL ROUTER

bash-3.1# pppoe-setup
Welcome to the Roaring Penguin PPPoE client setup.  First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...

Looks good!  Now, please enter some information:

USER NAME
...............
...............
Ethernet Interface: wlan0
User name:          damy27@alice.it
Activate-on-demand: No
Primary DNS:        151.99.125.2
Secondary DNS:      151.99.125.3
Firewalling:        MASQUERADE

>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/resolv.conf
  (But first backing it up to /etc/resolv.conf-bak)
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
  (But first backing it up to /etc/ppp/pap-secrets-bak)
  (But first backing it up to /etc/ppp/chap-secrets-bak)



Congratulations, it should be all set up!

Type 'pppoe-start' to bring up your PPPoE link and 'pppoe-stop' to bring
it down.  Type 'pppoe-status' to see the link status.

HO CONFIGURATO PPPOE

bash-3.1# pppoe-start
........... Connected!

ADESSO SAREI CONNESSO E LA ROUTE TABLE E'

bash-3.1# route
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.100.1   *               255.255.255.255 UH    0      0        0 ppp0
192.168.1.0     *               255.255.255.0   U     0      0        0 wlan0
loopback        *               255.0.0.0       U     0      0        0 lo
default         *               0.0.0.0         U     0      0        0 ppp0



bash-3.1# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.

[2]+  Stopped                 ping 192.168.1.1

NON MI PINGA PIU' INFATTI NONOSTANTE SIA CONNESSO NON NAVIGO CON FIREFOX
please help-me :( :(

Inviato: ven 16 feb 2007, 19:34
da sonzo
Scusa la domanda stupida, ma il router è un modem router?

Inviato: sab 17 feb 2007, 16:04
da damy2779
è il famoso pirelli gate di alice...è composto da due moduli attaccati, un modem e un router....comunque

sono riuscito a connettermi la sequenza delle operazioni che ho fatto sono:
-carico il modulo ndiswrapper (modprobe ndiswrapper)
-configuro la rete wifi (iwconfig wlan0 key open s:******)
-mi collego con il pppoe-start

il tutto funziona, quasi correttamente, se non che, se apro programmi p2p o amsn,
dopo un po l'interfaccia ppp mi va down:
ppppoe-status: Link is attached to ppp0, but ppp0 is down

sapete perchè e soprattutto sapete dirmi come devo fare?
se avete bisogno di qlc output chiedete pure

Grazie della vostra attenzione

Inviato: lun 19 feb 2007, 16:21
da damy2779
:shock: :? C'è nessuno??? :? :shock:

:( possibile che tutte le volte devo riavviare il PC? :(

Inviato: mar 20 feb 2007, 22:46
da damy2779
:D :D Ok tutto risolto...era una cavolata...bastava sfruttare la connessione pppoe (con i vari client) da user anxichè da root...

Grazie a coloro che si sono interessati,,,passo e chiudo!

W Slackware