Gentoo Archives: gentoo-ppc-user

From: Miguel Sousa Filipe <m3thos@×××××××.pt>
To: "Joao F. Serejo" <lx90@×××××××.pt>
Cc: gentoo-ppc-user@g.o
Subject: Re: [gentoo-ppc-user] airport help
Date: Fri, 11 Jul 2003 17:23:21
Message-Id: 3F0EF287.3020005@netcabo.pt
In Reply to: [gentoo-ppc-user] airport help by "Joao F. Serejo"
1 To all gentoo users, AirPort is well supported in linux and appears has a
2 regular ethX device when the driver is in the kernel (after inserting the
3 airport module, or after boot in case of built in support).
4
5
6 Ola' Joao!
7
8 Joao F. Serejo wrote:
9 > hy all.
10 >
11 > i just add finish up setting my new airport card bellow my kbd and the kernel boot
12 > up recognizing the new "eth1". I'm using the benh tree (2.4.21-benh2) and its iBook2
13 > configurations with minor changes to adjust to gentoo-sources, and all the suport
14 > needed by the kernel is set.
15
16
17 Se tiveres o airport no kernel, e tens o eth1, e' porque supostamente o AirPort
18 esta' suportado, caso nao tenhas o eth1, faz modprobe airport (quando o suporte
19 para o AirPort e' feito por modulo, como no meu caso).
20
21 Basicamente, mal tenhas o eth1 faz:
22 ifconfig eth1 up
23 iwconfig eth1
24 se o iwconfig eth1 funcionar, o AirPort esta' a funcionar, podes usa-lo como
25 qualquer outra placa de rede, e fazer por exemplo /etc/init.d/net.eth1 start
26 ou entao usar o
27 iwconfig eth1 XXX
28 para configuracoes especificas de placas de rede sem fios.
29 por exemplo, este e' o meu script para usar wifi em casa:
30
31 #!/bin/sh
32 modprobe airport
33 iwconfig eth1 essid "casa de pobres" nick miguel key off
34 /etc/init.d/net.eth1 start
35 ip -6 route del default
36
37 tenho este script como wifi.casa em /root/bin e corro-o quando quero-me ligar
38 por wireless em casa.
39 Se a tua rede sem fios usa WEP, e' so' meteres a chave asseguir ao "key" no
40 comando do iwconfig.
41 faz man iwconfig para mais detalhes.
42
43 Se precisas de te ligar a uma VPN wifi (como no caso das universidades) em
44 linux, ainda nao sei fazer pois nao tentei!
45
46
47
48 >
49 > Start dig in for airport configuration under gentoo and linux in genral i found a nice
50 > doc unfortunaly not aplied to our distro! Please can someone give me some highlights on
51 > how to adjust this following setting in gentoo configuration files ?
52 >
53 > thanks in advanced!
54 >
55
56 Este ficheiro foi criado por mim!! :) e' bom ver que serviu a mais pessoas :)
57
58 > ---
59 >
60 > # NOTE: This doc is mented to pass out debian configurations
61 > # of an Airport Card intoo my Gentoo iBook2.2 machine
62 >
63 >
64 > # deb File '/etc/network/interfaces'
65 >
66 > # The loopback interface
67 > auto lo
68 > iface lo inet loopback
69 >
70 > # The built in Network interface
71 > iface eth0 inet dhcp
72 >
73 > # Wireless Airport Card interface
74 > iface eth1 inet dhcp
75 > pre-up modprobe airport
76 > post-down rmmod airport
77 > post-down rmmod orinoco
78 > post-down rmmod hermes
79 > wireless_essid any
80 > wireless_mode Managed
81 > wireless_ap any
82 > wireless_nick Pintas
83 > wireless_key off
84 >
85 > # deb File '/etc/network/network'
86 >
87 > alias eth1 airport
88 > probeall airport hermes orinoco ## MODULES ##
89 > alias eth0 sungem
90 >
91 > # End
92 >
93
94 Miguel Sousa Filipe
95
96
97 --
98 gentoo-ppc-user@g.o mailing list