View previous topic :: View next topic |
Author |
Message |
xlyz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/916827812416b0d3e6db21.jpg)
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Fri Jun 04, 2004 7:24 am Post subject: [HELP] come configuro la mia 802.11g/rete domestica? |
|
|
e' una prism
per l'esattezza una frisbee
stavo gia' per riportarla indietro quando grazie ad un provddenziale messaggio sul loro forum sono riuscito a tirarla su
Code: | iwconfig
lo no wireless extensions.
dummy0 no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11b/g Mode:Managed Channel:5
Access Point: 00:00:00:00:00:00 Bit Rate:0kb/s Sensitivity=20/200
Retry min limit:8 RTS thr:2347 B Fragment thr:2346 B
Encryption key: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
|
adesso devo configurarla per poter connettere il portatile
qualcuno mi puo' aiutare?
purtroppo non ho molto tempo per documentarmi perche' se la scheda non dovesse funzionare e la volessi restituire devo farlo entro lunedì.
per cui se qualcuno che "sa" ha voglia di dedicarmi qualche minuto ...
EDIT:
per maggiore chiarezza:
Code: | internet <- lan -> eth0 - desktop - eth1 <- wireless -> eth0 - portatile |
obiettivo minimo: far vedere reciprocamente i 2 pc
obiettivo desiderato: usare desktop come gateway per andare su internet
obiettivo futuro: usare desktop come AP (cosi' tolgo un po' di cavi che girano per casa)
Last edited by xlyz on Fri Jun 04, 2004 3:42 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
motaboy Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
![](images/avatars/146642313240262a7185133.png)
Joined: 15 Dec 2003 Posts: 1483
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xlyz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/916827812416b0d3e6db21.jpg)
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Fri Jun 04, 2004 10:43 am Post subject: |
|
|
non riesco ad aprire il link
in ogni caso la parte wifi sembrerebbe fungere (il laptop dice di essere collegato, anche se senza wep nonostante avvessi dato restrcted a iwconfig sul desktop)
e' la parte più tradizionale di configurazione della rete che non mi riesce ![Rolling Eyes :roll:](images/smiles/icon_rolleyes.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xlyz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/916827812416b0d3e6db21.jpg)
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Fri Jun 04, 2004 3:42 pm Post subject: |
|
|
non ne vengo a capo
/etc/conf.d/net del desktop:
Code: | # /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $
#
iface_eth0="dhcp"
#dhcpcd_eth0="..."
iface_eth1="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0" |
il laptop (win x) ha 192.168.1.6 come ip, 192.168.1.1 come gateway 255.255.255.0 come netmask
ho provato a configurare sia firehol che firestarter ma senza successo
non riescono nemmeno a pingarsi a vicenda
aiut!! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shev Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8449159314dcae72b62db4.jpg)
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Fri Jun 04, 2004 4:53 pm Post subject: |
|
|
Hai già visto il mio pseudo-howto che avevo scritto nel topic "quale scheda wireless"? Avevo riportato anche qualche voce di configurazione e simili (è uno degli ultimi post della prima pagina). _________________ Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xlyz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/916827812416b0d3e6db21.jpg)
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Fri Jun 04, 2004 5:51 pm Post subject: |
|
|
se intendi questo si |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
stuart Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/20011662533fa5598186e9f.gif)
Joined: 27 Apr 2003 Posts: 552
|
Posted: Fri Jun 04, 2004 6:24 pm Post subject: |
|
|
la butto lì:
i canali sono gli stessi? _________________ Pochissime persone crescono. La maggior parte della gente invecchia. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
primero.gentoo Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/16558217043ff0963e612f1.jpg)
Joined: 23 Dec 2003 Posts: 402
|
Posted: Sat Jun 05, 2004 11:19 am Post subject: |
|
|
xlyz wrote: | non ne vengo a capo
/etc/conf.d/net del desktop:
Code: |
iface_eth1="192.168.1.1 broadcast 192.168.1.255 netmask 255.255.255.0" |
il laptop (win x) ha 192.168.1.6 come ip, 192.168.1.1 come gateway 255.255.255.0 come netmask
ho provato a configurare sia firehol che firestarter ma senza successo
non riescono nemmeno a pingarsi a vicenda
aiut!! |
Se ho capito bene utilizzi una scheda wireless anche sul desktop per come AP , giusto?
Io uso un AP reale, ma credo che i comandi che ti servano siano piu' o meno questi :
Dopo aver caricato il modulo "prism54.ko"
Code: |
iwconfig eth1 essid foo.bar
iwconfig eth1 mode (Ad-Hoc/Master)
iwconfig eth1 key s:abcdefghijklm
ifconfig eth1 192.168.100.2
|
In questo modo la tua scheda dovrebbe agire come AP se hai scelto MASTER o in configurazione Point-to-Point se hai scelto Ad-Hoc.
prova a dare un iwconfig e vedi che ti esce, in particolare controlla
MODE,CHANNEL,ESSID,ENCRYPTION KEY
Quanto tiri su la scheda sul Laptop con lo stesso essid e la stessa Key (ovviamente sullo stesso CHANNEL) dovresti ottenere il link e dovresti riuscire a pingare.
A questo punto prosegui con la normale configuazione di iptables per permettere la comunicazione tra il laptop e il mondo
Ciauz _________________ "Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
(L#USER 353039) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xlyz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/916827812416b0d3e6db21.jpg)
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Sat Jun 05, 2004 1:15 pm Post subject: |
|
|
avevo provato tutti i mode, key open e key retricted, tutte le possibili combinazioni ma nada
anche iwspy e iwscan non riuscivano a vedere il laptop (mentre il laptop vedeva il pc, pur non riuscendo a ricevere nulla)
per cui a sto punto ho restituito la scheda a chi me l'aveva venduta
tra l'altro: come vaccio a vedere / impostare il channel su win xp? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xlyz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/916827812416b0d3e6db21.jpg)
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Sat Jun 12, 2004 8:31 am Post subject: |
|
|
dopo lungo tribolare (e il cambio della scheda) adesso tutto funge
avevo configurato male il supporto al wep
probabilmente anche la vecchia scheda fungeva, ma aveva lo stesso problema
cmq adesso la nuova MA111 (usb) va che e' un piacere (a parte che ho istallato dnsmasq per avere il supporto dhcp e dns sul pc gateway perche' non sono riuscito a configurare il tutto con gli ip fissi)
prossimo step: upgrade a wpa (qualcuno ha un howto?) e firewalling |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
shev Bodhisattva
![Bodhisattva Bodhisattva](/images/ranks/rank-bodhisattva.gif)
![](images/avatars/8449159314dcae72b62db4.jpg)
Joined: 03 Feb 2003 Posts: 4084 Location: Italy
|
Posted: Sat Jun 12, 2004 11:34 am Post subject: |
|
|
xlyz wrote: | prossimo step: upgrade a wpa (qualcuno ha un howto?) e firewalling |
Ma sei sicuro che la ma111 supporti wpa? Da quel che so io non la supporta... chiedo perchè se supporta wpa potrei comprarla anch'io al posto della dlink ![Smile :)](images/smiles/icon_smile.gif) _________________ Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
xlyz Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
![](images/avatars/916827812416b0d3e6db21.jpg)
Joined: 27 Oct 2002 Posts: 1470 Location: Italy
|
Posted: Sun Jun 13, 2004 5:24 pm Post subject: |
|
|
al momento non mi risulta che nessuna usb supporti wpa sotto linux (almeno fino a che hostap non si decide a supportare anche usb oltre che pci e pcmcia)
ma io aspetto fiducioso ![Very Happy :D](images/smiles/icon_biggrin.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|