Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[HELP] come configuro la mia 802.11g/rete domestica?
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
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Fri Jun 04, 2004 7:24 am    Post subject: [HELP] come configuro la mia 802.11g/rete domestica? Reply with quote

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
View user's profile Send private message
motaboy
Retired Dev
Retired Dev


Joined: 15 Dec 2003
Posts: 1483

PostPosted: Fri Jun 04, 2004 9:43 am    Post subject: Reply with quote

Io per fare andare l'ipw2100 di un mio amico senza stare li a dovere configurare tutto ho usato gli script che trovi qui:

https://forums.gentoo.org/viewtopic.php?t=122435&highlight=wireless+init+script

sono facili da installare e l'ebuild ti dice tutto. Ho sentito che dovrebbero aggiungerli direttamente nel baselayout.


Bye!
_________________
...
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Fri Jun 04, 2004 10:43 am    Post subject: Reply with quote

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 :roll:
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Fri Jun 04, 2004 3:42 pm    Post subject: Reply with quote

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
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Fri Jun 04, 2004 4:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Fri Jun 04, 2004 5:51 pm    Post subject: Reply with quote

se intendi questo si
Back to top
View user's profile Send private message
stuart
Guru
Guru


Joined: 27 Apr 2003
Posts: 552

PostPosted: Fri Jun 04, 2004 6:24 pm    Post subject: Reply with quote

la butto lì:
i canali sono gli stessi?
_________________
Pochissime persone crescono. La maggior parte della gente invecchia.
Back to top
View user's profile Send private message
primero.gentoo
Guru
Guru


Joined: 23 Dec 2003
Posts: 402

PostPosted: Sat Jun 05, 2004 11:19 am    Post subject: Reply with quote

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 :wink:

Ciauz
_________________
"Linux, the choice of a GNU generation"
==Micro$oft - just say NO==
(L#USER 353039)
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Jun 05, 2004 1:15 pm    Post subject: Reply with quote

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
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sat Jun 12, 2004 8:31 am    Post subject: Reply with quote

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
View user's profile Send private message
shev
Bodhisattva
Bodhisattva


Joined: 03 Feb 2003
Posts: 4084
Location: Italy

PostPosted: Sat Jun 12, 2004 11:34 am    Post subject: Reply with quote

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 :)
_________________
Se per vivere ti dicono "siediti e stai zitto" tu alzati e muori combattendo
Back to top
View user's profile Send private message
xlyz
Veteran
Veteran


Joined: 27 Oct 2002
Posts: 1470
Location: Italy

PostPosted: Sun Jun 13, 2004 5:24 pm    Post subject: Reply with quote

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 :D
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