Due problemi nell'installazione di Gentoo
  • In diretta da GamesVillage.it
    • News
    • -
    • In Evidenza
    • -
    • Recensioni
    • -
    • RetroGaming
    • -
    • Anteprime
    • -
    • Video
    • -
    • Cinema

Visualizzazione risultati da 1 a 9 di 9

Discussione: Due problemi nell'installazione di Gentoo

Cambio titolo
  1. #1
    swisstux
    Ospite

    Due problemi nell'installazione di Gentoo

    Ciao a tutti, sto provando ad installare gento sul mio PC ma ho due problemi. Sono arrivato nelle istruzioni al punto in cui devo riavviare la macchina, il primo problema sorge quando mi dice che non riesce ad impostare l'ora e che devo farlo manualmente. questo è il file del clock
    Spoiler:
    Codice:
    swisstux@cortana:~$ cat /media/sda4/etc/conf.d/clock 
    # /etc/conf.d/clock
    
    # Set CLOCK to "UTC" if your system clock is set to UTC (also known as
    # Greenwich Mean Time).  If your clock is set to the local time, then 
    # set CLOCK to "local".  Note that if you dual boot with Windows, then 
    # you should set it to "local".
    
    CLOCK="local"
    
    # Select the proper timezone.  For valid values, peek inside of the
    # /usr/share/zoneinfo/ directory.  For example, some common values are
    # "America/New_York" or "EST5EDT" or "Europe/Berlin".  If you want to
    # manage /etc/localtime yourself, set this to "".
    
    TIMEZONE="Europe/Berlin"
    
    # If you wish to pass any other arguments to hwclock during bootup, 
    # you may do so here.
    
    CLOCK_OPTS=""
    
    # If you want to set the Hardware Clock to the current System Time 
    # during shutdown, then say "yes" here.
    
    CLOCK_SYSTOHC="no"
    
    
    ### ALPHA SPECIFIC OPTIONS ###
    
    # If your alpha uses the SRM console, set this to "yes".
    SRM="no"
    
    # If your alpha uses the ARC console, set this to "yes".
    ARC="no"
    swisstux@cortana:~$

    ho windows vista sul pc

    in secondo luogo, problema piu serio, è la configurazione di rete. non mi è molto chiaro neppure dopo aver letto i vari manuali cosa devo fare. ho installto dhcpcd con emerge e questo è il file che penso sia cruciale:
    Codice:
    cortana / # cat /etc/conf.d/net
    # This blank configuration will automatically use DHCP for any net.*
    # scripts in /etc/init.d.  To create a more complete configuration,
    # please review /etc/conf.d/net.example and save your configuration
    # in /etc/conf.d/net (this file :]!).
    config_eth0=( "dhcp" )
    dhcp_eth0="nodns nontp nonis"
    durante il boot mi dice che è fuori timeout, se scrivo ifconfig eth0 c'è quindi dovrebbe funzionare, ma tuttavia non i connette alla rete

  2. #2
    Ingegnere sociale L'avatar di Fr4nk
    Registrato il
    01-08
    Località
    Laputa
    Messaggi
    3.345
    Hai provato a dare dhclient eth0 ?

  3. #3
    swisstux
    Ospite
    Citazione Fr4nk Visualizza Messaggio
    Hai provato a dare dhclient eth0 ?
    non c'è
    se do il dhcpcd eth0 mi dice che questa interfaccia è già stata inizializzata.
    questo il risultato di ifconfig:
    Codice:
    swisstux@cortana:~$ cat /media/sda4/home/swisstux/ifconfig.txt 
    eth0      Link encap:Ethernet  HWaddr 00:1B:FC:A3:BC:9B  
              inet addr:169.254.159.229  Bcast:169.254.255.255  Mask:255.255.0.0
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
    magari potrebbe essere un problema di hosts.. ma non ne sono sicuro.
    eccovi i relativi filetti:
    Codice:
    swisstux@cortana:~$ cat /media/sda4/etc/hosts
    # /etc/hosts: Local Host Database
    #
    # This file describes a number of aliases-to-address mappings for the for 
    # local hosts that share this file.
    #
    # In the presence of the domain name service or NIS, this file may not be 
    # consulted at all; see /etc/host.conf for the resolution order.
    #
    
    # IPv4 and IPv6 localhost aliases
    127.0.0.1    localhost
    ::1        localhost
    127.0.0.1     cortana.homenetwork cortana localhost
    
    
    #
    # Imaginary network.
    #10.0.0.2               myname
    #10.0.0.3               myfriend
    #
    # According to RFC 1918, you can use the following IP networks for private 
    # nets which will never be connected to the Internet:
    #
    #       10.0.0.0        -   10.255.255.255
    #       172.16.0.0      -   172.31.255.255
    #       192.168.0.0     -   192.168.255.255
    #
    # In case you want to be able to connect directly to the Internet (i.e. not 
    # behind a NAT, ADSL router, etc...), you need real official assigned 
    # numbers.  Do not try to invent your own network numbers but instead get one 
    # from your network provider (if any) or from your regional registry (ARIN, 
    # APNIC, LACNIC, RIPE NCC, or AfriNIC.)
    #
    swisstux@cortana:~$
    Codice:
    swisstux@cortana:~$ cat /media/sda4/etc/conf.d/hostname 
    # /etc/conf.d/hostname
    
    # Set to the hostname of this machine
    HOSTNAME="cortana"
    swisstux@cortana:~$

  4. #4
    swisstux
    Ospite
    Uhm, vi sto scrivendo da links mentre il pc mi sta compilando gnome (spero che vada tutto bene *sgrat sgrat*). In altre parole, smanettando un po' a casaccio alla fine la connessione ha funzionato, ora rimane il problema dell'ora.
    da quel poco che ne capisco potrebbe trattarsi di un problema del bios... che ne dite?

  5. #5
    Utente L'avatar di devilheart
    Registrato il
    01-03
    Messaggi
    28.310
    per la rete
    Codice:
    emerge dhcp
    per l'ora... non ho capito che problema hai

  6. #6
    gommosgol
    Ospite
    Ma perchè hai il fuso orario di Berlino?
    Quello Italiano è Europe/Rome, in svizzera non lo so, ma perchè berlin?

  7. #7
    swisstux
    Ospite
    Citazione devilheart Visualizza Messaggio
    per la rete
    Codice:
    emerge dhcp
    per l'ora... non ho capito che problema hai
    la rete come detto apposto, per l'ora: io ho impostato nel file /etc/conf.d/clock l'opzione CLOCK="local" in quanto ho windows in dual boot e questo mi viene detto di fare nella parte commentata del file. Al boot tuttavia non funziona e mi dice che devo impostare manualmente l'orario

  8. #8
    Utente L'avatar di devilheart
    Registrato il
    01-03
    Messaggi
    28.310
    impostalo con date

  9. #9
    swisstux
    Ospite
    Citazione gommosgol Visualizza Messaggio
    Ma perchè hai il fuso orario di Berlino?
    Quello Italiano è Europe/Rome, in svizzera non lo so, ma perchè berlin?
    perché quello che uso sempre, Europe/Zurich, non l'ho trovato

    ora provo date
    edit: sembra che abbia funzionato, ora rimane da vedere se pure al boot è tutto ok
    Ultima modifica di swisstux; 13-04-2008 alle 18:23:11

Regole di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •