8
x86 questions (self.openwrt)
submitted 11 months ago by mfat to c/openwrt

I've converted my Asus PN40 mini pc into an openwrt router. Everything seems to be working fine. But since the pc has only one ethernet port I'm using a noname USB to ethernet converter as the second NIC for WAN. Is there a better solution? Are proper USB ethernet adapters a thing? Preferably with Intel chip?

Also i can't get the PC's intel 9000 series wireless chip to work in AP mode. I have hooked an old edimax repeater to the lan port as wifi AP but it's a wireless N device.

Should i invest on a better AP? My ISP connection is capped at 300mbs. Can you recommend a cheap wifi 6 AP?

Also I have 2 internet connections.

Is it a good idea use the wifi in client mode, connect to the first internet through wifi and bond its internet connection with the wired wan?

Thanks for you help in advance.

top 1 comments
sorted by: hot top controversial new old
[-] ptz@dubvee.org 4 points 11 months ago

USB to ethernet converter as the second NIC for WAN. Is there a better solution?

Since your ISP is 300 Mbps, you could use a VLAN for your WAN without being limited by a 1 Gbps ethernet port. I did that on a single-NIC thin client I was using as my router, and it worked great for my 400 Mbps service. You'll also need a VLAN-capable switch to pull this off though.

Basically, create a VLAN in your switch for the WAN. Configure one port on your switch so that its untagged traffic gets tagged for the WAN VLAN. Plug your ISP modem into that.

Configure the switch port your router is connected to so that it's a trunk port with the WAN VLAN available to it. In OpenWRT, make a new interface on your physical NIC (eth0.X) where the .X is the VLAN number you created for WAN. Set that new port as the WAN and put it into the correct zones and enable masquerading for it.

Also I have 2 internet connections. Is it a good idea use the wifi in client mode, connect to the first internet through wifi and bond its internet connection with the wired wan

I don't know that I'd call it a bad idea, I had a similar setup with a mobile hotspot but I didn't bond it; just used it as a backup connection I could switch to if needed (main ISP down, etc).

If your second connection is available over ethernet, you could create a second WAN VLAN and bring it into OpenWRT like I described above. Them use mwan or something to manage them.

this post was submitted on 25 Nov 2023
8 points (100.0% liked)

OpenWrt

300 readers
1 users here now

OpenWrt news, tools, tips and discussion. Related projects, such as DD-WRT, Tomato and OpenSAN, are also on-topic.

Rules

  1. Stay on topic: All posts should be related to OpenWrt and related projects, including DD-WRT, Tomato, OpenSAN, and more!

  2. No offensive or low-effort content: Don't post offensive or unhelpful content. Be nice - keep it civil and friendly!

  3. Describe images/videos, no memes: Please include a text description when sharing images or videos.

  4. No self-promotion spam: Active community members can post their apps if they answer any questions in the comments. Please do not post links to your own website, YouTube, blog content, or communities.

  5. No reposts or rehosted content: Share only the original source of an article, unless it's not available in English, behind a paywall or requires logging in (like Twitter). Avoid reposting the same topic from other sources.

  6. No editorializing titles: You can add the author or website's name if helpful, but keep article titles unchanged.

  7. No piracy: Do not share links or direct people to pirated content.

  8. No unauthorized polls, bots, or giveaways: Do not create polls, use bots, or organize giveaways without first contacting mods for approval.

  9. No affiliate links: Posting affiliate links is not allowed.

founded 1 year ago
MODERATORS