Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ppp0: Device not found
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

Goto page 1, 2  Next  
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sun Apr 27, 2008 11:10 pm    Post subject: ppp0: Device not found Reply with quote

Salve a tutti. Ho visto qualcun altro sui forum internazionali avere questo problema ma nessuna risposta. Da quando ho aggiornato a baselayout 2 non sono più riuscito ad utilizzare lo script net.ppp0 per la connessione della ADSL via pppoe, ottengo questo con un restart:

Code:
ocalhost init.d # /etc/init.d/net.ppp0 restart
 * Bringing down interface ppp0
 *   Stopping pppd on ppp0                                                                            [ ok ]
 *   Removing addresses
ppp0: error fetching interface information: Device not found
ppp0: error fetching interface information: Device not found
 * Bringing up interface ppp0
 *   Starting pppd in ppp0 ...                                                                        [ ok ]
 *   Backgrounding ...
 * WARNING: net.ppp0 has started, but is inactive


Ho provato a riconfigurare tutto il file net seguendo le indicazioni per la migrazione a baselayout 2 ma nulla. Adesso è così:

Code:
#-----------------------------------------------------------------------------
# PPP
# For PPP support, emerge net-dialup/ppp
# PPP is used for most dialup connections, including ADSL.
# The older ADSL module is documented below, but you are encouraged to try
# this module first.
#
# You need to create the PPP net script yourself. Make it like so
#ln -s net.lo /etc/init.d/net.ppp0
#
# Each PPP interface requires an interface to use as a "Link"
#link_ppp0="/dev/ttyS0"       # Most PPP links will use a serial port
link_ppp0="eth0"             # PPPoE requires an ethernet interface
#link_ppp0="[itf.]vpi.vci"      # PPPoA requires the ATM VC's address
#link_ppp0="/dev/null"         # ISDN links should have this
#link_ppp0="pty 'your_link_command'"   # PPP links over ssh, rsh, etc
#
# Here you should specify what pppd plugins you want to use
# Available plugins are: pppoe, pppoa, capi, dhcpc, minconn, radius,
#          radattr, radrealms and winbind
plugins_ppp0="pppoe"         # Required plugin for PPPoE
#plugins_ppp0="pppoa vc-encaps"      # Required plugin for PPPoA with an option
#plugins_ppp0="capi"         # Required plugin for ISDN
#
# PPP requires at least a username. You can optionally set a password here too
# If you don't, then it will use the password specified in /etc/ppp/*-secrets
# against the specified username
username_ppp0='user'
password_ppp0='passwd'
# NOTE: You can set a blank password like so
#password_ppp0=
#
# The PPP daemon has many options you can specify - although there are many
# and may seem daunting, it is recommended that you read the pppd man page
# before enabling any of them
#pppd_ppp0="
#   maxfail 0   # WARNING: It's not recommended you use this
#         # if you don't specify maxfail then we assume 0
#   updetach    # If not set, "/etc/init.d/net.ppp0 start" will return
#         # immediately,  without waiting the link to come up
#         # for the first time.
#         # Do not use it for dial-on-demand links!
#   debug    # Enables syslog debugging
#   noauth   # Do not require the peer to authenticate itself
#   defaultroute   # Make this PPP interface the default route
#   usepeerdns      # Use the DNS settings provided by PPP
#
# On demand options
#   demand      # Enable dial on demand
#   idle 30      # Link goes down after 30 seconds of inactivity
#   10.112.112.112:10.112.112.113   # Phony IP addresses
#   ipcp-accept-remote   # Accept the peers idea of remote address
#   ipcp-accept-local   # Accept the peers idea of local address
#   holdoff 3    # Wait 3 seconds after link dies before re-starting
#
# Dead peer detection
#   lcp-echo-interval 15   # Send a LCP echo every 15 seconds
#   lcp-echo-failure 3   # Make peer dead after 3 consective
#            # echo-requests
#   
# Compression options - use these to completely disable compression
#   noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
#
# Dial-up settings
#   lock            # Lock serial port
#   115200         # Set the serial port baud rate
#   modem crtscts         # Enable hardware flow control
#   192.168.0.1:192.168.0.2   # Local and remote IP addresses
#"

