Pagina 1 di 4

installazione scheda rete

Inviato: mar 27 dic 2005, 14:02
da gusgoose
sono appena emigrato a slackware, non riesco a collegarmi ad internet. il computer è in una LAN, collegata a router ADSL. Ho installato la scheda di rete, con netconfig ho provato tanto la configurazione con indirizzo statico che quella con DHCP, lsmod mi fa vedere una scheda mantata ma il collegamento non si fa (il collegamento era OK con SuSE ed è ancora oggi OK con Win2000, che risiede su un'altra partizione). Ho installato tanto Dhcp che Dhcpcd, temendo un conflitto ho disinstallato il primo, ma non cambia nulla.
router ADSL FR4, Realtek RTL 8139,il computer è in una LAN

1 su etc/rc.d/rc.modules decommento sbin/modprobe 8139too
2 lancio netconfig, ho provato tanto DHCP che static IP, in quest'ultimo caso imposto: IP address 192.168.1.70, netmask 255.255.255.0, gateway 192.168.1.1, nameserver 192.168.1.1

messaggi
ping 192.168.1.1 destination host unreacheable
dmesg: eth0 Realtek RTL 8139 at 0xd0ae0000, 00:e0:4c:69:28:e5, IRQ 9, eth0 identified 8139 chiptype 8139c, eth0 link up, 100Mbps,full-duplex, lpa 0x45E1
lsmode: 8139 too - used 1
ifconfig -a: eth0 HWaddr 00E04C6928, inetaddr 192.168.1.70, Bcast 192.168.1.255, mask 255.255.255.0, MTV 1500, interrupt 9
grazie dell'aiuto, non so più dove battere la testa...

Inviato: mar 27 dic 2005, 14:15
da kio341
nameserver 192.168.1.1
:?: :?: :?:
1°intanto prova a mettere il dns del provider in /etc/resolv.conf
1a-il router che indirizzo ha 192.168.1.1?-inserisci il gw a mano
#route add defalt gw 192.168.1.1
2-vedi che indirizzo ip ha la schesda di rete su suse esu xp con ipconfig e ifconfig?
3°leggiti questo-vale per i modem ethernet-tu vedi il manuale del router (es. http://www.ilsoftware.it/articoli.asp?ID=2731&pag=1 )
-realizzo il collegamento ad internet con rpppoe
attenzione rispetto alle vecchie versioni sono cambiati i nomi degli script
root@slacky:~# pppoe-setup (prima adsl-setup)
Welcome to the Roaring Penguin ADSL client setup. First, I will run
some checks on your system to make sure the PPPoE client is installed
properly...
Looks good! Now, please enter some information:
USER NAME
>>> Enter your PPPoE user name (default bxxxnxnx@sympatico.ca):
kio@virgilio.it
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 ethn, where 'n' is a number.
(default eth1): eth1
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 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: 62.211.75.53
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: 62.211.75.54
PASSWORD
>>> Please enter your PPPoE password:
>>> Please re-enter your PPPoE password:
for a LAN
>>> Choose a type of firewall (0-2): 0
>>> Accept these settings and adjust configuration files (y/n)? y
Adjusting /etc/ppp/pppoe.conf
Adjusting /etc/resolv.conf
(But first backing it up to /etc/resolv.conf-bak)
Adjusting /etc/ppp/pap-secrets and /etc/ppp/chap-secrets
(But first backing it up to /etc/ppp/pap-secrets-bak)
(But first backing it up to /etc/ppp/chap-secrets-bak)
Congratulations, it should be all set up!
Type 'pppoe-start' to bring up your ADSL link and 'pppoe-stop' to bring
it down. Type 'adsl-status' to see the link status.
root@slacky:~# pppoe-start
. Connected!
root@slacky:~# pppoe-stop
per bloccare il collegamento
sarebbe opportuno inserire dei tool grafici come in Debian e derivate
vds adsl/pppoe configuration e network card configuration(kanotixknoppix)
inseriti nel menù di kde

Inviato: mer 28 dic 2005, 17:17
da gusgoose
ho fatto 1a (inserito gw a mano)
come metto il DNS del provider? il file /etc/resolv.conf porta:
search pippo.org
nameserver 192.168.1.1

Inviato: mer 28 dic 2005, 19:23
da Paoletta

Codice: Seleziona tutto

#ifconfig eth0 192.168.1.70 netmask 255.255.255.0
che ti dice?

Inviato: ven 30 dic 2005, 12:28
da gusgoose
non mi dice nulla

Inviato: ven 30 dic 2005, 16:38
da Paoletta
prova a dare

Codice: Seleziona tutto

ifconfig eth0 192.168.1.70 netmask 255.255.255.0 broadcast 192.168.1.255
e poi posta l'output di ifconfig; già che ci sei, posta pure quello di lspci

Inviato: ven 30 dic 2005, 23:28
da gusgoose
root@jake:~# ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:69:28:E5
inet addr:192.168.1.70 Bcast:192.168.1.255 Mask:255.255.255.0
UP BROADCAST RUNNING 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)
Interrupt:9 Base address:0xf000

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)


root@jake:~# ifconfig eth0 192.168.1.70 netmask 255.255.255.0 broadcast 192.168.1.255

Inviato: ven 30 dic 2005, 23:29
da gusgoose
dimenticavo

root@jake:~# ispci
-su: ispci: command not found

Inviato: ven 30 dic 2005, 23:39
da Lean
lspci (elle esse pi ci i)

Inviato: sab 31 dic 2005, 0:23
da gusgoose
root@jake:~# lspci
00:00.0 Host bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] System Controller (rev 13)
00:01.0 PCI bridge: Advanced Micro Devices [AMD] AMD-760 [IGD4-1P] AGP Bridge
00:04.0 ISA bridge: VIA Technologies, Inc. VT82C686 [Apollo Super South] (rev 40)
00:04.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:04.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:04.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 16)
00:04.4 Non-VGA unclassified device: VIA Technologies, Inc. VT82C686 [Apollo Super ACPI] (rev 40)
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
00:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
00:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)
00:0a.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
00:0d.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0d.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 61)
00:0d.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 63)
01:05.0 VGA compatible controller: Matrox Graphics, Inc. G400/G450 (rev 82)

Inviato: sab 31 dic 2005, 1:31
da Luci0
... ma se non riesci a pingare il router come fai a configurare il resto.... ???
devi procedere per gradi..

prima di tutto fai ripartire, il PC sotto W2000 e controlla che sia il router che la rete e la connessione, siano ok, e già che ci sei recupera i parametri di configurazione della rete (IP del router etc.) dalle impostazioni di windows 2000, altrimenti giri intorno al problema...

Se effettivamente il router é funzionante ed é attivo un server DHCP anche senza sapere nulla della configurazione... prova dare da root ...

Codice: Seleziona tutto

#  dhcpcd
?

... se la connessione ad internet é ok dovresti poter navigare ...

altrimenti devi ricontrollare tutto... :(

Inviato: sab 31 dic 2005, 10:20
da Paoletta

Codice: Seleziona tutto

 UP BROADCAST RUNNING MULTICAST 
dovrebbe essere su...provato a pingare dopo aver dato il comando che ti ho suggerito? e provare a pingare un'altra macchina diversa da 192.168.1.1 (sei in una LAN, no?)?

Inviato: sab 31 dic 2005, 11:04
da Lean
ricapitoliamo...
ifconfig eth0 192.168.1.70 netmask 255.255.255.0 broadcast 192.168.1.255
route add default gw 192.168.1.1
ping 192.168.1.1
è irraggiungibile?

Inviato: dom 1 gen 2006, 15:02
da gusgoose
scusate il ritardo ma il lavoro mi impedisce di frequentare il forum come vorrei
auguri di buon anno a tutti con un ringraziamento per la vostra opera, con uno spirito di collaborazione che è al di sopra di ogni parola

posto prima lo staus del router derivato da Win2000, poi quanto mi avete richiesto

StatusYou can use the Status screen to see the connection status for the Broadband Router's WAN/LAN interfaces, firmware and hardware version numbers, and the number of connected clients to your network.
WAN
Connection Type PPPoE
WAN IP 151.56.251.64
Subnet Mask 255.192.0.0
Gateway 151.6.152.65
DNS 193.70.152.15
Secondary DNS 193.70.152.25
Cable/DSL CONNECTED


LAN
IP Address 192.168.1.1
Subnet Mask 255.255.255.0
DHCP Server Enabled
Firewall Enabled

INFORMATION
System Time 2005/12/31 18:26:08
Connected Clients 0
Runtime Code Version V1.01.0044
Boot Code Version V1.00.180
LAN MAC Address 00-40-F4-71-35-3B
WAN MAC Address 00-40-F4-71-35-3C

root@jake:~# dhcpcd
root@jake:~# UP BROADCAST RUNNING MULTICAST
-bash: UP: command not found
root@jake:~# ping 192.168.1.1
connect: Network is unreachable
root@jake:~# ping 192.168.1.50
connect: Network is unreachable
root@jake:~# ifconfig eth0 192.168.1.70 netmask 255.255.255.0 broadcast 192.168.1.255
root@jake:~# route add default gw 192.168.1.1
root@jake:~# ping 192.168.1.1
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
From 192.168.1.70 icmp_seq=1 Destination Host Unreachable
From 192.168.1.70 icmp_seq=2 Destination Host Unreachable
From 192.168.1.70 icmp_seq=3 Destination Host Unreachable
From 192.168.1.70 icmp_seq=4 Destination Host Unreachable
From 192.168.1.70 icmp_seq=5 Destination Host Unreachable
From 192.168.1.70 icmp_seq=6 Destination Host Unreachable

--- 192.168.1.1 ping statistics ---
7 packets transmitted, 0 received, +6 errors, 100% packet loss, time 6026ms
, pipe 3
root@jake:~#

Inviato: dom 1 gen 2006, 18:48
da Paoletta
gusgoose_it, prova a far così;
edita il file

Codice: Seleziona tutto

 /etc/rc.d/rc.inet1.conf 
così:

Codice: Seleziona tutto

# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]="" 
poi riavvia la scheda di rete con

Codice: Seleziona tutto

 /etc/rc.d/rc.inet1 eth0_restart
e dovresti avere ip e netmask dal router; poi prova a pingare; se ci sono problemi posta l'output di

Codice: Seleziona tutto

 route -n