Linksys E3200 -> entware installation issues

Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware
Author Message
M4lkavianic
DD-WRT Novice


Joined: 28 Apr 2021
Posts: 5

PostPosted: Wed Apr 28, 2021 21:00    Post subject: Linksys E3200 -> entware installation issues Reply with quote
Hello!

I am currently working on my Linksys E3200.
As far as I realized this should be a boradcom router, so I hope I am right at this place.

Currently I am working on Firmware:
Quote:
DD-WRT v3.0-r46239 mega (04/01/21)


My basic idea was originally to use "curl" to update the DNS-name that is part of my new domain (first time working with domains and as far as I could find out, Hetzner is not providing an update-link that I could use in the "Setup" -> "DDNS" page).
So far so good. I found many instructions for that, but it all starts with the installation of entware.

So far so good, after googling my way through here (and many differen pages) you find me now here without any further ideas as I am ending in errors each time.

What I did so far:
Quote:
0.) Configured a USB-Stick to be used as Diskspace in the /opt directory (so there will be for sure enough space available)
1.) update the firmware (to the version mentioned above)
2.) tried different entware versions, though the "mipsel" should be the correct one as far as I read
3.) googling differen pages for hours without hope


The following is happening:
As described on:
Quote:
https://wiki.dd-wrt.com/wiki/index.php/Installing_Entware

I am executing these steps:
Quote:
cd /opt (click enter)
wget http://bin.entware.net/mipselsf-k3.4/installer/generic.sh (click enter)
sh generic.sh (click enter)


The download works fine. Meanwhile (due to the firmware update) I can also properly execute the generic.sh script.
In the course of the installation it looks like this:

Quote:
root@MyRouter:/opt# sh generic.sh
Info: Checking for prerequisites and creating folders...
Warning: Folder /opt exists!
Info: Opkg package manager deployment...
Connecting to bin.entware.net (104.21.91.83:80)
saving to '/opt/bin/opkg'
'/opt/bin/opkg' saved
Connecting to bin.entware.net (172.67.212.134:80)
saving to '/opt/etc/opkg.conf'
'/opt/etc/opkg.conf' saved
Info: Basic packages installation...
Segmentation fault
Segmentation fault
Info: Congratulations!
Info: If there are no errors above then Entware was successfully initialized.
Info: Add /opt/bin & /opt/sbin to $PATH variable
Info: Add "/opt/etc/init.d/rc.unslung start" to startup script for Entware services to start
Info: Found a Bug? Please report at https://github.com/Entware/Entware/issues


... and I am completely out of (googling) ideas of how to fix this "segmentation fault" issue with the opkg and would kindly ask for help at this point!

Thanks in advance!

PS: I found also an instruction to get the entware from github... unfortunately I did not find a way to get git running on the router and at this point I am quite sure, that it might not be inteded to tbe used on a router anyways.
Sponsor
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 4393
Location: UK, London, just across the river..

PostPosted: Thu Apr 29, 2021 5:42    Post subject: Reply with quote
It seams you followed the install process, as it should...
Things that i would ve try:
-erase that USB and create an ext2 or ext3 partition (not NTFS) and name it OPT...use Automount option from GUI usb section or directly add UUID where opt mount is...

-check that USB for errors and bad sectors...

-try the very last build 46446

_________________
Atheros
TP-Link WR740Nv1 -----DD-WRT 46949 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 46885 BS AP,NAT,AP Isolation,Ad-Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 46949 BS AP,NAT,AD/Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 46949 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 46949 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,VLAN's,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 7721
Location: Netherlands

PostPosted: Thu Apr 29, 2021 6:24    Post subject: Reply with quote
I think the E3200 is now using Kernel 4.4 (uname -r).

it is possible Entware is not compatible with this?

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
WireGuard Documents & Guides:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327397
OpenVPN Documents & Guides: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398
IPSET: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327261
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
M4lkavianic
DD-WRT Novice


Joined: 28 Apr 2021
Posts: 5

PostPosted: Thu Apr 29, 2021 6:48    Post subject: Reply with quote
Alozaros wrote:
It seams you followed the install process, as it should...
Things that i would ve try:
-erase that USB and create an ext2 or ext3 partition (not NTFS) and name it OPT...use Automount option from GUI usb section or directly add UUID where opt mount is...

-check that USB for errors and bad sectors...

-try the very last build 46446


Ah, something I forgot to mention.
The USB-Device is currently FAT32 (as I would never use NTFS for something that is not meant for windows devices).
I also formatted it properly yesterday and the system recognizes the full capacity without any troubles.

Configurations I did for USB:
Quote:
1.) Core USB Support <Enable>
2.) USB Printer Support <Disable>
3.) USB Storage Support <Enable>
4.) Automatic Drive Mount <Enable>
5.) Run-on-mount Script Name <EMPTY>
6.) Disk Mount Point </opt>
7.) Use SES Button to remove drives <Enable>


In the status below it seems to be ok in my opinion:

Quote:
--- /dev/discs/disc0/disc
Block device, size 14.84 GiB (15938355200 bytes)
DOS/MBR partition map
Partition 1: 14.84 GiB (15938297856 bytes, 31129488 sectors from 112)
Type 0x0C (FAT32 (LBA))
Windows BOOTMGR boot loader
FAT32 file system (hints score 4 of 5)
Volume size 14.83 GiB (15921520640 bytes, 1943545 clusters of 8 KiB)
Status: Not mounted
Status: Mounted on /opt


Also, as you mentioned the "very last build".
Yesterday I did not find the "mega"-version in the "very last build" (from 24.04. -> 46446). Actually I wanted to use that one, but I hoped that the version from 1st April (haha, april fools!) would be "good enough". Also the segmentation fault issue was completely the same with the older version that I used (which was from 2019 some when).
If you really think, that a newer version is the answer, I just checked and found a similar version in release 46395 form 19.04...


egc wrote:
I think the E3200 is now using Kernel 4.4 (uname -r).

it is possible Entware is not compatible with this?


Is there any way for me to find out about the compatibility? honestly I am a bit lost of where I can extract this kind of information ^^"

Edit: I checked with "uname -r" and got this:
Quote:
2.6.24.111
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 7721
Location: Netherlands

PostPosted: Thu Apr 29, 2021 7:19    Post subject: Reply with quote
I think you then have to use on older Entware build for K2.6 there is a thread about it somewhere, or use the new K4.4 build (which are in the K3X folder).

Why are you using a K2.6 build?

There surely is a wiki for the E3200 detailing this?

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
WireGuard Documents & Guides:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327397
OpenVPN Documents & Guides: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398
IPSET: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327261
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
M4lkavianic
DD-WRT Novice


Joined: 28 Apr 2021
Posts: 5

PostPosted: Thu Apr 29, 2021 8:41    Post subject: Reply with quote
egc wrote:
I think you then have to use on older Entware build for K2.6 there is a thread about it somewhere, or use the new K4.4 build (which are in the K3X folder).

Why are you using a K2.6 build?

There surely is a wiki for the E3200 detailing this?


Well, honestly:
I used it so out of inexperience.
I installed it back then 2012 when I got the router and stuck to the K2.6 as I thought "that one works, so just get newer releases of that one".

Also referencing to the thread existing for the router:
Quote:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=138558&postdays=0&postorder=asc&start=465

the people seem to stick to the K2.6...

On a quick note, I did not find a compatibility list at hand (just to be sure, the K4.4 is not crashing something).
Should the version that I found here:
Quote:
dd-wrt.v24-46395_NEWD-2_K3.x_mega-nv64k.bin

cause troubles? Or where else can I check versions that should work?
egc
DD-WRT Guru


Joined: 18 Mar 2014
Posts: 7721
Location: Netherlands

PostPosted: Thu Apr 29, 2021 8:59    Post subject: Reply with quote
I think you cannot switch kernel versions on later builds just like that.
There is an upgrade path somewhere @kp69 knows more about that or maybe that is detailed in the wiki?

Just use dd-wrt.v24-46446_NEWD-2_K3.x_mega-e3200.bin so with the router model in the build.

Research the build threads if one of the routers in that K3X directory is confirming success you should be good, I saw someone with an E2500 reporting success so you should be good but research the upgrade path

_________________
Routers:Netgear R7800, R6400v1, R6400v2, Linksys EA8500, EA6900 (XvortexCFE), E2000 (converted WRT320N), WRT54GS v1.
WireGuard Documents & Guides:https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327397
OpenVPN Documents & Guides: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327398
IPSET: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=327261
Install guide R6400v2:http://forum.dd-wrt.com/phpBB2/viewtopic.php?t=316399
Install guide R7800: https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=320614
Forum Guide Lines (important read):https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324087
M4lkavianic
DD-WRT Novice


Joined: 28 Apr 2021
Posts: 5

PostPosted: Thu Apr 29, 2021 9:07    Post subject: Reply with quote
egc wrote:
I think you cannot switch kernel versions on later builds just like that.
There is an upgrade path somewhere @kp69 knows more about that or maybe that is detailed in the wiki?

Just use dd-wrt.v24-46446_NEWD-2_K3.x_mega-e3200.bin so with the router model in the build.

Research the build threads if one of the routers in that K3X directory is confirming success you should be good, I saw someone with an E2500 reporting success so you should be good but research the upgrade path


Ok, great. Thanks a lot for the information so far.
Then I will try to research a little more for the updates und try to eventually and up with the version mentioned by you!

Edit:
I found in the thread:
https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=324361&postdays=0&postorder=asc&start=30

The following:
freshcodemonger@gmail.com wrote:
Router/Version: Linksys e3200
File/Kernel: dd-wrt.v24-42954_NEWD-2_K3.x_mega-e3200
Previous/Reset: defaults then reset in gui / dd-wrt.v24-43028_NEWD-2_K2.6_mega-nv60k.bin
Mode/Status: AP / working well stable
Issues/Errors: Previous version couldn't get VAP to broadcast with security. Broadcast working now. Apply settings for configuration had issues but save and reboot for adding interfaces worked.


So it seems there was already a upgrade from K2.6 to K3.X and it seemed to be successfull.
So I will go with the version mentioned by "freshcodemonger@gmail.com" and then upgrade further to a higher version later on.
Whish me luck..
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 4393
Location: UK, London, just across the river..

PostPosted: Thu Apr 29, 2021 11:48    Post subject: Reply with quote
router OS is linux, entware is also linux i dont see any reason to use fat32... NTFS and fat32 are only to host media files and some samba stuff...just my 2 cents...
_________________
Atheros
TP-Link WR740Nv1 -----DD-WRT 46949 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 46885 BS AP,NAT,AP Isolation,Ad-Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 46949 BS AP,NAT,AD/Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 46949 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 46949 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,VLAN's,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 9000
Location: Texas, USA

PostPosted: Thu Apr 29, 2021 13:25    Post subject: Reply with quote
Alozaros wrote:
router OS is linux, entware is also linux i dont see any reason to use fat32... NTFS and fat32 are only to host media files and some samba stuff...just my 2 cents...


The E3200 doesn't support ext2, ext3, or ext4. It's an 8MB flash image.

@OP: please upgrade to the most recent release. You will be missing key vulnerability patches if you don't.

_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
M4lkavianic
DD-WRT Novice


Joined: 28 Apr 2021
Posts: 5

PostPosted: Thu Apr 29, 2021 19:41    Post subject: Reply with quote
kernel-panic69 wrote:

The E3200 doesn't support ext2, ext3, or ext4. It's an 8MB flash image.


It seems you are wrong about this!
Little spoiler: EXT2 works perfectly fine!

kernel-panic69 wrote:
@OP: please upgrade to the most recent release. You will be missing key vulnerability patches if you don't.


After the update to the latest version (link below... thanks for the hint, but that was my intention all along... and for a good reason as it seams), I recognized, that the handling of USB-devices changed with the new version (well.. a jump of versions of 1 year...).
So my USB-Stick was not automatically mounted as the /opt...
And as it still was FAT32 formatted, it did not have a real UUID I could configure in the system...

At home, I finally could format the USB-stick to EXT2 file system (with UUID "OPT") and with that the stick was - again - properly recognized by the router and (automatically) mounted correctly.

Alozaros wrote:
router OS is linux, entware is also linux i dont see any reason to use fat32... NTFS and fat32 are only to host media files and some samba stuff...just my 2 cents...

Actually it is not even possible to work properly with FAT32, as it seems that there is no possibility to set a "proper" UUID for this file system and thus you can not automatically mount the UBS-Device e.g. for the /opt...


So with the version:
Quote:
https://download1.dd-wrt.com/dd-wrtv2/downloads/betas/2021/04-24-2021-r46446/broadcom_K3X/dd-wrt.v24-46446_NEWD-2_K3.x_mega-e3200.bin

the latest existing errors for the installation of the entware vanished and everything seemed to be applied successful.

Then I finished the remaining stepts from the wiki-descirption for the installation:
Quote:
opkg update
opkg upgrade


After that, I could simply install curl with the command
Quote:
opkg install curl

aaaand I am done.

So everything necessary remaining is to get back to company where I have the curl command that I initally wanted to use and see if everything works out properly... but all necessary tools seem to be in place so far without any crashes.

Thank you all for helping so fast!
From my side, the thread can be closed!
Alozaros
DD-WRT Guru


Joined: 16 Nov 2015
Posts: 4393
Location: UK, London, just across the river..

PostPosted: Fri Apr 30, 2021 10:15    Post subject: Reply with quote
kernel-panic69 wrote:
Alozaros wrote:
router OS is linux, entware is also linux i dont see any reason to use fat32... NTFS and fat32 are only to host media files and some samba stuff...just my 2 cents...


The E3200 doesn't support ext2, ext3, or ext4. It's an 8MB flash image.

@OP: please upgrade to the most recent release. You will be missing key vulnerability patches if you don't.


KP-69 just to let you know, my 1043v2 has 8MB and has ext2/3 support Smile may be you ware thinking of something else...m8

M4lkavianic Im glad you sorted your issue..
In the past, i was pulling my hair, been rushy and trying to install Entware on a new 8GIG USB fat32, until ive found im terribly wrong and need ext2 ... Laughing Laughing

_________________
Atheros
TP-Link WR740Nv1 -----DD-WRT 46949 BS AP,NAT
TP-Link WR740Nv4 -----DD-WRT 44251 BS WAP/Switch
TP-Link WR1043NDv2 ---DD-WRT 46885 BS AP,NAT,AP Isolation,Ad-Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---DD-WRT 46949 BS AP,NAT,AD/Block,Firewall,Local DNS,Forced DNS,DoT,VPN,VLAN
TP-Link WR1043NDv2 ---Gargoyle OS 1.12.0 AP,NAT,QoS,Quotas
Qualcomm/IPQ8065
Netgear R7800 -----DD-WRT 46949 BS AP,NAT,AD-Block,AP&Net Isolation,VLAN's,Firewall,Local DNS,DoT
Broadcom
Netgear R7000 -----DD-WRT 46949 BS AP,Wi-Fi OFF,NAT,AD-Block,Firewall,Local DNS,Forced DNS,VLAN's,DoT,VPN
-----------------------------------------------------------------------------------------------
Stubby for DNS over TLS I DNSCrypt v2 by mac913
kernel-panic69
DD-WRT Guru


Joined: 08 May 2018
Posts: 9000
Location: Texas, USA

PostPosted: Fri Apr 30, 2021 12:52    Post subject: Reply with quote
It seems as if the ext4.ko kernel module does exist on the E4200v1 and the TL-WR1043NDv2. The K3.10 images for Broadcom didn't have that kernel module before that I recall. Duly noted, thanks for that.
_________________
Official Forum Rules, Guidelines & Helpful InformationFirmware FAQInstallation WikiWhere Do I Download Firmware?
DON'T use Chromium-based browsersRTFM/STFW TL;DR is NOT an excuse. • Why Should I Care What Color the Bikeshed Is?
Please DO NOT PM me with questions; Ask in the forum. ---------------------- Linux User #377467 counter.li.org / linuxcounter.net
Display posts from previous:    Page 1 of 1
Post new topic   Reply to topic    DD-WRT Forum Forum Index -> Broadcom SoC based Hardware All times are GMT

Navigation

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum