[Linux-Biella] Scheda di rete usb

abewayer l.delvecchio a bilug.linux.it
Ven 4 Nov 2011 23:45:27 CET


Il giorno Sat, 29 Oct 2011 10:10:45 +0200
PaulTT <paultt a bilug.linux.it> ha scritto:


> e ifconfig e basta cosa dice?

eth1      Link encap:Ethernet  HWaddr 00:60:6e:70:1d:1d  
          inet addr:192.168.1.13  Bcast:192.168.1.255
Mask:255.255.255.0 inet6 addr: fe80::260:6eff:fe70:1d1d/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:70 errors:0 dropped:0 overruns:0 frame:0
          TX packets:121 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7799 (7.6 KiB)  TX bytes:24357 (23.7 KiB)


> se invece provi a lanciare il dhclient eth1 o dhcpcd eth1 da riga 
> comando che dice?

abeplace:/home/abewayer# dhclient eth1

There is already a pid file /var/run/dhclient.pid with pid 3615
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.1
Copyright 2004-2008 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/eth1/00:60:6e:70:1d:1d
Sending on   LPF/eth1/00:60:6e:70:1d:1d
Sending on   Socket/fallback
DHCPDISCOVER on eth1 to 255.255.255.255 port 67 interval 7
DHCPOFFER from 192.168.1.1
DHCPREQUEST on eth1 to 255.255.255.255 port 67
DHCPACK from 192.168.1.1
bound to 192.168.1.13 -- renewal in 1132399 seconds.





abeplace:/home/abewayer# dhcpcd.sh: interface eth1 has been configured
with new IP=192.168.1.13



> quando attacchi e stacchi il cavo di rete, in syslog le ultime righe
> che dicono?


Attaccando e ristaccando si ottiene quest'output:

Nov  4 23:41:56 abeplace kernel: [18975.327581] usb 5-3: USB
disconnect, address 2 Nov  4 23:41:56 abeplace kernel: [18975.327621]
eth1: unregister 'MOSCHIP usb-ethernet driver' usb-0000:00:1d.7-3,
MOSCHIP 7830 usb-NET adapter Nov  4 23:41:56 abeplace dhclient:
receive_packet failed on eth1: Network is down Nov  4 23:41:56 abeplace
dhclient: receive_packet failed on eth1: Network is down Nov  4
23:41:57 abeplace dhclient: There is already a pid
file /var/run/dhclient.eth1.pid with pid 15847 Nov  4 23:41:57 abeplace
dhclient: killed old client process, removed PID file Nov  4 23:41:57
abeplace dhclient: Internet Systems Consortium DHCP Client V3.1.1 Nov
4 23:41:57 abeplace dhclient: Copyright 2004-2008 Internet Systems
Consortium. Nov  4 23:41:57 abeplace dhclient: All rights reserved.
Nov  4 23:41:57 abeplace dhclient: For info, please visit
http://www.isc.org/sw/dhcp/ Nov  4 23:41:57 abeplace dhclient: Nov  4
23:41:57 abeplace dhclient: wmaster0: unknown hardware address type 801
Nov  4 23:41:57 abeplace dhclient: wmaster0: unknown hardware address
type 801 Nov  4 23:41:57 abeplace dhclient: Bind socket to interface:
No such device Nov  4 23:42:04 abeplace kernel: [18982.498386] usb 5-3:
new high speed USB device using ehci_hcd and address 3 Nov  4 23:42:04
abeplace kernel: [18982.642330] usb 5-3: configuration #1 chosen from 1
choice Nov  4 23:42:04 abeplace kernel: [18982.710689] usb 5-3:
applying rev.C fixup Nov  4 23:42:04 abeplace kernel: [18982.718442]
usb 5-3: applying rev.C fixup Nov  4 23:42:04 abeplace kernel:
[18982.730347] eth1: register 'MOSCHIP usb-ethernet driver' at
usb-0000:00:1d.7-3, MOSCHIP 7830 usb-NET adapter, 00:60:6e:70:1d:1d
Nov  4 23:42:04 abeplace kernel: [18982.730347] usb 5-3: New USB device
found, idVendor=9710, idProduct=7830 Nov  4 23:42:04 abeplace kernel:
[18982.730347] usb 5-3: New USB device strings: Mfr=1, Product=2,
SerialNumber=3 Nov  4 23:42:04 abeplace kernel: [18982.730347] usb 5-3:
Product: USB-MAC Controller Nov  4 23:42:04 abeplace kernel:
[18982.730347] usb 5-3: Manufacturer: Moschip Semiconductor Nov  4
23:42:04 abeplace kernel: [18982.730347] usb 5-3: SerialNumber:
6e0002c5 Nov  4 23:42:04 abeplace dhclient: Internet Systems Consortium
DHCP Client V3.1.1 Nov  4 23:42:04 abeplace dhclient: Copyright
2004-2008 Internet Systems Consortium. Nov  4 23:42:04 abeplace
dhclient: All rights reserved. Nov  4 23:42:04 abeplace dhclient: For
info, please visit http://www.isc.org/sw/dhcp/ Nov  4 23:42:04 abeplace
dhclient: Nov  4 23:42:04 abeplace dhclient: wmaster0: unknown hardware
address type 801 Nov  4 23:42:04 abeplace kernel: [18982.916319]
mcs7830_async_cmd_callback() failed with -32 Nov  4 23:42:04 abeplace
kernel: [18982.916571] mcs7830_async_cmd_callback() failed with -32
Nov  4 23:42:05 abeplace dhclient: wmaster0: unknown hardware address
type 801 Nov  4 23:42:05 abeplace dhclient: Listening on
LPF/eth1/00:60:6e:70:1d:1d Nov  4 23:42:05 abeplace dhclient: Sending
on   LPF/eth1/00:60:6e:70:1d:1d Nov  4 23:42:05 abeplace dhclient:
Sending on   Socket/fallback Nov  4 23:42:05 abeplace dhclient:
DHCPREQUEST on eth1 to 255.255.255.255 port 67 Nov  4 23:42:08 abeplace
dhclient: DHCPREQUEST on eth1 to 255.255.255.255 port 67 Nov  4
23:42:08 abeplace dhclient: DHCPNAK from 192.168.1.1 Nov  4 23:42:08
abeplace avahi-autoipd(eth1)[16424]: Found user 'avahi-autoipd' (UID
103) and group 'avahi-autoipd' (GID 108). Nov  4 23:42:08 abeplace
avahi-autoipd(eth1)[16424]: Successfully called chroot(). Nov  4
23:42:08 abeplace avahi-autoipd(eth1)[16424]: Successfully dropped root
privileges. Nov  4 23:42:08 abeplace avahi-autoipd(eth1)[16424]:
Starting with address 169.254.3.146 Nov  4 23:42:14 abeplace
avahi-autoipd(eth1)[16424]: Callout BIND, address 169.254.3.146 on
interface eth1 Nov  4 23:42:14 abeplace kernel: [18993.156106] eth1: no
IPv6 routers present Nov  4 23:42:18 abeplace
avahi-autoipd(eth1)[16424]: Successfully claimed IP address
169.254.3.146 Nov  4 23:42:18 abeplace avahi-autoipd(eth1)[16424]: Got
SIGTERM, quitting. Nov  4 23:42:18 abeplace avahi-autoipd(eth1)[16424]:
Callout STOP, address 169.254.3.146 on interface eth1 Nov  4 23:42:18
abeplace avahi-autoipd(eth1)[16425]: client: RTNETLINK answers: No such
process Nov  4 23:42:19 abeplace dhclient: DHCPDISCOVER on eth1 to
255.255.255.255 port 67 interval 7 Nov  4 23:42:22 abeplace dhclient:
DHCPOFFER from 192.168.1.1 Nov  4 23:42:22 abeplace dhclient:
DHCPREQUEST on eth1 to 255.255.255.255 port 67 Nov  4 23:42:22 abeplace
dhclient: DHCPACK from 192.168.1.1 Nov  4 23:42:22 abeplace dhclient:
bound to 192.168.1.13 -- renewal in 1294889 seconds.


Grazie mille :) 



-- 
L'unica alternativa alla memoria sono le periferiche di input output.

Abe the n00b cutting/pasting ape

Abe is the #484397 linux registered user
Mio blog: http://www.abelascimmia.org


Maggiori informazioni sulla lista Linux