pppd_ppp0="debug noauth defaultroute usepeerdns default-asyncmap
        ipcp-accept-remote ipcp-accept-local lcp-echo-interval 15 lcp-echo-failure 3 mru 1492 mtu 1492"

#
# Dial-up PPP users need to specify at least one telephone number
#phone_number_ppp0="12345689" # Maximum 2 phone numbers are supported
# They will also need a chat script - here's a good one
#chat_ppp0="
#ABORT BUSY
#ABORT ERROR
#ABORT 'NO ANSWER'
#ABORT 'NO CARRIER'
#ABORT 'NO DIALTONE'
#ABORT 'Invalid Login'
#ABORT 'Login incorrect'
#TIMEOUT 5
#'' ATZ
#OK AT # Put your modem initialization string here
#OK 'ATDT\T'
#TIMEOUT 60
#CONNECT ''
#TIMEOUT 5
#~-- ''
#"

# If the link require extra configuration - for example wireless or
# RFC 268 bridge - we need to depend on the bridge so they get
# configured correctly.
#rc_need_ppp0="net.nas0"

#WARNING: if MTU of the PPP interface is less than 1500 and you use this
#machine as a router, you should add the following rule to your firewall
#
#iptables -I FORWARD 1 -p tcp --tcp-flags SYN,RST SYN -j TCPMSS --clamp-mss-to-pmtu


Posto solo questa parte perché eth1 che ho impostato sopra funziona bene.
Riesco a collegarmi con il vecchio pppoe-start per fortuna, ma è scomodo e so che ormai è deprecated, quindi vorrei sistemare sto benedetto net.ppp0. Ho attivato il livello di debug ma non scrive nulla nel file messages. Avete mica qualche idea su cosa possa esserci che non va?
Grazie mille!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Tue May 06, 2008 10:43 am    Post subject: Reply with quote

C'è mica qualcuno che usa pppoe per la connessione ADSL tramite modular networking con baselayout2 che possa postare il suo /etc/conf.d/net? Ci sto diventando pazzo...
Grazie mille!
Back to top
View user's profile Send private message
gutter
Bodhisattva
Bodhisattva


Joined: 13 Mar 2004
Posts: 7162
Location: Aarau, Aargau, Switzerland

PostPosted: Wed May 07, 2008 6:32 pm    Post subject: Reply with quote

Domanda stupida, ma il modulo lo hai caricato correttamente?
_________________
Registered as User #281564 and Machines #163761
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Thu May 08, 2008 10:19 pm    Post subject: Reply with quote

Con me nessuna domanda è stupida. Di che modulo parli? Della scheda di rete nel kernel? Ha sempre funzionato ed ha smesso proprio nel momento in cui ho fatto l'upgrade a baselayout 2, sarebbe strano.

EDIT: Allora, ho provato a caricare ppp_generic e ne2k-pci tramite modprobe e non ho alcun errore (ho una 8029). Poi ho provato nuovamente e mi da gli stessi errori. Purtroppo la cosa è molto fastidiosa dato che ddclient ad esempio non funziona. Probabilmente perché vede inattivo ppp, non so.
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: Fri May 09, 2008 8:23 am    Post subject: Reply with quote

Luc484 wrote:
Con me nessuna domanda è stupida. Di che modulo parli? Della scheda di rete nel kernel? Ha sempre funzionato ed ha smesso proprio nel momento in cui ho fatto l'upgrade a baselayout 2, sarebbe strano.

EDIT: Allora, ho provato a caricare ppp_generic e ne2k-pci tramite modprobe e non ho alcun errore (ho una 8029). Poi ho provato nuovamente e mi da gli stessi errori. Purtroppo la cosa è molto fastidiosa dato che ddclient ad esempio non funziona. Probabilmente perché vede inattivo ppp, non so.


prova a configurare il file /etc/conf.d/net in questo modo:
Code:

config_eth0=( "null" )

config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=( "pppoe" )

username_ppp0='your-ISP-username-here'
password_ppp0='your-ISP-password-here'

