Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-19 Thread Jean-Michel Pouré - GOOZE
Le mercredi 19 août 2015 à 11:27 +0200, Jean-Michel Pouré - GOOZE a écrit : It is not possible, DHCPv6 doesn't carry routes. So you still need RAs even with ra_management set to 2. Please don't reply on the devel list. My messages are becoming messy and fill the list. Just use

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-19 Thread Jean-Michel Pouré - GOOZE
Le mardi 18 août 2015 à 18:30 +0200, Steven Barth a écrit : It is not possible, DHCPv6 doesn't carry routes. So you still need RAs even with ra_management set to 2. I spotted a problem with ra_management = 2 First configuration: stateful only configuration/sbin/route -A inet6 Table de

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-19 Thread Jean-Michel Pouré - GOOZE
Le mardi 18 août 2015 à 18:30 +0200, Steven Barth a écrit : It is not possible, DHCPv6 doesn't carry routes. So you still need RAs even with ra_management set to 2. Sorry for this garbage, I just resend my email : I spotted a problem with ra_management = 2 First configuration: stateful only

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-18 Thread Jean-Michel Pouré - GOOZE
Le lundi 17 août 2015 à 20:32 +0200, Steven Barth a écrit : is clearly a stateful address (/128) and your host got the host-id 953 for stateful adressing. You should see the lease on the router in the WebUi or under /tmp/hosts/odhcpd. There you can also see the duid you need for adding the

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-18 Thread Jean-Michel Pouré - GOOZE
Le mardi 18 août 2015 à 13:49 +0200, Steven Barth a écrit : Where you have option dhcpv6 and option ra you can add an option ra_management and set it to 0, 1 or 2. 0 means stateless only, 1 means stateless + stateful (default) 2 means stateful only Please note that stateful is not

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear Steven, Thank you for answering. I'm not sure what you are trying to accomplish. If you are connecting a router with a default OpenWrt image with default configuration to an ISP or IPv6 router which offers prefix delegation, everything works out of the box including client

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear Steven, Thanks for this kind response. addr inet6: 2a01:e35:87d8:::953/128 Scope:Global OK, I cannot find the lease in Luci, but here is /tmp/hosts/odhcpd # br-lan 0004901071a15f278795aa0dd83bde8b 49874f74 - 1439881026 953 128 2a01:e35:87d8:::953/128 Is my duid

[OpenWrt-Devel] Setting password on serial console + disabling linux single user mode

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Dear all, What is the current way to ask for root password when connecting to serial console: /etc/inittab ::askconsole:/bin/ash --login is there any way to ask for a password? Also, what are the steps to disable single user mode booting? Kind regards, Jean-Michel smime.p7s Description:

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Le lundi 17 août 2015 à 20:32 +0200, Steven Barth a écrit : config host option duid '0012345678900...' option hostid 4 Okay, I got it, it works using 8 digits:0008 Will add it to the HOWTO and try to make a special howto on ipv6 delegation sooner. Kind regards,Jean-Michel

Re: [OpenWrt-Devel] Setting password on serial console

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Le lundi 17 août 2015 à 21:31 +0200, Tobias Welz a écrit : With Barrier Breaker i use this way - I assume it's the same with Chaos Calmer. Install the login shell and change the /etc/inittab: ::askconsole:/bin/login There is no /bin/login anymore in OpenWRT development branch. Do I need to

Re: [OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-17 Thread Jean-Michel Pouré - GOOZE
Okay, I got it, it works using 8 digits:0008 I am still having difficulties setting IPv6 gateway using DHCP only. If using SLAAC, routes will propagate very well, but I end-up with several IPv6. I don't want any derived IPv6 from MAC. The client IP is 2a01:e35:87d8::::. The

[OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

2015-08-15 Thread Jean-Michel Pouré - GOOZE
Dear all, I currently writting a HOWTO for French Freebox users. http://wiki.openwrt.org/doc/howto/freebox We can obtain IPv6 address delegation an configure clients IPv6 staticly. We are using OpenWRT staging (latest dev). What is the recommended way to serve ipv6 IPs to clients? I need to

[OpenWrt-Devel] IPv6: network segmentation, use of vlan and IPsec

2015-03-27 Thread Jean-Michel Pouré - GOOZE
Dear friends, I am studying IPv6 networks and would like to share some ideas with the community. At present, I am not sure to understand how to filter traffic and split networks. Here are a few questions: vlan: IPv6 has no broadcast. Do we still need vlans to segment traffic? Would you recommend

Re: [OpenWrt-Devel] EAP-TLS / EAP-TTLS PAP

2015-03-27 Thread Jean-Michel Pouré - GOOZE
Le jeudi 26 mars 2015 à 14:33 +0100, Bernd Naumann a écrit : K back to the plot: Know you any hostapd configurations or other software in openwrt which can achieve that goal? Are there any issues which might can lead to problems or other downsides I may have missed? Reasons against? I am new

Re: [OpenWrt-Devel] Security Vulnerability Reporting and Database

2015-03-26 Thread Jean-Michel Pouré - GOOZE
Le mercredi 25 mars 2015 à 14:31 -0500, Eric Schultz a écrit : During the discussions for the OpenWireless/OpenWrt security hackathon in April, one of the participants asked if there's a way to report security vulnerabilities in OpenWrt. I didn't know of one so I figured I should ask. Is there

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-26 Thread Jean-Michel Pouré - GOOZE
Le mercredi 25 mars 2015 à 11:43 -0400, John Szakmeister a écrit : Why not just use: ./scripts/config/conf --savedefconfig=config.seed Config.in When building systems for release, one has to be very careful for security. IMHO, I would not leave a toolchain and configuration on a build

[OpenWrt-Devel] OpenWRT reproducible build

2015-03-25 Thread Jean-Michel Pouré - GOOZE
Dear all, This is a post for information. I would like to point out this Debian Reproducible build project: https://wiki.debian.org/ReproducibleBuilds https://reproducible.debian.net/reproducible.html IMHO, it would be a major improvement to be able to build the same OpenWRT packages on

Re: [OpenWrt-Devel] Dynamically generate custom files before building?

2015-03-25 Thread Jean-Michel Pouré - GOOZE
Le mercredi 25 mars 2015 à 00:10 +0200, Sami Olmari a écrit : isn't it quite self-explanatory? Yes, but we don't know how these scripts work and need to read source code. Apparently, it branches GIT. So what happens when we need to upgrade to latest GIT. Furthermore, can you build several

Re: [OpenWrt-Devel] Dynamically generate custom files before building?

2015-03-25 Thread Jean-Michel Pouré - GOOZE
Le mercredi 25 mars 2015 à 00:43 +0800, Nguyễn Hồng Quân a écrit : Your script has many valuable information You are more than welcome. Maybe we should create a page on the wiki to explain howto: create a minimal Debian build environment, chroot, build. But I am not sure to understand how to

Re: [OpenWrt-Devel] Dynamically generate custom files before building?

2015-03-24 Thread Jean-Michel Pouré - GOOZE
I think you should try to modify openwrt/Makefile Add your own script for target devices. I am thinking about moving to a Makefile also. Currently, my scripts look like this one : * #git clone git://git.openwrt.org/openwrt.git openwrt-ar71xx cd openwrt-ar71xx #echo make

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Jean-Michel Pouré - GOOZE
but it works and you can tweak it individually via 'make menuconfig'. what we do here, is e.g.: echo .config 'CONFIG_TARGET_ar71xx_generic_TLWR1043=y' Thanks. Due to ignorance, I could not figure it out. So my script becomes: git clone git://git.openwrt.org/openwrt.git openwrt-ar71xx cd

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Jean-Michel Pouré - GOOZE
I read buildroot WIKI page: http://wiki.openwrt.org/doc/howto/build I am getting confused about the build system. I am comparing .config generated by buildroot (today's GIT) with https://downloads.openwrt.org/snapshots/trunk/ar71xx/generic/config and this is not the same file. Obviously, I

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Jean-Michel Pouré - GOOZE
Le lundi 23 mars 2015 à 15:18 +0100, Arjen de Korte a écrit : No, you have to run 'make menuconfig' and select the luci package in there. In many cases, other packages are needed when you select a package. This is exactly what menuconfig automates (so making changes by hand in the

[OpenWrt-Devel] Building OpenWRT static kernels

2015-03-23 Thread Jean-Michel Pouré - GOOZE
Dear all, I would like to discuss the ability to compile a minimal kernel with all needed modules compiled staticly. This is for custom projects. I know static kernels are not for mass-release as it would confuse users. Is there a way to achieve something similar to: make localyesconfig turns

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Jean-Michel Pouré - GOOZE
Le lundi 23 mars 2015 à 21:21 +0800, Yousong Zhou a écrit : ./scripts/feeds install pkgname will make those packages visible/available/selectable in menuconfig (creating links in package/feeds/feedsname/) as the prior update action only fetches them down as is. Thanks! So I need to activate

[OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Jean-Michel Pouré - GOOZE
/target/linux/ar71xx/image/Makefile I read buildroot WIKI page: http://wiki.openwrt.org/doc/howto/build Pardon my ignorance, I am new to OpenWRT. If I select target TP-Link TL-WR841ND in target of make-menuconfig this triggers /target/linux/ar71xx/image/Makefile Will it select automatically

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Jean-Michel Pouré - GOOZE
Le lundi 23 mars 2015 à 16:09 +0100, Bastian Bittorf a écrit : echo .config 'CONFIG_PACKAGE_luci=y' make defconfig # (this solves the dependencies) make You spotted the right solution, this results in a nice configuration. I feel that I am now able to automate daily compilation. OpenWRT

Re: [OpenWrt-Devel] Rebuilding for specific hardware, example ar71xx/image for TP-Link TL-WR841ND

2015-03-23 Thread Jean-Michel Pouré - GOOZE
Le lundi 23 mars 2015 à 16:09 +0100, Bastian Bittorf a écrit : echo .config 'CONFIG_PACKAGE_luci=y' make defconfig # (this solves the dependencies) make Thanks. I probably want to go this way for a better automation. Kind regards, Gnutella ___

Re: [OpenWrt-Devel] Building OpenWRT static kernels

2015-03-23 Thread Jean-Michel Pouré - GOOZE
Le lundi 23 mars 2015 à 16:21 +0100, Jonas Gorski a écrit : This is currently not easily possible with OpenWrt, as it contains several out-of-tree kernel modules, which aren't part of the kernel sources and thus can't be statically linked into the kernel. For example all wifi drivers are build

Re: [OpenWrt-Devel] Building OpenWRT static kernels

2015-03-23 Thread Jean-Michel Pouré - GOOZE
you would be horrified to look under the covers of most linux based appliances, a lot of them are running a stock redhat/centos install with very little customization outside of the userspace app that they run. Gaping security holes in such appliances are common. Yes, I agree with you.

[OpenWrt-Devel] Status of X86_64 OpenWRT architecture

2015-03-20 Thread Jean-Michel Pouré - GOOZE
Dear all, I am working on a custom kernel for the PC Engines APU: http://wiki.openwrt.org/toh/pcengines/apu The board can boot OpenWRT git X86 but not X86_64. I have a feeling that the X86_64 git is out of sync and that most drivers are disabled by default. Also no compilation options are

Re: [OpenWrt-Devel] Status of X86_64 OpenWRT architecture

2015-03-20 Thread Jean-Michel Pouré - GOOZE
Le vendredi 20 mars 2015 à 10:12 +0100, Jo-Philipp Wich a écrit : Last time I checked the x86-64 target booted just fne on my Alix APU board without any custom modifications. OK, I will give a new try in a new build root. Kind regards, Gnutella ___

Re: [OpenWrt-Devel] Status of X86_64 OpenWRT architecture

2015-03-20 Thread Jean-Michel Pouré - GOOZE
Unfortunately, OpenWRT x86_64 fails to compile on kmod-ipt-ipset. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Re: [OpenWrt-Devel] D-Link switches with GPL Linux kernel available

2015-03-16 Thread Jean-Michel Pouré - GOOZE
Dear friends, For those interested, I am keeping track of hacking the DGS-1210-10P on the WIKI: https://wiki.openwrt.org/toh/d-link/dgs-1210 Any advice is welcome, especially to locate the serial console at first. Kind regards, Gnutella ___

[OpenWrt-Devel] D-Link switches with GPL Linux kernel available

2015-03-15 Thread Jean-Michel Pouré - GOOZE
Dear all, First I would like to congratulate the community for working hard on OpenWRT. For years I have been using pfSense and now that they are closing sources (aka on copyright issues) and compiling without peer review, I am turning towards OpenWRT. I am impressed by the quality of OpenWRT

Re: [OpenWrt-Devel] D-Link switches with GPL Linux kernel available

2015-03-15 Thread Jean-Michel Pouré - GOOZE
Dear friends, I downloaded D-Link DGS-1210-10P switch latest GPL source code, hardware rev C1 (latest revision to date, available in shops): https://dlink-gpl.s3.amazonaws.com/GPL1500075/DGS-1210-10P-GPLSourceCode.tar.gz Compilation instructions:

Re: [OpenWrt-Devel] D-Link switches with GPL Linux kernel available

2015-03-15 Thread Jean-Michel Pouré - GOOZE
Sorry, source code is available here : http://tsd.dlink.com.tw Select DGS and 1210 and click OK. ___ openwrt-devel mailing list openwrt-devel@lists.openwrt.org https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel