Úvod
Základní požadavky
Připojení krok za krokem
Diagnostika a odstraňování potíží
Obecný návod
Ruční nastavení počítače
Návod pro wifi router s OpenWRT
Návod pro wifi router Asus RT N12+
Connectify
kolej@rt.ujep.cz
Prehled zarizeni na ktera se da nahrat tzv. OpenWRT firmware: http://wiki.openwrt.org/toh/start
Obecne navody v cestine: http://wiki.openwrt.org/cz/doc/start
zde stahnete OpenWRT firmware http://wiki.openwrt.org/toh/tp-link/tl-wr741nd
Pozor na verzi vaseho routeru! Najdete ji na nalepce se seriovym cislem a dalsimi informacemi na spodni strane routeru.
V soucasne dobe se prodava v4.25 a pro nej je spravna verze fw primo tady:
/etc/opkg.conf:
src/gz barrier_breaker http://downloads.openwrt.org/attitude_adjustment/12.09/ar71xx/generic/packages dest root / dest ram /tmp lists_dir ext /var/opkg-lists option overlay_root /overlay
/etc/wireless:
config wifi-device radio0 option type mac80211 option channel 11 option hwmode 11ng option path 'platform/ar933x_wmac' option htmode HT20 list ht_capab SHORT-GI-20 list ht_capab SHORT-GI-40 list ht_capab RX-STBC1 list ht_capab DSSS_CCK-40 # REMOVE THIS LINE TO ENABLE WIFI: #option disabled 1 config wifi-iface option device radio0 option network lan option mode ap option ssid nazev_site option encryption psk2 option key 'heslo'
/etc/network:
config interface 'loopback' option ifname 'lo' option proto 'static' option ipaddr '127.0.0.1' option netmask '255.0.0.0' config globals 'globals' option ula_prefix 'fd27:d8e5:8c95::/48' config interface 'lan' option ifname 'eth0' option type 'bridge' option proto 'static' option ipaddr '192.168.1.1' option netmask '255.255.255.0' option ip6assign '60' config interface 'wan' option ifname 'eth1' option proto 'dhcp' config interface 'wan6' option ifname '@wan' option proto 'dhcpv6' config switch option name 'switch0' option reset '1' option enable_vlan '1' config switch_vlan option device 'switch0' option vlan '1' option ports '0 1 2 3 4'
/etc/wpa.conf:
ctrl_interface=/var/run/wpa_supplicant ctrl_interface_group=root ap_scan=0 network={ key_mgmt=IEEE8021X eap=PEAP phase2="auth=MSCHAPV2" identity="studentske_cislo" password="eduroam_heslo" ca_cert="/etc/ssl/addtrustexternalcaroot.crt" }
/etc/init.d/wpa:
#!/bin/sh /etc/rc.common # Example script # Copyright (C) 2007 OpenWrt.org START=99 start() { echo start wpa_supplicant -D wired -i eth1 -c /etc/config/wpa.conf & }