sudo ifconfig wlan1 hw ether xx:xx:xx:xx:xx:xx
sudo iwconfig wlan1 essid dlink
sudo dhclient wlan1
There is already a pid file /var/run/dhclient.pid with pid 2510
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.1.3
Copyright 2004-2009 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/wlan1/xx:xx:xx:xx:xx:xx
Sending on LPF/wlan1/xx:xx:xx:xx:xx:xx
Sending on Socket/fallback
DHCPREQUEST of 192.168.1.5 on wlan1 to 255.255.255.255 port 67
DHCPREQUEST of 192.168.1.5 on wlan1 to 255.255.255.255 port 67
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan1 to 255.255.255.255 port 67 interval 11
No DHCPOFFERS received.
Trying recorded lease 192.168.1.5
PING 192.168.1.1 (192.168.1.1) 56(84) bytes of data.
--- 192.168.1.1 ping statistics ---
1 packets transmitted, 0 received, +1 errors, 100% packet loss, time 0ms
No working leases in persistent database - sleeping.
P.S. 192.168.1.5 è il primo indirizzo ip non riservato disponibile. Ma con il questo mac addr dovrebbe beccarsi 192.168.1.3...c'è qualcosa che non va.

Rispondi quotando