|
|
|
![]() |
|
Strumenti |
![]() |
#21 | |
Senior Member
Iscritto dal: Mar 2004
Messaggi: 477
|
Quote:
Ecco cosa mi dice quando digito ifconfig eth0 root@darkstar:~# ifconfig eth0 eth0 Link encap:Ethernet HWaddr 00:11:95:22:5D:5F BROADCAST MULTICAST MTU:1500 Metric:1 RX packets:0 errors:0 dropped:0 overruns:0 frame:0 TX packets:14 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:0 (0.0 b) TX bytes:3116 (3.0 Kb) Interrupt:11 Base address:0xe000 root@darkstar:~# C'è qualcosa che non va oppure è tutto a posto ? |
|
![]() |
![]() |
![]() |
#22 |
Senior Member
Iscritto dal: Sep 2002
Città: Celano (AQ) Segno_Zodiacale: Leone Ascendente: Cammello Segni_Particolari: Quello
Messaggi: 9571
|
la scheda è riconosciuta correttamente. devi solo assegnarle un indirizzo. puoi farlo manualmente con ifconfig, ma dovresti ripeterlo ad ogni riavvio. per questo ti ho consigliato di modificare il file rc.inetd il quale viene eseguito automaticamente ad ogni avvio del sistema e ti configura la scheda di rete.
|
![]() |
![]() |
![]() |
#23 |
Senior Member
Iscritto dal: Sep 2002
Città: Celano (AQ) Segno_Zodiacale: Leone Ascendente: Cammello Segni_Particolari: Quello
Messaggi: 9571
|
panello il file da configrare non è rc.inetd ma è /etc/rc.inet1.conf ti posto il mio così sai + o - come configurarlo. chiaramente se non hai un gateway devi lasciare vuoto il campo (cioè gateway=""). a me il gateway è il modem/router adsl.
Codice:
# /etc/rc.d/rc.inet1.conf # # This file contains the configuration settings for network interfaces. # If USE_DHCP[interface] is set to "yes", this overrides any other settings. # If you don't have an interface, leave the settings null (""). # Config information for eth0: IPADDR[0]="192.168.0.2" NETMASK[0]="255.255.255.0" USE_DHCP[0]="" DHCP_HOSTNAME[0]="" # Config information for eth1: IPADDR[1]="" NETMASK[1]="" USE_DHCP[1]="" DHCP_HOSTNAME[1]="" # Config information for eth2: IPADDR[2]="" NETMASK[2]="" USE_DHCP[2]="" DHCP_HOSTNAME[2]="" # Config information for eth3: IPADDR[3]="" NETMASK[3]="" USE_DHCP[3]="" DHCP_HOSTNAME[3]="" # Default gateway IP address: GATEWAY="192.168.0.1" # Change this to "yes" for debugging output to stdout. Unfortunately, # /sbin/hotplug seems to disable stdout so you'll only see debugging output # when rc.inet1 is called directly. DEBUG_ETH_UP="no" Ultima modifica di VegetaSSJ5 : 23-05-2005 alle 11:53. |
![]() |
![]() |
![]() |
#24 |
Senior Member
Iscritto dal: Mar 2004
Messaggi: 477
|
Prima voglio farti vedere una cosa, ho cercato di configurare la sheda con # ifconfig eth0 192.168.0.1 up netmask 255.255.255.0 , poi l'ho pingato, pingandolo non faceva fine di smetterla, continuava sempre a dare dati
![]() Ti posto una minima parte dell'estrattoconto che mi dava e non faceva fine di smetterla ![]() Eccolo: root@darkstar:~# ifconfig eth0 192.168.0.1 up netmask 255.255.255.0 root@darkstar:~# ping 192.168.0.1 PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data. 64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=0.117 ms 64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=0.093 ms 64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=0.093 ms 64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=0.092 ms 64 bytes from 192.168.0.1: icmp_seq=5 ttl=64 time=0.092 ms 64 bytes from 192.168.0.1: icmp_seq=6 ttl=64 time=0.096 ms 64 bytes from 192.168.0.1: icmp_seq=7 ttl=64 time=0.093 ms 64 bytes from 192.168.0.1: icmp_seq=8 ttl=64 time=0.093 ms 64 bytes from 192.168.0.1: icmp_seq=9 ttl=64 time=0.092 ms 64 bytes from 192.168.0.1: icmp_seq=10 ttl=64 time=0.092 ms 64 bytes from 192.168.0.1: icmp_seq=11 ttl=64 time=0.091 ms 64 bytes from 192.168.0.1: icmp_seq=12 ttl=64 time=0.092 ms 64 bytes from 192.168.0.1: icmp_seq=13 ttl=64 time=0.092 ms 64 bytes from 192.168.0.1: icmp_seq=14 ttl=64 time=0.091 ms E' tutto ok ?? |
![]() |
![]() |
![]() |
#25 | |
Senior Member
Iscritto dal: Jan 2005
Città: Roma
Messaggi: 4870
|
Quote:
|
|
![]() |
![]() |
![]() |
Strumenti | |
|
|
Tutti gli orari sono GMT +1. Ora sono le: 21:13.