SOLVED (SORT OF) - Re: Switching to static IPs for wlan0

Mark Knecht markknecht at gmail.com
Thu Jan 6 23:03:50 UTC 2005


Hi,
   OK - It's a hack, but it works.

   For the records the changes to /etc/resolve are caused by the
PEERDNS-yes line. Changing that to no fixes the issue.

   I am still not able to figure out KEY=open syntax in my ifcfg-wlan0
file. No matter what I've tried so far it always comes up in Security
mode:Restricted, which is probably best for most people anyway. To 
get around this problem I added

iwconfig wlan0 key open 

to /etc/rc.local and the system comes up correctly at boot. I tried
chatting for a second with some robot and it seemed to work but will
require the 12 year old's stamp of aproval to be sure.

   If anyone knows the syntax for putting key=open into ifcfg-wlan0
I'd sure appreciate a note.

Cheers,
Mark


On Thu, 6 Jan 2005 13:41:27 -0800, Mark Knecht <markknecht at gmail.com> wrote:
> Hi Rick,
>    OK, so I've had it with this DHCP nonsense for a while. If the
> scripts are somehow changing files that I've written by hand then I
> don't like that. I've attempted to set up static IPs based on an email
> you sent me some weeks ago:
> 
> <SNIP>
> Ok, here's an example using static IPs.  Items you need to change for
> your local conditions are marked with a "(*)":
> 
>        # Please read /usr/share/doc/initscripts-*/sysconfig.txt
>        # for the documentation of these parameters.
>        # Broadcom BCM94306 802.11g
>        BOOTPROTO=static
>        USERCTL=no
>        PEERDNS=yes
> (*)     GATEWAY=192.168.0.1
>        TYPE=Wireless
>        DEVICE=wlan0
> (*)     HWADDR=HW-value
> (*)     NETMASK=255.255.255.0
> (*)     IPADDR=192.168.0.128
> (*)     ESSID=sssscnet
> (*)     CHANNEL=9
> (*)     KEY=s:WEPkeyInASCII
> (*)     MODE=Managed
> (*)     RATE=11Mb/s
> <SNIP>
> 
> I've copied the above example and then modified for my 192.168.10
> network. I've modified and rebooted but so far it's not connecting, so
> I have a couple of questions.
> 
> 1) ONBOOT=yes is OK to get it started automatically?
> 
> 2) I use Open key management. In my script file I use
> 
> iwconfig key open XXXXX
> 
> is the right format in /etc/sysconfig/network-scripts/ifcfg-wlan0
> 
> KEY=OPENs:XXXXX  ?????
> 
> I cannot find an example of that in Google yet.
> 
> 3) Is there anything else I'd need to add to hae the network connect
> correctly at bootup without intervention?
> 
> I'll keep looking onthe web.
> 
> Thanks,
> Mark
>




More information about the Redhat-install-list mailing list