Results 1 to 6 of 6

Thread: Please Help!!! I need to remap my network card.

  1. #1
    Join Date
    May 2008
    Beans
    17

    Please Help!!! I need to remap my network card.

    Please help!

    I am trying to install Maple 11 on my laptop (Toshiba A305-S6825). However,
    installation program can not determine the host ID of my system, and hence
    I can not complete the activation process. I think that this is because it looks
    for network card labeled eth0. Unfortunately, I had to disable my lan card in bios,
    as this is the only way to boot Ubuntu without installing different kernel, which
    may not support my other hardware. So I was wandering if there is a way
    to make eth0 to point to my wireless card.

  2. #2
    Join Date
    Aug 2005
    Location
    san francisco
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Please Help!!! I need to remap my network card.

    If you're running 8.04, you could add an interface using iw. Assuming that your WiFi interface is wlan0, it would look something like this:

    Code:
    sudo iw dev wlan0 interface add eth0 type station
    After that, run 'ifconfig -a' and you should see a new interface with the same MAC address as wlan0. However if instead of 'eth0' it gets named something like 'eth0_rename', you will need to read this:

    http://linuxwireless.org/en/users/Download#Knownissues

    ...and follow the instructions on changing the udev rules. If you need to delete an interface (ex: 'eth0_rename') to try again, it's:

    Code:
    sudo iw dev eth0_rename interface del
    Last edited by gradedcheese; June 2nd, 2008 at 05:11 AM.

  3. #3
    Join Date
    May 2008
    Beans
    17

    Re: Please Help!!! I need to remap my network card.

    Quote Originally Posted by gradedcheese View Post
    If you're running 8.04, you could add an interface using iw. Assuming that your WiFi interface is wlan0, it would look something like this:

    Code:
    sudo iw dev wlan0 interface add eth0 type station
    After that, run 'ifconfig -a' and you should see a new interface with the same MAC address as wlan0. However if instead of 'eth0' it gets named something like 'eth0_rename', you will need to read this:

    http://linuxwireless.org/en/users/Download#Knownissues

    ...and follow the instructions on changing the udev rules. If you need to delete an interface (ex: 'eth0_rename') to try again, it's:

    Code:
    sudo iw dev eth0_rename interface del
    Thank you for a quick reply! When I run the first command,
    I get "iw: command not found". What do I do to install it?
    Sorry, I am really new to Linux.

  4. #4
    Join Date
    Aug 2005
    Location
    san francisco
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Please Help!!! I need to remap my network card.

    'iw' should be present on any 8.04 ('Hardy Heron') system. Are you running an older version of Ubuntu? It's a relatively new command for mac80211 drivers. Actually, that said, it would only work for you if you have a wireless chipset that uses mac80211 anyhow. Perhaps there's an easier way to do this, such as forcing the desired mapping (ie: naming your WLAN interface 'eth0') by editing some udev rules.

  5. #5
    Join Date
    Aug 2005
    Location
    san francisco
    Beans
    Hidden!
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: Please Help!!! I need to remap my network card.

    Actually, try editing this:

    Code:
    sudo gedit /etc/udev/rules.d/70-persistent-net.rules
    ...you should be able to change the desired name of your WLAN interface there. Note that they're detected by name and MAC address.

  6. #6
    Join Date
    May 2008
    Beans
    17

    Re: Please Help!!! I need to remap my network card.

    Thanks gradedcheese,

    You were very helpful! However, right after my second post,
    automatic update icon popped up and offered to update my
    kernel headers and stuff. After the update, I enabled lan
    card, and... it worked. I installed Maple without any
    problems!!!

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
  •