[OpenWrt-Devel] IPtables/NAT

2015-07-05 Thread John kerry
Hi , Hope you are doing great. I am working on Atheros QSDK. i am able to compile the source code successfully and able to upgrade the firmware using openWRT Luci GUI too. The OpenWRT being a linux distro for embedded platform already has IPtables implemented. Before compiling the source code i ha

[OpenWrt-Devel] Change Default Configuration

2015-07-06 Thread John kerry
Hi, I am able to change the settings in the file under overlay and settings will get change, but when i do factory reset from GUI, All the changes i have done in script file will go. So i need to know from which file this all factory reset configuration is loading so that if i will change it that

[OpenWrt-Devel] [OpenWrt] [LUCI] ar71xx: GUI changes

2015-07-08 Thread John kerry
Hi Everyone, I am working on openWRT Luci, I need to create the GUI in such way that WAN connection is either using wireless or RJ45 using a slide switch. Could anyone please help me how i can change the GUI based on the above. Which part of the code i need to change. Thanks & Regards, John ___

[OpenWrt-Devel] IPTables/NAT

2015-07-09 Thread John kerry
Hi, I have to enable NAT with a MASQUERADING target, and to block the GUI from WAN have to server bind only the bridge address. Could anyone tell me how i can do it in the GUI itself. Thanks & Regards, John ___ openwrt-devel mailing list openwrt-devel@l

[OpenWrt-Devel] GUI user name and pass

2015-07-24 Thread John kerry
Hi, There is one issue, normally whenever i open GUI its ask for user name and password, again close the browser and open GUI it ask for UN and Password, but there is problem when i do factory reset it stop asking UN and Password for GUI anymore. Please help us to solve this urgently. Thanks, Joh

[OpenWrt-Devel] openwrt-ar71xx GUI

2015-07-29 Thread John kerry
Hi, I am working on openwrt-ar71xx. After upload the image file the GUI will be access on some IP address. Now I want to change the GUI, Could anyone tell how I can change the GUI, i means to say which file shall I modify. Thanks & Regards, John ___ o

[OpenWrt-Devel] OpenWRT default settings

2015-07-30 Thread John kerry
Hi Everyone, I am working on openWRT Luci, able to change the settings in the file under overlay and settings will get change, but when i do factory reset from GUI, All the changes i have done in script file gone. So i need to know from which this all factory reset configuration is loading so that

[OpenWrt-Devel] AR71xx openWRT Default config file

2015-07-30 Thread John kerry
Hi , I am working on openWRT Luci, able to change the settings in the file under overlay and settings will get change, but when i do factory reset from GUI, All the changes i have done in script file gone. So i need to know from which this all factory reset configuration is loading so that i will c

[OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-07-31 Thread John kerry
Hi, I am working on Ar71xx openWRT Luci project. By default the Wi-Fi is disabled and SSID is OpenWrt. I need to change the default settings. Could anyone help me to change the default settings. Best Regards, John ___ openwrt-devel mailing list openwrt

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
ee all discussion. > > In email dated Воскресенье - 02 августа 2015 12:54:32 user John kerry > wrote: > > Hi Leiten, > > > > I have added new files under and written below : > > vi target/linux/ar71xx/base-files/etc/uci-defaults/wireless > > Use index in pref

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
Hi Leiten, I have one issue, after upgrading this firmware it will load wireless configuration with this changes, actually it should load when i do factory reset. Thanks, On Sun, Aug 2, 2015 at 3:45 PM, John kerry wrote: > Hi Leiten, > > Thank you so much, Its working :) > >

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
le to set encryption type and key. Thanks, On Sun, Aug 2, 2015 at 9:19 PM, John kerry wrote: > Hi Leiten, > > I have one issue, after upgrading this firmware it will load wireless > configuration with this changes, actually it should load when i do factory > reset. > > T

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
Hi, Sorry i didn't get, you mean to say i should not add files under vi target/linux/ar71xx/base-files/etc/uci-defaults/99-wireless Could you please explain. On Mon, Aug 3, 2015 at 12:22 AM, Weedy wrote: > > On 2 Aug 2015 12:19, "John kerry" wrote: > > > >

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
Hi, so i created directory as below and copy the following files root@OpenWrt:/# ls -al files/etc/config/ drwxr-xr-x2 root root 0 Jul 30 18:42 . drwxr-xr-x3 root root 0 Jul 30 18:35 .. -rw-r--r--1 root root 4045 Jul 30 18:42 ddns -rw-r--r-

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
where to create new directory and add this files. Sorry I am totally new in this, It may be silly question please guide me. Thanks, On Mon, Aug 3, 2015 at 12:58 AM, Weedy wrote: > make > > On Sun, Aug 2, 2015 at 12:56 PM, John kerry wrote: > > Hi, > > > > so i crea

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
config/wireless > > David Lang > > > On Sun, 2 Aug 2015, John kerry wrote: > > Hi Leiten, >> >> I have one issue, after upgrading this firmware it will load wireless >> configuration with this changes, actually it should load when i do factory >> reset. &g

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-02 Thread John kerry
esulting file and put it into the build system so > that it becomes the 'factory default' settings. > > Since you are not understanding how to configure the files from the > documentation, configure them from the GUI and then look at the resulting > files. > > David

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-03 Thread John kerry
AM, John kerry wrote: > Hello Guys, > > It's working. Thanks a lot to all of you :) > > On Mon, Aug 3, 2015 at 10:43 AM, David Lang wrote: > >> The way to do this is to first forget about the factory reset problem and >> configure the AP to do what you want (includ

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-03 Thread John kerry
option hwmode '11na'option txpower '23'option htmode 'HT20'config wifi-ifaceoption device 'wifi1'option network 'lan' option mode 'ap'option ssid 'Test_ap_2'option encryption 'ps

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-03 Thread John kerry
list icmp_type 'echo-request' list icmp_type 'echo-reply' list icmp_type 'destination-unreachable' list icmp_type 'packet-too-big' list icmp_type 'time-exceeded' list icmp_type 'bad-header

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-03 Thread John kerry
should not change after connecting to WAN SSID. On Tue, Aug 4, 2015 at 12:42 PM, John kerry wrote: > Hi > This is my firewall file: > > config defaults > option syn_flood '1' > option input 'ACCEPT' > option output 'ACCEPT

Re: [OpenWrt-Devel] Change OpenWrt Wifi default settings

2015-08-03 Thread John kerry
client, and in client mode all it can do is connect to that other AP as > shows up as the SSID of that other AP. > > you can do this with one radio, while using the other radio (assuming you > have two) to act as an AP for local clients. > > David Lang > > On Tue, 4 Aug 2015,

[OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-06 Thread John kerry
Hi, I have configured wireless as below: *config wifi-device 'wifi0'option type 'qcawifi'option channel 'auto'option macaddr '00:03:7f:42:06:61'option hwmode '11ng'option txpower '19'option htmode 'HT20'config wifi-ifaceoption

Re: [OpenWrt-Devel] "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-06 Thread John kerry
Hi, Could anyone please help me on this to configure the wireless in such a way that when we connect to wireless WAN the LAN SSID should not change. Thanks, On Thu, Aug 6, 2015 at 9:24 PM, John kerry wrote: > Hi, > > I have configured wireless

Re: [OpenWrt-Devel] "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-06 Thread John kerry
on device 'radio0' >> option mode 'ap' >> option wds '1' >> option ssid 'my AP' >> option network 'lan' >> >> config wifi-iface 'mesh1

Re: [OpenWrt-Devel] "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-06 Thread John kerry
Hi, I have configured wireless file as below: config wifi-device 'wifi0' option type 'qcawifi' option channel 'auto' option macaddr '00:26:75:bd:37:24' option hwmode '11ng' option txpower '16' option htmode 'HT20' config wifi-iface option d

Re: [OpenWrt-Devel] "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-08 Thread John kerry
gt; channels 36+ > > pick which band you are going to use to connect to the remote AP and which > you are going to use to have your clients connect to it. > > David Lang > > > On Fri, 7 Aug 2015, John kerry wrote: > > Hi, >> >> >> I have on

Re: [OpenWrt-Devel] "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-08 Thread John kerry
Hi, Could anyone Please guide me how i can create 2 separate default settings for 2.4GHz and 5GHz. Thanks, On Sat, Aug 8, 2015 at 8:26 PM, John kerry wrote: > Hi, > > I have to keep 2 default settings for wireless, i means to say i have to > configure default settings for 2.4

Re: [OpenWrt-Devel] "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-08 Thread John kerry
n 'psk2' option ssid 'Test_ap_1' option key 'Test_ap_1'* *So basically how i can condition in wireless config file to load the config based on the selection.* *Can i write condition in wireless config file.* *Thanks,* On Sun, Aug 9, 2015 at 7:02 AM, Davi

[OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-10 Thread John kerry
ideo. Now its connected to router also and this add one also showing so i can connect to this also. But i am not getting how to keep this in default wireless config. Because every time we cant add one to configure like this. It should be like default should be in ap mode so any device we can connect,

Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-10 Thread John kerry
, David Lang wrote: > On Mon, 10 Aug 2015, John kerry wrote: > > Date: Mon, 10 Aug 2015 18:10:14 +0800 >> From: John kerry >> To: Alex Weedy , >> OpenWrt Development List >> Subject: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple

Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-11 Thread John kerry
Yes, i can copy the config and build with this configuration, for example now i have connected to some router, another time we can connect to any router. So how i can fix the settings by default. On Tue, Aug 11, 2015 at 12:45 AM, David Lang wrote: > On Mon, 10 Aug 2015, John kerry wr

Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-11 Thread John kerry
nstead of old client. This is the problem i am facing. Basically i need to configure the wireless file for repeater mode. So after connecting to another router this SSID still should be there and other device can connect to it. On Tue, Aug 11, 2015 at 4:30 PM, David Lang wrote: > you have

Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-11 Thread John kerry
Hi, How to config wireless config file for repeater mode. I am not able to config. On Tue, Aug 11, 2015 at 5:34 PM, John kerry wrote: > When i load firmware the wireless config will be like below: > > config wifi-device 'wifi0' > option type 'qcawifi' &g

Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-11 Thread John kerry
is way > when you do a factory reset (or when you first flash it)? If so, then you > need to take your working config and make it part of your image via the > files/ mechansim. > > If you are meaning something else, I'm still not understanding what you > are trying to do. > &g

Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-12 Thread John kerry
Hi, i will check whether this is driver issue or Luci, I have to add " disable WPS if this feature is enabled for the WiFi module" this in wireless. How i can handle this. Thanks, On Thu, Aug 13, 2015 at 2:18 PM, David Lang wrote: > On Thu, 13 Aug 2015, John kerry wrote: > &g

Re: [OpenWrt-Devel] Fwd: "3-address Wi-Fi bridging" (was: Multiple Wi-Fi client/AP interfaces on one radio)

2015-08-13 Thread John kerry
Sorry i didn't mentioned fully. I want this to happen, " disable WPS if this feature is enabled for the WiFi module" On Thu, Aug 13, 2015 at 5:22 PM, David Lang wrote: > On Thu, 13 Aug 2015, John kerry wrote: > > Hi, >> >> i will check whether this is drive

Re: [OpenWrt-Devel] Separate Default SSID for 2.4GHz and 5GHz

2015-08-13 Thread John kerry
Hi, Yes exactly i have one radio which i want to switch between 2.4GHz and 5GHz. GUI side i will add one switch button, But i am not getting how handle backend wireless config. i mean to say where i can add this when selected 2.4GHz load 2.4GHz wireless configuration and same for 5GHz. On Thu, Au

[OpenWrt-Devel] AR9344 OpenWrt (Scanning Device)

2015-08-31 Thread John kerry
Hi, I am working on AR9344 openWrt project. When I am doing scanning the device wireless It's taking very long time to display the Scanning devices. Could anyone help me, how I can reduce the delay. Thanks, ___ openwrt-devel mailing list openwrt-devel@

[OpenWrt-Devel] Fwd: AR9344 OpenWrt (Scanning Device)

2015-09-01 Thread John kerry
g to with scanning, but my tool > called "horst" may help to quickly get an overview of what's happening > in the "air"... It needs a monitor interface however. > > http://br1.einfach.org/tech/horst/ > > bruno > > On 09/01/2015 04:23 AM, John kerry wro

[OpenWrt-Devel] AR9344 OpenWrt GUI

2015-09-09 Thread John kerry
Hi, We are working on AR9344 OpenWrt, We have configured the wireless as AP mode and broadcasting the SSID so any device can connect to it and even we are able access the GUI on Smartphone after connecting to that AP. Then we do survey the scanning devices, its gives the Scanning result, then we

Re: [OpenWrt-Devel] AR9344 OpenWrt GUI

2015-09-09 Thread John kerry
Hi, Yes after reset we are to able to reconnect, I understand using wired connection we can configure but we need to configure using wireless only. Is there anyway that we can avoid the Wi-Fi reset? Regards, On Thu, Sep 10, 2015 at 7:29 AM, David Lang wrote: > On Wed, 9 Sep 2015, John ke

Re: [OpenWrt-Devel] AR9344 OpenWrt GUI

2015-09-09 Thread John kerry
Could anyone please help me to solve this issue. How we can avoid the wifi reset. On Thu, Sep 10, 2015 at 9:24 AM, John kerry wrote: > Hi, > > Yes after reset we are to able to reconnect, I understand using wired > connection we can configure but we need to configure using wireles

Re: [OpenWrt-Devel] AR9344 OpenWrt GUI

2015-09-10 Thread John kerry
Where its applying the settings, except resetting the radio(s) we can do everything . I Know it involves the resetting but we can comment that resetting part. Could please tell where this part of code exist On Thu, Sep 10, 2015 at 3:12 PM, David Lang wrote: > On Thu, 10 Sep 2015, John ke

[OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-14 Thread John kerry
Hi, I have to write some condition in /etc/hotplug.d/button/50-wps/ file I have to configure cat /etc/hotplug.d/button/00-wps file for following condition: if [ "$BUTTON" = "BTN_2" ] && [ "$ACTION" = "pressed" ]; then I have to check eth0.1 if link is up then have ON status led otherwise OFF. I

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-14 Thread John kerry
add such condition in this script. Regards, On Tue, Sep 15, 2015 at 2:00 PM, John kerry wrote: > Hi, > > I have to write some condition in > /etc/hotplug.d/button/50-wps/ file > > I have to configure cat /etc/hotplug.d/button/00-wps file for following > condition: > if [

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-15 Thread John kerry
Please can anyone reply On Tue, Sep 15, 2015 at 2:16 PM, John kerry wrote: > Hi, > > I have written the following condition in /etc/hotplug.d/button/50-wps file > if [ "$ACTION" = "pressed" -a "$BUTTON" = "lanwifi" ]; then > echo &

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-15 Thread John kerry
> /sys/devices/platform/leds-gpio/leds/db120:green:status/brightness } } fi Am i doing any mistake or need to change anything Regards, John On Tue, Sep 15, 2015 at 4:07 PM, Bastian Bittorf wrote: > * John kerry [15.09.2015 08:52]: > > I have to write some condition in

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-15 Thread John kerry
config led 'led_status' option name 'STATUS' option interval '50' option sysfs 'db120:green:status' option default '0' option trigger 'netdev' option mode 'link' option

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-15 Thread John kerry
x27; && { echo "255" > /sys/devices/platform/leds-gpio/leds/db120:green:status/brightness } } but its not working. What mistake i am doing. Could you please correct it me. Regards, John On Tue, Sep 15, 2015 at 7:51 PM, Bastian Bittorf wrote: > * J

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-15 Thread John kerry
TCH TO RJ45" > /dev/consoleecho "255" > /sys/devices/platform/leds-gpio/leds/db120:green:status/brightness } & }* *but still no luck :(* Could anyone please figure out what mistakes i am doing. Regards, John On Wed, Sep 16, 2015 at 9:12 AM, John kerry

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread John kerry
not working. I writing this script under /etc/hotplug.d/button/50-button file. I have to change any other file? Regards, john On Wed, Sep 16, 2015 at 2:43 PM, Bastian Bittorf wrote: > * John kerry [16.09.2015 08:10]: > > Hi, > > > > I have changed the script as belo

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread John kerry
.ntp.org' Sep 16 10:10:09 ST-MA_WIFI user.notice root: CONFIG_ntp_server_ITEM2=' 1.openwrt.pool.ntp.org' Sep 16 10:10:09 ST-MA_WIFI user.notice root: CONFIG_ntp_server_ITEM3=' 2.openwrt.pool.ntp.org' Sep 16 10:10:09 ST-MA_WIFI user.notice root: CONFIG_ntp_server_ITE

Re: [OpenWrt-Devel] OpenWrt /etc/hotplug.d/button/00-wps

2015-09-16 Thread John kerry
quot; ] && { devstatus "eth0.2" | grep "up":true && { echo "" > /dev/console echo "SWITCH TO RJ45" > /dev/console echo "255" > /sys/devices/platform/leds-gpio/leds/db120:green:status/brightn

[OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread John kerry
Hi I am trying to write mac address and Serial number in ART partition. Creating 6 MTD partitions on "spi0.0": 0x-0x0004 : "u-boot" 0x0004-0x0005 : "u-boot-env" 0x0005-0x0068 : "rootfs" mtd: partition "rootfs" set to be root filesystem mtd: part

Re: [OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread John kerry
ocking art ... Writing from /tmp/art.img to art ... Thanks, John On Tue, Feb 16, 2016 at 7:23 PM, wrote: > 2016-02-16 11:43 skrev John kerry: > > Hi >> >> I am trying to write mac address and Serial number in ART partition. >> >> Creating 6 MTD partitions on "spi

Re: [OpenWrt-Devel] write/read from mtd ART partition

2016-02-16 Thread John kerry
Tue, Feb 16, 2016 at 8:44 PM, John kerry wrote: > Hi, > > Thank you so much for reply. > > The offset for the mac address is as below: > Ethernet MAC address is saved in art partition with offset 0 > WiFi device calibration data is saved in art partition with offset 0x1000

[OpenWrt-Devel] Openwrt AR9344 Factory reset issue

2016-02-17 Thread John kerry
I have written the mac_address, wifi mac address and Serial number in mtd5 (ART) successfully as below location : Mac Address : offset 0x0 Wi-Fi Mac Address: offset 4098 Seral number : offset 4104 and its working fine. Able to read and write. but after that when i do the factory reset using below

[OpenWrt-Devel] Command to Disable Reset Button

2016-02-21 Thread John kerry
Hi, I have configured the Reset button and it's working fine for normal reset and press for 3 seconds for factory reset. I need to disable the reset button using command and enable it. Could anyone please help me how i can enable/disable the reset button. Thanks, John __