Results 1 to 2 of 2

Thread: Setting a static IP in /etc/network/interfaces

  1. #1
    Join Date
    2013-Dec
    Posts
    1

    Angry Setting a static IP in /etc/network/interfaces

    Hi.

    I forgot to add a few things.

    I'm running Kali 1.0 32bit from my HDD installation GNOME.

    I'm having a problem with my wlan1 (Atheros USB2.0 WIFI dongle). I can't seem to set it to a statical IP. When I try, it wont configure and wont work.

    Output from commands:

    ifdown/ifup wlan1
    interface wlan1 is not configured

    I want my IP to be xxx.xxx.xxx.138
    It wont. I tried EVERY tut on Google. Now I came here.

    Here is my interface file regarding wlan1.

    auto wlan1
    iface wlan1 inet static
    address 192.168.1.138
    netmask 255.255.255.0
    gateway 192.168.1.1

  2. #2
    Join Date
    2013-Mar
    Posts
    85
    So if after setting all the configuration parameters in your /etc/network/interfaces files you do:

    Code:
    /etc/init.d/networking restart
    It still does not work ?
    How about setting the static IP using ifconfig just to see if that works.

Similar Threads

  1. Setting a Static IP Problem
    By infes7 in forum TroubleShooting Archive
    Replies: 0
    Last Post: 2022-11-20, 02:57
  2. Setting up a static IP address
    By Mikey in forum General Archive
    Replies: 8
    Last Post: 2020-08-04, 13:19
  3. /etc/network/interfaces keeps resetting on reboot
    By lastusername in forum TroubleShooting Archive
    Replies: 4
    Last Post: 2017-11-02, 21:21
  4. Bridging network interfaces
    By acib708 in forum General Archive
    Replies: 0
    Last Post: 2013-08-23, 03:11

Posting Permissions

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