[Solved] Netcfg switches between interfaces

Hello,
I switched to netcfg, to get a pure systemd install.
How ever, sometimes the netcfg can't bring up the interface even though it used that interface before.
It's like netcfg are switching between what interface it can use. Sometimes it's eth0 other times eth1.
So when I boot and don't have any network connection, I change the config files to use the other interface (ex. eth1) and netcfg can connect.
How can this be?
configs:
/etc/network.d/mynetwork
CONNECTION='ethernet'
DESCRIPTION='A basic static ethernet connection using iproute'
INTERFACE='eth1'
IP='static'
ADDR='192.168.1.3'
#ROUTES=('192.168.0.0/24 via 192.168.1.2')
GATEWAY='192.168.1.1'
DNS=('dns1', 'dns2)
## For IPv6 autoconfiguration
#IP6=stateless
## For IPv6 static address configuration
#IP6='static'
#ADDR6=('1234:5678:9abc:def::1/64' '1234:3456::123/96')
#ROUTES6=('abcd::1234')
#GATEWAY6='1234:0:123::abcd'
/etc/conf.d/netcfg
# Enable these netcfg profiles at boot time.
# - prefix an entry with a '@' to background its startup
# - set to 'last' to restore the profiles running at the last shutdown
# - set to 'menu' to present a menu (requires the dialog package)
# Network profiles are found in /etc/network.d
NETWORKS=(mynetwork)
# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth1"
# Specify the name of your wireless interface for net-auto-wireless
#WIRELESS_INTERFACE="wlan0"
# Array of profiles that may be started by net-auto-wireless.
# When not specified, all wireless profiles are considered.
#AUTO_PROFILES=("profile1" "profile2")
Last edited by KLIM (2012-12-06 14:22:23)

Did you checked for netcfg.service is enabled (systemd) ?
BTW, I see a missing single quote on DNS line : DNS=('dns1', 'dns2)
You may check these forum posts :
"[SOLVED] Netcfg.service always failing." @ https://bbs.archlinux.org/viewtopic.php?id=148079
"Systemd and Netcfg" @ https://bbs.archlinux.org/viewtopic.php?id=151662
"netcfg/systemd not bringing up eth0 (static profile)" @ https://bbs.archlinux.org/viewtopic.php?id=147300
"[SOLVED] netcfg fails at boot" @ https://bbs.archlinux.org/viewtopic.php?pid=1200518
And this wiki entry about netcfg @ https://wiki.archlinux.org/index.php/Netcfg

Similar Messages

  • [solved] [gnome] Switching between windows: now grouped per program?

    I have a question how I can change the behavior in Gnome regarding open windows for programs & switching between those windows.
    OpenBox & LXDE - every instance of a program has its own icon.
    If I have Chromium running in two windows, and LXTerminal in an other window I have 3 icons.
    With ALT + TAB I can switch between all windows.
    Gnome: every program has its own icon, no matter how many instances / windows are open
    If I have Chromium running in two windows, and LXTerminal in an other window I have 2 icons: one for Chromium and one for LXTerminal.
    With ALT + TAB I can switch only between the two programs.
    The icon for Chromium has a downwards-arrow, and if you wait some time, you can choose between the two Chromium screens.
    How can I configure Gnome to have icons for every open window instance, and not grouped per program?
    I prefer to use ALT + TAB to switch between all open windows (an not only between the open programs).
    Last edited by pe7er (2012-08-01 11:52:44)

    Thanks for your fast response!
    I haven't worked with Gnome Extensions before (I used to have Gnome 2 on my Debian machine), so I had to find my way regarding how to install:
    After registration at https://extensions.gnome.org/ I logged in & browsed to the extension that you recommend and just used the switch to switch it on.
    It works great! Thanks!

  • Switch between speakers and headset on X-

    I've got X-Fi Fatalty FPS edition and desperately need to find a way to switch between headset and speakers. Especially since I use teamspeak a lot in games and don't want my speakers to echo while I'm talking.
    There is an option to mute speakers when the headphone jack is connected, but that requires me to reconnect the headphone plug each time I want to use them.
    There must be a switch to turn only the speakers off manually as well?
    With Soundblaster Li've! Digital, this problem was easily solved by switching between digital mode on and off, as my speakers were connected digitally and my headset on analog.
    But with X-Fi, there's no way to turn off the digital speakers alone.
    Please help.

    Plug your speakers into the soundcard as usual.
    use the front mounted headphone socket on the fromt of the X-Fi I/O unit to connect your headset and set the control panel to automatically mute your speakers when the headset is connected. Your speakers will mute when the headset is plugged in and all you have to do is plug or unplug the headset at the front to switch modes!...Now please do not ask about doing the same with your mike connector!! see other thread by me!! p.s creative do ship a /4" to 3.5mmm adapter with the card.
    Hope I have understood your post
    AndyMessage Edited by slef2003 on 0-4-2006 03:54 AM

  • Could I configure local switching between sub-interface and global interface on ASR9k?

    Could I configure local switching between sub-interface and global interface on ASR9k?

    For 2 interfaces it is probably best to use an xconnect. It is faster and saves system resources (eg mac learning doesnt apply to xconnect).
    Config example:
    l2vpn
     xconnect group link
      p2p link
       interface Bundle-Ether100.4321
       interface Bundle-Ether500.4321
    EFP config:
    interface Bundle-Ether100.4321 l2transport
     encapsulation dot1q 4000
     rewrite ingress tag pop 1 symmetric
    interface Bundle-Ether500.4321 l2transport
     encapsulation dot1q 2000
     rewrite ingress tag pop 1 symmetric
    This example shows that you can link 2 EFP's with different vlan's together if you'd pop the tags.
    If the EFP's are of the same vlan, then popping the tag can be done but not a must. In general it is recommended to always pop vlan tags so there is a standard EFP design, but not for any technical reasons.
    When you use a bridge domain and using a BVI, you MUST pop the tags as the BVI has no notion of a vlan tag and wants to see "plain ethernet".
    regards
    xander

  • [SOLVED] Delay when switching between ttys

    When I switch between tt2 - tt6 right after boot, I experience a delay of about 7 seconds
    before I am presented with the respective login prompt.
    During that time, I only get a blinking cursor in the upper left corner.
    Note that I experience the delay for each tty, but only for the first time that I switch.
    After that, switching is instantaneous.
    It doesn't matter whether I am logged in on tty1 or not.
    This problems seems to be relatively new.
    Kernel mode setting is enabled.
    Last edited by Aton (2013-04-12 12:14:19)

    Okay, I have found the problem.
    Seems that I hadn't correctly enabled [email protected].
    Journalctl:
    systemd[1]: Job sys-subsystem-net-devices-multi-user.device/start timed out.
    systemd[1]: Timed out waiting for device sys-subsystem-net-devices-multi-user.device.
    systemd[1]: Dependency failed for Automatic wireless network connection using netctl profiles.
    This somehow caused the problem.
    Whenever I switched ttys before those events, I would get the 7 second delay.
    After that, everything was normal.
    After correctly configuring netctl, the problem is gone.

  • *Solved* Appliction to switch between running X Servers

    Hi all
    I am looking for a command application, which allows me to switch between running X Servers. Similar to ctrl+alt+Fx. I do need this, because I need the source how this is done.
    THX
    Last edited by ying (2011-08-30 20:36:31)

    karol wrote:
    Shark wrote:
    You can use "chvt" commnd. For example, command:
    chvt 4
    will switch to console 4
    Not exactly, I get
    [karol@black ~]$ chvt 4
    chvt: VT_ACTIVATE: Operation not permitted
    when running inside X. OP wants to switch between running X servers, not VTs.
    If you are inside X, then you have to do:
    sudo chvt 4
    Running X servers can be switched via chvt. For me to change from display 0 to display 1 i just do "chvt 8" as root.
    Last edited by Shark (2011-08-30 14:14:54)

  • KDE 4.2: Taskbar widget to switch between desktop 1-4 [SOLVED]

    While I was messing around with my taskbar widgets, I accidentally removed the one that lets you switch between desktop 1-4 with a mouse click. It's usually found to the very right of the kickoff launcher on a default KDE install. I can still switch desktops with the keyboard, but I liked it being there and can't find it in the "add widgets" menu. I was using default KDE 4.2.1 when this happened, but I've since switched to KDEMod. Anyone know how I can get this back?
    Last edited by Command Line Fu (2009-03-24 15:15:55)

    Command Line Fu wrote:While I was messing around with my taskbar widgets, I accidentally removed the one that lets you switch between desktop 1-4 with a mouse click. It's usually found to the very right of the kickoff launcher on a default KDE install. I can still switch desktops with the keyboard, but I liked it being there and can't find it in the "add widgets" menu. I was using default KDE 4.2.1 when this happened, but I've since switched to KDEMod. Anyone know how I can get this back?
    It's name is pager on the add widgets menu...Try to check it again..:)

  • How to make my applicatio​n programmat​ically switch between English and Russian

    Greetings from Colorado...
    My application needs to be switchable between English and Russian.  Future languages to add are Spanish and Chinese.  The user selects a language
    from a control before starting the program and then the program changes the Captions, Boolean Texts, Graph Labels, and Enum Type Strings to the
    chosen language.  For Russian, this requires a different set of characters.  I have made substantial progress by:
    Control Panels>Region and Language>Keyboards and Languages>Change Keyboards added Russian>Keyboard>Russian on my development
    computer.
    In the LabVIEW.ini file, I added UseUnicode=TRUE (thanks to a suggestion found in this forum)
    Made property nodes for controls and used properties such as Interpret As Unicode (True for Russian, False for English), Text, Font Name, Font Size, etc.
    I have used fonts Arial and Arial CYR for Russian and MS Sans Serif for English
    Set the keyboard for Russian and enter Cyrillic characters into text constants that are set for Arial or Arial CYR font.  Sometimes one works and
    sometimes the other works.  As long as I set the font name in the property node the same way the text went into the text constant, it generally
    works.  I wish I could understand why one works sometimes and the other works other times!
    I have had trouble with the Boolean Text going off-center when changing fonts and languages and it seems that by setting the Lock Text In Center
    property to False and then True again, it seems to work.  Often changing Boolean texts between short and long texts causes some of the long text
    to be non-displayed; I have remedied this by explicitly setting the width of the Boolean text in a property node.
    Often, the Russian text appears as gibberish with strange right-angle characters, :s, =s, and tiny numbers.  I have been able to remedy this on my
    development computer by ensuring that the text constant on the block diagram has the same size as the caption is supposed to have.  This
    is not necessary for normal programming in English, but it seems to help here.  But it doesn't always solve the problem.
    Sometimes the English text appears as Chinese gibberish in an Enum Type selection list or in a graph label.  On my development computer,
    it seems that making the text the last property to change helps here.
    By changing the sequences of assignments to a single property node with a long list of properties, I have been able to make some of these
    controls to switch between languages without gibberish showing up.
    A few hours ago, I had the Russian strings in the Enum Type control working, except that when selecting from the available items, only the first
    word of the Russian string was displayed.  Two of the items start with the same word, so the user can't distinguish them.  
    At that time the English strings were appearing as Chinese gibberish while the list during the selection process displayed in English.  As soon
    as I changed the selection, future attempts to change the selection gave Chinese gibberish during the selection process, too.  But this was only
    a problem in the executable version; the source-code version worked fine.
    In an attempt to get rid of the Chinese gibberish, I made new constants and retyped the items into them.  This worked!  But then, the Russian
    stopped working and gave gibberish angles and tiny numbers, even though I didn't touch any of the code that sets the properties in Russian mode.
    After trying a few sequences of setting the properties for the graph X label on page 2 of my tab control, this label started working correctly for both
    languages.  But the text of that label comes through on page 1 of the tab control, partly obscured by other controls on that page.  After the
    program runs a few more seconds, these shadows disappear.
    Most times I restart LabVIEW, I get an error message saying there was a crash due to fontmgr.cpp, line 7494.  But there actually wasn't a crash.
    My computer has Windows 7 64-bit.  Deployment Computer has Windows 7 32-bit.  LabVIEW version is 8.5.  
    I have probably 50 or 100 more controls and indicators to change to language programmability and figuring out all this stuff for each one is
    terribly time-consuming and there is no assurance that all of them will ever work.  
    At this point, I'm hoping that I am on an entirely wrong path and someone will send me a clue to get me on a path that is more predictable.
    Thanks in advance to all who post ideas!
    Cheers
    Halden 

    Hi All,
    I've made a lot of progress on this translation, but it's been really hard.  There are lots of weird things going on that must be logical because they're in a computer, but I can't figure out what the logic is.  When changing a font on a caption using the front panel, it sometimes changes the font on the caption and sometimes doesn't although the indicator always indicates the new font.  Removing the first character of the unicode font string being sent to the caption seems to help...huh?  Anyway, tabs still can't change language programmatically, and niether can ring controls (some kinds will take the new list of strings, but when selecting, they only display the first word of the string!).  Boolean text can be reprogrammed, but only if the boolean text is set to be the same for both true and false states.  When reprogramming captions on a non-displayed page of a multi-page tab-controlled user interface, the new text appears on the current page until I change pages back and forth.  What a pain!
    Sooo, NI....does LabVIEW 2011 have support for unicode fonts?  Or, is there anything else in the new control style that will support programmatic language changing?
    Halden 

  • 7344 servo motion switching between open and closed loop operation

    I have a custom end-of-line test system presently using a 4-axis 7344 servo controller to perform various functional tests on small, brushed DC motors. The system is programmed in C/C++ and uses flex motion functions to control the motor during testing. Motors are coupled to external encoder feedback and third party PWM drives running in closed-loop torque mode from an analog command signal. The system uses all four motion axis channels on the 7344 board to independently and asynchronously test up to four production motors at a time.
    In closed-loop mode, the system runs without issue, satisfying the battery of testing protocols executed by this system. I now have a request to add additional test functionality to the system. This testing must be run in open loop mode. Specifically, I need to use my +/- 10v analog output command to my torque drive to send different DAC output levels to the connected motor.drive while monitoring response.
    I do not believe the flex motion library or 7344 controller includes functions to easily switch between open and closed loop mode without sending a new drive configuration. I am also under the impression that I cannot reconfigure one (or more) servo controller axis channels without disabling the entire drive. As my system runs each axis channel in an asynchronous manner, any requirement to shutdown all drives each time I change modes is an unworkable solution.
    I am open to all ideas that will allow asynchronous operation of my 4 motor testing stations. If the only solution is to add a second 7344 controller and mechanical relays to switch the drive and motor wiring between two separately configured servo channels, so be it. I just want to explore any available avenue before I place a price tag on this new system requirement.
    Bob

    Jochen,
    Thank you for the quick response. The 7344 board does an excellent job running my manufacturing motor assemblies through a custom end-of-line tester in closed loop mode. A portion of the performance history and test result couples the motor through a mechanical load and external shaft. The shaft is in contact with a linear encoder that closes my servo loop.
    My new manufacturing requirement is to also sample/document how the small DC motor behaves in open loop operation. Your solution is exactly what I need to perform the additional functional tests on the product I am manufacturing. I see no reason why this cannot work. I was originally concerned that I would need to reinitialize the 7344 board after changing axis configuration. Initialization is a global event and impacts all four channels on the 7344 board.
    Using flex_config_axis() to change axis configuration on a single channel without disturbing other potentially running axis channels will solve my concern. It will be several weeks before I can return to the manufacturing facility where the 7344-based testing machine is located. I will update this thread once I verify a successful result.
    Bob

  • Switching between multiple desktops while using VNC

    Hi All,
    Encountering a minor inconvenience with switching between desktops while VNC-ing. I frequently telecommute and VNC into my work imac, which has parallels + windows 7 installed. My personal machine is a retina macbook pro, and both my macbook and the imac have the newest mavericks installed. I will frequently have multiple desktops open on my imac, but I find that when I am VNC-ing into the imac and then open up parallels in a full window that I am then unable to switch back to my other OS X desktops unless I completely shutdown my windows VM. Normally hotkeys works for me to switch between desktops (and still works when switching from OS X window to OS X window), but it just doesn't do the trick here. I know could just configure my imac so that parallels doesn't open up in full screen mode, which would solve the issue, but I feel like there's gotta be a way to switch desktops while VNC-ing! All tips appreciated!
    Thanks,
    KP

    Hi,
    This is possible using access restrictions in Universe designer based on user login.
    For eg. there is user A,B and C and three connections C1,C2 and C3.
    In Manage access restrictions you have to create a three restrictions(R1,R2 and R3): one using C1,second C2 and third C3.
    Apply these three restrictions to corresponding to the users. i.e. R1-->A,R2-->B and R3-->C.
    So based on user login the instance will be used for same report.
    In IDT , I think this can be done using Data Level Security, but the concept wil be same.
    Thanks
    Gaurav

  • Why will Firefox allow me to have multiple tabs available, but not allow me to switch between tabs, and can only look at a new tab by closing the previous one?

    Whenever I open a new tab, it appears on the tab bar where it should, but if I click on it nothing happens, the tab won't open, and I can't switch between multiple tabs. The only way to get to a new tab is to close the one I am currently on, and even then it will only open the next tab in order of precedence, so I can not even choose which tab is the next to view. This problem is making it impossible to use firefox as a research tool which requires fast switching back and forth between multiple tabbed pages simultaneously.

    '''Try Firefox Safe Mode''' to see if the problem goes away. [[Troubleshoot Firefox issues using Safe Mode|Firefox Safe Mode]] is a troubleshooting mode that turns off some settings, disables most add-ons (extensions and themes).
    If Firefox is open, you can restart in Firefox Safe Mode from the Help menu:
    *In Firefox 29.0 and above, click the menu button [[Image:New Fx Menu]], click Help [[Image:Help-29]] and select ''Restart with Add-ons Disabled''.
    *In previous Firefox versions, click on the Firefox button at the top left of the Firefox window and click on ''Help'' (or click on ''Help'' in the Menu bar, if you don't have a Firefox button) then click on ''Restart with Add-ons Disabled''.
    If Firefox is not running, you can start Firefox in Safe Mode as follows:
    * On Windows: Hold the '''Shift''' key when you open the Firefox desktop or Start menu shortcut.
    * On Mac: Hold the '''option''' key while starting Firefox.
    * On Linux: Quit Firefox, go to your Terminal and run ''firefox -safe-mode'' <br>(you may need to specify the Firefox installation path e.g. /usr/lib/firefox)
    When the Firefox Safe Mode window appears, select "Start in Safe Mode".<br>
    [[Image:Safe Mode Fx 15 - Win]]
    '''''If the issue is not present in Firefox Safe Mode''''', your problem is probably caused by an extension, and you need to figure out which one. Please follow the [[Troubleshoot extensions, themes and hardware acceleration issues to solve common Firefox problems]] article to find the cause.
    ''To exit Firefox Safe Mode, just close Firefox and wait a few seconds before opening Firefox for normal use again.''
    When you figure out what's causing your issues, please let us know. It might help others with the same problem.

  • How to switch between messages in the BlackBerry Hub

    With the release of BlackBerry 10 version 10.1, we’ve added a new gesture to the BlackBerry Hub that allows you to quickly switch between your next and previous messages. It’s simple: while viewing a message drag your finger from the left to the right and in one continuous motion swipe up or down.
    For example, in the following screenshot you’ll notice I am viewing ‘Test 08”. To get to the next message, “Test 09”, all I need to do is swipe from left to right (red arrow) followed by swiping up (green arrow) in a single motion. To switch to the previous message, “Test 07”, I complete the same gesture, but swipe down instead (blue arrow).
    Tip: Using a BlackBerry Q10 or Q5? On top of using this gesture to switch between messages, you also have the option of pressing the N key to view your next message, or the P key to view a previous message.
    If this gesture doesn’t appear to be working on your device, verify you are using BlackBerry 10.1.0.4181 or later by going to Settings > About and reviewing the OS Version field. If the OS Version is lower than 10.1.0.4181, check for updates by going to Settings > Software Updates.
    For more details about the availability of BlackBerry 10.1, check out Inside BlackBerry’s post on BlackBerry 10 Software Updates.
    VIA | helpblog.blackberry.com
    http://helpblog.blackberry.com/2013/10/how-to-switch-between-messages-in-the-blackberry-hub/
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

    I would set up a variable before you get to that node, lets call it $EmpID and assign to it the value of the prompt you want to play lets say 12345 which would be the library promptID. It will then play prompt, get digits, and once you validate if it goes through the expression that flags it as invalid, in that node re-declare the variable, but this time give it the value of the new prompt you want to play, then sent it back to the node which will then play the new prompt and collect the digits.

  • How do I quickly* switch between two Skype account...

    I have a need to be able to quickly* switch between two Skype accounts on my Windows 7 desktop computer.
    Both accounts have high-security difficult-to-remember and hard-to-type passwords.
    Many products have a facility for doing this, remembering recent account/password combinations, or having linked accounts.
    Does Skype have a way of doing this?
    And if it doesn't, how do I request it get one be developed?
    I use a password manager, LastPass, but of course Skype isn't a browser so it doesn't work with Lastpass.
    * "Quickly switch" means without switching computer sign-on accounts and without re-typing the high-security difficult-to-remember and hard-to-type passwords many times per day.
    I understand you're all volunteers.  Thank you very much for your efforts on this.
    - Keith
    Solved!
    Go to Solution.

    This can be done by setting up an another Skype client in a separate directory and with a shortcut containing the extra /datapath, /removable and /secondary switches.
    http://community.skype.com/t5/Windows-desktop-client/Why-did-Microsoft-have-to-go-and-ruin-Skype-lik...
    For your purpose you can make use of a copy of Skype.exe of the already installed Skype application.

  • The background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black backgr

    the background behind my pages has turned black, how do i get it to go back to grey? i have switched between preview, normal, bleed, slug and presentation and closed and opened in design and it is still black. I can't imagine layouts with the black background please help!

    or maybe the interface has been set to Dark?
    Go to Preferences > Interface tab, choose Light from Color Theme dropdown on Apearance section (upper part of the window)

  • MDIChildren flickering problem while switching between child form with dockstyle.fill and borderstyle.none

    I have an mdi applicaton in Visual studio 2010 (.Net framework 4.0). I'm having a flickering problem when user switch between an MDI Child form. I'm declaring the child form then setting the borderstyle.none at design time and dock property to fill
    through programming and make them a MDIChildren before I show them so that it takes up the entire space of the MDI Parent window without being maximized (client request). 
    i don't want to display control box(minimize, maximize,close) of child form in mdi parent form. (client request)
    The problem is that when the child form is being displayed it is briefly shown in it's default size with icon and control box before being resized to fill the available area on the MDI Parent form. When a Child Form loads, you can see it in it's original
    size (the size from Design-time) then all this flickering while maximizing .
    In other words, child form show up in the client area of the MDIForm, not maximized, with a caption, very shortly, before they are finally filling the client area. there is a short flicker when a new form is created and displayed. This process is most noticeable
    with a not-so-powerful PC or there are lots of control inside child form.
    below is my code to show child form 
       MyChild1 c1 = new MyChild1();
                                c1.MdiParent = MdiMainParent;
                                c1.Dock = DockStyle.Fill;
       c1.Show(); 
    how can i solved the problem of flickering issue?
    I tried many options which i have described below
    1.double buffering.
    2.set style property to child form
          this.SetStyle(ControlStyles.UserPaint, true);
          this.SetStyle(ControlStyles.AllPaintingInWmPaint, true);
          this.SetStyle(ControlStyles.DoubleBuffer, true); 
    3. override below method in each child form
    protected override CreateParams CreateParams
                get
                    CreateParams cp = base.CreateParams;
                    cp.ExStyle |= 0x02000000;
                    return cp;
    4. override below method in each child form
      const int WM_NCPAINT = 0x85;
            const int WM_SIZE = 0x05;
            protected override void WndProc(ref Message m)
                if (m.Msg == WM_NCPAINT)
                    if (this.WindowState == FormWindowState.Maximized)
                        return;
                if (m.Msg == WM_SIZE)
                    if (this.WindowState == FormWindowState.Maximized)
                        return;
                base.WndProc(ref m);
    but I didn't see any effects.  please someone help me to resolve flickering issue. thanks in advance.

    Hi hardikvaishnav,
    This is a known issue which has been reported to Microsoft Connect. Unfortunately, this issue will not fix due to stability issues around MDI. For more details, see 
    https://connect.microsoft.com/VisualStudio/feedback/details/97787/border-of-mdi-child-form-flashes-up-despite-formborderstyle-none.
    You might use a user control or panel instead.
    Best Regards,
    Bob Wu [MSFT]
    MSDN Community Support | Feedback to us

Maybe you are looking for