Last active
September 30, 2022 12:58
-
-
Save odevodyssey/bd16cd8eb4707ef14c4d59d6fb15a406 to your computer and use it in GitHub Desktop.
Wireless Config OpenWrt Raspberry Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config wifi-device 'radio0' | |
option type 'mac80211' | |
option path 'platform/soc/fe300000.mmcnr/mmc_host/mmc1/mmc1:0001/mmc1:0001:1' | |
option country 'US' | |
option htmode 'VHT40' | |
option hwmode '11a' | |
option channel 'auto' | |
option cell_density '0' | |
config wifi-iface 'default_radio0' | |
option device 'radio0' | |
option network 'lan' | |
option encryption 'psk2' | |
option key 'Str0ngWiF1P4sswOrd' | |
option ssid 'Raspberry Pi' | |
option mode 'ap' |
hey Odevodyssey, i cant thank you enough for your time, and will to help
total strangers on the internet. if more people were like you, this place
we call Earth would be much nicer place.
can i trouble you to read this, its my post describing my trouble. again,
im sorry for bad formatting and being network illiterate.
https://forum.openwrt.org/t/traffic-not-going-through-vpn-tunnel-on-raspberry-pi-with-openwrt/138224
thank you from the bottom of my heart!
@egzakutacno You're welcome, I appreciate hearing that.
We all learn in different ways, and often enough through videos, through blogs, and even interacting with random strangers on then internet. You'll learn more as you go along and troubleshoot. It's the best way to learn, in my opinion, and also the most frustrating.
You're indeed correct the world would be a better place that way, but alas, here we are.
I'll check out your OpenWrt forum post to get more details.
thanks dude, you are someone i'd like to have beer with someday :)
@egzakutacno You're welcome! maybe one day 😊
Did those screen shots make sense? As you can see i have everything set up
the way you explained, but nothing changes?
Hi @egzakutacno, Yes i did review those screenshots. You can see my reply in the OpenWrt thread.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
@egzakutacno You're welcome.
It seems like there is some confusion in your understanding, that I hope I can clear up. First, can you confirm to me that you are trying to set up a Raspberry Pi as a travel router as done in NetworkChuck's video?
First, according to your response, you should have your LAN and WAN in different groups (I assume that you mean networks here). Your WAN zone, more specifically, the WAN interface, is the zone / interface that is used to get your Internet connection. You are effectively joining an internet connected network with this zone. The LAN zone / interface, is the local network. This is what you would connect your devices to, that would then use the WAN zone / interface for internet. So in this regard, they serve different purposes and should be different. More specifically, the networks of your WAN zone / interface and LAN zone / interface should be different. (Zones and Interfaces are different, but in the context of this conversation, I am using them in the same reference, but they are not the same)
Now, for using the built in WiFi to run two radios (a WAN and a LAN), is probably not a good idea. Quite honestly, I forget how many active radios the Raspberry Pi's WiFi chip can run, but in the way you are trying to use it, you should only run one active radio at a time. By this, I mean active WiFi network, whether it's acting as an Access Point, or a client. Especially in this scenario, they would be operating in two different modes.
My suggestion is to run the built in WiFi as a client. This should be your WAN interface (or WWAN). The USB WiFi adapter should act as your LAN interface (or WLAN), for your personal devices to connect to.
It honestly seems like you have a bad / low quality USB WiFi adapter, and should probably get a newer one, that supports WiFi 5 at the least. You should be getting faster speeds than 1 mbs with that, assuming you have the right driver too.