Find the answer to your Linux question:
Results 1 to 3 of 3
I have put the following in /etc/network/interfaces: Code: auto wlan0 iface wlan0 inet static wireless-key off wireless-channel 1 wireless-mode ad-hoc wireless-essid NNNN address 192.168.1.3 But when I boot up wlan0 ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2007
    Posts
    41

    [SOLVED] startup wi-fi configuration


    I have put the following in /etc/network/interfaces:
    Code:
    auto wlan0
    iface wlan0 inet static
    wireless-key off
    wireless-channel 1
    wireless-mode ad-hoc
    wireless-essid NNNN
    address 192.168.1.3
    But when I boot up wlan0 is down and when I type ifup wlan0 I get:
    Code:
    Don't seem to be have all the variables for wlan0/inet.
    Failed to bring up wlan0.
    And wlan0 still remains down.

  2. #2
    Just Joined!
    Join Date
    Oct 2009
    Posts
    19
    Since you are specifying this interface as static you need to specify Netmask/Network/Broadcast etc.. Check dmesg or the equivalent of /var/log/messages for Linux in your distro and see what is missing..

  3. #3
    Just Joined!
    Join Date
    Jul 2007
    Posts
    41
    Quote Originally Posted by Legolasthehansy View Post
    Since you are specifying this interface as static you need to specify Netmask/Network/Broadcast etc.. Check dmesg or the equivalent of /var/log/messages for Linux in your distro and see what is missing..
    Yeah, thank you! That worked!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •