Build for Linksys EA9500


#293

If you are using trunk you won't need to do anything with WiFi firmware. Once you patch the network script, you also need to run my fix_interfaces.sh script


#294

How often does fix_interfaces.sh need to be run, just after initial flash?

EDIT: Nevermind, I see you added it to rc.local

EDIT2: So it builds, and I can see the switch ports being activated in the boot log, so looks much better. But for whatever reason I still can't actually seem to pass traffic over the lan port, like pinging gateway yields no response from a client on the network. On a side note, your latest non-pulled build doesn't have that issue :slight_smile:

I would say it's not quite ready to build from trunk yet. I think I will just clone/fork your repo for the time being. I am close, so close, I know that.


#295

@npcomplete, question. Do you know (can you valdiate) if builds generated from your repo made as a fresh clone, as of right now, using the config.seed you provide in the root of openwrt actually generate working images?

Never-mind, it does. You just have a lot of custom modifications to your config file (I was trying to base off of a vanilla config that menuconfig generated after enabling ea9500 in the makefile, seems that dependencies are missed with that). I just need to build/remove based on that as a template.

Any idea why/what is needed to help better roll in the dependencies this router needs into the recipe that get's generated through make menuconfig by default? Two wildly different config files, yours vs what menuconfig makes. Which is the difference between a working and non-working system :sleepy:


#296

@npcomplete Maybe it makes it easier, if you post your config.seed from the nov build?


#297

Sure, I'll post the config.seed by tonight.


#298

Is it possible to provide one with the minimum modifications needed to generate a working build? Then users can build off without having the additional packages you may use for your personal build? I know you have dependant scripts that get executed based off your custom packages as well, like hot plug, mounting, log rotating. But I don't think USB ports work, right?


#299

Update: I had to disconnect my dev setup at home as I needed to move some network equipment in my family room. Can't perform any tests until I have wired internet to my dev setup.


#300

Thanks for the update, hope all is well.


#301

Well my one year old pulled all the network cables! I guess he couldn't wait to help his dad!


#302

So you had a "Natural Disaster" :slight_smile:


#303

I've rewired my setup... so will be able to provide a minimal build config/patch soon.


#304

Looking forward to it buddy. Perhaps also a new push to git with that new build also? (and of course the latest .config you are using?)

Glad you are back up and running.


#305

yes I intend to push it to git


#306

Minimal build and patch uploaded


#307

Thanks buddy! Was this compiled against your current source, or do you have a separate fork for this that's not shared? I saw your repo has no recently pushed commits.

Do you know if this patch will work against OpenWRT trunk? :smiling_face_with_three_hearts:


#308

this patch will work with trunk


#309

You're a boss! Thanks Vivek, mucho mucho gracias.


#310

Just warnings, so nothing to be concerned with?

openwrt@openwrt-debian:~/openwrt$ git apply openwrt-minimal.patch
openwrt-minimal.patch:5963: trailing whitespace.
	
openwrt-minimal.patch:6047: space before tab in indent.
 			label = "wan";
openwrt-minimal.patch:6048: space before tab in indent.
 		};
openwrt-minimal.patch:6049: trailing whitespace.
 
openwrt-minimal.patch:6072: space before tab in indent.
 		port@8 {
warning: squelched 10 whitespace errors
warning: 15 lines add whitespace errors.

EDIT: Seems not too bad, and safe to ignore: https://stackoverflow.com/questions/2947653/git-whitespace-errors-squelching-and-autocrlf-the-definitive-answers


#311

Tried it out and compiled with no problems

Great job


#312

@npcomplete What command would I use if I want to flash mtd0,mtd1 and mtd2 and can I do it from the serial console or the CFE console?
I want to make sure I don't do something stupid

Or can this also be done from ssh