PRIMA CONFIGURAZIONE MODEM ETHERNET CON ADSL

ragazzi finalmente e arrivato il modem che aspettavo, l’ho montato, avviato fedora, in teoria l’ha riconosciuto in automatico, sono andato nella cartella rete e ho creato una nuova connessione ethernet,alla fine me la dava attiva, ma non va la linea se apro firefox, perché? ho sbagliato qualcosa? grazie mi fido di voi fino ad adesso siete stati grandiiiiiiiiiiiiiiiiiiiiiiiiiiiiiii

scusate ho sbagliato forum…azz vabbèh ormai…credo mi soccorrerete pure qua,. la prossima volta sto piu attento promesso

ehm hai sbagliato l’argomento della discussione, non il forum!!! :smiley:

dunque se dai il comando

/sbin/ifconfig 

il terminale è contento?

che ti risponde?

hai configurato correttamente i parametri della rete, cioè IP, DNS, gateway e compagnia bella?

guarda anche il comando

/sbin/route

e vedi se non manca niente.
facci saper

ehm, non ci sarebbe una guida di quelle vostre, per fare la prima connessione da zero…forse andrei meglio, magari con le operazioni da fare tipo wizard,…non maleditemi…

[quote=pesci75]
ehm, non ci sarebbe una guida di quelle vostre, per fare la prima connessione da zero…forse andrei meglio, magari con le operazioni da fare tipo wizard,…non maleditemi…[/quote]

Le operazioni da fare sono quelle che hai fatto tu. Evidentemente c’è qualche problema. Dai i comandi che ti ha detto manga e posta quello che ti viene fuori

Prova a configurare la connessione con /sbin/adsl-setup
quando hai configurato usa /sbin/adsl-start o /sbin/adsl-connect per connetterti /sbin/adsl-stop per interrompere o /sbin/adsl-status per vedere lo stato della connessione :slight_smile:

ehm ho corretto i comandi precedenti, dimenticavo che sono nella sbin.
digitali così e postaci cosa salta fuori:
eth0 è la tua scheda ethernet, vediamo com’è messa.
posta posta così vediamo!
ah dimenticavo, da system-config-network hai impostato dhcp?

[quote=pesci75]
…sono andato nella cartella rete e ho creato una nuova connessione ethernet,…[/quote]
Intendi dire una nuova connessione xDSL?

ok ora provo…a dopo

ho fatto sia connessione xdsl che ethernet,e si mi dava eth0, ma forse e meglio che vi faccio un po di schermate così ci capiamo meglio,o magari no…bho chi vivrà vedrà…

posta i risultati dei comandiiiiiiiiiiiiiiiiiiiiiiiiiii
postaliiiiiiiiiiiiiiiiiiiiiiiii
!!!
se no come facciamo a capire?!!?!

:-o :smiley: :smiley: :smiley: :smiley: :smiley: :smiley:

son qua 1 risultato.
[rey@localhost ~]$ ifcongig
bash: ifcongig: command not found
[rey@localhost ~]$ su-
bash: su-: command not found
[rey@localhost ~]$ su -
Parola d’ordine:
[root@localhost ~]# ifconfig
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:1987 errors:0 dropped:0 overruns:0 frame:0
TX packets:1987 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7850212 (7.4 MiB) TX bytes:7850212 (7.4 MiB)

[root@localhost ~]# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
[root@localhost ~]#

2 risultato:
[rey@localhost ~]$ su -
Parola d’ordine:
[root@localhost ~]# /sbin/adsl-setup

Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly…

LOGIN NAME

Enter your Login Name (default root): [email protected]

INTERFACE

Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where ‘X’ is a number.
(default eth0): /sbin/adsl/-start

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter ‘no’ (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no): no

DNS

