Results 1 to 6 of 6
  1. #1
    StridingFigure
    Guest
    Help with IFconfig!
    So I was playing around with the ifconfig command (probably not a smart thing to do when you don't know what you are doing) and I did something really stupid
    %sudo ifconfig en1 10.0.1.1

    from then on I haven't been able to communicate with my airport wireless router.

    Any suggestions?

  2. #2

    inflexion's Avatar
    Member Since
    Jan 12, 2005
    Location
    /home/sheffield/UK
    Posts
    1,278
    Specs:
    12" 1Ghz PB 768Mb 10.4.5 30Gb Video iPod 40Gb 3G iPod 1Gb iPod Shuffle
    use the sys prefs to change it back as im not too sure what that will have done, cant be certain but it might have set you en1 interface to 10.0.1.1?

  3. #3

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    You have use the command to change the ip address for en1. I believe if you reboot your system you should be back to normal.
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

  4. #4

    witeshark's Avatar
    Member Since
    Mar 09, 2004
    Location
    Miami FL
    Posts
    2,860
    Specs:
    G4 1Ghz OS X 10.4.7
    NAME
    ifconfig - configure network interface parameters

    SYNOPSIS
    ifconfig [-L] [-m] interface [create] [address_family]
    [address[/prefixlength] [dest_address]] [parameters]
    ifconfig interface destroy
    ifconfig -a [-L] [-d] [-m] [-u] [address_family]
    ifconfig -l [-d] [-u] [address_family]
    ifconfig [-L] [-d] [-m] [-u]

    DESCRIPTION
    Ifconfig is used to assign an address to a network interface and/or con-
    figure network interface parameters. Ifconfig must be used at boot time
    to define the network address of each interface present on a machine; it
    may also be used at a later time to redefine an interface's address or
    other operating parameters.

    The following options are available:
    address
    For the DARPA-Internet family, the address is either a host name
    present in the host name data base, hosts(5), or a DARPA Internet
    address expressed in the Internet standard ``dot notation''.

    It is also possible to use the CIDR notation (also known as the
    slash notation) to include the netmask. That is, one can specify
    an address like 192.168.0.1/16.

    address_family
    Specify the address family which affects interpretation of the
    remaining parameters. Since an interface can receive transmis-
    sions in differing protocols with different naming schemes, spec-
    ifying the address family is recommended. The address or proto-
    col families currently supported are ``inet'', ``inet6'',

    dest_address
    Specify the address of the correspondent on the other end of a
    point to point link.
    there is more, but this is likely beyond what's needed

  5. #5
    StridingFigure
    Guest
    Mmm....
    Rebooting is always an option - tried that, no luck.

    And I had read the manual thing before but I still don't get what that command would cause...

  6. #6

    rman's Avatar
    Member Since
    Dec 24, 2002
    Location
    Los Angeles, California
    Posts
    12,584
    Specs:
    2 x 3.0GHz Quad-Core, 6GB OS X 10.6.8 | 15in MacBook Pro 2.2GHz OS X 10.6.8 | 64GB iPad 2 WiFi
    Cool
    Okay, now we need some more information. How are you connecting to the internet?

    Here is what comes to mind, run the system preferences application -> network or under the Apple menu bring up the network preferences. I am not near my Apple system at this time so I am not sure of the menu names. Once you are in the network tool, be sure that DHCP is turn on. Hopefully you can override your changes there.
    Life isn't about waiting for the storm to pass, It's about learning to dance in the rain!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Number of interfaces in ifconfig
    By imfromwales in forum OS X - Operating System
    Replies: 0
    Last Post: 11-16-2013, 02:32 AM
  2. ifconfig - how to setup automatically
    By CyberAlien in forum OS X - Development and Darwin
    Replies: 0
    Last Post: 06-12-2007, 03:47 AM

Posting Permissions

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