Salve, ho installato due giorni fa per la prima volta una distribuzione linux (Kubuntu 6.10) su un portatile Acer Aspire 1650 con porta ethernet e chiavetta usb wifi Asus wl 167.
Il problema è che non riesco a connettermi ne con l’uno ne con l’altro (eth0 e wifi), il sistema riconosce entrambi ma internet non va. Aggiungo che sulla partizione di win xp entrambe funzionano.
ETH0 : credo che con il router zyxel 660 hw abbia comunicato perché ho visto nelle impostazioni dei dati che io nn gli avevo dato
WL 167 : credo la riconosca, fa addirittura la ricerca di reti e trova quelle disponibili ma poi fallisce nel connettersi.
---Vorrei rendere funzionanti entrambe, ringrazio anticipatamente chiunque si presterà ad aiutarmi—
Girando su internet ho trovato alcune righe da scrivere su terminale, vi riporto i risultati:
eth0 Link encap:Ethernet HWaddr 00:xx:xx:xx:97:C1
inet addr:192.168.1.35 Bcast:192.168.1.255 Mask:255.255.255.0
inet6 addr: fe80::20a:e4ff:fe42:97c1/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:9 errors:0 dropped:0 overruns:0 frame:0
TX packets:12 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1227 (1.1 KiB) TX bytes:1222 (1.1 KiB)
Interrupt:233
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:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:83 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:7481 (7.3 KiB) TX bytes:7481 (7.3 KiB)
rausb1 Link encap:Ethernet HWaddr 00:xx:xx:25:xx:BB
inet6 addr: fe80::213:d4ff:fe25:b8bb/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:42411 (41.4 KiB) TX bytes:245336 (239.5 KiB)
oem@Absurdo:~$ sudo dhclient eth0
Password:
There is already a pid file /var/run/dhclient.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:xx:xx:xx:97:c1
Sending on LPF/eth0/00:xx:xx:xx:97:c1
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 19
cd
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
oem@Absurdo:~$
oem@Absurdo:~$
oem@Absurdo:~$ cd
oem@Absurdo:~$
oem@Absurdo:~$ iwconfig
lo no wireless extensions.
rausb1 RT2500USB WLAN ESSID:"Mistery"
Mode:Managed Frequency=2.437 GHz Bit Rate=11 Mb/s
RTS thr:off Fragment thr:off
Link Quality=0/70 Signal level:-120 dBm Noise level:-204 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0
eth0 no wireless extensions.
sit0 no wireless extensions.
oem@Absurdo:~$ sudo /etc/init.d/networking restart
* Reconfiguring network interfaces... There is already a pid file /var/run/dhclient.rausb1.pid with pid 4325
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb1/00:xx:xx:xx:b8:xx
Sending on LPF/rausb1/00:xx:xx:xx:b8:xx
Sending on Socket/fallback
There is already a pid file /var/run/dhclient.eth0.pid with pid 3428
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:xx:xx:xx:97:c1
Sending on LPF/eth0/00:xx:xx:xx:97:c1
Sending on Socket/fallback
DHCPRELEASE on eth0 to 192.168.1.1 port 67
send_packet: Network is unreachable
send_packet: please consult README file regarding broadcast address.
There is already a pid file /var/run/dhclient.eth0.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:xx:xx:xx:97:c1
Sending on LPF/eth0/00:xx:xx:xx:97:c1
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 20
^[[B^[[BDHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 9
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
There is already a pid file /var/run/dhclient.rausb1.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/rausb1/00:xx:xx:25:xx:bb
Sending on LPF/rausb1/00:xx:xx:25:xx:bb
Sending on Socket/fallback
DHCPDISCOVER on rausb1 to 255.255.255.255 port 67 interval 3
DHCPDISCOVER on rausb1 to 255.255.255.255 port 67 interval 8
DHCPDISCOVER on rausb1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on rausb1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on rausb1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on rausb1 to 255.255.255.255 port 67 interval 15
DHCPDISCOVER on rausb1 to 255.255.255.255 port 67 interval 4
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
[ ok ]
oem@Absurdo:~$ iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
oem@Absurdo:~$ sudo dhclient eth0
There is already a pid file /var/run/dhclient.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:xx:xx:xx:97:c1
Sending on LPF/eth0/00:xx:xx:xx:97:c1
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 15
oem@Absurdo:~$ /var/run/dhclient.pid
bash: /var/run/dhclient.pid: Permesso negato
oem@Absurdo:~$ sudo /var/run/dhclient.pid
sudo: /var/run/dhclient.pid: command not found
oem@Absurdo:~$ sudo dhclient eth0
There is already a pid file /var/run/dhclient.pid with pid 134993416
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
Listening on LPF/eth0/00:xx:xx:xx:97:c1
Sending on LPF/eth0/00:xx:xx:xx:97:c1
Sending on Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 11
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 17
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.
oem@Absurdo:~$ sudo /etc/resolv.conf
Password:
sudo: /etc/resolv.conf: command not found
oem@Absurdo:~$ wlassistant
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
Loaded application options.
DHCP Client: dhclient
All executables found.
iwconfig_status: /sbin/iwconfig
==>stderr: lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
No wireless interfaces found. Exiting.
Application options saved.
Kernel socket closed.
oem@Absurdo:~$ wlassistant
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 168
Major opcode: 145
Minor opcode: 3
Resource id: 0x0
Failed to open device
Loaded application options.
DHCP Client: dhclient
All executables found.
iwconfig_status: /sbin/iwconfig
==>stderr: lo no wireless extensions.
eth0 no wireless extensions.
sit0 no wireless extensions.
Wireless interface(s): rausb1
warning: /etc/resolv.conf not writable
Permissions checked.
ifconfig_status: /sbin/ifconfig rausb1
scan: /sbin/iwlist rausb1 scan
Networks found: 1
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
ACTION: CONNECT.
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
kill_dhcp: /sbin/dhclient -r rausb1
==>stderr: There is already a pid file /var/run/dhclient.pid with pid 5285
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
can't create /var/lib/dhcp3/dhclient.leases: Permission denied
Can't create /var/run/dhclient.pid: Permission denied
drop_privileges: could not set group id: Operation not permitted
ifup: /sbin/ifconfig rausb1 up
==>stderr: SIOCSIFFLAGS: Permesso negato
iwconfig_set: /sbin/iwconfig rausb1 mode managed channel 6 key off essid Mistery
==>stderr: Error for wireless request "Set Mode" (8B06) :
SET failed on device rausb1 ; Operation not permitted.
iwconfig_ap: /sbin/iwconfig rausb1 ap 00:xx:xx:00:xx:33
==>stderr: Error for wireless request "Set AP Address" (8B14) :
SET failed on device rausb1 ; Operation not permitted.
ifconfig_dhcp: /sbin/dhclient -q rausb1
==>stderr: There is already a pid file /var/run/dhclient.pid with pid 5285
drop_privileges: could not set group id: Operation not permitted
kill_dhcp: /sbin/dhclient -r rausb1
==>stderr: There is already a pid file /var/run/dhclient.pid with pid 5285
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/
can't create /var/lib/dhcp3/dhclient.leases: Permission denied
Can't create /var/run/dhclient.pid: Permission denied
drop_privileges: could not set group id: Operation not permitted
CONNECTION FAILED.
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
cd
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
No default gateway.
Checking for active connection.
Trying to get gateway address...
...from /var/lib/dhcp3/dhclient.leases
...from 'route'
comando iwconfig rausb1 mode managed channel..., con il seguente risultato:
error for wireless request "set mode" (8B06) :
SET failed on device rausb1 ; Operation not permitted
continando comando route:
Kernel IP routing table
Destination Gateway Genmask Flag Use Iface
ma sotto nn mi sono comparsi dei risultati
[color=red]EDIT : ho mascherato per sicurezza gli indirizzi MAC delle schede.[/color]