Results 1 to 8 of 8

Thread: How do I change Eth1 to Wlan0?

  1. #1
    Join Date
    Feb 2006
    Location
    Winkler, MB. CA
    Beans
    854
    Distro
    Ubuntu 9.10 Karmic Koala

    How do I change Eth1 to Wlan0?

    I used to be able to change eth1 to wlan0 in etc/iftab but that is deprecated now I think.

    How do I go about doing this?

  2. #2
    Join Date
    Jan 2009
    Location
    Millbury, MA
    Beans
    414
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I change Eth1 to Wlan0?

    Quote Originally Posted by Floppyjoe View Post
    I used to be able to change eth1 to wlan0 in etc/iftab but that is deprecated now I think.

    How do I go about doing this?
    What is it that you are trying to accomplish, exactly?
    Perhaps then I can help.

    tgeer
    "Programming is an art form that fights back."

    HP Pavillion DV9500T 17" Notebook • 2.2GHz Core2 Duo • 4GB RAM • Nvidia Geforce 8600M GS 512MB
    Running Ubuntu 10.04 [64-bit]+Gnome+Compiz from HD / Puppy Linux 4.2.1SMP in RAM from USB Flash

  3. #3
    Join Date
    Dec 2009
    Beans
    Hidden!

    Re: How do I change Eth1 to Wlan0?

    you can't. you mean how do you setup wireless?

  4. #4
    Join Date
    Feb 2006
    Location
    Winkler, MB. CA
    Beans
    854
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How do I change Eth1 to Wlan0?

    ok I searched hi and lo and found this after a few hours.

    Code:
    sudo gedit /etc/udev/rules.d/70-persistent-net.rules
    you will see:
    # This file maintains persistent names for network interfaces.
    # See udev(7) for syntax.
    #
    # Entries are automatically added by the 75-persistent-net-generator.rules
    # file; however you are also free to add your own entries.

    # PCI device 0x1969:0x1062 (atl1c)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:26:22:4c:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

    # PCI device 0x14e4:0x4315 (wl)
    SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="0c:60:76:XX:XX:XX", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
    I just changed the eth1 here to wlan0

    Thanks for your help guys...some programs will not work properly if it thinks a wireless connection is an ethernet connection...

    then reboot...or restart networking...
    Last edited by Floppyjoe; January 24th, 2010 at 06:58 AM.

  5. #5
    Join Date
    Dec 2009
    Beans
    Hidden!

    Re: How do I change Eth1 to Wlan0?

    interesting. what applications will not work if it recognizes it as eth0?

  6. #6
    Join Date
    Feb 2006
    Location
    Winkler, MB. CA
    Beans
    854
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How do I change Eth1 to Wlan0?

    Quote Originally Posted by d3v1150m471c View Post
    interesting. what applications will not work if it recognizes it as eth0?

    Well SWscanner does not work...still doesn't even after the change...maybe network manager is interfering with it...

  7. #7
    Join Date
    Feb 2006
    Location
    Winkler, MB. CA
    Beans
    854
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: How do I change Eth1 to Wlan0?

    Don't do this cause the interface gets renamed for some reason after rebooting a few times. Then I had to remove bcmwl-kernel-sources and reintall it to get Ubuntu to stop that behaviour.

  8. #8
    Join Date
    Jul 2009
    Location
    Slovakia
    Beans
    22
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: How do I change Eth1 to Wlan0?

    for me, remowing "bcmwl-kernel-sources" and "bcmwl-modaliases" helped and I am able to use the conky feature that shows wireless link quality now.

Bookmarks

Posting Permissions

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