pppd_ppp0=(

    "noauth"
    "defaultroute"
    "usepeerdns"
    "default-asyncmap"
    "ipcp-accept-remote"
    "ipcp-accept-local"
    "lcp-echo-interval 15"
    "lcp-echo-failure 3"
    "mru 1492"
    "mtu 1492"
    "debug"
)

_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Fri May 09, 2008 9:05 am    Post subject: Reply with quote

L'ho tradotto nella nuova sintassi e non cambia nulla, mi sa che non è proprio un problema di configurazione. Noto però da una settimana che lui, nonostante gli errori si collega e sembra funzionare correttamente. Cioè:

Code:
pppoe-stop
/etc/init.d/net.ppp0 start


mi dà un collegamento che sembrerebbe funzionante. Prima non era così, infatti non riuscivo a fare nulla in pratica. Ora però sembrerebbe ok. Gli errori mi infastidiscono un poco ma insomma... amen. Che non sia proprio un problema di moduli... perché ho letto nella guida che cambia il modo in cui vengono caricati con l'aggiornamento.
Grazie mille!
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 May 10, 2008 11:42 am    Post subject: Reply with quote

Luc484 wrote:
L'ho tradotto nella nuova sintassi e non cambia nulla, mi sa che non è proprio un problema di configurazione. Noto però da una settimana che lui, nonostante gli errori si collega e sembra funzionare correttamente. Cioè:

Code:
pppoe-stop
/etc/init.d/net.ppp0 start


mi dà un collegamento che sembrerebbe funzionante. Prima non era così, infatti non riuscivo a fare nulla in pratica. Ora però sembrerebbe ok. Gli errori mi infastidiscono un poco ma insomma... amen. Che non sia proprio un problema di moduli... perché ho letto nella guida che cambia il modo in cui vengono caricati con l'aggiornamento.
Grazie mille!

ti riposto la configurazione che uso io è funziona, l'unica cosa che mi ero dimenticato nel post precedente una voce, la voce depend_ppp0
Code:

config_eth0=( null ) (Specificare la propria interfaccia ethernet)
config_ppp0=( "ppp" )
link_ppp0="eth0" (Specificare la propria interfaccia ethernet)
plugins_ppp0=( "pppoe" )
username_ppp0='user'
password_ppp0='password'
pppd_ppp0=(
   "noauth"
   "defaultroute"
   "usepeerdns"
   "holdoff 3"
   "child-timeout 60"
   "lcp-echo-interval 15"
   "lcp-echo-failure 3"
   noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
)

depend_ppp0() {
  need net.eth0
}

_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Sat May 10, 2008 4:04 pm    Post subject: Reply with quote

Nemmeno così ci sono differenze.

Ho provato a configurare /etc/conf.d/net in modo tale che mi utilizzi il vecchio rp-pppoe e mi becco questo come output:

Code:
cluca linux # /etc/init.d/net.ppp0 restart
 * Bringing up interface ppp0
 *   ERROR: interface ppp0 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.ppp0 failed to start


Curioso no? Allora ho caricato a mano di nuovo ne2k-pci e ppp_generic, ma non ci sono state differenze. Può essere che abbia sbagliato qualcosa nella configurazione del kernel?
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: Mon May 12, 2008 2:36 pm    Post subject: Reply with quote

Luc484 wrote:
Nemmeno così ci sono differenze.

Ho provato a configurare /etc/conf.d/net in modo tale che mi utilizzi il vecchio rp-pppoe e mi becco questo come output:

Code:
cluca linux # /etc/init.d/net.ppp0 restart
 * Bringing up interface ppp0
 *   ERROR: interface ppp0 does not exist
 *   Ensure that you have loaded the correct kernel module for your hardware
 * ERROR: net.ppp0 failed to start


Curioso no? Allora ho caricato a mano di nuovo ne2k-pci e ppp_generic, ma non ci sono state differenze. Può essere che abbia sbagliato qualcosa nella configurazione del kernel?


domanda ma hai compilato nel kernel le relative voci :
Code:

CONFIG_PPP_MPPE=m
CONFIG_PPPOE=m


se non lo hai fatto , ecco qui il tuo problema......

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Tue May 13, 2008 8:39 am    Post subject: Reply with quote

mmh... io sono sempre più confuso... CONFIG_PPP_MPPE mi pare che sia un algoritmo di compressione, che si dice non essere utilizzato: http://gentoo-wiki.com/HOWTO_Connect_using_PPPoE#Kernel_Configuration. L'altro invece è PPPOE in kernel mode, ma anche quello mi pare che non sia utilizzato: http://www.gentoo.org/doc/it/handbook/handbook-x86.xml?part=1&chap=7. Provo a metterli comunque...

EDIT: Questo è l'output di lsmod:

Code:
cluca linux # lsmod
Module                  Size  Used by
bsd_comp                4864  0
ppp_synctty             6016  0
ppp_async               7296  0
xt_tcpudp               2816  0
iptable_filter          2560  1
ipt_MASQUERADE          2432  9
iptable_nat             5128  1
nf_nat                 13200  2 ipt_MASQUERADE,iptable_nat
nf_conntrack_ipv4      10632  3 iptable_nat,nf_nat
nf_conntrack           41364  4 ipt_MASQUERADE,iptable_nat,nf_nat,nf_conntrack_ipv4
ip_tables               8848  2 iptable_filter,iptable_nat
x_tables               10756  4 xt_tcpudp,ipt_MASQUERADE,iptable_nat,ip_tables
pppoe                   8256  2
pppox                   2700  1 pppoe
ppp_generic            15508  9 bsd_comp,ppp_synctty,ppp_async,pppoe,pppox
slhc                    5248  1 ppp_generic
snd_pcm_oss            32544  0
snd_mixer_oss          12032  1 snd_pcm_oss
snd_seq_oss            23936  0
snd_seq_midi_event      5376  1 snd_seq_oss
snd_seq                36816  4 snd_seq_oss,snd_seq_midi_event
snd_via82xx            19864  1
gameport                9096  1 snd_via82xx
snd_ac97_codec         85408  1 snd_via82xx
ac97_bus                1536  1 snd_ac97_codec
snd_pcm                54152  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              15492  2 snd_seq,snd_pcm
snd_page_alloc          7048  2 snd_via82xx,snd_pcm
snd_mpu401_uart         5632  1 snd_via82xx
snd_rawmidi            16288  1 snd_mpu401_uart
snd_seq_device          5772  3 snd_seq_oss,snd_seq,snd_rawmidi
i2c_viapro              6676  0
i2c_core               16528  1 i2c_viapro
8139too                18176  0
ne2k_pci                7904  0
8390                    7168  1 ne2k_pci


Mi pare che ci sia tutto. Manca qualcosa?
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: Wed May 14, 2008 12:13 pm    Post subject: Reply with quote

sembrerebbe esserci tutto, guarda io per far funzionare pppoe come plugin di pppd, ho inserito il modulo del kernel pppoe come ti ho detto ed uso questo file di configurazione /etc/conf.d/net
Code:


config_eth0=( "192.168.1.5 brd 192.168.1.255" )  -->ip fisso per eth0 perchè uso alice.

config_ppp0=( "ppp" )
link_ppp0="eth0"
plugins_ppp0=( "pppoe" )
username_ppp0='aliceadsl'
password_ppp0='aliceadsl'
pppd_ppp0=(
"noauth"
"defaultroute"
"usepeerdns"
"holdoff 3"
"child-timeout 60"
"lcp-echo-interval 15"
"lcp-echo-failure 3"
noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp
)
depend_ppp0() {
 need net.eth0
}

e funziona senza problemi.
dando semplicemente /etc/init.d/net.ppp0 start

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed May 14, 2008 12:57 pm    Post subject: Reply with quote

Niente da fare. Ma vedo però che tu usi baselayout 1, forse c'è qualche differenza, non so... Però vedo che non sono l'unico ad avere questo problema.
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: Wed May 14, 2008 1:11 pm    Post subject: Reply with quote

Luc484 wrote:
Niente da fare. Ma vedo però che tu usi baselayout 1, forse c'è qualche differenza, non so... Però vedo che non sono l'unico ad avere questo problema.


