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/.
Strony: 1
Mam problem z wifi pewnego dnia przestało działać i koniec, można przy jego pomocy dostać poruszać się w sieci lokalnej, natomiast nie mam wyjścia na świat.
lspci -vvnn | grep 14e4 02:00.0 Network controller [0280]: Broadcom Corporation BCM43228 802.11a/b/g/n [14e4:4359] Subsystem: Broadcom Corporation Device [14e4:05e2] root@debian:/home/mati# ifconfig eth0 Link encap:Ethernet HWaddr 58:20:b1:74:64:d3 UP BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:0 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 B) TX bytes:0 (0.0 B) Interrupt:20 Memory:d0700000-d0720000 eth0:avahi Link encap:Ethernet HWaddr 58:20:b1:74:64:d3 inet addr:169.254.9.142 Bcast:169.254.255.255 Mask:255.255.0.0 UP BROADCAST MULTICAST MTU:1500 Metric:1 Interrupt:20 Memory:d0700000-d0720000 lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:65536 Metric:1 RX packets:1689 errors:0 dropped:0 overruns:0 frame:0 TX packets:1689 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:124894 (121.9 KiB) TX bytes:124894 (121.9 KiB) wlan0 Link encap:Ethernet HWaddr ac:e0:10:fa:d4:49 inet addr:192.168.0.102 Bcast:192.168.0.255 Mask:255.255.255.0 inet6 addr: fe80::aee0:10ff:fefa:d449/64 Scope:Link UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:1131 errors:0 dropped:0 overruns:0 frame:1853 TX packets:235 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:129474 (126.4 KiB) TX bytes:32173 (31.4 KiB) Interrupt:18 lsmod |grep wl wl 6087369 0 cfg80211 350041 1 wl dmesg | grep wl [ 0.000000] DMI: Hewlett-Packard HP ProBook 650 G1/1993, BIOS L77 Ver. 01.32 03/25/2015 [ 10.542384] wl: module license 'MIXED/Proprietary' taints kernel. [ 10.582920] wl0: online cpus 1 [ 10.583839] wlan0: Broadcom BCM4359 802.11 Hybrid Wireless Controller 6.30.223.248 (r487574) [ 65.694324] wl0: link up (wlan0)
Brama domyślna jest przyznawana przez serwer dhcp. Jakieś pomysły co może być problemem?
Offline
to daj jeszcze podstawowe informacje, w tym przypadku
cat /etc/resolv.conf
netstat -rn
ping -c 4 8.8.8.8
Offline
a ja bym jeszcze kontrolnie poprosił o
ip r l
Offline
resolv.conf
#Generated by NetworkManager nameserver 192.168.0.1 nameserver 8.8.8.8
netstat -rn
Kernel IP routing table Destination Gateway Genmask Flags MSS Window irtt Iface 0.0.0.0 0.0.0.0 0.0.0.0 U 0 0 0 eth0 0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 wlan0 169.254.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0 192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 wlan0
ping -c 4 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data. From 169.254.9.142 icmp_seq=1 Destination Host Unreachable From 169.254.9.142 icmp_seq=2 Destination Host Unreachable From 169.254.9.142 icmp_seq=3 Destination Host Unreachable From 169.254.9.142 icmp_seq=4 Destination Host Unreachable --- 8.8.8.8 ping statistics --- 4 packets transmitted, 0 received, +4 errors, 100% packet loss, time 2998ms pipe 3
ip r l
default dev eth0 scope link metric 1002 default via 192.168.0.1 dev wlan0 proto static metric 1024 169.254.0.0/16 dev eth0 proto kernel scope link src 169.254.9.142 192.168.0.0/24 dev wlan0 proto kernel scope link src 192.168.0.103
Offline
2498
Ostatnio edytowany przez uzytkownikubunt (2016-12-01 01:29:56)
Offline
dhclient -v wlan0
Internet Systems Consortium DHCP Client 4.3.1 Copyright 2004-2014 Internet Systems Consortium. All rights reserved. For info, please visit https://www.isc.org/software/dhcp/ Listening on LPF/wlan0/ac:e0:10:fa:d4:49 Sending on LPF/wlan0/ac:e0:10:fa:d4:49 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPOFFER from 192.168.0.1 DHCPACK from 192.168.0.1 RTNETLINK answers: File exists bound to 192.168.0.103 -- renewal in 2721 seconds.
Offline
ustawiony jest routing przez eth0 (nie wiem czemu ale na to wskazuje adres źródłowy pinga).
spróbuj na rybkę
ip r d 0/0 dev eth0
(czy jakoś tak, poprawcie mnie w razie czego) i jeśli przejdzie sprawdź czy masz pinga w świat. jeśli będzie to się będziemy zastanawiać konkretniej.
Offline
Pomogło, jak pozbyć się tego routingu na stałe?
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00061 | 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.145.75.238' WHERE u.id=1 |
0.00107 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '3.145.75.238', 1732435562) |
0.00029 | SELECT * FROM punbb_online WHERE logged<1732435262 |
0.00036 | SELECT topic_id FROM punbb_posts WHERE id=294525 |
0.00021 | SELECT id FROM punbb_posts WHERE topic_id=28018 ORDER BY posted |
0.00029 | 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=28018 AND t.moved_to IS NULL |
0.00023 | SELECT search_for, replace_with FROM punbb_censoring |
0.00054 | 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=28018 ORDER BY p.id LIMIT 0,25 |
0.00108 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=28018 |
Total query time: 0.00481 s |