802.1x Support for wired connection

Requests for the next versions.
Post Reply
thiagopramos
Posts: 5
Joined: Thu Jan 04, 2024 9:53 pm

802.1x Support for wired connection

Post by thiagopramos »

Please provide one way use Wtware in environments with 802.1x in wired network
aka
SUPPORT
SUPPORT
Posts: 956
Joined: Fri Dec 03, 2004 2:05 pm
Contact:

Re: 802.1x Support for wired connection

Post by aka »

WTware does not support 802.1x now.
thiagopramos
Posts: 5
Joined: Thu Jan 04, 2024 9:53 pm

Re: 802.1x Support for wired connection

Post by thiagopramos »

Don´t have a plan to support in future???
akatik
SUPPORT
SUPPORT
Posts: 666
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: 802.1x Support for wired connection

Post by akatik »

We can make it if someone familiar with wired 802.1x in regular linux tells us what should we do.
thiagopramos
Posts: 5
Joined: Thu Jan 04, 2024 9:53 pm

Re: 802.1x Support for wired connection

Post by thiagopramos »

Yep, i´m familiar with linux, let´s go!
thiagopramos
Posts: 5
Joined: Thu Jan 04, 2024 9:53 pm

Re: 802.1x Support for wired connection

Post by thiagopramos »

Hi, can you provider the way to do?
akatik
SUPPORT
SUPPORT
Posts: 666
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: 802.1x Support for wired connection

Post by akatik »

Sorry, too busy now. I'll answer here after we upload next version.
akatik
SUPPORT
SUPPORT
Posts: 666
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: 802.1x Support for wired connection

Post by akatik »

Sorry for a delay.

As far as I understand, we should prepare wpa_supplicant.conf and run wpa_supplicant as we do for Wi-Fi, but on Ethernet interface. Before asking DHCP or apply static IP to interface. Right?

Should we generate default wpa_supplicant.conf or always require user-provided wpa_supplicant.conf ? If we should generate default, please write it to me.

For Wi-Fi we use such minimal default wpa_supplicant.conf if user doesn't provide another :

Code: Select all

ctrl_interface=/var/run/wpa_supplicant
network={
    ssid="MYSSID"
    psk="passphrase"
}
With wpa_supplicant.conf prepared, we should run:

Code: Select all

/sbin/wpa_supplicant -B -c /etc/wpa_supplicant.conf -i eth0
Right?
thiagopramos
Posts: 5
Joined: Thu Jan 04, 2024 9:53 pm

Re: 802.1x Support for wired connection

Post by thiagopramos »

Hello, we used dhcp with guest vlan.
We can work with default suplicant.

Code: Select all

ap_scan=0
network={
              key_mgmt=IEEE8021X
              eap=MD5
              identity="login"
              password="password"
              }
Now is the question, why i can run /sbin/wpa_supplicant -B -c /etc/wpa_supplicant.conf -i eth0, because a only have accces to shell before Wtware booting ???
Jakemoran
Posts: 1
Joined: Wed Apr 03, 2024 5:10 pm

Re: 802.1x Support for wired connection

Post by Jakemoran »

hi
I also have this problem like you
akatik
SUPPORT
SUPPORT
Posts: 666
Joined: Mon Jan 17, 2005 6:30 pm
Contact:

Re: 802.1x Support for wired connection

Post by akatik »

Sorry for delay...

Here I made some code for 802.1x:

http://wtware.com/testing/202411100232/ ... .45.en.zip

1. Install on local disk. Network boot is incompatible with 802.1x, right?

2. Press Del to enter black-gray setup.

3. Switch "Network media" to "Ethernet 802.1x". Read text on screen. Write your wpa_supplicant.conf to FAT-formatted USB flash, upload it to terminal. Reboot.

Example wpa_supplicant.conf (ctrl_interface=... line is needed):

Code: Select all

ctrl_interface=/var/run/wpa_supplicant
ap_scan=0
network={
  key_mgmt=IEEE8021X
  eap=MD5
  identity="login"
  password="password"
}
4. It will wait for a minute in "Please wait" screen. After message "Failed to log in to 802.1x..." press Esc to get command line.

5. From command line:

Code: Select all

less /tmp/all.log
Press PageDown or End key to see the latest log lines. Any idea why it does not work?
Post Reply