Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[PROBLEMA STRANO]hostname , netmount, net
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page Previous  1, 2  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Sat Dec 09, 2006 3:34 pm    Post subject: Reply with quote

^Stefano^ wrote:
questa due righe sono chiare
Code:
Dec  9 15:15:30 localhost rc-scripts: You are using a deprecated configuration syntax for eth0
Dec  9 15:15:30 localhost rc-scripts: You are advised to read /etc/conf.d/net.example and upgrade it accordingly

come ti sei comportato in proposito?
postaci /etc/conf.d/net


Code:
iface_eth0="dhcp"
dhcpcd_eth0=""
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sat Dec 09, 2006 3:55 pm    Post subject: Reply with quote

joke wrote:
^Stefano^ wrote:
questa due righe sono chiare
Code:
Dec  9 15:15:30 localhost rc-scripts: You are using a deprecated configuration syntax for eth0
Dec  9 15:15:30 localhost rc-scripts: You are advised to read /etc/conf.d/net.example and upgrade it accordingly

come ti sei comportato in proposito?
postaci /etc/conf.d/net


Code:
iface_eth0="dhcp"
dhcpcd_eth0=""


il mio file /etc/conf.d/net:
Code:

modules_eth0=( "dhcpcd" )
config_eth0=( "dhcp" )
dhcpcd_eth0="-t 5"


prova ad inserire queste è commentare le tue ovviamente per eth0.,
ciauz
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Sat Dec 09, 2006 5:12 pm    Post subject: Reply with quote

fatto non mi da piu quel problema ma cmq non riesce ad avviare netmount:
Code:
Dec  9 18:05:31 localhost rc-scripts: ERROR:  cannot start netmount as net.eth0 could not start
Dec  9 18:05:37 localhost r8169: eth0: link up
Dec  9 18:05:37 localhost r8169: eth0: link up
Dec  9 18:05:37 localhost dhcpcd[5328]: eth0: dhcpcd 3.0.5 starting
Dec  9 18:05:37 localhost dhcpcd[5328]: eth0: ethernet address = 0:18:f3:38:56:cb
Dec  9 18:05:37 localhost dhcpcd[5328]: eth0: broadcasting for a lease
Dec  9 18:05:37 localhost dhcpcd[5328]: eth0: offered lease of 192.168.1.102
Dec  9 18:05:37 localhost dhcpcd[5328]: eth0: leased 192.168.1.102 for 43200 seconds
Dec  9 18:05:37 localhost dhcpcd[5328]: eth0: adding IP address 192.168.1.102 netmask 255.255.255.0
Dec  9 18:05:37 localhost dhcpcd[5328]: eth0: adding route to 0.0.0.0 (0.0.0.0) via 192.168.1.254, metric 0
Dec  9 18:05:40 localhost sshd[5505]: Server listening on :: port 22.
Dec  9 18:05:40 localhost sshd[5505]: error: Bind to port 22 on 0.0.0.0 failed: Address already in use.
Dec  9 18:05:40 localhost cron[5574]: (CRON) STARTUP (V5.0)
Dec  9 18:05:47 localhost eth0: no IPv6 routers present
Dec  9 18:05:47 localhost gdm[4832]: pam_unix(gdm:session): session opened for user mik by (uid=0)
Dec  9 18:05:49 localhost (mik-5694): starting (version 2.14.0), pid 5694 user 'mik'
Dec  9 18:05:49 localhost (mik-5694): Resolved address "xml:readonly:/etc/gconf/gconf.xml.mandatory" to a read-only configuration source at position 0
Dec  9 18:05:49 localhost (mik-5694): Resolved address "xml:readwrite:/home/mik/.gconf" to a writable configuration source at position 1
Dec  9 18:05:49 localhost (mik-5694): Resolved address "xml:readonly:/etc/gconf/gconf.xml.defaults" to a read-only configuration source at position 2
Dec  9 18:05:55 localhost (mik-5694): Resolved address "xml:readwrite:/home/mik/.gconf" to a writable configuration source at position 0
Dec  9 18:05:56 localhost UDF-fs: Partition marked readonly; forcing readonly mount
Dec  9 18:05:56 localhost UDF-fs INFO UDF 0.9.8.1 (2004/29/09) Mounting volume 'Il Codice da Vi', timestamp 2006/09/12 07:38 (103c)

dopo il riavvio il mio rc-status default e' :
Code:
Runlevel: default
 local                                                                                                                                           [ started  ]
 netmount                                                                                                                                        [ stopped  ]
 syslog-ng                                                                                                                                       [ started  ]
 vixie-cron                                                                                                                                      [ started  ]
 samba                                                                                                                                           [ started  ]
 hdparm                                                                                                                                          [ started  ]
 sshd                                                                                                                                            [ started  ]
 hald                                                                                                                                            [ started  ]
 xdm                                                                                                                                             [ started  ]
 bluetooth                                                                                                                                       [ started  ]
 net.eth0                                                                                                                                        [ started  ]

non riesco a capire il perche..
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sat Dec 09, 2006 6:17 pm    Post subject: Reply with quote

:twisted:

Last edited by djinnZ on Mon Feb 23, 2009 8:12 pm; edited 1 time in total
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Sat Dec 09, 2006 6:44 pm    Post subject: Reply with quote

djinnZ wrote:
Ho fatto la prova e non capisco perchè non ti funziona. Anche usando la vecchia sintassi non mi da alcun errore.
RC_NET_STRICT_CHECING come è impostato?
RC_PARALLEL_STARTUP?
netmount deve partire _dopo_ net non prima.


si il problema e' quello che parte prima...cmq per ora ho risolto che ho tolto netmount da default e lo faccio partire dopo a mano cmq :
Code:
RC_NET_STRICT_CHECING="no"
RC_PARALLEL_STARTUP="no"
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sat Dec 09, 2006 9:45 pm    Post subject: Reply with quote

joke wrote:
djinnZ wrote:
Ho fatto la prova e non capisco perchè non ti funziona. Anche usando la vecchia sintassi non mi da alcun errore.
RC_NET_STRICT_CHECING come è impostato?
RC_PARALLEL_STARTUP?
netmount deve partire _dopo_ net non prima.


si il problema e' quello che parte prima...cmq per ora ho risolto che ho tolto netmount da default e lo faccio partire dopo a mano cmq :
Code:
RC_NET_STRICT_CHECING="no"
RC_PARALLEL_STARTUP="no"


hai provato ha fare:
Code:

rc-update del net.eth0 default

lasciando netmount invece???

ciauz
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Sat Dec 09, 2006 10:26 pm    Post subject: Reply with quote

si ed e' tutto e' parte tutto normalemente!
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sat Dec 09, 2006 10:29 pm    Post subject: Reply with quote

joke wrote:
si ed e' tutto e' parte tutto normalemente!


quindi risolto ??? giusto ???
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Sun Dec 10, 2006 12:33 am    Post subject: Reply with quote

joke wrote:

Code:
iface_eth0="dhcp"
dhcpcd_eth0=""


toglile e lascia /etc/conf.d/net vuoto. Per avere tutto da dhcp non serve configurare quel file. inoltre come ti ho già detto, hai una riga in /etc/conf.d/rc che dice di non inizializzare alcuna interfaccia di rete (!net.* vuol dire questo) quindi va modificata. Anche hotplug andrebbe installato.
Fatto questo dovresti riuscire a far partire net.eth0 e netmount al runlevel di default usando rc-update e non a mano.
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Sun Dec 10, 2006 1:01 am    Post subject: Reply with quote

^Stefano^ wrote:
joke wrote:

Code:
iface_eth0="dhcp"
dhcpcd_eth0=""


toglile e lascia /etc/conf.d/net vuoto. Per avere tutto da dhcp non serve configurare quel file. inoltre come ti ho già detto, hai una riga in /etc/conf.d/rc che dice di non inizializzare alcuna interfaccia di rete (!net.* vuol dire questo) quindi va modificata. Anche hotplug andrebbe installato.
Fatto questo dovresti riuscire a far partire net.eth0 e netmount al runlevel di default usando rc-update e non a mano.


hotplug e' installato e funziona benissimo!e nel caso di rc,ho provato in tutti i modi ma nulla
Back to top
View user's profile Send private message
djinnZ
Advocate
Advocate


Joined: 02 Nov 2006
Posts: 4831
Location: somewhere in L.O.S.

PostPosted: Sun Dec 10, 2006 4:33 pm    Post subject: Reply with quote

:twisted:

Last edited by djinnZ on Mon Feb 23, 2009 8:13 pm; edited 1 time in total
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Sun Dec 10, 2006 5:31 pm    Post subject: Reply with quote

Scusa joke ma nei servizi che ci hai postato hotplug ne c'è, ne è avviato. Ti ricordo che andrebbe usato in concomitanza con coldplug dove quest'ultimo si avvia al default e hotplug al boot assieme ad udev. i tuoi post non rispecchiano questa situazione sul tuo sistema.
per /etc/conf.d/rc puoi postarmi come l'hai configurato adesso che voglio fare delle prove? Hai tolto tutte le configurazioni da /etc/conf.d/net?
dando per esempio un
Code:
rc-update del net.eth0 && rc-update del netmount && rc-update add netmount && rc-update add net.eth0 && rc-update del net.wlan0 && reboot

non ottieni un avvio corretto?
Ad ogni modo concordo anche io con djinnZ, o segui il mio metodo e rispondi di conseguenza e dettagliatamente o segui il suo. Così si fa solo confusione.
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Sun Dec 10, 2006 6:20 pm    Post subject: Reply with quote

io uso la versione sperimentale di udev, un hotplug-by-udev che non supporta coldplug...ho trovato anche un topic a proposito https://forums.gentoo.org/viewtopic-t-499063-highlight-coldplug.html ed hotplug mi funziona alla perfezione!
posto il mio rc :
Code:
 RC_TTY_NUMBER=11
RC_PARALLEL_STARTUP="no"
RC_INTERACTIVE="yes"
RC_HOTPLUG="yes"
RC_COLDPLUG="no"
RC_PLUG_SERVICES="!net.*"
RC_NET_STRICT_CHECKING="no"
RC_DOWN_INTERFACE="yes"
RC_VOLUME_ORDER="raid evms lvm dm"
RC_VERBOSE="no"
RC_BOOTLOG="no"
RC_BOOTCHART="no"
RC_USE_FSTAB="no"
RC_USE_CONFIG_PROFILE="yes"
RC_FORCE_AUTO="no"
RC_DEVICES="auto"
RC_DEVICE_TARBALL="no"
RC_SWAP_ERASE="no"
RC_DMESG_LEVEL="1"
RC_RETRY_KILL="yes"
RC_RETRY_TIMEOUT=1
RC_RETRY_COUNT=5
RC_FAIL_ON_ZOMBIE="no"
RC_KILL_CHILDREN="no"
svcdir="/var/lib/init.d"
svcmount="no"
svcfstype="tmpfs"
svcsize=2048


Edit: spero di non aver fatto una cavolata ma sembra che cosi veda tutto ok,ho provato a mettere net.eth0 nel run level boot invece che default e va tutto alla perfezione..prima di mettere il topic risolto chiedo conferma grazie a tutti per il vostro aiuto!
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Mon Dec 11, 2006 3:49 am    Post subject: Reply with quote

joke wrote:

Code:
 Runlevel: default
 local                                                              [ started  ]
 netmount                                                           [ stopped  ]
 syslog-ng                                                          [ started  ]
 vixie-cron                                                         [ started  ]
 hdparm                                                             [ started  ]
 sshd                                                               [ started  ]
 hald                                                               [ started  ]
 xdm                                                                [ started  ]
 bluetooth                                                          [ started  ]
 coldplug                                                           [ started  ]


Qua però coldplug c'è.
In compenso in /etc/conf.d/rc hai queste righe
Code:
RC_COLDPLUG="no"
RC_PLUG_SERVICES="!net.*"

Falla partire al boot, è la soluzione migliore. :evil:

P.S. nel post segnalato da te leggo:
.:chrome:. wrote:

si e no
è vero che le nuove versioni di udev integrano le funzioni di coldplug e hotplug, ma questo non è legato con il profilo 2006.1
le versioni di udev che hanno quella funzione sono ancora in testing, e quell'hotplug-by-udev non funziona sempre

sicuramente l'immediato futuro è quello, ma ti ripeto di fare attenzione a non confondere le cose. non c'è nessun legame con 2006.1


