View Full Version : [Arch] Prime impressioni
gianlucab70
21-12-2008, 21:30
Ciao a tutti.
Come da titolo.
Ho installato arch (versione core da penna-usb).
Impressioni: Tutta da costruire!!! e personalizzare centimetro per centimetro!
L'installazione è stata abbastanza semplice.
Sembra promettere bene.
Unica pecca...................
vi faro sapere..
Già ti incacchi :D
Fidati che non troverai distro che ti dà più soddisfazione. :cool:
Pacman è mostruoso, però, per avere un'idea di tutto il software che cè, puoi usare shaman. (GUI)
gianlucab70
21-12-2008, 22:01
:confused:
ma sei te kernele?
gianlucab70
22-12-2008, 17:30
Il pacman.conf punta sul file /etc/pacman.d/mirrorlist
Non era + semplice includere
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/community/os/i686/
direttamente in /etc/pacman.conf ?
Considerato anche che così come sono scritti non servono.
gianlucab70
22-12-2008, 19:00
Purtroppo non funziona la rete.
ping -c www.google.it
unknown host!!
Ho installato wvdial manualmente. (per utilizzo con cellulare)
Utilizzo l'interfaccia ppp0. Purtroppo in ubuntu non c'è il file rc.conf .
Non trovo il supporto per questa interfaccia di rete.
:muro: :muro:
gianlucab70
22-12-2008, 22:28
Ho un serio problema con la rete.
Vi posto alcuni file di configurazione:
rc.conf
#
# /etc/rc.conf - Main Configuration for Arch Linux
#
# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="it_IT.utf8"
HARDWARECLOCK="localtime"
USEDIRECTISA="no"
TIMEZONE="Europe/Rome"
KEYMAP="it"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(r8169 slhc snd-mixer-oss snd-pcm-oss snd-hwdep snd-page-alloc snd-pcm snd-timer snd snd-hda-intel soundcore)
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="myhost"
# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
# - prefix an entry in INTERFACES with a ! to disable it
# - no hyphens in your interface names - Bash doesn't like it
#
# DHCP: Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
## eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
##INTERFACES=(eth0)
ppp0="ppp0 192.168.100.101 netmask 255.255.255.0 broadcast ???.???.??? "
INTERFACES=(ppp0)
# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
# - prefix an entry in ROUTES with a ! to disable it
#
##gateway="default gw 192.168.0.1"
##ROUTES=(!gateway)
# Enable these network profiles at boot-up. These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
# - set to 'menu' to present a menu during boot-up (dialog package required)
# - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)
# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
# - prefix a daemon with a ! to disable it
# - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond)
hosts
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost myhost
##127.0.0.1 myhost.domain.org localhost.localdomain localhost myhost
# End of file
resolv.conf
#
# /etc/resolv.conf
#
#search <yourdomain.tld>
#nameserver <ip>
nameserver 62.13.171.1
nameserver 62.13.171.2
# End of file
route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.100.101 * 255.255.255.255 UH 0 0 0 ppp0
default * 0.0.0.0 U 0 0 0 ppp0
Ripeto , riesco a connettermi ma al
ping -c 3 www.google.it
unknown host!!
:muro: :muro: :muro:
jeremy.83
23-12-2008, 07:15
Hai provato ad usare gli opendns?
gianlucab70
23-12-2008, 09:29
....Ho messo
ppp0="ppp0 192.168.100.101 netmask 255.255.255.0 broadcast 192.168.100.101 "
INTERFACES=(ppp0)
e riavviato.
:eek: incredibilmente funziona...
Sinceramente non comprendo nemmeno io .........e penso che non dipenda dal broadcast aggiunto.
Credo piuttosto che andava riavviato il tutto.........bho!!
Cmq.
Ho aggiornato il pacchetto pacman.
Adesso mi ha creato 2 nuovi files.
pacman.conf.pacnew e mirrorlist.pacorig .
Adesso cosa faccio. Cancello quelli vecchi e rinomino i nuovi?
pabloski
24-12-2008, 10:38
....Ho messo
ppp0="ppp0 192.168.100.101 netmask 255.255.255.0 broadcast 192.168.100.101 "
INTERFACES=(ppp0)
e riavviato.
:eek: incredibilmente funziona...
Sinceramente non comprendo nemmeno io .........e penso che non dipenda dal broadcast aggiunto.
Credo piuttosto che andava riavviato il tutto.........bho!!
ma dopo aver modificato la riga interfaces avevi dato /etc/rc.d/network restart???
Cmq.
Ho aggiornato il pacchetto pacman.
Adesso mi ha creato 2 nuovi files.
pacman.conf.pacnew e mirrorlist.pacorig .
Adesso cosa faccio. Cancello quelli vecchi e rinomino i nuovi?
no puoi lasciarlo lì, tanto non li usa
per quanto riguarda le mirrorlist, sono state inserite con il nuovo pacman per evitare di creare liste per ogni repository....
prima c'era file per core, extra, ecc... adesso c'è un solo file con delle variabili negli url e il server viene scelto dinamicamente a seconda della velocità di accesso e altri parametri
gianlucab70
24-12-2008, 15:03
Ciao.
ma dopo aver modificato la riga interfaces avevi dato /etc/rc.d/network restart???
Purtroppo no. ..A quanto pare init.d è sostituito da rc.d...buono a sapersi.
no puoi lasciarlo lì, tanto non li usa
per quanto riguarda le mirrorlist, sono state inserite con il nuovo pacman per evitare di creare liste per ogni repository....
prima c'era file per core, extra, ecc... adesso c'è un solo file con delle variabili negli url e il server viene scelto dinamicamente a seconda della velocità di accesso e altri parametri
Purtroppo li ho già rinominati.
Cmq. ho problemi di ridondanza (si dice così quando dice "package unavaiable" e poi lo scarica).
Quali repo dovrei settare?
Inoltre mi dice che non trova il db.community.
pabloski
24-12-2008, 15:14
Ciao.
Purtroppo no. ..A quanto pare init.d è sostituito da rc.d...buono a sapersi.
perchè implementa il modello BSD....invece di avere una directory per ogni runlevel, usa un file per ogni runlevel
ovviamente di default arch implementa solo rc.conf
Purtroppo li ho già rinominati.
Cmq. ho problemi di ridondanza (si dice così quando dice "package unavaiable" e poi lo scarica).
Quali repo dovrei settare?
Inoltre mi dice che non trova il db.community.
direi che è un problema dei server da cui stai scaricando che non sono aggiornati, oppure è possibile che la lista in cache non sia aggiornata
tieni presente che prima di installare un pacchetto è buona norma dare
pacman -Sy per aggiornare la lista dei pacchetti
anzi avendo aggiornato pacman è la prima cosa da fare
gianlucab70
24-12-2008, 21:46
Cmq. Vi faccio vedere come ho configurato i repo, dateci un'occhiata:
mirrorlist
#
# Arch Linux repository mirrorlist
#
# - Italy
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/current/os/i686
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/extra/os/i686
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/core/os/i686
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/community/os/i686
pacman.conf
#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives
#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled
# Pacman won't upgrade packages listed in IgnorePkg and members of
IgnoreGroup
#IgnorePkg =
#IgnoreGroup =
#NoUpgrade =
#NoExtract =
# Misc options (all disabled by default)
#NoPassiveFtp
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload
#
# REPOSITORIES
# - can be defined here or included from another file
# - pacman will search repositories in the order defined here
# - local/custom mirrors can be added here or in separate files
# - repositories listed first will take precedence when packages
# have identical names, regardless of version number
# - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
# [repo-name]
# Server = ServerName
# Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#
# Testing is disabled by default. To enable, uncomment the following
# two lines. You can add preferred servers immediately after the header,
# and they will be used before the default mirrors.
#[testing]
#Include = /etc/pacman.d/mirrorlist
[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist
##[current]
##Include = /etc/pacman.d/mirrorlist
# An example of a custom package repository. See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs
in pacman.conf aggiungi la riga
ILoveCandy nella sezione [options], non te ne pentirai :sofico:
manu@2986
24-12-2008, 22:01
In mirrorlist non serve che tu specifichi il repository..basta fare così...
Setup-Entry
Server = ftp://archlinux.puzzle.ch/$repo/os/x86_64
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/x86_64
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/x86_64
gianlucab70
24-12-2008, 22:36
In mirrorlist non serve che tu specifichi il repository..basta fare così...
Setup-Entry
Server = ftp://archlinux.puzzle.ch/$repo/os/x86_64
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/x86_64
Server = ftp://mir1.archlinuxfr.org/archlinux/$repo/os/x86_64
....e visto che non mi interessano i repo svizzeri e francesi ed uso sistema 32bit faccio così:
# - Italy
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/extra/os/i686
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/core/os/i686
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/community/os/i686
;)
ILoveCandy nella sezione [options], non te ne pentirai :confused: :eek:
nun capisc'....:D
#The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
ILoveCandy
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
:)
manu@2986
25-12-2008, 00:29
....e visto che non mi interessano i repo svizzeri e francesi ed uso sistema 32bit faccio così:
# - Italy
Server = ftp://mi.mirror.garr.it/mirrors/archlinux/$repo/os/i686
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/extra/os/i686
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/core/os/i686
#Server = ftp://mi.mirror.garr.it/mirrors/archlinux/community/os/i686
;)
:confused: :eek:
nun capisc'....:D
Io uso quelli svizzeri perchè sono un po' più veloci rispetto a quelli italiani...che comunque sono "la seconda scelta".....
gianlucab70
25-12-2008, 12:59
#The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
ILoveCandy
#RootDir = /
#DBPath = /var/lib/pacman/
#CacheDir = /var/cache/pacman/pkg/
#LogFile = /var/log/pacman.log
HoldPkg = pacman glibc
:)
....Agg' capit' a pusizion'. Ma che signific'? ILoveCandy? :D :D :D
....Agg' capit' a pusizion'. Ma che signific'? ILoveCandy? :D :D :D
aggiungilo, installa qualcosa e lo scoprirai :D
vBulletin® v3.6.4, Copyright ©2000-2025, Jelsoft Enterprises Ltd.