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/.
Witam.
Mam problem z instalacją karty wifi.
dpkg --print-architecture
amd64
ifconfig
eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 inet 192.168.1.105 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::faa9:63ff:fe3f:a038 prefixlen 64 scopeid 0x20<link> ether f8:a9:63:3f:a0:38 txqueuelen 1000 (Ethernet) RX packets 37150 bytes 33708107 (32.1 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 32163 bytes 3980083 (3.7 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 4493 bytes 411830 (402.1 KiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 4493 bytes 411830 (402.1 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lspci -k
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09) Subsystem: Lenovo 3rd Gen Core processor DRAM Controller Kernel driver in use: ivb_uncore 00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09) Kernel driver in use: pcieport Kernel modules: shpchp 00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) Subsystem: Lenovo 3rd Gen Core processor Graphics Controller Kernel driver in use: i915 Kernel modules: i915 00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) Subsystem: Lenovo 7 Series/C210 Series Chipset Family USB xHCI Host Controller Kernel driver in use: xhci_hcd Kernel modules: xhci_pci 00:16.0 Communication controller: Intel Corporation 7 Series/C216 Chipset Family MEI Controller #1 (rev 04) Subsystem: Lenovo 7 Series/C216 Chipset Family MEI Controller Kernel driver in use: mei_me Kernel modules: mei_me 00:1a.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #2 (rev 04) Subsystem: Lenovo 7 Series/C216 Chipset Family USB Enhanced Host Controller Kernel driver in use: ehci-pci Kernel modules: ehci_pci 00:1b.0 Audio device: Intel Corporation 7 Series/C216 Chipset Family High Definition Audio Controller (rev 04) Subsystem: Lenovo 7 Series/C216 Chipset Family High Definition Audio Controller Kernel driver in use: snd_hda_intel Kernel modules: snd_hda_intel 00:1c.0 PCI bridge: Intel Corporation 7 Series/C216 Chipset Family PCI Express Root Port 1 (rev c4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) Kernel driver in use: pcieport Kernel modules: shpchp 00:1d.0 USB controller: Intel Corporation 7 Series/C216 Chipset Family USB Enhanced Host Controller #1 (rev 04) Subsystem: Lenovo 7 Series/C216 Chipset Family USB Enhanced Host Controller Kernel driver in use: ehci-pci Kernel modules: ehci_pci 00:1f.0 ISA bridge: Intel Corporation HM76 Express Chipset LPC Controller (rev 04) Subsystem: Lenovo HM76 Express Chipset LPC Controller Kernel driver in use: lpc_ich Kernel modules: lpc_ich 00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04) Subsystem: Lenovo 7 Series Chipset Family 6-port SATA Controller [AHCI mode] Kernel driver in use: ahci Kernel modules: ahci 00:1f.3 SMBus: Intel Corporation 7 Series/C216 Chipset Family SMBus Controller (rev 04) Subsystem: Lenovo 7 Series/C216 Chipset Family SMBus Controller Kernel driver in use: i801_smbus Kernel modules: i2c_i801 01:00.0 Display controller: Advanced Micro Devices, Inc. [AMD/ATI] Mars [Radeon HD 8670A/8670M/8750M] Subsystem: Lenovo Mars [Radeon HD 8670A/8670M/8750M] Kernel modules: radeon 02:00.0 Ethernet controller: Qualcomm Atheros QCA8172 Fast Ethernet (rev 10) Subsystem: Lenovo QCA8172 Fast Ethernet Kernel driver in use: alx Kernel modules: alx 03:00.0 Network controller: Broadcom Limited BCM43142 802.11b/g/n (rev 01) Subsystem: Lenovo BCM43142 802.11b/g/n
iwconfig
eth0 no wireless extensions. lo no wireless extensions.
ifup wlan0
ifup: unknown interface wlan0
Tutaj jest błąd:
apt-get install linux-image-$(uname -r|sed 's,[^-]*-[^-]*-,,') linux-headers-$(uname -r|sed 's,[^-]*-[^-]*-,,') broadcom-sta-dkms
Czytanie list pakietów... Gotowe Budowanie drzewa zależności Odczyt informacji o stanie... Gotowe linux-headers-amd64 is already the newest version (4.9+80+deb9u1). linux-image-amd64 is already the newest version (4.9+80+deb9u1). Następujący pakiet został zainstalowany automatycznie i nie jest już więcej wymagany: module-assistant Aby go usunąć należy użyć "apt autoremove". Zostaną zainstalowane następujące NOWE pakiety: broadcom-sta-dkms 0 aktualizowanych, 1 nowo instalowanych, 0 usuwanych i 0 nieaktualizowanych. Konieczne pobranie 0 B/2170 kB archiwów. Po tej operacji zostanie dodatkowo użyte 14,4 MB miejsca na dysku. Kontynuować? [T/n] T Wybieranie wcześniej niewybranego pakietu broadcom-sta-dkms. (Odczytywanie bazy danych ... 171657 plików i katalogów obecnie zainstalowanych.) Przygotowywanie do rozpakowania pakietu .../broadcom-sta-dkms_6.30.223.248-3_all.deb ... Rozpakowywanie pakietu broadcom-sta-dkms (6.30.223.248-3) ... Konfigurowanie pakietu broadcom-sta-dkms (6.30.223.248-3) ... Loading new broadcom-sta-6.30.223.248 DKMS files... Building for 4.9.0-3-amd64 Building initial module for 4.9.0-3-amd64 Error! Bad return status for module build on kernel: 4.9.0-3-amd64 (x86_64) Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for more information..
modprobe wl
modprobe: ERROR: ../libkmod/libkmod-module.c:832 kmod_module_insert_module() could not find module by name='wl' modprobe: ERROR: could not insert 'wl': Unknown symbol in module, or unknown parameter (see dmesg) modprobe: ERROR: ../libkmod/libkmod-module.c:977 command_do() Error running install command for wl modprobe: ERROR: could not insert 'wl': Operation not permitted
Proszę o pomoc.
Offline
Consult /var/lib/dkms/broadcom-sta/6.30.223.248/build/make.log for more information..
Offline
DKMS make.log for broadcom-sta-6.30.223.248 for kernel 4.9.0-3-amd64 (x86_64) nie, 20 sie 2017, 22:33:05 CEST /bin/sh: 1: [: Illegal number: /bin/sh: 1: [: Illegal number: Wireless Extension is the only possible API for this kernel version Using Wireless Extension API KBUILD_NOPEDANTIC=1 make -C /lib/modules/4.9.0-3-amd64/build M=`pwd` make[1]: uwaga: serwer zadań niedostępny: użycie -j1. Należy dodać `+' do nadrzędnej reguły make. make[1]: Wejście do katalogu '/usr/src/linux-headers-4.9.0-3-amd64' CFG80211 API is prefered for this kernel version Using CFG80211 API Kernel architecture is X86_64 LD /var/lib/dkms/broadcom-sta/6.30.223.248/build/built-in.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/shared/linux_osl.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_linux.o /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_linux.c: In function ‘wl_pci_probe’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_linux.c:772:2: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if ((val & 0x0000ff00) != 0) ^~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_linux.c:774:3: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ bar1_size = pci_resource_len(pdev, 2); ^~~~~~~~~ CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_iw.o CC [M] /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:232:12: error: ‘IEEE80211_BAND_2GHZ’ undeclared here (not in a function) .band = IEEE80211_BAND_2GHZ, \ ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:278:2: note: in expansion of macro ‘CHAN2G’ CHAN2G(1, 2412, 0), ^~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:241:12: error: ‘IEEE80211_BAND_5GHZ’ undeclared here (not in a function) .band = IEEE80211_BAND_5GHZ, \ ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:295:2: note: in expansion of macro ‘CHAN5G’ CHAN5G(34, 0), CHAN5G(36, 0), ^~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:241:12: note: (near initialization for ‘__wl_5ghz_n_channels[109].band’) .band = IEEE80211_BAND_5GHZ, \ ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:371:18: note: in expansion of macro ‘CHAN5G’ CHAN5G(226, 0), CHAN5G(228, 0), ^~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:375:10: error: initializer element is not constant .band = IEEE80211_BAND_2GHZ, ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:375:10: note: (near initialization for ‘__wl_band_2ghz.band’) /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:383:10: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:383:10: note: (near initialization for ‘__wl_band_5ghz_a.band’) /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:391:10: error: initializer element is not constant .band = IEEE80211_BAND_5GHZ, ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:391:10: note: (near initialization for ‘__wl_band_5ghz_n.band’) /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_key’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1390:9: warning: passing argument 1 of ‘memcpy’ discards ‘const’ qualifier from pointer target type [-Wdiscarded-qualifiers] memcpy(params.key, key.data, params.key_len); ^~~~~~ In file included from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/string.h:4:0, from /usr/src/linux-headers-4.9.0-3-common/include/linux/string.h:18, from /usr/src/linux-headers-4.9.0-3-common/include/linux/bitmap.h:8, from /usr/src/linux-headers-4.9.0-3-common/include/linux/cpumask.h:11, from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/cpumask.h:4, from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/msr.h:10, from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/processor.h:20, from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/cpufeature.h:4, from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/thread_info.h:52, from /usr/src/linux-headers-4.9.0-3-common/include/linux/thread_info.h:58, from /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/preempt.h:6, from /usr/src/linux-headers-4.9.0-3-common/include/linux/preempt.h:59, from /usr/src/linux-headers-4.9.0-3-common/include/linux/spinlock.h:50, from /usr/src/linux-headers-4.9.0-3-common/include/linux/seqlock.h:35, from /usr/src/linux-headers-4.9.0-3-common/include/linux/time.h:5, from /usr/src/linux-headers-4.9.0-3-common/include/linux/stat.h:18, from /usr/src/linux-headers-4.9.0-3-common/include/linux/module.h:10, from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/include/linuxver.h:40, from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:26: /usr/src/linux-headers-4.9.0-3-common/arch/x86/include/asm/string_64.h:31:14: note: expected ‘void *’ but argument is of type ‘const u8 * {aka const unsigned char *}’ extern void *memcpy(void *to, const void *from, size_t len); ^~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_get_station’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:20: error: ‘STATION_INFO_TX_BITRATE’ undeclared (first use in this function) sinfo->filled |= STATION_INFO_TX_BITRATE; ^~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:20: note: each undeclared identifier is reported only once for each function it appears in /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:17: error: invalid operands to binary | (have ‘u64 {aka long long unsigned int}’ and ‘struct ieee80211_channel *’) sinfo->filled |= STATION_INFO_TX_BITRATE; ^~ ~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1444:3: warning: statement with no effect [-Wunused-value] sinfo->filled |= STATION_INFO_TX_BITRATE; ^~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1457:20: error: ‘STATION_INFO_SIGNAL’ undeclared (first use in this function) sinfo->filled |= STATION_INFO_SIGNAL; ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1457:17: error: invalid operands to binary | (have ‘u64 {aka long long unsigned int}’ and ‘struct ieee80211_channel *’) sinfo->filled |= STATION_INFO_SIGNAL; ^~ ~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1457:3: warning: statement with no effect [-Wunused-value] sinfo->filled |= STATION_INFO_SIGNAL; ^~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: At top level: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1778:17: error: initialization from incompatible pointer type [-Werror=incompatible-pointer-types] .get_station = wl_cfg80211_get_station, ^~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1778:17: note: (near initialization for ‘wl_cfg80211_ops.get_station’) /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_alloc_wdev’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1858:20: error: array subscript is not an integer wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &__wl_band_2ghz; ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1858:2: warning: statement with no effect [-Wunused-value] wdev->wiphy->bands[IEEE80211_BAND_2GHZ] = &__wl_band_2ghz; ^~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1859:20: error: array subscript is not an integer wdev->wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_a; ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1859:2: warning: statement with no effect [-Wunused-value] wdev->wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_a; ^~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_inform_single_bss’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1981:3: error: incompatible type for argument 2 of ‘ieee80211_channel_to_frequency’ (notif_bss_info->channel <= CH_MAX_2G_CHANNEL) ? ^ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:3869:5: note: expected ‘enum nl80211_band’ but argument is of type ‘struct ieee80211_channel *’ int ieee80211_channel_to_frequency(int chan, enum nl80211_band band); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:1980:7: warning: assignment makes integer from pointer without a cast [-Wint-conversion] freq = ieee80211_channel_to_frequency(notif_bss_info->channel, ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2013:45: error: incompatible type for argument 3 of ‘cfg80211_inform_bss’ cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet), ^ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:4450:1: note: expected ‘enum cfg80211_bss_frame_type’ but argument is of type ‘const u8 * {aka const unsigned char *}’ cfg80211_inform_bss(struct wiphy *wiphy, ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2015:3: warning: passing argument 7 of ‘cfg80211_inform_bss’ makes integer from pointer without a cast [-Wint-conversion] (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL); ^ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:4450:1: note: expected ‘u16 {aka short unsigned int}’ but argument is of type ‘const u8 * {aka const unsigned char *}’ cfg80211_inform_bss(struct wiphy *wiphy, ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2015:26: warning: passing argument 8 of ‘cfg80211_inform_bss’ makes pointer from integer without a cast [-Wint-conversion] (const u8 *)notify_ie, notify_ielen, signal, GFP_KERNEL); ^~~~~~~~~~~~ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:4450:1: note: expected ‘const u8 * {aka const unsigned char *}’ but argument is of type ‘size_t {aka long unsigned int}’ cfg80211_inform_bss(struct wiphy *wiphy, ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2013:9: error: too few arguments to function ‘cfg80211_inform_bss’ cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet), ^~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:4450:1: note: declared here cfg80211_inform_bss(struct wiphy *wiphy, ^~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2013:7: error: assignment from incompatible pointer type [-Werror=incompatible-pointer-types] cbss = cfg80211_inform_bss(wiphy, channel, (const u8 *)(bi->BSSID.octet), ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_notify_connect_status’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2050:4: error: too few arguments to function ‘cfg80211_disconnected’ cfg80211_disconnected(ndev, 0, NULL, 0, GFP_KERNEL); ^~~~~~~~~~~~~~~~~~~~~ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:5074:6: note: declared here void cfg80211_disconnected(struct net_device *dev, u16 reason, ^~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2050:4: warning: statement with no effect [-Wunused-value] cfg80211_disconnected(ndev, 0, NULL, 0, GFP_KERNEL); ^~~~~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_ch_to_chanspec’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2206:18: warning: comparison between pointer and integer if (chan->band == IEEE80211_BAND_2GHZ) { ^~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2209:23: warning: comparison between pointer and integer else if (chan->band == IEEE80211_BAND_5GHZ) { ^~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_bss_connect_done’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2343:40: warning: passing argument 2 of ‘cfg80211_scan_done’ makes pointer from integer without a cast [-Wint-conversion] cfg80211_scan_done(wl->scan_request, true); ^~~~ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:4304:6: note: expected ‘struct cfg80211_scan_info *’ but argument is of type ‘int’ void cfg80211_scan_done(struct cfg80211_scan_request *request, ^~~~~~~~~~~~~~~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_update_wiphybands’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2843:15: error: array subscript is not an integer wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_n; ^ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2843:3: warning: statement with no effect [-Wunused-value] wiphy->bands[IEEE80211_BAND_5GHZ] = &__wl_band_5ghz_n; ^~~~~ /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c: In function ‘wl_cfg80211_down’: /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:2871:40: warning: passing argument 2 of ‘cfg80211_scan_done’ makes pointer from integer without a cast [-Wint-conversion] cfg80211_scan_done(wl->scan_request, true); ^~~~ In file included from /var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.c:33:0: /usr/src/linux-headers-4.9.0-3-common/include/net/cfg80211.h:4304:6: note: expected ‘struct cfg80211_scan_info *’ but argument is of type ‘int’ void cfg80211_scan_done(struct cfg80211_scan_request *request, ^~~~~~~~~~~~~~~~~~ cc1: some warnings being treated as errors /usr/src/linux-headers-4.9.0-3-common/scripts/Makefile.build:298: polecenia dla obiektu '/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o' nie powiodły się make[4]: *** [/var/lib/dkms/broadcom-sta/6.30.223.248/build/src/wl/sys/wl_cfg80211_hybrid.o] Błąd 1 /usr/src/linux-headers-4.9.0-3-common/Makefile:1507: polecenia dla obiektu '_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build' nie powiodły się make[3]: *** [_module_/var/lib/dkms/broadcom-sta/6.30.223.248/build] Błąd 2 Makefile:150: polecenia dla obiektu 'sub-make' nie powiodły się make[2]: *** [sub-make] Błąd 2 Makefile:8: polecenia dla obiektu 'all' nie powiodły się make[1]: *** [all] Błąd 2 make[1]: Opuszczenie katalogu '/usr/src/linux-headers-4.9.0-3-amd64' Makefile:158: polecenia dla obiektu 'all' nie powiodły się make: *** [all] Błąd 2
Offline
Pokaż swoje repozytoria.
Offline
# # deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722-11:28]/ stretch main #deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722-11:28]/ stretch main deb http://ftp.us.debian.org/debian/ stretch main deb-src http://ftp.us.debian.org/debian/ stretch main deb http://security.debian.org/debian-security stretch/updates main deb-src http://security.debian.org/debian-security stretch/updates main # stretch-updates, previously known as 'volatile' deb http://ftp.us.debian.org/debian/ stretch-updates main deb-src http://ftp.us.debian.org/debian/ stretch-updates main #moje repozytoria # Debian 8 "Jessie" deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Offline
Zachaszuj ostatni wpis dla jessie, do głównego repo stretch dopisz sekcje non-free i contrib, zrób update paczek i ponownie wykonaj instalację.
Ostatnio edytowany przez arecki (2017-08-20 22:58:25)
Offline
Poprawnie?
# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722$ #deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722-$ deb http://ftp.us.debian.org/debian/ stretch main deb-src http://ftp.us.debian.org/debian/ stretch main deb http://ftp.pl.debian.org/debian/ stretch contrib deb-src http://ftp.pl.debian.org/debian/ stretch contrib deb http://ftp.pl.debian.org/debian/ stretch non-free deb-src http://ftp.pl.debian.org/debian/ stretch non-free deb http://security.debian.org/debian-security stretch/updates main deb-src http://security.debian.org/debian-security stretch/updates main # stretch-updates, previously known as 'volatile' deb http://ftp.us.debian.org/debian/ stretch-updates main #moje repozytoria # Debian 8 "Jessie" #deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Offline
Karta dodana. Niestety po połączeniu z AP nie przechodzą w sieci pakiety ICMP.
Ostatnio edytowany przez basert (2017-08-20 23:15:12)
Offline
Może lepiej tak:
# deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722$ #deb cdrom:[Debian GNU/Linux 9.1.0 _Stretch_ - Official amd64 NETINST 20170722-$ #deb http://ftp.us.debian.org/debian/ stretch main #deb-src http://ftp.us.debian.org/debian/ stretch main deb http://ftp.pl.debian.org/debian/ stretch main contrib non-free #deb-src http://ftp.pl.debian.org/debian/ stretch contrib deb http://security.debian.org/debian-security stretch/updates main contrib non-free #deb-src http://security.debian.org/debian-security stretch/updates main # stretch-updates, previously known as 'volatile' deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free #moje repozytoria # Debian 8 "Jessie" #deb http://httpredir.debian.org/debian/ jessie main contrib non-free
Offline
Jak pakiety ICMP nie przechodzą to trzeba sprawdzić firewalle i ewentualnie zmienną /proc/sys/net/ipv4/icmp_echo_ignore_all
Ostatnio edytowany przez arecki (2017-08-20 23:18:45)
Offline
Źle się wyraziłem. Po połaszeniu WLAN nie przechodzą żadne pakiety.
Offline
Jak to stwierdzasz?
Offline
Nie przechodzi ICMP, nie działają strony internetowe, nie działa thunderbird.
root@mars:/home/baser# ifconfig eth0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 ether f8:a9:63:3f:a0:38 txqueuelen 1000 (Ethernet) RX packets 86132 bytes 78696630 (75.0 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 73234 bytes 9047312 (8.6 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 16 lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10<host> loop txqueuelen 1 (Local Loopback) RX packets 12397 bytes 1085584 (1.0 MiB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 12397 bytes 1085584 (1.0 MiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlan0: flags=-28605<UP,BROADCAST,RUNNING,MULTICAST,DYNAMIC> mtu 1500 inet 192.168.1.100 netmask 255.255.255.0 broadcast 192.168.1.255 inet6 fe80::28e7:9aeb:1cf3:96e7 prefixlen 64 scopeid 0x20<link> ether f8:2f:a8:ed:6d:c9 txqueuelen 1000 (Ethernet) RX packets 1090 bytes 343740 (335.6 KiB) RX errors 0 dropped 0 overruns 0 frame 934 TX packets 1387 bytes 233288 (227.8 KiB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 device interrupt 17
Ostatnio edytowany przez basert (2017-08-20 23:23:46)
Offline
A ping do routera działa?
Offline
Mam 2 routery: xDSL i LTE, ping do obu działa, lecz w WAN już nie. Przy połączeniu kablem lub z innego PC po WLAN jest ok.
Ostatnio edytowany przez basert (2017-08-20 23:26:34)
Offline
A ping na 8.8.8.8?
Offline
Do DNS googla ping przechodzi poprawnie. Gdzie mogę dopatrywać się problemu?
Offline
W rozwiązywaniu adresów dns:
cat /etc/resolv.conf
Offline
# Generated by Connection Manager nameserver 127.0.0.1 nameserver ::1 root@mars:/home/baser#
Offline
Skonfiguruj sobie w tym Connection Manager (cokolwiek to jest) prawidłowe serwery DNS.
Na sam koniec, ze względu na tem misz-masz repozytoriów, warto wykonać:
apt-get update && apt-get dist-upgrade
Ostatnio edytowany przez arecki (2017-08-20 23:37:07)
Offline
Wszystko działa. Dziękuje za pomoc.
Offline
Time (s) | Query |
---|---|
0.00009 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00099 | 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='18.221.238.204' WHERE u.id=1 |
0.00077 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.221.238.204', 1732484245) |
0.00046 | SELECT * FROM punbb_online WHERE logged<1732483945 |
0.00044 | SELECT topic_id FROM punbb_posts WHERE id=313521 |
0.00005 | SELECT id FROM punbb_posts WHERE topic_id=29823 ORDER BY posted |
0.00056 | 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=29823 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00114 | 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=29823 ORDER BY p.id LIMIT 0,25 |
0.00095 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=29823 |
Total query time: 0.00554 s |