Page 1 of 1

My wlan1 has 2 ip-addresses

Posted: Mon Oct 19, 2015 6:02 pm
by Idreman
Hi there, I want to use my r-pi as a router and access point. I have two edimax dongles configured. I have a working eth0 connection and a working wlan0 connection (to connect to the internet). However, something is wrong with my wlan1 (the access point). I noticed the following:

If I type in "ip addr show wlan1" I get two different ip-addresses: 192.xxx.xx.xx and 169.xxx.xx.xxx

I configured a static ip-address in /etc/networks/interfaces which is the 192.xxx.xx.x address, but when I look in the GUI and hold my mouse over the wifi icon it says "configured as 169.xxx.xx.xxx". Also if I want to connect to my R-pi via SSH I need the 169.xxx.xx.xxx address.

How can I get rid of the 169.xxx.xx.xxx ip-address? I don't know where it comes from. Any suggestions?

Re: My wlan1 has 2 ip-addresses

Posted: Tue Oct 20, 2015 5:12 am
by paulv
You could have searched the forums yourself by using "2 ip addresses" as the search term to quickly find the following thread. It may have an answer about the why, and most likely also a solution for you:

viewtopic.php?f=63&t=110606&p=830565&hi ... es#p830565

If not, you need to supply details about the OS version, list your ifconfig and iwconfig command outputs and al your network settings to enable others to help you diagnose your problem.

Re: My wlan1 has 2 ip-addresses

Posted: Fri Oct 23, 2015 2:18 pm
by Idreman
[attachment=1]iwconfig.jpg[/attachment][attachment=1]iwconfig.jpg[/attachment][attachment=2]ifconfig.jpg[/attachment]Ok, Paulv, thank you very much. I looked at the forum you suggested, but I have a different problem.
Today when I type in ifconfig the wlan1 only gives 1 ip address, and not two (as it did a week ago).

HOWEVER, when I hold my mouse over the wifi signal in the GUI-mode it still says
"Configured 169.254.21.153" where it should say "Configured 192.168.42.0"

I'm running Jessie Raspbian.