Polecenie ifup wlan0 start zwraca:
Kod: Zaznacz cały
root@raspberrypi:~# ifup wlan0 start
Ignoring unknown interface wlan0=wlan0.
Ignoring unknown interface start=start.
Kod: Zaznacz cały
root@raspberrypi:~# ifup wlan0 start
Ignoring unknown interface wlan0=wlan0.
Ignoring unknown interface start=start.
Kod: Zaznacz cały
# interfaces(5) file used by ifup(8) and ifdown(8)
# Please note that this file is written to be used with dhcpcd
# For static IP, consult /etc/dhcpcd.conf and 'man dhcpcd.conf'
# Include files from /etc/network/interfaces.d:
source-directory /etc/network/interfaces.d
auto lo
iface lo inet loopback
#iface eth0 inet manual
auto wlan0
iface wlan0 inet dhcp
wpa-ssid mojasieć
wpa-psk mojehasło
# wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
Kod: Zaznacz cały
root@raspberrypi:~# ifconfig eth0 down
root@raspberrypi:~# ifconfig
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:627 errors:0 dropped:0 overruns:0 frame:0
TX packets:627 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:51218 (50.0 KiB) TX bytes:51218 (50.0 KiB)
wlan0 Link encap:Ethernet HWaddr 60:e3:27:0e:78:74
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)
root@raspberrypi:~# ifdown woaln0
ifdown: interface woaln0 not configured
root@raspberrypi:~# ifdown 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/60:e3:27:0e:78:74
Sending on LPF/wlan0/60:e3:27:0e:78:74
Sending on Socket/fallback
DHCPRELEASE on wlan0 to 192.168.0.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
dhclient.c:2331: Failed to send 300 byte long packet over fallback interface.
root@raspberrypi:~# ifup wlan0 start
ioctl[SIOCSIWAP]: Operation not permitted
ioctl[SIOCSIWENCODEEXT]: Invalid argument
ioctl[SIOCSIWENCODEEXT]: Invalid argument
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/60:e3:27:0e:78:74
Sending on LPF/wlan0/60:e3:27:0e:78:74
Sending on Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Ignoring unknown interface start=start.