Using R7800 on City Fibre Vodafone 900

Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC based Hardware
Goto page Previous  1, 2, 3  Next
Author Message
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Mon Mar 20, 2023 20:26    Post subject: Reply with quote
When you configure the switch, piece of piece, the RJ45 jacks may not work at times.
However, you can connect via WLAN without any problems and continue configuring or resetting the router/importing a backup.
Sponsor
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Mon Mar 20, 2023 21:09    Post subject: Reply with quote
Even if you have cut off the wired connection, you can still connect over wifi and configure the router.

Do a "swconfig dev swith0 show" to see the running Configuration.
scope2
DD-WRT User


Joined: 12 Jul 2017
Posts: 181

PostPosted: Mon Mar 20, 2023 21:17    Post subject: Reply with quote
ho1Aetoo wrote:

and even on the r7800 it works via GUI setting (but it is a bit more complicated and you have to set a bit more on the r7800)
(assuming you are using an up to date build)


I've now upgraded to 52054, do you mind telling me what i need to do on the R7800 to get this working? I've done the same steps as on the Broadcom but it's not connecting (which you seemed to suggest anyway)
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Mon Mar 20, 2023 22:17    Post subject: Reply with quote
swconfig dev switch0 enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1 2 3 4 6"
swconfig dev switch0 vlan 2 set ports "0 5t"
swconfig dev switch0 vlan 2 set vid 911
swconfig dev switch0 set apply
scope2
DD-WRT User


Joined: 12 Jul 2017
Posts: 181

PostPosted: Mon Mar 20, 2023 22:43    Post subject: Reply with quote
Per Yngve Berg wrote:
swconfig dev switch0 enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1 2 3 4 6"
swconfig dev switch0 vlan 2 set ports "0 5t"
swconfig dev switch0 vlan 2 set vid 911
swconfig dev switch0 set apply


I have reverted the changes suggested on the previous page and added this to the startup command.. still not connecting.. and when I do "swconfig list" I get:

root@R7800:~# swconfig list
Found: switch0 - gpio-0

What should the "WAN Port Assignment" be set to if I am using the above commands?
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Tue Mar 21, 2023 8:23    Post subject: Reply with quote
scope2 wrote:
ho1Aetoo wrote:

and even on the r7800 it works via GUI setting (but it is a bit more complicated and you have to set a bit more on the r7800)
(assuming you are using an up to date build)


I've now upgraded to 52054, do you mind telling me what i need to do on the R7800 to get this working? I've done the same steps as on the Broadcom but it's not connecting (which you seemed to suggest anyway)



did you even read what I wrote?

On the r7800 more settings are necessary and I sent you a link.

first these settings https://forum.dd-wrt.com/phpBB2/viewtopic.php?t=332023&start=15

and then your individual VLAN settings

And if you want to use the manual startup commands from Per Yngve Berg then you have to disable the "switch config" tab and undo all other changes.


Last edited by ho1Aetoo on Tue Mar 21, 2023 9:59; edited 1 time in total
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Tue Mar 21, 2023 8:57    Post subject: Reply with quote
scope2 wrote:

root@R7800:~# swconfig list
Found: switch0 - gpio-0

What should the "WAN Port Assignment" be set to if I am using the above commands?



This command only list the switches present on the device. the command you want to use is


swconfig dev switch0 show
scope2
DD-WRT User


Joined: 12 Jul 2017
Posts: 181

PostPosted: Tue Mar 21, 2023 9:30    Post subject: Reply with quote
ho1Aetoo wrote:
scope2 wrote:
ho1Aetoo wrote:

and even on the r7800 it works via GUI setting (but it is a bit more complicated and you have to set a bit more on the r7800)
(assuming you are using an up to date build)


I've now upgraded to 52054, do you mind telling me what i need to do on the R7800 to get this working? I've done the same steps as on the Broadcom but it's not connecting (which you seemed to suggest anyway)



did you even read what I wrote?


Yes, sorry, what I mean was, you already said it wouldnt work on the R7800 if I took the same approach as on the Broadcom router. I appreciate I will need to do a bit more setup on the R7800.

I will have another go tonight when Im back from work and see how I get on. Smile