da dove lo vedi ???? uso baselayout 2 con openrc 0.23.

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed May 14, 2008 1:18 pm    Post subject: Reply with quote

Mi par che la sintassi non sia quella corretta... Questa è strana eh... Io ho letto qui: http://www.gentoo.org/doc/en/openrc-migration.xml .
La sintassi nel file di configurazione è cambiata:

Quote:
Also, /etc/conf.d/net no longer uses bash-style arrays for configuration. Please review /usr/share/doc/openrc/net.example for configuration instructions.


Strano che ti funzioni... Forse ho capito male qualcosa allora...
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: Wed May 14, 2008 1:27 pm    Post subject: Reply with quote

Luc484 wrote:
Mi par che la sintassi non sia quella corretta... Questa è strana eh... Io ho letto qui: http://www.gentoo.org/doc/en/openrc-migration.xml .
La sintassi nel file di configurazione è cambiata:

Quote:
Also, /etc/conf.d/net no longer uses bash-style arrays for configuration. Please review /usr/share/doc/openrc/net.example for configuration instructions.


Strano che ti funzioni... Forse ho capito male qualcosa allora...


io non trovo cosa sia cambiato a livello di sintassi in quel file, se non che non vengono usare le parentesi??? è un dettaglio che non modifica nulla.
prova magari a leggere quella italiana.

nb:posta l'output di
Code:
/etc/init.d/net.ppp0 start




ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed May 14, 2008 1:53 pm    Post subject: Reply with quote

Direi di si, solo le parentesi. Difatti prendendo il file da quello di esempio si vede che non ci sono più le parentesi. Comunque questo è l'output:

Code:
cluca luca # /etc/init.d/net.ppp0 start
 * Bringing up interface ppp0
 *   Starting pppd in ppp0 ...                                                                                                     [ ok ]
 *   Backgrounding ...
 * WARNING: net.ppp0 has started, but is inactive
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: Wed May 14, 2008 1:54 pm    Post subject: Reply with quote

Luc484 wrote:
Direi di si, solo le parentesi. Difatti prendendo il file da quello di esempio si vede che non ci sono più le parentesi. Comunque questo è l'output:

Code:
cluca luca # /etc/init.d/net.ppp0 start
 * Bringing up interface ppp0
 *   Starting pppd in ppp0 ...                                                                                                     [ ok ]
 *   Backgrounding ...
 * WARNING: net.ppp0 has started, but is inactive


è con questo output hai provato a navigare????? se dai ifconfig che ti dice??? usi alice adsl ???

ti ricordo di inserire anche questa
Code:
config_eth0= "192.168.1.5 brd 192.168.1.255" 
riga ed adattarla alla tua adsl,

ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed May 14, 2008 2:03 pm    Post subject: Reply with quote

Si, uso Alice. Si, adesso funziona la navigazione, il problema è che risultando inattivo, spesso molti servizi non possono partire perché richiedono che net.ppp0 sia attivo. Altre volte invece funzionano lo stesso. Per di più mi pare che nel caso di disconnessione temporanea di Alice, cosa che succede neanche di rado essendo le linee di Telecom molto affidabili, spesso non si riconnette automaticamente come prima, ma mi tocca fare un restart. Il fatto è che non essendo quasi mai in locale, m via ssh, non lo posso fare :). Se poi anche riparte in automatico, essendo inattivo, spesso non funziona ddclient ad esempio, il che mi rende impossibile ricollegarmici tramite ssh non conoscendone il nuovo IP né avendo il nome con l'IP aggiornato. Questo da quando sono passato a baselayout 2, prima sempre perfetto. Il fatto è che non succede neanche sempre mi pare... talvolta stranamente funziona... Qualche giorno fa se non usavo rp-pppoe non riuscivo nemmeno a navigare correttamente, le pagine si caricavano a metà, e non ero un problema di mtu, essendo corretta. Non so, tutto molto strano. Gli unici errori che vedo sono quelli che ho postato però. Nessuna idea?

EDIT: Dimenticavo:

