Announcement

Collapse
No announcement yet.

How to Change to a STATIC IP when et0 not defined

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to Change to a STATIC IP when et0 not defined

    Hi,

    Recently reinstalled Hardy and it created my /etc/network/interface so that it only contains the following 3 lines even though I have wireless connectivity to the 'Net.

    auto lo
    iface lo inet loopback
    auto ath0

    I tried to add 'inet eth0 inet dhcp' to the end but I lose connectivity. My goal is to set a static IP but I can't even define DHCP.

    What gives? How can this work? Have some settings been moved elsewhere?

    I see my DHCP IP address when I do a ipconfig and it shows up under ath0. I also have a eth0 show up when I do a ipconfig.

    Thanks,
    Rich




    #2
    Re: How to Change to a STATIC IP when et0 not defined

    These may be of interest.

    http://ubuntuforums.org/showthread.php?t=200041

    http://www.cyberciti.biz/faq/setting...terfaces-file/

    Comment


      #3
      Re: How to Change to a STATIC IP when et0 not defined

      Sorry but they don't seem to be of any help in my case.

      IFCONFIG brings back...

      --------------------------------------------------------------------------------------------------------------------

      ath0 Link encap:Ethernet HWaddr 00:1f:3a:08:5d:0c
      inet addr:192.168.1.102 Bcast:192.168.1.255 Mask:255.255.255.0
      inet6 addr: fe80::21f:3aff:fe08:5d0c/64 Scope:Link
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:100 errors:0 dropped:0 overruns:0 frame:0
      TX packets:163 errors:1 dropped:1 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:56405 (55.0 KB) TX bytes:23541 (22.9 KB)

      eth0 Link encap:Ethernet HWaddr 00:1e:37:88:bd:41
      UP BROADCAST MULTICAST MTU:1500 Metric:1
      RX packets:0 errors:0 dropped:0 overruns:0 frame:0
      TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:1000
      RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
      Base address:0x1840 Memory:fe000000-fe020000

      lo Link encap:Local Loopback
      inet addr:127.0.0.1 Mask:255.0.0.0
      inet6 addr: ::1/128 Scope:Host
      UP LOOPBACK RUNNING MTU:16436 Metric:1
      RX packets:6 errors:0 dropped:0 overruns:0 frame:0
      TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
      collisions:0 txqueuelen:0
      RX bytes:452 (452.0 B) TX bytes:452 (452.0 B)

      wifi0 Link encap:UNSPEC HWaddr 00-1F-3A-08-5D-0C-00-00-00-00-00-00-00-00-00-00
      UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
      RX packets:3120 errors:0 dropped:0 overruns:0 frame:2017
      TX packets:276 errors:0 dropped:1 overruns:0 carrier:0
      collisions:0 txqueuelen:199
      RX bytes:510723 (498.7 KB) TX bytes:36853 (35.9 KB)
      Interrupt:22

      ------------------------------------------------------------------------------------------------------------------------------------------------

      I am guessing there has to be some kind of relationship between ath0 and eth0.

      Thanks,
      Rich

      Comment


        #4
        Re: How to Change to a STATIC IP when et0 not defined

        Your wireless is screwed up. Note that ath0 (a deprecated nomenclature) and wlan0 have the identical hardware address.

        What is your wireless chip -- Atheros? If so, you should be using the ath5k driver. If you're running madwifi, dump it:

        Code:
        sudo apt-get purge madwifi-tools
        Code:
        sudo modprobe ath5k
        for starters.


        p.s. For static IP, here is good guidance:

        http://kubuntuforums.net/forums/inde...opic=3100052.0

        Comment


          #5
          Re: How to Change to a STATIC IP when et0 not defined

          Hi,

          I ended up removing Networking and installing WICD. Now I connect much faster.

          Thanks,
          Rich

          Comment

          Working...
          X