Bonsoir,
j'avance dans la mise en place de freebsd sur mon vieux pc portable VAIO.
Donc, dessus j'ai une carte PCMCIA Linksys wifi WRT54GS.
J'ai suivi différent tuto, et j'ai fini par réussir à faire marcher le wifi.
tuto1tuto2tuto3Tout fonctionne, sauf une chose.
Après le boot de freebsd, je rentre mon login et pass.
Et je suis obligé de faire un dhclient wlan0 pour avoir une ip.
En effet:
Quote:SONY# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:14:bf:c5:fc:16
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid TheCoolBaby channel 6 (2437 MHz 11g) bssid 00:1c:10:13:b8:f3
regdomain ETSI country FR authmode OPEN privacy OFF txpower 24.5
bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 protmode CTS
roaming MANUAL
On voit qu'il n'y a pas d'ip affecté à wlan0
Je fais donc un dhclient wlan0:
Quote:SONY# dhclient wlan0
DHCPREQUEST on wlan0 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.16 -- renewal in 43200 seconds.
Quote:SONY# ifconfig wlan0
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
ether 00:14:bf:c5:fc:16
inet 192.168.1.16 netmask 0xffffff00 broadcast 192.168.1.255
media: IEEE 802.11 Wireless Ethernet OFDM/54Mbps mode 11g
status: associated
ssid TheCoolBaby channel 6 (2437 MHz 11g) bssid 00:1c:10:13:b8:f3
regdomain ETSI country FR authmode OPEN privacy OFF txpower 24.5
bmiss 7 mcastrate 6 mgmtrate 6 scanvalid 60 protmode CTS
roaming MANUAL
Comment puis-je automatiser ça.
Voici mon /etc/rc.conf:
Quote:hostname="SONY.FREEBSD.WORKGROUP"
ifconfig_rl0="DHCP"
keymap="fr.iso.acc"
moused_enable="YES"
hald_enable="YES"
dbus_enable="YES"
clear_tmp_enable="YES"
powerd_enable="YES"
#Configuration pour la carte WIFI Linksys
wlans_ndis0="wlan0"
ifconfig_wlan0="country FR WPA DHCP"
Extrait du tuto 3:
Quote:Attention, depuis FreeBSD 8.0 il n'est plus possible d'utiliser directement une interface wifi qui supporte le multi-bss:
Il faut cloner la carte principale en une carte secondaire «virtuelle», et appliquer les configurations sur cette carte secondaire.
[root@d630]~#ifconfig wlan create wlandev ndis0
En fait wlan0 est un copie de ndis0 qui pour le coup ndis0 est la carte wifi
Quote:SONY# ifconfig ndis0
ndis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 2290
ether 00:14:bf:c5:fc:16
media: IEEE 802.11 Wireless Ethernet autoselect mode 11g
status: associated
Je ne sais pas mais peut être est ce important...
An idea ?
Merci de votre aide précieuse.