Re: [OpenWrt-Devel] Retaining WAN IP addresses across reboots

2011-04-11 Thread Stefan Monnier
> I note that the file /tmp/state/network contains the interface, ip address, > and expiration time of the WAN DHCP lease... I'm wondering what's > involved in writing that information into somewhere persistent where it > can be reused on reboot? You may want to start by replacing the /var symlin

Re: [OpenWrt-Devel] save space when installing pciutils and usbutils v1

2011-04-11 Thread Peter Wagner
smaller version - use realtive path instead of absolute path Am Montag, 11. April 2011, 19:24:25 schrieb Peter Wagner: > hi, > > i created an image with usbutils and pciutils enalbed - both packages fetch > in postinst a new pci.ids.gz, usb.ids.gz file both ~150kb in size this > blows up the image

Re: [OpenWrt-Devel] [RFC 1/4] mac80211: b43: Add Firmware 5.10.56.27

2011-04-11 Thread Rafał Miłecki
W dniu 11 kwietnia 2011 00:32 użytkownik Jonas Gorski napisał: > 2011/4/10 Rafał Miłecki : >> Versioning of firmware is a little tricky, because version of included >> firmware does not match version of driver. This way there is not such >> think as firmware 4.150.10.5. If you want to be strict ab

[OpenWrt-Devel] [PATCH] ar71xx: Add support for WZR-HP-G301NH

2011-04-11 Thread Jonas Gorski
Add support for the Buffalo WZR-HP-G301NH. The only difference between it and the WZR-HP-G00NH is that it has a RTL8366RB instead of a RTL8366S. Since we don't do runtime detection of the switch, we need a separate machine definition for it. While we are at it, also rename the profile to reflect t

Re: [OpenWrt-Devel] Debugging OpenWRT ELF image with GDB on host system

2011-04-11 Thread Sławomir Cygan
Hi, > We are unable to debug the OpenWRT image through GDB from a host > system. When we try to debug, we are seeing the following error > messages on the GDB screen. We are running the GDB from Cygwin on a > Windows XP system. Please use cross-compiled version of gdb - the one build by OpenWRT.

Re: [OpenWrt-Devel] save space when installing pciutils and usbutils v1

2011-04-11 Thread Peter Wagner
smaller version - use realtive path instead of absolute path Am Montag, 11. April 2011, 19:24:25 schrieb Peter Wagner: > hi, > > i created an image with usbutils and pciutils enalbed - both packages fetch > in postinst a new pci.ids.gz, usb.ids.gz file both ~150kb in size this > blows up the image

Re: [OpenWrt-Devel] save space when installing pciutils and usbutils v1

2011-04-11 Thread Peter Wagner
smaller version - use realtive path instead of absolute path Am Montag, 11. April 2011, 19:24:25 schrieb Peter Wagner: > hi, > > i created an image with usbutils and pciutils enalbed - both packages fetch > in postinst a new pci.ids.gz, usb.ids.gz file both ~150kb in size this > blows up the image

[OpenWrt-Devel] save space when installing pciutils and usbutils

2011-04-11 Thread Peter Wagner
hi, i created an image with usbutils and pciutils enalbed - both packages fetch in postinst a new pci.ids.gz, usb.ids.gz file both ~150kb in size this blows up the image about 300kb ... because this files are allready compressed so squashfs won't save much space ... this patch still calls the

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-04-11 Thread David Goodenough
On Monday 11 April 2011, Peter Lebbing wrote: > On 11/04/11 11:08, Yeoh Chun Yeow wrote: > > However, even the board is up without Ethernet cable connecting to the > > LAN port 1 or port 0, the message "eth1: link up (100Mbps/Full duplex) > > is already printed there. > > Yeah, it's still not comp

[OpenWrt-Devel] Debugging OpenWRT ELF image with GDB on host system

2011-04-11 Thread Madhavi Manchala
Dear All, We are unable to debug the OpenWRT image through GDB from a host system. When we try to debug, we are seeing the following error messages on the GDB screen. We are running the GDB from Cygwin on a Windows XP system. No symbol table is loaded. Use the "file" command. Make breakpoint pend

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-04-11 Thread Peter Lebbing
On 11/04/11 11:08, Yeoh Chun Yeow wrote: > However, even the board is up without Ethernet cable connecting to the LAN > port 1 or port 0, the message "eth1: link up (100Mbps/Full duplex) is > already printed there. Yeah, it's still not completely clear to me how these ports are all connected. If

Re: [OpenWrt-Devel] [PATCH] add rlm_sql_sqlite and rlm_passwd to freeradius2

2011-04-11 Thread Maciej Urbański
Sorry, I'm browsing through old openwrt emails, didn't see your second mail right away. Best regards, Maciej Urbanski On 11.04.2011 12:59, Etienne Champetier wrote: Hello I know now (it was my first "patch" ...). The link that you gave is a patch from me to (a real patch this time) Best rega

Re: [OpenWrt-Devel] [PATCH] add rlm_sql_sqlite and rlm_passwd to freeradius2

2011-04-11 Thread Etienne Champetier
Hello I know now (it was my first "patch" ...). The link that you gave is a patch from me to (a real patch this time) Best regards, Etienne Champetier Le 11/04/2011 12:47, Maciej Urbański a écrit : > Just in case you missed it https://dev.openwrt.org/changeset/26342 . > Also it is preferred to p

Re: [OpenWrt-Devel] [PATCH] cmus music player Makefile

2011-04-11 Thread Jonas Gorski
Hello Johannes, On 11 April 2011 12:27, Johannes Weißl wrote: > Another question regarding the Makefile: The current version depends on > libmad, libvorbisidec and libflac. Cmus supports many more input/output > plugins. What is the best way to handle that? > 1. Just depend on the most common one

Re: [OpenWrt-Devel] [PATCH] add rlm_sql_sqlite and rlm_passwd to freeradius2

2011-04-11 Thread Maciej Urbański
Just in case you missed it https://dev.openwrt.org/changeset/26342 . Also it is preferred to post diff instead the whole files, as it makes it that much easier to spot what did you actually add (and maybe got wrong). Cosmetic note: If modifying package, incrementing release number would be a g

[OpenWrt-Devel] [PATCH] cmus music player Makefile

2011-04-11 Thread Johannes Weißl
Hello list! I've created a Makefile for the cmus music player [1]. It compiles fine with current trunk and works well on my two routers (D-Link DIR-825 and Asus WL500g). Is it possible to get it included upstream so it can be installed via opkg? Another question regarding the Makefile: The curren

Re: [OpenWrt-Devel] 802.1Q VLAN support for Infineon ADM6996 switch chip for UBNT RouterStation

2011-04-11 Thread Yeoh Chun Yeow
Dear Jonas, After patching the patch, the messages ""Trying 100/FULL, Trying 10/HALF, Trying 10/HALF" disappear during startup. However, even the board is up without Ethernet cable connecting to the LAN port 1 or port 0, the message "eth1: link up (100Mbps/Full duplex) is already printed there. T

[OpenWrt-Devel] [PATCH] fix kmod-fs-btrfs deps / zlib_deflate / makefile

2011-04-11 Thread Bastian Bittorf
btrfs needs zlib_deflate, which was built but not included Signed-off-by: Bastian Bittorf >From cf929ddffe84d5ab6d6e33a5046f6af6e3bb37fc Mon Sep 17 00:00:00 2001 From: Bastian Bittorf Date: Mon, 11 Apr 2011 09:32:01 +0200 Subject: [PATCH] btrfs depends needs zlib_deflate, respect this in makefi