Installare Real Player su Fedora Core 7
Per installare RealPlayer andiamo qui e clicchiamo “RedHat Package” sotto l’enorme bottone giallo ed installiamolo come per i TrueTypeFonts
Il blog tecnico di Maurizio Proietti a Prato 59100. Info e configurazioni linux microsoft
Per installare RealPlayer andiamo qui e clicchiamo “RedHat Package” sotto l’enorme bottone giallo ed installiamolo come per i TrueTypeFonts
TrueType Fonts
Dopo averli installati apriamo la shell, diventiamo root e diamo il seguente comando:
/etc/init.d/xfs restart
da root
nano /etc/yum.repos.d/macromedia.repo e copincolliamo e salviamo questo
[macromedia]name=Macromedia for i386 Linux baseurl=http://macromedia.rediris.es/rpm/ #baseurl=http://macromedia.mplug.org/rpm/ #baseurl=http://sluglug.ucsc.edu/macromedia/rpm/ enabled=1 gpgcheck=1 gpgkey=http://macromedia.rediris.es/FEDORA-GPG-KEY
e con questo abbiamo addato il repo Macromedia (serve solo per FlashPlayer).
yum -y install flash-plugin
Installare il supporto per mp3 mplayer e dvd player:
rpm -ihv http://rpm.livna.org/livna-release-7.rpm
yum update
di nuovo:
yum update
yum install mplayer-gui libdvdcss amarok-extras-nonfree gstreamer-plugins-ugly vlc yum -y install xmms xmms-mp3 xmms-faad2 gstreamer-plugins-ugly libmad libid3tag yum -y install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcss
General Hardware Specifications of Lifebook S 7110:
|
Hardware Components
|
Status under Linux
|
Notes
|
| Intel Core 2 Duo T5500 | Works | No special procedure required during installation. |
| 14.1 XGA TFT Display | Works | Select Generic LCD Display in Installer |
| Intel 945 | Works | . |
| 1 GB RAM | Works | No special procedure required during installation |
| 40 GB SATA Hard Drive | Works | No special procedure required during installation |
| Internal Atheros Wireless Networking (Wi-Fi Certified) | Works | With madwifi driver: |
| Integrated Network Card | Works | No special procedure required during installation |
| Internal 56k Modem | Not Tested | In progress |
| CD-RW DVD-RW Drive | Works | No special procedure required during installation |
| IrDA | Not Tested | In progress |
| Intel High Definition Audio Controller | Works | No special procedure required if using Kernel 2.6.x.
ALSA Sound drivers required for Kernel 2.4.x |
| USB | Works | No special procedure required during installation |
| ACPI | Works | No special procedure required during installation |
| PCMCIA/PCCARD | Not tested | In Progress |
| FireWire/IEEE1394 | Not Tested | In Progress |
| Bluthoot | Not Tested | In Progress |
| Battery | Works | No special procedure required during installation |
| FingerPrint | Not Works |
This laptop is operating under Kernel version 2.6.21
installazione di Fedora 7:
Installare il supporto per mp3 mplayer e dvd player
Installare Flash Palyer su Fedora Core 7
Installare True Type Font su Fedora Core 7
Installare RealPlayer su Fedora Core 7
Installare Adobe Reader su Fedora Core 7
Multimedia-Codecs su Fedora Core 7
Fedora 7 java runtime engine jre e java development kit jdk e firefox plugin
Madwifi ng driver for atheros minipci wireless su Fedora Core 7
Aircrack-ng su Fedora Core 7 con driver atheros madwifi-ng(ath_pci)
Kismet su Fedora 7 con driver atheros (ath_pci)
Abilitare Frame Buffer a 1024×768 su Fedora Core 7
More Specific Information. Specific stuff such as:
[root@localhost ~]# df -hl
Filesystem Dimens. Usati Disp. Uso% Montato su
/dev/sda2 34G 4,5G 28G 14% /
tmpfs 501M 0 501M 0% /dev/shm
[root@localhost ~]# lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: Intel Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 SATA controller: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA AHCI Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
02:00.0 Ethernet controller: Marvell Technology Group Ltd. 88E8055 PCI-E Gigabit Ethernet Controller (rev 12)
05:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
08:03.0 CardBus bridge: O2 Micro, Inc. OZ711MP1/MS1 MemoryCardBus Controller (rev 21)
08:03.4 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
[root@localhost ~]# lsusb
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 001: ID 0000:0000
Bus 003 Device 003: ID 08ff:2580 AuthenTec, Inc.
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Oggi ho trovato un bel problema si samba.
Qualsiasi condivisione provavo ad aprire ottenevo un bel ACCESSO NEGATO
e in particolare:
‘/home/maox’ does not exist or permission denied when connecting to
[maox] Error was Permission denied
[2007/05/25 20:39:34, 0] smbd/service.c:make_connection_snum(920)
[soluzione]
Per risolvere:
go to /etc/grub.conf and replace this:
CODE
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1
with this:
CODE
kernel /vmlinuz-2.6.15-1.2054_FC5 ro root=LABEL=/1 selinux=0
(note the selinux=0 part). the line may be different so if it is, just
add the selinux=0 part and it should work the same…
Reboot. Your system should work.
Adesso tutto funziona
–
principio di Napoleone:
non attribuire a malintenzione cio’ che puo’
essere semplicemente spiegato come imbecillita’
–
MaoX Blog:
http://maox.blogspot.com
Come abilitare e/o disabilitare SELinux su Fedora 7
Dalla console (o dalla modalità testuale) lanciare
system-config-securitylevel-tui
Oggi configuriamo una ADSL Telecom Interbusiness su un Netgear Router
Firewall ADSL Wireless DG834G.
Ipotizziamo che i seguenti parametri ci siano stati dati da Telecom:
ip lan: 88.57.20.1/255.255.255.248
ip ptp: 88.57.6.1/255.255.255.252
il gateway è in genere il secondo ip della lan, quinid in questo caso:
gw: 88.57.20.2
L’ip da assegnare al nostro router è quindi, di solito, il terzo:
ip router: 88.57.20.3
Detto questo copiate le seguenti righe dentro un file dal nome
netgear.cfg
ed importatelo nella configurazione del router.
L’ip del router in lan sarà 192.168.0.254
il nome utente/password: admin/admin
# Netgear DG834 Text Format Configure File v0.2
#
# FW Version V4.01.04
#
# Usage:
# # value list or syntax
# [index]“variable”=value
#< Wizard >
# English German Italian French
[10001]“Language”=Italian
# Australia France Italy Singapore Sweden Switzerland UK Other
[10002]“Country”=Italy
#< Basic Settings >
# dhcpc pppoe pppoa ipoa bridge ip
[20001]“WAN protocol”=ipoa
# 0:off 1:on
[20002]“NAT (Network Address Translation)”=1
#< PPPoE >
[20101]“Login”=
[20102]“Password”=
[20103]“Service Name”=
[20104]“Idle Timeout”=0
[20105]“Static IP Address”=
#< PPPoA >
[20201]“Login”=Guest
[20202]“Password”=
[20203]“Idle Timeout”=0
[20204]“Static IP Address”=
#< Get Dynamically From ISP >
[20301]“Account Name”=
[20302]“Domain Name”=
#< Static IP Address >
[20401]“IP Address”=
[20402]“IP Subnet Mask”=
[20403]“Gateway IP Address”=
#< IP Over ATM (IPoA) >
[20501]“IP Address”=88.57.20.3
[20502]“IP Subnet Mask”=255.255.255.248
[20503]“Gateway IP Address”=88.57.20.2
#< Domain Name Server (DNS) Address >
# 0:off 1:on
[20601]“Use These DNS Servers”=1
[20602]“Primary DNS”=151.99.125.2
[20603]“Secondary DNS”=212.216.172.62
#< Router MAC Address >
# MAC address
[20701]“Use This MAC Address”=
#< ADSL Settings >
# 0: LLC-BASED 1: VC-BASED
[30001]“Multiplexing Method”=0
[30002]“VPI”=8
[30003]“VCI”=35
#< Wireless Settings >
[40001]“Name (SSID)”=wlan
# Africa Asia Australia Canada France Israel Japan Mexico ‘South
America’ USA
[40002]“Region”=Europe
# 0 – 14
[40003]“Channel”=11
# 0: g & b 1: b only 3: g only
[40004]“Mode”=0
# 0:off 1:on
[40005]“Enable Wireless Access Point”=1
# 0:off 1:on
[40006]“Allow Broadcast of Name (SSID)”=1
# 0:off 1:on
[40007]“Wireless Isolation”=0
# 0:off 1:wep 2:wpa 3:802.1x
[40008]“Security Options”=0
#< Wireless Station Access List >
# 0:off 1:on
[40101]“Turn Access Control On”=1
# MAC+name
[40102]“Trusted Wireless Stations”=00:18:DE:A0:47:55MaurizioNB
#< WEP (Wired Equivalent Privacy) >
# 1: Open System 2: Shared Key 3: Automatic
[40201]“Authentication Type”=3
# 0 64 or 128
[40202]“Encryption Strength”=0
# 1 2 3 4
[40203]“Key Index”=1
[40204]“Key 1″=
[40205]“Key 2″=
[40206]“Key 3″=
[40207]“Key 4″=
#< WPA-PSK >
# (8 ~ 64 characters)
[40301]“Network Key”=
#< WPA-802.1x >
[40401]“Radius Server Name/IP Address”=
[40402]“Radius Port”=1812
[40403]“Shared Key”=
#< Logs >
# 0:off 1:on
[50001]“Attempted access to blocked sites”=1
# 0:off 1:on
[50002]“Connections to the Web-based interface of this Router”=1
# 0:off 1:on
[50003]“Router operation”=1
# 0:off 1:on
[50004]“Known DoS attacks and Port Scans”=1
# 0:Disable 1:Broadcast on LAN 2:Send to Syslog server
[50005]“Syslog”=0
[50006]“Send to this Syslog server IP address”=
#< Block Sites >
# 0:Never 1:Always 2:Per Schedule
[60001]“Keyword Blocking”=1
[60002]“Block Sites Containing these Keywords or Domain Names”=
# 0:off 1:on
[60003]“Allow Trusted IP Address to Visit Blocked Sites”=0
[60004]“Trusted IP Address”=
#< Firewall Rules >
# ENABLE:SERVICE_NAME:ACTION:LAN:WAN:LOG
#
# ENABLE: 0=on or 1=off
# SERVICE_NAME: Actual Service in service table
# ACTION: 0:BLOCK always 1:BLOCK by schedule 2:ALLOW always 3:ALLOW by
schedule
# LAN: 0/0: Any a.b.c.d: Single 1.2.3.4-5.6.7.8: Range
# WAN: 0/0: Any a.b.c.d: Single 1.2.3.4-5.6.7.8: Range
# LOG: 0:Never 1:Always 2: Match 3: Not Match
# ex: 1:Any(ALL):2:192.168.0.250:0/0:1
[70001]“Inbound Rule”=
# The Same as Inbound Rule
[70002]“Outbound Rule”=
#< Services >
# NAME:PROTOCOL:START_PORT-END_PORT
#
# PROTOCOL: tcp udp both all
# ex: Any(TCP):tcp:1-65535
[80001]“Service Table”=
#< Schedule >
# DAY:START_TIME-END_TIME ex:1111111:00:00-24:00
[90001]“Schedule”=1111111:00:00-24:00
#< Time Zone >
# UI (-12 ~ GMT ~ +12)
[90101]“Time Zone”=GMTb
# System (GMT+12 ~ GMT-12)
[90102]“Time Zone”=GMT+0
# 0:off 1:on
[90103]“Daylight Savings Time”=
# 0:off 1:on
[90104]“Use this NTP Server”=0
[90105]“NTP Server”=
#< E-mail >
# 0:off 1:on
[100001]“Turn E-mail Notification On”=1
[100002]“Send To This E-mail Address”=
[100003]“Outgoing Mail Server”=
# 0:off 1:on
[100004]“My Mail Server requires authentication”=0
[100005]“User Name”=
[100006]“Password”=
#< Send E-Mail alerts immediately >
# 0:off 1:on
[100101]“If a DoS attack is detected”=1
# 0:off 1:on
[100102]“If a Port Scan is detected”=1
# 0:off 1:on
[100103]“If someone attempts to access a blocked site”=1
# 0:None 1:When Log is Full 2:Hourly 3:Daily 4:Daily
[100104]“Send Logs According to this Schedule”=3
# 0:off 1:on
[100105]“Send mail when Log is Full”=0
# 0:Sun ~ 6:Sat
[100106]“Day”=
# 0 ~ 24
[100107]“Hour”=11
#< Set Password >
[110001]“Username”=admin
[110002]“Password”=admin
# 0 ~ 99
[110003]“Login times out”=5
#< WAN Setup >
# 0:off 1:on
[120001]“Connect Automatically, as Required”=1
# 0:off 0:on
[120002]“Port Scan and DOS Protection”=1
# 0:off 1:on
[120003]“Enable DMZ Server”=0
[120004]“DMZ Server”=
# 0:off 1:on
[120005]“Respond to Ping on Internet WAN Port”=1
[120006]“MTU Size”=1500
#< Dynnamic DNS >
# 0:off 1:on
[130001]“Use a Dynamic DNS Service”=0
[130002]“Host Name”=
[130003]“User Name”=
[130004]“Password”=
# 0:off 1:on
[130005]“Use Wildcards”=0
#< LAN IP Setup >
#< LAN TCP/IP Setup >
[140101]“IP Address”=192.168.0.254
[140102]“IP Subnet Mask”=255.255.255.0
[140103]“Broadcast IP Address”=192.168.0.255
#< RIP >
# 0:none in:In Only out:Out Only both:Both
[140201]“RIP Direction”=0
# 1:RIP-1 2B:RIP-2B 2M:RIP-2M
[140202]“RIP Version”=1
#< DHCP Server >
# 0:off 1:on
[140301]“Use Router as DHCP Server”=1
[140302]“Starting IP Address”=192.168.0.210
[140303]“Ending IP Address”=192.168.0.250
# Name;IP;MAC
[140304]“Address Reservation”=
#< Remote Management >
# 0:off 1:on
[150001]“Turn Remote Management On”=1
# 1:single 2:range 3:everyone
[150002]“Allow Remote Access By”=3
[150003]“Only This Computer”=
[150004]“IP Address Range Start”=
[150005]“IP Address Range End”=
[150006]“Port Number”=8080
#< Static Routes >
# Name:Dest_ip:Netmask:Gateway:Metric:Private:Active
[160001]“Routes”=
#< UPnP >
# 0:off 1:on
[170001]“Turn UPnP On”=1
[170002]“Advertisement Period”=30
[170003]“Advertisement Time To Live”=4
#< VPN >
[180001]“VPN Version”=2
[180001]“VPN policy”=1
#< SNMP >
# 0:off 1:on
[190001]“Turn SNMP On”=0
# 0:off 1:on
[190002]“Disable Local Web Admin Access”=
[190003]“Read Community Name”=
[190004]“System Contact”=
[190005]“System Name”=
[190006]“System Location”=
–
principio di Napoleone:
non attribuire a malintenzione cio’ che puo’
essere semplicemente spiegato come imbecillita’
–
MaoX Blog:
http://maox.blogspot.com
Postfix con supporto mysql su Fedora
Get the latest source rpm fromFedora Core Developmentand install it
or here:
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/SRPMS/
(Note: the src.rpm not the i386.rpm) with:
rpm -Uvh postfix-2.3.x-1.src.rpm
If it still not the latest get the latest source from any of thePostfix Download Siteand put int into
rpm/SOURCES/ directory. In postfix.spec modify the version and add MySQL support (%define MYSQL 1) and build it:
rpmbuild -ba postfix.spec
rpmbuild -bb postfix.spec
Cioè:scarico l'RPM con i sorgenti,poi scarico l'ultima versione di postfix e lo installoTutto va a finire in /usr/src/redhat/SOURCES/qui sostituiscopostfix-2.3.6.tar.gzconpostfix-2.3.7.tar.gzpoi in/usr/src/redhat/SPECS/modificopostfix.spec%define MYSQL 1 Version: 2.3.7e poi lanciorpmbuild -ba postfix.specrpmbuild -bb postfix.specin/usr/src/redhat/RPMS/i386trovo i pacchetti RPM e quindicd /usr/src/redhat/RPMS/i386rpm -Uhv ./*
FATTO!!!!
[da http://dailypackage.fedorabook.com/index.php?/archives/6-Wednesday-Why-The-Alternatives-System.html]
To select one of these two packages interactively, the alternatives command is used with the –config option and the generic name of the feature that is being configured:
# alternatives –config mta
There are 2 programs which provide ‘mta’.
Selection Command
———————————————–
*+ 1 /usr/sbin/sendmail.sendmail
2 /usr/sbin/sendmail.postfixEnter to keep the current selection[+], or type selection number:
Note that the highest-priority alternative is marked with an astrisk (*), and the currently-selected option is marked with a plus-sign (+). Press enter to keep the current setting or enter a number to select another value.
To select an alternative directly from the command line, use the –set option:
# alternatives –set mta /usr/sbin/sendmail.postfix
You can see the current value by using the –display option:
# alternatives –display mta
mta – status is manual.
link currently points to /usr/sbin/sendmail.sendmail
/usr/sbin/sendmail.sendmail – priority 90
slave mta-pam: /etc/pam.d/smtp.sendmail
slave mta-mailq: /usr/bin/mailq.sendmail
slave mta-newaliases: /usr/bin/newaliases.sendmail
slave mta-rmail: /usr/bin/rmail.sendmail
slave mta-sendmail: /usr/lib/sendmail.sendmail
slave mta-mailqman: /usr/share/man/man1/mailq.sendmail.1.gz
slave mta-newaliasesman: /usr/share/man/man1/newaliases.sendmail.1.gz
slave mta-aliasesman: /usr/share/man/man5/aliases.sendmail.5.gz
slave mta-sendmailman: /usr/share/man/man8/sendmail.sendmail.8.gz
/usr/sbin/sendmail.postfix – priority 30
slave mta-pam: /etc/pam.d/smtp.postfix
slave mta-mailq: /usr/bin/mailq.postfix
slave mta-newaliases: /usr/bin/newaliases.postfix
slave mta-rmail: /usr/bin/rmail.postfix
slave mta-sendmail: /usr/lib/sendmail.postfix
slave mta-mailqman: /usr/share/man/man1/mailq.postfix.1.gz
slave mta-newaliasesman: /usr/share/man/man1/newaliases.postfix.1.gz
slave mta-aliasesman: /usr/share/man/man5/aliases.postfix.5.gz
slave mta-sendmailman: /usr/share/man/man1/sendmail.postfix.1.gz
Current `best’ version is /usr/sbin/sendmail.sendmail.
Instead of selecting the alternative manually, you can choose to have the highest-priority option automatically selected. This will enable an automatic change as packages are added and removed:
# alternatives –auto mta
The most common use of the alternatives system is to select between implementations of Java, the print server, and the mail transfer agent. Fedora’s implementation of alternatives is a rewrite and extension of the alternatives system used in Debian.
(Why is the generic name linked to a name in /etc/alternatives which is symlinked to the target, instead of the generic name being directly symlinked to the target? This was done so that the configuration information is contained in the /etc directory, centralizing the location of configuration data).