Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Wireless con NetGear Wg511 - aiuto! [RISOLTO]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Lorenzo522
n00b
n00b


Joined: 14 Jul 2004
Posts: 28

PostPosted: Thu Dec 09, 2004 2:36 pm    Post subject: Wireless con NetGear Wg511 - aiuto! [RISOLTO] Reply with quote

e rieccomi subito col secondo problema in un giorno :(

allora, ho seguito questo topic

https://forums.gentoo.org/viewtopic.php?t=177446

e arrivo a questo punto
Code:

tux ~ # ifconfiggrazie in anticipo
eth1      Link encap:Ethernet  HWaddr 00:09:5B:65:85:B8
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:9 errors:0 dropped:0 overruns:0 frame:0
          TX packets:61 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:1791 (1.7 Kb)  TX bytes:20862 (20.3 Kb)
          Interrupt:19
lo
    .....

tux ~ # dhclient eth1
Internet Systems Consortium DHCP Client V3.0.1
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP

execve (/sbin/dhclient-script, ...): No such file or directory
Listening on LPF/eth1/00:09:5b:65:85:b8
Sending on   LPF/eth1/00:09:5b:65:85:b8
Sending on   Socket/fallback
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 18
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 3
No DHCPOFFERS received.
Trying recorded lease 192.168.0.201
execve (/sbin/dhclient-script, ...): No such file or directory
bound: renewal in 113341 seconds.



ora io devo settare l'essid, l'autenticazione deve essere condivisa, la crittografia di dati è WEP e ho una chiave da mettere, con un indice=4 (sono le impostazioni che ho preso da windows, dove funziona tutto)

secondo voi, come devono essere settata la scheda? quale sono i comandi iwconfig giusti? naturalmente ho visto il man iwconfig, ma ammetto di non essere esperto di wireless e non c'ho capito molto!

grazie in anticipo


Last edited by Lorenzo522 on Tue Dec 14, 2004 8:09 am; edited 1 time in total
Back to top
View user's profile Send private message
Cazzantonio
Bodhisattva
Bodhisattva


Joined: 20 Mar 2004
Posts: 4514
Location: Somewere around the world

PostPosted: Fri Dec 10, 2004 5:10 pm    Post subject: Reply with quote

L'unica cosa errata nella guida è che la directory dove mettere il firmware è /lib/firmware/ invece di /usr/lib/hotplug/firmware (questo perchè hotplug è stato aggiornato)
Il resto è corretto... perchè fai questa domanda?

questo è il mio script di connessione (versione "lite", in realtà volendo puoi settare varie opzioni di dhcpcd... leggi il man se necessario)
Code:
#!/bin/bash
#script di connessione automatica wireless
/sbin/ifconfig eth2 up
/usr/sbin/iwconfig eth2 mode Managed
/usr/sbin/iwconfig eth2 essid <il tuo essid>
/usr/sbin/iwconfig eth2 key <la tua key>
/sbin/dhcpcd eth2


ovviamente devi lanciarlo da root, oppure usare sudo se vuoi dare il permesso di conenttersi anche agli utenti

Per disconnetterti
Code:
#!/bin/bash
#script di disconnessione automatica wireless
/sbin/ifconfig eth2 down
/bin/killall dhcpcd

_________________
Any mans death diminishes me, because I am involved in Mankinde; and therefore never send to know for whom the bell tolls; It tolls for thee.
-John Donne
Back to top
View user's profile Send private message
Lorenzo522
n00b
n00b


Joined: 14 Jul 2004
Posts: 28

PostPosted: Tue Dec 14, 2004 8:08 am    Post subject: Reply with quote

Grazie ,

ho risolto, il consiglio è stato utilissimo
La soluzione ce l'avevo sotto gli occhi, la chiave da mettere era nell'index 4
quindi in mezzo a tutto dovevo mettere

iwconfig eth1 key [4]

e tutto ha funzionato!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum