I did add my ip to /etc/network/interfaces:
Code: Select all
auto lo
iface lo inet loopback
iface eth0 inet static
address 192.168.2.185
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
allow-hotplug wlan0
iface wlan0 inet static
address 192.168.2.200
netmask 255.255.255.0
network 192.168.2.0
broadcast 192.168.2.255
gateway 192.168.2.1
wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
Code: Select all
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
ap_scan=1
update_config=1
network={
ssid="MySSID"
psk="MYPassWd"
}
Code: Select all
eth0 Link encap:Ethernet HWaddr b8:27:eb:aa:d4:28
inet addr:192.168.2.185 Bcast:192.168.2.255 Mask:255.255.255.0
inet6 addr: fe80::640e:df5b:42a7:e7a7/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:34281 errors:0 dropped:139 overruns:0 frame:0
TX packets:61838 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1883577 (1.7 MiB) TX bytes:91484768 (87.2 MiB)
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:1553 errors:0 dropped:0 overruns:0 frame:0
TX packets:1553 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1
RX bytes:5447280 (5.1 MiB) TX bytes:5447280 (5.1 MiB)
sudo iwlist wlan0 scan gives:
Code: Select all
wlan0 Interface doesn't support scanning.
How activate the build in wIfi?