Create persistent dummy eth0 device

I run the proprietary MATLAB software which checks a license file against the mac address of eth0 in an attempt to prevent piracy. The switch to consistent network device naming means I no longer have a eth0 network adapter. Piecing together information I have gather from various forums has lead me to
modprobe dummy
ip l set dev dummy0 name eth0
ip link set dev eth0 address xx:xx:xx:xx:xx:xx
I guess the first question is, is this the best way to do it in Arch? The second question is how do I make this persistent across reboots? I understand how to load the module (I think): I am planning on creating a file in /etc/modules-load.d/dummy.conf with the contents dummy to take care of the module loading. To set the name would it be reasonable to do create something like /etc/systemd/system/dummy.service
[Unit]
Description=Create dummy network interface
[Service]
Type=oneshot
ExecStart=/usr/sbin/ip l set dev dummy0 name eth0
ExecStart=/usr/sbin/ip link set dev eth0 address xx:xx:xx:xx:xx:xx
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target
Note I stole the above from https://wiki.archlinux.org/index.php/Sy … cuous_mode and do not understand the RemainAfterExit and WantedBy parts ...
How do I make sure this waits for the dummy kernel module to finish loading?
Last edited by daniel_shub (2013-04-29 18:44:16)

Does predictable net naming actually benefit you? If you're only using one network device, the answer is no, and you can quite safely turn it off. Creating a dummy interface for one dumb piece of proprietary software is a lot sillier IMO.

Similar Messages

  • How to create a group of devices in MARS

    Hi folks.
    I have quite a list of devices which MARS pulls syslog from and the client's security policy requires to run periodic queries against those devices (they are 871 routers). Is there any way to create a group of devices and add it to the "Reporting devices" instead of manually checking every router.
    Eugene

    Anyone could suggest something???
    I'll try to be more detailed. There's a custom rule which is created to run a query for a specific event type. The query is run against many devices and the list of devices added to MARS earlier is quite big. So when you configure the rule at "Reporting Devices" section there is a limited list of devices (see attachment). I wish I can have a custom device type which will include all devices in question.
    Plus, why there's no "Select All" button for the right pane. This would be quite logical once you have a list devices showing in your right hand pane. Instead of going through all of them and click each one clicking "Select All" would be nice.

  • MS-Accelerator V2 Failure to create a DirectX 9 device

    Hi~I run a sample of Microsoft Accelerator V2 on my computer. when I run an applications using
    DX9Targets in visual studio 2012, a error shown up: Failure to create a DirectX 9 device. There are two graphics card in my computer,one is Intel HD graphics 4600, other one is NVIDIA GeForce
    GTX 765M. Thanks a lot!
    using System;
    using Microsoft.ParallelArrays;
    using FPA = Microsoft.ParallelArrays.FloatParallelArray;
    using PA = Microsoft.ParallelArrays.ParallelArrays;
    namespace AddArrays
    class Program
    static void Main(string[] args)
    int arrayLength = 100;
    Random ranf = new Random();
    float[] inputArray1 = new float[arrayLength];
    float[] inputArray2 = new float[arrayLength];
    float[] stackedArray = new float[arrayLength];
    // [1]
    DX9Target evalTarget = new DX9Target();
    // [2]
    for (int i = 0; i < arrayLength; i++)
    inputArray1[i] = (float)(Math.Sin((double)i / 10.0)
    + ranf.NextDouble() / 5.0);
    inputArray2[i] = (float)(Math.Sin((double)i / 10.0)
    + ranf.NextDouble() / 5.0);
    // [3]
    FPA fpInput1 = new FPA(inputArray1);
    FPA fpInput2 = new FPA(inputArray2);
    // [4]
    FPA fpStacked = PA.Add(fpInput1, fpInput2);
    FPA fpOutput = PA.Divide(fpStacked, 2);
    // [5]
    stackedArray = evalTarget.ToArray1D(fpOutput);
    // [6]
    for (int i = 0; i < arrayLength; i++)
    Console.WriteLine(stackedArray[i].ToString());

    Hello,
    I'd ask in the
    Direct X forums on the Xbox Developer forums.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • In MAX, I don't have the option to create a DAQmx Simluated Device. Why not?

    I'm new to LABView.  I installed the software, including the Measurement & Automation Explorer (MAX).  Within MAX, I am trying to create a DAQmx Simulated Device, as suggested in a training guide (which I quote below).  I don't have the option to create such a thing upon right-clicking on "Devices and Interfaces".  I am given the option to create a new GPIB-VXI Interface, a Port, VISA TCP/IP Resource, and GPIB-ENET/100.  I'd appreciate if someone can help me to create a simulated device according to the following steps, given that I currently lack the option "NIDAQmx Simulated Device":
    3. Create a simulated DAQ device for use later in this course. Simulated devices are a powerful tool for development without having hardware physically installed in your
    computer. Right-click Devices and Interfaces and select Create New…»NIDAQmx Simulated Device. Click “Finish”.
    4. Expand the M Series DAQ section. Select PCI-6220 or any other PCI device of your choice. Click “OK”.
    Thanks.

    It sounds like you didn't install DAQmx. Open MAX and get a list of the software present. If you don't see DAQmx listed, install it from the CD/DVD or download the latest version.

  • How to create a "dummy" layer to link other layers to the dummy.

    Here is my problem:
    I have a bunch of Layers, I want to behave the same way (here scaling, but I had also rotation before). My approach (as used formerly with my 3D applications) is to create a "dummy" layer, where the channnels of the other layers are linked to. For this I used the "Placeholder" item, but rendering obviously got me an error message, because the "placeholder" is intended for other use.
    So my question: How do you solve such a situation the intended way?
    L.

    Found the possible answer by sniffing on other peoples problems: The dummy is called "Null" here!
    Unfortunetly, I cannot offer to myself the 10 points!

  • [Solved] How to create a ntework bridge device?

    Hi!
    I'm trying to create a network bridge device for using it with KVM.
    Therefore I installed netctl and bridge-utils.
    I have two network interfaces in my computer. net0 and net1.
    net0 is connected to a network switch and gets its address via DHCP.
    net1 is disconnected.
    My aim was to create a new device, br0, that uses net0 to get an IP address from the DHCP server of my network.
    So I created the following configuration:
    [mine@intelmine ~]$ cat /etc/netctl/bridgekvm
    Description="Bridge for KVM"
    Interface=br0
    Connection=bridge
    BindsToInterfaces=(net0)
    IP=no
    ## sets forward delay time
    FwdDelay=0
    ## sets max age of hello message
    #MaxAge=10
    When I start this configuration with the command
    systemctl start netctl@bridgekvm
    The br0 interface appears:
    [root@intelmine ~]# ifconfig
    br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet6 fe80::225:22ff:fe67:d6c0 prefixlen 64 scopeid 0x20<link>
    ether 00:25:22:11:d6:c0 txqueuelen 0 (Ethernet)
    RX packets 2 bytes 382 (382.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 5 bytes 478 (478.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 0 (Local Loopback)
    RX packets 757 bytes 53267 (52.0 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 757 bytes 53267 (52.0 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    net0: flags=4419<UP,BROADCAST,RUNNING,PROMISC,MULTICAST> mtu 1500
    inet 192.168.5.10 netmask 255.255.255.0 broadcast 192.168.5.255
    ether 00:25:22:11:d6:c0 txqueuelen 1000 (Ethernet)
    RX packets 560686 bytes 773497800 (737.6 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 321142 bytes 49144250 (46.8 MiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    net1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 00:02:12:3d:23:a4 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
    inet 10.38.0.18 netmask 255.255.255.255 destination 10.38.0.17
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
    RX packets 548425 bytes 720892580 (687.4 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 541569 bytes 362557409 (345.7 MiB)
    TX errors 0 dropped 227425 overruns 0 carrier 0 collisions 0
    The strange thing is, that the br0 device gets the same MAC address as the net0 device.
    Right after activating the netctl profile, I cannot ping any host on the network anymore.
    When stopping the netctl profile both devices, net0 and br0 disappear:
    [root@intelmine ~]# systemctl stop netctl@bridgekvm
    [root@intelmine ~]# ifconfig
    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 0 (Local Loopback)
    RX packets 2597 bytes 147170 (143.7 KiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 2597 bytes 147170 (143.7 KiB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    net1: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    ether 00:02:44:3d:23:a4 txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
    tun0: flags=4305<UP,POINTOPOINT,RUNNING,NOARP,MULTICAST> mtu 1500
    inet 10.38.0.18 netmask 255.255.255.255 destination 10.38.0.17
    unspec 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 txqueuelen 100 (UNSPEC)
    RX packets 548425 bytes 720892580 (687.4 MiB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 5308955 bytes 7506979179 (6.9 GiB)
    TX errors 0 dropped 4987835 overruns 0 carrier 0 collisions 0
    What is going on here? How can I simply create a bridge device for a KVM host?
    Thanks,
    newpipe
    Last edited by newpipe (2013-07-01 08:07:56)

    Thanks for the clarification, teekay!
    I was just confused because of the behaviour of virtualbox. There you can also set bridged network to the guests, but you don't need to change anything on the host config.
    Now I understand that I just need to disable the interface in the Network Manager, create the bridge device with the wished IP config for the host and tell the guest to use that bridge interface. The guest then gets a new interface with a new MAC and IP config but connected to the bridge interface.
    Now everything works for me. Thanks a lot for your help!
    newpipe

  • How to create/simulate multiple mouse devices (in dev manager) in windows 8.1 and above?

    Is their any way to install/enable multiple mouse devices in windows 8.1 and above and simulate input to them? I would write a driver if their is no other way. If I need to write a device driver does anyone have any good pointer tutorials that would
    get me started?
    I found this for communicating with an already installed device which is hooked up to the computer.
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.devices.humaninterfacedevice.aspx?f=255&MSPPError=-2147217396
    I wonder if installing something that's already in the driver store using DiInstallDriver and enabling it (possibly via CM_Enable_DevNode) would work?
    My goal was to create/install 4 mouse devices and communicate with them via the windows.devices.humaninterfacedevice library. Would this be possible?
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to suffering
    - Yoda. Blog - http://www.computerprofessions.co.nr

    you need to write your own driver. you will need to write a HID miniport. from that one miniport you can describe as many HIDs as you want. you can write the HID miniport driver in UMDF if you want to stay in user mode.
    the namespace you link to above will not create HIDs and the normal rules about not allowing you to open a keyboard or mouse HID from user mode still applies.
    d -- This posting is provided "AS IS" with no warranties, and confers no rights.
    That almost an answer. I was wondering if this is good example of what you were talking about:
    https://code.msdn.microsoft.com/windowshardware/WudfVhidmini-Sample-b304f83a/sourcecode?fileId=42918&pathId=556204534
    If so, does that mean I need to use direct calls to HID.dll or other libraries in order to read from the custom mouse device? I have seen many implementations of filters which end up poorly (maybe not everyone but the multiple device ones mostly) and
    I am not for sure about the miniport drivers.
    Once you eliminate the impossible, whatever remains, no matter how improbable, must be the truth. - "Sherlock holmes" "speak softly and carry a big stick" - theodore roosevelt. Fear leads to anger, anger leads to hate, hate leads to
    suffering - Yoda. Blog - http://www.computerprofessions.co.nr

  • Error in creating Connection Object and Device Location

    Hi ,
    When i am creating Connection Object and Device Location , system is giving dump . all other object are working fine.
    the error is gievn below :
    Error in reading table TE130.
    i checked this the table , its have no entries ( mainly field ISTYP is blank ) and this is the cause of problem .
    Could you please tell me that how to fill this table before creating Connection object and device location. i think some configuration should be needed for this but i dont know how .
    thanks and regards
    Deepak.

    Hi Deepak,
    You can check standard configuration in client 000.
    Meanwhile you can use this settings:
    ISTYP TPLKZ FLTYP NUMKI NUMKE
    C     AO_GP     A     01     OC
    D     AO_GP     G     02     OC
    This is where you define structure indicator for isu technical location category.
    ISTYP correspond to the type of technical location in ISU, C for connection object and D for device location
    The content of TPLKZ is defined in the following menu in SPRO.
    Plant Maintenance and Customer Service
    Master Data in Plant Maintenance and Customer Service
    Technical Objects
    Functional Locations
    Create Structure Indicator for Reference Locations/Functional Locations
    Hope it helps,
    Regards,
    Daniel Valenzuela
    Edited by: Daniel Valenzuela on Feb 4, 2008 3:22 PM

  • I have an existing ipod that I use with my mac. I am trying to connect an additional ipod to it but when I try and register, it just brings up the existing info. I don't want to lose the original info or library - just create new for this device. Pls help

    I have an existing ipod that I use with my mac. I am trying to connect an additional ipod to it but when I try and register, it just brings up the existing info. I don't want to lose the original info or library - just create new for this device. Pls help...

    We are starting from the beginning like its a new ipod starts out asking language, country,location services,choose a network,and when we get to "setup ipod touch  " there are 3 options 1..setup as new ipod, 2.restore from ipod backup 3 restore from itunes backup and when we hit setup as new ipod and click next it comes up with sign in with apple id or create a free apple id  we clicked create a free apple id....then comes up with bday,1st name last name, use your current email address, get a free icloud email address or change email address and THIS is where we have problems....if we hit change email address it means that sis's stuff goes under his name and moves all her stuff to this older ipod which the brother does not want. sorry this is so long but its the only way I knew to do it.

  • Validation Rules: create a dummy account with constant value 0

    Hi,
    I need to define a control like the following:
    TA00000 >= 0
    I think that I need to create a dummy account with constant value 0 and compare TA00000 against it. I need help to create the dummy account because I'm not sure if I have to use a script logic or not. If anybody could help, I would be very grateful.
    Thanks in advance.
    Almudena

    Hi,
    Thank you for your answer. It works perfectly.
    I have other question related to validation rules. I need to create a validation like this:
    A39300 + A39110 + A39130 + A39010 >= H97300
    It is not supported in BPC NW version to leave blank in ACCOUNT_R in details of validation rule. Do you know how I could define this control?
    Thanks in advance.
    Almudena

  • I have iphone 5 that has error Can't create Apple ID invalid device while creating mme delegate account HELP!!! All weekend after downloading ios7 first apps went down then couldn't connect to itunes unless hooked to comp

    I lost all apps and restored phone to try setting up as new phone and not can't do anything showing error Can't create apple ID invalid device while creating mme delegate account and my phone is not showing on devices of itunes....

    I've exactly the same issue with a new iPhone 5S.
    Many posts about this issue but no working solutions !
    When trying to restore an iCloud backup, I receive the error message "Appe-ID cannot be created. invalid device while up…
    Re: Restoring icloud backup to brand new iPhone 5s
    invalid device while updating mme delegate account
    https://discussions.apple.com/message/25380487
    https://discussions.apple.com/thread/5951639?tstart=0
    Please help

  • I can't create new virtual audio device

    Dear All,
    I've two audio devices and I would create a virtual audio device with the input channels of both of them. I'v read that it's very simple. But when I click on the "+" button in the "Audio/Midi Configuration" application I'm not able to create a new virtual device. Both of real devices work perfectly.
    My account is a system administrator.
    Help me, please!

    Great! It was hard, but now all work fine!
    I removed these two files:
    "Macintosh HD/Library/Preferences/com.apple.audio.AggregateDevices.plist"
    "Macintosh HD/Users/YourUserName/Library/ Preferences/com.apple.audio.AudioMIDISetup.plist"
    ... the truth lies in small things!

  • Create a dummy workbench and customizing object as critical object

    Hi!
    I am testing now the transport settings for critical objects.
    what is the easiest way to create a dummy workbench and customizing object, assign them to transport request and try to transport?
    (e.g. Work Bench object: LIMU, DOCU, "Documentation")
    Thank you very much!
    regards
    Thom

    I think i misinterpret my requirement.
    I have various other applications looking into my metadirectory. There is integration between OIM and Metadirectory and we have to update the various priviledges (multi value data) in Meta Resource form for this so that from MetaDirectory they can flow to other systems. For that i was thinking of using dummy resource object for each resource (attached to Meta). To update the various priviledges (group names and other entitlements) in meta collectively , i think we attached the dummy resource to access policies and once the values will update in dummy resource process form we can update the Meta Process Form accordingly (though i am not sure with this part that how can i achieve this). Also can we define the multi value data field in process form. By default child table having lookup is multivalue field (may be its only my conception) can we add it in core process form?
    Pardon me for confusion but i am really patch up between business and technical people requirement :(...
    just a follow up i need a pre-populate kind of functionality managing by access policy but after the value pre-populate in dummy resource object process form how to update the value in other process form and update the target resource.
    Edited by: user10781632 on Jun 19, 2009 7:05 AM

  • User Failed create/update on 2 device(s)

                     In the Admin area under users, I have one user that has the following red message under status"Failed create/update on 2 device(s)".  If I log into the device locally that user is missing.  If I try to create it locally it will not let and tells me to use the CM.

    There is something different between dev and test.
    Produce an explain plan of the query on dev and on test and compare the results.
    explain plan for
    SELECT EMPLID
    FROM SYSADM.PS_B_RM_ENRL
    WHERE LM_CRSE_CODE = '7197'
    AND B_MU_GP_ID = '83'
    AND B_MU_ID = '8300';
    select * from table(dbms_xplan.display()) ;How many rows in PS_B_RM_ENRL on dev, on test?
    Is there an index on your columns
    LM_CRSE_CODE,
    B_MU_GP_ID,
    B_MU_ID

  • How many icloud account can we create with one ios device???

    how many icloud account can we create with one ios device???

    i need more then 1 account as i owe itunes some money and i cant access my app store so if i change my icloud account .....all my previous history wont be tracked

Maybe you are looking for