Difference between pages "Package:WPA Supplicant" and "Package:Ethtool"

(Difference between pages)
m (Drobbins moved page Package:Wpa supplicant to Package:WPA Supplicant without leaving a redirect)
 
m
 
Line 1: Line 1:
 
{{Ebuild
 
{{Ebuild
|Summary=wpa_supplicant is a cross-platform supplicant with support for open, WEP, WPA and WPA2. It handles scanning, connection and automatic reconnect to access points. wpa_supplicant has <code>wpa_cli</code> and <code>wpa_gui</code> frontends and <code>wpa_supplicant</code> daemon.
+
|Summary=Utility for examining and tuning ethernet-based network interfaces
|CatPkg=net-wireless/wpa_supplicant
+
|CatPkg=sys-apps/ethtool
|Maintainer=
+
|Homepage=http://www.kernel.org/pub/software/network/ethtool/
|Homepage=http://hostap.epitest.fi/wpa_supplicant/
+
 
}}
 
}}
 +
'''ethtool''' is used to query, or control network drivers, and network hardware settings.  This is a sufficient replacement for net-tool's mii-tool
  
== Configuration ==
+
<console>##g##funtoo@funtoo ~ $ ##b##ethtool eth0
You can configure <code>wpa_supplicant</code> daemon by editing <code>/etc/wpa_supplicant/wpa_supplicant.conf</code>.
+
Settings for eth0:
{{file|name=/etc/wpa_supplicant/wpa_supplicant.conf|lang=|desc=wpa_supplicant daemon config|body=
+
Supported ports: [ MII ]
# provide control interface for wpa_cli and wpa_gui frontends
+
Supported link modes:  10baseT/Half 10baseT/Full
ctrl_interface=/run/wpa_supplicant
+
                        100baseT/Half 100baseT/Full
 +
                        1000baseT/Full
 +
Supported pause frame use: No
 +
Supports auto-negotiation: Yes
 +
Advertised link modes:  10baseT/Half 10baseT/Full
 +
                        100baseT/Half 100baseT/Full
 +
                        1000baseT/Full
 +
Advertised pause frame use: No
 +
Advertised auto-negotiation: Yes
 +
Speed: Unknown!
 +
Duplex: Unknown! (255)
 +
Port: MII
 +
PHYAD: 3
 +
Transceiver: external
 +
Auto-negotiation: on
 +
Cannot get wake-on-lan settings: Operation not permitted
 +
Link detected: no</console>
  
# allow wpa_cli and wpa_gui to update config
+
== External Resources ==
update_config=1
+
https://en.wikipedia.org/wiki/Ethtool
 
+
network={
+
ssid="SSID"
+
psk="passphrace"
+
}
+
 
+
network={
+
ssid="SSID2"
+
key_mgmt=NONE
+
}
+
}}
+
 
+
== Daemon ==
+
Start daemon with [[openrc]].
+
<console>
+
###i## /etc/init.d/wpa_supplicant start
+
</console>
+
You can also add it to default runlevel.
+
<console>
+
###i## rc-update add wpa_supplicant default
+
</console>
+
 
+
The daemon can work independently or you can use wpa_cli and wpa_gui frontends. You can also alter configs with frontends.
+
 
+
== Wpa_cli CLI Frontend ==
+
You can start cli frontend by running <code>wpa_cli</code>.
+
<console>
+
###i## wpa_cli
+
</console>
+
 
+
=== Scan Access Points ===
+
<console>
+
>##i## scan
+
OK
+
<3>CTRL-EVENT-SCAN-STARTED
+
<3>CTRL-EVENT-SCAN-RESULTS
+
>##i## scan_results
+
bssid / frequency / signal level / flags / ssid
+
50:32:75:ee:b6:fb      2462    -41    [WPA2-PSK-CCMP][ESS]    AndroidAP
+
00:3a:98:99:12:f3      2412    -71    [WPA2-EAP-CCMP][ESS]    wEKSOTE
+
00:3a:98:99:12:f0      2412    -71    [WPA2-EAP-CCMP][ESS]    wULAPPA
+
00:23:33:a2:7d:14      2462    -85    [WPA2-EAP-CCMP][ESS]    SaitaBYOD
+
00:3a:98:99:12:f1      2412    -70    [ESS]  saitaOpen
+
</console>
+
 
+
=== Connect to Access Point ===
+
<console>
+
>##i## add_network
+
0
+
>##i## set_network 0 ssid "SSID"
+
>##i## set_network 0 psk "passphrase"
+
>##i## enable_network 0
+
<2>CTRL-EVENT-CONNECTED - Connection to 00:00:00:00:00:00 completed (reauth) [id=0 id_str=]
+
</console>
+
 
+
=== Save config ===
+
<console>
+
>##i## save_config
+
OK
+
</console>
+
 
+
== Wpa_gui GUI Frontend ==
+
<code>wpa_gui</code> is simple gui frontend. You can start it by running <code>wpa_gui</code>.
+
<console>
+
###i## wpa_gui
+
</console>
+
 
+
== Autoconfigure IP with dhcpcd ==
+
You can use [[Package:dhcpcd]] to autoconfigure ip address.
+
<console>
+
###i## emerge -av dhcpcd
+
###i## /etc/init.d/dhcpcd start
+
</console>
+
  
 
{{EbuildFooter}}
 
{{EbuildFooter}}

Latest revision as of 00:42, January 2, 2015

sys-apps/ethtool


Source Repository:Gentoo Portage Tree
Homepage

Summary: Utility for examining and tuning ethernet-based network interfaces


News

Drobbins

New Media Mix-ins

Funtoo Linux now has new media mix-ins. Learn about them and how to use them.
11 January 2015 by Drobbins
Drobbins

The Many Builds of Funtoo Linux

We now have lots of different builds of Funtoo Linux for various CPUs, as well as Hardened, Stable and ARM, and a new UI to browse them. Learn more here.
25 December 2014 by Drobbins
Oleg

Python Updater Deprecation

Python-updater is no longer part of Funtoo Linux.
6 December 2014 by Oleg
View More News...

Ethtool

Tip

This is a wiki page. To edit it, Create a Funtoo account. Then log in and then click here to edit this page. See our editing guidelines to becoming a wiki-editing pro.

ethtool is used to query, or control network drivers, and network hardware settings. This is a sufficient replacement for net-tool's mii-tool

funtoo@funtoo ~ $ ethtool eth0
Settings for eth0:
	Supported ports: [ MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Advertised pause frame use: No
	Advertised auto-negotiation: Yes
	Speed: Unknown!
	Duplex: Unknown! (255)
	Port: MII
	PHYAD: 3
	Transceiver: external
	Auto-negotiation: on
Cannot get wake-on-lan settings: Operation not permitted
	Link detected: no

External Resources

https://en.wikipedia.org/wiki/Ethtool