DHCP_TIMEOUT in /etc/conf.d/netcfg has no effect

I want to set DHCP_TIMEOUT to 30 for all netcfg profiles. On  this page in wiki it is suggested to set the variable in /etc/conf.d/netcfg. But this has no effect. I tried 'NETCFG_DEBUG="yes" netcfg <arguments>' and the timeout was still 10.
How can I set DHCP_TIMEOUT for all profiles without editing every profile?

opt1mus wrote:Could you paste into this thread your /etc/conf.d/netcfg and the debug output. It's easier for people to help with troubleshooting when actual output is to hand.
Here it is (network names changed):
# cat /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=(network1 network2)
# Specify the name of your wired interface for net-auto-wired
WIRED_INTERFACE="eth0"
# 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")
DHCP_TIMEOUT=30
# NETCFG_DEBUG="yes" netcfg network1
DEBUG: Loading profile network1
DEBUG: Configuring interface wlan0
:: network1 up                                                                                                                                                                          [ BUSY ] DEBUG: status reported to profile_up as:
DEBUG: Loading profile network1
DEBUG: Configuring interface wlan0
DEBUG: wireless_up start_wpa wlan0 /run/network/wpa.wlan0/wpa.conf nl80211,wext
Successfully initialized wpa_supplicant
DEBUG: wireless_up Configuration generated at /run/network/wpa.wlan0/wpa.conf
DEBUG: wireless_up wpa_reconfigure wlan0
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant reconfigure
DEBUG: wireless_up ifup
DEBUG: wireless_up wpa_check
DEBUG: Loading profile network1
DEBUG: Configuring interface wlan0
DEBUG: ethernet_up bring_interface up wlan0
DEBUG: ethernet_up dhcpcd -qL -t 10 wlan0
DEBUG:
> DHCP IP lease attempt failed.
DEBUG: Loading profile network1
DEBUG: Configuring interface wlan0
DEBUG: Loading profile network1
DEBUG: Configuring interface wlan0
DEBUG: ethernet_down bring_interface flush wlan0
DEBUG: wireless_down stop_wpa wlan0
DEBUG: wpa_cli -i wlan0 -p /run/wpa_supplicant terminate
DEBUG: profile_up connect failed

