Discussion in 'Server Operation' started by av1611, Aug 9, 2009.

  1. av1611

    av1611 New Member


    I have a Mint7 setup that acts as DHCP server for my network. I want to eliminate my crappy Netgear WAP.

    I have a WiFi Card that I want to use in place of the WAP.

    Currently, the system is at and the Gateway is

    DHCP serves to the clients and works fine on the LAN.

    If I add the WiFi card, is it as simple as giving it a static IP like say then set it in adhoc mode?

    Question 1: Is that all I have to do?
    Question 2: If so, how do I put the card in "Ad Hoc" mode?

  2. av1611

    av1611 New Member

    Ok, I've been reading and can someone tell me if this will work???

    I have 2 NIC's in a box. One of them is external and doesn't matter for this question I don't think.

    The other NIC is It hosts an iSCSI Target and SMB Share on my LAN. It's works great.

    I have another PC that has NIC at and it hosts my DHCP (Scope: server for my LAN.

    I have a hardware firewall at and it serves inet to the LAN on a different external connection.


    I currently have a WAP (cheap p.o.s. netgear router in WAP mode that keeps overheating). I want to eliminate the WAP device and add a WiFi NIC to the Top PC above.

    So, on the first system I would have:

    NIC 1: External IP and External Gateway
    NIC 2: Static IP
    Proposed WiFi NIC 3: Static


    If I bridge NIC 2 and NIC 3 like this:

    # brctl addbr br0
    # brctl addif br0 eth0
    # brctl addif br0 eth1

    Then I simply put the WiFi in Ad Hoc, will another WiFi in Ad Hoc (for example my laptop) be able to "see" (DHCP) & (Gateway) (via WiFI through the bridge to and on to the LAN)?

    Also, can the two NIC's be bridge together even though they are the SAME subnet?

  3. av1611

    av1611 New Member


    I got this working... kinda...

    brctl addbr br0
    brctl addif br0 eth2
    brctl addif br0 wlan0
    ifconfig eth2 promisc
    ifconfig wlan0 promisc
    ifconfig br0 netmask up

    in /etc/sysconfig/network-scripts/ifcfg-wlan0:


    I am able to connect with my laptop in Linux or Windows and surf the net and my LAN.
    Question 1:
    I have to create the server every time I boot. How can I make this permanent?

    Question 2:
    There is no form of security on the ad-hoc. That's bad. I'd either like to not broadcast the ssid or if that's not an option then I'd like to encrypt it. Can someone show me how?

  4. av1611

    av1611 New Member

Share This Page