E' la prima volta che scrivo in questo forum, sono un novizio di Ubuntu e Linux in generale, per cui scusatemi se mi esprimo con una terminologia da "frescone".
Vengo subito al dunque: purtroppo ho molti problemi a connettermi ad internet con modem ethernet. Ho letto molti thread ma non ho ancora trovato la soluzione che fa al caso mio. Il problema è, io penso, dovuto a qualche problema di configurazione della scheda di rete.
Il mio hardware è questo: portatile Fujitsu-Siemens Lifebook serie C (un po' vecchio), scheda di rete Intel PRO/100, Modem ADSL D-Link 300.
La scheda di rete mi viene normalmente elencata tra le periferiche usando i comandi lspci oppure kudzu.
E' configurata per ricevere automaticamente un indirizzo ip. Il problema è che almeno 3 volte su 4 dopo un boot questo indirizzo non viene ricevuto. Infatti se vado a vedere l'output di ifconfig:
eth0 Link encap:Ethernet HWaddr 00:D0:59:01:EE:26
inet6 addr: fe80::2d0:59ff:fe01:ee26/64 Scope:Link
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)
Mentre a seguito di un boot "andato bene" ricevo il seguente:
Codice: Seleziona tutto
eth0 Link encap:Ethernet HWaddr 00:D0:59:01:EE:26
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::2d0:59ff:fe01:ee26/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:85 errors:0 dropped:0 overruns:0 frame:0
TX packets:96 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:36949 (36.0 KiB) TX bytes:12122 (11.8 KiB)
Codice: Seleziona tutto
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
Codice: Seleziona tutto
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
Codice: Seleziona tutto
There is already a pid file /var/run/dhclient.eth0.pid with pid 0
Internet Systems Consortium DHCP Client V3.0.2
Copyright 2004 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/products/DHCP
sit0: unknown hardware address type 776
SIOCSIFFLAGS: Connection timed out
SIOCSIFFLAGS: Connection timed out
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:d0:59:01:ee:26
Sending on LPF/eth0/00:d0:59:01:ee:26
Sending on Socket/fallback
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 16
send_packet: Network is down
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
Codice: Seleziona tutto
Per ovviare al problema ho provato pure ad abbassare a 10 Mbps la velocità della porta ethernet e a configurare come fisso il suo ip (assegnandogli l'indirizzo 192.168.1.2 visto che il modem ha un indirizzo fisso 192.168.1.1), come qualcuno consigliava su altri thread, ma niente, vedo gli indirizzi assegnati da ifconfig ma non posso comunque accedere nè al modem nè tantomeno alla rete.
Ho pure controllato l'output di dmesg, di cui vi trascrivo alcune righe che credo siano relative alla scheda ethernet:
Codice: Seleziona tutto
[4294907.990000] NET: Registered protocol family 10
[4294907.991000] Disabled Privacy Extensions on device c02eb280(lo)
[4294907.991000] IPv6 over IPv4 tunneling driver
[4294918.334000] eth0: no IPv6 routers present
[4294928.731000] FAT: utf8 is not a recommended IO charset for FAT filesystems, filesystem will be case sensitive!
[4295069.894000] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[4295080.830000] eth0: no IPv6 routers present
[4295195.210000] e100: eth0: e100_watchdog: link up, 100Mbps, full-duplex
[4295205.451000] eth0: no IPv6 routers present
Grazie per il vostro aiuto!
