How to swap eth0 - eth1 with testingudev rules[SOLVED

Hi,
I want to use the udev in testing because my ML-1710P works just out of the box. Of course there is one problem ... I have two network cards and they are recognized by kernel as eth0 the one that uses 8139too (a Realtek I belive) and as eth1 the one that uses tulip. I need to swap their names because I use the tulip one for internet (my ISP uses MAC address for validation)
Previously I had in /etc/modprobe.conf
alias eth0 tulip
alias eth1 8139too
I already tried
KERNEL="eth*", SYSFS{address}="xx-xx-xx-xx-xx-xx", NAME="eth1"
KERNEL="eth*", SYSFS{address}="xx-xx-xx-xx-xx-xx", NAME="eth0"
in a file /etc/udev/rules.d/00_my.rules with correct MAC address (and lines order swapped also), but it won't work.
Any ideea how to do this?
PS: I have MOD_AUTOLOAD="yes" in /etc/rc.conf

I would add the modules to the modules section in rc.conf, in the order you need them to be loaded. It does not change the autoload function, but this modules are loaded just before autoloader starts. So here is a good point to touch the system. In the end, it does what your old modprobe.conf entries did.
The first one will allways be eth0 etc.

Similar Messages

  • Arch server - swaps eth0/eth1 randomly on reboot ? Can you force

    Hi.
    I have a server (quite good spec),  has 2 eth ports
    eth0 = e1000e
    eth1 = tg3
    After reboot they randomly swap over - screwing my network config up...
    Is there a way to force eth0/eth1 to use a particular driver ?
    Any help would be good.
    Thanks

    Hi - I tried removing /etc/udev/rules.d/75-persistent-net-generator.rules.optional and rebooting
    Still occurs...
    Its a really weird bug! Seems that every reboot they swap (it could just be random though)
    Is there any other way of forcing each eth to use a specific driver ?
    Cheers

  • How to swap internal storage with the external sto...

    Is it possible to swap internal storage with the external storage on Nokia X without any damage to phone as well as external sd card? It has been a very popular issue in recent times. If someone has a really good solution then please reply keeping the criteria provided beforehand in mind. Thanks in advance.
    Sent from my Nokia Lumia 530...

    >
    I have a table which is partitioned by Year. Now I want to move the 1 (EX: 1999) year data to another history table.
    For this first I want to swap the 1999FY partition out with an external table and then swap them back to HISTORY table.
    Please help me by providing a sample script for that.
    >
    It seems to me that you use the term "external table" in a wrong context. External table means a flat file, accessed as db object with select.
    But probably, for you "external table" is a normal table that may hold the same structured data as a partition of another table does.
    We have a feature for your requirement called "exchange partition with table".
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14200/statements_3001.htm#i2131250
    Kind regards
    Uwe
    http://uhesse.wordpress.com

  • How to submit the Data with Business rule auto executed with VBA in excel?

    Anyone knows how can I submit the data into planning with the business rule auto executed in planning?
    Currently, I am using HypExecuteCalcScriptEx () + HypSubmitData() in my program that auto executed the business rule prior saving the data into planning.
    However when it try to run HySubmitData(), the Business rule window pops up again and ask user to run the business rule again.
    Therefore, is there a way that I can submit the data with auto execute the business rule?
    many thanks, highly appreciate !!!!!!

    Hi Rafeek,
    One solution is to set the column width after manually or programmatically refresh the PivotTable, for example:
    Private Sub Worksheet_PivotTableUpdate(ByVal Target As PivotTable)
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    End Sub
    Another option is to set the column width, then protect the columns from been updated by the user, before refreshing the PivotTable, unprotect the worksheet. For example:
    Public Sub LockColumnA()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Columns("A").ColumnWidth = 10
    ws.Columns("A").Locked = True
    ws.Protect "123"
    End Sub
    Public Sub UnprotectWorksheet()
    Dim ws As Worksheet
    Set ws = Application.ActiveWorkbook.ActiveSheet
    ws.Unprotect ("123")
    End Sub
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to swap memory card with all apps, data etc.

    Hi,
    Currently I have a 2GB memory card on my E63 (latest firmware), which has 3 'paid-for' applications and several free downloaded applications, loads of mp3s etc. I have purchased a 4GB memory card already, and would like to "do something" that would help me retain the entire contents of the current 2GB memory card, onto the 4GB memory card, s.t. apart from extra file space (which I plan to use for photos, videos, music), all other applications and current content remain available on the new card, w/o any other impact. I believe that backing up and restoring via 'Nokia PC Suite' won't save my apps, and only some of the data. E.g. it won't save the eBooks I have.
    Thanks in anticipation for the help.
    cheers.
    Solved!
    Go to Solution.

    Easy.
    Connect the E63 in "mass storage" mode.
    Go into "My Computer", open the removable drive that will have appeared when you connected the phone. Enable the display of hidden and system objects (this bit is crucial, but I don't know how to do this not being a Windows user myself).
    Once you have the display of all objects enabled, create a new folder on your desktop and then copy all of the files/folders in the phone over to it.
    Next, disconnect the phone and eject the memory card. Insert the new one and format it in the phone (that'll be in your phone's manual).
    Reconnect the phone in mass storage mode. Grab all the objects in the folder that you created on your desktop, including hidden and system objects, and drag'n'drop them over to the phone.
    Disconnect the phone once everything has been copied over -- don't forget to use the "safely disconnect USB device" thing in the computer's notification zone.
    Job done.
    Was this post helpful? If so, please click on the white "Kudos!" star below. Thank you!

  • Replace chmod 666 /dev/dri/card0 with udev rule [Solved]

    Hello everyone ! , im configuring my xorg.conf to use 3d, i have a S3 Unichrome Pro (K8M800) chip , and i have it working right now , but in the manual that i read to do this theres a hack that i want to do the right way:
    Link
    a. First, the permission issue.  This is a dirty hack, but I have not taken any time to learn the innards of udev.  As root, type "chmod 666 /dev/dri/card0".  This will enable a regular user to use dri.  I know I should fix it via udev's config, and I intend on figuring that out in the near future and posting an update to this HOWTO.  For now, I put this command after "modprobe via" in my /etc/rc.d/rc.local file.
    So i was wondering if maybe someone can help me to do the udev trick, as i have in my rc.local the line but if this can be done via udev i want to do it that way.
    I was reading the udev article at the wiki but with all that KERNEL %k %n and that stuff i have no idea how to do it, if u think that its better for me to learn this the hard way maybe some usefull link will be good
    Thank you.

    Starting with /dev/hdd, there is already a rule for this in the default ruleset:
    BUS=="ide", KERNEL=="hd[a-z]", SYSFS{removable}=="1", SYSFS{media}=="cdrom*", NAME="%k", GROUP="optical"
    This creates /dev/hdd as follows:
    brw-rw---- 1 root optical 22, 64 2006-08-10 19:11 /dev/hdd
    so all you need to do is add yourself to the optical group. I don't use gnomebaker myself, but the underlying setup is the same for all burning apps.
    I was going to post a similar answer for your dri problem as well, because we do have this rule by default:
    KERNEL=="card[0-9]*", NAME="dri/%k", GROUP="video"
    which should create /dev/dri/cardN with root:video ownership, but I can't verify that - for some reason, my laptop has
    crw-rw---- 1 root root 226, 0 2006-09-08 09:11 /dev/dri/card0
    instead i.e. GROUP="video" is not applied. If yours shows up as root:video, however, just add yourself to the video group as well.

  • How much swap space should I allocate? [SOLVED]

    Hey guys,
    I am planning on installing Arch Linux KDE on my Lenovo Y470: I5,4 gig ram, Nvidia gt 540M. How much of swap space should I have ?
    And I could use some clarification on "rolling release" as to what it means :-)
    Thanks
    Last edited by pyarch (2011-10-01 03:18:43)

    karol wrote:
    The packages get updated to whatever the upstream calls stable release. You get some updated packages every day.
    There's no Arch Release, but we do have an iso you use to install the system for the first time.
    My today's update:
    [2011-09-30 16:41] Running 'pacman -Syu'
    [2011-09-30 16:41] synchronizing package lists
    [2011-09-30 16:42] starting full system upgrade
    [2011-09-30 16:42] upgraded vim-runtime (7.3.294-1 -> 7.3.322-1)
    [2011-09-30 16:42] upgraded vim (7.3.294-1 -> 7.3.322-1)
    Ok, thanks alot
    fingers crossed, hope my installation goes well

  • How to append calling and called number with translation rules?

    Hello,
    I have one question about digit manipulations.
    How to append calling number and called number with IOS commands?
    For example, when 123 dials 45678, translations have to be performed and the new called number to be 12345678.
    Thank you,
    I will vote this conversation.

    It is not possible with translation rules.
    However, you can do that with a TCL/IVR script.

  • Just purchased and downloaded pe 13. While installing, I found out pe13 is not compatible with my OSX 7.5 system. Any Idea's on how to swap for pe 12? It's not available on the Adobe web site. Any suggestions would be appreciated. Thanks

    Just purchased and downloaded pe 13. While installing, I found out pe13 is not compatible with my OSX 7.5 system. Any Idea's on how to swap for pe 12? It's not available on the Adobe web site. Any suggestions would be appreciated. Thanks

    daleroach
    Adobe is not going to swap 13 for 12. It is selling only 13 download as you found out. So, you are going to have to purchase 12 if you want to use that program. It may still be available at some retail locations, such as Amazon.
    If you are within 30 days of purchase and have purchase the download from Adobe, then contact Adobe via its Adobe Chat to get a refund. To do that, click on the following link
    http://helpx.adobe.com/sea/contact.html?step=PRE_membership-account-payment_payments-invoi ces-orders_stillNeedHelp
    Premiere Elements
    Membership, Account, Payment
    Payments, Invoices, Orders
    Chat Panel
    If the link does not hold its set, then you will need to navigate to Chat Panel using the above titles as guides.
    Please let us know if you are OK with the above. If any questions or need clarification, please do not hesitate to ask. Reminder..we are not Adobe. This is a user to user
    forum with an undefined frequency of an Adobe presence in it.
    Best wishes
    ATR

  • Hello. I need to define a mesure in a picture: I took a picture of an object with a ruler and I want to signify to photoshop "this segment = 1 cm". How to do? Thank you!

    Hello. I need to define a mesure in a picture: I took a picture of an object with a ruler and I want to signify to photoshop "this segment = 1 cm". How to do? Thank you!

    That's a good precaution, norm.  It should be no problem is you have an object on a flat surface next to a ruler. It gets trickier in security camera frames.
    Anyway that is one example. Anne can look further into the measuring tools of  Photoshop Extended to see if it helps.
    A note on the screen resolution thing. When I calculate the screen resolution, I go into Photoshop > Preferences > Units and Rulers
    and enter it here in place of the default 72 ppi.  Then when I use View > Print Size, the on-screen rulers will match a physical ruler.
    That's if you wanted to look at the actual printed document size onscreen.
    Gene

  • How to swap enable's all command with level 7

    1.how to swap enable's all command with level 7?
    expect user type enable will enter level 15 but all commands are level 7 only
    2. which command user can enter to enter level 7?

    1.how to swap enable's all command with level 7?
    enable password level 7 c1sco
    2. which command user can enter to enter level 7?
    The user doesn't control access level.  The administrator sets the access level when the user is added.
    username name [privilege level]
    Here is a link that discusses setting passwords and privileges.
    http://www.cisco.com/c/en/us/td/docs/ios/12_2/security/command/reference/fsecur_r/srfpass.html
    Hope this helps,
    if so, please rate.

  • How to Handle Dynamic Pivoting with a single SQL?

    I was searching for a single SQL who can dynamically understands the pivoting members in the data, I saw several ways of doing Pivoting depending on the version, some are really hard to understand but just two options upto now seams to be flexable enough to do dynamic pivoting, right?
    1- For this option you have to write PL/SQL block to build up the dynamic single SQL query, I also find this approach very easy to understand. :)
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::NO::P11_QUESTION_ID:766825833740
    2- 11.1 's PIVOT new feature with PIVOT XML and ANY clause, a SINGLE SQL and easy to understand but returns XMLTYPE data, another step to parse to produce the report is needed.
    http://www.oracle-developer.net/display.php?id=506
    Below is a 10g Model Clause example, but here instead of pivoting by A1-A2-A3 staticly I want to have these values by a distinc subquery for example;
    create table test(id varchar2(2), des varchar2(4), t number);
    INSERT INTO test values('A','a1',12);
    INSERT INTO test values('A','a2',3);
    INSERT INTO test values('A','a3',1);
    INSERT INTO test values('B','a1',10);
    INSERT INTO test values('B','a2',23);
    INSERT INTO test values('C','a3',45);
    commit;
    SELECT * FROM test;
    ID DES T
    A a1 12
    A a2 3
    A a3 1
    B a1 10
    B a2 23
    C a3 45
    select distinct i, A1, A2, A3
    from test c
    model
    ignore nav
    dimension by(c.id i,c.des d)
    measures(c.t t, 0 A1, 0 A2, 0 A3)
    rules(
    A1[any,any] = t[cv(i),d = 'a1'],
    A2[any,any] = t[cv(i),d = 'a2'],
    A3[any,any] = t[cv(i),d = 'a3']
    I A1 A2 A3
    C 0 0 45
    B 10 23 0
    A 12 3 1 Any advice is appreciated, thank you.

    Hi,
    You can do dynamic SQL in SQL*Plus, also.
    [Thid thread|http://forums.oracle.com/forums/thread.jspa?messageID=2744039&#2744039] shows how to pivot a table with a dynamic number of columns.

  • How to swap fields in screen painter.

    hello gurus,,
    how to swap fields in screen painter.

    Hi
    Go through the link given below :
    http://www.standardware.com/pdf/stdwsp.pdf
    With Regards
    Nikunj Shah

  • I have a problem with mail.  the spelling and grammer check box before sending the messege is no longer there.  I did everything but cannot get it back.  is ther anyone who knows how to get the box with spelling and grammer checks before sending

    i have a problem with mail.  the spelling and grammer check box before sending the messege is no longer there.  I did everything but cannot get it back.  is ther anyone who knows how to get the box with spelling and grammer checks before sending the mail.
    Also the mail is acting very funny by not getting the rules work in a proper method.  Is ther a software to repair mail.

    i did both of them, but still the while sending the mail the diolog box is not showing up and also the spelling and grammer does not do the spelling check. 
    This problem just started for about 3 to 4 days now.  earlier it was working normally.

  • How to update the bucketset of business rules in MDS through Rules SDK

    How to update the bucketset of business rules in MDS through Rules SDK.
    Any sample code which will help me........ :)
    Is it possible to expose a Business Rule as webservice which was created with the help of Java fact?
    Edited by: 984804 on Jan 29, 2013 6:12 PM

    FYI, the output of this call returns something like:
    <?xml version="1.0" encoding="UTF-8"?> 
    <queryplan>
        <union>
            <fullOuterJoin>
                <statement index="1">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="2">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.nb_guests) FROM SALES, INVOICE_LINE, SERVICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) AND ( SERVICE.SL_ID=SERVICE_LINE.SL_ID ) AND ( SERVICE_LINE.service_line = 'Accommodation' ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
            <fullOuterJoin>
                <statement index="3">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), count( distinct SALES.inv_id) FROM SALES GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
                <statement index="4">SELECT 'FY' || to_char(SALES.invoice_date,'yy'), sum(INVOICE_LINE.days * INVOICE_LINE.nb_guests * SERVICE.price) FROM SALES, INVOICE_LINE, SERVICE WHERE ( SALES.INV_ID=INVOICE_LINE.INV_ID ) AND ( INVOICE_LINE.SERVICE_ID=SERVICE.SERVICE_ID ) GROUP BY 'FY' || to_char(SALES.invoice_date,'yy')</statement>
            </fullOuterJoin>
        </union>
    </queryplan>

Maybe you are looking for

  • How to Export in 1440p (2560x1440 - H.264 for YouTube)?

    Hey, can someone tell me how to export in 2560x1440 (so 1440p) in H.264 format? I would like to uplod it to youtube in 1440p but i can't find a preset and the if i manually change the resolution it stopps around 2000, i can't get 2560 as widh... I re

  • Requests to improve Skype for Web

    Hello everyone. Skype for Web (Beta) seems quite decent for the time being.BUT! I got two requests for this, and I do hope it'll be seriously considered and fixed by the team in a short time: Skype for Web Beta propose a Chrome plugin when being used

  • How to create transport request for standard web template

    hi all can any one tell me the step by step procedure to create transport request for standard template? thanks shalini

  • F4 functionality for a field in structure

    dear all my problem is i need to provide f4 help functionality for the field 'name' in structure 'cdir' is it possible. if possible please suggest me how to proceed. thanx in advance

  • Bad data from daq

    I am taking data off of a radar gun. The gun is connected to one channel of a 16 channel circuit board which sends the data through an ide cable to a DAQ notebook card. This exact setup worked at one time on an older computer. Now the signal from the