Forums

×

Warning

JUser: :_load: Unable to load user with ID: 159091
randy ruiz
randy ruiz
Offline
Resolved
0 votes
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?
Friday, January 08 2016, 01:59 AM
Share this post:
Responses (17)
  • Accepted Answer

    Marcello
    Marcello
    Offline
    Monday, November 28 2016, 09:20 PM - #Permalink
    Resolved
    0 votes
    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>
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2016, 11:40 PM - #Permalink
    Resolved
    0 votes
    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
    The reply is currently minimized Show
  • Accepted Answer

    Monday, November 21 2016, 07:36 PM - #Permalink
    Resolved
    0 votes
    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?
    The reply is currently minimized Show
  • Accepted Answer

    Marcello
    Marcello
    Offline
    Sunday, November 20 2016, 11:14 PM - #Permalink
    Resolved
    0 votes
    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
    The reply is currently minimized Show
  • Accepted Answer

    Wednesday, July 13 2016, 11:19 AM - #Permalink
    Resolved
    0 votes
    I am not sure what output to expect here, but can you try:
    lspci -k | grep Eth -A 3
    If it returns nothing try an "lspci -k | grep Network -A 3" or a plain "lspci -k" but just cut the output down to the part relevant to your WiFi card (which is a few lines).
    The reply is currently minimized Show
  • Accepted Answer

    Tuesday, July 12 2016, 11:43 PM - #Permalink
    Resolved
    0 votes
    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.
    Attachments:

    Location [ View Larger Map ]

    http://maps.googleapis.com/maps/api/staticmap?center=45.5016889,-73.56725599999999&language=en&maptype=roadmap&zoom=5&size=450x300&sensor=true&markers=color:red|label:S|45.5016889,-73.56725599999999
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 09 2016, 01:29 PM - #Permalink
    Resolved
    0 votes
    Yes, wlp3s0 is the WiFi NIC. Does it not show in the webconfig? You will need wpa_supplicant to configure it as ClearOS does not have native support.
    The reply is currently minimized Show
  • Accepted Answer

    randy ruiz
    randy ruiz
    Offline
    Saturday, January 09 2016, 01:20 PM - #Permalink
    Resolved
    0 votes
    You are correct, I edited out the LAN interface previously. Here is the output of your last command request...

    enp1s0 lo wlp3s0

    So I am assuming the wlp3s0 is the wireless interface. I will install the supplicant.
    The reply is currently minimized Show
  • Accepted Answer

    Saturday, January 09 2016, 09:36 AM - #Permalink
    Resolved
    0 votes
    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).
    The reply is currently minimized Show
  • Accepted Answer

    randy ruiz
    randy ruiz
    Offline
    Saturday, January 09 2016, 01:09 AM - #Permalink
    Resolved
    0 votes
    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
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 08 2016, 08:37 PM - #Permalink
    Resolved
    0 votes
    Can I have a bit more than that:
    lspci -kn | grep 03:00.0 -A 4
    ifconfig | grep flags -A 1
    The reply is currently minimized Show
  • Accepted Answer

    randy ruiz
    randy ruiz
    Offline
    Friday, January 08 2016, 08:11 PM - #Permalink
    Resolved
    0 votes
    So here is the output of the LSPCI command

    03:00.0 Network controller: Intel Corporation Wireless 3160 (rev 83)

    Thats the guy.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 08 2016, 05:57 PM - #Permalink
    Resolved
    0 votes
    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.
    The reply is currently minimized Show
  • Accepted Answer

    randy ruiz
    randy ruiz
    Offline
    Friday, January 08 2016, 05:51 PM - #Permalink
    Resolved
    0 votes
    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?
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 08 2016, 05:35 PM - #Permalink
    Resolved
    0 votes
    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]
    The reply is currently minimized Show
  • Accepted Answer

    randy ruiz
    randy ruiz
    Offline
    Friday, January 08 2016, 05:31 PM - #Permalink
    Resolved
    0 votes
    Nick Howitt wrote:

    1) Don't know :(
    2) Why do you want to bridge WAN and LAN?


    So my building provides 100mb up and down via wireless. I want Clear to connect to that and use it as my WAN so I can access that internet from my wired network.
    The reply is currently minimized Show
  • Accepted Answer

    Friday, January 08 2016, 04:14 PM - #Permalink
    Resolved
    0 votes
    1) Don't know :(
    2) Why do you want to bridge WAN and LAN?
    The reply is currently minimized Show
Your Reply