https://wiki.archlinux.org/api.php?action=feedcontributions&user=Mweinelt&feedformat=atomArchWiki - User contributions [en]2024-03-29T15:01:40ZUser contributionsMediaWiki 1.41.0https://wiki.archlinux.org/index.php?title=Lenovo_ThinkPad_X201&diff=251987Lenovo ThinkPad X2012013-03-26T15:49:55Z<p>Mweinelt: i915: Intel Ironlake Mobile Issues with Mesa 9.0</p>
<hr />
<div>[[Category:Lenovo]]<br />
The X201 is a 4-core subnotebook produced by Lenovo. See [http://www.thinkwiki.org/wiki/Category:X201 Thinkwiki] for more information.<br />
<br />
Arch installs and runs flawlessly. Some specials features need tweaks, though.<br />
<br />
== Graphics ==<br />
<br />
Xorg should automatically load the intel driver without any configuration. Have a look at [[Intel]] if something is wrong.<br />
<br />
As of the first quarter of 2013 there seems to be an issue related to Mesa 9.0, described at the freekdesktop Bugtracker ([https://bugs.freedesktop.org/show_bug.cgi?id=59593 #59593]),<br />
that makes the integrated Intel Ironlake Mobile GPU crash and will only resolve after a reboot.<br />
<br />
== Hibernation ==<br />
<br />
Install {{Pkg|pm-utils}} and {{Pkg|uswsusp}} and configure it as pm-util's backend. See [[Pm-utils#Using_another_sleep_back-end_.28like_uswsusp.29]] for instructions.<br />
<br />
== Fbsplash ==<br />
<br />
To make [[fbsplash]] work, i915 has to be added to the modules array in mkinitcpio.conf:<br />
<br />
{{hc|/etc/mkinitcpio.conf|2=MODULES="i915"}}<br />
<br />
== Power Saving ==<br />
<br />
=== Fan control ===<br />
<br />
There are some discussions concerning overheating-related shutdowns when running under full load (video encoding, etc) ([http://forums.lenovo.com/t5/X-Series-ThinkPad-Laptops/x201-random-shutdown/td-p/227471] [https://bugs.launchpad.net/ubuntu/+source/linux/+bug/751689]).<br />
<br />
[[Thinkpad Fan Control]] contains instructions to install tpfand as a custom replacement for hardware (bios-) fan control.<br />
<br />
{{Warning|Wrong settings may damage your machine! Use with caution!}}<br />
<br />
Start {{ic|tpfan-admin}} and adjust the settings (by clicking on the sensor's graph). You should split the graph (via context menu) and set the fan to '''full-speed''' when the sensor reaches, say, 65 °C. You may also edit the config file directly.<br />
<br />
=== TLP ===<br />
<br />
You may install [[TLP]] instead of [[Laptop Mode Tools]] to automate power saving operations.<br />
<br />
=== Frequency Scaling ===<br />
<br />
Use {{Pkg|cpufrequtils}} to enable frequency scaling.<br />
<br />
=== Undervolting ===<br />
<br />
Undervolting is not possible with the intel core iX cpu.<br />
<br />
=== Bootloader kernel options ===<br />
<br />
Add these kernel options to your bootloader's config file to make use of power saving mechanismens which are turned off by default because of reported instabilities. For me, they do a great job on my X201.<br />
<br />
{{Warning|These options can cause instability on your system! Try them and remove them if you are experiencing problems.}}<br />
<br />
==== grub2 ====<br />
{{hc|/etc/default/grub|2=GRUB_CMDLINE_LINUX_DEFAULT="[...] i915_enable_rc6=1 i915_enable_fbc=1"}}<br />
Update grub.cfg afterwards: {{ic|grub-mkconfig -o /boot/grub/grub.cfg}}<br />
<br />
==== grub1 ====<br />
Add the options above to {{ic|/boot/grub/menu.lst}}.</div>Mweinelthttps://wiki.archlinux.org/index.php?title=Netctl&diff=251627Netctl2013-03-22T21:06:53Z<p>Mweinelt: Fix typo in package link</p>
<hr />
<div>{{Lowercase title}}<br />
[[Category:Networking]]<br />
[[es:Netcfg]]<br />
[[fr:Netcfg]]<br />
[[it:Netcfg]]<br />
[[ja:Netcfg]]<br />
[[ro:Netcfg]]<br />
[[ru:Netcfg]]<br />
[[tr:netcfg]]<br />
[[zh-CN:Netcfg]]<br />
{{Article summary start}}<br />
{{Article summary text|A guide to configuring the network using netctl and network profile scripts.}}<br />
{{Article summary end}}<br />
Netctl is a new Arch project slated to replace [[netcfg]]. Users should regard it as the future of CLI-based network management on Arch Linux.<br />
<br />
==Installation==<br />
The {{Pkg|netctl}} package is available in the [[Official Repositories|official repositories]]. Installing {{Pkg|netctl}} will replace {{Pkg|netcfg}}. As of {{Pkg|netctl}} version 0.7, optional dependencies include<br />
*{{Pkg|dialog}}, for menu based WiFi assistance ({{Pkg|wifi-menu}})<br />
*{{Pkg|dhclient}}, for DHCP support (or {{Pkg|dhcpcd}})<br />
*{{Pkg|dhcpcd}}, for DHCP support (or {{Pkg|dhclient}})<br />
*{{Pkg|wpa_supplicant}}, for wireless network support<br />
*{{Pkg|ifplugd}}, for automatic wired connections through {{ic|netctl-ifplugd}}<br />
*{{Pkg|ifenslaved}}, for bond connections<br />
*{{Pkg|bridge-utils}}, for bridge connections<br />
*{{Pkg|ppp}}, for pppoe connection<br />
<br />
==Recommended Reading==<br />
Considerable effort has gone into the construction of quality man pages. Users are encouraged to read the following man pages prior to using netctl:<br />
*netctl<br />
*netctl.profile<br />
*netctl.special<br />
<br />
==Configuration==<br />
<br />
{{ic|netctl}} may be used to introspect and control the state of the systemd services for the network profile manager. Example configuration files are provided for the user to assist them in configuring their network connection. These example profiles are located in {{ic|/etc/netctl/examples/}}. The common configurations include:<br />
*ethernet-dhcp<br />
*ethernet-static<br />
*wireless-wpa<br />
*wireless-wpa-static<br />
<br />
To use an example profile, simply copy one of them from {{ic|/etc/netctl/examples/<profile>}} to {{ic|/etc/netctl/<profile>}} and configure it to your needs:<br />
# cp /etc/netctl/examples/wireless-wpa /etc/netctl/my-wireless-wpa<br />
<br />
Once you have created your profile, make an attempt to establish a connection using the newly created profile by running:<br />
# netctl start <profile><br />
<br />
If issuing the above command results in a failure, then use {{ic|journalctl -xn}} and {{ic|netctl status <profile>}} in order to obtain a more in depth explanation of the failure. Make the needed corrections to the failed configuration and retest.<br />
<br />
Once the profile is started successfully then it can be {{ic|enabled}} using {{ic|netctl enable <profile>}}. This will create the proper symlink for the profile to be used by {{ic|netctl-auto@.service}}.<br />
<br />
{{Note| the systemd service {{ic|netctl-auto@.service}} will need to be enabled in order to allow automatic wireless connection at boot to become functional}}<br />
<br />
{{Note| If there is ever a need to alter a currently enabled profile. {{ic|netctl reenable <profile>}} will have to executed in order to apply the changes.}}<br />
<br />
===Migrating from netcfg===<br />
<br />
{{ic|netctl}} uses {{ic|/etc/netctl}} to store its profiles whereas {{ic|netcfg}} used {{ic|/etc/network.d}} for the same purpose.<br />
<br />
In order to migrate from netcfg, at least the following is needed:<br />
*Move network profile files to the new directory.<br />
*Rename variables therein according to netctl.profile(5) (most have only become CamelCase i.e CONNECTION= becomes Connection=).<br />
*Unquote interface variables and other variables that don't strictly need quoting (this is mainly a style thing).<br />
*Run {{ic|netctl enable <profile>}} for every profile in the old NETWORKS array. 'last' doesn't work this way, see netcfg.special(7).<br />
*Use {{ic|netctl list}} / {{ic|netctl start <profile>}} instead of netcfg-menu. wifi-menu remains available.<br />
<br />
===Password Encryption (256-bit PSK)===<br />
<br />
Users ''not'' wishing to have their passwords stored in ''plain text'' have the option of generating a 256-bit Encrypted PSK.<br />
<br />
If you have not done so already, install {{pkg|wpa_actiond}} from the {{ic|core}} repository using [[pacman]]<br />
# [[pacman]] -Syu {{pkg|wpa_actiond}}<br />
<br />
Next, generate your 256-bit Encrypted PSK using [[WPA_supplicant#Configuration_file|wpa_passphrase]]:<br />
{{hc|Usage: [[WPA_supplicant#Configuration_file|wpa_passphrase]] [ssid] [passphrase]|<br />
2=$ [[WPA_supplicant#Configuration_file|wpa_passphrase]] archlinux freenode|<br />
network={<br />
ssid="archlinux"<br />
#psk="freenode"<br />
psk=64cf3ced850ecef39197bb7b7b301fc39437a6aa6c6a599d0534b16af578e04a<br />
}<br />
{{Note|This information will be used in your profile so do not close the terminal}}<br />
}}<br />
<br />
In a second terminal window copy the example file {{ic|wireless-wpa}} from {{ic|/etc/netctl/examples}} to {{ic|/etc/netctl}}.<br />
# cp /etc/netctl/examples/wireless-wpa /etc/netctl/wireless-wpa<br />
<br />
You will then need to edit {{ic|/etc/netctl/wireless-wpa}} using your favorite text editor and add the ''Encrypted Pre-shared Key'' that was generated early using [[WPA_supplicant#Configuration_file|wpa_passphrase]] to the {{ic|'''Key'''}} variable of this profile.<br />
<br />
Once completed your network profile {{ic|wireless-wpa}} containing a 256-bit Encrypted PSK should resemble:<br />
{{hc|/etc/netctl/wireless-wpa|<br />
2={{Note|1=Make sure to use the '''special non-quoted rules''' for Key= that are explained at the end of netctl.profile(5)}}<br />
Description='A simple WPA encrypted wireless connection using 256-bit Encrypted PSK'<br />
Interface=wlp2s2<br />
Connection=wireless<br />
Security=wpa<br />
IP=dhcp<br />
ESSID=archlinux<br />
Key=\"64cf3ced850ecef39197bb7b7b301fc39437a6aa6c6a599d0534b16af578e04a<br />
}}<br />
<br />
==Support==<br />
Official announcement thread: https://bbs.archlinux.org/viewtopic.php?id=157670</div>Mweinelt