nouveau tv-out
by Konstantin Svist
I tried connecting a laptop s-video out to a tv last night but couldn't
see a software option for it anywhere.
Running Fedora 16 x64 XFCE with nouveau driver. Checked xrandr and F ->
Settings -> Display applet.
Also tried a VGA to s-video adapter, same story.
Tried installing kmod-nvidia - X refuses to start altogether.
What should I try next?
12 years
ifcfg-ethX voodoo for a second IP on the same interface
by Sam Varshavchik
For testing purposes I need to add a second IP address to eth0.
eth0 is managed by NetworkManager, and uses dhcp.
I know that if I get rid of NetworkManager and put static IP addresses in
ifcfg-eth0, I can also sprinkle some magic dust into ifcfg-eth0:1, and have
the second IP address come up together with the first one.
This does not seem to work with a NetworkManager-managed DHCP-based
interface.
Basically, is there some voodoo I can throw in a file somewhere that would
perform the equivalent of:
ip addr add 192.168.0.5 dev eth0 label eth0:1
when eth0 comes up via DHCP, by NetworkManager?
12 years
Cross-grading from i686 to x86_64: it is possible (but unsupported)
by Roberto Ragusa
Hi,
after reading a lot of advice about not doing it, and only a couple
of reports from guys who did it, I finally decided to try to
cross-grade my Fedora installation from i686 to x86_64.
Everyone says you should just reinstall; they probably do not
value their customizations. My system has been upgraded from Fedora
Core 3, and has been moved on a multitude of different hardware.
Preserving /home, /usr/local, /opt, /etc is still not enough,
you then have to be sure everything you had installed is there
again: big job (maybe you do not have the installation package
anymore).
I can't describe all the details for the cross-grading, but I want
to try to be helpful for others wanting to try that.
The transition was a F14-i686 to F14-x86_64 (end-of-life!).
On a second step there will be an upgrade to F15 and F16.
The system had many rpms from additional repos (fusion, atrpms,
java-sun from jpackage, a few rpms from some vendors).
The system was running the latest x86_64 (!) kernel for F16 (!!) .
For the record: running an x86_64 kernel instead of the i686.PAE
works perfectly, and it is better for speed and stability (why Fedora
did not push this feature I do not know). I also discovered that
running a F16 kernel on F14 is OK; yum complains about some dependencies
(module-init-tools, IIRC), but it solved some hibernation issues.
FIRST STEP: TOTAL FILE-LEVEL BACKUP OF THE SYSTEM (rsync to another machine;
this is a habit for me)
I've actually done the migration by yum in a graphical shell. (!)
So we already have collected a good quantity of "no, do not do that"
things. :-)
The most difficult part came now.
I wanted to start installing x86_64 stuff in parallel to i686 and
it was not exactly clear to me on what base rpm and yum decide the arch.
The final trick was, IIRC, just install rpm.x86_64; it appears to
contain the "info" about the running architecture. Some things
were required to be installed at the same time (mostly glibc).
I had a complete local mirror of F14 packages to avoid going to the network.
The "file `which rpm`" command started to say that it is an ELF64,
so I moved to yum. This is more complicated because it takes some
Python dependencies with it.
I repeated tried "rpm -ihv --test" and added more and more dependencies
on that command until it succeeded. Then "yum clean all".
In this phase I discovered that if you have a 64bit rpm and a 32 bit yum
the rpm database gives you strange errors. Every time you switch
from one tool to another the database appears to be corrupted, but it
isn't. The solution is to just remove a few tmp files: see RH bugzilla 553998.
At this point I started to use yum to install x86_64 stuff.
Started with small things (grep, bash), then moved to things with more
dependencies and then started to involve heavy things (for example, evince
will drag some GNOME, and so on). As I was running KDE, I used the GNOME
desktop as a guinea pig. :-)
Having both i686 and x86_64 version fails in some cases because the shared
files are not identical. I had to remove the i686 version in some cases and
just install the x86_64 one. Some "rpm -e --test" and "rpm -e --nodeps" were
necessary to understand how big was the risk of breaking the system at every
step.
A really big issue: i686 rpms from atrpms which I was not able to move to x86_64
because the f14-atrpms repository has been deleted from the net. Aaaargh.
Only a couple of stale mirrors were still there, I catched everything from them,
and also had to downgrade versions or remove some stuff and take a note of
reinstalling it later (maybe on F15). Why doesn't atrpms have an archive
repository like fedora???
For safety, I installed the rpms for KDE by logging in via ssh. The kde environment
was still running and it was unaffected by the process, anyway.
Some bash tricks involving "rpm -qa", "grep" and "yum install" took care of
installing as much as possible as x86_64, removing i686 when necessary to resolve
(apparent) conflicts.
It is fun to see there are -devel packages for both archs.
At the end I had an almost completely biarch system.
So.... reboot. (No change to grub, the kernel is still f16 x86_64).
The boot goes well.
X doesn't start: no driver. I had a /usr/lib path in /etc/X11/xorg.conf, which I had
to replace with /usr/lib64. Solved.
But KDE doesn't start. Hmmm. GNOME does, XFCE does, fluxbox does.
After some deep investigation, the solution was to just remove the content of
/var/tmp/kdecache-*, which is probably saved in an architecture dependent format.
As a cleanup, I started to remove i686 stuff. My idea is to only keep some
libs for compatibility with i686 only applications.
Started doing some of the work manually (yum remove and be sure you are only removing
stuff you have on x86_64 too).
Then wrote more bash one-liners: list all the rpms, find everything i686 which is not
dependent on anything else and exists in x86_64 format too; remove the i?86.
Repeat it a few times to escalate deeper in dependencies.
Target reached: more than 3000 rpms, all x86_64 and a few i686 dragged here by
vendor's rpm only available as i386 (mostly some GNOME libs). KDE completely
switched to x86_64 and running great.
Rebuilt the jpackage java-sun rpms so the JVM is 64bit now.
Removed 32bit kernels, now useless.
The entire process took me a couple of days, mostly because I had to research things
and decide my strategy at every step. The hardware was powerful and SSD based, so
the disk operations were quite fast.
The system appears now faster.
The only issue I've seen so far is the HTML validator extension for Firefox
complaining about having 32bit internal libs, while wanting 64. Will fix that.
Some web pages say you can do everything in a single step through yum.
I don't know, maybe I've been more prudent and step-by-step than necessary.
Certainly I've learned a lot doing it. And had some fun with bash.
The robustness of the system, while modifications to its roots were happening,
was incredible. I switched from glibc f14 to glibc f15 and back a few times
(to try to use f15-atrpms to fill in missing x86_64 packages) and everything
still worked.
Great job: Linux, Fedora, rpm, yum, and all the rpm packagers.
I can't imagine to attempt that on any other operating system.
(backupped everything and upgrading to F15 and F16 x86_64 right now)
--
Roberto Ragusa mail at robertoragusa.it
12 years
Fedora-17 Irritations
by Peter Hillier-Brook
Hello list,
I've just installed the beta in a VM so as to evaluate GNOME 3.4 (and
Fedora-17 as well). Two irritating issues have emerged that would be
show stoppers, if incapable of resolution. They are:
1. I choose United Kingdom (English) for the obvious reason - I live
here - and I appear to be forced to use the French numbering system,
rather than Imperial.
2.I installed an HP printer via the Printers dialogue and I cannot find
any way to set paper sizes to A4.
I suspect that both of the above are easily fixable, but lack of
familiarity with Red Hat since 6.2 means a little help would be appreciated.
Thanks in advance.
Peter HB
12 years
system-config-users and ldapi
by Braden McDaniel
Can system-config-users be made to use ldapi (i.e., a socket connection
to an LDAP server)?
According to "man 5 libuser.conf", libuser can do this; but I haven't
been able to convince system-config-users. It asks for a SASL user on
startup (which shouldn't be applicable, as I understand it).
--
Braden McDaniel <braden(a)endoframe.com>
12 years
ath9k with hostapd and iPad / iPhone
by Reindl Harald
Hi
has somebody "magic settings" to get Apple mobile-crap
working with hostapd instead permanently interrupt the
connection?
other mobile devices are working fine all the time up to 80 Mbit
netto and only recent iPhone / iPad is running in trouble
no these are not my devices but my AP :-(
the "iphone"-block from my "hostapd.conf" below was a try after
google around the world, other devies are still happy but the
apple crap is still not impressed by the change
___________________________________________
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200/2nd Generation Core Processor Family PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics
Controller (rev 09)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b4)
00:1d.0 USB Controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Q67 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family 6 port SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)
01:00.0 Ethernet controller: Intel Corporation 82574L Gigabit Network Connection
03:00.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
___________________________________________
cat /etc/hostapd/hostapd.conf
# default settings
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
auth_algs=1
ignore_broadcast_ssid=0
macaddr_acl=1
accept_mac_file=/etc/hostapd/accept
# login-data
ssid=****
wpa_passphrase=**************************
# wpa2-only support
wpa=2
rsn_pairwise=CCMP
# wpa1/wpa2 support
# wpa=3
# wpa_key_mgmt=WPA-PSK
# wpa_pairwise=TKIP
# rsn_pairwise=CCMP
# local configuration
interface=wlan0
bridge=br0
driver=nl80211
hw_mode=g
ieee80211n=1
wmm_enabled=1
channel=11
country_code=AT
max_num_sta=100
# iphone
ieee8021x=0
eap_server=0
wme_enabled=0
# logging
# 0 = verbose debugging
# 1 = debugging
# 2 = informational messages
# 3 = notification
# 4 = warning
logger_syslog=1
logger_syslog_level=2
___________________________________________
Name : hostapd
Architektur : x86_64
Version : 0.7.3
Ausgabe : 2.fc15
Größe : 553 k
Repo : installed
Aus repo : fedora
Zusammenfassung : IEEE 802.11 AP, IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
URL : http://w1.fi/hostapd
Lizenz : BSD
Beschreibung : hostapd is a user space daemon for access point and authentication
: servers. It implements IEEE 802.11 access point management, IEEE
: 802.1X/WPA/WPA2/EAP Authenticators and RADIUS authentication server.
:
: hostapd is designed to be a "daemon" program that runs in the back-
: ground and acts as the backend component controlling authentication.
: hostapd supports separate frontend programs and an example text-based
: frontend, hostapd_cli, is included with hostapd.
___________________________________________
output of "lsmod"
Module Size Used by
nf_nat_ftp 12770 0
nf_conntrack_ftp 14484 1 nf_nat_ftp
nf_nat_sip 17079 0
nf_conntrack_sip 28807 1 nf_nat_sip
xt_state 12578 20
iptable_mangle 12695 0
ipt_MASQUERADE 12880 2
iptable_nat 13383 1
nf_nat 25143 4 nf_nat_ftp,nf_nat_sip,ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4 14622 23 iptable_nat,nf_nat
nf_conntrack 82286 9
nf_nat_ftp,nf_conntrack_ftp,nf_nat_sip,nf_conntrack_sip,xt_state,ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
nf_defrag_ipv4 12673 1 nf_conntrack_ipv4
tun 22804 2
bridge 90950 0
stp 12823 1 bridge
llc 14090 2 bridge,stp
ipt_LOG 12993 1
xt_limit 12711 1
xt_recent 18474 6
xt_multiport 12798 16
coretemp 13401 0
arc4 12529 2
ath9k 134768 0
mac80211 496450 1 ath9k
ath9k_common 13600 1 ath9k
ath9k_hw 408211 2 ath9k,ath9k_common
ath 23089 3 ath9k,ath9k_common,ath9k_hw
cfg80211 195558 3 ath9k,mac80211,ath
hp_wmi 18048 0
sparse_keymap 13526 1 hp_wmi
iTCO_wdt 17948 0
iTCO_vendor_support 13419 1 iTCO_wdt
e1000e 198408 0
i2c_i801 17765 0
rfkill 21342 2 cfg80211,hp_wmi
raid1 35373 3
wmi 18697 1 hp_wmi
i915 466748 1
drm_kms_helper 40231 1 i915
drm 242003 2 i915,drm_kms_helper
i2c_algo_bit 13156 1 i915
i2c_core 37991 5 i2c_i801,i915,drm_kms_helper,drm,i2c_algo_bit
video 18932 1 i915
12 years
Nvidia Resolution settings ?
by Mickey
F17-beta
installed kmod-nvidia and blacklisted nouveau .
restarting computer and resolution is so high that characters are so
small at Desktop you can't see them.
Checked Xorg.conf and the only setting is the Device Section no settings
for Resolution. What do I put in there for 1280x764 ?
Doesn't the setting in grub2.cfg, vga=31B apply any more ?
12 years
EXIM, Postgresql and database replication
by Gary Stainburn
Hi folks,
I am rolling out another Exim mail server into a new site that I am setting
up. Based on replies from last week I am going to look into using Postgresql
instead of flat files for aliases etc. I have a couple of questions. My aim
is to roll this out to my 3 existing mail servers if I like the look of it.
One of the reasons I want to do this is for the reverse alias lookup that I
asked about last week. As well as being able to convert gary.stainburn@ to
gstainb for local delivery I want to be able to convert gstainb back to
gary.stainburn@ for vacation messages etc.
1) Does anyone have example Exim and SQL setups that I could crib from?
2) For speed and reliability I want to host the database on the same server as
Exim. This will mean having multiple databases. What is the best method of
keeping these database copies syncronised?
Gary
12 years
mknod
by Patrick Dupre
Hello,
I made mknod -m 660 /dev/fd0H1440 b 2 28
but at the next reboot I had to do it again.
Why?
Thank
--
---
==========================================================================
Patrick DUPRÉ | |
Department of Chemistry | | Phone: (44)-(0)-1904-434384
The University of York | | Fax: (44)-(0)-1904-432516
Heslington | |
York YO10 5DD United Kingdom | | email: patrick.dupre(a)york.ac.uk
==========================================================================
12 years