How to setup Wifi from Shell/Console
-
Here is an example using laptop.
https://unixninja.net/tips+howtos/wireless_access_point/I am having a hard time understanding your problem. Are you trying to remotely install pfSense, then setup wifi? You mention VPN then Linux and i am lost after that… Break your question down into something digestible.. I dunno why you say Linux Vi, but pfSense does use Vi as well.
Do you have physical access to the second box your setting up?
-
My goal is to setup a laptop as access point. Forget what I mentions about VPN and Linux VI.
Issue that I found was that I had no LAN port to access web gui since is was being used for WAN. I was able to access web gui from WAN port 2 days ago and I thought I setup wireless properly but I lost connection and cant get back in. I also dont see the SSID on my other wireless devices.Thanks I will take a look at link.
-
Single Interface Setup
Fresh Install–From Console
Set WAN=ATH0
Set LAN=EM0(Or Similar)
Goto menu#2
Set Static IP's for both LAN and WAN(Seperate subnets)
Set DHCP server on LAN with address ranges.Connect to LAN port on pfsense via ethernet and another computer. Wait for Windows to connect.
Pull up WEBGUI at LAN IP - Setup your WAN as WIFI/AP/SSID///Persist common settings=ON///
Goto DHCP Server tab. Set WAN DHCP server ON with appropriate address's.Now reboot your pfSense laptop.
On reboot from console menu #1 swap your device assignments like this.
LAN=EM0
WAN=ATH0Then you need to go to #2 on the console menu and set your LAN IP and re-enable DHCP server and address ranges for your wireless network. You can now set WAN to receive IP via DHCP client.
Reboot pfsense laptop, disconnect LAN connected computer and when up --Login via wifi to confirm working.
Now you can use the ethernet jack to provide internet to your pf/laptop from your upstream box.
-
Here is an old tutorial.Still relevant.
https://www.youtube.com/watch?v=xd3sHu5uTGw -
Changing the LAN IP from 192.168.1.1 is advisable, especially if using on a network with an exsisting 192.168.1.1 addresss, such as your upstream box.
In the video he does it from the WebGUI. You could also do it on interface swap setup on my instructions from console. My directions are slighly different. Both work. He details AP setup good.
-
I had to update my instructions to include a dhcp server on both interfaces before swap. It really helped. So i started with 192.168.21.1 on WAN and 192.168.22.1 on LAN before swap and after swap 192.168.21.1 ends up as LAN/wifi and WAN is Dynamic Dhcp.
-
Awesome, thank you so much. Ill try this as soon as i have free time.
-
It worked!
Thanks so much!Now I am trying to config OpenVPN… Problems... Guess a different tread for that one.
-
Have you tried this walk-thru for openVPN.
https://www.highlnk.com/2013/12/configuring-openvpn-on-pfsense/
-
sorry update. forget if I looked at that last walk-thought, but the laptop was not able to push out a strong enough signal for my needs.
I ended up getting a second old pc and putting pcfsense on that and then connected an old wireless router.