[CUWiN-Dev] Setting a wireless IP as a general static one

Bryan Cribbs bdcribbs at ojctech.com
Wed Dec 6 15:16:49 CST 2006


* David Young <dyoung at pobox.com> :
> On Mon, Dec 04, 2006 at 10:09:38PM +0900, Daehyung Jo wrote:
> > Hi, everyone.
> > 
> > I'm a new-comer to this discuss group with a big question.
> > 
> >  
> > 
> > As you know, our cuwireless mesh nodes are automatically configured to have
> > its own wireless IP address starting with '10.0.x.x'.
> > 
> > But we want to use my own static IP addresses so that we can access mesh
> > node and generate traffic from outside the wireless mesh network community.
> > 
> > I know that the wireless IP address is automatically generated from the MAC
> > address of its own NIC.
> > 
> > So I simply thought that if I change the source code where the wireless IP
> > address is generated in /etc/zebra.conf, I can force the wireless interface
> > use my static IP.
> 
> If you are using current sources, I believe you can change the IP address
> for the wireless interface by adding configuration variables to the file
> called /etc/cuw_config.  Bryan, what do you think?

The configuration variable would be "if_<devicename>_ipv4_address", so 
for an Atheros card, it would be "if_ath0_ipv4_address=a.b.c.d".
Changing that in the permanent /etc/cuw_config and rebooting should 
do the trick.  (Or, if the software is recent, simply change it using 
the web interface).

-Bryan




More information about the CU-Wireless-Dev mailing list