[Sussex] Debian /etc/network/interfaces
Paul
reality at dsl.pipex.com
Fri Apr 22 16:03:05 UTC 2005
Hi,
Have you tried simply adding "ifconfig wlan0 up" at the end of the
configuration script, to bring the card up with new settings??
Just an idea!
Paul.M.
------------------------------
Message: 3
Date: Fri, 22 Apr 2005 09:42:44 +0100
From: Colin Tuckley <colin at tuckley.org>
Subject: Re: [Sussex] Debian /etc/network/interfaces
To: LUG email list for the Sussex Counties <sussex at mailman.lug.org.uk>
Message-ID: <4268B904.5080007 at tuckley.org>
Content-Type: text/plain; charset=us-ascii
Alan F wrote:
> Well this has totally left me out of ideas. I'm trying to work out the
> mapping stuff in debian's /etc/network/interfaces. I have this simple
> shellscript which returns the value of something ($1) which was
> specified on the kernel boot line. The idea behind this is that I can
> specify ath0=home or ath0=work at the boot line and debian will
> configure my wireless settings accordingly.
> So the script seems to be working fine. But for some reason, my
> wireless settings aren't being configured. :-\
I've been having the same problems with /etc/network/interfaces with my
cardbus WiFi card. I've been trying to configure different configurations
without any luck. Like you, the script seems to work but the configuration
doesn't get set.
I've been using the "ifscheme" package for my script. I also looked at
various places on the web for help including:
<http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/HOTPLUG.txt>
http://www.hpl.hp.com/personal/Jean_Tourrilhes/Linux/HOTPLUG.txt
- - - - - - - - - - - - - - - - - - - - - - - - - -
My simple single config which works is:
auto lo
iface lo inet loopback
mapping hotplug
script grep
map wlan0
iface wlan0 inet dhcp
wireless_essid charmandean
wireless_channel 6
wireless_mode managed
- - - - - - - - - - - - - - - - - - - - - - - - - - -
The switchable one - which fails to configure the i/f is:
auto lo
iface lo inet loopback
mapping hotplug
script echo
map wlan0
mapping wlan0
script /sbin/ifscheme-mapping
iface wlan0-home inet dhcp
wireless_essid charmandean
wireless_channel 6
wireless_mode managed
iface wlan0-any inet dhcp
wireless_essid any
wireless_mode managed
- - - - - - - - - - - - - - - - - - - - - - - - - - -
Anyone got any ideas? I've tried various versions of the switchable one,
they seem to bring the interface up (as shown by iwconfig) but never
configure it, so it's never shown in ifconfig
Colin
--
Colin Tuckley | colin at tuckley.org | PGP/GnuPG Key Id
+44(0)1903 236872 | +44(0)7799 143369 | 0x1B3045CE
It is well known that Discworld trolls loose intelligence
as they warm up. Does this mean that a particularly hot headed troll would
be a lava lout?
------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.lug.org.uk/pipermail/sussex/attachments/20050422/4725548c/attachment.htm
More information about the Sussex
mailing list