eh probo sam xsupplicant i opet nemoze tj neznam kako…
u biti evo ovih par stvari pa ako neko ima vremena da pogleda bio bi zahvalan, jer ja sam profuro google i svasta jos i nisam nigdje naso kokretno da je neko uspio nastimati…
prvo iwlist
root@defstar:/home/change# iwlist eth1 scan
eth1 Scan completed :
Cell 01 - Address: 00:40:96:33:2A:D4
ESSID:"Porzellaneum"
Mode:Master
Frequency:2.437 GHz (Channel 6)
Quality=36/100 Signal level=-77 dBm Noise level:-94 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
Cell 02 - Address: 00:40:96:37:FF:94
ESSID:"Porzellaneum"
Mode:Master
Frequency:2.462 GHz (Channel 11)
Quality=66/100 Signal level=-62 dBm Noise level:-94 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
Extra:bcn_int=100
pa iwconfig
[code]root@defstar:/home/change# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth1 IEEE 802.11-DS ESSID:“Porzellaneum” Nickname:"defstar"
Mode:Managed Frequency:2.442 GHz Access Point: 00:40:96:37:FF:94
Bit Rate:11 Mb/s Tx-Power=15 dBm Sensitivity=0/65535
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:------** Security mode:open
Power Management:off
Link Quality=75/100 Signal level=-58 dBm Noise level=-94 dBm
Rx invalid nwid:739 Rx invalid crypt:17 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:291 Missed beacon:0
wifi0 IEEE 802.11-DS ESSID:“Porzellaneum” Nickname:"defstar"
Mode:Managed Frequency:2.442 GHz Access Point: 00:40:96:37:FF:94
Bit Rate:11 Mb/s Tx-Power=15 dBm Sensitivity=0/65535
Retry limit:16 RTS thr:off Fragment thr:off
Encryption key:------** Security mode:open
Power Management:off
Link Quality=75/100 Signal level=-58 dBm Noise level=-94 dBm
Rx invalid nwid:739 Rx invalid crypt:17 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:291 Missed beacon:0[/code]
pa onda ifconfig
root@defstar:/home/change# ifconfig eth1
eth1 Link encap:Ethernet HWaddr 00:40:96:41:F2:A9
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:3 errors:1540 dropped:0 overruns:0 frame:1540
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:192 (192.0 b) TX bytes:0 (0.0 b)
Interrupt:16 Base address:0x100
i na kraju xsupplicant.conf koji sam da kazem “sastavio”…naime kako sam trazio na google.u naso sam ovakve config.e …ali kod mene neradi samo mi kaze “starting xsupplicant…” i to je to nista se ne desi…
[code]root@defstar:/home/change# cat /etc/xsupplicant.conf
This is an example configuration file for xsupplicant versions after 0.8b.
GLOBAL SECTION
network_list: defines all of the networks in this file which
should be kept in memory and used.Comma delimited list or “all”
for keeping all defined configurations in memory. For efficiency,
keep only the networks you might roam to in memory.
To avoid errors, make sure your default network is always
in the network_list. In general, you will want to leave this set to
“all”.
network_list = all
default_netname: some users may actually have a network named “default”.
since “default” is a keyword in the network section below, you can
change which is to be used as the replacement for this keyword
default_netname = Porzellaneum
first_auth_command: the command to run when xsupplicant authenticates to
a wireless network for the first time. This will usually be used to
start a DHCP client process.
first_auth_command = dhcpcd eth1
logfile = /var/log/xsupplicant.log
NETWORK SECTION
Porzzelaneum{
type = wireless
allow_types: describes which EAP types this network will allow. The
first type listed will be requested if the server tries to use something
not in this list.
allow_types = eap_tls, eap_md5, eap_gtc, eap-otp
allow_types = all
identity: what to respond with when presented with an EAP Id Request
Typically, this is the username for this network. Since this can
be an arbitrary string, enclose within and
identity = “318A”
eap-peap {
# As in tls, define either a root certificate or a directory
# containing root certificates.
#root_cert = /path/to/root/certificate
#root_dir = /path/to/root/certificate/dir
#crl_dir = /path/to/dir/with/crl
root_cert = NONE
chunk_size = 1398
random_file = /dev/urandom
#session_resume = yes
#Currently 'all' is just mschapv2
#If no allow_types is defined, all is assumed
#allow_types = all # where all = MSCHAPv2, MD5, OTP, GTC, SIM
allow_types = eap-mschapv2
# right now you can do any of these methods in PEAP:
eap-mschapv2 {
username = "*****"
password = "******"
}
}
}[/code]