OpenWrt Forum Archive

Topic: Optimized and feature rich trunk build for select routers

The content of this topic has been archived between 20 Aug 2014 and 5 May 2018. Unfortunately there are posts – most likely complete pages – missing.

@anomeome
Thanks for the stat info. Looked at it and will see about fixing things up. Figured someone with more experience then me knew the answer.

@luisd
Thanks for the cert info. At least you make it understandable as to what is going on. Not sure I want to go down the possible fix but I might try it just to play. ;-)

--bill

I'm just getting back into using OpenWRT so please let me know if I'm missing something, but I can't seem to get DHCP working or maybe the LAN interface isn't being brought up or what on my Archer C7 v2. I had the stable CC build running well and then decided to give your build a shot since I wanted adblocking and I like to be on the bleeding edge.

I tried both r49005 and r48933 full images, they both load and flash correctly, then reboot, but after the reboot only the LAN and power lights are on (I believe the * next to the power is usually on when the network is active). If I manually set an IP I can't ping the router at 192.168.1.1 nor can I try to SSH or Telnet into it, nor does the webpage work. If I try to let DHCP assign me one, Windows never finds the DHCP server or gateway (seen by the ARP spamming in WireShark) and settles with an APIPA address. Just to see if maybe DD wasn't working I flashed the 3/9/16 full build of DD and once it rebooted the * was lit up and then after about a minute it acquired an address via DHCP.

Any idea why the builds aren't working for me?

anomeome wrote:

Re: stats, if you did not resolve issue from post 3404 this issue may still exist.

There is documentation on the web on how to add certs to the trusted list for your browser.

Tried this, following the documentation I could find, and while I was able to add the certificate to the trusted authorities area of the certificate repository, it didn't work there, either...couple of problems with it, one was that the certificate uses an obsolete cipher suite tls version. The other was a problem with the "server's certificate doesn't match the URL".

So that's a dead end so far.

Another path to pursue is how to switch the firmware's http server from "https" to "http" so a certificate isn't required. Probably not a bad thing for sole use behind a firewall. Not a lot worse than an insecure https connection, anyways *smile*.

OOTB I think it listens on both 80 and 443. File /etc/config/uhttpd has the settings for controlling the behavior of the web server; i.e. what/how to listen.

anomeome wrote:

OOTB I think it listens on both 80 and 443. File /etc/config/uhttpd has the settings for controlling the behavior of the web server; i.e. what/how to listen.

I did try using 192.168.1.1:80 (after getting rid of the browser tab for the web admin GUI, deleting browsing data, and restarting browser), and got the same https/certificate problem. Not sure if that's definitive, but seems to want to use https on port 80 as well?

Maybe "redirect https" option being set to 1 is it? Wild guess *smile*.

Update: Did find this in the OpenWRT wiki:

opkg install luci-ssl # enable https for luci

so a fallback might be to remove that module.

(Last edited by RogerSC on 13 Mar 2016, 01:23)

Right you are. So I commented out the 443 listen line in my config, restarted uhttpd, and it no longer has that behavior. So, for whatever reason, as long as it has ssl info on it's startup that takes priority. But if you just want http access, you can comment out the 443 configuration.

anomeome wrote:

Right you are. So I commented out the 443 listen line in my config, restarted uhttpd, and it no longer has that behavior. So, for whatever reason, as long as it has ssl info on it's startup that takes priority. But if you just want http access, you can comment out the 443 configuration.

Thanks for the update, I'm still googling around for possibilities *smile*. The method that you used at your place provides an easy thing to try.

(Last edited by RogerSC on 13 Mar 2016, 01:31)

anomeome wrote:

Right you are. So I commented out the 443 listen line in my config, restarted uhttpd, and it no longer has that behavior. So, for whatever reason, as long as it has ssl info on it's startup that takes priority. But if you just want http access, you can comment out the 443 configuration.

Fixing the internal http server to default to no redirect is as simple as installing the base luci package, then removing the  luci-ssl package. Make sure to install the base package first, or you will need to enter the unit via telnet or SSH to install it if you remove the SSL package first.

Hi all, Using this FW on my R8000. Since the latest build (r49005) I am finding that the AC/5Ghz radio's are showing up as if they are in client mode rather than showing as Master. Anybody else seeing this issue? Thanks!

Here is the kernal log: http://pastebin.com/jXQDHRZJ

(Last edited by h4wtd0gz on 13 Mar 2016, 11:02)

Hi, it seems that in kernel repo is missing:

kmod-video-uvc

From where can i get it, but for this kernel version?
And is there some special reason why is there unfs3 and not nfs4?

(Last edited by gsustek on 13 Mar 2016, 16:54)

@anomeome
Thanks for the suggestion of editing the uhttpd file commenting out the 2 lines referencing port 443. Now I can login and not get the cert error and best of all that is what was keeping YAMon3 from working.

Since Openwrt does not have a cert for https I am not sure why they would enable it, unless is plays into other services on the router that need it. Otherwise why bother.

--bill

bill1228 wrote:

@anomeome
Thanks for the suggestion of editing the uhttpd file commenting out the 2 lines referencing port 443. Now I can login and not get the cert error and best of all that is what was keeping YAMon3 from working.

Since Openwrt does not have a cert for https I am not sure why they would enable it, unless is plays into other services on the router that need it. Otherwise why bother.

--bill

Glad to hear that you verified that was the problem with yamon. While that surprises me, good to hear about that.

@anomeome
Thanks for the link to fix luci stats. Did the suggested link and now I am getting stats as expected.
--bill

arokh wrote:

On a clean flash?

I re-did a clean flash and now I was able to install the kmod-fuse_4.1.18-1_ar71xx.ipk package and kmod-fs-ntfs_4.1.18-1_ar71xx.ipk.

So for ntfs-3g and fdisk, do I need to compile my own then as I did not see them in the packages directory http://luci.subsignal.org/~trondah/wndr … 5/packages for the build I'm running. Or is there another repository I should be using with opkg.

Thanks.

BTW so I don't have to ask later, any tips on making a build environment. I'd be using a virtualbox vm to build it. (Hard to search a particular topic/thread with this forum). Is it just the "standard build instructions" using your code base?

Thanks.

(Last edited by tekknogenius on 13 Mar 2016, 23:54)

@brando56894

Hard to say without output from serial console.

@gsustek

You'd need to compile yourself as it's not enabled in my builds. I disabled it some time ago because of build errors. I think that's fixed now so I'll see about adding it back.

I'm using unfs3 because it's small and lightweight. NFSv4 needs several other components and there is no compelling reason to use it over ufns3 on a router.

@bill1228

Because HTTP is insecure. When you are logging on to your router (using HTTP), a man-in-the-middle can easily pick up your logon credentials and gain access to your router.

You should be able to trust the certificate so you won't get any warnings.

(Last edited by arokh on 14 Mar 2016, 12:00)

I flashed ur firmware on wdr3600.


I manage to get ADBLOCK working, by installing luci adblock and checking all checkboxes for ads list.


Now my question is: How to get kmod-usb-printer to work  ? I tried with p910nd but printer did not recieve the print job.


When i try to install kmod-usb-printer (even with --force-depends) i get this error :

opkg --force-depends install kmod-usb-printer
Installing kmod-usb-printer (4.1.16-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … r71xx.ipk.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Configuring kmod-usb-printer.
failed to find a module named usblp
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-printer:
*     kernel (= 4.1.16-1-6ffa977787dcecd25d742695dc8af814) *


When i try this : opkg install kmod-usb-printer , it says :
Package kmod-usb-printer (4.1.16-1) installed in root is up to date.



On router page unde p910nd - print server :
First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp).

And then the usual gui for printer.

(Last edited by scrmtrey on 14 Mar 2016, 17:25)

Please help me, i really need usb printer feature.

@arokh Do you think it is possible to swap the current adblocking with the one on the other thread that provides a luci app?

I mean this: https://forum.openwrt.org/viewtopic.php?id=59803

Meanwhile with the latests two builds I experienced a few problems with the Wifi, while streaming video it stopped and I had to perform a wifi down and wifi up command to have it working again, but when the streaming was stopped I tried internet and it worked, so it was a problem with the LAN part mainly. It is a WDR4900.

(Last edited by DaCarrs on 16 Mar 2016, 19:22)

hi, when i compile this module: kmod-video-uvc and try to install it, i got: 

MY COMPILE
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-video-uvc:
*     kernel (= 4.4.5-1-78ddcf96a5a9580c88c0d18835f22815) *    

AROKH LATEST FIRMWARE
Depends: kernel (= 4.4.5-1-2d0d951bb58628c0e49d666b1cf4bb51), kmod-i2c-core

how to compile kmodules whit this kernel version?
Plese advise.
it is 1900ACS

(Last edited by gsustek on 16 Mar 2016, 23:42)

I just installed the Archer C7 r49005 build.

The login screen comes up with root as user and no password. I have tried known openwrt passwords but none of them work. I can't telnet into the router either. Can someone help me login to my router please?

pw: changeme

Wow. Sorry I missed that in the op. I must be too tired. Thanks!

np wink

scrmtrey wrote:

I flashed ur firmware on wdr3600.


I manage to get ADBLOCK working, by installing luci adblock and checking all checkboxes for ads list.


Now my question is: How to get kmod-usb-printer to work  ? I tried with p910nd but printer did not recieve the print job.


When i try to install kmod-usb-printer (even with --force-depends) i get this error :

opkg --force-depends install kmod-usb-printer
Installing kmod-usb-printer (4.1.16-1) to root...
Downloading http://downloads.openwrt.org/snapshots/ … r71xx.ipk.
Multiple packages (kmod-usb-core and kmod-usb-core) providing same name marked HOLD or PREFER. Using latest.
Configuring kmod-usb-printer.
failed to find a module named usblp
Collected errors:
* satisfy_dependencies_for: Cannot satisfy the following dependencies for kmod-usb-printer:
*     kernel (= 4.1.16-1-6ffa977787dcecd25d742695dc8af814) *


When i try this : opkg install kmod-usb-printer , it says :
Package kmod-usb-printer (4.1.16-1) installed in root is up to date.



On router page unde p910nd - print server :
First you have to install the packages to get support for USB (kmod-usb-printer) or parallel port (kmod-lp).

And then the usual gui for printer.



anyone can help ?

@scrmtrey

You can download kernel modules for your build in the package directory and install manually.

@DaCarrs

Sure it's possible, but I don't see any benefit in spending time on it. Adblocking is working.

Also, no wifi issues here. Uptime 6 days.