quindi direi che forse potresti, visto che siamo in due a proporre soluzioni che non vengono provate, darci informazioni più dettagliate (dici che non hai coldplug poi invece c'è, che hai cambiato la riga di rc e invece è ancora quella....) e provare a disinstallare il tuo udev in ~testing e installare hotplug+coldplug+udev del ramo stable.
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Mon Dec 11, 2006 11:48 am    Post subject: Reply with quote

^Stefano^ wrote:
joke wrote:

Code:
 Runlevel: default
 local                                                              [ started  ]
 netmount                                                           [ stopped  ]
 syslog-ng                                                          [ started  ]
 vixie-cron                                                         [ started  ]
 hdparm                                                             [ started  ]
 sshd                                                               [ started  ]
 hald                                                               [ started  ]
 xdm                                                                [ started  ]
 bluetooth                                                          [ started  ]
 coldplug                                                           [ started  ]


Qua però coldplug c'è.
In compenso in /etc/conf.d/rc hai queste righe
Code:
RC_COLDPLUG="no"
RC_PLUG_SERVICES="!net.*"

Falla partire al boot, è la soluzione migliore. :evil:

P.S. nel post segnalato da te leggo:
.:chrome:. wrote:

si e no
è vero che le nuove versioni di udev integrano le funzioni di coldplug e hotplug, ma questo non è legato con il profilo 2006.1
le versioni di udev che hanno quella funzione sono ancora in testing, e quell'hotplug-by-udev non funziona sempre

sicuramente l'immediato futuro è quello, ma ti ripeto di fare attenzione a non confondere le cose. non c'è nessun legame con 2006.1


quindi direi che forse potresti, visto che siamo in due a proporre soluzioni che non vengono provate, darci informazioni più dettagliate (dici che non hai coldplug poi invece c'è, che hai cambiato la riga di rc e invece è ancora quella....) e provare a disinstallare il tuo udev in ~testing e installare hotplug+coldplug+udev del ramo stable.


ma stefano scusa dove lo vedi coldplug,allora lo avevo messo per provare,infatti se guardi su tutti i post dell'rc-status c'e' solo in uno..e l'ultimo rc che ho postato e' quello che secondo me e' giusto ed in piu trovo inutile installare hotplug+coldplug+udev quando cosi funziona perfettemente
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Mon Dec 11, 2006 2:25 pm    Post subject: Reply with quote

^Stefano^ wrote:
questa due righe sono chiare
Code:
Dec  9 15:15:30 localhost rc-scripts: You are using a deprecated configuration syntax for eth0
Dec  9 15:15:30 localhost rc-scripts: You are advised to read /etc/conf.d/net.example and upgrade it accordingly

come ti sei comportato in proposito?
postaci /etc/conf.d/net


allora ho seguito il tuo consiglio ho lsciato vuoto /etc/conf.d/net ed ho modificato rc sempre come hai detto tu
Back to top
View user's profile Send private message
^Stefano^
Guru
Guru


Joined: 20 Nov 2005
Posts: 394
Location: Ferrara

PostPosted: Mon Dec 11, 2006 3:17 pm    Post subject: Reply with quote

E va?
coma fai a dire "funziona perfettamente" quando hai un demone che non si avvia se non in manuale? Inoltre usi software in testing, che al 90% è proprio quello che ti da questo problema. Downgradare udev alla versione stabile e installare hotplug e coldplug, solo per una prova, non è una impresa così esosa. Vedi poi tu se ne vale, almeno dopo puoi dire con certezza il problema è udev il problema non è udev. Non me ne viene niente in tasca a me, cerco solo di aiutarti facendoti fare quello che ho fatto io sul mio pc. :)
Back to top
View user's profile Send private message
joke
Tux's lil' helper
Tux's lil' helper


Joined: 09 Apr 2006
Posts: 101

PostPosted: Mon Dec 11, 2006 4:06 pm    Post subject: Reply with quote

^Stefano^ wrote:
E va?
coma fai a dire "funziona perfettamente" quando hai un demone che non si avvia se non in manuale? Inoltre usi software in testing, che al 90% è proprio quello che ti da questo problema. Downgradare udev alla versione stabile e installare hotplug e coldplug, solo per una prova, non è una impresa così esosa. Vedi poi tu se ne vale, almeno dopo puoi dire con certezza il problema è udev il problema non è udev. Non me ne viene niente in tasca a me, cerco solo di aiutarti facendoti fare quello che ho fatto io sul mio pc. :)


se faccio partire eth0 al boot e non default netmount si avvia correttamente...cmq ora faccio una dowgranando udev
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum