Results 1 to 7 of 7

Thread: Changing mac address and setting ip manually

  1. #1

    Default Changing mac address and setting ip manually

    Hi,
    I was configuring my internet conenction with knetworkmanager's latest version. Because I have to set up a static ip and change my ethernet's MAC address.

    With yast, it is limited - No mac changing is allowed and I don't know what to write to hostname after I choose to configure ip address manually.

    When I switch to init 3, all the configuration set by knetworkmanager is going away. How can I get internet connection while on init 3? Thanks

    To change the mac address I was adding these lines to /etc/init.d/boot.local
    Code:
    /sbin/ifconfig eth0 down
    /sbin/ifconfig eth0 hw ether AA:11::::
    /sbin/ifconfig eth0 up
    Is there a way like this (edit a file) to set my ip address manually?

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,241

    Default Re: Changing mac address and setting ip manually

    What about YaST > Network > Network devices and setting to "traditional method with ifup" there. And of course then fill in the fields needed.

    IMHO this is still the 'normal' way for a system manager to configure a NIC. And it will then start at runlevel 3 (and above). The usage of networkmanagers by the end-user is because when the end user switches on a laptop somewhere he has no system manager available. It works when an end-user is active in a GUI, thus runlevel 5 and loged in.
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    19,975
    Blog Entries
    14

    Default Re: Changing mac address and setting ip manually

    I use static IPs all over the place, always done that through Yast. Never changed the MAC address though. Sure you need that?

    H Henk, deze was ik net aan het doen.....
    Last edited by Knurpht; 09-Sep-2009 at 01:06. Reason: hcvv posted while I was writing
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  4. #4
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,241

    Default Re: Changing mac address and setting ip manually

    Maybe reis3k now comes to the conclusion that it is only those two guys from the Netherlands.
    Henk van Velden

  5. #5

    Default Re: Changing mac address and setting ip manually

    Thanks guys, I used yast's network manager to set my ip manually. But at first time, it was hard for me, cos all the settings are spread to individual tabs, dns, gateway, ips are all in different tabs.

    For the mac, the method that I mentioned works flawlessly.

  6. #6
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,241

    Default Re: Changing mac address and setting ip manually

    They are in different tabs because they are different things. You could e.g. add an IP address to a new NIC, but that does not involve your DNS server configuration.
    Henk van Velden

  7. #7

    Default Re: Changing mac address and setting ip manually

    Quote Originally Posted by hcvv View Post
    Maybe reis3k now comes to the conclusion that it is only those two guys from the Netherlands.
    Maybe, but then only because he ignored this one here:

    openSUSE Forums - View Single Post - KDE is crushed after latest "zypper dup".

Posting Permissions

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