Blue network access

Questions to IPFire Addons.
cfusco
Posts: 63
Joined: March 23rd, 2015, 4:19 pm

Re: Blue network access

Post by cfusco » October 29th, 2018, 2:14 pm

MPaniez wrote:
October 29th, 2018, 2:10 pm
[...]
So my problem comes from here, somewhere between wifi interface and dhcp server.

Thanks
Try to remove the static IP request from the client and use instead the DHCP settings of the blue interface to always assign the same IP. Make sure the IP is in the correct space
Image

MPaniez
Posts: 11
Joined: October 24th, 2018, 8:44 am

Re: Blue network access

Post by MPaniez » October 29th, 2018, 3:04 pm

Re,

In this configuration, I have no connection.

In the IPFire console, if I make an "ifconfig", the blue interface has no IP address. I think this is my problem.
ifconfig command show IP address for all other interfaces (red and green) but not for blue interface :

Code: Select all

blue0     Link encap:Ethernet  HWaddr 80:56:F2:BB:XX:XX  
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:8531 errors:0 dropped:0 overruns:0 frame:0
          TX packets:8547 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1493845 (1.4 Mb)  TX bytes:1657393 (1.5 Mb)

green0    Link encap:Ethernet  HWaddr 00:E8:4C:68:XX:XX  
          inet addr:192.168.1.199  Bcast:192.168.1.255  Mask:255.255.255.0
green and blue interfaces have the same configuration, but not the same network (1 for the green and 10 for the blue). And, here, blue interface have no IP.


Thanks

cfusco
Posts: 63
Joined: March 23rd, 2015, 4:19 pm

Re: Blue network access

Post by cfusco » October 29th, 2018, 3:53 pm

Code: Select all

/etc/rc.d/init.d/networking/blue stop
/etc/rc.d/init.d/networking/blue start
What happens after the second command? This is what I get:

Code: Select all

[root@ipfire log]# /etc/rc.d/init.d/networking/blue stop
Removing IPv4 addresses from the blue0 interface...                                                                                                                                              [  OK  ]
[root@ipfire log]# /etc/rc.d/init.d/networking/blue start
Bringing up the blue0 interface...
Adding IPv4 address 10.1.3.1 to the blue0 interface...                                                                                                                                           [  OK  ]
[root@ipfire log]# 
This is my ifconfig for the blue0

Code: Select all

[root@ipfire log]# ifconfig blue0
blue0     Link encap:Ethernet  HWaddr 04:F0:21:27:1D:44  
          inet addr:10.1.3.1  Bcast:10.1.3.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:3816945 errors:0 dropped:0 overruns:0 frame:0
          TX packets:9460938 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:1167651997 (1113.5 Mb)  TX bytes:12720168879 (12130.8 Mb)

[root@ipfire log]# 
Image

MPaniez
Posts: 11
Joined: October 24th, 2018, 8:44 am

Re: Blue network access

Post by MPaniez » October 30th, 2018, 8:37 am

Hi,
cfusco wrote:
October 29th, 2018, 3:53 pm

Code: Select all

/etc/rc.d/init.d/networking/blue stop
/etc/rc.d/init.d/networking/blue start
First, thanks for this line, it has solved my first problem : to put an IP address to my blue interface. Before, I can see it in WUI, but nothing in console. Now, this point is good.

But, always no wifi connection.
My /logs/system logs/wireless :

Code: Select all

09:32:37	hostapd:	blue0: STA 68:ec:c5:43:xx:xx MLME: MLME-DELETEKEYS.request(68:ec:c5:43:xx:xx)
09:32:37	hostapd:	blue0: STA 68:ec:c5:43:xx:xx MLME: MLME-DEAUTHENTICATE.indication(68:ec:c5:43:xx:xx, 3)
09:32:37	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.11: deauthenticated
09:32:37	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.1X: unauthorizing port
09:32:37	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: event 3 notification
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: pairwise key handshake completed (RSN)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx RADIUS: starting accounting session 9D970D136C604F C3
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.1X: authorizing port
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: received EAPOL-Key frame (4/4 Pairwise)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: sending 3/4 msg of 4-Way Handshake
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: received EAPOL-Key frame (2/4 Pairwise)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: sending 1/4 msg of 4-Way Handshake
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.1X: unauthorizing port
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: start authentication
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: event 1 notification
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.11: binding station to interface 'blue0'
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx MLME: MLME-DELETEKEYS.request(68:ec:c5:43:xx:xx)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx MLME: MLME-ASSOCIATE.indication(68:ec:c5:43:xx:xx)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.11: associated (aid 1)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx WPA: event 7 notification
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.11: association OK (aid 1)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.11: authenticated
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx MLME: MLME-DELETEKEYS.request(68:ec:c5:43:xx:xx)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx MLME: MLME-AUTHENTICATE.indication(68:ec:c5:43:xx:xx, OPEN_SYSTEM)
09:31:52	hostapd:	blue0: STA 68:ec:c5:43:xx:xx IEEE 802.11: authentication OK (open system)
And no entry in dhcp part for blue interface.

Thanks

cfusco
Posts: 63
Joined: March 23rd, 2015, 4:19 pm

Re: Blue network access

Post by cfusco » October 30th, 2018, 10:24 am

MPaniez wrote:
October 30th, 2018, 8:37 am
[cut]
And no entry in dhcp part for blue interface.

Thanks
Try to set up the clients to request a DHCP lease and not a static IP, and set the DHCP server (in the WUI, Network/DHCP server) to give always the same IP (see image below).
Screen Shot 2018-10-30 at 11.23.09.png
Image

MPaniez
Posts: 11
Joined: October 24th, 2018, 8:44 am

Re: Blue network access

Post by MPaniez » October 30th, 2018, 2:56 pm

cfusco wrote:
October 30th, 2018, 10:24 am
Try to set up the clients to request a DHCP lease and not a static IP, and set the DHCP server (in the WUI, Network/DHCP server) to give always the same IP
Re,

With that, all works fine : I can connect and access to my networks.


Thanks

MPaniez
Posts: 11
Joined: October 24th, 2018, 8:44 am

Re: Blue network access

Post by MPaniez » October 31st, 2018, 11:18 am

Hi,
I made some test again with different computer and without MAC filter : all works fine now.

Many thanks for your patience and help.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest