OpenWrt Forum Archive

Topic: No static IP in wireless with Webif^2?

The content of this topic has been archived on 30 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hello,
I'm using Kamikaze on my Compex board using madwifi.
I set my board as a client, and I associated it successfully to an AP, but without having an IP address.
So I set my static IP via ssh with "ifconfig ath0 etc.), My board now works good as a client and I can ping the other parties of the wireless network.
Now I need to do this step using webif, but Webif menu doesn't allow me to change a virtual interface IP address.
How can I set my static IP for a wireless connection via Webif?
I have to change something dealing with VLANs?
Thanks.

Can u share ur Webif firmware with me ?

Will be very thanks full.

smile

Regards

Kevin Fr.

ggp81: You can use webif2 to set the static addresses only for wan and lan interfaces. The configuration page of any other interface has not been created yet.
You cannot set the IP address of the virtual wireless interface. You can only set the IP address of the network interface. For example:

/etc/config/network:
config interface wireless
        option proto    'static'
        option ipaddr   '192.168.11.1'
        option netmask  '255.255.255.0'
        ...
~~~~~~~~
/etc/config/wireless
config wifi-iface
        option device   'wifi0'
        option network  'wireless'
        ...
~~~~~~~~
/etc/config/dhcp
config dhcp
        option interface        'wireless'
        option ignore   1

DD7: X-Wrt | Forum | Wiki | Trac | kamikaze packages

kebul:
Thanks very much.

DD7:
My Webif firmware for WP54 is adapted to my own needs. If you tell me what are you looking for, I am happy to help you.

OK with no problem ggp81

I only wish to try to run OpenWRT in web mode because i only able to run it in command line mode sad

DD7:
Just rebuild your firmware following this tutorial: http://forum.x-wrt.org/index.php/topic,52.0.html
If you are using a revision r7243 or following you won't have problems running Webif.
In case you will have some problems you can pm me

(Last edited by ggp81 on 24 Aug 2007, 11:10)

ggp81 wrote:

DD7:
Just rebuild your firmware following this tutorial: http://forum.x-wrt.org/index.php/topic,52.0.html
If you are using a revision r7243 or following you won't have problems running Webif.
In case you will have some problems you can pm me

Big fat thanks to you ggp81

The discussion might have continued from here.