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 Kernel

 
 
LinkBack Thread Tools
 
Old 02-06-2008, 01:36 PM
Sanjoy Mahajan
 
Default Bug#464373: linux-image-2.6.24-1-686: iwl3945 suspend/resume needs pre-up line

Package: linux-image-2.6.24-1-686
Version: 2.6.24-2
Severity: normal

For the iwl3945 driver to come up using ifup and work after an S3
resume, I needed a 'pre-up' line in /etc/network/interfaces to bring
the interface up. The card would otherwise not associate to the
access point, even after setting the essid with iwconfig.

Here is a working stanza with the pre-up line:

iface wlan0 inet dhcp
pre-up ifconfig wlan0 up
wireless_essid MakeTeaNotWar

The machine is a Thinkpad T60 (with Intel wireless and graphics).

I added this stanza as an example at <http://wiki.debian.org/iwlwifi>

-Sanjoy

-- System Information:
Debian Release: lenny/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/2 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages linux-image-2.6.24-1-686 depends on:
ii debconf [debconf-2.0] 1.5.19 Debian configuration management sy
ii initramfs-tools [linux-initr 0.91d tools for generating an initramfs
ii module-init-tools 3.3-pre11-4 tools for managing Linux kernel mo

Versions of packages linux-image-2.6.24-1-686 recommends:
ii libc6-i686 2.7-6 GNU C Library: Shared libraries [i

-- debconf information:
shared/kernel-image/really-run-bootloader: true
linux-image-2.6.24-1-686/preinst/overwriting-modules-2.6.24-1-686: true
linux-image-2.6.24-1-686/postinst/bootloader-error-2.6.24-1-686:
linux-image-2.6.24-1-686/postinst/create-kimage-link-2.6.24-1-686: true
linux-image-2.6.24-1-686/postinst/old-system-map-link-2.6.24-1-686: true
linux-image-2.6.24-1-686/prerm/would-invalidate-boot-loader-2.6.24-1-686: true
linux-image-2.6.24-1-686/preinst/initrd-2.6.24-1-686:
linux-image-2.6.24-1-686/preinst/failed-to-move-modules-2.6.24-1-686:
linux-image-2.6.24-1-686/postinst/depmod-error-initrd-2.6.24-1-686: false
linux-image-2.6.24-1-686/preinst/bootloader-initrd-2.6.24-1-686: true
linux-image-2.6.24-1-686/postinst/old-initrd-link-2.6.24-1-686: true
linux-image-2.6.24-1-686/preinst/lilo-has-ramdisk:
linux-image-2.6.24-1-686/postinst/old-dir-initrd-link-2.6.24-1-686: true
linux-image-2.6.24-1-686/preinst/abort-install-2.6.24-1-686:
linux-image-2.6.24-1-686/prerm/removing-running-kernel-2.6.24-1-686: true
linux-image-2.6.24-1-686/postinst/depmod-error-2.6.24-1-686: false
linux-image-2.6.24-1-686/preinst/abort-overwrite-2.6.24-1-686:
linux-image-2.6.24-1-686/preinst/elilo-initrd-2.6.24-1-686: true
linux-image-2.6.24-1-686/postinst/bootloader-test-error-2.6.24-1-686:
linux-image-2.6.24-1-686/postinst/kimage-is-a-directory:
linux-image-2.6.24-1-686/preinst/lilo-initrd-2.6.24-1-686: true



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-06-2008, 02:00 PM
maximilian attems
 
Default Bug#464373: linux-image-2.6.24-1-686: iwl3945 suspend/resume needs pre-up line

On Wed, Feb 06, 2008 at 09:36:18AM -0500, Sanjoy Mahajan wrote:
>
> I added this stanza as an example at <http://wiki.debian.org/iwlwifi>

seen and thanks.

correct usage to use ip from the iproute package,
ifconfig is deprecated.



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-06-2008, 02:13 PM
Sanjoy Mahajan
 
Default Bug#464373: linux-image-2.6.24-1-686: iwl3945 suspend/resume needs pre-up line

> ifconfig is deprecated.

Ah, didn't know that. So I guess the pre-up line should be

pre-up ip link set wlan0 up



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 02-06-2008, 06:56 PM
Bastian Blank
 
Default Bug#464373: linux-image-2.6.24-1-686: iwl3945 suspend/resume needs pre-up line

On Wed, Feb 06, 2008 at 09:36:18AM -0500, Sanjoy Mahajan wrote:
> Here is a working stanza with the pre-up line:
> iface wlan0 inet dhcp
> pre-up ifconfig wlan0 up
> wireless_essid MakeTeaNotWar

This is bogus. The dhcp typ already sets the interface up.

Bastian

--
Star Trek Lives!


--
To UNSUBSCRIBE, email to debian-kernel-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 10:38 AM.

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