Similar Messages

  • Re: All interfaces should now be configured in /etc/conf.d/netcfg

    With all due respect, I feel that this announcement should be accompanied by some addition documentation or at least a link to a relevant the wiki article.  I don't even have core/netcfg installed on my systems.
    Last edited by graysky (2012-08-12 03:41:16)

    stryder wrote:I read the title and text and still could not be sure, because I was not sure whether netcfg is the basic program used by arch to handle interfaces. The text should say "Those using netcfg should configure interfaces in /etc/conf.d/netcfg rather than /etc/rc.conf." .....
    That would be quite easy to understand and impossible to misunderstand.   Those writing announcements should write them like that. 
    "Those using netcfg should..."
    Yes the announcment bothered me very much.  My overly educated mind trained in scholarly English said to me "What the HELL is netcfg and WHY do I now have to use it!"

  • /etc/rc.conf, /etc/conf.d/ and PCMCIA? [FXx]

    Some time ago the below scripts were included in /etc/rc.conf and removed. PCMCIA was moved to folder /etc/conf.d/. Does /etc/conf.d/ still has a purpose?
    # Load any configuration settings in /etc/conf.d
    for cfg in /etc/conf.d/*; do
    [ -r $cfg ] && source $cfg
    done
    # PCMCIA
    # Should be either i82365 or tcic
    PCIC=i82365
    PCIC_OPTS=
    CORE_OPTS=
    CARDMGR_OPTS=
    SCHEME=

    The script /etc/rc.d/pcmcia itself does now the "sourcing" of /etc/conf.d/pcmcia

  • DELUGE_USER option in /etc/conf.d/deluged and deluge v1.3.4-2

    I did an upgrade to deluge v1.3.4-2 today and in that version it seems that the DELUGE_USER option in /etc/conf.d/deluged isnt used anymore. Is that the case?
    If thats the case then how do run deluge as another user?
    Im following this bug:
    https://bugs.archlinux.org/task/28847

    Same situation here...
    User deluge has been hardcoded into the initscript, changing the user deluge both in deluged and deluge-web script restore the wanted behaviour....
    As per the error messages of kill, they are generate because the mainteinar changed the behaviour of the script.
    Before the update, the stop section removed the pid from /run/deluge
    Now the script does not remove the pid file, it tries to overwrite the pid value inside with the new value.
    But still this section puzzles me:
    PIDFILE=/run/deluge/deluged.pid
    OPTIONS="-P $PIDFILE $OPTIONS"
    [[ -f $PIDFILE ]] && PID=$(<$PIDFILE)
    kill -0 $PID || PID=
    Because:
    - Why test if the pidfile is a regular file? (-f flag)...imho sure that it is, no one touch it except for deluged main program and now that the script has been modified the file is not removed and recreated anymore during any operation
    - Why always try to kill the process?? That brings the error message of kills in two situations: when the program is first started and deluged.pid does not exists, and during restart operation, where kill cannot find the process since in the pidfile there is still the old pid value and the process has been killed by this section during the stop operation. Imho the kill should be performed in the stop section and not in the header. Or delete the pidfile during stop operation, and check for the existance of file before grabbing the pid value and kill it. What's the behaviour of the new version of deluged when you pass as an argument the pidfile? It creates the file if does not exists or requires that the file exists?

  • I just bought an iphone4 and is connected to my wifi at home but I can't bring anything up in the app store, itunes, etc. My husband has a droid 2 and he has no problems with the wifi? Any ideas?

    I just bought an iphone4 and is connected to my wifi at home but I can't bring anything up in the app store, itunes, etc. My husband has a droid 2 and he has no problems with the wifi? Any ideas?

    If you look at the top left of your screen you will either see a 3G (or 4G if you have AT&T) or you will see the wi-fi symbol.  If you don't see the wi-fi symbol you are connecting to Gmail through your cellular data plan, not via wi-fi.
    To answer your question, it doesn't happen often but when it does the steps I mentioned above will normally resolve it.  Hopefully you won't have any further problem with this.

  • New /etc/conf.d/network network configuration does not work.

    I did some work to upgrade my system configuration according to
    this wiki article: https://wiki.archlinux.org/index.php/Rc.conf
    But when i move the network configuration from rc.conf to
    conf.d/network, my network is left unconfiguered after boot.
    My /etc/conf.d/network looks like this:
    interface=eth0
    address=172.20.247.67
    netmask=255.255.254.0
    broadcast=172.20.247.255
    gateway=172.20.246.1
    Possibly related, /etc/resolv.conf is replaced after boot with this content:
    # Generated by dhcpcd
    # /etc/resolv.conf.head can replace this line
    # /etc/resolv.conf.tail can replace this line
    and therefore, my nameserver configuration is gone. This also happens,
    when i leave the network configuration to rc.conf. It happens, since i
    fiddled with rc.conf, but i don't no why.
    I have not yet switched to systemd because of these problems.

    Read up here on how to set up your static IP.  https://wiki.archlinux.org/index.php/Dh … IP_address    Dhcpcd doesn't use your /etc/conf.d/network by default
    Last edited by piratebill (2012-12-03 19:00:13)

  • SLVD I didn't edit /etc/conf.d/wireless-regdom; am I breaking the law?

    Should i do what ca-certificates advises (via pacman output) to "Uncomment the right regulatory domain in /etc/conf.d/wireless-regdom"?
    What happens if I don't? Am I breaking the law? lol
    Last edited by trusktr (2010-06-04 18:05:03)

    Cool, thanks tomk. I had no idea! I was clueless about channels until this thread.
    My iwlist shows this:
    [root@rocketship ~]# iwlist wlan0 channel
    wlan0 11 channels in total; available frequencies :
    Channel 01 : 2.412 GHz
    Channel 02 : 2.417 GHz
    Channel 03 : 2.422 GHz
    Channel 04 : 2.427 GHz
    Channel 05 : 2.432 GHz
    Channel 06 : 2.437 GHz
    Channel 07 : 2.442 GHz
    Channel 08 : 2.447 GHz
    Channel 09 : 2.452 GHz
    Channel 10 : 2.457 GHz
    Channel 11 : 2.462 GHz
    Current Frequency:2.437 GHz (Channel 6)
    I read an interesting article here that says in the US you can use channels 1-11 in the 2.4GHz range, so I'm set to go!
    The article also said that the standard channel that most wireless products ship with in the US is 6, and mine is set at 6! To avoid interference due to the fact that most people use their wireless products on channel 6 (because they aren't so computer savvy like I was until right now), the article recomends that you use channel 1 or 11 since they don't overlap with channel 6 at all... Have a read, it's interesting!
    Last edited by trusktr (2010-06-04 18:01:54)

  • Remote content bar does not appear for some emails with images specifically daily Twitter updates. Changing options to allow all remote content has no effect

    The broken image symbol appears in place of the images but associated web links do work ok.
    Changing options to allow all remote content has no effect. Senders' addresses are in my address book and on the exceptions list.
    Some emails (from other sources) load perfectly. Using Kaspersky Internet Security 2015 on Windows 8.1. Thunderbird 31.4.0
    Any help appreciated.

    You only need to post a URL to your web site. We can see your code in Browser.
    So, your page looks OK to me in Firefox, but when I tried to check it in IE, it choked my browser and closed it.
    You have quite a few code validation errors - no document type declaration, etc... Start by fixing these reported errors.
    http://validator.w3.org/check?verbose=1&uri=http%3A%2F%2Fntp.neuroscience.wisc.edu%2F
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • Snmp configuration on weblogic 10 has no effect

    SNMP in MMC(Mobile Management Center, A HP Product), use joesnmp.jar internal to send snmp trap generated by mmc app. This part works well in weblogic 10;
    snmp in weblogic , configured by weblogic console. In weblogic 8, we configure such items:
    Weblogic Subsystem
    Purpose
    Level
    Deployer
    Monitor all war/ear deploy/undeploy/redeploy
    INFO
    JDBC
    Monitor all warnings/errors in jdbc operation
    WARN
    Current tests shows that the snmp configuration on weblogic 10 has no effect.
    Due to MMC4.6 gets the Weblogic updated from 8.16 to 10.3, we didn’t find the configuration about “Enable JDBC Logging”. Below is the former config page about Weblogic 8.16.
    But in Weblogic 10.3 we cannot find this configuration. We have followed the guide http://e-docs.bea.com/wls/docs100/jdbc_admin/monitor.html#wp1048793
    And tried to set the appropriate properties on the command line like this,
    -Dweblogic.debug.DebugJDBCSQL=true -Dweblogic.log.StdoutSeverity="Info"
    Actually we can get the DM, Core, SMTP, Bulk, Adaptor Class, and connection fail error messages in weblogic backend log, but seems Weblogic cannot send SNMP trap messages to SNMP monitoring tool like Openview.
    PS. Weblogic can send out the SNMP trap messages when the server starts and stops.
    So till now the SNMP cannot monitor the DM, Core, SMTP, Bulk, Adaptor Class, and connection fail for MMC4.6.

    Hi, I am on 12.1 weblogic, and I am stuck on where you set the SNMP Servername and port number.
    We are on windows 2008, I see there is a services, SNMP .
    Is there something I need to do on the weblogic side before i get into the SNMP agenets and traps, this part I understand, I am just unsure where to add the SNMP Servername and the user I wish the emails to go to.
    I see in the security realms the user i can add to the group monitors.
    -->, I am running WL 10.3 and SNMP works fine. The cluster generates traps based on particular mbeans, such as when a server's health state is not "OK", or when there are JDBC connection issues. You have to create a new SNMP agent within the admin server then build the individual traps ( String, Gauge, Counter, etc. ) and make sure you have a Trap Destination.

  • Every Since I Downloaded iOS5 O My IPhone My Volume Has Been Effected It's @ Max But Incoming Calls Come In @ A Minimum. When Taking A Call Thru Speaker Caller Sound Very Faint. Music Sounds Very Low Can Somebody Help Me ?

    Every Since I Downloaded iOS5 O My IPhone My Volume Has Been Effected It's @ Max But Incoming Calls Come In @ A Minimum. When Taking A Call Thru Speaker Caller Sound Very Faint. Music Sounds Very Low Can Somebody Help Me ?

    Hello ElleMalloy,
    Sorry Im Just Responding Phone Has Been Downloading And Charging.
    Well I Will Start Here,
    I Tried Everything I Even Restarted My Settings Just So I Can See if That Would Work Because Someone Sujested It But What They Neglected To Say That Their Probrolem Was With A Ipad ? Anywho To Keep It Short I Went Online Logged A Complaint With Apple Made A Appointment With A Apple Store In My Area To Take The Phone There After Trying Everything (Resetting, changing setting etc..........) Nothin Worked Upon Taking The Phone To The Store They Swapped Out My Phone For A New One Volume On New Phone Is Perfect And I Only Had To Wait 40 Minutes

  • Widescreen setting in video - tv out has no effect

    after a couple of hours of experimentation, i have concluded that the widescreen setting (on/off) in the tv out section of the video settings has no effect. i believe what it SHOULD do is adjust the signal to display properly on a widescreen (16x9) tv. i believe it does nothing. video displays stretched and squashed (photos too btw). this is after experimenting with the same itunes-purchased and non-itunes purchased videos on both my ipad and my iphone 3gs, using the same tv and the apple component av cable. the iphone works fine. the only way to get a semi-acceptable display on the tv with the ipad is to the set to tv to normal 4x3 display. (late model sony lcd hdtv). then you get thick black bars around the picture. with the iphone i can leave the tv display setting at it's regular "full" option and the picture fills the screen properly. i tried both sd and hd videos on the ipad. (sd only on the iphone obviously). does anyone else have this issue? is there a bug in the ipad software? is there a problem with MY ipad? will a software restore help?
    Message was edited by: Michael Rosenberg

    i tried a fair amount of stuff. here's 2 examples:
    1) itunes store copy of an episode of the office in both hd and sd.
    2) digital copy of the new star trek movie
    so the first is 16x9 and the second is a widescreen movie 2.35-1.
    both look fine when playing back off the iphone 3gs (sd copy of the office). both looked stretched horizontally and squashed vertically when playing off the ipad. note that everything looks fine on the ipad itself. it just messed up when connecting
    the ipad to my tv. in all cases, the widescreen setting in the tv out section of the video panel on the ipad has NO effect.
    i can change the screen settings ON THE TV to fix the distortion but then i end up with thick black bars on all 4 sides. and i don't need to do this with the iphone 3gs. i continue to believe something is wrong with the ipad (or MY ipad).

  • I recently updated my macbook, i don't know if that has any effect to my recent problem, but when i try to download and save .mp3 files from the internet, like i have done in the past, it downloads but not as an mp3 file, its "blank"

    i recently updated my macbook, i don't know if that has any effect to my recent problem, but when i try to download and save .mp3 files from the internet, like i have done in the past, it downloads but not as an mp3 file, its "blank" and when i try to open it, i can't? I NEED HELP !

    Here is the download page

  • How can i display a dialog view centerly?set_window_position has no effect

    hi ,all
    i try to open a dialog which is a normal view,
    here is the code i use,
    CALL METHOD cl_wdr_runtime_services=>display_view_in_popup
            EXPORTING
              component             = component
              target_view_name      = 'V_BP_MAIN'
              target_window_name = 'W_BP_MAIN'
         MODAL                 = ABAP_TRUE
               window_title          = ''
               close_button          = abap_true
            IMPORTING
               popup_window          = popup_window
    the first time the window i opened displayed is centered ,but if i open it twice or more
    the window is in the left corner of screen,i tried to use popup_window->set_window_position( position = if_wd_window=>CO_CENTER  ).but it has no effect at all
    can anyone help me out?
    thanks in advance.

    thanks for your answer.
    I did set  the height  and width of rootuielementcontainer of the dialog view .i,e,width:1200,height 700,
    It display pretty well the first time,but when i open it the second time,the dialog view is not centered,so i can't see the whole dialog view,i have to drag it,

  • Font weight has no effect in legend in flex 4

    Font weight,Font size has no effect in legend in line chart. Also i have trouble with date time axis.What should i do about it

    Good question. That is the funny thing! With echo %classpath% everything seems to be o.k. But not one of my java editors will recognize this package. When I use this package on my other computer (XP Home) everything will be recognize correctly.
    The only way for me was to kill alle entries in all classes which are defining the package name. But this solves my main problem only temoprarry.
    P.S. Sorry , English is not my native language ;-).

  • JFX 2.0 -fx-highlight-text-fill style has no effect

    When I try to set the highlight-text-fill style for a TextBox, it has no effect. The highlight-fill style, however, works as expected.
    public void start(Stage primaryStage) {
        final TextBox tb = new TextBox(100);
        tb.setStyle("-fx-font-size: 3em; -fx-text-fill: #0000ff; -fx-highlight-fill: #00ff00; -fx-highlight-text-fill: #ffffff;");
        final BorderPane root = new BorderPane();
        root.setStyle("-fx-padding: 20;");
        root.setCenter(tb);
        final Scene scene = new Scene(root, 600, 200, Color.BLACK);
        primaryStage.setTitle("JavaFX");
        primaryStage.setScene(scene);
        primaryStage.setVisible(true);
    }But this doesn't seem to be a problem of my custom styles because the default doesn't work either.
    The caspian.css in jfxrt.jar defines a white highlight-text-fill but when selecting the contents of a TextBox, the text color is black.
    Is this an error in caspian.css (maybe the style name is just misspelled) or a current limitation of the beta version?
    Regards,
    Kai

    Thanks David.
    In the meantime I noticed that -fx-prompt-text-fill seems to have the same problem. The prompt text is always gray, no matter which color I set in the style.
    Regards,
    Kai

Maybe you are looking for

  • Background colour of rootUIElementContainer

    Hi All, Can i change the background colour of the rootUIElementContainer to White ? If yes, How? My actuall problem is the i am having a group UI element and want that no part of the rootUIElementContainer be visible. If this can be done then i needn

  • Setting up a new iPhone 4

    I have just had delivered a new iPhone from Apple. My existing iPhone 4 (on O2) has been fully backed up onto iTunes on my iMac. Is there a easy to follow tutorial on making the transition from my old to new iPhone, including when to put in my O2 sim

  • Mapping key to function not overriding original key

    I have mapped the "Key Pad Minus" to our exit (in-line with PF4 from the vt220 terminals). This works OK except it is also puts a minus sign into the field, so on exit I often get "Close This form?" because the form now has a minus sign in a field. I

  • Virtual Key Figures its not populated when execute query

    Hi All I did a BADI for populate a Virtual Key Figure, I follow the instructions of link Link:[http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/60e34f63-f44c-2c10-488e-c89b04e0ca7c?quicklink=index&overridelayout=true] In addition I

  • Openscript warning "No repository path found"

    Hi While executing a script, OpenScript is throwing a warning on the console : WARN  [JwgRepositoryService] No repository path found, using default. repository=C:\Users\assasidh.ORADEV\Desktop How can we get rid of this warning ? This is the content