Re: [OpenWrt-Devel] OpenWrt on RISC-V
On Sat, Nov 3, 2018 at 3:29 PM Alex Guo wrote: > > Hi Zoltan, > > Nice work. > > I'm also trying 4.19 kernel in microsemi pcie board with some wifi card > recently, I will try your port on that borad. > > Best, > > Alex > Which HiFive ? I have a HiFive1 sitting here on my desk lookkng for an OS... I was going to do Zephyr on it... but now. > On 11/3/18 10:50 AM, Zoltan HERPAI wrote: > > Hi all, > > > > I'm happy to announce a port of RISC-V for OpenWrt. For those who > > haven't heard about it, RISC-V is a new CPU architecture coming from > > Berkeley, and is a free, open, extensible ISA, maintained by a > > non-profit foundation, included in the Linux kernel since 4.15. > > > > Current status is: > > - based on 4.19 - pull requests and patches for trunk will be sent > > once support for 4.19 is merged into mainline and core package changes > > are worked out. Until then, the port is in a staging tree [1] > > - mainline musl support is expected for musl 1.21, patches are > > included in the tree [2] for the current 1.20 for testing > > - currently builds with glibc as default > > - OpenWrt packages are built regularly on an external buildbot > > - documentation is added to the wiki [3] > > > > Currently you have three ways to run RISC-V: > > - Virtex7-based FPGA implementation of the core (most expensive) > > - HiFive Unleashed (official Linux devboard, less expensive) [4] > > - QEMU (free, support for riscv merged into qemu-2.12) [5] > > > > The target supports the last two. There are further development boards > > expected in the next few months. For further reading on the > > architecture and its state, please refer to this site [6]. > > > > The staging tree includes various fixes for the core package changes > > appeared with 4.19. Given the state of 4.19 currently, please consider > > this an experimental port - you won't be able to run quake on it yet, > > sorry. [7] > > > > [1] > > https://git.openwrt.org/?p=openwrt/staging/wigyori.git;a=shortlog;h=refs/heads/riscv-201810 > > [2] > > https://git.openwrt.org/?p=openwrt/staging/wigyori.git;a=commit;h=f5fe060b9ccc7d64d3b1764852b6e2b9273d5cad > > [3] https://openwrt.org/docs/techref/hardware/soc/soc.sifive > > [4] https://openwrt.org/toh/hifive/unleashed > > [5] > > https://openwrt.org/docs/guide-user/virtualization/qemu#openwrt_in_qemu_risc-v > > [6] https://riscv.org/ > > [7] https://archive.fosdem.org/2018/schedule/event/riscv/ > > > > Regards, > > Zoltan Herpai > > > > > > > > ___ > > openwrt-devel mailing list > > openwrt-devel@lists.openwrt.org > > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Compile juci on Ubuntu 18.04
On Tue, Oct 16, 2018 at 8:43 PM Nick wrote: > > Just compiled an Image with JUCI for WDR3600. > When trying to flash > > > Invalid image, hardware ID mismatch, hw:4301 0001 > > image:3601 0001. > Is someone using juci? > no commits in 3+ years looks pretty dead to me. > On 10/15/18 5:03 PM, Nick wrote: > > I just followed "Usage on OpenWrt". > > OpenWrt Commit ID: 9b4650b3b92e6246b986ac9e3d7c2a80d66b805b > > > > Here is the commit to fix the regex stuff: > >> https://github.com/PolynomialDivision/openwrt/commit/c0d2080fa4253f34506360cddeb0c457683854b5 > > On 10/15/2018 04:58 PM, Koen Vandeputte wrote: > >> > >> On 2018-10-15 16:20, Nick wrote: > >>> Hi, > >>> did someone manage to follow the Readme.md? > >>> I got several problems when compiling juci in Xubuntu 18.04. > >>> First where was a Regex mismatch. > >>> And then npm makes trouble. > >>> Now there is a new issue: > >>> > touch > /home/user/openwrt_juci/staging_dir/target-x86_64_musl-1.1.14/stamp/.juci_installed > > make[3]: Leaving directory '/home/user/openwrt_juci/feeds/juci/juci' > make[3]: Entering directory > '/home/user/openwrt_juci/feeds/juci/libblobpack' > Makefile:43: *** Download/default is missing the FILE field.. Stop. > >>> There is a similar issue on github > >>> (https://github.com/openwrt/packages/issues/5180). > >>> I don't know how to move on. Some ideas? > >>> > >>> Best, > >>> Nick > >>> > >>> > >>> > >> Hi, > >> > >> I'm seeing "musl-1.1.14" in the path above. > >> How old is this? > >> > >> Koen > >> > >> > >> ___ > >> openwrt-devel mailing list > >> openwrt-devel@lists.openwrt.org > >> https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > > > ___ > > openwrt-devel mailing list > > openwrt-devel@lists.openwrt.org > > https://lists.openwrt.org/mailman/listinfo/openwrt-devel > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] RFT: ar71xx/mac80211 update
On Wed, Aug 22, 2018, 17:10 John Crispin wrote: > > > On 22/08/18 12:02, Outback Dingo wrote: > > curious what i missed as my archer-c7-v4 is working fine. TPLINK > > AC1750 device > Hi, > please dont top post > I have no idea what you are asking. > Meaning I don't understand his issue mine works fine, so I'm curious as to what's different > John > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] RFT: ar71xx/mac80211 update
curious what i missed as my archer-c7-v4 is working fine. TPLINK AC1750 device On Wed, Aug 22, 2018 at 11:59 AM Daniel Golle wrote: > > Hi John, > > On Wed, Aug 22, 2018 at 10:43:18AM +0200, John Crispin wrote: > > On 22/08/18 10:40, Koen Vandeputte wrote: > > > On 2018-08-13 17:14, John Crispin wrote: > > > > Hi, > > > > > > > > as 19.01 will probably use v4.14 as baseline and ath79 wont be a > > > > full replacement for ar71xx by then we decided to bump ar71xx to > > > > v4.14. This is available for testing inside my staging tree -> > > > > > > > > https://git.openwrt.org/?p=openwrt/staging/blogic.git;a=shortlog;h=refs/heads/staging > > > > > > > > > > > > The tree also holds an update to mac80211, bumping it to the v4.18 > > > > wifi drivers. If anyone would like to test ar71xx and/or mac80211, > > > > feel free to do so. > > > ... > > > Hi John, > > > > > > Thanks for the updates! > > > > > > > > > mac80211: > > > > > > > > > I've tested mac80211 on a large number of targets in the field: > > > > > > - ~25 devices > > > - half of them having up to 4 wlan ifaces > > > - all running in IBSS > > > - Distance varying from 20m up to ~50km > > > > > > For my cases, it seems to work well. > > I rebased my staging tree on top of yours and tested a bunch of ramips > devices and noticed that kmod-rt2x00-lib is marked @BROKEN. Removing > the broken mark resulted in pretty well working rt2x00 drivers, tested > on MT7620A and doing the job as well as with previous mac80211 > versions. > > Hence: > diff --git a/package/kernel/mac80211/Makefile > b/package/kernel/mac80211/Makefile > index 61cb27b5dd..70a268c535 100644 > --- a/package/kernel/mac80211/Makefile > +++ b/package/kernel/mac80211/Makefile > @@ -1238,7 +1238,7 @@ endef > > define KernelPackage/rt2x00-lib > $(call KernelPackage/rt2x00/Default) > - DEPENDS+= @BROKEN @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) > +kmod-mac80211 +kmod-lib-crc-itu-t > + DEPENDS+= @(PCI_SUPPORT||USB_SUPPORT||TARGET_ramips) +kmod-mac80211 > +kmod-lib-crc-itu-t >TITLE+= (LIB) >FILES:=$(PKG_BUILD_DIR)/drivers/net/wireless/ralink/rt2x00/rt2x00lib.ko >MENU:=1 > > > Cheers > > > Daniel > > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] How to install old version of openvswitch on openwrt
Not sure why your linked a yocto project into an openwrt forum list, they are surely not the same as for building openvswitch on openwrt it is included in the project feeds On Mon, Aug 20, 2018 at 12:56 PM Tshu Shi wrote: > > We are trying to install old version of openvswitch on openwrt, but the > method in here : > http://git.yoctoproject.org/cgit/cgit.cgi/opkg/commit/?id=9da784d5508157cb327d53eb9abcf54e9926a5a5 > seems not working. Could you give us some advises? > The router we used is TL-wr1043nd v2, and the flash we used is > openwrt-18.06.0-ar71xx-generic-tl-wr1043nd-v2-squashfs-factory.bin, which is > offered by openwrt offical website( > https://openwrt.org/toh/tp-link/tl-wr1043nd ). > And the version of opkg is 3b417b9f41b4ceb5912d82f867dd5534e5675b5c > (2017-12-07). > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Introducing the LEDE project
On Wed, May 4, 2016 at 12:50 AM, Roman Yeryominwrote: > On 3 May 2016 at 23:19, Bruno Randolf wrote: > > On 03/05/16 18:59, Jo-Philipp Wich wrote: > >> we'd like to introduce LEDE, a reboot of the OpenWrt community > >> ... > >> Jo-Philipp Wich, > >> John Crispin, > >> Daniel Golle, > >> Felix Fietkau, > >> Hauke Mehrtens > >> John Crispin > >> Matthias Schiffer, > >> Steven Barth > > > > While a fresh start and a more open process is good move, given this > > list of supporters it sounds a bit ridiculous... who is left in the > > OpenWRT boat and why not do it as OpenWRT (V2 or whatever)??? > come on.. is this a joke? same names, same faces, if you sliced this list off from the current dev group, who is actually left anyway on that note, if its legit, ill jump onboard and throw my hat in the ring also due to my trust and respect for those that are listed. > > Indeed. Looks like silent rebranding. Without public discussion of the > issues (and possible ways to fix them) in mailing list Same people, > rules and methods. > Could you elaborate more and explain how exactly LEDE is going to fix > the listed problems? And why it's not possible to fix them inside > existing project? > > > Regards, > Roman > ___ > openwrt-devel mailing list > openwrt-devel@lists.openwrt.org > https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel > ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2
On Fri, Mar 11, 2016 at 3:28 PM, Matthias Schiffer < mschif...@universe-factory.net> wrote: > On 03/11/2016 02:46 PM, Joseph Marlin wrote: > > We certainly haven't. I've tried applying these patches - > http://thread.gmane.org/gmane.comp.embedded.openwrt.devel/39001 > > > > to no avail. I still get hit by a "Error code 2 - Firmware Check Failed". > > > > I'm really suspecting this comes down to an intentional check by > Ubiquiti to prevent us from flashing, as described on this list and in this > comment on the ticket - https://dev.openwrt.org/ticket/20982#comment:16 > > > > I have not yet had a chance to change the image header and CRC to look > like a Ubiquiti image, nor do I know how to offhand, but I hope to give it > a shot soon. > > Hi, > there is a lot of misinformation about this issue going around, in > particular, the wiki is plain wrong (I'll fix that some time soon.) > > Here's what's going on: > > * OpenWrt had wrong partition sizes in its UBNT AirMax firmware for a long > time > * Old AirOS and the corresponding U-boot version had a bug that made U-boot > ignore the partition sizes defined in the firmware image. This made OpenWrt > work with the old U-boot despite its broken partition sizes > * The new AirOS has been fixed in this regard (but contains a new bug). > This also means that the broken OpenWrt images don't work anymore and can > cause even more breakage > * The new U-boot/AirOS did *not* change the flash layout. Both AirOS 5.5.x > and 5.6.x use the same flash layout, the changed flash layout reported in > the wiki is caused by broken OpenWrt images! > * The OpenWrt trunk since r48829 and the CC branch since r48849 are fixed, > meaning they define the correct partition sizes > * The "Newly-erased block contained word ..." messages are a consequence of > a missing patch in CC that has been backported as r48849 (the new U-boot > doesn't remove flash protection, so the flash is just read-only from > OpenWrt; TFTP recovery is the only way to upgrade in this state) > Okay sooo... does it work with openwrt after r48849 if we never wish to go back to AirOs, and is it sysupgrade flashable after we flash to later then this release > * AFAIR "Error code 2 - Firmware Check Failed" is the consequence of a bug > in the new U-boot: after flashing an image with broken (smaller) partition > sizes, the recovery doesn't accept images with the original partition sizes > anymore > > Getting out of this state is not easy: you have a U-boot on your device > that doesn't accept correct images, and an OpenWrt version that doesn't > allow writing to the flash. > > Through a serial console, you can try fixing the settings in U-boot; when I > tried this the last time, I wasn't able to do so, but maybe I did something > wrong. The U-boot console has a few interesting settings (I forgot the > exact commands, but the "help" command should tell you everything you need > to know): > > * You can reset the MTD layout to the defaults. This makes the recovery > accept correct images again. Unfortunately, in my experiments, this setting > was not permanent even when I saves the environment after resetting the > layout. In the hindsight, I remember there being a setting to disable flash > protection, maybe that would made have the environment saving effective. > > In the end, I fixed this by creating a patched OpenWrt image that allowed > me to write to the uboot and uboot-env partitions; this allowed me to write > back backups I had made of the uboot and uboot-env before I broke the flash > layout by flashing OpenWrt. Obviously, this does not work if you don't have > backups... > > * If you don't plan to ever go back to AirOS again, it might be okay to > just ignore the broken MTD layout in the U-boot settings. Get into the > U-boot console, reset the MTD layout, start recovery, and flash an OpenWrt > version after trunk r48829 or CC r48849. > > > I hope this helps. I'd be interested if you find a way to parmanently reset > the MTD layout from the U-boot console; unfortunately, I don't have a test > device available at the moment. > > Regards, > Matthias > > > PS. Completely unrelated to this issue: I noticed in your log that you used > the wrong image ("nanostation" instead of "bullet") for your Loco. This > isn't really an issue, as the nanostation and bullet images only differ by > the number of ethernet ports they define, but you'll have a dead "eth1" > device. The image "nanostation" should used for the NanoStation (as it is > the only device with two ethernet ports), and "bullet" for everything from > the AirMax XM series exce
Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2
so, have we gotten past the ubiquiti bootloader downgrade issues yet ? On Fri, Feb 12, 2016 at 11:09 PM, Joseph Marlin <jmar...@saucontech.com> wrote: > Yes, we've been fighting this bug unsuccessfully for quite a while. It's > the result of a new version of uboot changing the partition sizes. > > Here's the ticket: https://dev.openwrt.org/ticket/20982 > > > > - Original Message - > From: "Outback Dingo" <outbackdi...@gmail.com> > To: "Bill Moffitt" <bmoff...@ayrstone.com> > Cc: openwrt-devel@lists.openwrt.org > Sent: Friday, February 12, 2016 5:00:38 PM > Subject: Re: [OpenWrt-Devel] Cannot flash UBNT Loco M2 > > > > On Fri, Feb 12, 2016 at 10:54 PM, Bill Moffitt < bmoff...@ayrstone.com > > wrote: > > > I got a new batch of LocoM2 units, and they won't flash using the > "recovery" (tftp) method - it says, > > received ERROR
[OpenWrt-Devel] OnetSwitch FYI
Just came across this on another list, looks interesting, thought some of you might be interested, About this project As we all know, Raspberry Pi is an open source hardware computer, and Arduino is an open source hardware microcontroller. Where is the standalone open source hardware for networking without any PC support? The ONetSwitch project sets up an open source Software Defined Networking (SDN) platform that make it easy for you to create new network applications. What is ONetSwitch? Open Source Hardware ONetSwitch is a notebook-sized Quad Gigabit Ethernet Ports SBC based on Xilinx Zynq SoC, which combines the software programmability of ARM processors with the hardware programmability of FPGAs.  With a FPGA programmable accelerator (Efficient Bitcoin Miner System), five Gigabit Ethernet ports, Up to 3GB DDR3 DRAM, SATA connector, and Mini PCIe interface for WLAN Card (OpenWrt on Zynq). Open Source Reference Design ONetSwitch provides several reference designs available on GitHub. Each reference design consist of open source FPGA Hardware(RTL Code), Linux OS and open source software, sharing your mind and contribute to our community. https://www.kickstarter.com/projects/onetswitch/onetswitch-open-source-hardware-for-networking ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Multiple OpenWrt devices collectively managed?
On Tue, Mar 24, 2015 at 12:01 PM, David Lang da...@lang.hm wrote: Is there any open implementation of this? opencapwap shows no updates in their wiki since 2012 and no files at all on their sourceforge page. I admit to being a bit skeptical about such approaches. They sound good in theory, and work fairly well when there aren't that many users, but I've never seen a commercial system work well when there is really a load on the system (i.e. conference or classroom environments) David Lang There are working implementations of TR-69 that will do just this On Mon, 23 Mar 2015, xxiao8 wrote: Isn't CAPWAP designed for this? xxiao On 03/23/2015 07:42 PM, openwrt-devel-requ...@lists.openwrt.org wrote: Re: Multiple OpenWrt devices collectively managed? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Multiple OpenWrt devices collectively managed?
On Sun, Mar 22, 2015 at 10:33 AM, valent.turko...@gmail.com valent.turko...@gmail.com wrote: On 21 March 2015 at 15:49, Janne Cederberg janne.cederb...@gmail.com wrote: Greetings all! Been searching around and found for example OpenWISP but thought I'd ask the list as well: is there some opensource management software for OpenWrt that could control a set of multiple OpenWrt AP's on the same SSID; so basically controlling their channels based on channel use and actively avoiding crowded/DOS'sed channels for example? Best regards, Janne Cederberg Hi Janne, what you are asking for is quite custom piece of software so there is not any open source project with functionality that you ask for. But it is not too difficult to build something like that, try building it yourself and share it with others, or hire somebody to do it for you. Cheers, Valent. Thats actually not true, there are numerous implementations of dashboard management solution for openwrt based routers running mesh, Ive been running a dashboard for well over 6 years now on a large scale wireless deployment. just research openwrt wireless mesh dashboard ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Donating TL-Archer C7 v2 for developer
Yupp, okay Ill bite... but im in Australia :) On Sun, Nov 30, 2014 at 12:11 AM, Sami Olmari s...@olmari.fi wrote: Hi I'd like to donate an TP-Link Archer C7 v2 to keep for willing OpenWrt developer in exchange for (trying to) make it more bugfree. There is at least few known bugs, https://dev.openwrt.org/ticket/18362 and https://dev.openwrt.org/ticket/18363 Then there is also matter of switch config which kinda doesn't make any sense, nor editing it works as expected (too many ports, no sane CPU port, can't do VLANs essentially). Anyone interested? Sami Olmari ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi Outdoor Plus
Hey David, Ive just picked up an AP Outdoor Plus model today, I can help you get it sorted and committed to the tree Once ive gone through the testing and needed validation steps. Ill keep you all posted. On Fri, May 23, 2014 at 12:33 AM, David Hutchison dhutchi...@bluemesh.net wrote: It's running well in OpenWRT, I just need some guidance on how to go about patching the m25p80.c file. Nobody responded about the Makefile change, if it was proper to use the UAPPRO profile, since it matches the UniFi+. If you manually apply those changes to your tree, it will work. -- Davey On Thu, May 22, 2014 at 3:20 AM, valent.turko...@gmail.com valent.turko...@gmail.com wrote: On Sat, Apr 5, 2014 at 2:33 AM, David Hutchison dhutchi...@bluemesh.net wrote: I was able to get the Ubiquiti UniFi Outdoor Plus to boot into OpenWRT today, however I need some assistance writing a patch for it. There are two things that need to happen: First of all, this is how I got it to work: Modify target/linux/ar71xx/image/Makefile: --- Makefile.bak2014-04-04 17:01:40.929134535 -0700 snip I would like some help testing and creating a valid patch. 1.) I don't know if you need to modify the flash driver in the newer kernel, can someone confirm trunk has support for the en25qh128 flash chip? 2.) Should we use UAPPRO since the flash layout seems to be the same on both the PRO and UBNT Outdoor Unifi Plus? Is that a valid approach as far as the Makefile is concerned? 3.) If the flash chip change is not needed in the latest trunk, is the first patch I provided sufficient for Initial UniFi Outdoor Plus support? -- Davey Has there been any progress? I'm considering getting one UAP-Outdoor+ but it is not cheap, so it is not an impulse decision. I would like to help and test and get this hardware supported under OpenWrt, if anybody has means to send at least two devices for testing I'll work on getting them supported under OpenWrt. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
somethings odd here would you have an image i can test ?? tftp bin tftp timeout 120 tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin Error code 2: Firmware check failed Sent 6356992 bytes in 9.7 seconds On Fri, Jun 13, 2014 at 8:27 PM, and...@polkaspots.com and...@polkaspots.com wrote: Hi there, I have one as well and managed to put the firmware on using his patch. Now i'm just trying to wrap my head around how quilt works. Will update you as soon as I have something. By the way, is this the correct way to reply to this patchworks digest? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
Your building target for Ubiquiti all ? or UniFi OutDoor ? On Fri, Jun 13, 2014 at 8:35 PM, and...@polkaspots.com and...@polkaspots.com wrote: Then it hasent been generated. Try : Do a make dirclean Change this : Modify target/linux/ar71xx/image/Makefile: +$(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO)) $(eval $(call MultiProfile,WNDR3700,WNDR3700V1 WNDR3700V2 WNDR3800 WNDRMAC WNDRMACV2)) $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R)) $(eval $(call MultiProfile,WP543,WP543_2M WP543_4M WP543_8M WP543_16M)) do a make kernel_menuconfig exit without doing anything cd build_dir find | grep m25p80.c should show up something in drivers/mtd/devices/ add the patch in +++ m25p80.c2014-04-05 00:27:58.0 + @@ -677,6 +677,8 @@ { en25q32b, INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, { en25p64, INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { en25q64, INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, +{ en25qh128, INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, /* Everspin */ { mr25h256, CAT25_INFO( 32 * 1024, 1, 256, 2) }, and then do a make again. It should generate it fine. On 13/06/14 11:31, Outback Dingo wrote: ive applied the patches but its not building that specific image On Fri, Jun 13, 2014 at 8:30 PM, and...@polkaspots.com and...@polkaspots.com wrote: Ah that’s wrong, you need to have one called openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin not openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin, the firmware check is different. On 13/06/14 11:29, Outback Dingo wrote: somethings odd here would you have an image i can test ?? tftp bin tftp timeout 120 tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin Error code 2: Firmware check failed Sent 6356992 bytes in 9.7 seconds On Fri, Jun 13, 2014 at 8:27 PM, and...@polkaspots.com and...@polkaspots.com wrote: Hi there, I have one as well and managed to put the firmware on using his patch. Now i'm just trying to wrap my head around how quilt works. Will update you as soon as I have something. By the way, is this the correct way to reply to this patchworks digest? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
seriously. i did it even exactly as you stated and still no joy.. and ive been using/developing on WRT for 6+ years Grrr what did i miss -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs-64k -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6881628 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6881284 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 1425844 Jun 13 21:37 openwrt-ar71xx-generic-uImage-gzip.bin -rw-r--r-- 1 dingo dingo 1034289 Jun 13 21:37 openwrt-ar71xx-generic-uImage-lzma.bin On Fri, Jun 13, 2014 at 8:48 PM, and...@polkaspots.com and...@polkaspots.com wrote: Ubiquiti all, The outdoor+ profile is not defined, so it will call the normal Outdoor if you select that one. On 13/06/14 11:47, Outback Dingo wrote: Your building target for Ubiquiti all ? or UniFi OutDoor ? On Fri, Jun 13, 2014 at 8:35 PM, and...@polkaspots.com and...@polkaspots.com wrote: Then it hasent been generated. Try : Do a make dirclean Change this : Modify target/linux/ar71xx/image/Makefile: +$(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO)) $(eval $(call MultiProfile,WNDR3700,WNDR3700V1 WNDR3700V2 WNDR3800 WNDRMAC WNDRMACV2)) $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R)) $(eval $(call MultiProfile,WP543,WP543_2M WP543_4M WP543_8M WP543_16M)) do a make kernel_menuconfig exit without doing anything cd build_dir find | grep m25p80.c should show up something in drivers/mtd/devices/ add the patch in +++ m25p80.c2014-04-05 00:27:58.0 + @@ -677,6 +677,8 @@ { en25q32b, INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, { en25p64, INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { en25q64, INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, +{ en25qh128, INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, /* Everspin */ { mr25h256, CAT25_INFO( 32 * 1024, 1, 256, 2) }, and then do a make again. It should generate it fine. On 13/06/14 11:31, Outback Dingo wrote: ive applied the patches but its not building that specific image On Fri, Jun 13, 2014 at 8:30 PM, and...@polkaspots.com and...@polkaspots.com wrote: Ah that’s wrong, you need to have one called openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin not openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin, the firmware check is different. On 13/06/14 11:29, Outback Dingo wrote: somethings odd here would you have an image i can test ?? tftp bin tftp timeout 120 tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin Error code 2: Firmware check failed Sent 6356992 bytes in 9.7 seconds On Fri, Jun 13, 2014 at 8:27 PM, and...@polkaspots.com and...@polkaspots.com wrote: Hi there, I have one as well and managed to put the firmware on using his patch. Now i'm
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
yeah i just noticed that you dropped that from the initial patch, caught it fixed it and now i have an image. its been too long, need more coffee.. but Thanks... always something simple On Fri, Jun 13, 2014 at 9:46 PM, and...@polkaspots.com and...@polkaspots.com wrote: Oh, sorry I think is actually my bad, I didn’t paste everything, grrr target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))+$(eval $(call SingleProfile,UAPPRO,64k,UBNTUNIFIOUTDOORPLUS,ubnt-unifi-outdoor-plus,UBNT-U20,ttyS0,115200,BZ,BZ,ar7240)) On 13/06/14 12:42, Outback Dingo wrote: seriously. i did it even exactly as you stated and still no joy.. and ive been using/developing on WRT for 6+ years Grrr what did i miss -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs-64k -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6881628 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6881284 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 1425844 Jun 13 21:37 openwrt-ar71xx-generic-uImage-gzip.bin -rw-r--r-- 1 dingo dingo 1034289 Jun 13 21:37 openwrt-ar71xx-generic-uImage-lzma.bin On Fri, Jun 13, 2014 at 8:48 PM, and...@polkaspots.com and...@polkaspots.com wrote: Ubiquiti all, The outdoor+ profile is not defined, so it will call the normal Outdoor if you select that one. On 13/06/14 11:47, Outback Dingo wrote: Your building target for Ubiquiti all ? or UniFi OutDoor ? On Fri, Jun 13, 2014 at 8:35 PM, and...@polkaspots.com and...@polkaspots.com wrote: Then it hasent been generated. Try : Do a make dirclean Change this : Modify target/linux/ar71xx/image/Makefile: +$(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO)) $(eval $(call MultiProfile,WNDR3700,WNDR3700V1 WNDR3700V2 WNDR3800 WNDRMAC WNDRMACV2)) $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R)) $(eval $(call MultiProfile,WP543,WP543_2M WP543_4M WP543_8M WP543_16M)) do a make kernel_menuconfig exit without doing anything cd build_dir find | grep m25p80.c should show up something in drivers/mtd/devices/ add the patch in +++ m25p80.c2014-04-05 00:27:58.0 + @@ -677,6 +677,8 @@ { en25q32b, INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, { en25p64, INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { en25q64, INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, +{ en25qh128, INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, /* Everspin */ { mr25h256, CAT25_INFO( 32 * 1024, 1, 256, 2) }, and then do a make again. It should generate it fine. On 13/06/14 11:31, Outback Dingo wrote: ive applied the patches but its not building that specific image On Fri, Jun 13, 2014 at 8:30 PM
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin Sent 6881628 bytes in 4.0 seconds FINALLY. On Fri, Jun 13, 2014 at 9:49 PM, Outback Dingo outbackdi...@gmail.com wrote: yeah i just noticed that you dropped that from the initial patch, caught it fixed it and now i have an image. its been too long, need more coffee.. but Thanks... always something simple On Fri, Jun 13, 2014 at 9:46 PM, and...@polkaspots.com and...@polkaspots.com wrote: Oh, sorry I think is actually my bad, I didn’t paste everything, grrr target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))+$(eval $(call SingleProfile,UAPPRO,64k,UBNTUNIFIOUTDOORPLUS,ubnt-unifi-outdoor-plus,UBNT-U20,ttyS0,115200,BZ,BZ,ar7240)) On 13/06/14 12:42, Outback Dingo wrote: seriously. i did it even exactly as you stated and still no joy.. and ive been using/developing on WRT for 6+ years Grrr what did i miss -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs-64k -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6881628 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6881284 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 1425844 Jun 13 21:37 openwrt-ar71xx-generic-uImage-gzip.bin -rw-r--r-- 1 dingo dingo 1034289 Jun 13 21:37 openwrt-ar71xx-generic-uImage-lzma.bin On Fri, Jun 13, 2014 at 8:48 PM, and...@polkaspots.com and...@polkaspots.com wrote: Ubiquiti all, The outdoor+ profile is not defined, so it will call the normal Outdoor if you select that one. On 13/06/14 11:47, Outback Dingo wrote: Your building target for Ubiquiti all ? or UniFi OutDoor ? On Fri, Jun 13, 2014 at 8:35 PM, and...@polkaspots.com and...@polkaspots.com wrote: Then it hasent been generated. Try : Do a make dirclean Change this : Modify target/linux/ar71xx/image/Makefile: +$(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO)) $(eval $(call MultiProfile,WNDR3700,WNDR3700V1 WNDR3700V2 WNDR3800 WNDRMAC WNDRMACV2)) $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R)) $(eval $(call MultiProfile,WP543,WP543_2M WP543_4M WP543_8M WP543_16M)) do a make kernel_menuconfig exit without doing anything cd build_dir find | grep m25p80.c should show up something in drivers/mtd/devices/ add the patch in +++ m25p80.c2014-04-05 00:27:58.0 + @@ -677,6 +677,8 @@ { en25q32b, INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, { en25p64, INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { en25q64, INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, +{ en25qh128, INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, /* Everspin */ { mr25h256, CAT25_INFO( 32 * 1024, 1, 256, 2
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
Shoot. its not coming up... after the tftp it was flashing white blue white blue white blue for a bit then stopped. doesnt seem to be doing much... cant ping 192.168.1.1 from my host hrm should i unplug plug it back in On Fri, Jun 13, 2014 at 10:05 PM, and...@polkaspots.com and...@polkaspots.com wrote: Great! I was confused about the Tx-Power: 18 dBm but that makes sense, as it has 2 x 5dBi passive gain antennas. So the total will actually be 28. Powerful little one. On 13/06/14 12:53, Outback Dingo wrote: tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin Sent 6881628 bytes in 4.0 seconds FINALLY. On Fri, Jun 13, 2014 at 9:49 PM, Outback Dingo outbackdi...@gmail.com wrote: yeah i just noticed that you dropped that from the initial patch, caught it fixed it and now i have an image. its been too long, need more coffee.. but Thanks... always something simple On Fri, Jun 13, 2014 at 9:46 PM, and...@polkaspots.com and...@polkaspots.com wrote: Oh, sorry I think is actually my bad, I didn’t paste everything, grrr target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))+$(eval $(call SingleProfile,UAPPRO,64k,UBNTUNIFIOUTDOORPLUS,ubnt-unifi-outdoor-plus,UBNT-U20,ttyS0,115200,BZ,BZ,ar7240)) On 13/06/14 12:42, Outback Dingo wrote: seriously. i did it even exactly as you stated and still no joy.. and ive been using/developing on WRT for 6+ years Grrr what did i miss -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs-64k -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6881628 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6881284 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 1425844 Jun 13 21:37 openwrt-ar71xx-generic-uImage-gzip.bin -rw-r--r-- 1 dingo dingo 1034289 Jun 13 21:37 openwrt-ar71xx-generic-uImage-lzma.bin On Fri, Jun 13, 2014 at 8:48 PM, and...@polkaspots.com and...@polkaspots.com wrote: Ubiquiti all, The outdoor+ profile is not defined, so it will call the normal Outdoor if you select that one. On 13/06/14 11:47, Outback Dingo wrote: Your building target for Ubiquiti all ? or UniFi OutDoor ? On Fri, Jun 13, 2014 at 8:35 PM, and...@polkaspots.com and...@polkaspots.com wrote: Then it hasent been generated. Try : Do a make dirclean Change this : Modify target/linux/ar71xx/image/Makefile: +$(eval $(call MultiProfile,UBNT,UBNTAIRROUTER UBNTRS UBNTRSPRO UBNTLSSR71 UBNTBULLETM UBNTROCKETM UBNTNANOM UBNTUNIFI UBNTUNIFIOUTDOOR UBNTUNIFIOUTDOORPLUS UAPPRO)) $(eval $(call MultiProfile,WNDR3700,WNDR3700V1 WNDR3700V2 WNDR3800 WNDRMAC WNDRMACV2)) $(eval $(call MultiProfile,WNR612V2,REALWNR612V2 N150R)) $(eval $(call MultiProfile,WP543,WP543_2M WP543_4M WP543_8M
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
duh it reversed the nics, i plugged into the poe and 192.168.1.1 is reachable i was plugged into the secondary port im in its live On Fri, Jun 13, 2014 at 10:09 PM, and...@polkaspots.com and...@polkaspots.com wrote: Do you have a serial console? Plug the main directly in to your network and do an arp scan for the mac. On 13/06/14 13:06, Outback Dingo wrote: Shoot. its not coming up... after the tftp it was flashing white blue white blue white blue for a bit then stopped. doesnt seem to be doing much... cant ping 192.168.1.1 from my host hrm should i unplug plug it back in On Fri, Jun 13, 2014 at 10:05 PM, and...@polkaspots.com and...@polkaspots.com wrote: Great! I was confused about the Tx-Power: 18 dBm but that makes sense, as it has 2 x 5dBi passive gain antennas. So the total will actually be 28. Powerful little one. On 13/06/14 12:53, Outback Dingo wrote: tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin Sent 6881628 bytes in 4.0 seconds FINALLY. On Fri, Jun 13, 2014 at 9:49 PM, Outback Dingo outbackdi...@gmail.com wrote: yeah i just noticed that you dropped that from the initial patch, caught it fixed it and now i have an image. its been too long, need more coffee.. but Thanks... always something simple On Fri, Jun 13, 2014 at 9:46 PM, and...@polkaspots.com and...@polkaspots.com wrote: Oh, sorry I think is actually my bad, I didn’t paste everything, grrr target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))+$(eval $(call SingleProfile,UAPPRO,64k,UBNTUNIFIOUTDOORPLUS,ubnt-unifi-outdoor-plus,UBNT-U20,ttyS0,115200,BZ,BZ,ar7240)) On 13/06/14 12:42, Outback Dingo wrote: seriously. i did it even exactly as you stated and still no joy.. and ive been using/developing on WRT for 6+ years Grrr what did i miss -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs-64k -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6881628 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6881284 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 1425844 Jun 13 21:37 openwrt-ar71xx-generic-uImage-gzip.bin -rw-r--r-- 1 dingo dingo 1034289 Jun 13 21:37 openwrt-ar71xx-generic-uImage-lzma.bin On Fri, Jun 13, 2014 at 8:48 PM, and...@polkaspots.com and...@polkaspots.com wrote: Ubiquiti all, The outdoor+ profile is not defined, so it will call the normal Outdoor if you select that one. On 13/06/14 11:47, Outback Dingo wrote: Your building target for Ubiquiti all ? or UniFi OutDoor ? On Fri, Jun 13, 2014 at 8:35 PM, and...@polkaspots.com and...@polkaspots.com wrote: Then it hasent been generated. Try : Do a make dirclean Change this : Modify target/linux/ar71xx/image/Makefile
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
That would be correct, and if done with quilt, as ive now completed testing the patches from the list if we can get one solid diff submitted to patchwork i can help walk it up the commit tree with those powers that be. On Fri, Jun 13, 2014 at 10:29 PM, and...@polkaspots.com and...@polkaspots.com wrote: As you have more experience than me, I need to turn to you, adding this chip in, is actually a generic patch, as other may have it as well? I can see that generic patches are apply as well when ar711 is called. On 13/06/14 13:14, Outback Dingo wrote: duh it reversed the nics, i plugged into the poe and 192.168.1.1 is reachable i was plugged into the secondary port im in its live On Fri, Jun 13, 2014 at 10:09 PM, and...@polkaspots.com and...@polkaspots.com wrote: Do you have a serial console? Plug the main directly in to your network and do an arp scan for the mac. On 13/06/14 13:06, Outback Dingo wrote: Shoot. its not coming up... after the tftp it was flashing white blue white blue white blue for a bit then stopped. doesnt seem to be doing much... cant ping 192.168.1.1 from my host hrm should i unplug plug it back in On Fri, Jun 13, 2014 at 10:05 PM, and...@polkaspots.com and...@polkaspots.com wrote: Great! I was confused about the Tx-Power: 18 dBm but that makes sense, as it has 2 x 5dBi passive gain antennas. So the total will actually be 28. Powerful little one. On 13/06/14 12:53, Outback Dingo wrote: tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin Sent 6881628 bytes in 4.0 seconds FINALLY. On Fri, Jun 13, 2014 at 9:49 PM, Outback Dingo outbackdi...@gmail.com wrote: yeah i just noticed that you dropped that from the initial patch, caught it fixed it and now i have an image. its been too long, need more coffee.. but Thanks... always something simple On Fri, Jun 13, 2014 at 9:46 PM, and...@polkaspots.com and...@polkaspots.com wrote: Oh, sorry I think is actually my bad, I didn’t paste everything, grrr target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))+$(eval $(call SingleProfile,UAPPRO,64k,UBNTUNIFIOUTDOORPLUS,ubnt-unifi-outdoor-plus,UBNT-U20,ttyS0,115200,BZ,BZ,ar7240)) On 13/06/14 12:42, Outback Dingo wrote: seriously. i did it even exactly as you stated and still no joy.. and ive been using/developing on WRT for 6+ years Grrr what did i miss -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs-64k -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6881628 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6881284 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-uap-pro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-outdoor-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-unifi-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 1425844 Jun 13 21:37 openwrt-ar71xx-generic-uImage-gzip.bin -rw-r--r-- 1 dingo dingo 1034289
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
https://dev.openwrt.org/wiki/SubmittingPatches On Fri, Jun 13, 2014 at 10:58 PM, and...@polkaspots.com and...@polkaspots.com wrote: Oh yes, i have my first patch. Not sure how to push it tho. 998-mtd_m25p80_support_for_en25q124.patch --- a/drivers/mtd/devices/m25p80.c +++ b/drivers/mtd/devices/m25p80.c @@ -762,6 +762,7 @@ static const struct spi_device_id m25p_i { en25q32b, INFO(0x1c3016, 0, 64 * 1024, 64, 0) }, { en25p64, INFO(0x1c2017, 0, 64 * 1024, 128, 0) }, { en25q64, INFO(0x1c3017, 0, 64 * 1024, 128, SECT_4K) }, + { en25qh128, INFO(0x1c7018, 0, 64 * 1024, 256, 0) }, { en25qh256, INFO(0x1c7019, 0, 64 * 1024, 512, 0) }, /* ESMT */ I do hope i did it the right way. On 13/06/14 13:31, Outback Dingo wrote: That would be correct, and if done with quilt, as ive now completed testing the patches from the list if we can get one solid diff submitted to patchwork i can help walk it up the commit tree with those powers that be. On Fri, Jun 13, 2014 at 10:29 PM, and...@polkaspots.com and...@polkaspots.com wrote: As you have more experience than me, I need to turn to you, adding this chip in, is actually a generic patch, as other may have it as well? I can see that generic patches are apply as well when ar711 is called. On 13/06/14 13:14, Outback Dingo wrote: duh it reversed the nics, i plugged into the poe and 192.168.1.1 is reachable i was plugged into the secondary port im in its live On Fri, Jun 13, 2014 at 10:09 PM, and...@polkaspots.com and...@polkaspots.com wrote: Do you have a serial console? Plug the main directly in to your network and do an arp scan for the mac. On 13/06/14 13:06, Outback Dingo wrote: Shoot. its not coming up... after the tftp it was flashing white blue white blue white blue for a bit then stopped. doesnt seem to be doing much... cant ping 192.168.1.1 from my host hrm should i unplug plug it back in On Fri, Jun 13, 2014 at 10:05 PM, and...@polkaspots.com and...@polkaspots.com wrote: Great! I was confused about the Tx-Power: 18 dBm but that makes sense, as it has 2 x 5dBi passive gain antennas. So the total will actually be 28. Powerful little one. On 13/06/14 12:53, Outback Dingo wrote: tftp put openwrt-ar71xx-generic-ubnt-unifi-outdoor-plus-squashfs-factory.bin Sent 6881628 bytes in 4.0 seconds FINALLY. On Fri, Jun 13, 2014 at 9:49 PM, Outback Dingo outbackdi...@gmail.com wrote: yeah i just noticed that you dropped that from the initial patch, caught it fixed it and now i have an image. its been too long, need more coffee.. but Thanks... always something simple On Fri, Jun 13, 2014 at 9:46 PM, and...@polkaspots.com and...@polkaspots.com wrote: Oh, sorry I think is actually my bad, I didn’t paste everything, grrr target/linux/ar71xx/image/Makefile: $(eval $(call SingleProfile,UAPPRO,64k,UAPPRO,ubnt-uap-pro,UAP-PRO,ttyS0,115200,BZ,BZ,ar934x))+$(eval $(call SingleProfile,UAPPRO,64k,UBNTUNIFIOUTDOORPLUS,ubnt-unifi-outdoor-plus,UBNT-U20,ttyS0,115200,BZ,BZ,ar7240)) On 13/06/14 12:42, Outback Dingo wrote: seriously. i did it even exactly as you stated and still no joy.. and ive been using/developing on WRT for 6+ years Grrr what did i miss -rw-r--r-- 1 dingo dingo 5636096 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs -rw-r--r-- 1 dingo dingo 5308420 Jun 13 21:37 openwrt-ar71xx-generic-root.squashfs-64k -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-airrouter-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-bullet-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-ls-sr71-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-nano-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6356996 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rocket-m-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rspro-squashfs-sysupgrade.bin -rw-r--r-- 1 dingo dingo 6357404 Jun 13 21:37 openwrt-ar71xx-generic-ubnt-rs-squashfs-factory.bin -rw-r--r-- 1 dingo dingo 6488064 Jun 13 21:37 openwrt-ar71xx-generic
Re: [OpenWrt-Devel] Initial Support for Ubiquiti UniFi, Outdoor Plus
Heh... probably want to start in a new thread, the patchwork got the whole email thread also fud.. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] issue with backport building openwrt for arm target
# # configuration written to .config # Building backport-include/backport/autoconf.h ... done. CC [M] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/main.o CC [M] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/compat-3.9.o CC [M] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.o In file included from /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c:17:0: /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/backport-include/linux/pci.h:255:16: warning: 'struct msix_entry' declared inside parameter list [enabled by default] struct msix_entry *entries, int minvec, int maxvec) ^ /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/backport-include/linux/pci.h:255:16: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c: In function 'backport_of_property_read_u32_index': /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c:199:2: error: implicit declaration of function 'of_find_property_value_of_size' [-Werror=implicit-function-declaration] const u32 *val = of_find_property_value_of_size(np, propname, ^ /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c:199:19: warning: initialization makes pointer from integer without a cast [enabled by default] const u32 *val = of_find_property_value_of_size(np, propname, ^ cc1: some warnings being treated as errors make[9]: *** [/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.o] Error 1 make[8]: *** [/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat] Error 2 make[7]: *** [_module_/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31] Error 2 make[6]: *** [modules] Error 2 make[5]: *** [modules] Error 2 make[4]: *** [modules] Error 2 make[4]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31' make[3]: *** [/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/.built] Error 2 make[3]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel/package/kernel/mac80211' make[2]: *** [package/kernel/mac80211/compile] Error 2 make[2]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel' make[1]: *** [/home/dingo/Development/Wireless/blix-atmel/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel' make: *** [world] Error 2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] issue with backport building openwrt for arm target
Recall bad build environment, its resolved On Fri, Apr 11, 2014 at 12:07 PM, Outback Dingo outbackdi...@gmail.comwrote: # # configuration written to .config # Building backport-include/backport/autoconf.h ... done. CC [M] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/main.o CC [M] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/compat-3.9.o CC [M] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.o In file included from /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c:17:0: /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/backport-include/linux/pci.h:255:16: warning: 'struct msix_entry' declared inside parameter list [enabled by default] struct msix_entry *entries, int minvec, int maxvec) ^ /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/backport-include/linux/pci.h:255:16: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default] /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c: In function 'backport_of_property_read_u32_index': /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c:199:2: error: implicit declaration of function 'of_find_property_value_of_size' [-Werror=implicit-function-declaration] const u32 *val = of_find_property_value_of_size(np, propname, ^ /home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.c:199:19: warning: initialization makes pointer from integer without a cast [enabled by default] const u32 *val = of_find_property_value_of_size(np, propname, ^ cc1: some warnings being treated as errors make[9]: *** [/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat/backport-3.10.o] Error 1 make[8]: *** [/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/compat] Error 2 make[7]: *** [_module_/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31] Error 2 make[6]: *** [modules] Error 2 make[5]: *** [modules] Error 2 make[4]: *** [modules] Error 2 make[4]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31' make[3]: *** [/home/dingo/Development/Wireless/blix-atmel/build_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/linux-at91/compat-wireless-2014-03-31/.built] Error 2 make[3]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel/package/kernel/mac80211' make[2]: *** [package/kernel/mac80211/compile] Error 2 make[2]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel' make[1]: *** [/home/dingo/Development/Wireless/blix-atmel/staging_dir/target-arm_arm926ej-s_uClibc-0.9.33.2_eabi/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/dingo/Development/Wireless/blix-atmel' make: *** [world] Error 2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Long-distance links ath9k
On Wed, Mar 26, 2014 at 3:04 PM, Bill Moffitt bmoff...@ayrstone.com wrote: On March 26, 2014 11:29:59 AM PDT, Sergey Ryazanov ryazanov@gmail.com wrote: 2014-03-26 9:13 GMT+04:00 Bill Moffitt bmoff...@ayrstone.com: It's clear that SOMETHING is getting time-limited, but I have distance=0 and dissassoc_low_ack=0 on both the AP and the station, and I'm not sure what else I can tweak. Configure distance parameter according to real distance between points. Sorry, should have mentioned that, of course, I tried that, and various variants of that. At 2 miles (~3000 meters) it had a good connection and could consistently measure bandwidth with iperf. Bandwidth was maximized when distance=6000 (as expected) and distance=0 (as expected). At 5 miles, it would not pass traffic with any value of distance. I tried every value than that made any sense (0, 8000, 16000) and some that didn't (3, 50) and the results were the same (nothing). I note that it appeared to be passing authentication data (per the log) but failing to authenticate. I'd be very interested in hearing from anyone who has successfully set up an encrypted 5+ mile link (8+ km) with this kind of a setup (Ath7k, AA). 5 Miles with a picostation 2MP??? Ive done longer 20+ km with Bullet 2HPs and higher gain antennas, which is my first thought, stick a bigger antenna on it, just might help Thanks, Bill ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [package] grub2: use freetype macros
On Fri, Nov 29, 2013 at 5:00 AM, Dirk Neukirchen dirkneukirc...@web.dewrote: including freetype header directly leads to build error: util/grub-mkfont.c:42:30: fatal error: freetype/ftsynth.h: No such file or directory Observed on Debian Testing, because new Freetype2 changed include location there add a patch to grub - use provided #include macros documented: http://www.freetype.org/freetype2/docs/reference/ft2-header_file_macros.html#FT_SYNTHESIS_H Signed-off-by: Dirk Neukirchen dirkneukirc...@web.de --- package/boot/grub2/Makefile | 1 + package/boot/grub2/patches/101-freetype2_fix_mkfont.patch | 11 +++ 2 files changed, 12 insertions(+) create mode 100644 package/boot/grub2/patches/101-freetype2_fix_mkfont.patch diff --git a/package/boot/grub2/Makefile b/package/boot/grub2/Makefile index dd490ff..0f66354 100644 --- a/package/boot/grub2/Makefile +++ b/package/boot/grub2/Makefile @@ -18,6 +18,7 @@ PKG_MD5SUM:=e927540b6eda8b024fb0391eeaa4091c HOST_BUILD_PARALLEL:=1 PKG_BUILD_DEPENDS:=grub2/host +PKG_FIXUP:=autoreconf include $(INCLUDE_DIR)/host-build.mk include $(INCLUDE_DIR)/package.mk diff --git a/package/boot/grub2/patches/101-freetype2_fix_mkfont.patch b/package/boot/grub2/patches/101-freetype2_fix_mkfont.patch new file mode 100644 index 000..fc9f146 --- /dev/null +++ b/package/boot/grub2/patches/101-freetype2_fix_mkfont.patch @@ -0,0 +1,11 @@ +--- a/util/grub-mkfont.c b/util/grub-mkfont.c +@@ -39,7 +39,7 @@ + #include FT_FREETYPE_H + #include FT_TRUETYPE_TAGS_H + #include FT_TRUETYPE_TABLES_H +-#include freetype/ftsynth.h ++#include FT_SYNTHESIS_H + + #undef __FTERRORS_H__ + #define FT_ERROR_START_LIST const char *ft_errmsgs[] = { -- 1.8.4.4 Ive applied this path on the list to my builds but im still seeing errors gcc -DHAVE_CONFIG_H -I. -Wall -W -I./include -DGRUB_UTIL=1 -DGRUB_LIBDIR=\/home/dingo/Wireless/openwrt-alix.6f/staging_dir/host/lib/grub\ -DLOCALEDIR=\/home/dingo/Wireless/openwrt-alix.6f/staging_dir/host/share/locale\ -DGRUB_FILE=\util/grub-mkfont.c\ -I. -I. -I. -I. -I./include -I./include -I./grub-core/gnulib -I./grub-core/gnulib -I/home/dingo/Wireless/openwrt-alix.6f/staging_dir/host/include -fno-builtin-gettext -Wall -W -Wshadow -Wold-style-definition -Wpointer-arith -Wundef -Wextra -Waddress -Wattributes -Wcast-align -Wchar-subscripts -Wcomment -Wdeprecated-declarations -Wdisabled-optimization -Wdiv-by-zero -Wempty-body -Wendif-labels -Wfloat-equal -Wformat-extra-args -Wformat-security -Wformat-y2k -Wimplicit -Wimplicit-function-declaration -Wimplicit-int -Winit-self -Wint-to-pointer-cast -Winvalid-pch -Wmain -Wmissing-braces -Wmissing-field-initializers -Wmissing-format-attribute -Wmissing-noreturn -Wmultichar -Wnonnull -Woverflow -Wparentheses -Wpointer-arith -Wpointer-to-int-cast -Wreturn-type -Wsequence-point -Wshadow -Wsign-compare -Wstrict-aliasing -Wswitch -Wtrigraphs -Wundef -Wunknown-pragmas -Wunused -Wunused-function -Wunused-label -Wunused-parameter -Wunused-value -Wunused-variable -Wvariadic-macros -Wvolatile-register-var -Wwrite-strings -Wnested-externs -Wstrict-prototypes -Wpointer-sign -Wno-undef -Wno-sign-compare -Wno-unused -Wno-unused-parameter -Wno-redundant-decls -Wno-unreachable-code -Wno-conversion -Wno-old-style-definition -Wno-unsafe-loop-optimizations -I/usr/include/freetype2 -O2 -I/home/dingo/Wireless/openwrt-alix.6f/staging_dir/host/include -MT util/grub_mkfont-grub-mkfont.o -MD -MP -MF util/.deps-util/grub_mkfont-grub-mkfont.Tpo -c -o util/grub_mkfont-grub-mkfont.o `test -f 'util/grub-mkfont.c' || echo './'`util/grub-mkfont.c util/grub-mkfont.c:42:30: fatal error: freetype/ftsynth.h: No such file or directory #include freetype/ftsynth.h ^ compilation terminated. make[6]: *** [util/grub_mkfont-grub-mkfont.o] Error 1 make[6]: Leaving directory `/home/dingo/Wireless/openwrt-alix.6f/build_dir/host/grub-2.00' make[5]: *** [all-recursive] Error 1 make[5]: Leaving directory `/home/dingo/Wireless/openwrt-alix.6f/build_dir/host/grub-2.00' make[4]: *** [all] Error 2 make[4]: Leaving directory `/home/dingo/Wireless/openwrt-alix.6f/build_dir/host/grub-2.00' make[3]: *** [/home/dingo/Wireless/openwrt-alix.6f/build_dir/host/grub-2.00/.built] Error 2 make[3]: Leaving directory `/home/dingo/Wireless/openwrt-alix.6f/package/boot/grub2' make[2]: *** [package/boot/grub2/host/compile] Error 2 make[2]: Leaving directory `/home/dingo/Wireless/openwrt-alix.6f' make[1]: *** [/home/dingo/Wireless/openwrt-alix.6f/staging_dir/target-i386_geode_uClibc-0.9.33.2/stamp/.package_compile] Error 2 make[1]: Leaving directory `/home/dingo/Wireless/openwrt-alix.6f' make: *** [world] Error 2 dingo@dingo-W530:~/Wireless/openwrt-alix.6f$ ls al package/boot/grub2/ package/boot/grub2/: Makefile patches dingo@dingo-W530:~/Wireless/openwrt-alix.6f$ ls al package/boot/grub2/patches/ package/boot/grub2/patches/: 100-grub_setup_root.patch
Re: [OpenWrt-Devel] [PATCH] [packages] mosh
On Sun, Feb 9, 2014 at 5:50 AM, Hauke Mehrtens ha...@hauke-m.de wrote: On 02/09/2014 06:14 AM, Outback Dingo wrote: On Sat, Feb 8, 2014 at 1:22 PM, Hauke Mehrtens ha...@hauke-m.de mailto:ha...@hauke-m.de wrote: On 11/03/2013 06:53 AM, Kyle Anderson wrote: This adds mosh-full, mosh-server, and mosh-client packages. The Entware team has already done the hard work: http://code.google.com/p/wl500g-repo/source/browse/feeds/rtndev/mosh/Makefile?r=1220 All I added was a patch to disabled the check for UTF-8, which is not available on our platform. (It works fine with the check disabled) https://github.com/keithw/mosh/issues/464 This was originally requested here: https://dev.openwrt.org/ticket/12509 This actually does work in conjunction with the openssh-client/server. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662939 Signed-off-by: Kyle Anderson k...@xkyle.com mailto: k...@xkyle.com Thank you for the patch, it was applied in r39541. However it is not showing up in make menuconfig, and a search displays no results in menuconfig It is in the packages feed. You have to run ./scripts/feeds update, ./scripts/feeds install mosh-server to get it. Then you should see it in menuconfig. thats what i get for working at 430AM without caffeine... anyway. thanks, building now Hauke ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] [packages] mosh
On Sat, Feb 8, 2014 at 1:22 PM, Hauke Mehrtens ha...@hauke-m.de wrote: On 11/03/2013 06:53 AM, Kyle Anderson wrote: This adds mosh-full, mosh-server, and mosh-client packages. The Entware team has already done the hard work: http://code.google.com/p/wl500g-repo/source/browse/feeds/rtndev/mosh/Makefile?r=1220 All I added was a patch to disabled the check for UTF-8, which is not available on our platform. (It works fine with the check disabled) https://github.com/keithw/mosh/issues/464 This was originally requested here: https://dev.openwrt.org/ticket/12509 This actually does work in conjunction with the openssh-client/server. http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662939 Signed-off-by: Kyle Anderson k...@xkyle.com Thank you for the patch, it was applied in r39541. However it is not showing up in make menuconfig, and a search displays no results in menuconfig Hauke ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [RFC/RFT] netifd: Initial OpenVSwitch support
ok, excuse the ignorance, i see the patch, i see the git branch, hows this branch get integrated to openwrt ? On Tue, Feb 4, 2014 at 4:31 AM, Helmut Schaa helmut.sc...@googlemail.comwrote: On Tue, Feb 4, 2014 at 9:16 AM, Roberto Riggio roberto.rig...@create-net.org wrote: On 04/02/14 09:09, Helmut Schaa wrote: What if you write the config file after boot and run /etc/init.d/network reload? Does it also end up in a loop? Just tried, no, it does not loop. Ok, this helps a lot I guess. Maybe OVS is not up and running yet during boot or not yet initialized? Forgot to point out that it does not loop but it also does not work as expected. basically the bridge is not created. But it works if you create it manually with ovs-vsctl? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATH] Upgrade wing package
Committed revision 33033. On Mon, Aug 6, 2012 at 4:16 PM, Roberto Riggio roberto.rig...@create-net.org wrote: Upgrade wing package to latest git revision. Fixes a segfault which could happen in very particular situations. Plus a few netifd fixes. Signed-off-by: Roberto Riggio roberto.rig...@create-net.org -- Index: net/wing/Makefile === --- net/wing/Makefile (revision 32900) +++ net/wing/Makefile (working copy) @@ -8,9 +8,9 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wing -PKG_VERSION:=20120625 +PKG_VERSION:=20120805 PKG_RELEASE:=1 -PKG_REV:=ce245718dd01fad9a9bd78dd5792245b7cdd09aa +PKG_REV:=d189e36d111788a647cd784536137acbe7a92e17 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=git://github.com/rriggio/click.git @@ -67,7 +67,7 @@ -f $(PKG_BUILD_DIR)/conf/wing/sample.click \ -A --all -E Discard -E Print -E PrintWifi -E Strip -E Null \ -E InfiniteSource -E RatedSource -E EtherEncap -E UDPIPEncap \ - -E RadiotapEncapHT -E SetTXRateHT \ + -E SetTXRateHT \ -E WINGETTMetric -E WINGETXMetric -E WINGHopCountMetric \ -E ProbeTXRate -E MadwifiRate -E AutoRateFallback -E Minstrel \ -E FairBuffer -E DeAggregator -E DWRRSched -E WFQSched -E WRRSched; \ Index: net/wing/files/usr/bin/wing_status === --- net/wing/files/usr/bin/wing_status (revision 32900) +++ net/wing/files/usr/bin/wing_status (working copy) @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright (c) 2006, Roberto Riggio +# Copyright (c) 2012, Roberto Riggio # # All rights reserved. # @@ -37,6 +37,7 @@ ARP=0 GATEWAY=0 PROBES=0 +INTERFACES=0 show_status() { @@ -58,6 +59,11 @@ read_handler lt.hosts } + [ $INTERFACES = 1 ] { + printf \nInterfaces:\n + read_handler lt.interfaces + } + [ $LINKS = 1 ] { printf \nLinks:\n read_handler lt.links @@ -82,6 +88,8 @@ for interface in $interfaces; do printf \nBroadcast statistics ($interface):\n read_handler wr/es/es_$interface.bcast_stats + printf \nBroadcast statistics HT ($interface):\n + read_handler wr/es/es_$interface.bcast_stats_ht done } @@ -97,9 +105,10 @@ ARP=1 GATEWAY=1 PROBES=1 + INTERFACES=1 fi -while getopts rshlagp OPTVAL +while getopts rshlagpi OPTVAL do case $OPTVAL in r) ROUTES=1 @@ -110,6 +119,8 @@ ;; l) LINKS=1 ;; + i) INTERFACES=1 + ;; a) ARP=1 ;; g) GATEWAY=1 Index: net/wing/files/lib/netifd/proto/wing.sh === --- net/wing/files/lib/netifd/proto/wing.sh (revision 32900) +++ net/wing/files/lib/netifd/proto/wing.sh (working copy) @@ -4,12 +4,12 @@ . ../netifd-proto.sh init_proto $@ -proto_wing_init_config() { - no_device=1 +proto_wing_init_config() { + no_device=1 available=1 -proto_config_add_string ipaddr +proto_config_add_string ipaddr proto_config_add_string netmask -} +} proto_wing_teardown() { local config=$1 @@ -32,7 +32,7 @@ local ifnames= local hwaddrs= - # temporary hack waiting for a way to delay wing interfaces until the + # temporary hack waiting for a way to delay wing interfaces until the # wifi sub-system has been brought up sleep 15 @@ -47,6 +47,7 @@ local profile rc ls metric prefix period tau debug + config_load network config_get profile $config profile bulk config_get rc $config rc minstrel config_get ls $config ls fcfs @@ -83,6 +84,8 @@ [ $debug == 0 ] dbg= || dbg=-d + export CLICK_BACKTRACE=1 + /usr/bin/click_config -p $profile -r $rc -s $ls -l $metric \ -m $hwmodes -c $freqs -n $ifnames -a $hwaddrs $dbg \ | sed -e s/__XR_IFNAME__/$link/g \ @@ -111,13 +114,19 @@ ps | grep /usr/bin/click | grep -v grep | awk '{print $1}' /var/run/$link.pid +uci_set_state network $config ifname $iface +uci_set_state network $config ipaddr $ipaddr +uci_set_state network $config netmask $netmask +uci_set_state network $config gateway 0.0.0.0 + env -i ACTION=ifup INTERFACE=$config DEVICE=$link PROTO=wing /sbin/hotplug-call link proto_init_update $link 1 - proto_add_ipv4_address $ipaddr $netmasj + proto_add_ipv4_address $ipaddr $netmask + proto_add_ipv4_route $prefix.0.0.0 255.0.0.0 $iface
Re: [OpenWrt-Devel] [PATCH] daemonlogger package Makefile (second attempt)
On Wed, May 23, 2012 at 1:11 PM, Robert Vineyard viney...@tuffmail.com wrote: On 5/21/2012 8:20 AM, Outback Dingo wrote: Committed in r31836 /packages/net/daemonlogger/ (. Makefile): [patchteam] - Daemonlogger is a packet logger and soft tap Thanks! Now that this has been committed to trunk, is there any chance of getting this package included in a current or future release of the Backfire package feed? My HOWTO is based on the latest stable release (10.03.1). Unfortunately the new pre-built packages for daemonlogger and its dependencies from the nightly snapshots do not work properly on Backfire. I'm still troubleshooting the segfault on startup, but my suspicion is that it's expecting to find some symbols present in a newer version of libc than what ships with Backfire. There's also not enough JFFS free space or usable RAM left over on the current flashable images to run daemonlogger effectively (even with a custom stripped-down barebones build), so pointing folks at the latest firmware from trunk isn't going to work either. :-( Any ideas? what platform are you on, it builds and runs on my device (WNDR3700) from Bleeding Edge, r31835 which is generally where we test / commit. Ill look at a backfire build and see if i can reproduce the problem Thanks again for your help! -- Robert Vineyard ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Users] [PATCH] daemonlogger package Makefile (second attempt)
On Sat, May 19, 2012 at 7:46 PM, Robert Vineyard viney...@tuffmail.com wrote: On 5/19/2012 7:43 PM, Outback Dingo wrote: Just reinstalled my development environment, once i get the WRT sources pulled down ill get on this and test it, if its good ill commit it for you. sometime later this evening most likely. Excellent, most appreciated! Thanks, Robert Vineyard Committed in r31836 /packages/net/daemonlogger/ (. Makefile): [patchteam] - Daemonlogger is a packet logger and soft tap ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Revisited: [PROPOSAL] growing OpenWrt devel team
On Sat, May 19, 2012 at 4:20 PM, Philip Prindeville philipp_s...@redfish-solutions.com wrote: We talked about how this could be improved... we're more than a year down the road, and I'm not seeing much difference. Maybe we need to talk about this more? Or try harder? One thing Ive noticed is its quite difficult to know whos done what as far as patches / ports looking at patchwork seems few of us actually have access to take / mark / close any specific patch, once they hit they list. Even Ive tried to in patchwork but i see no place to assign a ticket to myself or take ownership and close it when completed, or let someone know im working on it. On 3/24/11 2:17 PM, Luka Perkov wrote: Dear OpenWrt developers and other openwrt-devel readers, first I would like to express my gratitude to the current OpenWrt developers for all the work they did to keep up and running this project on many embedded devices. You must have spent many long hours contributing to this project and not for example spending quality time with your girlfriends / boyfriends... :) But I must notice as occasional project participant that this project could benefit a lot more than it does now from people like myself. I say this mainly because of the large number of non replied patches posted on this list. That's why I have chosen this subject. Maybe there is a reason I am not aware of why OpenWrt is relatively closed community, but I think that involving some fresh blood in this project could help. At least with answering to the rejected patches. Surely, current OpenWrt developers would lose some time to help the new guys starting up, but in the long run it would be time well spent. Best of luck to the OpenWrt project, Luka Perkov ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Revisited: [PROPOSAL] growing OpenWrt devel team
On Mon, May 21, 2012 at 8:52 AM, John Crispin j...@phrozen.org wrote: On 21/05/12 14:41, Outback Dingo wrote: On Sat, May 19, 2012 at 4:20 PM, Philip Prindeville philipp_s...@redfish-solutions.com wrote: We talked about how this could be improved... we're more than a year down the road, and I'm not seeing much difference. Maybe we need to talk about this more? Or try harder? One thing Ive noticed is its quite difficult to know whos done what as far as patches / ports looking at patchwork seems few of us actually have access to take / mark / close any specific patch, once they hit they list. Even Ive tried to in patchwork but i see no place to assign a ticket to myself or take ownership and close it when completed, or let someone know im working on it. if you create an accoutn in patchwork you will be able to edit your own patches... patchwork matches the email addr for this afaik John I have a patchwork account, Im loggen in right now and i see no way to assign or delegate patches to myself that have been submitted to the list. like i just completed http://patchwork.openwrt.org/patch/2162/ but dont see any place in the gui to assign it to me, or close it even... maybe permissions?? ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Revisited: [PROPOSAL] growing OpenWrt devel team
On Mon, May 21, 2012 at 9:19 AM, John Crispin j...@phrozen.org wrote: On 21/05/12 15:16, Outback Dingo wrote: On Mon, May 21, 2012 at 8:52 AM, John Crispin j...@phrozen.org wrote: On 21/05/12 14:41, Outback Dingo wrote: On Sat, May 19, 2012 at 4:20 PM, Philip Prindeville philipp_s...@redfish-solutions.com wrote: We talked about how this could be improved... we're more than a year down the road, and I'm not seeing much difference. Maybe we need to talk about this more? Or try harder? One thing Ive noticed is its quite difficult to know whos done what as far as patches / ports looking at patchwork seems few of us actually have access to take / mark / close any specific patch, once they hit they list. Even Ive tried to in patchwork but i see no place to assign a ticket to myself or take ownership and close it when completed, or let someone know im working on it. if you create an accoutn in patchwork you will be able to edit your own patches... patchwork matches the email addr for this afaik John I have a patchwork account, Im loggen in right now and i see no way to assign or delegate patches to myself that have been submitted to the list. like i just completed http://patchwork.openwrt.org/patch/2162/ but dont see any place in the gui to assign it to me, or close it even... maybe permissions?? as i said, those patches sent to the list by you are editable by you. It wont be possible for you to close tickets that enter patchwork that are not sent by you as you do not have developer access I actually do have commit access to packages in trunk/packages and regular packages hence i have been committing patches/packages submitted to the list by others, yet cannot manage them in patchwork. So i guess Its simply permissions in patchwork ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [OpenWrt-Users] [PATCH] daemonlogger package Makefile (second attempt)
On Sat, May 19, 2012 at 7:02 PM, Robert Vineyard viney...@tuffmail.com wrote: Any movement on this? I've posted the first section of a guide for building a software network tap based on OpenWRT and Daemonlogger at http://vinsec.blogspot.com, and I've already had significant interest from folks at Sourcefire, Mandiant, and elsewhere for the publication of this work to a much wider audience. Just reinstalled my development environment, once i get the WRT sources pulled down ill get on this and test it, if its good ill commit it for you. sometime later this evening most likely. It would be really convenient if I could tailor my HOWTO to software that already exists in the mainline OpenWRT distribution rather than having to lead folks through setting up the BuildRoot environment and rolling their own. This is not a patch in the purest sense; I am merely adding a Makefile to build daemonlogger as a native OpenWRT package. No existing files are modified by this patch. Does anyone have the time to review it for potential inclusion in the next stable release of Backfire? Thanks in advance, Robert Vineyard On 5/6/2012 3:19 AM, Robert Vineyard wrote: Daemonlogger is a packet logger and soft tap developed by Martin Roesch. This patch adds a Makefile to build it as an OpenWRT ipk package. Note: This patch is against trunk, but it also builds cleanly on Backfire. Signed-off-by: Robert Vineyardviney...@tuffmail.com --- Index: feeds/packages/net/daemonlogger/Makefile === --- feeds/packages/net/daemonlogger/Makefile (revision 0) +++ feeds/packages/net/daemonlogger/Makefile (revision 0) @@ -0,0 +1,44 @@ +# +# Copyright (C) 2007-2011 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=daemonlogger +PKG_VERSION:=1.2.1 +PKG_RELEASE:=1 + +PKG_SOURCE:=463 +PKG_SOURCE_URL:=http://www.snort.org/downloads/ +PKG_CAT:=zcat +PKG_MD5SUM:=acb64aa6cd5777e297569f100b5c39ee + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)/$(PKG_NAME)-$(PKG_VERSION) + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/daemonlogger + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libpcap +libdnet + TITLE:=Software Network Tap + URL:=http://www.snort.org/snort-downloads/additional-downloads +endef + +CONFIGURE_VARS += \ + BUILD_CC=$(TARGET_CC) \ + HOSTCC=$(HOSTCC) + +MAKE_FLAGS := CCOPT=$(TARGET_CFLAGS) INCLS=-I. $(TARGET_CPPFLAGS) + +define Package/daemonlogger/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/daemonlogger $(1)/usr/bin/ +endef + +$(eval $(call BuildPackage,daemonlogger)) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-users mailing list openwrt-us...@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-users ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Add two new packages, hsflowd and sflowovsd.
On Wed, Mar 21, 2012 at 8:28 AM, Stijn Tintel st...@linux-ipv6.be wrote: This patch adds two new packages from the Host sFlow project [1]: * hsflowd: The Host sFlow agent exports server performance metrics using the sFlow protocol. The agent is intended to provide scalable, multi-vendor, multi-OS performance monitoring with minimal impact on the systems being monitored. * sflowovsd: The Host sFlow agent can automatically configure the sFlow settings in the Open vSwitch. Committed revision 31051 Thanks to jow, who wrote the initial Makefile, cross-compilation and uClibc patches. [1] http://host-sflow.sourceforge.net/about.php Signed-off-by: Stijn Tintel st...@linux-ipv6.be --- net/hsflowd/Makefile | 72 ++ net/hsflowd/files/hsflowd.config | 11 +++ net/hsflowd/files/hsflowd.init | 72 ++ net/hsflowd/files/sflowovsd.init | 17 net/hsflowd/patches/100-crosscompile.patch | 91 +++ net/hsflowd/patches/200-uclibc-compat.patch | 55 ++ net/hsflowd/patches/300-config_files_path.patch | 16 net/hsflowd/patches/400-sflowovsd_assert.patch | 12 +++ 8 files changed, 346 insertions(+), 0 deletions(-) create mode 100644 net/hsflowd/Makefile create mode 100644 net/hsflowd/files/hsflowd.config create mode 100755 net/hsflowd/files/hsflowd.init create mode 100755 net/hsflowd/files/sflowovsd.init create mode 100644 net/hsflowd/patches/100-crosscompile.patch create mode 100644 net/hsflowd/patches/200-uclibc-compat.patch create mode 100644 net/hsflowd/patches/300-config_files_path.patch create mode 100644 net/hsflowd/patches/400-sflowovsd_assert.patch diff --git a/net/hsflowd/Makefile b/net/hsflowd/Makefile new file mode 100644 index 000..c6750cd --- /dev/null +++ b/net/hsflowd/Makefile @@ -0,0 +1,72 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk +include $(INCLUDE_DIR)/kernel.mk + +PKG_NAME:=hsflowd +PKG_RELEASE:=1 +PKG_SOURCE_URL:=@SF/host-sflow +PKG_VERSION:=1.20 +PKG_MD5SUM:=0bfc0b05fbab27a80557c5efb5e66693 + +PKG_SOURCE:=hsflowd-$(PKG_VERSION).tar.gz + +include $(INCLUDE_DIR)/package.mk + +define Package/hsflowd + SECTION:=net + CATEGORY:=Base system + TITLE:=Host sFlow export agent + URL:=http://host-sflow.sourceforge.net/ +endef + +define Package/sflowovsd + SECTION:=net + CATEGORY:=Base system + DEPENDS:=+hsflowd + TITLE:=Host sFlow Open vSwitch agent + URL:=http://host-sflow.sourceforge.net/ +endef + + +define Package/hsflowd/description + The Host sFlow agent exports server performance metrics using the sFlow + protocol. The agent is intended to provide scalable, multi-vendor, + multi-OS performance monitoring with minimal impact on the systems being + monitored. +endef + +define Package/sflowovsd/description + The Host sFlow agent can automatically configure the sFlow settings in + the Open vSwitch. +endef + +MAKE_VARS += \ + LIBVIRT=no \ + XEN_DDK=no \ + DEBIAN=no \ + PLATFORM=Linux \ + OPT=$(TARGET_CFLAGS) -std=c99 + +define Package/hsflowd/install + $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d $(1)/etc/config + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/Linux/hsflowd $(1)/usr/sbin + $(INSTALL_BIN) ./files/hsflowd.init $(1)/etc/init.d/hsflowd + $(INSTALL_CONF) ./files/hsflowd.config $(1)/etc/config/hsflowd + +endef + +define Package/sflowovsd/install + $(INSTALL_DIR) $(1)/usr/sbin $(1)/etc/init.d + $(INSTALL_BIN) $(PKG_BUILD_DIR)/src/Linux/sflowovsd $(1)/usr/sbin + $(INSTALL_BIN) ./files/sflowovsd.init $(1)/etc/init.d/sflowovsd +endef + +$(eval $(call BuildPackage,hsflowd)) +$(eval $(call BuildPackage,sflowovsd)) + diff --git a/net/hsflowd/files/hsflowd.config b/net/hsflowd/files/hsflowd.config new file mode 100644 index 000..77262f8 --- /dev/null +++ b/net/hsflowd/files/hsflowd.config @@ -0,0 +1,11 @@ +config hsflowd config + option enabled '0' + option dnssd '0' + option polling '30' + option sampling '512' + option uuid '' + +config collector + option ip '192.168.123.123' + option port '6343' + diff --git a/net/hsflowd/files/hsflowd.init b/net/hsflowd/files/hsflowd.init new file mode 100755 index 000..7212826 --- /dev/null +++ b/net/hsflowd/files/hsflowd.init @@ -0,0 +1,72 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2012 OpenWrt.org + +START=50 + +SERVICE_USE_PID=1 + +start() { + config_load hsflowd + local args agent conffile dnssd polling sampling uuid + + getcollectors() { + echo collector { $tmpconf + + config_get ip $1 ip +
Re: [OpenWrt-Devel] [PATCH] parted disc partitioning utility
On Tue, Mar 6, 2012 at 4:39 PM, Clark Rawlins cl...@bit63.org wrote: I haven't heard much from anyone. Are there any comments, any pointers on what I need to fix? Clark just be patient, me or someone else will get to it On Sun, 2012-03-04 at 17:43 -0500, Clark Rawlins wrote: This is a brown paper bag update of my previous patch. = Include the parted disc partitioning utility As disc drives can exceed 2TB in size the MSDOS partition table is not able to partition the entire drive. Adding the parted utility to openwrt makes it possible to manipulate the partition tables of EFI/GUID on a openwrt device. To use a EFI/GUID partition it is necessary to have support in the kernel for this partition type. So configuration options are available to enable EFI support. Signed-of-by: Clark Rawlins cl...@bit63.org Index: package/parted/Config.in === --- package/parted/Config.in (revision 0) +++ package/parted/Config.in (revision 0) @@ -0,0 +1,45 @@ +config KERNEL_AMIGA_PARTITION + bool Amiga partition table support + default n + +config KERNEL_MAC_PARTITION + bool Macintosh partition map support + default n + help + Say Y here if you would like to use hard disks under Linux which + were partitioned on a Macintosh. + +config KERNEL_MSDOS_PARTITION + bool PC BIOS (MSDOS partition tables) support + default n + +config KERNEL_BSD_DISKLABEL + depends KERNEL_MSDOS_PARTITION + bool BSD disklabel (FreeBSD partition tables) support + default n + help + FreeBSD uses its own hard disk partition scheme on your PC. It + requires only one entry in the primary partition table of your disk + and manages it similarly to DOS extended partitions, putting in its + first sector a new partition table in BSD disklabel format. Saying Y + here allows you to read these disklabels and further mount FreeBSD + partitions from within Linux if you have also said Y to UFS + file system support, above. If you don't know what all this is + about, say N. + +config KERNEL_SOLARIS_X86_PARTITION + depends KERNEL_MSDOS_PARTITION + bool Solaris (x86) partition table support + default n + help + Like most systems, Solaris x86 uses its own hard disk partition + table format, incompatible with all others. Saying Y here allows you + to read these partition tables and further mount Solaris x86 + partitions from within Linux if you have also said Y to UFS + file system support, above. + +config KERNEL_EFI_PARTITION + bool Enable EFI Partition parsing support in the kernel +default n + + Index: package/parted/Makefile === --- package/parted/Makefile (revision 0) +++ package/parted/Makefile (revision 0) @@ -0,0 +1,58 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +include $(TOPDIR)/rules.mk + +PKG_NAME:=parted +PKG_VERSION:=2.4 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/parted-$(PKG_VERSION) +PKG_SOURCE:=parted-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@GNU/parted +PKG_MD5SUM:=76a6457ea88447d79d50ca331069b19c +PKG_CAT:=zcat + +include $(INCLUDE_DIR)/package.mk + +define Package/parted + SECTION:=utils + CATEGORY:=Utilities + SUBMENU:=disc + DEFAULT:=n + TITLE:=GNU Parted manipulates partition tables + URL:=http://www.gnu.org/software/parted/ + DEPENDS:= +libuuid +libreadline +libncurses +libdevmapper +endef + +define Package/parted/description + GNU Parted manipulates partition tables. This is useful for creating + space for new operating systems, reorganizing disk usage, copying data + on hard disks and disk imaging. The package contains a library, + libparted, as well as well as a command-line frontend, parted, + which can also be used in scripts. +endef + +define Package/parted/config + source $(SOURCE)/Config.in +endef + +define Build/Configure + $(call Build/Configure/Default, \ +--enable-static \ +) +endef + +define Package/parted/install + $(INSTALL_DIR) $(1)/usr/lib + $(INSTALL_BIN) $(PKG_BUILD_DIR)/libparted/.libs/libparted.so.0 $(1)/usr/lib + $(INSTALL_BIN) $(PKG_BUILD_DIR)/libparted/.libs/libparted.so.0 $(1)/usr/lib + $(INSTALL_BIN) $(PKG_BUILD_DIR)/libparted/.libs/libparted.so.0.0.2 $(1)/usr/lib + $(INSTALL_DIR) $(1)/usr/sbin + $(INSTALL_BIN) $(PKG_BUILD_DIR)/parted/.libs/parted $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,parted)) ___ openwrt-devel mailing list
Re: [OpenWrt-Devel] [PATCH] Add package for Command Line Interface SHell
On Fri, Mar 2, 2012 at 3:33 AM, Viktar Palstsiuk viktar.palsts...@promwad.com wrote: On Fri, Mar 2, 2012 at 12:37 AM, Outback Dingo outbackdi...@gmail.com wrote: On Tue, Feb 28, 2012 at 10:17 AM, Viktar Palstsiuk viktar.palsts...@promwad.com wrote: Signed-off-by: Viktar Palstsiuk viktar.palsts...@promwad.com --- utils/clish/Makefile | 44 1 files changed, 44 insertions(+), 0 deletions(-) create mode 100644 utils/clish/Makefile diff --git a/utils/clish/Makefile b/utils/clish/Makefile new file mode 100644 index 000..78f6ae2 --- /dev/null +++ b/utils/clish/Makefile @@ -0,0 +1,44 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=clish +PKG_VERSION:=0.7.3 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=@SF/$(PKG_NAME) +PKG_MD5SUM:=81e20f7a888bcd8e2280e37804d342e4 + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/clish + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libstdcpp + TITLE:=Command Line Interface SHell + URL:=http://clish.sourceforge.net/ +endef + +define Package/clish/description + A modular framework for implementing a CISCO-like CLI on a *NIX system. + Arbitary command menus and actions can be defined using XML files. + This software handles the user interaction, + and forks the appropriate system commands to perform any actions. +endef + +define Package/clish/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,clish)) -- 1.7.9 Im willing to commit this, but it would help if you added some basic configuration files for users, even if minimal to the package built as to give users a start on creating their custom configurations ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel clish tar ball already has some configuration file examples which can be installed to the /etc/clish/ diff --git a/utils/clish/Makefile b/utils/clish/Makefile index 78f6ae2..1a7d3e0 100644 --- a/utils/clish/Makefile +++ b/utils/clish/Makefile @@ -39,6 +39,8 @@ define Package/clish/install $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/* $(1)/usr/bin/ $(INSTALL_DIR) $(1)/usr/lib $(CP) $(PKG_INSTALL_DIR)/usr/lib/*.so* $(1)/usr/lib/ + $(INSTALL_DIR) $(1)/etc/clish + $(CP) $(PKG_BUILD_DIR)/xml-examples/*.xml $(1)/etc/clish/ endef $(eval $(call BuildPackage,clish)) -- Best regards, Viktar Palstsiuk Committed revision 30788. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
[OpenWrt-Devel] Off Topic - Internet Link for Imnaha, Oregon
Just an FYI for the good natured wireless people. I came across this today, I am not affiliated with it at all but thought maybe those of us who wished could pitch in. https://www.crowdtilt.com/campaigns/internet-link-for-imnaha-oregon ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] usb-modeswitch-data: update to 20120120
On Fri, Feb 10, 2012 at 6:10 AM, Cezary Jackiewicz cezary.jackiew...@gmail.com wrote: Signed-off-by: Cezary Jackiewicz cezary.jackiew...@gmail.com Index: feeds/packages/utils/usb-modeswitch-data/Makefile === --- feeds/packages/utils/usb-modeswitch-data/Makefile (wersja 30406) +++ feeds/packages/utils/usb-modeswitch-data/Makefile (kopia robocza) @@ -1,5 +1,5 @@ # -# Copyright (C) 2010-2011 OpenWrt.org +# Copyright (C) 2010-2012 OpenWrt.org # # This is free software, licensed under the GNU General Public License v2. # See /LICENSE for more information. @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usb-modeswitch-data -PKG_VERSION:=20111023 +PKG_VERSION:=20120120 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch/ -PKG_MD5SUM:=6e7cb67d0428bda241600b038ba11aeb +PKG_MD5SUM:=c899cc9c71bb35f3ec600b7cd1455c65 include $(INCLUDE_DIR)/package.mk -- Committed revision 30411 Pozdrawiam, Cezary Jackiewicz ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] usb-modeswitch: update to 1.2.3
On Fri, Feb 10, 2012 at 6:09 AM, Cezary Jackiewicz cezary.jackiew...@gmail.com wrote: -v/-p is now mandatory Signed-off-by: Cezary Jackiewicz cezary.jackiew...@gmail.com Index: feeds/packages/utils/usb-modeswitch/files/modeswitch.hotplug === --- feeds/packages/utils/usb-modeswitch/files/modeswitch.hotplug (wersja 30406) +++ feeds/packages/utils/usb-modeswitch/files/modeswitch.hotplug (kopia robocza) @@ -126,7 +126,7 @@ local usb_dir=/sys/$DEVPATH [ -f $usb_dir/idVendor ] || usb_dir=${usb_dir%/*} while [ $switching_done -lt 1 -a $switching_tries -le 6 ]; do - $modeswitch -I -D -n -s 30 -c ${configs%% *} + $modeswitch -v $uVid -p $uPid -I -D -n -s 30 -c ${configs%% *} if [ $(sanitize $usb_dir/idProduct) = $uPid ]; then log switching seemingly failed else Index: feeds/packages/utils/usb-modeswitch/Makefile === --- feeds/packages/utils/usb-modeswitch/Makefile (wersja 30406) +++ feeds/packages/utils/usb-modeswitch/Makefile (kopia robocza) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=usb-modeswitch -PKG_VERSION:=1.2.0 -PKG_RELEASE:=2 +PKG_VERSION:=1.2.3 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://www.draisberghof.de/usb_modeswitch -PKG_MD5SUM:=1932ab96d6e3c5e0a6bdfac863338627 +PKG_MD5SUM:=9b29e8b0d93d7604a9e5efc4696d37a3 include $(INCLUDE_DIR)/package.mk -- Pozdrawiam, Cezary Jackiewicz Committed revision 30411 _ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] new package ipqbdb
On Wed, Feb 8, 2012 at 6:21 AM, Jiri Slachta j...@slachta.eu wrote: While this looks like a reasonable package to include, before I commit it, it requires testing, also Id like to note this is a user space daemon, there is no start/stop script included in your patch nor any other utilities to tie this into a usable system by the average user. I would recommend at least adding a start/stop script and some example utlities scripts to make this useful to others Signed-off-by: Jiri Slachta jiri at slachta.eu Index: feeds/packages/net/ipqbdb/patches/exp10-uclibc.diff === --- feeds/packages/net/ipqbdb/patches/exp10-uclibc.diff (revision 0) +++ feeds/packages/net/ipqbdb/patches/exp10-uclibc.diff (revision 0) @@ -0,0 +1,11 @@ +--- ./config_names.h 2011-02-09 18:21:39.0 +0100 /usr/src/openwrt-trunk/build_dir/target-i386_uClibc-0.9.32/ipqbdb-1.03/config_names.h 2011-07-30 18:36:06.616286836 +0200 +@@ -145,3 +145,8 @@ + #endif + + #endif // CONFIG_NAMES_H_INCLUDED ++ ++#ifdef __UCLIBC__ ++#define exp10(x) (pow(10, (x))) ++#endif /* __UCLIBC__ */ ++ Index: feeds/packages/net/ipqbdb/Makefile === --- feeds/packages/net/ipqbdb/Makefile (revision 0) +++ feeds/packages/net/ipqbdb/Makefile (revision 0) @@ -0,0 +1,50 @@ +# +# Copyright (C) 2012 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=ipqbdb +PKG_VERSION:=1.03 +PKG_RELEASE:=1 +PKG_VARIANT:= + +PKG_SOURCE_URL:=http://download.savannah.gnu.org/releases/ipqbdb/ +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)$(PKG_VARIANT).tar.gz +PKG_MD5SUM:=7b52e59d96e46adef5eba6ac375c2a46 +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)$(PKG_VARIANT) +PKG_BUILD_DEPENDS:=libnetfilter-queue libdb47 +PKG_INSTALL:=1 +PKG_BUILD_PARALLEL:=4 +TARGET_LDFLAGS += -lnfnetlink + +include $(INCLUDE_DIR)/package.mk + +define Package/ipqbdb + SECTION:=net + CATEGORY:=Network + TITLE:=IPQDB - IPQ BDB filter + URL:=http://savannah.nongnu.org/projects/ipqbdb/ + DEPENDS:=+libnetfilter-queue +libdb47 +libpopt +libpcre +endef + +define Package/ipqbdb/description + IPQ BDB is a user space daemon that issues verdicts after looking up the IP address in a Berkeley DB. +endef + +define Package/ipqbdb/install + $(INSTALL_DIR) $(1)/usr/bin + $(CP) \ + $(PKG_INSTALL_DIR)/usr/bin/ibd* \ + $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/sbin + $(CP) \ + $(PKG_INSTALL_DIR)/usr/bin/ibd* \ + $(1)/usr/sbin/ +endef + +$(eval $(call BuildPackage,ipqbdb)) + ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Let's fix the OpenWrt patch acceptance problem!
On Mon, Jan 23, 2012 at 2:33 PM, Felix Fietkau n...@openwrt.org wrote: As you've probably noticed, we've had issues keeping up with the workload of incoming patches. There is quite a bit of work involved in taking care of incoming patches, not just review. Patches need to be compile tested, ideally also runtime tested, and checked for dependency issues. Most of the time, this work is left up to the limited number of people that have SVN access. People often complain that it's hard to get involved, because it takes a long time to get SVN access, and the rules for that may not always be clear. In my opinion, the main issue is not that we don't give out SVN access fast enough, it's that people consider SVN access necessary for contributing in the first place. If we change the way patches are accepted to no longer depend on that, it becomes much easier for people to start. To be able to do that properly, it is important that patches still get reviewed and tested, but we can decentralize this work to split it up among a bigger group. One way to do this would be to have a group of people - with or without SVN access - maintaining a git tree with proposed changes to /trunk or /packages. This tree should be frequently rebased to latest SVN. This allows any developer with SVN access to spend a few minutes a day looking over the tree, giving it a quick sanity check, and then flushing all changes into SVN. With proper care by the tree maintainers, author attribution and review annotations can be easily put into the commit messages to ensure that they are preserved during the commit to SVN. With such a tree, the typical lifetime of a patch could look somewhat like this: - User proposes a patch on the list. - Core developer does a superficial review on patchwork, assigns it to the patch team, possibly with comments on what to test or look out for - Somebody from the patch team picks up the patch, tests it, ACKs it. - Patch gets added to the proposed-changes tree. - A developer with SVN access flushes the proposed-changes tree into SVN. One nice thing about this workflow is that aside from a few scripts to simplify dealing with constantly rebased git trees, we have all the tools we need to implement this. Does this proposal make sense? Do we have any volunteers that are willing to organize and take care of maintaining the tree and compile testing and reviewing the incoming changes? - Felix Ive done what I can for packages... Im capable of devoting more time, and becoming more involved, So Id be willing to volunteer ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH]: msr-tools: add msr-tools package
On Tue, Dec 27, 2011 at 7:25 PM, Philip Prindeville philipp_s...@redfish-solutions.com wrote: Useful for x86_64 and ia32 platforms, this utility allows one to read/write the MSR (machine state registers) on this processor architecture. Committed revision 29618. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] flashrom: version bump to 0.9.4
On Thu, Dec 29, 2011 at 2:49 PM, Philip Prindeville philipp_s...@redfish-solutions.com wrote: Fixes issues with erroneously reporting certain chipsets as detected twice. Signed-off-by: Philip Prindeville phil...@redfish-solutions.com Committed revision 29619 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH]mrtg: add mrtg package
On Thu, Dec 29, 2011 at 9:58 AM, Paolo Pisati p.pis...@gmail.com wrote: The attached patch adds a package for the mrtg software[1]. It also closes ticket #10686. Signed-off: Paolo Pisati p.pis...@gmail.com 1: http://oss.oetiker.ch/mrtg/ -- bye, Committed revision 29620 p. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2 0/3] ar71xx: Add support for Linux-3.0
On Sat, Nov 26, 2011 at 4:12 AM, Otto Estuardo Solares Cabrera so...@guug.org wrote: This patch series adds Linux-3.0 kernel support to the ar71xx target in OpenWRT trunk. Tested with Linux-3.0.9. This doesn't switch the default kernel version for ar71xx targets yet. I edited target/linux/ar71xx/Makefile Added # LINUX_VERSION:=2.6.39.4 LINUX_VERSION:=3.0.9 and its failing to patch. Applying patch platform/001-ar71xx_core.patch patching file arch/mips/Makefile Hunk #1 FAILED at 158. 1 out of 1 hunk FAILED -- rejects in file arch/mips/Makefile patching file arch/mips/Kconfig Hunk #1 succeeded at 84 with fuzz 2. Patch platform/001-ar71xx_core.patch does not apply (enforce with -f) make[4]: *** [/usr/builder/wing-ar71xx/build_dir/linux-ar71xx_generic/linux-3.0.9/.quilt_checked] Error 1 make[4]: Leaving directory `/usr/builder/wing-ar71xx/target/linux/ar71xx' make[3]: *** [compile] Error 2 make[3]: Leaving directory `/usr/builder/wing-ar71xx/target/linux' make[2]: *** [target/linux/compile] Error 2 make[2]: Leaving directory `/usr/builder/wing-ar71xx' make[1]: *** [/usr/builder/wing-ar71xx/staging_dir/target-mips_r2_uClibc-0.9.32/stamp/.target_compile] Error 2 make[1]: Leaving directory `/usr/builder/wing-ar71xx' make: *** [world] Error 2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2 0/3] ar71xx: Add support for Linux-3.0
On Sat, Nov 26, 2011 at 5:49 AM, Outback Dingo outbackdi...@gmail.com wrote: On Sat, Nov 26, 2011 at 4:12 AM, Otto Estuardo Solares Cabrera so...@guug.org wrote: This patch series adds Linux-3.0 kernel support to the ar71xx target in OpenWRT trunk. Tested with Linux-3.0.9. This doesn't switch the default kernel version for ar71xx targets yet. I edited target/linux/ar71xx/Makefile Added # LINUX_VERSION:=2.6.39.4 LINUX_VERSION:=3.0.9 Please disregard the prior email - the kernel tree patching does work attempting to build now ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2 0/3] ar71xx: Add support for Linux-3.0
Please disregard the prior email - the kernel tree patching does work attempting to build now Great! let me know if you have any problem, thank you for testing! successfully built target ar71xx Ubiquiti product images... So all seems to build, on to flashing -- Otto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2 0/3] ar71xx: Add support for Linux-3.0
Great! let me know if you have any problem, thank you for testing! The only thing i did notice is that during kernel compilation I need to hit enter once on a usb atheros soc question then it continues. ive got build for some ubiquiti gear and wndr3700 now, im about to start flashing radios -- Otto ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2 0/3] ar71xx: Add support for Linux-3.0
On Sat, Nov 26, 2011 at 8:19 PM, Outback Dingo outbackdi...@gmail.com wrote: Great! let me know if you have any problem, thank you for testing! SUCCESS - Netgear WNDR3700v2 running Kamikaze Trunk Rev trunk@29337 on kernel 3.0.9 All appears good and stable at the moment The only thing i did notice is that during kernel compilation I need to hit enter once on a usb atheros soc question then it continues. ive got build for some ubiquiti gear and wndr3700 now, im about to start flashing radios ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Compat-wireless (mac80211) not building?
nope, i just built fresh from git for Ubiquiti M devices, works fine here On Tue, Jul 12, 2011 at 10:19 PM, Philip Prindeville philipp_s...@redfish-solutions.com wrote: Anyone else seeing breakage in compat-wireless? CC [M] /home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22/compat/compat_atomic.o /home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22/compat/compat_atomic.c:6:11: error: conflicting types for 'atomic64_read' /home/philipp/openwrt2/build_dir/linux-x86_geos/linux-2.6.38.8/arch/x86/include/asm/atomic64_32.h:85:25: note: previous definition of 'atomic64_read' was here /home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22/compat/compat_atomic.c:18:11: error: redefinition of 'atomic64_add_return' /home/philipp/openwrt2/build_dir/linux-x86_geos/linux-2.6.38.8/arch/x86/include/asm/atomic64_32.h:102:25: note: previous definition of 'atomic64_add_return' was here make[6]: *** [/home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22/compat/compat_atomic.o] Error 1 make[5]: *** [/home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22/compat] Error 2 make[4]: *** [_module_/home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22] Error 2 make[4]: Leaving directory `/home/philipp/openwrt2/build_dir/linux-x86_geos/linux-2.6.38.8' make[3]: *** [modules] Error 2 make[3]: Leaving directory `/home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22' make[2]: *** [/home/philipp/openwrt2/build_dir/linux-x86_geos/compat-wireless-2011-06-22/.built] Error 2 make[2]: Leaving directory `/home/philipp/openwrt2/package/mac80211' make[1]: *** [package/mac80211/compile] Error 2 make[1]: Leaving directory `/home/philipp/openwrt2' make: *** [package/mac80211/compile] Error 2 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Facilitating collaboration -- the labor exchange
On Fri, Jun 17, 2011 at 4:12 PM, Jonathan Bennett jbscienc...@gmail.comwrote: On Fri, Jun 17, 2011 at 1:56 PM, Philip Prindeville philipp_s...@redfish-solutions.com wrote: On 6/17/11 9:35 AM, Jonathan Bennett wrote: Phillip, What would be the advantage of ipsec over OpenVPN? In my experience, if you have Asterisk deployed, the call is routed through Asterisk, which handles the Nat traversal fairly well. Are you describing a sip re-invite, where the local phone connects directly to the remote end? ~Jonathan Bennett Well, I know a lot of hotspots (hotels, airports, etc) that don't handle OpenVPN SSL... or even at all. What do you mean? I've gotten OpenVPN through some very hostile environments (a network that allows *only* web browsing, and that going through a forced proxy and web filter). It uses a single tcp or udp connection, which means it can get out through most any network. Also, IPsec QoS marking is easier to handle than mixing several protocols over an SSL stream all with the same markings. I can see the advantage of true QoS, though. I would imagine that IPsec would be more efficient, too. N2N is always a good choice for VPN capabilities ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Adding entry to /etc/hosts
On Fri, Jun 10, 2011 at 7:56 AM, Roberto Riggio roberto.rig...@create-net.org wrote: Hi, which is the openwrt way to have a particular package to add an entry to /etc/hosts at build or install time? Is it ok to add an echo into a uci-defaults file? you could just add it to package/base-files/files/etc/hosts before the build -- Roberto Riggio, Ph.D. CREATE-NET Network Security Solutions for Pervasive Computing Systems (iNSPIRE) Senior Researcher Via alla Cascata 56/D - 38123 Povo Trento (Italy) e-mail: roberto.rig...@create-net.org Tel: (+39) 0461 408400 - interno/extension 708 Fax: (+39) 0461 421157 www.create-net.org/~rriggio The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited according to the Italian Law 196/2003 of the Legislature. If you received this in error, please contact the sender and delete the material from any computer. Le informazioni contenute in questo messaggio di posta elettronica e nei file allegati sono da considerarsi strettamente riservate. Il loro utilizzo e' consentito esclusivamente al destinatario del messaggio, per le finalita' indicate nel messaggio stesso. Qualora riceveste questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla cancellazione del messaggio stesso dal Vostro sistema. Trattenere il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalita' diverse, costituisce comportamento contrario ai principi dettati dal D. Lgs. 196/2003. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] is it possible to get support for the Ubiquiti Power Station 2 or is it already supported?
The Ubiquiti PowerStation 2 is the same as the Ubiquiti LS2 image, its basically a LS2 in a case with antennas On Sat, Apr 16, 2011 at 6:29 AM, Larry Vaden va...@texoma.net wrote: List changed from openwrt-users to openwrt-devel to get an authoritative answer and, in addition, the TP-Link TL-WA5210G is added to the query. In addition, if we are to change to OpenWrt across the board, including CPEs, we need to know about the legacy Ubiquiti products which seem to be excluded if one looks at the download directory. With regard to the latter, I am presuming that to do an over the air upgrade of CPEs we would need to . generate an image that is customized with the designated IP address of each CPE --or-- . set up routing so that we can address the default address of 192.168.1.1 one at a time, correct? That would not have to be the case if we knew how to take on the IP parms of the unit being upgraded, correct? IMHO, once the advantages of OpenWrt become better known, there will be wholesale conversions of units in the air, particularly if support is added for 5 MHz and 10 MHz channel widths. kind regards/ldv On Thu, Apr 7, 2011 at 10:02 PM, Larry Vaden va...@texoma.net wrote: THANKS for a reply. ldv -- Larry Vaden, CoFounder Internet Texoma, Inc. Serving Rural Texomaland Since 1995 We Care About Your Connection! -- Larry Vaden, CoFounder Internet Texoma, Inc. Serving Rural Texomaland Since 1995 We Care About Your Connection! ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Version Bump Rsync 3.0.8
Committed revision 26399 On Fri, Apr 1, 2011 at 10:30 PM, Ian Leonard antonla...@gmail.com wrote: Version bump rsync to 3.0.8. This is a security/maintenance release. Signed-off-by: Ian Leonard antonlacon_at_gmail.com --- Index: feeds/packages/net/rsync/Makefile === --- feeds/packages/net/rsync/Makefile (revision 26385) +++ feeds/packages/net/rsync/Makefile (working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rsync -PKG_VERSION:=3.0.7 +PKG_VERSION:=3.0.8 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://rsync.samba.org/ftp/rsync/src -PKG_MD5SUM:=b53525900817cf1ba7ad3a516ab5bfe9 +PKG_MD5SUM:=0ee8346ce16bdfe4c88a236e94c752b4 PKG_INSTALL:=1 PKG_BUILD_PARALLEL:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Upgrade wing package to latest version
Committed revision 26386 On Tue, Mar 29, 2011 at 5:52 AM, Roberto Riggio roberto.rig...@create-net.org wrote: Upgrades the wing package to the latest version. The most important changes are: * revised implementation of the minstrel rate control algorithm * the openwrt makefile now point to the new repository, the old one in not available anymore Signed-off-by: Roberto Riggio roberto.rig...@create-net.org -- Index: net/wing/files/lib/network/wing.sh === --- net/wing/files/lib/network/wing.sh(revision 26355) +++ net/wing/files/lib/network/wing.sh(working copy) @@ -36,32 +36,32 @@ exit 1 fi -local profile rc ls prefix debug +local profile rc ls metric prefix period tau debug config_get profile $config profile bulk -config_get rc $config rc static +config_get rc $config rc minstrel config_get ls $config ls fcfs config_get metric $config metric wcett config_get prefix $config prefix 6 config_get period $config period 1 config_get tau $config tau 10 -config_get_bool debug $config debug False +config_get_bool debug $config debug false local hwaddr=$(echo $hwaddrs | sed 's/ .*//'); local ipaddr=$(printf $prefix.%d.%d.%d $(echo $hwaddr | awk -F: '{printf 0x%s 0x%s 0x%s,$4,$5,$6}')) local netmask=255.0.0.0 -if ! wing_template_available profile $profile bulk; then +if ! wing_template_available profile $profile; then logger -t $config Unable to configure router. Exiting. exit 1 fi -if ! wing_template_available rc $rc static; then +if ! wing_template_available rc $rc; then logger -t $config Unable to configure rate control. Exiting. exit 1 fi -if ! wing_template_available ls $ls radiotap; then +if ! wing_template_available ls $ls; then logger -t $config Unable to configure link scheduler. Exiting. exit 1 fi @@ -115,10 +115,7 @@ wing_template_available() { # prefix, template, default local template=/etc/wing/$1.$2.click [ ! -f $template ] { -template=/etc/wing/$1.$3.click -[ ! -f $template ] { -return 1 -} +return 1 } return 0 } @@ -131,8 +128,12 @@ config_get ifname $1 ifname config_get device $1 device config_get hwmode $device hwmode 11bg -freq=$(iwlist $ifname freq | grep Current Frequency | sed -n s/^.*Current Frequency:\([0-9.]*\) GHz (Channel \([0-9]*\))/\1/p | awk '{print $1*1000}') -freq=${freq:-0} +config_get channel $device channel 0 +[ $channel = 0 -o $channel = auto ] { +logger -t $device Channel not specified. Ignoring. +return 0 +} +freq=$(iwlist $ifname freq | sed -n s/^.*Channel 0*$channel : \([0-9.]*\).*/\1/p | awk '{print $1*1000}') hwaddr=$(/sbin/ifconfig $ifname 21 | sed -n 's/^.*HWaddr \([0-9A-Za-z\-]*\).*/\1/p' | sed -e 's/\-/:/g' | cut -c1-17) freqs=${freqs:+$freqs }$freq hwmodes=${hwmodes:+$hwmodes }$hwmode Index: net/wing/files/etc/uci-defaults/wing === --- net/wing/files/etc/uci-defaults/wing(revision 26355) +++ net/wing/files/etc/uci-defaults/wing(working copy) @@ -1,13 +1,13 @@ uci set network.mesh=interface uci set network.mesh.proto=wing uci set network.mesh.profile=bulk -uci set network.mesh.rc=static +uci set network.mesh.rc=minstrel uci set network.mesh.ls=fcfs uci set network.mesh.metric=wcett uci set network.mesh.prefix=6 -uci set network.mesh.period=36000 -uci set network.mesh.tau=36 -uci set network.mesh.debug=true +uci set network.mesh.period=1 +uci set network.mesh.tau=10 +uci set network.mesh.debug=false cfg=$(uci add firewall zone) uci set firewall.$cfg.name=mesh Index: net/wing/Makefile === --- net/wing/Makefile(revision 26355) +++ net/wing/Makefile(working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wing -PKG_VERSION:=20101023 +PKG_VERSION:=20110329 PKG_RELEASE:=1 -PKG_REV:=daffb8d7642c4a343951d67159504ff4f4da49ed +PKG_REV:=5c93a28b13921608750b2b5050a7e58fe3b69901 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 -PKG_SOURCE_URL:=http://github.com/create-net/click-wing.git +PKG_SOURCE_URL:=git://github.com/rriggio/click.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) PKG_SOURCE_VERSION:=$(PKG_REV) PKG_SOURCE_PROTO:=git @@ -29,7 +29,6 @@ TITLE:=Wireless mesh networking toolkit SECTION:=net CATEGORY:=Network -SUBMENU:=Routing and Redirection MAINTAINER:=Roberto Riggio roberto.rig...@create-net.org DEPENDS:=+kmod-tun +libpcap +libstdcpp URL:=http://www.wing-project.org/ @@ -48,12 +47,14 @@ --enable-userlevel \ --enable-wifi \ --enable-wing \ +
Re: [OpenWrt-Devel] [PATCH] Upgrade wing package to latest version
Im working on it On Mon, Mar 28, 2011 at 5:48 PM, Florian Fainelli flor...@openwrt.orgwrote: Hello Roberto, On Tuesday 08 March 2011 10:45:31 Roberto Riggio wrote: Upgrades the wing package to the latest version. The most important changes are: * revised implementation of the minstrel rate control algorithm * the openwrt makefile now point to the new repository, the old one in not available anymore Signed-off-by: Roberto Riggio roberto.rig...@create-net.org Your patch does not seem to apply anymore, can you please respin it? -- Florian ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PROPOSAL] growing OpenWrt devel team
Im sure if they came across and i had access to the pieces of the tree to fulfill the requests i would have tackled them also, so which ones did i maybe miss ? On Thu, Mar 24, 2011 at 8:48 PM, Travis Kemen thepeo...@openwrt.org wrote: On Thu, Mar 24, 2011 at 5:57 PM, Layne Edwards ledwa...@astrumtech.netwrote: On Thu, 24 Mar 2011 15:43:27 -0500, Travis Kemen thepeo...@openwrt.org wrote: Currently the best way for people to join (and help) the project is to take up maintenance of a package (or a few packages). I put out a call a while back for people to help with this and did get some replies but there are still many unmaintained packages as https://home.comcast.net/~sdwalker/uscan/index.html shows. Travis Please advise on how one should request developer rights to maintain a package. I sent such a request a few weeks ago and got no response at all. I have to agree with Luca here. I have been doing a lot of work in support of the ramips target, and most of my submitted patches are still waiting to be committed. I want to contribute, but I don't feel like I'm getting a warm welcome. Regards, Layne Edwards Sorry I missed the request. Send me a email with the packages you would like to maintain and I will get you setup. To get access to target is a little more involved (if you are interested), but I can run it by the core developers and see what everyone thinks. Travis ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH v2 1/1] Enable DSCP QoS for openssh-5.7p1
On Fri, Feb 11, 2011 at 1:06 PM, so...@guug.org wrote: On Thu, Feb 10, 2011 at 08:17:53PM -0800, Philip Prindeville wrote: Not sure what that means to say all linux router by default honours the TOS field since that depends on how/if you have 'tc' configured, and which scheduler you're using. On every box that I have that requires QoS, I've used the hfsc scheduler... though a lot of my infrastructure is also Cisco stuff. It seems you are not getting it but it's very simple: Linux by using the default pfifo_fast queue discipline always honours QoS values in the TOS field even if you don't have tc configured. What this means is that OpenWRT and all those Linux home routers honours the TOS field out of the box when routing packets, your patch contradicts this fact and now OpenSSH will do weird things on a OpenWRT router by setting DiffServ values in the TOS field which will trigger unknown or incorrect behavior. In the best case users will not notice/care. Hopefully your patch receives more discussion on upstream OpenSSH. snip As your patch was merged yesterday it's end of discussion for me. Though the patch was merged please take note it was in fact merged disabled / commented # , to be enabled only for and by those that desire, its merge into the tree, leaves OpenWRT in the same posture it was previously for exactly the reasons you mention. but the option is now there for those users that know whats the values are and wish to enable it. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] fix building of baresip/restund
Committed revision 25393. On Sun, Feb 6, 2011 at 11:10 AM, Alfred E. Heggestad a...@db.org wrote: the attached patch fixes the build for baresip/restund. I have tested that it builds OK against openwrt trunk r25370 for the architectures BCM947xx, AR71xx and x86. Signed-off-by: Alfred E. Heggestad aeh at db.org --- ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] packages/net/wavemon: version bump 0.7.1
Committed revision 25132 On Wed, Jan 26, 2011 at 4:02 PM, koniu gkusni...@gmail.com wrote: Hello, here's an update to the wonderful wavemon utility - trivial patch: changed version and md5sum :) kkk ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] Quicktun package
Committed revision 25098 On Sat, Jan 15, 2011 at 1:54 PM, Matthias Schiffer mschif...@universe-factory.net wrote: Hi, I've created packages for Quicktun ( http://wiki.ucis.nl/QuickTun ) and its dependency, D. J. Bernstein's NaCL cryptography library ( http://nacl.cace-project.eu/ ). Quicktun is a very small point-to-point tunnel software; it supports tun and tap devices, and especially for devices with small flash it's a nice alternative to OpenVPN etc. as it doesn't need OpenSSL or other huge libraries. In fact, the quicktun binary is 50KB with NaCL statically linked in, thus depending only on libc. Matthias Schiffer ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] openssl 1.0.0c update patch
patching file package/openssl/patches/300-etrax_support.patch patch unexpectedly ends in middle of line patch: malformed patch at line 1552: On Tue, Jan 18, 2011 at 5:23 PM, Peter Wagner tripo...@gmx.at wrote: openssl 1.0.0c update patch ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] update triggerhappy package to version 0.3.2
On Thu, Dec 23, 2010 at 6:03 AM, Stefan Tomanek stefan.tomanek+open...@wertarbyte.destefan.tomanek%2bopen...@wertarbyte.de wrote: this introduces several bugfixes Signed-off-by: Stefan Tomanek stefan.tomanek+open...@wertarbyte.destefan.tomanek%2bopen...@wertarbyte.de --- utils/triggerhappy/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/triggerhappy/Makefile b/utils/triggerhappy/Makefile index 58b83b3..2f22fb1 100644 --- a/utils/triggerhappy/Makefile +++ b/utils/triggerhappy/Makefile @@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=triggerhappy -PKG_VERSION:=0.3.1 -PKG_REV:=168639e0c482ca1668e15c48aaa9ccef286c223a +PKG_VERSION:=0.3.2 +PKG_REV:=c0cedabf8d5bd56ae4cb151ebe708d1ac6a3025d PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- 1.7.1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel Committed revision 24812. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] tor-alpha package version bump
On Tue, Dec 21, 2010 at 12:21 AM, Jacob Appelbaum ja...@appelbaum.netwrote: Hi, We've released a new version of Tor. This includes some important security fixes to address CVE-2010-1676. It also includes some important proactive security changes. New builds of Tor should probably happen for this version as soon as possible. Signed-off-by: Jacob Appelbaum ja...@appelbaum.net Index: net/tor-alpha/Makefile === --- net/tor-alpha/Makefile (revision 24743) +++ net/tor-alpha/Makefile (working copy) @@ -11,12 +11,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tor-alpha -PKG_VERSION:=0.2.2.19-alpha +PKG_VERSION:=0.2.2.20-alpha PKG_RELEASE:=1 PKG_SOURCE:=tor-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=https://www.torproject.org/dist -PKG_MD5SUM:=619f0c4243adc67360e8a99710935697 +PKG_MD5SUM:=e6c994419df864e2e89abfcf832d5961 PKG_BUILD_DIR=$(BUILD_DIR)/tor-$(PKG_VERSION)/ PKG_INSTALL:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel Committed revision 24750 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] tor package version bump
On Tue, Dec 21, 2010 at 12:21 AM, Jacob Appelbaum ja...@appelbaum.netwrote: Hi, We've released a new version of Tor. This includes some important security fixes to address CVE-2010-1676. It also includes some important proactive security changes. New builds of Tor should probably happen for this version as soon as possible. Signed-off-by: Jacob Appelbaum ja...@appelbaum.net Index: net/tor/Makefile === --- net/tor/Makefile(revision 24743) +++ net/tor/Makefile(working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=tor -PKG_VERSION:=0.2.1.27 +PKG_VERSION:=0.2.1.28 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://www.torproject.org/dist -PKG_MD5SUM:=1719642b3f25a23c3b3843ee99be18fb +PKG_MD5SUM:=11e8384414623b50fe50ba7da85893db PKG_INSTALL:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel Committed revision 24750 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] update package ruby to 1.9.2 and files clashes corrections
On Sun, Dec 19, 2010 at 6:24 AM, Vincent Neyen vne...@gmail.com wrote: Hi this patch: - upgrades ruby to 1.9.2-p0 - corrects file clashes between ruby-readline and ruby-irb - corrects file clashes between ruby-webrick and ruby-openssl Signed-off-by: Vincent Neyen vneyen at gmail.com Committed revision 24727. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] update triggerhappy package to version 0.3.1-1
Committed revision 24639. On Fri, Dec 17, 2010 at 7:09 AM, Stefan Tomanek stefan.tomanek+open...@wertarbyte.destefan.tomanek%2bopen...@wertarbyte.de wrote: Dies schrieb Stefan Tomanek (stefan.tomanek+open...@wertarbyte.destefan.tomanek%2bopen...@wertarbyte.de ): Signed-off-by: Stefan Tomanek stefan.tomanek+open...@wertarbyte.destefan.tomanek%2bopen...@wertarbyte.de --- utils/triggerhappy/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/triggerhappy/Makefile b/utils/triggerhappy/Makefile index b9569fd..58b83b3 100644 --- a/utils/triggerhappy/Makefile +++ b/utils/triggerhappy/Makefile @@ -6,8 +6,8 @@ include $(TOPDIR)/rules.mk PKG_NAME:=triggerhappy -PKG_VERSION:=0.1.6 -PKG_REV:=01bedc72451f8afd0c35649dd67c428c44a0f737 +PKG_VERSION:=0.3.1 +PKG_REV:=168639e0c482ca1668e15c48aaa9ccef286c223a PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -- 1.7.1 Hi, is there any trouble merging the above patch? I think I rebased it onto the latest HEAD, so it should apply cleanly and fix some bugs in the triggerhappy package. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] contribute Open-Source VoIP projects
Committed revision 24640 On Wed, Dec 15, 2010 at 5:38 PM, Alfred E. Heggestad a...@db.org wrote: On 12/14/10 2:40 AM, Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, the patch looks clean so far but I don't like the idea of conditional compilation. For the initial version its okay to always mandate libspeex etc. and make it a static DEPENDS:=... . In a later version you should maybe look into providing a full and mini variant of your package, or even better, make the code parts requiring speex etc. loadable libraries. Of course I cannot judge how much effort this would be, but maybe consider it. Hi, thanks for your feedback, I have removed the conditional compilation as you mentioned, they should not be needed for this initial version ... the applications baresip and restund are already fully modular, and each module can either be statically linked into the main application, or loaded dynamically. I think that we can add extra packages later, to extend functionality .. Signed-Off-By: Alfred E. Heggestad a...@db.org --- diff '--exclude=.svn' -Naur packages-orig//libs/re/Makefile packages/libs/re/Makefile --- packages-orig//libs/re/Makefile 1970-01-01 01:00:00.0 +0100 +++ packages/libs/re/Makefile 2010-12-15 15:59:30.0 +0100 @@ -0,0 +1,64 @@ +# +# Makefile +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=re +PKG_VERSION:=0.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.creytiv.com/pub +#PKG_MD5SUM:=734892c8ca5e7e835828048a1289a0cc + +include $(INCLUDE_DIR)/package.mk + +define Package/libre + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libopenssl +libpthread + TITLE:=Generic library for real-time communications with async IO support + URL:=http://www.creytiv.com/ +endef + +define Package/libre/description + Generic library for real-time communications with async IO support. +endef + +TARGET_CFLAGS += $(FPIC) + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + HAVE_LIBRESOLV= \ + CC=$(TARGET_CC) \ + EXTRA_CFLAGS=$(TARGET_CFLAGS) -DOPENWRT \ + EXTRA_LFLAGS=-lm \ + DESTDIR=$(PKG_INSTALL_DIR) \ + SYSROOT=$(TOOLCHAIN_DIR) \ + SYSROOT_ALT=$(STAGING_DIR)/usr \ + RELEASE=1 \ + all install +endef + +define Build/InstallDev + mkdir -p $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/re $(1)/usr/include/ + mkdir -p $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.{a,so*} $(1)/usr/lib/ +endef + +define Build/UninstallDev + rm -rf \ + $(STAGING_DIR)/usr/include/re \ + $(STAGING_DIR)/usr/lib/libre.{a,so*} +endef + +define Package/libre/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libre)) diff '--exclude=.svn' -Naur packages-orig//net/baresip/files/baresip.init packages/net/baresip/files/baresip.init --- packages-orig//net/baresip/files/baresip.init 1970-01-01 01:00:00.0 +0100 +++ packages/net/baresip/files/baresip.init 2010-11-12 19:29:38.0 +0100 @@ -0,0 +1,19 @@ +#!/bin/sh /etc/rc.common +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +START=92 +BIN=baresip +DEFAULT=/etc/default/$BIN +OPTIONS=-d + +start() { + [ -f $DEFAULT ] . $DEFAULT + $BIN $OPTIONS +} + +stop() { + killall $BIN +} + diff '--exclude=.svn' -Naur packages-orig//net/baresip/Makefile packages/net/baresip/Makefile --- packages-orig//net/baresip/Makefile 1970-01-01 01:00:00.0 +0100 +++ packages/net/baresip/Makefile 2010-12-15 16:04:52.0 +0100 @@ -0,0 +1,56 @@ +# +# Makefile +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=baresip +PKG_VERSION:=0.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.creytiv.com/pub/ +#PKG_MD5SUM:=ee345fe605ffcfce843dae4aed81122b + +include $(INCLUDE_DIR)/package.mk + +EXTRA_DEPS := + +define Package/baresip + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libre +libpthread $(EXTRA_DEPS) + TITLE:=baresip Barebone SIP useragent + URL:=http://www.creytiv.com/ +endef + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + MOD_AUTODETECT= \ + USE_G711=1 USE_L16=1 \ + USE_STDIO=1 USE_CONS=1 USE_EVDEV=1 \ + USE_OSS=1 \ + CC=$(TARGET_CC) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + EXTRA_CFLAGS=$(TARGET_CFLAGS) -DOPENWRT \ + $(PKG_MAKE_OPTS) \ + SYSROOT=$(TOOLCHAIN_DIR) \ + SYSROOT_ALT=$(STAGING_DIR)/usr \
Re: [OpenWrt-Devel] [PATCH] contribute Open-Source VoIP projects
Committed revision 24654 On Fri, Dec 17, 2010 at 10:07 AM, Alfred E. Heggestad a...@db.org wrote: Hi, many thanks for committing the patch .. I just noticed that the TABs in Makefile's had been converted into space, meaning that the current svn does not build at the moment .. I have fixed this by converting the spaces back to TAB, and this time the patch is attached in the email (i.e. not inline) .. Signed-Off-By: Alfred E. Heggestad a...@db.org On 12/17/10 2:31 PM, Outback Dingo wrote: Committed revision 24640 On Wed, Dec 15, 2010 at 5:38 PM, Alfred E. Heggestad a...@db.org mailto: a...@db.org wrote: On 12/14/10 2:40 AM, Jo-Philipp Wich wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hey, the patch looks clean so far but I don't like the idea of conditional compilation. For the initial version its okay to always mandate libspeex etc. and make it a static DEPENDS:=... . In a later version you should maybe look into providing a full and mini variant of your package, or even better, make the code parts requiring speex etc. loadable libraries. Of course I cannot judge how much effort this would be, but maybe consider it. Hi, thanks for your feedback, I have removed the conditional compilation as you mentioned, they should not be needed for this initial version ... the applications baresip and restund are already fully modular, and each module can either be statically linked into the main application, or loaded dynamically. I think that we can add extra packages later, to extend functionality .. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] tor-alpha package
Committed revision 24656 On Fri, Dec 17, 2010 at 8:11 PM, Jacob Appelbaum ja...@appelbaum.netwrote: Hi, This is a new Tor package for advanced Tor users who want bleeding edge features - this package includes experimental upnp support. It does not replace the current Tor package but rather it is a supplementary package. All the best, Jacob Appelbaum Signed-off-by: Jacob Appelbaum ja...@appelbaum.net Index: net/tor-alpha/files/tor.init === --- net/tor-alpha/files/tor.init(revision 0) +++ net/tor-alpha/files/tor.init(revision 0) @@ -0,0 +1,26 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2006 OpenWrt.org +START=50 + +BIN=tor +DEFAULT=/etc/default/$BIN +LOG_D=/var/log/$BIN +LIB_D=/var/lib/$BIN +RUN_D=/var/run +PID_F=$RUN_D/$BIN.pid +RUN_USER=$BIN +RUN_GROUP=$BIN + +start() { + [ -f $DEFAULT ] . $DEFAULT + [ -d $LOG_D ] || ( mkdir -m 0755 -p $LOG_D chown $RUN_USER:$RUN_GROUP $LOG_D ) + [ -d $LIB_D ] || ( mkdir -m 0700 -p $LIB_D chown $RUN_USER:$RUN_GROUP $LIB_D ) + [ -d $RUN_D ] || mkdir -p $RUN_D + [ -f $PID_F ] || ( touch $PID_F chown $RUN_USER:$RUN_GROUP $PID_F ) + $BIN $OPTIONS +} + +stop() { + [ -f $PID_F ] kill $(cat $PID_F) +} + Index: net/tor-alpha/patches/001-torrc.patch === --- net/tor-alpha/patches/001-torrc.patch (revision 0) +++ net/tor-alpha/patches/001-torrc.patch (revision 0) @@ -0,0 +1,22 @@ +--- a/src/config/torrc.sample.in 2010-11-22 19:49:38.0 -0800 a/src/config/torrc.sample.in 2010-12-17 14:49:41.379893002 -0800 +@@ -44,11 +44,11 @@ + ## Uncomment this to start the process in the background... or use + ## --runasdaemon 1 on the command line. This is ignored on Windows; + ## see the FAQ entry if you want Tor to run as an NT service. +-#RunAsDaemon 1 ++RunAsDaemon 1 + + ## The directory for keeping all the keys/etc. By default, we store + ## things in $HOME/.tor on Unix, and in Application Data\tor on Windows. +-#DataDirectory @LOCALSTATEDIR@/lib/tor ++DataDirectory @LOCALSTATEDIR@/lib/tor + + ## The port on which Tor will listen for local connections from Tor + ## controller applications, as documented in control-spec.txt. +@@ -168,3 +168,5 @@ + #BridgeRelay 1 + #ExitPolicy reject *:* + ++User tor ++PidFile @LOCALSTATEDIR@/run/tor.pid Index: net/tor-alpha/Makefile === --- net/tor-alpha/Makefile (revision 0) +++ net/tor-alpha/Makefile (revision 0) @@ -0,0 +1,103 @@ +# +# Copyright (C) 2008-2010 OpenWrt.org +# +# This is free software, licensed under the GNU General Public License v2. +# See /LICENSE for more information. +# +# Want to test this package? Try this: +# make package/tor-alpha/{clean,compile,install} V=99 +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=tor-alpha +PKG_VERSION:=0.2.2.19-alpha +PKG_RELEASE:=1 + +PKG_SOURCE:=tor-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=https://www.torproject.org/dist +PKG_MD5SUM:=619f0c4243adc67360e8a99710935697 +PKG_BUILD_DIR=$(BUILD_DIR)/tor-$(PKG_VERSION)/ + +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/tor-alpha + SECTION:=net + CATEGORY:=Network + DEPENDS:=+libevent +libopenssl +libpthread +miniupnpc + TITLE:=An anonymous Internet communication system + URL:=http://www.torproject.org/ +endef + +define Package/tor-alpha/description + Tor is a toolset for a wide range of organizations and people that want to + improve their safety and security on the Internet. Using Tor can help you + anonymize web browsing and publishing, instant messaging, IRC, SSH, and + more. Tor also provides a platform on which software developers can build + new applications with built-in anonymity, safety, and privacy features. +endef + +define Package/tor-alpha/conffiles +/etc/tor/torrc +endef + +define Package/tor-alpha/postinst +#!/bin/sh + +name=tor +id=52 + +# do not change below +# # check if we are on real system +if [ -z $${IPKG_INSTROOT} ]; then +# create copies of passwd and group, if we use squashfs +rootfs=`mount |awk '/root/ { print $$5 }'` +if [ $$rootfs = squashfs ]; then +if [ -h /etc/group ]; then +rm /etc/group +cp /rom/etc/group /etc/group +fi +if [ -h /etc/passwd ]; then +rm /etc/passwd +cp /rom/etc/passwd /etc/passwd +fi +fi +fi + +echo +if [ -z $$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/group) ]; then +echo adding group $$name to /etc/group +echo $${name}:x:$${id}: $${IPKG_INSTROOT}/etc/group +fi + +if [ -z $$(grep ^\\$${name}: $${IPKG_INSTROOT}/etc/passwd) ]; then +
Re: [OpenWrt-Devel] [PATCH] contribute Open-Source VoIP projects
This patch appears to place your packes under package, they should be package/net and package/lib please fix and resubmit this so we can apply it to the test tree On Mon, Dec 13, 2010 at 7:10 PM, Alfred E. Heggestad a...@db.org wrote: Hi all, I would like to contribute my Open-Source VoIP projects to the OpenWRT project .. the code has been running fine on my ASUS WL-500Gp for some time now, so I hope that it is mature enough for other people to also use it. The following projects are part of this patch: * baresip -- Modular SIP User-Agent * restund -- Modular STUN/TURN Server * libre-- Shared library with SIP/SDP,RTP/RTCP,STUN/TURN/ICE etc. Your comments are welcome .. Signed-off-by: Alfred E. Heggestad a...@db.org --- diff '--exclude=.svn' -Naur package-orig//baresip/files/baresip.init package//baresip/files/baresip.init --- package-orig//baresip/files/baresip.init1970-01-01 01:00:00.0 +0100 +++ package//baresip/files/baresip.init 2010-11-12 19:29:38.0 +0100 @@ -0,0 +1,19 @@ +#!/bin/sh /etc/rc.common +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +START=92 +BIN=baresip +DEFAULT=/etc/default/$BIN +OPTIONS=-d + +start() { + [ -f $DEFAULT ] . $DEFAULT + $BIN $OPTIONS +} + +stop() { + killall $BIN +} + diff '--exclude=.svn' -Naur package-orig//baresip/Makefile package//baresip/Makefile --- package-orig//baresip/Makefile 1970-01-01 01:00:00.0 +0100 +++ package//baresip/Makefile 2010-12-06 02:34:06.0 +0100 @@ -0,0 +1,79 @@ +# +# Makefile +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=baresip +PKG_VERSION:=0.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.creytiv.com/pub/ +#PKG_MD5SUM:=ee345fe605ffcfce843dae4aed81122b + +include $(INCLUDE_DIR)/package.mk + +EXTRA_DEPS := + +ifneq ($(CONFIG_PACKAGE_libgsm),) + PKG_MAKE_OPTS += USE_GSM=1 + EXTRA_DEPS+= +libgsm +else + PKG_MAKE_OPTS += USE_GSM= +endif + +ifneq ($(CONFIG_PACKAGE_libspeex),) + PKG_MAKE_OPTS += USE_SPEEX=1 USE_SPEEX_AEC=1 USE_SPEEX_PP=1 USE_SPEEX_RESAMP=1 + EXTRA_DEPS+= +libspeex +else + PKG_MAKE_OPTS += USE_SPEEX= USE_SPEEX_AEC= USE_SPEEX_PP= USE_SPEEX_RESAMP= +endif + + +define Package/baresip + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libre +libpthread $(EXTRA_DEPS) + TITLE:=baresip Barebone SIP useragent + URL:=http://www.creytiv.com/ +endef + + +# Optional feature +ifneq ($(CONFIG_PACKAGE_libsrtp),) + PKG_MAKE_OPTS += USE_SRTP=1 +else + PKG_MAKE_OPTS += USE_SRTP= +endif + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + MOD_AUTODETECT= \ + USE_G711=1 USE_L16=1 \ + USE_STDIO=1 USE_CONS=1 USE_EVDEV=1 \ + USE_OSS=1 \ + CC=$(TARGET_CC) \ + DESTDIR=$(PKG_INSTALL_DIR) \ + EXTRA_CFLAGS=$(TARGET_CFLAGS) -DOPENWRT \ + $(PKG_MAKE_OPTS) \ + SYSROOT=$(TOOLCHAIN_DIR)/usr \ + SYSROOT_ALT=$(STAGING_DIR)/usr \ + RELEASE=1 \ + all install +endef + +define Package/baresip/install + $(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/baresip $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/usr/lib/baresip/modules + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/baresip/modules/*.so $(1)/usr/lib/baresip/modules/. + $(INSTALL_DIR) $(1)/usr/share/baresip + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/share/baresip/* $(1)/usr/share/baresip/. + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/baresip.init $(1)/etc/init.d/baresip +endef + +$(eval $(call BuildPackage,baresip)) diff '--exclude=.svn' -Naur package-orig//re/Makefile package//re/Makefile --- package-orig//re/Makefile 1970-01-01 01:00:00.0 +0100 +++ package//re/Makefile2010-12-06 02:27:31.0 +0100 @@ -0,0 +1,63 @@ +# +# Makefile +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=re +PKG_VERSION:=0.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.creytiv.com/pub +#PKG_MD5SUM:=734892c8ca5e7e835828048a1289a0cc + +include $(INCLUDE_DIR)/package.mk + +define Package/libre + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libopenssl +libpthread + TITLE:=Generic library for real-time communications with async IO support + URL:=http://www.creytiv.com/ +endef + +define Package/libre/description + Generic library for real-time communications with async IO support. +endef + +TARGET_CFLAGS += $(FPIC) + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) \ + EXTRA_CFLAGS=$(TARGET_CFLAGS) -DOPENWRT \ + EXTRA_LFLAGS=-lm \ +
Re: [OpenWrt-Devel] [PATCH] contribute Open-Source VoIP projects
Hi Alfred I also see $(INSTALL_CONF) $(PKG_BUILD_DIR)/etc/restund.conf $(1)/etc/ of which i dont see in the patch.. On Mon, Dec 13, 2010 at 7:38 PM, Alfred E. Heggestad a...@db.org wrote: On 12/14/10 1:22 AM, Outback Dingo wrote: This patch appears to place your packes under package, they should be package/net and package/lib please fix and resubmit this so we can apply it to the test tree Hi, many thanks for your reply .. I have updated the patch as requested, please find it inline: On Mon, Dec 13, 2010 at 7:10 PM, Alfred E. Heggestad a...@db.org mailto: a...@db.org wrote: Hi all, I would like to contribute my Open-Source VoIP projects to the OpenWRT project .. the code has been running fine on my ASUS WL-500Gp for some time now, so I hope that it is mature enough for other people to also use it. The following projects are part of this patch: * baresip -- Modular SIP User-Agent * restund -- Modular STUN/TURN Server * libre-- Shared library with SIP/SDP,RTP/RTCP,STUN/TURN/ICE etc. Your comments are welcome .. Signed-off-by: Alfred E. Heggestad a...@db.org mailto:a...@db.org --- diff '--exclude=.svn' -Naur package-orig/libs/re/Makefile package/libs/re/Makefile --- package-orig/libs/re/Makefile 1970-01-01 01:00:00.0 +0100 +++ package/libs/re/Makefile2010-12-06 02:27:31.0 +0100 @@ -0,0 +1,63 @@ +# +# Makefile +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=re +PKG_VERSION:=0.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.creytiv.com/pub +#PKG_MD5SUM:=734892c8ca5e7e835828048a1289a0cc + +include $(INCLUDE_DIR)/package.mk + +define Package/libre + SECTION:=libs + CATEGORY:=Libraries + DEPENDS:=+libopenssl +libpthread + TITLE:=Generic library for real-time communications with async IO support + URL:=http://www.creytiv.com/ +endef + +define Package/libre/description + Generic library for real-time communications with async IO support. +endef + +TARGET_CFLAGS += $(FPIC) + +define Build/Compile + $(MAKE) -C $(PKG_BUILD_DIR) \ + CC=$(TARGET_CC) \ + EXTRA_CFLAGS=$(TARGET_CFLAGS) -DOPENWRT \ + EXTRA_LFLAGS=-lm \ + DESTDIR=$(PKG_INSTALL_DIR) \ + SYSROOT=$(TOOLCHAIN_DIR)/usr \ + SYSROOT_ALT=$(STAGING_DIR)/usr \ + RELEASE=1 \ + all install +endef + +define Build/InstallDev + mkdir -p $(1)/usr/include + $(CP) $(PKG_INSTALL_DIR)/usr/include/re $(1)/usr/include/ + mkdir -p $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.{a,so*} $(1)/usr/lib/ +endef + +define Build/UninstallDev + rm -rf \ + $(STAGING_DIR)/usr/include/re \ + $(STAGING_DIR)/usr/lib/libre.{a,so*} +endef + +define Package/libre/install + $(INSTALL_DIR) $(1)/usr/lib + $(CP) $(PKG_INSTALL_DIR)/usr/lib/libre.so* $(1)/usr/lib/ +endef + +$(eval $(call BuildPackage,libre)) diff '--exclude=.svn' -Naur package-orig/net/baresip/files/baresip.init package/net/baresip/files/baresip.init --- package-orig/net/baresip/files/baresip.init 1970-01-01 01:00:00.0 +0100 +++ package/net/baresip/files/baresip.init 2010-11-12 19:29:38.0 +0100 @@ -0,0 +1,19 @@ +#!/bin/sh /etc/rc.common +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +START=92 +BIN=baresip +DEFAULT=/etc/default/$BIN +OPTIONS=-d + +start() { + [ -f $DEFAULT ] . $DEFAULT + $BIN $OPTIONS +} + +stop() { + killall $BIN +} + diff '--exclude=.svn' -Naur package-orig/net/baresip/Makefile package/net/baresip/Makefile --- package-orig/net/baresip/Makefile 1970-01-01 01:00:00.0 +0100 +++ package/net/baresip/Makefile2010-12-06 02:34:06.0 +0100 @@ -0,0 +1,79 @@ +# +# Makefile +# +# Copyright (C) 2010 Alfred E. Heggestad +# + +include $(TOPDIR)/rules.mk + +PKG_NAME:=baresip +PKG_VERSION:=0.1.0 +PKG_RELEASE:=1 + +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz +PKG_SOURCE_URL:=http://www.creytiv.com/pub/ +#PKG_MD5SUM:=ee345fe605ffcfce843dae4aed81122b + +include $(INCLUDE_DIR)/package.mk + +EXTRA_DEPS := + +ifneq ($(CONFIG_PACKAGE_libgsm),) + PKG_MAKE_OPTS += USE_GSM=1 + EXTRA_DEPS+= +libgsm +else + PKG_MAKE_OPTS += USE_GSM= +endif + +ifneq ($(CONFIG_PACKAGE_libspeex),) + PKG_MAKE_OPTS += USE_SPEEX=1 USE_SPEEX_AEC=1 USE_SPEEX_PP=1 USE_SPEEX_RESAMP=1 + EXTRA_DEPS+= +libspeex +else + PKG_MAKE_OPTS += USE_SPEEX= USE_SPEEX_AEC= USE_SPEEX_PP= USE_SPEEX_RESAMP= +endif + + +define Package/baresip + SECTION:=utils + CATEGORY:=Utilities + DEPENDS:=+libre +libpthread $(EXTRA_DEPS) + TITLE:=baresip Barebone SIP useragent + URL:=http://www.creytiv.com/ +endef + + +# Optional feature +ifneq
Re: [OpenWrt-Devel] Bump mjpg-streamer revision
Committed revision 24247 On Sat, Dec 4, 2010 at 2:21 PM, Roberto Riggio roberto.rig...@create-net.org wrote: Signed-off-by: Roberto Riggio roberto.rig...@gmail.com -- Index: multimedia/mjpg-streamer/Makefile === --- multimedia/mjpg-streamer/Makefile(revision 24227) +++ multimedia/mjpg-streamer/Makefile(working copy) @@ -8,7 +8,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=mjpg-streamer -PKG_REV:=94 +PKG_REV:=136 PKG_VERSION:=r$(PKG_REV) PKG_RELEASE:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] packages/net/corkscrew: new package
Committed revision 24227. On Fri, Dec 3, 2010 at 6:12 AM, koniu gkusni...@gmail.com wrote: Hello, This package was requested on irc a few days ago. Hope its useful. koniu ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Add support for channels in znc configuration
Committed revision 24218. On Thu, Dec 2, 2010 at 5:01 PM, Timothy Redaelli timothy.redae...@gmail.com wrote: This adds support for channels in znc configuration: Just put a list channel'#chan optional_password' in an user section of /etc/config/znc Signed-off-by: Timothy Redaelli timo...@redaelli.eu --- Index: net/znc/files/znc.init === --- net/znc/files/znc.init (revisione 24213) +++ net/znc/files/znc.init (copia locale) @@ -10,6 +10,14 @@ echo $1 = $2 $ZNC_CONFIG } +add_chan() { + chan=${1% *} + pass=${1#* } + echo Chan $chan $ZNC_CONFIG + [ $chan != $pass ] echo Key = $pass $ZNC_CONFIG + echo /Chan $ZNC_CONFIG +} + znc_global() { local znc=$1 local anoniplimit @@ -72,6 +80,7 @@ config_list_foreach $user server add_param \Server\ config_list_foreach $user module add_param \ LoadModule\ + config_list_foreach $user channel add_chan echo /User $ZNC_CONFIG } ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [patch] n2n update to release 3875
Committed revision 23769 On Fri, Oct 29, 2010 at 6:03 AM, Hanno Schupp hanno.sch...@gmail.comwrote: Updating n2n to this release allows the inclusion of the mac address to the edge command, which in turns allows the linking of a dhcp server to the supernode, and thus IP address assignment. (For background see http://wiki.freifunk.net/N2n) Tested in bakfire, trunk brcm-2.4., ar71xx and atheros. Signed-off-by: hanno.sch...@gmail.com *Index: Makefile* *===* *--- Makefile (revision 23702)* *+++ Makefile (working copy)* *@@ -9,7 +9,7 @@* * * * PKG_BRANCH:=trunk* * PKG_SOURCE_URL:=https://svn.ntop.org/svn/ntop/trunk/n2n* *-PKG_REV:=3667* *+PKG_REV:=3875* * * * PKG_NAME:=n2n* * PKG_VERSION:=$(PKG_REV)* ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [patch] n2n update to release 3875
has this not been committed ? ouch! ill look into it On Mon, Nov 1, 2010 at 6:25 PM, Hanno Schupp hanno.sch...@gmail.com wrote: Anything wrong with this? I thought this was pretty trivial change. Could this be released, if there is no issue, please? On 29 October 2010 23:03, Hanno Schupp hanno.sch...@gmail.com wrote: Updating n2n to this release allows the inclusion of the mac address to the edge command, which in turns allows the linking of a dhcp server to the supernode, and thus IP address assignment. (For background see http://wiki.freifunk.net/N2n) Tested in bakfire, trunk brcm-2.4., ar71xx and atheros. Signed-off-by: hanno.sch...@gmail.com Index: Makefile === --- Makefile (revision 23702) +++ Makefile (working copy) @@ -9,7 +9,7 @@ PKG_BRANCH:=trunk PKG_SOURCE_URL:=https://svn.ntop.org/svn/ntop/trunk/n2n -PKG_REV:=3667 +PKG_REV:=3875 PKG_NAME:=n2n PKG_VERSION:=$(PKG_REV) ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [patch] update coova-chilli to version 1.2.5
Committed revision 23719. On Fri, Oct 29, 2010 at 1:55 PM, Hanno Schupp hanno.sch...@gmail.comwrote: This brings coova up to speed - tested in backfire and trunk. Signed by: hanno.sch...@gmail.com remove root/packages/net/coova-chilli/patches/001-readd-macauth.patch Index: Makefile === --- Makefile (revision 23710) +++ Makefile (working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=coova-chilli -PKG_VERSION:=1.2.2 +PKG_VERSION:=1.2.5 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://ap.coova.org/chilli -PKG_MD5SUM:=44042e26c3b3c6e64a9a8769328b437d +PKG_MD5SUM:=1b890cb043b4340e1f15c2b2cff742d3 PKG_FIXUP:=libtool PKG_INSTALL:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 2/3] ZNC: Package modules.
Yeah im looking into it, for some reason the patches didnt apply cleanly I manually edited the rejects, though now its not showing in the make menuconfig quite odd... so im working it out from a clean tree to be sure. On Mon, Oct 25, 2010 at 6:19 AM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: On 25 October 2010 04:04, Outback Dingo outbackdi...@gmail.com wrote: Committed revision 23627 - Reverts Commit 23626 - Needs fixing I'd gladly fix it, but I need something more specific than needs fixing ;-). It builds and runs fine for me on ar71xx, current trunk. Regards, Jonas ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] Split wing compilation into host and target
Committed revision 23631. On Thu, Oct 21, Committed revision 23631. 2010 at 2:13 PM, Roberto Riggio roberto.rig...@create-net.org wrote: This patch: * splits the wing package compilation into host and target * upgrades the git revision to a more recent version of the protocol which solves a segfault on arm boards and adds support for OLSR-like Host-Network-Association messages. Signed-off-by: Roberto Riggioroberto.rig...@create-net.org -- Index: net/wing/files/lib/network/wing.sh === --- net/wing/files/lib/network/wing.sh(revision 23569) +++ net/wing/files/lib/network/wing.sh(working copy) @@ -36,7 +36,7 @@ exit 1 fi -local profile rc ls prefix debug +local profile rc ls metric prefix period tau debug config_get profile $config profile bulk config_get rc $config rc static @@ -131,8 +131,12 @@ config_get ifname $1 ifname config_get device $1 device config_get hwmode $device hwmode 11bg -freq=$(iwlist $ifname freq | grep Current Frequency | sed -n s/^.*Current Frequency:\([0-9.]*\) GHz (Channel \([0-9]*\))/\1/p | awk '{print $1*1000}') -freq=${freq:-0} +config_get channel $device channel 0 +[ $channel = 0 -o $channel = auto ] { +logger -t $device Channel not specified. Ignoring. +return 0 +} +freq=$(iwlist $ifname freq | sed -n s/^.*Channel 0*$channel : \([0-9.]*\).*/\1/p | awk '{print $1*1000}') hwaddr=$(/sbin/ifconfig $ifname 21 | sed -n 's/^.*HWaddr \([0-9A-Za-z\-]*\).*/\1/p' | sed -e 's/\-/:/g' | cut -c1-17) freqs=${freqs:+$freqs }$freq hwmodes=${hwmodes:+$hwmodes }$hwmode Index: net/wing/patches/100-cross-compile.patch === --- net/wing/patches/100-cross-compile.patch(revision 23569) +++ net/wing/patches/100-cross-compile.patch(working copy) @@ -1,21 +0,0 @@ - m4/click.m4 |8 - 1 file changed, 8 deletions(-) - wing-20100903.orig/m4/click.m4 -+++ wing-20100903/m4/click.m4 -@@ -235,14 +235,6 @@ AC_DEFUN([CLICK_CHECK_BUILD_DYNAMIC_LINK - if test x$ac_build_have_dlopen = xyes -a x$ac_build_have_dlfcn_h = xyes; then - ac_build_have_dynamic_linking=yes - fi --if test x$ac_build_have_dynamic_linking != x$ac_have_dynamic_linking; then --AC_MSG_ERROR([ --= -- --Build system and host system don't have the same dynamic linking state! -- --=]) --fi - AC_SUBST(BUILD_DL_LIBS) - eval $saver - ]) Index: net/wing/Config.in === --- net/wing/Config.in(revision 23569) +++ net/wing/Config.in(working copy) @@ -1,17 +0,0 @@ -# Wing configuration - -choice -prompt Version -depends on PACKAGE_wing -default WING_STABLE -help -This option allows you to select the version of Wing to be built. - -config WING_STABLE -bool Use the stable version (multi-interface) - -config WING_TESTING -bool Use the unstable version (multi-interfaces w/ ITACA) - -endchoice - Index: net/wing/Makefile === --- net/wing/Makefile(revision 23569) +++ net/wing/Makefile(working copy) @@ -8,17 +8,10 @@ include $(TOPDIR)/rules.mk PKG_NAME:=wing +PKG_VERSION:=20101021 +PKG_RELEASE:=1 +PKG_REV:=402b10c1e914157ee1a105e11390ff013aa00748 -ifneq ($(CONFIG_WING_STABLE),) -PKG_VERSION:=20100903 -PKG_RELEASE:=4 -PKG_REV:=520e3168a5af4d26bec3779cfa4901d128a4bc6f -else -PKG_VERSION:=$(shell date +%Y%m%d) -PKG_RELEASE:=1 -PKG_REV:=HEAD -endif - PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=http://github.com/create-net/click-wing.git PKG_SOURCE_SUBDIR:=$(PKG_NAME)-$(PKG_VERSION) @@ -26,72 +19,58 @@ PKG_SOURCE_PROTO:=git PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) -PKG_BUILD_PARALLEL:=1 -PKG_INSTALL:=1 +PKG_BUILD_DEPENDS:=wing/host + include $(INCLUDE_DIR)/package.mk +include $(INCLUDE_DIR)/host-build.mk define Package/wing TITLE:=Wireless mesh networking toolkit SECTION:=net CATEGORY:=Network MAINTAINER:=Roberto Riggio roberto.rig...@create-net.org -DEPENDS:=+kmod-tun +DEPENDS:=+kmod-tun +libpcap +libstdcpp URL:=http://www.wing-project.org/ endef define Package/wing/Description Wing is a wireless mesh routing software. The routing protocol -is derived from Roofnet. It supports multiple radio interfaces and -link quality routing using the ETX, ETT, and WCETT metrics. +is derived from Roofnet. It supports multiple radio interfaces +and link quality routing using the ETX, ETT, or WCETT metric. endef -define Package/wing/config -source $(SOURCE)/Config.in -endef
Re: [OpenWrt-Devel] [PATCH 2/3] ZNC: Package modules.
whoa, my bad, that was the wrong patch, dislexia Committed revision 23632. dislexia set in from lack of sleep On Mon, Oct 25, 2010 at 10:37 AM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: The patches aren't fully independent, patch 3 depends on patch 2 being applied (which looks to be missing here). On 25 October 2010 16:25, Outback Dingo outbackdi...@gmail.com wrote: Okay, heres the output of patching patch 1 files against trunk packages patch -p1 patch1 patching file net/znc/Makefile Hunk #1 FAILED at 29. Hunk #2 FAILED at 39. Hunk #3 succeeded at 57 with fuzz 1 (offset -331 lines). 2 out of 3 hunks FAILED -- saving rejects to file net/znc/Makefile.rej patching file net/znc/files/znc.conf patching file net/znc/files/znc.init di...@dingo-laptop:/usr/builder/devel/packages$ cat net/znc/Makefile.rej --- net/znc/Makefile +++ net/znc/Makefile @@ -29,7 +29,7 @@ define Package/znc $(Package/znc/default) - DEPENDS:=+libopenssl +uclibcxx + DEPENDS:=+libopenssl +uclibcxx +coreutils-su MENU:=1 endef @@ -39,6 +39,10 @@ bouncing, and c++ module support to name a few. endef +define Package/znc/conffiles +/etc/config/znc +endef + define Package/znc-mod-admin $(Package/znc/default) TITLE+= (admin plugin) On Sat, Oct 23, 2010 at 6:32 PM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: Create packages for all modules except webadmin, since it doesn't compile. The extra modules are ignored for now. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.comjonas.gorski%2bopen...@gmail.com --- net/znc/Makefile | 526 +- 1 files changed, 524 insertions(+), 2 deletions(-) diff --git a/net/znc/Makefile b/net/znc/Makefile index e7b7243..08364d4 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -19,21 +19,351 @@ PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk -define Package/znc +define Package/znc/default SUBMENU:=Instant Messaging SECTION:=net CATEGORY:=Network - DEPENDS:=+libopenssl +uclibcxx TITLE:=ZNC URL:=http://en.znc.in/ endef +define Package/znc + $(Package/znc/default) + DEPENDS:=+libopenssl +uclibcxx + MENU:=1 +endef + define Package/znc/description ZNC is an IRC bouncer with many advanced features like detaching, multiple users, per channel playback buffer, SSL, IPv6, transparent DCC bouncing, and c++ module support to name a few. endef +define Package/znc-mod-admin + $(Package/znc/default) + TITLE+= (admin plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-admin/description + Allows you to add/remove/edit users and settings on the fly via IRC messages. +endef + +define Package/znc-mod-adminlog + $(Package/znc/default) + TITLE+= (adminlog plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-adminlog/description + Log user connects and disconnects and failed logins to file or syslog. +endef + +define Package/znc-mod-autoattach + $(Package/znc/default) + TITLE+= (autoattach plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoattach/description + Reattaches you to channels on activity. +endef + + +define Package/znc-mod-autocycle + $(Package/znc/default) + TITLE+= (autocycle plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autocycle/description + Cycles a channel when you are the only one in there and you don't have op. +endef + +define Package/znc-mod-autoop + $(Package/znc/default) + TITLE+= (autoop plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoop/description + Auto op the good guys. +endef + +define Package/znc-mod-autoreply + $(Package/znc/default) + TITLE+= (autoreply plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoreply/description + Gives a automatic reply if someone messages you if you are away. +endef + +define Package/znc-mod-away + $(Package/znc/default) + TITLE+= (away plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-away/description + Stores messages while away, also auto away. +endef + +define Package/znc-mod-awaynick + $(Package/znc/default) + TITLE+= (awaynick plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-awaynick/description + Change your nick while you are away. +endef + +define Package/znc-mod-blockuser + $(Package/znc/default) + TITLE+= (blockuser plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-blockuser/description + Blocks certain users from using ZNC saying their account was disabled. +endef + +define Package/znc-mod-buffextras + $(Package/znc/default) + TITLE+= (buffextras plugin) + DEPENDS:=znc +endef + +define Package/znc
Re: [OpenWrt-Devel] [PATCH 1/3] ZNC: upate to 0.094.
Committed revision 23626. On Sat, Oct 23, 2010 at 6:32 PM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: Update ZNC to the newest version. Building modules cannot be disabled anymore, so just remove the only one that doesn't build (webadmin). Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.comjonas.gorski%2bopen...@gmail.com --- net/znc/Makefile |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/net/znc/Makefile b/net/znc/Makefile index 44b4a84..e7b7243 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=znc -PKG_VERSION:=0.078 -PKG_RELEASE:=2 +PKG_VERSION:=0.094 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=...@sf/znc -PKG_MD5SUM:=b1379bd6609353ebbc8df7ec19bd004f +PKG_MD5SUM:=db101f7a7756285d824b59e3b33e3ad5 PKG_BUILD_PARALLEL:=1 @@ -43,13 +43,14 @@ CONFIGURE_VARS += \ CONFIGURE_ARGS += \ --disable-c-ares \ - --disable-modules \ --disable-perl MAKE_FLAGS += \ CXX=$(STAGING_DIR)/host/bin/g++-uc define Build/Configure + # webadmin doesn't compile + $(RM) $(PKG_BUILD_DIR)/modules/webadmin.cpp $(call Build/Configure/Default,) $(call libtool_disable_rpath) endef -- 1.5.6.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH 3/3] ZNC: Add startup script and uci config.
Committed revision 23626. On Sat, Oct 23, 2010 at 6:32 PM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: Add a startup and a uci configuration for ZNC. This allows configuring multiple users, loading modules with parameters (global and per user) and starts the ZNC binary as nobody. The latter requires su, so add this as a dependecy. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.comjonas.gorski%2bopen...@gmail.com --- net/znc/Makefile | 10 +- net/znc/files/znc.conf | 13 +++ net/znc/files/znc.init | 92 3 files changed, 114 insertions(+), 1 deletions(-) create mode 100644 net/znc/files/znc.conf create mode 100644 net/znc/files/znc.init diff --git a/net/znc/Makefile b/net/znc/Makefile index 08364d4..1eaf795 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -29,7 +29,7 @@ endef define Package/znc $(Package/znc/default) - DEPENDS:=+libopenssl +uclibcxx + DEPENDS:=+libopenssl +uclibcxx +coreutils-su MENU:=1 endef @@ -39,6 +39,10 @@ define Package/znc/description bouncing, and c++ module support to name a few. endef +define Package/znc/conffiles +/etc/config/znc +endef + define Package/znc-mod-admin $(Package/znc/default) TITLE+= (admin plugin) @@ -388,6 +392,10 @@ endef define Package/znc/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/znc $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/znc.init $(1)/etc/init.d/znc + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DATA) ./files/znc.conf $(1)/etc/config/znc endef define Package/znc-mod-admin/install diff --git a/net/znc/files/znc.conf b/net/znc/files/znc.conf new file mode 100644 index 000..ba3f069 --- /dev/null +++ b/net/znc/files/znc.conf @@ -0,0 +1,13 @@ +config znc + # where to listen for connections + list listener '192.168.1.1 1234' + +config user 'sampleUser' + option password 'changeme' + option nick 'sampleUser' + option altnick 'userSample' + option ident'openwrt' + option realname 'John Doe' + + # list of allowed servers + list server 'chat.freenode.net 6667' diff --git a/net/znc/files/znc.init b/net/znc/files/znc.init new file mode 100644 index 000..6e56efd --- /dev/null +++ b/net/znc/files/znc.init @@ -0,0 +1,92 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2010 Openwrt.org + +START=60 + +PID_FILE=/tmp/etc/znc/znc.pid +ZNC_CONFIG=/tmp/etc/znc/configs/znc.conf + +add_param() { + echo $1 = $2 $ZNC_CONFIG +} + +znc_global() { + local znc=$1 + local anoniplimit + local maxbuffersize + local connectdelay + local serverthrottle + + + config_get anoniplimit $znc anoniplimit + config_get maxbuffersize $znc maxbuffersize + config_get connectdelay $znc connectdelay + config_get serverthrottle $znc serverthrottle + + [ -z $anoniplimit ] || echo AnonIPLimit = $anoniplimit $ZNC_CONFIG + [ -z $maxbuffersize ] || echo MaxBufferSize = $maxbuffersize $ZNC_CONFIG + [ -z $connectdelay ] || echo ConnectDelay = $connectdelay $ZNC_CONFIG + [ -z $serverthrottle ] || echo ServerThrottle = $anoniplimit $ZNC_CONFIG + + echo PidFile = $PID_FILE $ZNC_CONFIG + + config_list_foreach $znc listener add_param Listener + config_list_foreach $znc module add_param LoadModule +} + +add_user() { + local user=$1 + local password + local nick + local altnick + local ident + local realname + local buffer + local quitmsg + local chanmodes + local vhost + + config_get password $user password + config_get nick $user nick + config_get altnick $user altnick + config_get ident $user ident + config_get realname $user realname + config_get buffer $user buffer + config_get quitmsg $user quitmsg + config_get chanmodes $user chanmodes + config_get vhost $user vhost + + echo User $user $ZNC_CONFIG + echo Pass = plain#$password $ZNC_CONFIG + echo Nick = $nick $ZNC_CONFIG + echo AltNick = ${altnick:-$nick_} $ZNC_CONFIG + echo Ident = ${ident:-$nick} $ZNC_CONFIG + echo RealName = ${realname:-$nick} $ZNC_CONFIG + [ -z $vhost ] || echoVHost = $vhost $ZNC_CONFIG + echo Buffer = ${buffer:-50} $ZNC_CONFIG + echo KeepBuffer = false $ZNC_CONFIG + echo ChanModes = ${chanmodes:-+stn} $ZNC_CONFIG + [ -z $quitmsg ] || echo QuitMsg = $quitmsg $ZNC_CONFIG + + config_list_foreach $user server add_param \Server\ + config_list_foreach $user module add_param \ LoadModule\ + echo /User $ZNC_CONFIG +} + +
Re: [OpenWrt-Devel] [PATCH 2/3] ZNC: Package modules.
Committed revision 23626. On Sat, Oct 23, 2010 at 6:32 PM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: Create packages for all modules except webadmin, since it doesn't compile. The extra modules are ignored for now. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.comjonas.gorski%2bopen...@gmail.com --- net/znc/Makefile | 526 +- 1 files changed, 524 insertions(+), 2 deletions(-) diff --git a/net/znc/Makefile b/net/znc/Makefile index e7b7243..08364d4 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -19,21 +19,351 @@ PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk -define Package/znc +define Package/znc/default SUBMENU:=Instant Messaging SECTION:=net CATEGORY:=Network - DEPENDS:=+libopenssl +uclibcxx TITLE:=ZNC URL:=http://en.znc.in/ endef +define Package/znc + $(Package/znc/default) + DEPENDS:=+libopenssl +uclibcxx + MENU:=1 +endef + define Package/znc/description ZNC is an IRC bouncer with many advanced features like detaching, multiple users, per channel playback buffer, SSL, IPv6, transparent DCC bouncing, and c++ module support to name a few. endef +define Package/znc-mod-admin + $(Package/znc/default) + TITLE+= (admin plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-admin/description + Allows you to add/remove/edit users and settings on the fly via IRC messages. +endef + +define Package/znc-mod-adminlog + $(Package/znc/default) + TITLE+= (adminlog plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-adminlog/description + Log user connects and disconnects and failed logins to file or syslog. +endef + +define Package/znc-mod-autoattach + $(Package/znc/default) + TITLE+= (autoattach plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoattach/description + Reattaches you to channels on activity. +endef + + +define Package/znc-mod-autocycle + $(Package/znc/default) + TITLE+= (autocycle plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autocycle/description + Cycles a channel when you are the only one in there and you don't have op. +endef + +define Package/znc-mod-autoop + $(Package/znc/default) + TITLE+= (autoop plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoop/description + Auto op the good guys. +endef + +define Package/znc-mod-autoreply + $(Package/znc/default) + TITLE+= (autoreply plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoreply/description + Gives a automatic reply if someone messages you if you are away. +endef + +define Package/znc-mod-away + $(Package/znc/default) + TITLE+= (away plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-away/description + Stores messages while away, also auto away. +endef + +define Package/znc-mod-awaynick + $(Package/znc/default) + TITLE+= (awaynick plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-awaynick/description + Change your nick while you are away. +endef + +define Package/znc-mod-blockuser + $(Package/znc/default) + TITLE+= (blockuser plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-blockuser/description + Blocks certain users from using ZNC saying their account was disabled. +endef + +define Package/znc-mod-buffextras + $(Package/znc/default) + TITLE+= (buffextras plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-buffextras/description + Add nick changes, joins, parts, topic changes etc. to your playback buffer. +endef + +define Package/znc-mod-certauth + $(Package/znc/default) + TITLE+= (certauth plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-certauth/description + This module allows users to log in via SSL client keys. +endef + +define Package/znc-mod-chansaver + $(Package/znc/default) + TITLE+= (chansaver plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-chansaver/description + Keeping config up to date when user joins and parts. +endef + +define Package/znc-mod-clientnotify + $(Package/znc/default) + TITLE+= (clientnotify plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-clientnotify/description + Notify about new incoming connections to your user. +endef + +define Package/znc-mod-crypt + $(Package/znc/default) + TITLE+= (crypt plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-crypt/description + Encryption for channel/private messages. +endef + +define Package/znc-mod-disconkick + $(Package/znc/default) + TITLE+= (disconkick plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-disconkick/description + This module will kick your client from all channels where you are, in case if ZNC disconnects from server. +endef + +define Package/znc-mod-fail2ban + $(Package/znc/default) + TITLE+= (fail2ban plugin) + DEPENDS:=znc +endef + +define
Re: [OpenWrt-Devel] [PATCH 2/3] ZNC: Package modules.
Committed revision 23627 - Reverts Commit 23626 - Needs fixing On Sun, Oct 24, 2010 at 9:11 PM, Outback Dingo outbackdi...@gmail.comwrote: Committed revision 23626. On Sat, Oct 23, 2010 at 6:32 PM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: Create packages for all modules except webadmin, since it doesn't compile. The extra modules are ignored for now. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.comjonas.gorski%2bopen...@gmail.com --- net/znc/Makefile | 526 +- 1 files changed, 524 insertions(+), 2 deletions(-) diff --git a/net/znc/Makefile b/net/znc/Makefile index e7b7243..08364d4 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -19,21 +19,351 @@ PKG_BUILD_PARALLEL:=1 include $(INCLUDE_DIR)/package.mk -define Package/znc +define Package/znc/default SUBMENU:=Instant Messaging SECTION:=net CATEGORY:=Network - DEPENDS:=+libopenssl +uclibcxx TITLE:=ZNC URL:=http://en.znc.in/ endef +define Package/znc + $(Package/znc/default) + DEPENDS:=+libopenssl +uclibcxx + MENU:=1 +endef + define Package/znc/description ZNC is an IRC bouncer with many advanced features like detaching, multiple users, per channel playback buffer, SSL, IPv6, transparent DCC bouncing, and c++ module support to name a few. endef +define Package/znc-mod-admin + $(Package/znc/default) + TITLE+= (admin plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-admin/description + Allows you to add/remove/edit users and settings on the fly via IRC messages. +endef + +define Package/znc-mod-adminlog + $(Package/znc/default) + TITLE+= (adminlog plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-adminlog/description + Log user connects and disconnects and failed logins to file or syslog. +endef + +define Package/znc-mod-autoattach + $(Package/znc/default) + TITLE+= (autoattach plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoattach/description + Reattaches you to channels on activity. +endef + + +define Package/znc-mod-autocycle + $(Package/znc/default) + TITLE+= (autocycle plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autocycle/description + Cycles a channel when you are the only one in there and you don't have op. +endef + +define Package/znc-mod-autoop + $(Package/znc/default) + TITLE+= (autoop plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoop/description + Auto op the good guys. +endef + +define Package/znc-mod-autoreply + $(Package/znc/default) + TITLE+= (autoreply plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-autoreply/description + Gives a automatic reply if someone messages you if you are away. +endef + +define Package/znc-mod-away + $(Package/znc/default) + TITLE+= (away plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-away/description + Stores messages while away, also auto away. +endef + +define Package/znc-mod-awaynick + $(Package/znc/default) + TITLE+= (awaynick plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-awaynick/description + Change your nick while you are away. +endef + +define Package/znc-mod-blockuser + $(Package/znc/default) + TITLE+= (blockuser plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-blockuser/description + Blocks certain users from using ZNC saying their account was disabled. +endef + +define Package/znc-mod-buffextras + $(Package/znc/default) + TITLE+= (buffextras plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-buffextras/description + Add nick changes, joins, parts, topic changes etc. to your playback buffer. +endef + +define Package/znc-mod-certauth + $(Package/znc/default) + TITLE+= (certauth plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-certauth/description + This module allows users to log in via SSL client keys. +endef + +define Package/znc-mod-chansaver + $(Package/znc/default) + TITLE+= (chansaver plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-chansaver/description + Keeping config up to date when user joins and parts. +endef + +define Package/znc-mod-clientnotify + $(Package/znc/default) + TITLE+= (clientnotify plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-clientnotify/description + Notify about new incoming connections to your user. +endef + +define Package/znc-mod-crypt + $(Package/znc/default) + TITLE+= (crypt plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-crypt/description + Encryption for channel/private messages. +endef + +define Package/znc-mod-disconkick + $(Package/znc/default) + TITLE+= (disconkick plugin) + DEPENDS:=znc +endef + +define Package/znc-mod-disconkick/description + This module will kick your client from all channels where you are, in case if ZNC disconnects from server
Re: [OpenWrt-Devel] [PATCH 3/3] ZNC: Add startup script and uci config.
Committed revision 23627 - Reverts Commit 23626 - Needs fixing On Sun, Oct 24, 2010 at 9:11 PM, Outback Dingo outbackdi...@gmail.comwrote: Committed revision 23626. On Sat, Oct 23, 2010 at 6:32 PM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: Add a startup and a uci configuration for ZNC. This allows configuring multiple users, loading modules with parameters (global and per user) and starts the ZNC binary as nobody. The latter requires su, so add this as a dependecy. Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.comjonas.gorski%2bopen...@gmail.com --- net/znc/Makefile | 10 +- net/znc/files/znc.conf | 13 +++ net/znc/files/znc.init | 92 3 files changed, 114 insertions(+), 1 deletions(-) create mode 100644 net/znc/files/znc.conf create mode 100644 net/znc/files/znc.init diff --git a/net/znc/Makefile b/net/znc/Makefile index 08364d4..1eaf795 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -29,7 +29,7 @@ endef define Package/znc $(Package/znc/default) - DEPENDS:=+libopenssl +uclibcxx + DEPENDS:=+libopenssl +uclibcxx +coreutils-su MENU:=1 endef @@ -39,6 +39,10 @@ define Package/znc/description bouncing, and c++ module support to name a few. endef +define Package/znc/conffiles +/etc/config/znc +endef + define Package/znc-mod-admin $(Package/znc/default) TITLE+= (admin plugin) @@ -388,6 +392,10 @@ endef define Package/znc/install $(INSTALL_DIR) $(1)/usr/bin $(INSTALL_BIN) $(PKG_BUILD_DIR)/znc $(1)/usr/bin/ + $(INSTALL_DIR) $(1)/etc/init.d + $(INSTALL_BIN) ./files/znc.init $(1)/etc/init.d/znc + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_DATA) ./files/znc.conf $(1)/etc/config/znc endef define Package/znc-mod-admin/install diff --git a/net/znc/files/znc.conf b/net/znc/files/znc.conf new file mode 100644 index 000..ba3f069 --- /dev/null +++ b/net/znc/files/znc.conf @@ -0,0 +1,13 @@ +config znc + # where to listen for connections + list listener '192.168.1.1 1234' + +config user 'sampleUser' + option password 'changeme' + option nick 'sampleUser' + option altnick 'userSample' + option ident'openwrt' + option realname 'John Doe' + + # list of allowed servers + list server 'chat.freenode.net 6667' diff --git a/net/znc/files/znc.init b/net/znc/files/znc.init new file mode 100644 index 000..6e56efd --- /dev/null +++ b/net/znc/files/znc.init @@ -0,0 +1,92 @@ +#!/bin/sh /etc/rc.common +# Copyright (C) 2010 Openwrt.org + +START=60 + +PID_FILE=/tmp/etc/znc/znc.pid +ZNC_CONFIG=/tmp/etc/znc/configs/znc.conf + +add_param() { + echo $1 = $2 $ZNC_CONFIG +} + +znc_global() { + local znc=$1 + local anoniplimit + local maxbuffersize + local connectdelay + local serverthrottle + + + config_get anoniplimit $znc anoniplimit + config_get maxbuffersize $znc maxbuffersize + config_get connectdelay $znc connectdelay + config_get serverthrottle $znc serverthrottle + + [ -z $anoniplimit ] || echo AnonIPLimit = $anoniplimit $ZNC_CONFIG + [ -z $maxbuffersize ] || echo MaxBufferSize = $maxbuffersize $ZNC_CONFIG + [ -z $connectdelay ] || echo ConnectDelay = $connectdelay $ZNC_CONFIG + [ -z $serverthrottle ] || echo ServerThrottle = $anoniplimit $ZNC_CONFIG + + echo PidFile = $PID_FILE $ZNC_CONFIG + + config_list_foreach $znc listener add_param Listener + config_list_foreach $znc module add_param LoadModule +} + +add_user() { + local user=$1 + local password + local nick + local altnick + local ident + local realname + local buffer + local quitmsg + local chanmodes + local vhost + + config_get password $user password + config_get nick $user nick + config_get altnick $user altnick + config_get ident $user ident + config_get realname $user realname + config_get buffer $user buffer + config_get quitmsg $user quitmsg + config_get chanmodes $user chanmodes + config_get vhost $user vhost + + echo User $user $ZNC_CONFIG + echo Pass = plain#$password $ZNC_CONFIG + echo Nick = $nick $ZNC_CONFIG + echo AltNick = ${altnick:-$nick_} $ZNC_CONFIG + echo Ident = ${ident:-$nick} $ZNC_CONFIG + echo RealName = ${realname:-$nick} $ZNC_CONFIG + [ -z $vhost ] || echoVHost = $vhost $ZNC_CONFIG + echo Buffer = ${buffer:-50} $ZNC_CONFIG + echo KeepBuffer = false $ZNC_CONFIG + echo ChanModes = ${chanmodes:-+stn} $ZNC_CONFIG + [ -z $quitmsg ] || echo QuitMsg = $quitmsg $ZNC_CONFIG + + config_list_foreach $user server
Re: [OpenWrt-Devel] [PATCH 1/3] ZNC: upate to 0.094.
Committed revision 23627 - Reverts Commit 23626 - Needs fixing On Sun, Oct 24, 2010 at 9:11 PM, Outback Dingo outbackdi...@gmail.comwrote: Committed revision 23626. On Sat, Oct 23, 2010 at 6:32 PM, Jonas Gorski jonas.gorski+open...@gmail.com jonas.gorski%2bopen...@gmail.com wrote: Update ZNC to the newest version. Building modules cannot be disabled anymore, so just remove the only one that doesn't build (webadmin). Signed-off-by: Jonas Gorski jonas.gorski+open...@gmail.comjonas.gorski%2bopen...@gmail.com --- net/znc/Makefile |9 + 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/net/znc/Makefile b/net/znc/Makefile index 44b4a84..e7b7243 100644 --- a/net/znc/Makefile +++ b/net/znc/Makefile @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=znc -PKG_VERSION:=0.078 -PKG_RELEASE:=2 +PKG_VERSION:=0.094 +PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=...@sf/znc -PKG_MD5SUM:=b1379bd6609353ebbc8df7ec19bd004f +PKG_MD5SUM:=db101f7a7756285d824b59e3b33e3ad5 PKG_BUILD_PARALLEL:=1 @@ -43,13 +43,14 @@ CONFIGURE_VARS += \ CONFIGURE_ARGS += \ --disable-c-ares \ - --disable-modules \ --disable-perl MAKE_FLAGS += \ CXX=$(STAGING_DIR)/host/bin/g++-uc define Build/Configure + # webadmin doesn't compile + $(RM) $(PKG_BUILD_DIR)/modules/webadmin.cpp $(call Build/Configure/Default,) $(call libtool_disable_rpath) endef -- 1.5.6.5 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] new package: dudders
Committed revision 22754. On Sat, Aug 21, 2010 at 7:52 AM, Dean Scarff d...@scarff.id.au wrote: dudders needs to be started after time synchronisation, because if the time is not correct then the DNS update fails. rdate has priority 40: /etc/hotplug.d/iface/40-rdate As reported by Peter Holik. --- net/dudders/Makefile |4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/net/dudders/Makefile b/net/dudders/Makefile index 30dae21..15ebe51 100644 --- a/net/dudders/Makefile +++ b/net/dudders/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=dudders PKG_VERSION:=1.04 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 PKG_SOURCE_URL:=...@sf/$(PKG_NAME) @@ -60,7 +60,7 @@ define Package/dudders/install $(INSTALL_DIR) $(1)/etc/config $(INSTALL_CONF) ./files/dudders.conf $(1)/etc/config/dudders $(INSTALL_DIR) $(1)/etc/hotplug.d/iface - $(INSTALL_BIN) ./files/dudders.hotplug $(1)/etc/hotplug.d/iface/30-dudders + $(INSTALL_BIN) ./files/dudders.hotplug $(1)/etc/hotplug.d/iface/50-dudders endef $(eval $(call BuildPackage,dudders)) -- 1.7.2.1 On 18 Aug 2010, at 20:41 , Outback Dingo wrote: Committed r22695 /packages/net/dudders/ (. Makefile files/ files/dudders.conf files/dudders.hotplug): -- Dean ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] OpenWRT packages for IBR-DTN / How to submit new makefiles for packages
Hi Johannes, You can send them to me, once i test and validate the functionality we can get them committed to packages feeds Thanks On Fri, Aug 20, 2010 at 10:07 AM, Johannes Morgenroth morge...@ibr.cs.tu-bs.de wrote: Hi there I am working on IBR-DTN [1], a delay tolerant networking [2] daemon. It is designed to run on OpenWRT and it would be very nice to see it in the public feed. The software consists of a daemon and some tools (ping, traceroute, etc.). Both packages require two libraries contributed separately. If have written Makefiles for these four packages and now I like to know where to send these files to put them into the official feed. Could anyone give me a clue? Thanks in advance! Best regards Johannes Morgenroth [1] http://www.ibr.cs.tu-bs.de/projects/ibr-dtn/ [2] http://www.dtnrg.org -- Johannes Morgenroth Institut fuer Betriebssysteme und Rechnerverbund Tel.: +49-531-391-3249 Muehlenpfordtstrasse 23 Fax.: +49-531-391-5936 TU Braunschweig D-38106 Braunschweig ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] new package: dudders
Committed r22695 /packages/net/dudders/ (. Makefile files/ files/dudders.conf files/dudders.hotplug): [Patchteam] New Package Dudders - a utility for updating DNS records Signed-off-by: Dean Scarff d...@scarff.id.au On Wed, Aug 18, 2010 at 7:25 AM, Dean Scarff d...@scarff.id.au wrote: Dudders is a utility for updating DNS records. It points a domain name to a given IP address, using the RFC2136 DNS UPDATE protocol and a SIG(0) signature. It is designed with embedded systems in mind. The hotplug script will be called automatically whenever an interface is brought up (at least by pppd). However, it will only run dudders when the UP'd interface appears to be the default route. The script uses environment variables expected to be set by OpenWRT's /package/ppp/files/etc/ppp/ip-up; it is also compatible with the original variables as set by pppd(8). The dudders section in the config file /etc/config/dudders has the following fields: enabled - dudders hotplug script only runs dudders if yes tcp - use TCP/IP to send the update message keyname - fully qualified name of private key's owner, or empty mname - override master server with domain name, or empty zone - override zone with domain name, or empty keyfile - dnssec-keygen private key filename hostname - fully qualified domain name to update ttl - time to live in seconds of updated A record for hostname This build of dudders is runtime linked against OpenSSL and libgcrypt. The dependencies of the ipkg have been relaxed so that neither of these packages will be required to install dudders (due to ipkg's limitations in specifying alternative dependencies). However, at least one must be installed for dudders to actually work. Signed-off-by: Dean Scarff d...@scarff.id.au --- net/dudders/Makefile | 63 + net/dudders/files/dudders.conf|7 net/dudders/files/dudders.hotplug | 46 +++ 3 files changed, 116 insertions(+), 0 deletions(-) create mode 100644 net/dudders/Makefile create mode 100644 net/dudders/files/dudders.conf create mode 100755 net/dudders/files/dudders.hotplug diff --git a/net/dudders/Makefile b/net/dudders/Makefile new file mode 100644 index 000..9cd2b41 --- /dev/null +++ b/net/dudders/Makefile @@ -0,0 +1,63 @@ +# $Id$ + +include $(TOPDIR)/rules.mk + +PKG_NAME:=dudders +PKG_VERSION:=1.04 +PKG_RELEASE:=1 + +PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION) +PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2 +PKG_SOURCE_URL:=...@sf/$(PKG_NAME) +PKG_SHA1SUM:=ae3fc90804698468c8f8e285c2387eb629c25dbf +PKG_CAT:=bzcat +PKG_BUILD_DEPENDS:=+libopenssl +libgcrypt +PKG_FIXUP:=libtool +PKG_INSTALL:=1 + +include $(INCLUDE_DIR)/package.mk + +define Package/dudders + SECTION:=net + CATEGORY:=Network + SUBMENU:=DNS + TITLE:=DNS Update SIG(0) client + MAINTAINER:=d...@scarff.id.au + DEPENDS:= + URL:=http://dudders.sourceforge.net/ +endef + +define Package/dudders/description + Dudders is a utility for updating DNS records. It points + a domain name to a given IP address, using the RFC2136 DNS + UPDATE protocol and a SIG(0) signature. It is designed with + embedded systems in mind. + + You must have either libopenssl or libgcrypt installed to + use this package. +endef + +define Package/dudders/conffiles +/etc/config/dudders +endef + +EXTRA_CFLAGS:= -DNDEBUG -std=gnu99 + +CONFIGURE_ARGS+= \ +--with-libgcrypt-prefix=$(STAGING_DIR)/usr + +define Package/dudders/install +$(INSTALL_DIR) $(1)/usr/bin + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/dudders $(1)/usr/bin + $(INSTALL_DIR) $(1)/usr/lib/dudders + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_gcrypt.so \ + $(1)/usr/lib/dudders + $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/lib/dudders/crypt_openssl.so \ + $(1)/usr/lib/dudders + $(INSTALL_DIR) $(1)/etc/config + $(INSTALL_CONF) ./files/dudders.conf $(1)/etc/config/dudders + $(INSTALL_DIR) $(1)/etc/hotplug.d/iface + $(INSTALL_BIN) ./files/dudders.hotplug $(1)/etc/hotplug.d/iface/30-dudders +endef + +$(eval $(call BuildPackage,dudders)) diff --git a/net/dudders/files/dudders.conf b/net/dudders/files/dudders.conf new file mode 100644 index 000..fb4c24a --- /dev/null +++ b/net/dudders/files/dudders.conf @@ -0,0 +1,7 @@ +config dudders +option enabled 'no' +option tcp 'yes' +option keyfile '/tmp/dudders.private' +option keyname 'owner.example.com' +option hostname 'test.example.com' + option ttl 86400 diff --git a/net/dudders/files/dudders.hotplug b/net/dudders/files/dudders.hotplug new file mode 100755 index 000..14dcf0c --- /dev/null +++ b/net/dudders/files/dudders.hotplug @@ -0,0 +1,46 @@ +#!/bin/sh + +. /etc/functions.sh +
Re: [OpenWrt-Devel] [PATCH] New wireless mesh network routing protocol
Commited SVN rev. 22627. dingo * r22627 /packages/net/wing/ (10 files in 6 dirs): [PATCHTEAM] - WING Wireless Mesh Routing Protocol Signed-off-by: Roberto Riggio roberto.rig...@create-net.org On Wed, Aug 11, 2010 at 5:55 AM, Roberto Riggio roberto.rig...@create-net.org wrote: Hi, this patch adds support for WING a new routing protocol for wireless mesh networks. WING is an extension of the Roofnet routing protocol developed by MIT. The new features are: support for multiple radio interfaces, and link quality based routing using the WCETT metric. The source code is hosted at github. Upon install, this package will create a new entry in the network section: config 'interface' 'mesh' option 'proto' 'wing' option 'profile' 'bulk' option 'rc' 'static' option 'ls' 'fcfs' option 'metric' 'wcett' option 'prefix' '6' option 'period' '36000' option 'tau' '36' option 'debug' 'true' The only mandatory field is proto. After running ifup mesh a new interface will be created. This interface is called wing-$(ifname) and uses multi-hopping. Here follows a short description for the other parameters: profile, profile to be used for building the configuration for the click router (at the moment only one profile is defined) rc, rate control algorithm (static, madwifi, autoratefallback) ls, outgoing link scheduling policy (fcfs, drr) metric, routing metric (etx, ett, wcett) period, tau, averaging period for network probes, smoothing window Signed-off-by: Roberto Riggio roberto.rig...@create-net.org -- Index: net/wing/files/lib/network/wing.sh === --- net/wing/files/lib/network/wing.sh (revision 0) +++ net/wing/files/lib/network/wing.sh (revision 0) @@ -0,0 +1,145 @@ + +scan_wing() { + config_set $1 device wing-$1 +} + +coldplug_interface_wing() { +setup_interface_wing wing-$1 $1 +} + +stop_interface_wing() { + local config=$1 + local iface=wing-$config + env -i ACTION=ifdown INTERFACE=$config DEVICE=$iface PROTO=wing /sbin/hotplug-call iface + [ -f /var/run/$iface.pid ] { + kill -9 $(cat /var/run/$iface.pid) + rm /var/run/$iface.pid + } +} + +setup_interface_wing() { + +local iface=$1 +local config=$2 + + local hwmodes= + local freqs= + local ifnames= + local hwaddrs= + + config_load wireless + config_foreach wing_list_interfaces wifi-iface + + # start click router + if [ $hwmodes = -o $freqs = -o $ifnames = -o $hwaddrs = ]; then + logger -t $config No raw interfaces available. Exiting. + exit 1 + fi + + local profile rc ls prefix debug + + config_get profile $config profile bulk + config_get rc $config rc static + config_get ls $config ls fcfs + config_get metric $config metric wcett + config_get prefix $config prefix 6 + config_get period $config period 1 + config_get tau $config tau 10 + config_get_bool debug $config debug False + + local hwaddr=$(echo $hwaddrs | sed 's/ .*//'); + local ipaddr=$(printf $prefix.%d.%d.%d $(echo $hwaddr | awk -F: '{printf 0x%s 0x%s 0x%s,$4,$5,$6}')) + local netmask=255.0.0.0 + + if ! wing_template_available profile $profile bulk; then + logger -t $config Unable to configure router. Exiting. + exit 1 + fi + + if ! wing_template_available rc $rc static; then + logger -t $config Unable to configure rate control. Exiting. + exit 1 + fi + + if ! wing_template_available ls $ls radiotap; then + logger -t $config Unable to configure link scheduler. Exiting. + exit 1 + fi + + if [ $profile = -o $rc = ]; then + logger -t $config Unable to generate template. Exiting. + exit 1 + fi + + [ $debug == 0 ] dbg= || dbg=-d + + /usr/bin/click_config -p $profile -r $rc -s $ls -l $metric \ + -m $hwmodes -c $freqs -n $ifnames -a $hwaddrs $dbg \ + | sed -e s/__XR_IFNAME__/$iface/g \ + | sed -e s/__XR_IP__/$ipaddr/g \ + | sed -e s/__XR_NM__/$netmask/g \ + | sed -e s/__XR_PERIOD__/$period/g \ + | sed -e s/__XR_TAU__/$tau/g /tmp/$iface.click + + /usr/bin/click-align /tmp/$iface.click /tmp/$iface-aligned.click 2/var/log/$iface.log + [ ! -c /dev/net/tun ] { + mkdir -p /dev/net/ + mknod /dev/net/tun c 10 200 + if [ ! -c /dev/net/tun ]; then + logger -t $config Device not available (/dev/net/tun). Exiting. + exit 1 + fi + } + + # creating the tun
Re: [OpenWrt-Devel] [PATCH-TEAM] New wireless mesh network routing protocol
Ill get this commited On Wed, Aug 11, 2010 at 5:55 AM, Roberto Riggio roberto.rig...@create-net.org wrote: Hi, this patch adds support for WING a new routing protocol for wireless mesh networks. WING is an extension of the Roofnet routing protocol developed by MIT. The new features are: support for multiple radio interfaces, and link quality based routing using the WCETT metric. The source code is hosted at github. Upon install, this package will create a new entry in the network section: config 'interface' 'mesh' option 'proto' 'wing' option 'profile' 'bulk' option 'rc' 'static' option 'ls' 'fcfs' option 'metric' 'wcett' option 'prefix' '6' option 'period' '36000' option 'tau' '36' option 'debug' 'true' The only mandatory field is proto. After running ifup mesh a new interface will be created. This interface is called wing-$(ifname) and uses multi-hopping. Here follows a short description for the other parameters: profile, profile to be used for building the configuration for the click router (at the moment only one profile is defined) rc, rate control algorithm (static, madwifi, autoratefallback) ls, outgoing link scheduling policy (fcfs, drr) metric, routing metric (etx, ett, wcett) period, tau, averaging period for network probes, smoothing window Signed-off-by: Roberto Riggio roberto.rig...@create-net.org -- Index: net/wing/files/lib/network/wing.sh === --- net/wing/files/lib/network/wing.sh (revision 0) +++ net/wing/files/lib/network/wing.sh (revision 0) @@ -0,0 +1,145 @@ + +scan_wing() { + config_set $1 device wing-$1 +} + +coldplug_interface_wing() { +setup_interface_wing wing-$1 $1 +} + +stop_interface_wing() { + local config=$1 + local iface=wing-$config + env -i ACTION=ifdown INTERFACE=$config DEVICE=$iface PROTO=wing /sbin/hotplug-call iface + [ -f /var/run/$iface.pid ] { + kill -9 $(cat /var/run/$iface.pid) + rm /var/run/$iface.pid + } +} + +setup_interface_wing() { + +local iface=$1 +local config=$2 + + local hwmodes= + local freqs= + local ifnames= + local hwaddrs= + + config_load wireless + config_foreach wing_list_interfaces wifi-iface + + # start click router + if [ $hwmodes = -o $freqs = -o $ifnames = -o $hwaddrs = ]; then + logger -t $config No raw interfaces available. Exiting. + exit 1 + fi + + local profile rc ls prefix debug + + config_get profile $config profile bulk + config_get rc $config rc static + config_get ls $config ls fcfs + config_get metric $config metric wcett + config_get prefix $config prefix 6 + config_get period $config period 1 + config_get tau $config tau 10 + config_get_bool debug $config debug False + + local hwaddr=$(echo $hwaddrs | sed 's/ .*//'); + local ipaddr=$(printf $prefix.%d.%d.%d $(echo $hwaddr | awk -F: '{printf 0x%s 0x%s 0x%s,$4,$5,$6}')) + local netmask=255.0.0.0 + + if ! wing_template_available profile $profile bulk; then + logger -t $config Unable to configure router. Exiting. + exit 1 + fi + + if ! wing_template_available rc $rc static; then + logger -t $config Unable to configure rate control. Exiting. + exit 1 + fi + + if ! wing_template_available ls $ls radiotap; then + logger -t $config Unable to configure link scheduler. Exiting. + exit 1 + fi + + if [ $profile = -o $rc = ]; then + logger -t $config Unable to generate template. Exiting. + exit 1 + fi + + [ $debug == 0 ] dbg= || dbg=-d + + /usr/bin/click_config -p $profile -r $rc -s $ls -l $metric \ + -m $hwmodes -c $freqs -n $ifnames -a $hwaddrs $dbg \ + | sed -e s/__XR_IFNAME__/$iface/g \ + | sed -e s/__XR_IP__/$ipaddr/g \ + | sed -e s/__XR_NM__/$netmask/g \ + | sed -e s/__XR_PERIOD__/$period/g \ + | sed -e s/__XR_TAU__/$tau/g /tmp/$iface.click + + /usr/bin/click-align /tmp/$iface.click /tmp/$iface-aligned.click 2/var/log/$iface.log + [ ! -c /dev/net/tun ] { + mkdir -p /dev/net/ + mknod /dev/net/tun c 10 200 + if [ ! -c /dev/net/tun ]; then + logger -t $config Device not available (/dev/net/tun). Exiting. + exit 1 + fi + } + + # creating the tun interface below will trigger a net subsystem event + # prevent it from touching iface by disabling .auto here + uci_set_state network $config auto 0 + +
Re: [OpenWrt-Devel] [PATCH] New wireless mesh network routing protocol
I believe it is part of this project https://www.ict-smartnet.eu/ On Wed, Aug 11, 2010 at 7:37 AM, L. Aaron Kaplan aa...@lo-res.org wrote: is there any docu on WING? On Aug 11, 2010, at 11:55 AM, Roberto Riggio wrote: Hi, this patch adds support for WING a new routing protocol for wireless mesh networks. WING is an extension of the Roofnet routing protocol developed by MIT. The new features are: support for multiple radio interfaces, and link quality based routing using the WCETT metric. The source code is hosted at github. Upon install, this package will create a new entry in the network section: config 'interface' 'mesh' option 'proto' 'wing' option 'profile' 'bulk' option 'rc' 'static' option 'ls' 'fcfs' option 'metric' 'wcett' option 'prefix' '6' option 'period' '36000' option 'tau' '36' option 'debug' 'true' The only mandatory field is proto. After running ifup mesh a new interface will be created. This interface is called wing-$(ifname) and uses multi-hopping. Here follows a short description for the other parameters: profile, profile to be used for building the configuration for the click router (at the moment only one profile is defined) rc, rate control algorithm (static, madwifi, autoratefallback) ls, outgoing link scheduling policy (fcfs, drr) metric, routing metric (etx, ett, wcett) period, tau, averaging period for network probes, smoothing window Signed-off-by: Roberto Riggio roberto.rig...@create-net.org -- Index: net/wing/files/lib/network/wing.sh === --- net/wing/files/lib/network/wing.sh(revision 0) +++ net/wing/files/lib/network/wing.sh(revision 0) @@ -0,0 +1,145 @@ + +scan_wing() { + config_set $1 device wing-$1 +} + +coldplug_interface_wing() { +setup_interface_wing wing-$1 $1 +} + +stop_interface_wing() { + local config=$1 + local iface=wing-$config + env -i ACTION=ifdown INTERFACE=$config DEVICE=$iface PROTO=wing /sbin/hotplug-call iface + [ -f /var/run/$iface.pid ] { + kill -9 $(cat /var/run/$iface.pid) + rm /var/run/$iface.pid + } +} + +setup_interface_wing() { + +local iface=$1 +local config=$2 + + local hwmodes= + local freqs= + local ifnames= + local hwaddrs= + + config_load wireless + config_foreach wing_list_interfaces wifi-iface + + # start click router + if [ $hwmodes = -o $freqs = -o $ifnames = -o $hwaddrs = ]; then + logger -t $config No raw interfaces available. Exiting. + exit 1 + fi + + local profile rc ls prefix debug + + config_get profile $config profile bulk + config_get rc $config rc static + config_get ls $config ls fcfs + config_get metric $config metric wcett + config_get prefix $config prefix 6 + config_get period $config period 1 + config_get tau $config tau 10 + config_get_bool debug $config debug False + + local hwaddr=$(echo $hwaddrs | sed 's/ .*//'); + local ipaddr=$(printf $prefix.%d.%d.%d $(echo $hwaddr | awk -F: '{printf 0x%s 0x%s 0x%s,$4,$5,$6}')) + local netmask=255.0.0.0 + + if ! wing_template_available profile $profile bulk; then + logger -t $config Unable to configure router. Exiting. + exit 1 + fi + + if ! wing_template_available rc $rc static; then + logger -t $config Unable to configure rate control. Exiting. + exit 1 + fi + + if ! wing_template_available ls $ls radiotap; then + logger -t $config Unable to configure link scheduler. Exiting. + exit 1 + fi + + if [ $profile = -o $rc = ]; then + logger -t $config Unable to generate template. Exiting. + exit 1 + fi + + [ $debug == 0 ] dbg= || dbg=-d + + /usr/bin/click_config -p $profile -r $rc -s $ls -l $metric \ + -m $hwmodes -c $freqs -n $ifnames -a $hwaddrs $dbg \ + | sed -e s/__XR_IFNAME__/$iface/g \ + | sed -e s/__XR_IP__/$ipaddr/g \ + | sed -e s/__XR_NM__/$netmask/g \ + | sed -e s/__XR_PERIOD__/$period/g \ + | sed -e s/__XR_TAU__/$tau/g /tmp/$iface.click + + /usr/bin/click-align /tmp/$iface.click /tmp/$iface-aligned.click 2/var/log/$iface.log + [ ! -c /dev/net/tun ] { + mkdir -p /dev/net/ + mknod /dev/net/tun c 10 200 + if [ ! -c /dev/net/tun ]; then + logger -t $config Device not available (/dev/net/tun). Exiting. + exit 1 + fi + } + + # creating the tun interface below will trigger a
Re: [OpenWrt-Devel] [PATCH] New wireless mesh network routing protocol
which then links to http://www.wing-project.org/ On Wed, Aug 11, 2010 at 7:37 AM, L. Aaron Kaplan aa...@lo-res.org wrote: is there any docu on WING? On Aug 11, 2010, at 11:55 AM, Roberto Riggio wrote: Hi, this patch adds support for WING a new routing protocol for wireless mesh networks. WING is an extension of the Roofnet routing protocol developed by MIT. The new features are: support for multiple radio interfaces, and link quality based routing using the WCETT metric. The source code is hosted at github. Upon install, this package will create a new entry in the network section: config 'interface' 'mesh' option 'proto' 'wing' option 'profile' 'bulk' option 'rc' 'static' option 'ls' 'fcfs' option 'metric' 'wcett' option 'prefix' '6' option 'period' '36000' option 'tau' '36' option 'debug' 'true' The only mandatory field is proto. After running ifup mesh a new interface will be created. This interface is called wing-$(ifname) and uses multi-hopping. Here follows a short description for the other parameters: profile, profile to be used for building the configuration for the click router (at the moment only one profile is defined) rc, rate control algorithm (static, madwifi, autoratefallback) ls, outgoing link scheduling policy (fcfs, drr) metric, routing metric (etx, ett, wcett) period, tau, averaging period for network probes, smoothing window Signed-off-by: Roberto Riggio roberto.rig...@create-net.org -- Index: net/wing/files/lib/network/wing.sh === --- net/wing/files/lib/network/wing.sh(revision 0) +++ net/wing/files/lib/network/wing.sh(revision 0) @@ -0,0 +1,145 @@ + +scan_wing() { + config_set $1 device wing-$1 +} + +coldplug_interface_wing() { +setup_interface_wing wing-$1 $1 +} + +stop_interface_wing() { + local config=$1 + local iface=wing-$config + env -i ACTION=ifdown INTERFACE=$config DEVICE=$iface PROTO=wing /sbin/hotplug-call iface + [ -f /var/run/$iface.pid ] { + kill -9 $(cat /var/run/$iface.pid) + rm /var/run/$iface.pid + } +} + +setup_interface_wing() { + +local iface=$1 +local config=$2 + + local hwmodes= + local freqs= + local ifnames= + local hwaddrs= + + config_load wireless + config_foreach wing_list_interfaces wifi-iface + + # start click router + if [ $hwmodes = -o $freqs = -o $ifnames = -o $hwaddrs = ]; then + logger -t $config No raw interfaces available. Exiting. + exit 1 + fi + + local profile rc ls prefix debug + + config_get profile $config profile bulk + config_get rc $config rc static + config_get ls $config ls fcfs + config_get metric $config metric wcett + config_get prefix $config prefix 6 + config_get period $config period 1 + config_get tau $config tau 10 + config_get_bool debug $config debug False + + local hwaddr=$(echo $hwaddrs | sed 's/ .*//'); + local ipaddr=$(printf $prefix.%d.%d.%d $(echo $hwaddr | awk -F: '{printf 0x%s 0x%s 0x%s,$4,$5,$6}')) + local netmask=255.0.0.0 + + if ! wing_template_available profile $profile bulk; then + logger -t $config Unable to configure router. Exiting. + exit 1 + fi + + if ! wing_template_available rc $rc static; then + logger -t $config Unable to configure rate control. Exiting. + exit 1 + fi + + if ! wing_template_available ls $ls radiotap; then + logger -t $config Unable to configure link scheduler. Exiting. + exit 1 + fi + + if [ $profile = -o $rc = ]; then + logger -t $config Unable to generate template. Exiting. + exit 1 + fi + + [ $debug == 0 ] dbg= || dbg=-d + + /usr/bin/click_config -p $profile -r $rc -s $ls -l $metric \ + -m $hwmodes -c $freqs -n $ifnames -a $hwaddrs $dbg \ + | sed -e s/__XR_IFNAME__/$iface/g \ + | sed -e s/__XR_IP__/$ipaddr/g \ + | sed -e s/__XR_NM__/$netmask/g \ + | sed -e s/__XR_PERIOD__/$period/g \ + | sed -e s/__XR_TAU__/$tau/g /tmp/$iface.click + + /usr/bin/click-align /tmp/$iface.click /tmp/$iface-aligned.click 2/var/log/$iface.log + [ ! -c /dev/net/tun ] { + mkdir -p /dev/net/ + mknod /dev/net/tun c 10 200 + if [ ! -c /dev/net/tun ]; then + logger -t $config Device not available (/dev/net/tun). Exiting. + exit 1 + fi + } + + # creating the tun interface below will trigger a net subsystem
Re: [OpenWrt-Devel] Fwd: [PATCH] Upgrade OpenVPN to version 2.1.1
Committed revision 20160 On Fri, Mar 12, 2010 at 9:18 AM, Mark Kelly mekel...@gmail.com wrote: This upgrades the OpenVPN package from 2.1.0 to 2.1.1 Signed-off-by: Mark Kelly mekelly5 .at. gmail .dot. com Index: packages/net/openvpn/Makefile === --- packages/net/openvpn/Makefile (revision 20156) +++ packages/net/openvpn/Makefile (working copy) @@ -8,12 +8,12 @@ include $(TOPDIR)/rules.mk PKG_NAME:=openvpn -PKG_VERSION:=2.1.0 +PKG_VERSION:=2.1.1 PKG_RELEASE:=1 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE_URL:=http://openvpn.net/release @SF/openvpn -PKG_MD5SUM:=452a83326ae198cf961e9ae02539c8fb +PKG_MD5SUM:=b273ed2b5ec8616fb9834cde8634bce7 PKG_INSTALL:=1 ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel
Re: [OpenWrt-Devel] [PATCH] twisted fix for installing zope
Committed revision 20169. dingo On Fri, Mar 12, 2010 at 4:20 PM, AlexanderS alexan...@sulfrian.net wrote: Hi, I figured out, that the zope-interfaces twisted module do not install correctly. Attached a patch to copy the needed files to install correctly. Alex ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/mailman/listinfo/openwrt-devel