Please enter the IP address of your ISP’s primary DNS server.
If your ISP claims that ‘the server will provide dynamic DNS addresses’,
enter ‘server’ (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: 10.0.0.2
Please enter the IP address of your ISP’s secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
Enter the secondary DNS server address here: 151.99.125.3

PASSWORD

Please enter your Password:
Please re-enter your Password:

USERCTRL

Please enter ‘yes’ (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose ‘NONE’ and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
Choose a type of firewall (0-2): 2

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):yes

** Summary of what you entered **

Ethernet Interface: /sbin/adsl/-start
User name: [email protected]
Activate-on-demand: No
Primary DNS: 10.0.0.2
Secondary DNS: 151.99.125.3
Firewalling: MASQUERADE
User Control: yes
Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/sysconfig/network-scripts/ifcfg-ppp0
Adjusting /etc/resolv.conf
(But first backing it up to /etc/resolv.conf.bak)
Adjusting /etc/ppp/chap-secrets and /etc/ppp/pap-secrets
(But first backing it up to /etc/ppp/chap-secrets.bak)
(But first backing it up to /etc/ppp/pap-secrets.bak)

Congratulations, it should be all set up!

Type ‘/sbin/ifup ppp0’ to bring up your xDSL link and ‘/sbin/ifdown ppp0’
to bring it down.
Type ‘/sbin/adsl-status /etc/sysconfig/network-scripts/ifcfg-ppp0’
to see the link status.

[root@localhost ~]# /sbin/adsl-status
adsl-status: Link is down (can’t read pppoe PID file /var/run/pppoe-adsl.pid.pppoe)
[root@localhost ~]#
ecco vado a mangiare vi allego anche delle foto

allego dinuovo le jpeg…

nelle foto non si vedeva niente quindi le rispedisco…

In effetti ifcongig non l’ho mai sentito, inoltre da utente normale il comando esatto sarebbe:

$ /sbin/ifconfig

L’hai fatto:

/sbin/ifup ppp0

[/quote]
A questo punto hai configurato ppp0… Ma a me pare che i DNS che hai inserito siano un po’ strani.
Se digiti:

system-config-network

hai la possibilità di verificare la tua connessione; verifica anche il tuo ip, o mettiti in dhcp.

cosa dovrei mettere in dns? dimmi così provo, e il mio ip e lo stesso che posso vedere su windows o devo cercarlo in fedora? e se devo in fedoraq come faccio?..mi spiace rompere così tanto ma io le provo tutte però,gia vi dico che a memoria certe opzioni di comando mi vengono naturali,faccio progressi quindi…speriamo bene
in caso se mi date magari (sempre se si puo )un aiuto passo passo indicandomi, l’indirizzo ip il dns corretto,o come trovarli,e comunque il procedimento era giusto? un umile grazie a tutti

intanto grazie per l’impegno che stai mettendo: più cose ci dici e risultati di comandi posti, più gli altri possono capire il problema che hai e aiutarti.

dunque:

hai la partizione finestre, e da lì ti connetti senza problemi. quindi i parametri della rete da impostare puoi prenderli da finestre, aprendo un prompt dei comandi e scrivendo

ipconfig

un po’ inquietante il prompt di finestre vero? :-o

ti dirà come sono impostati appunto il tuo ip, i tuoi dns gateway ecc. se da finestre ti colleghi dhcp (cioè ti da lui l’indirizzo dinamicamente) faccelo sapere, perché in tal caso devi selezionare dhcp anche nella connessione linux, sempre da system-config-network.

in più hai postato solo la prima riga del comando route:
così non si capisce bene… :smiley:
se non vuoi scrivere i numeri del tuo ip metti delle x, però facci capire almeno se ti riconosce il gateway, perché se sei in dhcp a volte bisogna aggiungerlo manualmente col comando add default gw ecceterino.

forse si sta muovendo qualcosa…allora innanzitutto per capire, con che comando mi connetto/sconnetto=? e poi, prima chiedevo alla pagina web di cercare google,e mi diceva indirizzo non trovato e basta, adesso si vede, in alto a destra, che la ricerca è in continua ricerca, ma non trova niente,ma allora mi chiedo…la connessione funziona se è in continua ricerca,ma e anche vero che se fossi connesso mi visualizzerebbe google,o no…comunque non so se e giuto,ma quando vado in configurazione di rete,dispositivi mi dice che c’è una cheda di rete e credo che venga riconosciuta come Realtec Semiconductor ecc ecc, ma la mia scheda di rete e una u.s.robotics 10/100netwok card che i driver siano giusti o meglio,quelli che mi da fedora e cioè quelli della realec…possono andare bene con la mia scheda di rete? e ancora se faccio la configurazione di rete non mi chiede il mio ip e il dns, ma questi dati mi vengono richiesti solo se faccio /sbin/adsl-setup e sarebbero giusti…sono 192.168.1.2 oppure 192.168.1.225 vi allego cio che mi e uscito fuori
[rey@localhost ~]$ /ifconfig
bash: /ifconfig: No such file or directory
[rey@localhost ~]$ ifconfig
bash: ifconfig: command not found
[rey@localhost ~]$ su -
Parola d’ordine:
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:49:63:58:BF
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:49ff:fe63:58bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:224 errors:0 dropped:0 overruns:0 frame:0
TX packets:360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31897 (31.1 KiB) TX bytes:36900 (36.0 KiB)
Interrupt:10 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5558 errors:0 dropped:0 overruns:0 frame:0
TX packets:5558 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9545736 (9.1 MiB) TX bytes:9545736 (9.1 MiB)

[root@localhost ~]#

seconda prova

[rey@localhost ~]$ /ifconfig
bash: /ifconfig: No such file or directory
[rey@localhost ~]$ ifconfig
bash: ifconfig: command not found
[rey@localhost ~]$ su -
Parola d’ordine:
[root@localhost ~]# ifconfig
eth0 Link encap:Ethernet HWaddr 00:C0:49:63:58:BF
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2c0:49ff:fe63:58bf/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:224 errors:0 dropped:0 overruns:0 frame:0
TX packets:360 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:31897 (31.1 KiB) TX bytes:36900 (36.0 KiB)
Interrupt:10 Base address:0x4000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:5558 errors:0 dropped:0 overruns:0 frame:0
TX packets:5558 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:9545736 (9.1 MiB) TX bytes:9545736 (9.1 MiB)

[root@localhost ~]# /sbin/adsl-start
[root@localhost ~]# /sbin/adsl-setup

Welcome to the ADSL client setup. First, I will run some checks on
your system to make sure the PPPoE client is installed properly…

LOGIN NAME

Enter your Login Name (default root): rey

INTERFACE

Enter the Ethernet interface connected to the ADSL modem
For Solaris, this is likely to be something like /dev/hme0.
For Linux, it will be ethX, where ‘X’ is a number.
(default eth0): eth0

Do you want the link to come up on demand, or stay up continuously?
If you want it to come up on demand, enter the idle time in seconds
after which the link should be dropped. If you want the link to
stay up permanently, enter ‘no’ (two letters, lower-case.)
NOTE: Demand-activated links do not interact well with dynamic IP
addresses. You may have some problems with demand-activated links.
Enter the demand value (default no): no

DNS

Please enter the IP address of your ISP’s primary DNS server.
If your ISP claims that ‘the server will provide dynamic DNS addresses’,
enter ‘server’ (all lower-case) here.
If you just press enter, I will assume you know what you are
doing and not modify your DNS setup.
Enter the DNS information here: 212.216.112.112
Please enter the IP address of your ISP’s secondary DNS server.
If you just press enter, I will assume there is only one DNS server.
Enter the secondary DNS server address here: 151.99.125.3

PASSWORD

Please enter your Password:
Please re-enter your Password:

USERCTRL

Please enter ‘yes’ (three letters, lower-case.) if you want to allow
normal user to start or stop DSL connection (default yes): yes

FIREWALLING

Please choose the firewall rules to use. Note that these rules are
very basic. You are strongly encouraged to use a more sophisticated
firewall setup; however, these will provide basic security. If you
are running any servers on your machine, you must choose ‘NONE’ and
set up firewalling yourself. Otherwise, the firewall rules will deny
access to all standard servers like Web, e-mail, ftp, etc. If you
are using SSH, the rules will block outgoing SSH connections which
allocate a privileged source port.

The firewall choices are:
0 - NONE: This script will not set any firewall rules. You are responsible
for ensuring the security of your machine. You are STRONGLY
recommended to use some kind of firewall rules.
1 - STANDALONE: Appropriate for a basic stand-alone web-surfing workstation
2 - MASQUERADE: Appropriate for a machine acting as an Internet gateway
for a LAN
Choose a type of firewall (0-2): 2

Start this connection at boot time

Do you want to start this connection at boot time?
Please enter no or yes (default no):yes

** Summary of what you entered **

Ethernet Interface: eth0
User name: rey
Activate-on-demand: No
Primary DNS: 212.216.112.112
Secondary DNS: 151.99.125.3
Firewalling: MASQUERADE
User Control: yes
Accept these settings and adjust configuration files (y/n)?

oppure:
[rey@localhost ~]$ /sbin/adsl-start
[rey@localhost ~]$ /sbin/adsl-status
/sbin/adsl-status: Cannot read configuration file ‘/etc/ppp/pppoe.conf’
[rey@localhost ~]$

fatemi connettere vi prego ormai e una sfida per me nel caso se passo passo qualcuno mi aiuta posso provare a fare una nuova connessione di rete dalla configurazione guidata come nell’immagine passo passo sapendo cosa scrivere
se qualcuno mi spiega da questa finestra posso fare anche una nuova connession exdsl ma se non so cosa scrivere nelle richieste che mi fa il wizard… attendo con ansia una risposta grazie a tutti

mi ha dato pure questo…
[rey@138-161-dynamic ~]$ /sbin/ifup ppp0
./network-functions: line 78: ifcfg-ppp0: Permission denied
Gli utenti non possono controllare questo dispositivo.
[rey@138-161-dynamic ~]$

e poi che cos’è la maschera di settore…e in dominio, cosa dovrei mettere? bho se non sento i vostri consigli, non faccio niente, appena mi posterete riprovo,… buona serata a tutti

Digita da terminale:

system-config-network

Selezioni la tua connessione (ppp0) e clicchi sul tasto “modifica”; dopodichè spunti la casella “Consenti agli utenti di abilitare e disabilitare il dispositivo”

[quote]
e poi che cos’è la maschera di settore…e in dominio, cosa dovrei mettere?[/quote]
Se sei in dhcp non mettere niente (se hai selezionato, in sostanza di ottenere l’ip dal tuo internet provider).