ifup wlan0 problem - Debian
This is a discussion on ifup wlan0 problem - Debian ; I have an Intel 4965 WiFi in my Debian testing laptop. I can connect to the Internet via the sequence of commands # ifconfig wlan0 up # iwconfig wlan0 essid myessid # iwconfig wlan0 key mykey # iwconfig # dhclient ...
| | LinkBack | Tools |
|
#1
| |||
| |||
| Internet via the sequence of commands # ifconfig wlan0 up # iwconfig wlan0 essid myessid # iwconfig wlan0 key mykey # iwconfig # dhclient wlan0 which gives the following output in the terminal Internet Systems Consortium DHCP Client V3.1.0 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:1d:e0:84:ca:e9 Sending on LPF/wlan0/00:1d:e0:84:ca:e9 Sending on Socket/fallback DHCPREQUEST on wlan0 to 255.255.255.255 port 67 DHCPACK from 192.168.2.1 bound to 192.168.2.3 -- renewal in 936354735 seconds. However, when I issue #ifup wlan0 I get Internet Systems Consortium DHCP Client V3.1.0 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:1d:e0:84:ca:e9 Sending on LPF/wlan0/00:1d:e0:84:ca:e9 Sending on Socket/fallback DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18 DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 No DHCPOFFERS received. No working leases in persistent database - sleeping. and no connection is established. In my /etc/network/interfaces file, I have included the entries iface wlan0 inet dhcp wireless-essid myessid wireless-key mykey Any suggestion? Dimitris -- To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
#2
| |||
| |||
| On Sun, May 18, 2008 at 11:36:13PM +0300, Eftaxiopoulos Dimitrios wrote: > I have an Intel 4965 WiFi in my Debian testing laptop. I can connect to the > Internet via the sequence of commands > > # ifconfig wlan0 up > # iwconfig wlan0 essid myessid > # iwconfig wlan0 key mykey > # iwconfig > # dhclient wlan0 > > which gives the following output in the terminal > > Internet Systems Consortium DHCP Client V3.1.0 > 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:1d:e0:84:ca:e9 > Sending on LPF/wlan0/00:1d:e0:84:ca:e9 > Sending on Socket/fallback > DHCPREQUEST on wlan0 to 255.255.255.255 port 67 > DHCPACK from 192.168.2.1 > bound to 192.168.2.3 -- renewal in 936354735 seconds. > > However, when I issue > > #ifup wlan0 > > I get > > Internet Systems Consortium DHCP Client V3.1.0 > 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:1d:e0:84:ca:e9 > Sending on LPF/wlan0/00:1d:e0:84:ca:e9 > Sending on Socket/fallback > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 3 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 8 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 18 > DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5 > No DHCPOFFERS received. > No working leases in persistent database - sleeping. > > and no connection is established. In my /etc/network/interfaces file, I have > included the entries > > iface wlan0 inet dhcp > wireless-essid myessid > wireless-key mykey > > Any suggestion? > Dimitris Have you tried putting "pre-up" lines in your /etc/network/interfaces file? For example, ------------ iface wlan0 inet dhcp pre-up iwconfig wlan0 mode managed pre-up iwconfig wlan0 channel mychannelno pre-up iwconfig wlan0 essid myessid ## Either open or restricted, not both # pre-up iwconfig wlan0 key open pre-up iwconfig wlan0 key restricted pre-up iwconfig wlan0 key s:myasciikey ----------- This is based on some old notes I had so it might not be completely correct anymore. (I use a different method based on WPA now.) Selim T. Erdoğan -- To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
« Previous Thread
|
Next Thread »
| Tools | |
| |
| | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| ifdown/ifup for sco OSR 5.0.5? | unix | SCO | 6 | 03-23-2008 02:11 AM |
| Wireless problem: Fedora 8 not seeing wlan0 using ndiswrapper | unix | Redhat | 0 | 03-18-2008 12:41 PM |
| ifup problem | unix | Networking | 0 | 01-28-2008 04:27 PM |
| ifup bug? | unix | Redhat | 0 | 10-07-2007 08:48 AM |
| Re: (re)starting network deamon upon ifup | unix | Debian | 0 | 10-06-2007 08:32 PM |
All times are GMT. The time now is 10:50 AM.
