Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO] Problema wireless
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
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Sun May 13, 2007 2:34 pm    Post subject: [RISOLTO] Problema wireless Reply with quote

Per colpa di una mia cavolata ho dovuto reinstallare tutto da capo (!!!) e ora sono qui con un gentoo nuovo di zecca ma con un problema:
Connessione wireless: Non riesco ad impostare lo script d'avvio!
Ecco i due file che ho modificato:

/etc/conf.d/net
(PS: la eth0 ha lo stesso indirizzo della wlan0 ma non è mai accesa...)
Code:

dns_domain_lo="homenetwork"
dns_servers_wlan0="192.168.1.1"
dns_domain_wlan0="homenetwork"

config_eth0=( "192.168.1.6/24" )
routes_eth0=( "default gw 192.168.1.1" )

config_wlan0=( "192.168.1.6/24" )
routes_wlan0=( "default gw 192.168.1.1" )

modules=( "iwconfig" )
key_Apple_Network=" s:************ key enc restricted"

preferred_aps=( "Apple Network" )
config_Apple_Network=( "192.168.1.6/24 brd 192.168.1.255" )
routes_Apple_Network=( "default gw 192.168.1.1" )

#dns_servers_Apple_Network=( "192.168.1.1" )

/etc/conf.d/wireless
Code:

config_Apple_Network=( "192.168.1.6/24 brd 192.168.1.255" )
routes_Apple_Network=( "default gw 192.168.1.1" )
#dns_server_Apple_Network=( "192.168.1.1" )

essid_wlan0="Apple Network"
key_Apple_Network="s:**********  enc restricted"
preferred_aps=( "Apple Network" )


Ho modificato tutti e due perchè non capisco qual'è che ha la preferenza...
COmunque in tutti i casi non parte! Proprio non gli assegna l'indirizzo IP (e di conseguenza non si connette neanche alla lan).
Inoltre /etc/resolv.conf è cancellato ad ogni avvio!


PS:
E' normale che pidgin non emetta suoni? (mp3, video suonano... non so che altro provare...)
_________________
GoogleTalk: romanovic@gmail.com


Last edited by makaveli87 on Mon Jun 04, 2007 9:20 am; edited 1 time in total
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Tue May 15, 2007 5:03 pm    Post subject: Reply with quote

Scusate l'up.... però se non risolvo tutti i servizi come cups mi fa partire la rete... che naturalmente non parte e quindi mi bloccano tutto...
Dove è che sbaglio nella configurazione?
_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue May 15, 2007 5:13 pm    Post subject: Reply with quote

1) /etc/conf.d/wireless è ormai deprecato, dovresti spostare quelle linee in "net"
2) che errore ti da?
3) la rete è criptata WEP? hai necessità dell'uso di WPA? se la seconda è vera allora conviene usare da subito wpa_supplicant e configurarlo adeguatamente, altrimenti può andare bene l'uso che ne hai fatto delle chiavi d'autenticazione...
_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Tue May 15, 2007 5:32 pm    Post subject: Reply with quote

Allora... ho eliminato (fulito) il file /etc/conf.d/wireless e questo è il nuovo /etc/conf.d/net

Code:

# This blank configuration will automatically use DHCP for any net.*
# scripts in /etc/init.d.  To create a more complete configuration,
# please review /etc/conf.d/net.example and save your configuration
# in /etc/conf.d/net (this file :]!).
dns_domain_lo="homenetwork"
#dns_servers_wlan0="192.168.1.1"
dns_domain_wlan0="homenetwork"

config_eth0=( "192.168.1.6/24" )
routes_eth0=( "default gw 192.168.1.1" )

modules=( "iwconfig" )


config_Apple_Network=( "192.168.1.6/24 brd 192.168.1.255" )
routes_Apple_Network=( "default gw 192.168.1.1" )

dns_server_Apple_Network=( "192.168.1.1" )

essid_wlan0="Apple Network"
key_Apple_Network=" s:xxxxxxxxxxxxxx key restricted"
preferred_aps=( "Apple Network" )


Non funziona ancora.
La chiave è WEP
_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
Peach
Advocate
Advocate


Joined: 08 Mar 2003
Posts: 3686
Location: London, UK

PostPosted: Tue May 15, 2007 6:22 pm    Post subject: Reply with quote

Peach wrote:
2) che errore ti da?

_________________
Gentoo user since 2004.
"It's all fun and games, until someone loses an eye" - mom
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Tue May 15, 2007 6:33 pm    Post subject: Reply with quote

Anche io tempo fa avevo avuto un problema con la scheda wireless, con l'aggiornamento mi ero dimenticato di rimuovere i file /etc/init.d/net.* tranne il lo e ricrearli come collegamenti simbolici a net.lo . Prova a verificare questo, se è già così l'errore è nella configurazione, come altra prova puoi provare a modificare quel restricted con enc open.
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Tue May 15, 2007 6:49 pm    Post subject: Reply with quote

Semplicemente
Code:

gentoohost init.d # ./net.wlan0 start
 * Caching service dependencies ...                                       [ ok ]
 * Service net.wlan0 starting
 * Starting wlan0
 *   Loading networking modules for wlan0
 *     modules: apipa arping ccwgroup macchanger macnet rename iwconfig essidnet iptunnel ifconfig ip6to4 system
 *       iwconfig provides wireless
 *       ifconfig provides interface
 *   Configuring wlan0 for MAC address 00:E0:98:D2:1D:A6 ...              [ ok ]
 *   Configuring wireless network for wlan0
 *   Connecting to "Apple Network" in managed mode (WEP enabled - restricted) ...                                                                         [ !! ]
 *   Failed to configure wireless for wlan0                               [ !! ]
 * ERROR:  net.wlan0 failed to start
gentoohost init.d #



Ho provato ad eliminare net.wlan0 e rifare il link... stesso problema..
La chiava è restricted comunque...
_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
magowiz
Veteran
Veteran


Joined: 17 Feb 2005
Posts: 1029
Location: Italy/Milan/Bresso

PostPosted: Tue May 15, 2007 6:54 pm    Post subject: Reply with quote

il /var/log/messages cosa ti dice?
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Tue May 15, 2007 7:13 pm    Post subject: Reply with quote

magowiz wrote:
il /var/log/messages cosa ti dice?

Niente... solo questo:
Code:

May 15 21:12:31 gentoohost rc-scripts: Failed to configure wireless for wlan0
May 15 21:12:31 gentoohost rc-scripts: ERROR:  net.wlan0 failed to start

_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
matteo.pata
n00b
n00b


Joined: 21 Mar 2007
Posts: 49
Location: Varese

PostPosted: Tue May 15, 2007 10:24 pm    Post subject: Reply with quote

Hai settato i moduli del kernel per il wep:
sono sotto networking:
Code:

IEEE 802.11 WEP encryption (802.x) = M
IEEE 802.11i WEP CCMP support = M
IEEE 802.11i WEP TKI encryption  = M
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Thu May 17, 2007 6:43 am    Post subject: Reply with quote

Sulla rete riesco a connettermi, a mano però. Inoltre il kernel è lo stesso che avevo nella precedente installazione (mi son portato dietro il config e il kernel..) e li andava tutto.
_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Sat May 19, 2007 12:11 pm    Post subject: Reply with quote

matteo.pata wrote:
Hai settato i moduli del kernel per il wep:
sono sotto networking:
Code:

IEEE 802.11 WEP encryption (802.x) = M
IEEE 802.11i WEP CCMP support = M
IEEE 802.11i WEP TKI encryption  = M


Non ce li avevo, ma anche aggiungendoli non cambia niente
_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
xveilsidex
Guru
Guru


Joined: 27 Dec 2005
Posts: 370
Location: Bari

PostPosted: Sat May 19, 2007 1:05 pm    Post subject: Reply with quote

Ke skeda wireless hai?
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Sat May 19, 2007 1:39 pm    Post subject: Reply with quote

mmm forse non sono stato abbastanza chiaro...

Su internet ci vado.. Riesco a connettermi e ad usare la scheda wireless (per rispondere alla domanda precedente.. uso ndiswrapper, la scheda ha un chip texas-instrument.. ma non ricordo il modello preciso..).
Per la precisione questo è uno scipt che ho fatto e che lancio ad ogni avvio:
Code:

ifconfig wlan0 192.168.1.6 netmask 255.255.255.0
route add default gw 192.168.1.1
echo "nameserver 192.168.1.1">> /etc/resolv.conf
iwconfig wlan0 essid "Apple Network"
iwconfig wlan0 ap 00:11:24:95:2D:D4


Come si vede non imposto neanche la chiave Wep perchè se la ricoda la scheda!
Il problema è che non riesco a far gestire la scheda allo script init.

Il problema è quello riportato qualche post sopra
_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
GNUtoo
Veteran
Veteran


Joined: 05 May 2005
Posts: 1919

PostPosted: Tue May 22, 2007 2:07 pm    Post subject: Reply with quote

il chip non e un acx111?
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Wed May 23, 2007 9:57 am    Post subject: Reply with quote

GNUtoo wrote:
il chip non e un acx111?


forse si... ma aveva dei problemi coi driver ACX 111.. funziona meglio con ndiswrapper
_________________
GoogleTalk: romanovic@gmail.com
Back to top
View user's profile Send private message
makaveli87
Guru
Guru


Joined: 22 Aug 2005
Posts: 311
Location: Italy

PostPosted: Mon Jun 04, 2007 9:26 am    Post subject: Reply with quote

Ho risolto!
Approfittando del cambio adsl e del modem (da router a modem ho tolto il NAT), ho anche riattivato il dhcp e riscritto da capo il file...
Il problema comunque secondo me è che devo specificare a mano a che AP collegarsi (l'indirizzo mac) e ora funziona.
_________________
GoogleTalk: romanovic@gmail.com
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