Hey guys the title says it all. I am using ClearOS 7 and I would like to use the wifi radio in my server to connect to my buildings wifi using this connection as my WAN interface. Right now I cant even find the apps-wireless module in the repos. So my questions are 1) where is the wireless software for ClearOS and how would one configure the bridge between the wireless and the wired?
Share this post:
Responses (17)
-
Accepted Answer
I have resolved... after a lot of checks I discovered that the problem was related to the dhcp server.
it was releasing an incorrect gateway address to the pc connected to the lan. I have manually configured the dnsmasq et voila now my ClearOs box based on intel Nuc is working!
<WiFiAccessPoint><EthernetLAN><ClearOSBox><WiFi> -
Accepted Answer
You need to make sure that your wireless is configured as an 'External' (extif) interface in /etc/clearos/network.conf. This will make it so that it knows that it is to use NAT. You also MUST be in 'gateway' mode in that file.
The tests for the workstation behind ClearOS is to do the following:
1) Ping the LAN interface IP address
2) Ping the EXTERNAL interface IP address
3) Ping the IP addressed specified as the gateway IP address of your ClearOS server from ClearOS
3) Ping the IP addressed specified as the gateway IP address of your ClearOS server from the workstation.
If you cannot do #1, you have a problem with your LAN connectivity. If you cannot do #2, then ClearOS is not the gateway for your workstation. If you cannot do #3, then you have connectivity issues with your ISP. If you cannot do #4, then ClearOS is not properly functioning as a gateway -
Accepted Answer
I don't know how to set up a WiFi NIC as as WAN interface, but I think wpa_supplicant is the right way to go.
Are you saying ClearOS is allowing itself full internet access but blocking connected PC's?
What is the output of:lspci -k | grep Eth -A 3
uname -r
cat /etc/clearos/network.conf
ifconfig | grep HWaddr -A 1
Is your WAP a true WAP or router acting as a WAP? If it is a router acting as a WAP have, have you connected ClearOS to its LAN or WAN? If its LAN, did you remember to disable its DHCP server and configure its LAN IP to be different from ClearOS and outside Clearos' DHCP scope? -
Accepted Answer
Hi Nick I'm interested in the same topic:
so currently I'm using ClearOS Community release 6.7.0 (Final) with and eth0 and a wlan0
As the build's wifi router where I live is configured to give the connectivity only for one pc (apartment) I'm interested to connect my ClearOs using wlan0 to the build's router and then to connect all my devices using an AP connected to the eth0 connection.
The configuration of the build's internet router is 192.168.0.1 and the admin configured it in order assign automatically 192.168.0.2 to my wifi connection using the mac address of the ClearOS box.
After downloading wpa_ supplicant i have been able to manually configure the ClearOS to connect to the Internet and I'm able to use internet from the command line of it.
then
I have configured eth0 as LAN 192.168.1.10 , configured the dhcp server on eth0 and every PC I connect to the AP is managed correctly from the DHCP server
configured the box to act as a gateway
unfortunately whatever is the device I connect this is unable to use Internet. The situation sound like the problem is related to the routing from eth0 and wlan0.
I have tried to activate the proxy on clear box and this partially solved the problem so currently , if I configure the proxy also on the PC side I'm able to use http/https protocol to surf internet. But I'm unable to use different protocol ex. pop, imap, Skype etc are not working.
please help :-)
Internet Build Router <WIFI> ClearOS <-lan cable/eth0-> AccesPoint <WiFi> Client PC's -
Accepted Answer
-
Accepted Answer
Good day Nick Howitt, I have a hard time installing my Intel 3160 MiniPCIE WIFI Card into ClearOS. I try everything in my book. The card is detected but does not appear anywhere in ClearOS. Any help would be nice.
Best Regards
Easy-admin.ca
P.S I added a picture of my card setup.
Location [ View Larger Map ]
-
Accepted Answer
-
Accepted Answer
-
Accepted Answer
Presumably you have another NIC which you edited out from the earlier "lspci -k | grep Eth -A3" results.
The WiFi NIC is being recognised by ClearOS and is using the iwlwifi driver. I am not sure now how to get it assigned a interface ID (e.g. enp1s0) and I'd need to research it. For the moment can you install wpa_supplicant using yum and configure it (you'll need to research that bit).
Also what is the output of:ls /sys/class/net
Please put all screen output between code tags (the little icon above the test box with a "<>" in it). -
Accepted Answer
I really appreciate your help!
[root@clear iwlwifi-3160-ucode-16.242414.0]# lspci -kn | grep 03:00.0 -A 4
03:00.0 0280: 8086:08b3 (rev 83)
Subsystem: 8086:0070
Kernel driver in use: iwlwifi
You have new mail in /var/spool/mail/root
[root@clear iwlwifi-3160-ucode-16.242414.0]# ifconfig | grep flags -A 1
enp1s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.0.7 netmask 255.255.255.0 broadcast 192.168.0.255
--
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
Aaaannnd
[root@clear iwlwifi-3160-ucode-16.242414.0]# lspci -kn | grep 03:00.0 -A 4
03:00.0 0280: 8086:08b3 (rev 83)
Subsystem: 8086:0070
Kernel driver in use: iwlwifi -
Accepted Answer
-
Accepted Answer
-
Accepted Answer
randy ruiz wrote:Ok so I get the WLAN interface up and connected to the building wifi. at that point will it appear in the Clear gui as an interface that I can designate as WAN?
Possibly but I'm not sure. What is the output of "ifconfig", and if using a PCI Wireless NIC something like "lspci -k | grep Eth -A3" which may not pick out the wireless NIC, but let's try. If it does not, can you give the output of lspci" between code tags and I'll edit it down. -
Accepted Answer
Nick Howitt wrote:
That does not explain why you want to bridge WAN and LAN. If I understand correctly you just want to use ClearOS as a gateway. If you manage to configure your wireless as a WAN then you should configure the wired connection as a LAN. The NIC's must be on different subnets. Also set up the DHCP server on your LAN NIC.
For the wireless, I am not sure app-wireless is going to help. I think that is for using a ClearOS wireless NIC as an access point and includes hostapd. At a guess you need something like wpa_supplicant which you then have to configure with your wireless details. This will be a manual configuration.
Ok so I get the WLAN interface up and connected to the building wifi. at that point will it appear in the Clear gui as an interface that I can designate as WAN? -
Accepted Answer
That does not explain why you want to bridge WAN and LAN. If I understand correctly you just want to use ClearOS as a gateway. If you manage to configure your wireless as a WAN then you should configure the wired connection as a LAN. The NIC's must be on different subnets. Also set up the DHCP server on your LAN NIC.
For the wireless, I am not sure app-wireless is going to help. I think that is for using a ClearOS wireless NIC as an access point and includes hostapd. At a guess you need something like wpa_supplicant which you then have to configure with your wireless details. This will be a manual configuration.
[edit]
Deleting your duplicate post to tidy the thread
[/edit] -
Accepted Answer
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »