Hello,
on my Wandboard DL I have running a Yocto Image I think it is the linaro Ubuntu roootfs.
My Problem is I want to use a static IP but when I do that WLan take the static IP and a DHCP IP.
wandboard | 192.168.2.26 | 40:2C:F4:AE:1F:46 | WLAN 13 Mbit/s | |||
wandboard | 192.168.2.11 | 40:2C:F4:AE:1F:46 | WLAN 13 Mbit/s |
someone could help on this?
regards Joerg
I didn't get what you wish to do. Can you please elaborate?
For manual setting the WIFI you need wpa-supplication; for Yocto you'd most probably use connman and for Ubuntu you'd use NetworkManager. It has many possible ways of doing this so without a better understanding of your goal it is difficult to advice correctly.
I used the NetworkManager.
I conect the Board thru WLan to my WLan Router with static ip (192.168.2.11) but it is also conected by a second ip with same mac adress what i don´t want.
Can you paste the output of:
/sbin/ifconfig
/sbin/iwconfig
?
oot@wandboard:~# /sbin/ifconfig
eth2 Link encap:Ethernet HWaddr 00:1f:7b:b2:05:f2
UP BROADCAST RUNNING 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)
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 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:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
wlan1 Link encap:Ethernet HWaddr 40:2c:f4:ae:1f:46
inet addr:192.168.2.11 Bcast:192.168.2.255 Mask:255.255.255.0
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:257 errors:0 dropped:51 overruns:0 frame:0
TX packets:100 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:22238 (22.2 KB) TX bytes:11560 (11.5 KB)
root@wandboard:~# /sbin/iwconfig
lo no wireless extensions.
eth2 no wireless extensions.
wlan1 IEEE 802.11abg ESSID:"FRITZ!Box Fon WLAN 7270"
Mode:Managed Frequency:2.412 GHz Access Point: BC:05:43:0F:65:33
Tx-Power=1496 dBm
Retry long limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
Link Quality=42/70 Signal level=-68 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
Those seem right; so it seems you're calling the setup but not disabling Network Manager.
what could I do? How to disabel Network Manager?