Broadcom: wireless interface names ethX vs wlX

Post new topic   Reply to topic    DD-WRT Forum Index -> Broadcom SoC based Hardware
Goto page Previous  1, 2
Author Message
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1856
Location: Hung Hom, Hong Kong

PostPosted: Sun Oct 23, 2022 11:13    Post subject: Reply with quote
the-joker wrote:
to get what you want you need to change many many files. But the obvious ones around

https://github.com/mirror/dd-wrt/blob/master/src/router/httpd/visuals/wireless_broadcom.c
https://github.com/mirror/dd-wrt/blob/master/src/router/services/networking/wifi/brcm_80211x.c

and everything else related (many other files peppered around source code) that relies exclusively on default vendor wlX Broadcom side including the driver itself, since driver is closed source I suggest you complain to Broadcom.

...

There are actual real issues that should be fixed Broadcom side, none of them are this.

I agree it's too late to change. It should have done earlier, and for ALL routers.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Sponsor
kernel-panic69
DD-WRT Guru


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

PostPosted: Sun Oct 23, 2022 11:26    Post subject: Reply with quote
Earlier, as in over 20 years ago when they were developing the WRT54G? This "issue" is not the fault of DD-WRT. Blame Linksys and Broadcom. I don't even think that FreshTomato has this labeled "correctly". There is a point of collision between 802.1q interface naming conventions, shared code, other hardware platforms' interface names, etc. across the board. I surmise that a decision was made to standardize interface names in the webUI because of someone else's complaints. It is what it is.


_________________
"Life is but a fleeting moment, a vapor that vanishes quickly; All is vanity"
Contribute To DD-WRT
Pogo - A minimal level of ability is expected and needed...
DD-WRT Releases 2023 (PolitePol)
DD-WRT Releases 2023 (RSS Everything)

----------------------
Linux User #377467 counter.li.org / linuxcounter.net
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1856
Location: Hung Hom, Hong Kong

PostPosted: Sun Oct 23, 2022 11:30    Post subject: Reply with quote
kernel-panic69 wrote:
"https://freshtomato.org/images/status-overview-dark.png"

I suspect "wl0.1" should have been "eth1.1" because eth1 was the 2.4GHz! At least, it showed "eth1" for 2.4G and "eth2" for 5G. In DD-WRT's WEBUI, it's just "wl0", no mention of "eth1". Anyway, that's for a new thread.

I wonder what you would see when executing the command "ifconfig" in that Tomato router. Thanks.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1856
Location: Hung Hom, Hong Kong

PostPosted: Thu May 25, 2023 9:33    Post subject: Reply with quote
the-joker wrote:
To get what you want (renaming interfaces) you need to change many many files. But the obvious ones are:

https://github.com/mirror/dd-wrt/blob/master/src/router/httpd/visuals/wireless_broadcom.c

https://github.com/mirror/dd-wrt/blob/master/src/router/services/networking/wifi/brcm_80211x.c

and everything else related (many other files peppered around source code) that relies exclusively on default vendor wlX Broadcom side including the driver itself, since driver is closed source I suggest you complain to Broadcom.

Possibly also related in the source codes of DD-WRT:

sysinit-broadcom.c in src/router/services/sysinit – DD-WRT
https://svn.dd-wrt.com/browser/src/router/services/sysinit/sysinit-broadcom.c

dd-wrt/sysinit-broadcom.c at master · mirror/dd-wrt · GitHub
https://github.com/mirror/dd-wrt/blob/master/src/router/services/sysinit/sysinit-broadcom.c

Need time to really read them all. But "ctf" is definitely in sysinit-broadcom.c!

Might also explain the mystery of broken port-forwading when CTF was enabled? That will be a secondary objective.

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1929

PostPosted: Thu May 25, 2023 15:25    Post subject: Reply with quote
Unless you have an NDA with either Broadcom or BrainSlayer, you won't realize how much of a Don Quixote quest this is. It's best to just leave it alone.
_________________
"The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep." - Robert Frost

"I am one of the noticeable ones - notice me" - Dale Frances McKenzie Bozzio

<fact>code knows no gender</fact>

This is me, knowing I've ruffled your feathers, and not giving a ****
Some people are still hard-headed.

--------------------------------------
Mac Pro (Mid 2012) - Two 2.4GHz 6-Core Intel Xeon E5645 processors 64GB 1333MHz DDR3 ECC SDRAM OpenSUSE Leap 15.5
mwchang
DD-WRT Guru


Joined: 26 Mar 2013
Posts: 1856
Location: Hung Hom, Hong Kong

PostPosted: Sun May 28, 2023 11:23    Post subject: Reply with quote
dale_gribble39 wrote:
Unless you have an NDA with either Broadcom or BrainSlayer, you won't realize how much of a Don Quixote quest this is. It's best to just leave it alone.

I am excpecting nothing out of this quest. Smile

_________________
Router: Asus RT-N18U (rev. A1)

Drink, Blink, Stretch! Live long and prosper! May the Force and farces be with you!

Facebook: https://www.facebook.com/changmanwai
Website: https://sites.google.com/site/changmw
SETI@Home profile: http://setiathome.berkeley.edu/view_profile.php?userid=211832
GitHub: https://github.com/changmw/changmw
Goto page Previous  1, 2 Display posts from previous:    Page 2 of 2
Post new topic   Reply to topic    DD-WRT 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