Friday, February 6, 2009

Fedora a WiFi

Maly navod jak zprovoznit WIFI ve fedore. Otazkou zustava k cemu mi bude navod na jak se dostat na net na netu :).

Vypnout NetworkManager

Pro smazani a nahrani sitoveho modulu(po pouziti kismetu)
modprobe -r iwlagn
modprobe iwlagn

# detekce siti
iwlist scan

# nastaveni modu
iwconfig eth0 mode Managed

# nastaveni sesid
iwconfig eth0 essid homenet

# vytvoreni klice pro OPEN WEP
dd if=/dev/random bs=1 count=5 2>/dev/null | xxd -ps

# zadani klice
iwconfig eth0 key 967136deac
40b=5B=10 hexaznaku(64,104,128)

V /etc/sysconfig/network-scripts/ vytvorime ifcfg-wlan0 s
DEVICE=wlan0

dhclient wlan0

a nebo na stalo
V /etc/sysconfig/network-scripts/ vytvorime ifcfg-wlan0 s
DEVICE=wlan0
IPADDR=nejaka IP
NETMASK=255.255.255.0
ONBOOT=yes
BOOTPROTO=static(dhcp)
TYPE=Wireless
MODE=Managed
ESSID=homenet
KEY=967136deac(jsem zadat password asi)

No comments:

Post a Comment