Code:
cluca luca # ifconfig
eth0      Link encap:Ethernet  HWaddr 00:40:33:53:dc:88 
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:52841289 errors:0 dropped:0 overruns:0 frame:0
          TX packets:54896255 errors:0 dropped:0 overruns:0 carrier:0
          collisions:130991 txqueuelen:1000
          RX bytes:1478634667 (1.3 GiB)  TX bytes:1579888861 (1.4 GiB)
          Interrupt:10 Base address:0xd400

eth1      Link encap:Ethernet  HWaddr 00:20:ed:65:88:68 
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10841810 errors:0 dropped:0 overruns:0 frame:0
          TX packets:13055475 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:2709917813 (2.5 GiB)  TX bytes:3982704532 (3.7 GiB)
          Interrupt:11 Base address:0x2000

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:267424 errors:0 dropped:0 overruns:0 frame:0
          TX packets:267424 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:400216642 (381.6 MiB)  TX bytes:400216642 (381.6 MiB)

ppp0      Link encap:Point-to-Point Protocol 
          inet addr:87.14.175.42  P-t-P:151.99.13.67  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:14235 errors:0 dropped:0 overruns:0 frame:0
          TX packets:22188 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:2369879 (2.2 MiB)  TX bytes:22166244 (21.1 MiB)
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Wed May 14, 2008 2:07 pm    Post subject: Reply with quote

crisandbea wrote:
ti ricordo di inserire anche questa
Code:
config_eth0= "192.168.1.5 brd 192.168.1.255" 
riga ed adattarla alla tua adsl,
ciauz


Questa non l'ho capita... non è una impostazione di un IP statico? Il mio non è statico.
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: Wed May 14, 2008 6:22 pm    Post subject: Reply with quote

Luc484 wrote:
crisandbea wrote:
ti ricordo di inserire anche questa
Code:
config_eth0= "192.168.1.5 brd 192.168.1.255" 
riga ed adattarla alla tua adsl,
ciauz


Questa non l'ho capita... non è una impostazione di un IP statico? Il mio non è statico.

il mio è statico perchè il router di alice il wgate, se non gli dò un ip statico non funziona, nel tuo caso al posto dell'ip devi mettere dhcp.

nb:occhio agli spazi tra = è le " , con openrc 0.24, lo spazio non deve esserci, e mi raccomando aggiorna i file di configurazione con dispatch-conf.



ciauz
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Thu May 15, 2008 8:46 am    Post subject: Reply with quote

Qui qualcosa non mi torna... DHCP? Ma io non ho un server DHCP nel modem ADSL, o almeno non che sappia. Infatti in questa guida http://gentoo-wiki.com/HOWTO_Connect_using_PPPoE#Basic_Setup non vedo DHCP. Comunque vedo che anche con dhcp non cambia nulla, ho gli stessi errori di prima. Tutti i file di configurazione sono già aggiornati. net.eth0 dovrei averlo oppure no (eth0 è la scheda collegata al modem)?
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: Tue May 20, 2008 9:40 am    Post subject: Reply with quote

Luc484 wrote:
Qui qualcosa non mi torna... DHCP? Ma io non ho un server DHCP nel modem ADSL, o almeno non che sappia. Infatti in questa guida http://gentoo-wiki.com/HOWTO_Connect_using_PPPoE#Basic_Setup non vedo DHCP. Comunque vedo che anche con dhcp non cambia nulla, ho gli stessi errori di prima. Tutti i file di configurazione sono già aggiornati. net.eth0 dovrei averlo oppure no (eth0 è la scheda collegata al modem)?


non hai bisogno di un server dhcp, ma il modem-router lo fa di suo, comunque non è quello il problema, se tu usi alice adsl, come credo di aver capito devi fare esattamente quello che ti ho detto, ti ridò il file /etc/conf.d/net cosi come l'ho sistemato io per usarlo con alice adsl, e con openrc e baselayout2,

eccolo:
Code:

link_ppp0="eth0"
plugins_ppp0="pppoe"
username_ppp0='aliceadsl'
password_ppp0='aliceadsl'
pppd_ppp0="
noauth
defaultroute
usepeerdns
holdoff 3
child-timeout 60
lcp-echo-interval 15
lcp-echo-failure 3
noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp"


