Swaret.conf Problema nella scelta di Interfaccia di rete

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
Rispondi
MichaelG
Linux 0.x
Linux 0.x
Messaggi: 27
Iscritto il: gio 8 nov 2012, 8:12
Slackware: 14.0
Kernel: 3.2.29
Desktop: XFC4
Località: Varese

Swaret.conf Problema nella scelta di Interfaccia di rete

Messaggio da MichaelG »

Ciao a tutti,
ho un problema con swaret, dopo averlo installato ho preparato il file di configurazione, mettendo current in version e mettendo wlan0 in NIC (solo queste due opzioni rispetto il config originale).
Il problema è che quando vado ad lanciare "swaret --upgrade" mi dice:

Codice: Seleziona tutto

# swaret --update
swaret 1.6.3-2

Network Connection down!
Please, take a look to 'NIC' in /etc/swaret.conf!

Codice: Seleziona tutto

###########################################################
#
# swaret.conf, Version: 1.6.3
# 
### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###
# 
# Define a valid Slackware Linux Version.
# (Used for Dependency Support and other Features)
#
# NOTE: If you want to use Slackware Linux Current,
#       set VERSION to 'current' (VERSION=current).
#         
VERSION=current
#         
# Define the language for status and error messages
LANGUAGE=ENGLISH
#         
# ----------------------------------------------------------
# Define Slackware (8.1 or Higher or Current) Linux Mirrors.
# (Used for Official Slackware Linux Packages)
# (Slackware Linux Mirrors available at http://www.slackware.com)
# 
# Syntax: ROOT=PROTOCOL:URL
#
# NOTE: swaret will use the order of the specified ROOT URL's.
#
#ROOT=file:/mnt/cdrom
#ROOT=file:/mnt/dvdrom
#ROOT=file:/mnt/usbmemstick
ROOT=ftp://ftp.nluug.nl/pub/os/Linux/distr/slackware/slackware-$VERSION
ROOT=http://sunsite.cnlab-switch.ch/ftp/mirror/slackware/slackware-$VERSION
ROOT=ftp://ftp.slackware.no/pub/linux/slackware/slackware-$VERSION
ROOT=http://www.slackware.no/slackware/slackware-$VERSION
ROOT=ftp://ftp.slackware.at/slackware-$VERSION
ROOT=http://www.slackware.at/data/slackware-$VERSION
ROOT=ftp://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
ROOT=http://ftp.planetmirror.com/pub/slackware/slackware-$VERSION
#ROOT=rsync://rsync.slackware.no/slackware/slackware-$VERSION
#ROOT=rsync://rsync.slackware.at/slackware/slackware-$VERSION
#ROOT=file:/pub/slackware
#ROOT=file:/mnt/nfsshare/slackware
#ROOT=file:/mnt/sambashare/slackware
#         
# -----------------------------------------------------------
# Define Repository URL's with Slackware Linux Packages.
# (Used for Repository Slackware Linux Packages)
# (Repository URL's available at http://swaret.sourceforge.net and
#   at http://www.linuxpackages.net/mirrors.php)
# 
# NOTE 1: To use a Local Repository or Remote Repository,
#         be sure it contains the following Files:
#         - CHECKSUMS.md5 (For MD5 Sum, REQUIRED)
#         - FILELIST.TXT (For Package Name + Size, REQUIRED)
#         - PACKAGES.TXT (For Package Description, NOT REQUIRED)
#         - MANIFEST.bz2 (For Dependency Support, NOT REQUIRED)
# NOTE 2: To create your own Repository, use 'swaret-tools'.
#         You can get 'swaret-tools' at http://swaret.sourceforge.net!
# 
# Syntax: REPOS_ROOT=REPOSITORYNAME%PROTOCOL:URL
# NOTE 1: The REPOSITORY NAME can only be ONE Keyword!
# NOTE 2: swaret will use the order of the specified REPOS_ROOT URL's.
# 
#REPOS_ROOT=LinuxPackagesDOTNET%http://www2.linuxpackages.net/packages/Slackware-10.0
#
#REPOS_ROOT=My_Slackware_Packages_On_CD-ROM%file:/mnt/cdrom
#REPOS_ROOT=My_Slackware_Packages_On_DVD-ROM%file:/mnt/dvdrom
#REPOS_ROOT=My_Slackware_Packages_On_USB_Memory_Stick%file:/mnt/usbmemstick
#REPOS_ROOT=SomeRemoteRepository%ftp://ftp.someremoterepository.net/slackware/slackware-10.0
#REPOS_ROOT=SomeRemoteRepository%http://www.someremoterepository.net/slackware/slackware-10.0
#REPOS_ROOT=SomeRemoteRepository%rsync://rsync.someremoterepository.net/slackware/slackware-10.0
# 
# ------------------------------------------------------------
# Define Libraries (8.1 or Higher or Current) List Mirrors.
# (Used for Dependency Support)
# 
# NOTE 1: You need to specify a Libraries List Mirror which
#         contains a 'libraries-VERSION' File.
#    
# NOTE 2: To create the Libraries List, use 'swaret-tools'.
#         You can get 'swaret-tools' at http://swaret.sourceforge.net!
#         You can also clear all DEP_ROOT Variable(s) which will
#         allow swaret to create the Libraries List for you
#         during Dependency Check using the defined ROOT Variable(s) above.
#
# Syntax: DEP_ROOT=PROTOCOL:URL
# 
# NOTE: swaret will use the order of the specified DEP_ROOT URL's.
# 
DEP_ROOT=http://swaret.sourceforge.net
#DEP_ROOT=file:/mnt/cdrom
#DEP_ROOT=file:/mnt/dvdrom
#DEP_ROOT=file:/mnt/usbmemstick
#DEP_ROOT=file:/pub/swaret
#DEP_ROOT=file:/mnt/nfsshare/swaret
#DEP_ROOT=file:/mnt/sambashare/swaret
#
# ----------------------------------------------------------
# General Settings
# 
# Do you want swaret to use Random Slackware Linux Mirrors?
# -> 1 for yes, 0 for no.
# 
RANDOMR=0
#
# Do you want swaret to back-up your packages when upgradeing?
# -> If set to 1, old packages are backed up in $CACH_DIR/rollback.
#    Normally this is /var/swaret/rollback.  ROLLBACKMAX is the number
#    of "upgrades" that will be backed up before old backups will be
#    removed.  Turning on rollback means upgrading packages takes
#    longer, but it is more safe.
# -> If set to 0, swaret will not back up packages.
#
ROLLBACK=0
ROLLBACKMAX=3
# 
# Do you want swaret to parse all the Package Descriptions?
# -> If set to 1, swaret will also match Packages whose Description
#    is matching the Keyword(s) you specify after --ACTION.
#    NOTE: swaret will parse all the Package Descriptions for this,
#          and might slow down swaret when using an older System.
# -> If set to 0, swaret will not use Package Descriptions
#    to match one or more Packages.
# 
USEPKGDESC=0
# 
# If you don't want swaret to Upgrade, Install, Re-Install, Download,...
# some Packages, add the KEYWORDS to the EXCLUDE Variable.
# To disable Exclude Method: swaret --exclude -off
# To enable Exclude Method: swaret --exclude -on
# 
# NOTE: You can add ANY EXTENDED REGEXP (Regular Expression) to the EXCLUDE Variable(s)
#
# Basic Exclude
EXCLUDE=kernel alsa lilo
EXCLUDE=swaret
EXCLUDE=aaa_
EXCLUDE=MANIFEST.bz2$
EXCLUDE=.*dl$ .*PACKAGER$ .*MYBUILD$
# 
# Advanced Exclude
#
# Advanced Exclude
# Syntax: KEYWORD[DONT_EXCLUDE_ME_KEYWORD1,DONT_EXCLUDE_ME_KEYWORD2,...]
# Example: kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
#
#EXCLUDE=kde-i18n[nl,en_GB] koffice-i18n[nl,en_GB]
#
# Do you want to enable Dependency Check?
# -> If set to 1, swaret will start the Dependency Check after
#    every Upgrade, Install and Re-Install Procedure.
# -> If set to 0, swaret will not start the Dependency Check
#    after any Procedure.
#
DEPENDENCY=1
#
# Do you want swaret to Search for missing Libraries (and Fix)
# which could be found on your System, but not tracked by ldconfig?
# -> 1 for yes, 0 for no.
#
DSEARCHLIB=1
#
# Set to 1, if you want swaret to use the 'slocate' program
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=0
#
# Start MD5 Check after Fetching Packages, Patches and Sources?
# -> 1 for yes, 0 for no.
#
MD5CHECK=1
#
# Start GPG Signature Check after Fetching Packages, Patches and Sources?
#
# NOTE: Check out F.A.Q. (--faq gpg) how to Import a Public GPG Key which
#       will be used by the GPG Signature Check.
#
# -> 1 for yes, 0 for no.
#
# to Search for missing Libraries.
# (be sure to issue the 'updatedb' Command regularly!)
# If DSEARCHM is set to 0, swaret will use
# the 'find' program to locate missing Libraries.
# -> 1 for yes, 0 for no.
#
DSEARCHM=0
#
# Start MD5 Check after Fetching Packages, Patches and Sources?
# -> 1 for yes, 0 for no.
#
MD5CHECK=1
#
# Start GPG Signature Check after Fetching Packages, Patches and Sources?
#
# NOTE: Check out F.A.Q. (--faq gpg) how to Import a Public GPG Key which
#       will be used by the GPG Signature Check.
#
# -> 1 for yes, 0 for no.
#
GPGCHECK=0
#
# Show Description for Packages during
# Upgrade, Install, Re-Install,... Procedures?
# -> If set to 0, you will not see a Description.
# -> If set to 1, you will see a Description.
# 
DESC=0
# 
# Cache Directory for (Repository) Packages and Sources.
#
CACHE_DIR=/var/swaret
#
# Enable Logging?
# -> 1 for yes, 0 for no.
# 
LOG=1
#
# swaret Log File
# 
LOG_FILE=/var/log/swaret
# 
#
DESC=0
#
# Cache Directory for (Repository) Packages and Sources.
#
CACHE_DIR=/var/swaret
#
# Enable Logging?
# -> 1 for yes, 0 for no.
#
LOG=1
#
# swaret Log File
#
LOG_FILE=/var/log/swaret
#
# Show Warnings?
# -> 1 for yes, 0 for no.
#
WARNINGS=1
#
# Show Information?
# -> 1 for yes, 0 for no.
#
INFORMATION=1
#
# -------------------------------------------------------------
# Network Settings
#
# Network Interface
# Use this if you have a Network Interface.
#
NIC=wlan0
#
# Local Interface
# Use this if you do not have a Network Interface.
#
# For Example (CD-ROM):
# You got a Slackware Linux CD-ROM,
# mount the CD-ROM to /mnt/cdrom and
# set ROOT to 'file:/mnt/cdrom' in /etc/swaret.conf.
# Also, set NIC to 'lo' (Local Loop Device).
#
# NIC=lo
#
# Progress
# If set to 0, swaret will use the '%' Download Interface.
# If set to 1, swaret will use the 'size' Download Interface.
# If set to 2, swaret will use the 'wget/rsync' Download Interface.
#
PROGRESS=0
#
# Timeout for wget and/or rsync.
# -> Number of seconds for Timeout
#
TIMEOUT=35
#
# Retries for wget and/or rsync.
# -> Number of Retries
#
RETRIES=5
#
# Behind a Firewall? Using FTP Mirrors?
# -> 1 for yes, 0 for no
#
PASSIVE_FTP=1
#
# If you want HTTP or FTP Proxy Support,
# uncomment and Setup the following Variable:
#
# WGET_PROXY=http://IP or HOST:PORT
#
# If you want RSYNC Proxy Support,
# uncomment and Setup the following Variable:
#
# RSYNC_PROXY=IP or HOST:PORT
#
### /etc/swaret.conf - SWARET EXAMPLE CONFIGURATION FILE ###

Ho provato anche a mettere ppp0 e eth0 anche se non avevano senso, giusto per provare e infatti nulla.

Codice: Seleziona tutto

# ifconfig
eth0: flags=4099<UP,BROADCAST,MULTICAST>  mtu 1500
        ether 00:16:d4:e3:58:98  txqueuelen 1000  (Ethernet)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
        device interrupt 18  

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 16436
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 196  bytes 16988 (16.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 196  bytes 16988 (16.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlan0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.1.199  netmask 255.255.255.0  broadcast 192.168.1.255
        inet6 fe80::21b:77ff:fe35:73ef  prefixlen 64  scopeid 0x20<link>
        ether 00:1b:77:35:73:ef  txqueuelen 1000  (Ethernet)
        RX packets 36435  bytes 30107310 (28.7 MiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 28922  bytes 5998827 (5.7 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
Cosa potrebbe essere?

Grazie in anticipo..
o0o0o0 Powered By Slackware GNU/Linux 0o0o0o

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3022
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 6.6.16
Desktop: lxde
Località: Pisa
Contatta:

Re: Swaret.conf Problema nella scelta di Interfaccia di rete

Messaggio da ponce »

MichaelG ha scritto:Cosa potrebbe essere?
il motivo e' che swaret non e' piu' aggiornato da 6 anni, devi usare un'altra applicazione.

http://sourceforge.net/projects/swaret/ ... ret/1.6.3/

MichaelG
Linux 0.x
Linux 0.x
Messaggi: 27
Iscritto il: gio 8 nov 2012, 8:12
Slackware: 14.0
Kernel: 3.2.29
Desktop: XFC4
Località: Varese

Re: Swaret.conf Problema nella scelta di Interfaccia di rete

Messaggio da MichaelG »

Cosa mi consigli alternativo a Swaret?
o0o0o0 Powered By Slackware GNU/Linux 0o0o0o

Avatar utente
tornadomig
Linux 3.x
Linux 3.x
Messaggi: 579
Iscritto il: gio 30 set 2010, 15:17
Nome Cognome: Giorgio
Slackware: Current64 multilib
Kernel: -current
Desktop: Xfce

Re: Swaret.conf Problema nella scelta di Interfaccia di rete

Messaggio da tornadomig »

ciao e benvenuto! poche righe poi porta pazienza devo scappare

io ti consiglio di lasciar perdere questi package manager, slack non è concepita per questo, specialmente ora. parere personale!

usa slackpkg per gli aggiornamenti di sistema della slackware che ti sei installato. qui trovi oltre ai vari threads sull'argomento, un bel tutorial o wiki molto semplice.

poi devi mettere mano al terminale e installare così i pacchetti che hai deciso di utilizzare. ci sono i repository di slacky, affidabilissimi e curati, gli slackbuilds di slackbuilds.org per cominciare.

le dipendenze le vedi di volta in volta a seconda del pacchetto. occhio all'ordine di installazione. io consiglio sempre di fare a manina, ti impratichisci di più e vedi poi le malizie da impiegare.

ho provato una volta slackyd, installabile dal repo di slacky, che controlla le dipendenze ma ho preferito eseguire tutto manualmente per tenere a mente io cosa ho installato.

per installare i pacchetti: essi possono essere binari (nel formato .tgz o .txz) e li installi con installpkg, o usi gli slackbuilds per compilarti e crearti il pacchetto eseguibile o ti butti nella compilazione dei sorgenti con la classica formula configure, make e make install.

mi scuso se ho scritto un pò affrettato ma ora devo proprio andare. guardati le guide come slackware essentials, sono utilissime e anche slackdocs che ci sono qui!

a risentirci!
rm -rf / && rm -rf . && rm -rf *

MichaelG
Linux 0.x
Linux 0.x
Messaggi: 27
Iscritto il: gio 8 nov 2012, 8:12
Slackware: 14.0
Kernel: 3.2.29
Desktop: XFC4
Località: Varese

Re: Swaret.conf Problema nella scelta di Interfaccia di rete

Messaggio da MichaelG »

Uhm, bene utilizzerò il consiglio di non usare package manager, difatti ho scelto Slackware proprio perché ha questa particolarità.
Per le dipendenze, quando vado ad installare una nuova applicazione, nel caso mi risponde che mancano delle librerie, devo navigare su internet, trovare il programma che contiene la libreria e installare tutto il programma, giusto? E' questo il procedimento? Grazie mille
o0o0o0 Powered By Slackware GNU/Linux 0o0o0o

Avatar utente
ponce
Iper Master
Iper Master
Messaggi: 3022
Iscritto il: mer 5 mar 2008, 16:45
Nome Cognome: Matteo Bernardini
Slackware: slackware64-current
Kernel: 6.6.16
Desktop: lxde
Località: Pisa
Contatta:

Re: Swaret.conf Problema nella scelta di Interfaccia di rete

Messaggio da ponce »

no.
Devi fare un installazione completa di slackware (unica supportata e la migliore per prendere confidenza con la distribuzione): per le aggiunte puoi decidere se affidarti ai pacchetti precompilati di slacky.eu (le dipendenze sono indicate nella pagina del pacchetto sul sito e sono disponibili sempre sul solito sito) o se farteli da solo con gli script di slackbuilds.org (in questo caso leggi le faq e l'howto, le dipendenze sono indicate nella pagina del pacchetto sul sito e sono disponibili sempre sul solito sito).

- installa solo pacchetti per slackware compilati sulla/per la versione di slackware che stai usando e provenienti sempre dalla solita sorgente esterna a quella ufficiale; non mescolare pacchetti provenienti da diversi repository: sceglitene uno, quello che per le tue esigenze sembra piu' completo e affidabile;
- non installare programmi manualmente con "configure; make; make install", senno' in men che non si dica avrai un sistema ingestibile, non potendo tenere traccia dei file installati nel sistema.

Avatar utente
useless
Staff
Staff
Messaggi: 3896
Iscritto il: dom 12 ott 2003, 0:00
Località: A place where the streets have no name
Contatta:

Re: Swaret.conf Problema nella scelta di Interfaccia di rete

Messaggio da useless »

Concordo, ma almeno per gli aggiornamenti (e l'installazione, magari, se non fai l'installazione completa) dei pacchetti di base consiglio di usare almeno slackpkg, che ormai è parte dei pacchetti ufficiali.

Swaret è ormai vecchio e (credo) non più supportato da nessuno.

Rispondi