Thanks for any help Im getting, its appreciated. Smile
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Tue Mar 21, 2023 11:57    Post subject: Reply with quote
You don't need to test it, I just tested it.
The VLAN tagging in the "switch config" tab is broken it does not set the tag for the WAN port correctly.

I have forwarded it, a fix will surely be available in the next build.

Rolling Eyes
scope2
DD-WRT User


Joined: 12 Jul 2017
Posts: 181

PostPosted: Tue Mar 21, 2023 12:00    Post subject: Reply with quote
ho1Aetoo wrote:
You don't need to test it, I just tested it.
The VLAN tagging in the "switch config" tab is broken it does not set the tag for the WAN port correctly.

I have forwarded it, a fix will surely be available in the next build.

Rolling Eyes


OK, cheers.. So my only option is to disable the switch tab and use the commands provided by Per?

What should the "WAN Port Assignment" be set to if I am using the above commands? vlan911?
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Tue Mar 21, 2023 12:20    Post subject: Reply with quote
eth0 is the default WAN port

i can also post a fixed alpha build later.
(but may take 1-2 days)
Per Yngve Berg
DD-WRT Guru


Joined: 13 Aug 2013
Posts: 6856
Location: Romerike, Norway

PostPosted: Tue Mar 21, 2023 14:32    Post subject: Reply with quote
Run "swconfig dev switch0 show" with the swconfig commands in thr startup.

At the bottom of the output you will see this:

VLAN 1:
vid: 1
ports: 1 2 3 4 6
VLAN 2:
vid: 911
ports: 0 5

Wan will still be on eth0 in the router. No need to reconfigure anything.
ho1Aetoo
DD-WRT Guru


Joined: 19 Feb 2019
Posts: 2927
Location: Germany

PostPosted: Tue Mar 21, 2023 16:06    Post subject: Reply with quote
Yes, but you should use the correct commands

Per Yngve Berg wrote:
swconfig dev switch0 enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1 2 3 4 6"
swconfig dev switch0 vlan 2 set ports "0 5t"
swconfig dev switch0 vlan 2 set vid 911
swconfig dev switch0 set apply


The first command is wrong and the second is not needed

Code:
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 2 set ports "0 5t"
swconfig dev switch0 vlan 2 set vid 911
swconfig dev switch0 set apply



But with this method I have no access to the WebIF of the modem.
Actually, with other methods I do.
scope2
DD-WRT User


Joined: 12 Jul 2017
Posts: 181

PostPosted: Tue Mar 21, 2023 18:03    Post subject: Reply with quote
ho1Aetoo wrote:
Yes, but you should use the correct commands

Per Yngve Berg wrote:
swconfig dev switch0 enable_vlan 1
swconfig dev switch0 vlan 1 set ports "1 2 3 4 6"
swconfig dev switch0 vlan 2 set ports "0 5t"
swconfig dev switch0 vlan 2 set vid 911
swconfig dev switch0 set apply


The first command is wrong and the second is not needed

Code:
swconfig dev switch0 set enable_vlan 1
swconfig dev switch0 vlan 2 set ports "0 5t"
swconfig dev switch0 vlan 2 set vid 911
swconfig dev switch0 set apply


But with this method I have no access to the WebIF of the modem.
Actually, with other methods I do.


I have made the required changes now (I think):

Switch Config Disabled:


Interface Setup:


Commands In Startup:


VLAN Output:


WAN Status:


But as you can see from the last screenshot I still have no connection.

I must be missing something? I feel I am close but missing the final bit. Smile

@ho1Aetoo: I am slightly confused with the last comment you said.. Should I expect this to work, or are you saying it wont work?

Thanks for the help guys, I appreciate it.
dale_gribble39
DD-WRT Guru


Joined: 11 Jun 2022
Posts: 1899

PostPosted: Tue Mar 21, 2023 18:06    Post subject: Reply with quote
Why isn't the WAN interface the same as the VLAN/VID?

EDIT: Nevermind. I see that behavior has changed compared to previous known practices.

_________________
"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


Last edited by dale_gribble39 on Tue Mar 21, 2023 19:18; edited 1 time in total
Goto page Previous  1, 2, 3  Next Display posts from previous:    Page 2 of 3
Post new topic   Reply to topic    DD-WRT Forum Index -> Atheros WiSOC 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 cannot attach files in this forum
You cannot download files in this forum