Re: NetworkManager connects to DHCP AP but dhclient doesn't



On Thu, 2007-12-13 at 13:13 +0500, Kamran Riaz Khan wrote:
> Dan Williams wrote:
> > How are you configuring your wireless connection when using dhclient?
> > What specific iwconfig commands are you using?
> > 
> 
> Kamran Riaz Khan wrote:
> > I'm using iwlwifi drivers on my Fujitsu-Siemens Amilo Pro v3205
> > notebook. I have a wireless access point set up in my house which
> > provides DHCP access to its clients. Gnome's NetworkManager picks up the
> > settings just fine, however if I try dhclient, I get this:
> >
> > ******************************************
> > [root orthanc ~]# ifconfig wlan0 up
> > [root orthanc ~]# iwlist wlan0 scan
> > wlan0     Scan completed :
> >            Cell 01 - Address: 00:19:E0:6D:C5:8E
> >                      ESSID:"SS7"
> >                      Mode:Master
> >                      Channel:6
> >                      Frequency:2.437 GHz (Channel 6)
> >                      Quality=86/100  Signal level=-47 dBm  Noise
> > level=-85 dBm
> >                      Encryption key:on
> >                      Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
> >                                12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
> >                                48 Mb/s; 54 Mb/s
> >                      Extra:tsf=00000000098b074d
> >
> > [root orthanc ~]# iwconfig wlan0 essid SS7
> > [root orthanc ~]# iwconfig wlan0 ap 00:19:E0:6D:C5:8E
> > [root orthanc ~]# iwconfig wlan0 channel 6
> > [root orthanc ~]# iwconfig wlan0 key s:abcde

Try setting the ssid _last_.

Dan

> > [root orthanc ~]# iwconfig wlan0
> > wlan0     IEEE 802.11g  ESSID:"SS7"  Nickname:"SS7"
> >            Mode:Managed  Frequency:2.437 GHz  Access Point:
> > 00:19:E0:6D:C5:8E
> >            Bit Rate=54 Mb/s   Tx-Power=27 dBm
> >            Retry min limit:7   RTS thr:off   Fragment thr=2346 B
> >            Encryption key:6E6F-6B69-61
> >            Power Management:off
> >            Link Quality=87/100  Signal level=-46 dBm  Noise level=-85 dBm
> >            Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
> >            Tx excessive retries:0  Invalid misc:0   Missed beacon:0
> >
> > [root orthanc ~]# dhclient wlan0
> > Internet Systems Consortium DHCP Client V3.0.6-Fedora
> > Copyright 2004-2007 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/wlan0/00:1b:77:1b:d9:17
> > Sending on   LPF/wlan0/00:1b:77:1b:d9:17
> > Sending on   Socket/fallback
> > DHCPREQUEST on wlan0 to 255.255.255.255 port 67
> > DHCPREQUEST on wlan0 to 255.255.255.255 port 67
> > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 6
> > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 21
> > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18
> > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 16
> > No DHCPOFFERS received.
> > Trying recorded lease 192.168.1.4
> > PING 192.168.1.1 (192.168.1.1) from 192.168.1.4 wlan0: 56(84) bytes 
> > of data.
> >
> > --- 192.168.1.1 ping statistics ---
> > 4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 
> > 2999ms
> > , pipe 3
> > No working leases in persistent database - sleeping.
> > ******************************************
> 
> --
> Regards,
> Kamran.
> http://www.inspirated.com/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]