depend_ppp0() {
 need net.eth0
}

ovviamente devi avere sia net.eth0 sia net.ppp0, per farla partire puoi dare
Code:
 /etc/init.d/net.ppp0 start


ciao
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Tue May 20, 2008 9:51 am    Post subject: Reply with quote

Niente da fare, non cambia di una virgola:

Code:
cluca init.d # /etc/init.d/net.ppp0 restart
 * Caching service dependencies ...                                                        [ ok ]
 * Bringing down interface ppp0
 *   Stopping pppd on ppp0                                                                 [ ok ]
 *   Removing addresses
ppp0: error fetching interface information: Device not found
ppp0: error fetching interface information: Device not found
 * Bringing up interface ppp0
 *   Starting pppd in ppp0 ...                                                             [ ok ]
 *   Backgrounding ...
 * WARNING: net.ppp0 has started, but is inactive


Il problema non sta nel file di configurazione evidentemente. Il problema non è solo mio leggo in giro, quindi magari è proprio un bug. Su bugs.gentoo.org però non ho trovato nulla.
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: Tue May 20, 2008 10:04 am    Post subject: Reply with quote

Luc484 wrote:
Niente da fare, non cambia di una virgola:

Code:
cluca init.d # /etc/init.d/net.ppp0 restart
 * Caching service dependencies ...                                                        [ ok ]
 * Bringing down interface ppp0
 *   Stopping pppd on ppp0                                                                 [ ok ]
 *   Removing addresses
ppp0: error fetching interface information: Device not found
ppp0: error fetching interface information: Device not found
 * Bringing up interface ppp0
 *   Starting pppd in ppp0 ...                                                             [ ok ]
 *   Backgrounding ...
 * WARNING: net.ppp0 has started, but is inactive


Il problema non sta nel file di configurazione evidentemente. Il problema non è solo mio leggo in giro, quindi magari è proprio un bug. Su bugs.gentoo.org però non ho trovato nulla.


a parte il "error fetching", che errori ti dà nessuno??? posta l'output di
Code:
ifconfig  -a

ciao
_________________
se fossi un disegnatore ti disegnerei, se fossi uno scrittore ti scriverei, se fossi un inventore ti inventerei...ma sono solo un trombettista!!!
Back to top
View user's profile Send private message
Luc484
Veteran
Veteran


Joined: 26 Mar 2005
Posts: 1035
Location: Italy

PostPosted: Tue May 20, 2008 10:19 am    Post subject: Reply with quote

No, mi pare nessuno. Solo quel warning che mi crea problemi, non ho visto altri errori.

Code:
cluca init.d # ifconfig -a
eth0      Link encap:Ethernet  HWaddr 00:40:33:53:dc:88
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:72696405 errors:0 dropped:0 overruns:0 frame:0
          TX packets:74948113 errors:0 dropped:0 overruns:0 carrier:0
          collisions:185011 txqueuelen:1000
          RX bytes:3026753343 (2.8 GiB)  TX bytes:1572914501 (1.4 GiB)
          Interrupt:10 Base address:0xd400

eth1      Link encap:Ethernet  HWaddr 00:20:ed:65:88:68
          inet addr:192.168.0.1  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:14383844 errors:0 dropped:0 overruns:0 frame:0
          TX packets:18501098 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:3392264133 (3.1 GiB)  TX bytes:2192107667 (2.0 GiB)
          Interrupt:11 Base address:0x2000

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:310190 errors:0 dropped:0 overruns:0 frame:0
          TX packets:310190 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:404302532 (385.5 MiB)  TX bytes:404302532 (385.5 MiB)

ppp0      Link encap:Point-to-Point Protocol
          inet addr:87.5.183.192  P-t-P:151.99.13.67  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1492  Metric:1
          RX packets:47532 errors:0 dropped:0 overruns:0 frame:0
          TX packets:47105 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:3
          RX bytes:27497724 (26.2 MiB)  TX bytes:25936060 (24.7 MiB)
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 1, 2  Next
Page 1 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