FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Laptop

 
 
LinkBack Thread Tools
 
Old 05-18-2008, 08:36 PM
Eftaxiopoulos Dimitrios
 
Default ifup wlan0 problem

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












--
To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-19-2008, 10:30 PM
"Selim T. Erdogan"
 
Default ifup wlan0 problem

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
 

Thread Tools




All times are GMT. The time now is 07:47 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ę2007 - 2008, www.linux-archive.org