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
[url]http://unix.stackexchange.com/questions/290688/configure-wireless-network-on-freebsd-router-shows-wireless-device-is-connected[/url]
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.[/quote]
Już wiesz czemu ci kazałem ten interfejs wyłączyć na samym początku? xD Przeczytaj jeszcze raz uważnie [url=https://forum.dug.net.pl/viewtopic.php?pid=307499#p307499]ten post[/url].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 [b]NetBSD[/b]
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
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00095 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='3.142.212.153' WHERE u.id=1 |
0.00073 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.142.212.153', 1732181188) |
0.00044 | SELECT * FROM punbb_online WHERE logged<1732180888 |
0.00072 | SELECT topic_id FROM punbb_posts WHERE id=307971 |
0.00237 | SELECT id FROM punbb_posts WHERE topic_id=29222 ORDER BY posted |
0.00090 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=29222 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00267 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=29222 ORDER BY p.id LIMIT 25,25 |
0.00125 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=29222 |
Total query time: 0.01022 s |