Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Z oboma to samo.
Trochę zmieniłem
/usr/sbin/wpa_supplicant -dd -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -W -b bwn0 -c /etc/wpa_supplicant.conf wpa_supplicant v2.0 Successfully initialized wpa_supplicant Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A' bridge 'bwn0' Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf' Reading configuration file '/etc/wpa_supplicant.conf' Line: 3 - start of a new network block ssid - hexdump_ascii(len=4): 73 69 65 63 siec BSSID - hexdump(len=6): 18 d0 71 0e e2 be key_mgmt: 0x2 proto: 0x2 PSK (ASCII passphrase) - hexdump_ascii(len=8): [REMOVED] PSK (from passphrase) - hexdump(len=32): [REMOVED] Priority group 0 id=0 ssid='siec' wpa_driver_bsd_capa: drivercaps=0x2581e801,cryptocaps=0x00000000 wlan0: Own MAC address: 00:1f:e2:86:28:c3 wlan0: Receiving packets from bridge interface 'bwn0' pcap_open_live: bwn0: No such device exists (BIOCSETIF failed: Device not configured) ifname='bwn0' wlan0: Failed to open l2_packet connection for the bridge interface 'bwn0' Failed to add interface wlan0 wlan0: Request to deauthenticate - bssid=00:00:00:00:00:00 pending_bssid=00:00:00:00:00:00 reason=3 state=DISCONNECTED bsd_set_key: alg=0 addr=0x0 key_idx=0 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=0 bsd_set_key: alg=0 addr=0x0 key_idx=1 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=1 bsd_set_key: alg=0 addr=0x0 key_idx=2 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=2 bsd_set_key: alg=0 addr=0x0 key_idx=3 set_tx=0 seq_len=0 key_len=0 bsd_del_key: key_idx=3 wlan0: State: DISCONNECTED -> DISCONNECTED wpa_driver_bsd_set_countermeasures: enabled=0 wlan0: No keys have been configured - skip key clearing wlan0: Cancelling scan request wlan0: Cancelling authentication timeout wpa_driver_bsd_set_wpa: enabled=0 wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 bsd_set_opt_ie: set WPA+RSN ie (len 0) ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported wpa_driver_bsd_set_wpa_internal: wpa=0 privacy=0 bsd_set_opt_ie: set WPA+RSN ie (len 0) ioctl[SIOCS80211, op=26, val=0, arg_len=0]: Operation not supported
bwn0: No such device exist
a tu jest
ifconfig bwn0 bwn0: flags=8802<BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290 ether 00:1f:e2:86:28:c3 nd6 options=29<PERFORMNUD,IFDISABLED,AUTO_LINKLOCAL> media: IEEE 802.11 Wireless Ethernet autoselect (autoselect) status: no carrier
a po tym
/usr/sbin/wpa_supplicant -dd -P /var/run/wpa_supplicant.wlan0.pid -i wlan0 -W -c /etc/wpa_supplicant.conf
CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach recvfrom(ctrl_iface): Bad file descriptor CTRL_IFACE - wlan0 - wait for monitor to attach
bez końca
Ostatnio edytowany przez tat99 (2016-12-13 20:33:51)
Offline
Skorzystałem z tego
http://unix.stackexchange.com/questions/290688/conf … -is-connected
przewodowy interfejs to bge0
Offline
When you booted your laptop and configured the wired bge0 interface via dhclient, it became the default route (as seen in the rightmost column in the output of netstat -r). When you later configured your wireless bwn0 interface and disconnected the wired interface, it wasn't set to be the default route. When you tried to access the network (or reply to requests), traffic was trying to use bge0 but it was disconnected.
Już wiesz czemu ci kazałem ten interfejs wyłączyć na samym początku? xD Przeczytaj jeszcze raz uważnie ten post.
Ostatnio edytowany przez morfik (2016-12-13 20:59:34)
Offline
netstat -r Routing tables Internet: Destination Gateway Flags Netif Expire default 192.168.1.100 UGS wlan0 localhost link#2 UH lo0 192.168.1.103 link#4 UHS lo0 192.168.1.104 link#1 UHS lo0 192.168.1.106 link#4 UHS lo0 Internet6: Destination Gateway Flags Netif Expire :: localhost UGRS lo0 localhost link#2 UH lo0 ::ffff:0.0.0.0 localhost UGRS lo0 fe80:: localhost UGRS lo0 fe80::%lo0 link#2 U lo0 fe80::1%lo0 link#2 UHS lo0 ff01::%lo0 localhost U lo0 ff02:: localhost UGRS lo0 ff02::%lo0 localhost U lo0
Offline
Na słabe komputery nadaje się doskonale NetBSD
Wynalazki typu pcbsd, ghostbsd bym sobie darował bo jest niewielkie wsparcie społeczności.
Lepiej już czyste FreeBSD zainstalować. A wtedy zawsze można podpytać
na https://forums.freebsd.org/ jeśli w PL nikt nie wie
]:>
Offline
Pomoglo dodanie "mode 11b "do rc.conf
ifconfig_wlan0="WPA SYNCDHCP mode 11b"
Dziękuje wszystkim za pomoc
Offline