[Lvlug] Stange iwconfig behavior

Stuart Boreen stuart at boreens.net
Sat Oct 29 15:00:34 EDT 2005


Could you just use your distro's /etc/sysconfig/network 
scripts for resume? Is there an /etc/init.d/network 
script? After you stop the network and rmmod the module 
what happens if you just run the distro's script? Also 
(very minor point) you probably don't need ifconfig eth1 
up before dhcpcd eth1.
Dhcpcd will bring it up.
Just for fun, see where you are in your script after the 
iwconfig essid line, add 'echo " now the essid should be 
set" '
then 'iwconfig eth1' to see if you have the essid set at 
this point in your script..
Hope this helps..
Stuart


On Sat, 29 Oct 2005 11:10:37 -0400
  Brian Reichert <rignes at ptd.net> wrote:
> I'm trying to get a script working that I can use to 
>bring up my wireless on my
> laptop with out having to type all the commands. 
> However, the problem is that
> when I run the script it seems that iwconfig does not 
>set my essid or my WEP
> key correctly.  Then when I run dhcpcd it just times out 
>because it obviously
> can't find the dhcp server.  The odd thing is, it works 
>fine from the command
> line.
> 
<snip....>


More information about the Lvlug mailing list