[solved] NetworkManager OpenVPN disconnection everyday at same time

Everyday at 10:55 I get disconnected from my VPN by way of NetworkManager. I can't figure out how to debug NM and can't find anything in the other logs.
It does not matter which remote server I'm connected to or what programs are running (Desktop / KDE 4 kdeplasma-nm applet).
I don't have any cron jobs running nor do I have any energy saving configurations. Don't know how long it's been going on because there is always an occasional disconnect, but just in the last week or so I noticed that it is repeating at the same time.
Could someone tell me how to debug NM to start?
Last edited by subatomic (2015-01-19 19:07:58)

Thanks for reply Gould, sorry took me while to get back work is very busy.
Here are my ADSL stats as you requested.
Line state:
Connected
Connection time:
0 days, 12:44:56
Downstream:
2.625 Mbps
Upstream:
448 Kbps
ADSL Settings
VPI/VCI:
0/38
Type:
PPPoA
Modulation:
G.992.1 Annex A
Latency type:
Interleaved
Noise margin (Down/Up):
5.0 dB / 17.0 dB
Line attenuation (Down/Up):
58.6 dB / 31.5 dB
Output power (Down/Up):
17.6 dBm / 11.9 dBm
FEC Events (Down/Up):
266147 / 11
CRC Events (Down/Up):
2241 / 6
Loss of Framing (Local/Remote):
0 / 0
Loss of Signal (Local/Remote):
0 / 0
Loss of Power (Local/Remote):
0 / 0
HEC Events (Down/Up):
2151 / 4
Error Seconds (Local/Remote):
22150 / 163
Speed test results are:
 Download speedachieved during the test was - 1836 Kbps
 For your connection, the acceptable range of speeds is 400-2000 Kbps.
 Additional Information:
 Your DSL Connection Rate :2688 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
 IP Profile for your line is - 2000 Kbps
I have the master socket in left picture.
I did the quiet line test but not with a corded phone, can't find anyone with one, there is a small amount of hissing but as you say that is probably interference, having said that phone calls are always quite quiet.
Thanks for help.

Similar Messages

  • Broadband Disconnecting at the Same Time Every Day

    I have been getting help from the MODs in the last week about the SNR on my line. But this weekend, my line was set to 9dB and in the morning it is synced at about 5600 kbps. But then at about 6PM the line goes down and it syncs lower at about 4800 kbps. The noise isn't getting really low and it's disconnecting because of that. It disconnects when the line is at about 8.5dB. So what's going on?
    I have been getting help from the MODs in the last week about the SNR on my line. But this weekend, my line was set to 9dB and in the morning it is synced at about 5600 kbps. But then at about 6PM the line goes down and it syncs lower at about 4800 kbps. The noise isn't getting really low and it's disconnecting because of that. It disconnects when the line is at about 8.5dB. So what's going on?
    Thanks for your help. Here are my line stats:
    I have been getting help from the MODs in the last week about the SNR on my line. But this weekend, my line was set to 9dB and in the morning it is synced at about 5600 kbps. But then at about 6PM the line goes down and it syncs lower at about 4800 kbps. The noise isn't getting really low and it's disconnecting because of that. It disconnects when the line is at about 8.5dB. So what's going on?
    Thanks for your help. Here are my line stats:
    Port
    Status
    TxPkts
    RxPkts
    Collisions
    Tx B/s
    Rx B/s
    Up Time
    WAN
    PPPoA
    590273
    842858
    0
    2592
    35849
    07:45:01
    LAN
    10M/100M
    67507
    43675
    0
    2179
    321
    07:46:02
    WLAN
    11M/54M/130M
    803034
    558248
    0
    34541
    2643
    07:45:41
    ADSL Link
    Downstream
    Upstream
    Connection Speed
    4896 kbps
    448 kbps
    Line Attenuation
    42.0 db
    23.0 db
    Noise Margin
    8.1 db
    23.0 db
    If my answer was helpful, please give me a star by clicking the star on the left hand side.
    Thank you.

    I have been getting help from the MODs in the last week about the SNR on my line. But this weekend, my line was set to 9dB and in the morning it is synced at about 5600 kbps. But then at about 6PM the line goes down and it syncs lower at about 4800 kbps. The noise isn't getting really low and it's disconnecting because of that. It disconnects when the line is at about 8.5dB. So what's going on?
    I have been getting help from the MODs in the last week about the SNR on my line. But this weekend, my line was set to 9dB and in the morning it is synced at about 5600 kbps. But then at about 6PM the line goes down and it syncs lower at about 4800 kbps. The noise isn't getting really low and it's disconnecting because of that. It disconnects when the line is at about 8.5dB. So what's going on?
    Thanks for your help. Here are my line stats:
    I have been getting help from the MODs in the last week about the SNR on my line. But this weekend, my line was set to 9dB and in the morning it is synced at about 5600 kbps. But then at about 6PM the line goes down and it syncs lower at about 4800 kbps. The noise isn't getting really low and it's disconnecting because of that. It disconnects when the line is at about 8.5dB. So what's going on?
    Thanks for your help. Here are my line stats:
    Port
    Status
    TxPkts
    RxPkts
    Collisions
    Tx B/s
    Rx B/s
    Up Time
    WAN
    PPPoA
    590273
    842858
    0
    2592
    35849
    07:45:01
    LAN
    10M/100M
    67507
    43675
    0
    2179
    321
    07:46:02
    WLAN
    11M/54M/130M
    803034
    558248
    0
    34541
    2643
    07:45:41
    ADSL Link
    Downstream
    Upstream
    Connection Speed
    4896 kbps
    448 kbps
    Line Attenuation
    42.0 db
    23.0 db
    Noise Margin
    8.1 db
    23.0 db
    If my answer was helpful, please give me a star by clicking the star on the left hand side.
    Thank you.

  • NetworkManager openvpn asks for password every time.

    How do I make it stop? I'm using xfce4 as a window manager. I've done a lot of digging with a range of answers, none of which worked for me.
    Is it an upstream bug or am I missing something? Ubuntu fixed a bug that might not have been backported that seems to be what I'm experiencing.
    It just won't save the password to the configuration file, or keyring, or whatever it is using.

    chisleu wrote:How do I make it stop? I'm using xfce4 as a window manager. I've done a lot of digging with a range of answers, none of which worked for me.
    If you got those answers here, please link them to us.
    Did you try reinstalling networkmanager and the other related packages?
    Did you set a password for acessing some features? (in this case, for the network) Or are you in the correct permissions for that user?

  • Azure connections drop exactly at the same time everyday.

    Hi Guys,
    I wonder why all my connections to email server and NOC portal gets disconnected at the same time everyday. The connection drops and my retry logic would not get the connection back. However, the connection will be re-established after a while. 
    What could be the problem here. Any pointers to debug this issue will be highly appreciated.
    Thank you,
    AA

    Hi,
    Would you please share the detailed configuration of your deployment?
    Did you create a VPN connection? Is that email server a on-premise server?
    If it is related to Azure VPN connection, it would be better for you to contact
    Azure support by submitting a billing ticket to better analyze the reason.
    Best regards,
    Susie
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact [email protected]

  • Disconnection issue at roughly same time everyday.

    Hi new to posting here but not to reading problems.
    I've had a ongoing problem since April when my homehub2 suddenly gave up downloading, it was uploading fine but would not download, a borrowed hub proved this.
    I got in contact with BT, new contract (ooppss!!) and a new HH3 sent to my door.
    Connected and all ran perfect same speeds or thereabouts as i was getting before.
    Then next morning before work trying to get online with my phone i couldn't, checked HH and all lights were blue but no internet, switched pc on (wired) and nothing so i reset the HH and it worked again, didn't think anymore of it.
    Next few days were fine, then woke in morning and went through same process, this happened on and off over next 2 weeks rang up BT (otherside of planet call center) and was promptly sent a new HH3 as that was DEFINITELY the problem according the 'expert' on the other end of the very long line.
    Fitted and same problem, after countless calls to India i lost the will to live and just gave up as i have a very busy summer job and really didn't need the stress. I have been reseting the hub most mornings since
    NOTE: sometimes the Broadband light is orange but mostly it's blue.
    Now my next door neighbour has recently upgraded there HH2 to a HH3 and they have now started getting these problems, they to have made countless calls to India and got nowhere (apart from another HH3). This had prompted me to try and get on top of it again.
    Let me point out that it's not always at exactly the same time in morning, sometimes it doesn't do the disconnect till later in morning, but mostly when i wake up for work at 7am and try to check emails with my phone, i can sometimes then by 7:15am it might disconnect or 7:30am.
    Looking at my event log in the HH i get alot (and i mean alot) of this error
    (79685.040000) Time synchronisation failed. Tried all servers
    I am connected straight to the master socket with just one phone plugged in, no extensions at all, i have changed the filter more times than i can count. I have also switched off ALL electrical devices in house except HH3 and it made no difference.
    This all started with my HH2 failure and  BT don't seem to care or have no idea, if i don't get it sorted then the contract will be null and void in my eyes as a
    'broadband provider is contractually bound to deliver a service you agreed to pay for so they have to take your request seriously if you don't think they're keeping up their end of the agreement.'
    that is taken from a UK broadband consumer rights website i have emailed, i'm now exhausting all avenues of problem solving so if they still don't sort it then bye bye BT.
    Sorry about the slight aggression but when i pay £23.99 a month for a piddly 2.5mbps( i live in little village), when some of my friends pay £10 for 20mbps(town) connections AND i get palmed off with poor customer services i get very wound up.
    Any help will be massively appreciated

    Thanks for reply Gould, sorry took me while to get back work is very busy.
    Here are my ADSL stats as you requested.
    Line state:
    Connected
    Connection time:
    0 days, 12:44:56
    Downstream:
    2.625 Mbps
    Upstream:
    448 Kbps
    ADSL Settings
    VPI/VCI:
    0/38
    Type:
    PPPoA
    Modulation:
    G.992.1 Annex A
    Latency type:
    Interleaved
    Noise margin (Down/Up):
    5.0 dB / 17.0 dB
    Line attenuation (Down/Up):
    58.6 dB / 31.5 dB
    Output power (Down/Up):
    17.6 dBm / 11.9 dBm
    FEC Events (Down/Up):
    266147 / 11
    CRC Events (Down/Up):
    2241 / 6
    Loss of Framing (Local/Remote):
    0 / 0
    Loss of Signal (Local/Remote):
    0 / 0
    Loss of Power (Local/Remote):
    0 / 0
    HEC Events (Down/Up):
    2151 / 4
    Error Seconds (Local/Remote):
    22150 / 163
    Speed test results are:
     Download speedachieved during the test was - 1836 Kbps
     For your connection, the acceptable range of speeds is 400-2000 Kbps.
     Additional Information:
     Your DSL Connection Rate :2688 Kbps(DOWN-STREAM), 448 Kbps(UP-STREAM)
     IP Profile for your line is - 2000 Kbps
    I have the master socket in left picture.
    I did the quiet line test but not with a corded phone, can't find anyone with one, there is a small amount of hissing but as you say that is probably interference, having said that phone calls are always quite quiet.
    Thanks for help.

  • EA series 4500 and 6500 routers disconnecting once per day, everyday at the same time

    I have had an EA4500 and EA6500 have the following problem:
    I have time warner cable internet, Motorola SB6141 modem.  The modem connects to an Ooma Telo.  The 4500 and then 6500 are connected to the ooma.
    I have this problem when the routers where placed in front of the ooma as well.
    1 time per day, always at the same time, the router stops working.  for both wired and wireless connections.  i need to unplug the router to work.  The modem and ooma continue to work, so i know there is internet getting passed from the modem to the ooma. However, the internet gets disruptted with the routers.
    this must be a settings issue with the router.  where everyday at the same time, maybe when timewarner changes over or something the router does not pick it up?? i dont know. i have gone through 2 routers and same identical problem.
    thanks.

    The DHCP lease time from your ISP might be set on that time that is why 2 routers are behaving the same way. And the routers may not be renewing the ip address successfully, that is why you are losing the internet connection. What you can do is to clone the mac address and you can do that by accessing the router page.
    If you are using the linksys smart wifi interface, go to connectivity > internet settings > click on clone my pc's mac > click on apply.
    You may also check this site for more information about intermittent connections with the router:
    How To: Fixing Router Intermittent Connection Drops
    http://www.smallnetbuilder.com/lanwan/lanwan-basics/24437-howtorouterdrops

  • [Solved] Multiple sounds at the same time

    Hello!
    I've just received my new Creative X-Fi Titanium since I was in need of an optical in socket and have spent a while trying to get it to work to my liking.
    I read through the ALSA wiki, read countless posts on the forums such as this one http://bbs.archlinux.org/viewtopic.php?pid=702994, tried several .asoundrc files and of course read the related arch wiki pages without much success.
    Everything is upmixed properly to 5.1 output but I still can't play two sounds at once - with one odd exception:
    When I have mpd playing and start a youtube video, sound will play but it will only output through the 2 front speakers and I can pause and unpause mpd normally, sound will return.
    When I pause mpd and play a youtube video, it gets upmixed properly but mpd returns "error: problems opening sound device".
    Mplayer returns [AO_ALSA] alsa-lib: pcm_hw.c:1291:(snd_pcm_hw_open) open /dev/snd/pcmC0D0p failed: Invalid argument and [AO_ALSA] alsa-lib: pcm_dmix.c:1060:(snd_pcm_dmix_open) unable to open slave.
    Heroes of Newerth returns the same: ALSA lib pcm_dmix.c:1060:(snd_pcm_dmix_open) unable to open slave.
    fuser -v /dev/snd/*
    /dev/snd/controlC0: eyescream 27612 F.... Steam.exe
    /dev/snd/pcmC0D0p: eyescream 27612 F...m Steam.exe
    fuser -v /dev/dsp*
    zsh: no matches found: /dev/dsp*
    cat .asoundrc
    pcm.snd_card {
    type hw
    card 0 # change to your cards number or name
    # 6 channel dmix:
    pcm.dmix6 {
    type dmix
    ipc_key 1024
    ipc_key_add_uid false
    ipc_perm 0666
    slave {
    pcm "hw:0,0"
    rate 48000
    format "S32_LE"
    channels 6
    period_time 0
    period_size 1024
    buffer_time 0
    buffer_size 8192
    # upmixing:
    pcm.ch51dup {
    type route
    slave.pcm dmix6
    slave.channels 6
    ttable.0.0 1
    ttable.1.1 1
    ttable.0.2 0.6
    ttable.1.3 0.6
    ttable.0.4 0.5
    ttable.1.4 0.5
    ttable.0.5 0.5
    ttable.1.5 0.5
    pcm.duplex {
    type asym
    playback.pcm "ch51dup" # upmix first
    capture.pcm "hw:0"
    # change default device:
    pcm.!default {
    type plug
    slave {
    pcm "duplex"
    # for aoss
    #pcm.dsp "duplex"
    #pcm.dsp1 "duplex"
    If anyone could hint me in the right direction as to how I could get it to work properly or provide me with a working .asoundrc, I'd appreciate it!
    Last edited by eyescream (2010-02-25 19:30:30)

    eyescream wrote:I can have sound in mpd and mplayer at the same time now
    Good. So file the damned bug report against mpd. Right now would be a good time.
    eyescream wrote:but flash completely blocks sound off for other things.
    See thread. Prove to me that flash/firefox is blocking:
    fuser -v /dev/snd/* /dev/dsp*
    eyescream wrote:The problem now is that mpd only outputs through my front speakers, so it isn't being upmixed anymore.
    Forget about upmixing for the moment, until you've got the ALSA/OSS conflict solved.
    Edit: Use e.g.:
    audio_output {
    type "alsa"
    name "Sound Card"
    options "dev=dmixer"
    device "headphones"
    In /etc/mpd.conf or ~/.mpdconf, where the device string matches an ALSA pcm entry.
    eyescream wrote:What do you mean by not renaming "default" exactly?
    This, of course, from your own ~/.asoundrc
    # change default device:
    pcm.!default {
         type plug
         slave {
        pcm "duplex"
    Comment that section out, for the time being.
    Last edited by brebs (2010-02-25 02:43:54)

  • OSS doesn't play more than 1 sound at the same time [SOLVED]

    Hello,
    I use OSS to replace ALSA, it used to work properly here. Today I noticed that I can't play more than one sound at the same time, something which I used to be able to do.
    Also, ossxmix doesn't operate properly (I can't control the volume of a specific program).
    Looks like a permissions issue, because /dev/dsp and /dev/oss are created as root and other users get Permission Denied.
    Any ideas how to fix it? My sound card is an AC'97 onboard.
    Thanks!
    EDIT: Solved by pacman -R oss, rm -rf /usr/lib/oss then pacman -S oss. Seems to have worked.
    Last edited by Renan Birck (2009-01-02 23:06:35)

    Hello Angela,
    Have you tried resetting the iPod yet to see if that makes a difference?  To do this, press and hold both the Select (Center) and Menu buttons together long enough for the Apple logo to appear.
    If that doesn't work, a restore of the iPod via iTunes may be in order.
    B-rock

  • Disconnecting roughly at the same time every day.

    Hi
    I hope I have posted this in the right forum.
    I have a homehub 5 and I am currently on BT Infinity 2.
    Every day between 17:00-17:20 my router disconnects and reboots itself. I've noticed in the Boot section of the Hub's Event Log the words "Watchdog Reset". Is there a problem with my router?
    The disconnects happen whether I'm using the internet or not.
    Below is an small portion of the HH5 boot log.
    Time and date Message
    18:21:52, 11 Feb.
    ( 37.750000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    18:21:32, 11 Feb.
    ( 18.040000) System start
    18:16:36, 10 Feb.
    ( 36.530000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    18:16:17, 10 Feb.
    ( 17.700000) System start
    18:16:17, 10 Feb.
    ( 17.700000) Boot reason: watchdog reset
    18:05:55, 08 Feb.
    ( 38.090000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    18:05:35, 08 Feb.
    ( 17.820000) System start
    18:00:35, 07 Feb.
    ( 36.460000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    18:00:16, 07 Feb.
    ( 17.750000) System start
    17:55:09, 06 Feb.
    ( 36.290000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    17:54:50, 06 Feb.
    ( 17.600000) System start
    17:49:22, 05 Feb.
    ( 36.900000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    17:49:03, 05 Feb.
    ( 17.540000) System start
    17:43:40, 04 Feb.
    ( 37.050000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    17:43:20, 04 Feb.
    ( 17.110000) System start
    17:38:10, 03 Feb.
    ( 37.450000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    17:37:50, 03 Feb.
    ( 17.910000) System start
    17:32:59, 02 Feb.
    ( 34.710000) System up, firmware version: 4.7.5.1.83.8.204 (Type A)
    17:32:40, 02 Feb.
    ( 15.230000) System start
    Any ideas what is causing this and how I can fix it?
    I've also put router info at the end of this post.
    From
    Ian Brooks
    1. Product name:
    BT Home Hub
    2. Serial number:
    +068343+NQ41706425
    3. Firmware version:
    Software version 4.7.5.1.83.8.204 (Type A) Last updated 16/01/15
    4. Board version:
    BT Hub 5A
    5. DSL uptime:
    0 days, 02:43:45
    6. Data rate:
    20000 / 78563
    7. Maximum data rate:
    21879 / 78549
    8. Noise margin:
    6.3 / 6.6
    9. Line attenuation:
    9.7 / 10.8
    10. Signal attenuation:
    9.6 / 10.8
    11. Data sent/received:
    7.4 MB / 61.8 MB
    12. Broadband username:
    [email protected]
    13. BT Wi-fi:
    Yes
    14. 2.4 GHz Wireless network/SSID:
    BTHub5-X8C6
    15. 2.4 GHz Wireless connections:
    Enabled (802.11 b/g/n (up to 144 Mb/s))
    16. 2.4 GHz Wireless security:
    WPA2
    17. 2.4 GHz Wireless channel:
    Automatic (Smart Wireless)
    18. 5 GHz Wireless network/SSID:
    BTHub5-X8C6-5ghz
    19. 5 GHz Wireless connections:
    Enabled (802.11 a/n/ac (up to 1300 Mb/s))
    20. 5 GHz Wireless security:
    WPA2
    21. 5 GHz Wireless channel:
    Automatic (Smart Wireless)
    22. Firewall:
    Default
    23. MAC Address:
    40:f2:01:16:bf:e8
    24. Modulation:
    G.993.2 Annex B
    25. Software variant:
    AA
    26. Boot loader:
    1.0.0

    mr_maximus wrote:
    I dont have an answer for you unfortunately. But I am experiencing the same kind of problem. Maybe sharing this may help.
    Last week I noticed that my router was disconnecting every night at around 9:00pm. 
    Since last weekend it has changed its routine and now disconnects at around 11:00pm. I have also had the watchdog reset message in the log but only once.
    see my post https://community.bt.com/t5/BT-Infinity-Speed-Connection/Night-time-disconnections-and-watchdog-rese...
    Around the time of the disconnection, my hub also seems to go back by an hour, and then resets the time to the correct time after NTP sync. see below. Does yours do this?
    00:06:09, 11 Feb.
    ( 129.030000) NTP synchronization success!
    23:07:13, 10 Feb.
    ( 176.200000) CWMP: session completed successfully
    23:07:12, 10 Feb.
    ( 176.020000) CWMP: HTTP authentication success from https://pbthdm.bt.mo
    23:07:11, 10 Feb.
    ( 174.270000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    23:07:11, 10 Feb.
    ( 174.260000) CWMP: Session start now. Event code(s): '4 VALUE CHANGE'
    23:07:10, 10 Feb.
    ( 173.890000) CWMP: Initializing transaction for event code 4 VALUE CHANGE
    23:06:34, 10 Feb.
    ( 137.410000) CWMP: session completed successfully
    23:06:34, 10 Feb.
    ( 137.230000) CWMP: HTTP authentication success from https://pbthdm.bt.mo
    00:05:56, 11 Feb.
    ( 116.150000) CWMP: Server URL: https://pbthdm.bt.mo; Connecting as user: ACS username
    Also, do you see any of the CWMP messages like the one in my log, happening at around the same time?
    I suspect that these CWMP are somehow triggering the disconnections, and it has something to do with the last firmware update that happened mid-January.
    Someone suggested that I should perform a factory reset of the hub.
    I'm a little reluctant to do so as this turns the openwifi service back on as default, and in the past I have had problems restoring my backed up settings. as the saved config file was corrupted.
    I am considering giving the factory reset a go when I have some time at the weekend.  
    You may want to give it a go also.
    Yes, it seems I have the CWMP messages as well.
    I have just done a factory reset on my home hub 5 and will keep an eye on it over the next few days.
    Thanks for your reply.

  • [Solved?] Installing multiple versions of Firefox at the same time

    I would like to install the normal Firefox in the repositories and also firefox-pgo-minefield-smp from the AUR so that I may use either one as desired. 
    Looking at the current PKGBUILD from http://aur.archlinux.org/packages.php?ID=33506 (pkgbuild @ http://aur.archlinux.org/packages/firef … p/PKGBUILD ) I am thinking that perhaps I would modify this line:
    export LDFLAGS="-Wl,-rpath,/usr/lib/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
    to reflect the path where I would like to install it like so:
    export LDFLAGS="-Wl,-rpath,/opt/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
    And then presumably fix my symlink at /usr/bin/firefox to point back to /usr/lib/firefox-2.6 again. (and also fix the menu links and I realize I would have to use an ugly 'pacman -U tarball --force' to install it -- there's got to be a better way as that is very ugly and wrong surely???? Perhaps modify the pkgname as well as conflicts and provides so I could install it more normally?)
    Correct?  Would I also need to modify a prefix or such besides this and if so where in the pkgbuild (ideally) or source would you recommend (must I change the actual makefile or does my modification in the PKGBUILD take care of this?  Would you in your experience recommend another approach for this?
    I thought it wise to ask here before hacking away with this stuff and possibly hosing my system in unforeseen ways.   Please forgive my greenness.  I have spent a few hours researching this but still am not quite sure thus I ask. While I think I could do it with a straight compile with a modified configure I'm unsure of how to do it best using the arch tools...
    Thanks for your time.
    Last edited by davidm (2010-02-08 14:51:21)

    Basically solved but not yet mastered.
    So I've figured out how to do this, it works, but not yet optimally and I am unsure about some things.  Namely:
    [david@arch-desktop opt]$ ls -l /opt/bin
    total 0
    lrwxrwxrwx 1 root root 33 Feb 8 07:27 firefox -> /opt/lib/firefox-3.7a1pre/firefox
    [david@arch-desktop opt]$ ls -l /opt/lib
    total 8
    drwxr-xr-x 12 root root 4096 Feb 8 07:27 firefox-3.7a1pre
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 firefox-devel-3.7a1pre
    [david@arch-desktop opt]$ ls -l /opt/lib/firefox-devel-3.7a1pre
    total 8
    lrwxrwxrwx 1 root root 25 Feb 8 07:27 bin -> /opt/lib/firefox-3.7a1pre
    lrwxrwxrwx 1 root root 31 Feb 8 07:27 idl -> /opt/share/idl/firefox-3.7a1pre
    lrwxrwxrwx 1 root root 29 Feb 8 07:27 include -> /opt/include/firefox-3.7a1pre
    lrwxrwxrwx 1 root root 39 Feb 8 07:27 lib -> /opt/lib/firefox-devel-3.7a1pre/sdk/lib
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 sdk
    -rw-r--r-- 1 root root 2082 Feb 8 05:06 xpcom-config.h
    [david@arch-desktop lib]$ ls -l /opt/lib/firefox-3.7a1pre
    total 17428
    -rw-r--r-- 1 root root 2102 Feb 8 07:27 application.ini
    -rw-r--r-- 1 root root 2531 Feb 8 07:27 blocklist.xml
    -rw-r--r-- 1 root root 232 Feb 8 07:27 browserconfig.properties
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 chrome
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 components
    drwxr-xr-x 5 root root 4096 Feb 8 07:27 defaults
    -rw-r--r-- 1 root root 139 Feb 8 07:27 dependentlibs.list
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 dictionaries
    drwxr-xr-x 3 root root 4096 Feb 8 07:27 extensions
    -rwxr-xr-x 1 root root 3913 Feb 8 07:27 firefox
    -rwxr-xr-x 1 root root 56788 Feb 8 07:27 firefox-bin
    -rw-r--r-- 1 root root 76888 Feb 8 07:27 greprefs.js
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 icons
    -rwxr-xr-x 1 root root 1846520 Feb 8 07:27 libmozjs.so
    -rwxr-xr-x 1 root root 900176 Feb 8 07:27 libmozsqlite3.so
    -rwxr-xr-x 1 root root 11540 Feb 8 07:27 libxpcom.so
    -rwxr-xr-x 1 root root 14796800 Feb 8 07:27 libxul.so
    -rw-r--r-- 1 root root 30826 Feb 8 07:27 LICENSE
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 modules
    -rwxr-xr-x 1 root root 3108 Feb 8 07:27 mozilla-runtime
    -rwxr-xr-x 1 root root 10720 Feb 8 07:27 mozilla-xremote-client
    -rw-r--r-- 1 root root 154 Feb 8 07:27 platform.ini
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 plugins
    -rw-r--r-- 1 root root 177 Feb 8 07:27 README.txt
    -rw-r--r-- 1 root root 16712 Feb 8 07:27 removed-files
    drwxr-xr-x 6 root root 4096 Feb 8 07:27 res
    -rwxr-xr-x 1 root root 10370 Feb 8 07:27 run-mozilla.sh
    drwxr-xr-x 2 root root 4096 Feb 8 07:27 searchplugins
    [david@arch-desktop include]$ ls -l /opt/include
    total 80
    drwxr-xr-x 11 root root 77824 Feb 8 07:27 firefox-3.7a1pre
    It seems as though it is a bit messy, as if I have more than I need installed. Especially the two entries in /opt/lib/.  Do I really need all this?
    PKGBUILD:
    # Maintainer: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
    # Contributor: blasse <koralik(at)gmail(dot)com>
    # PKGBUILD MODIFIED The above info does not apply. Modified by davidm for personal use, not intended for distribution.
    # This package is not a normal -hg package. I manually bump $_workingrev every now and again when
    # a revision of Firefox passes all of the Linux tests on http://bit.ly/1O4siz
    pkgname=firefox-electrolysis-nightly-opt
    pkgver=999901
    pkgrel=1
    _prever=3.7a1pre
    _workingrev='d2bed0c20e89'
    _mozver=central
    pkgdesc="Mozilla Firefox customizable web browser Electrolysis Nightly installed in opt (XULRunner independent, PGO optimized, 64-bit TraceMonkey, Dev tree, Multithreaded)"
    url="http://www.mozilla.org/projects/firefox"
    arch=('i686' 'x86_64')
    license=('MPL' 'GPL' 'LGPL')
    _soundsystem='alsa-lib' # 'alsa-lib' for ALSA, 'oss' for OSS
    makedepends=('mercurial' 'autoconf-compat' 'gcc>=4.4' 'zip' 'pkgconfig'
    'diffutils' 'libgnomeui>=2.24.1' 'python' 'wireless_tools')
    depends=('gtk2>=2.18.0' 'gcc-libs>=4.4' 'libidl2>=0.8.13' 'mozilla-common'
    'nss>=3.12.4' 'libxt' 'hunspell>=1.2.8' 'startup-notification>=0.10'
    'libnotify>=0.4' 'mime-types' 'dbus-glib>=0.82' 'desktop-file-utils'
    'cairo' ${_soundsystem})
    #provides=("firefox-electrolysis-nightly-opt=$_pkgver")
    #conflicts=('firefox-electrolysis-nightly-opt')
    install=$pkgname.install
    source=('mozconfig'
    'firefox-minefield-smp.desktop'
    'firefox-safe-minefield-smp.desktop'
    'fix-mozilla-launcher.patch'
    'mozilla-firefox-1.0-lang.patch'
    'ldflags-namespec.patch'
    'jemalloc-enable-pgo.patch'
    'potential-pgo-fix.patch')
    #Original hashes
    # sha256sums=('8d08ee111b88473a53e8c0852d463971af7a827f796a94d3fe74ca2eed76ca0b'
    # '21722965bb0bab05e3fbd2f584dbcaeb9f0726ed755f59bbf6fb26a7f964e6ec'
    # '00641e2d7ba45a607522a621aa86c21e13b2951ebca920b1e0b538b0e1188445'
    # 'd4948cc5878b2100b4d19b0fbc09119c34377593c5847678d5788db2b4e0fe43'
    # '0ca095ff2af57297f615877a7e79ddc84d1a3f62509a8af6ca50aad7a8671f6a'
    # '0e9631fdad5efa3fd7a95b59171f5d15420d10aa61748b920cc994ee9227915c'
    # 'e6b8345215eb0c595cadfd6b1abb3a12a1cad8b8b1f3528e6affc58900695215'
    # 'bf53a9712aada73dbecb45516bf932b52e7b8debf25cf19294adbfcc54d80028')
    #My MODIFIED HAshes
    md5sums=('ee857ec52fe3c7a047a282cfc5587d07'
    '68cf02788491c6e846729b2f2913bf79'
    '5e68cabfcf3c021806b326f664ac505e'
    '63eee2d1da3b43c9d604f2253f242f40'
    'bd5db57c23c72a02a489592644f18995'
    '9e461e5fc73b241d68d08be908405a5e'
    'df6fde73c9fdb38245f50b9b5bb09024'
    '9587e0e6da42c883e34a46ee35cc3b7d')
    # Don't use normal _hgroot/_hgrepo, we don't want Pacman automagically changing the pkgver.
    _ff_hgroot="http://hg.mozilla.org/projects/electrolysis"
    build() {
    msg "* Note: If the build fails, try again, try without jemalloc PGO, and try *"
    msg "* without PGO at all. Also, try with 'potential-pgo-fix.patch'. PGO can be *"
    msg "* temperamental -- it can sometimes take two or three builds before you'll *"
    msg "* get a good one. *"
    sleep 15
    cd "$srcdir"
    # It can take a long time to re-fetch the Mozilla source...
    # The commented lines are for use by experienced users who build often.
    hg clone "$_ff_hgroot/mozilla-$_mozver" "mozilla-$_mozver" || return 1
    # tar xf "$startdir/mozilla-$_mozver.tar.gz" || return 1
    cd "mozilla-$_mozver"
    # hg pull || return 1
    # hg update || return 1
    # cd ..
    # tar czf "$startdir/mozilla-$_mozver.tar.gz" "mozilla-$_mozver" || return 1
    # cd "mozilla-$_mozver"
    # hg up "$_workingrev" || return 1 # Comment out this line to use the untested latest source.
    cp "$srcdir/mozconfig" .mozconfig || return 1
    # Don't strip if the user doesn't want to... ;p
    if [ "$(check_option strip)" = "n" ]; then
    sed -i 's/--enable-strip/--disable-strip/' \
    .mozconfig || return 1
    sed -i 's/--enable-install-strip/--disable-install-strip/' \
    .mozconfig || return 1
    fi
    if [ "$_soundsystem" = "oss" ]; then
    msg "Using OSS instead of ALSA."
    sed -i 's/sydney_audio_alsa/sydney_audio_oss/' \
    media/libsydneyaudio/src/Makefile.in || return 1
    # Get rid of ALSA config system stuff (requires autoconf rerun)
    sed -i '/alsa\//d' config/system-headers || return 1
    sed -i '/alsa\//d' js/src/config/system-headers || return 1
    sed -i '/LIB(asound/d' configure.in || return 1
    fi
    msg "Patching source."
    msg "Patches from main Arch xulrunner/firefox packages..."
    # Fix stub launcher - Arch
    patch -Np0 -i "$srcdir"/fix-mozilla-launcher.patch || return 1
    # Use LANG environment variable to choose locale
    patch -Np1 -i "$srcdir"/mozilla-firefox-1.0-lang.patch || return 1
    msg "Patches from this package..."
    # PGO compilation LDFLAGS fix
    patch -Np1 -i "$srcdir"/ldflags-namespec.patch || return 1
    # Enable experimental PGO for jemalloc (speed).
    # See Mozilla bugs #418866 and #419470.
    patch -Np0 -i "$srcdir"/jemalloc-enable-pgo.patch || return 1
    # Sometimes necessary for PGO build to work, especially when PGO compile
    # aborts with an error about control sum mismatch (thx to methuselah!)
    # patch -Np1 -i "$srcdir/potential-pgo-fix.patch" || return 1
    msg "Setting up build."
    # Changing the user's optimization flags is justified, because this is
    # a package specifically for an optimized software build, and because of
    # the official branding, binaries can't be redistributed anyways.
    # These flags just set guidelines for the build, they are overridden in
    # most compile job pieces by Firefox's better judgement.
    #export CFLAGS="-march=native -O2 -pipe"
    #export CXXFLAGS="-march=native -O2 -pipe"
    export CFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
    export CXXFLAGS="-march=i686 -mtune=pentium4 -O2 -pipe -fomit-frame-pointer"
    # The hash-style and as-needed flags are in Arch defaults anyways,
    # and the other optimization falgs are almost definitely safe.
    export LDFLAGS="-Wl,-rpath,/opt/lib/firefox-$_prever -Wl,-O1,--sort-common,--hash-style=gnu,--as-needed"
    autoconf-2.13 || return 1
    msg "Actual build."
    # Yes, all this is SMP. MOZ_MAKE_FLAGS takes care of it.
    # Compile a non-PGO build first to reduce chance of error in PGO build.
    make -j1 -f client.mk build MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
    # Comment out remaining lines for a non-PGO build.
    msg "Profiled build now."
    # Don't let PGO disrupt the user, use a virtual framebuffer.
    LD_PRELOAD="" /usr/bin/Xvfb -nolisten tcp -extension GLX :99 &
    XPID=$!
    DISPLAY=:99 LD_PRELOAD="" make -j1 -f client.mk profiledbuild \
    MOZ_MAKE_FLAGS="$MAKEFLAGS" || return 1
    kill -9 $XPID
    package() {
    cd "$srcdir/mozilla-$_mozver"
    make -j1 DESTDIR="$pkgdir" -C ff-pgo install || return 1
    # install -Dm644 "$srcdir/mozilla-$_mozver/other-licenses/branding/firefox/mozicon128.png" \
    # "$pkgdir/usr/share/pixmaps/firefox.png" || return 1
    # install -Dm644 "$srcdir/firefox--minefield-smp.desktop" \
    # "$pkgdir/usr/share/applications/firefox-minefield-smp.desktop" || return 1
    # install -Dm644 "$srcdir/firefox-safe-minefield-smp.desktop" \
    # "$pkgdir/usr/share/applications/firefox-safe-minefield-smp.desktop" \
    # || return 1
    # Remove devel stuff.
    rm -rf "$pkgdir/usr/include/"
    rm -rf "$pkgdir/usr/lib/firefox-devel-$_prever/"
    rm -rf "$pkgdir/usr/share/idl/"
    mozconfig:
    ac_add_options --enable-application=browser
    mk_add_options MOZ_CO_PROJECT=browser
    ac_add_options --prefix=/opt --libdir=/opt/lib
    ## System libs are preferred
    ac_add_options --with-system-nss --with-system-jpeg --with-pthread
    ac_add_options --with-system-zlib --with-system-libpng --with-system-bz2
    ac_add_options --enable-system-cairo --with-system-hunspell --with-system-sqlite
    ac_add_options --with-system-nspr
    ## GNU/Linux stuff
    ac_add_options --disable-installer --disable-updater
    ac_add_options --enable-official-branding
    ac_add_options --enable-startup-notification
    ## Optimize
    ac_add_options --disable-pedantic --enable-jemalloc --enable-xterm-updates
    ### Reverse these lines (enable vs disable) for a debug build
    ac_add_options --enable-optimize --disable-debug --disable-tests
    ac_add_options --enable-profile-guided-optimization
    ac_add_options --enable-strip --enable-install-strip
    ## Edit these as you see fit
    ac_add_options --disable-crashreporter --disable-parental-controls
    ac_add_options --enable-printing --enable-xinerama
    # Sane settings include cairo-gtk2-df, cairo-gtk2, and cairo-qt.
    ac_add_options --enable-default-toolkit=cairo-gtk2
    ac_add_options --enable-places --enable-svg --enable-pango --enable-canvas
    ac_add_options --enable-smil --disable-java-xpcom --enable-canvas3d
    # This is disabled in order to speed Firefox up, it prevents checking Google
    # for every single URL Firefox processes. If you're using this package, it's likely you already
    # know enough to be safe online, or are paranoid (perhaps with reason) about
    # Google getting your URLs. Also, this is GNU/Linux, we have somewhat less to fear ;-)
    ac_add_options --disable-safe-browsing
    mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/ff-pgo
    mk_add_options PROFILE_GEN_SCRIPT='$(PYTHON) $(MOZ_OBJDIR)/_profile/pgo/profileserver.py'
    export BUILD_OFFICIAL=1
    export MOZILLA_OFFICIAL=1
    mk_add_options BUILD_OFFICIAL=1
    mk_add_options MOZILLA_OFFICIAL=1
    # Want to change the compiler?
    #export CC='gcc-4.5'
    #export CXX='g++-4.5'
    ^ A dirty hack to download the latest nightly of the electrolysis tree, pgo optimized for an intel i686 P4 (not native to get around the seg fault bug). I just commented out the .desktop files as well as the icon for now. Also the conflicts and provides section have merely been commented out. The goal is to have this work independently from the standard firefox allowing me to run both on the system at the same time.
    Anyone see anything that I have missed and could fix as far as doing the separate install in /opt using makepkg and the pkgbuild?   I've been using arch less than a month and this is the first I've really hacked with a PKGBUILD and mozconfig so I feel I could really use the help. Any insight appreciated greatly.
    Last edited by davidm (2010-02-08 15:25:49)

  • [Solved] Sound with ALSA and PulseAudio at the same time?

    Hi, I am using arch linux to play Counter Strike on.
    While it works fine and all, I just don't get any sound in CS because I am using Mangler, which only seems to work with my microphone if I use PulseAudio.
    I hope this is a rather simple issue, basicly, I just want to enable sound in PulseAudio and ALSA at the same time, is this possible?
    Last edited by Paaskehare (2010-08-12 15:39:09)

    I have read that PulseAudio decreases sound quality, and therefore I would not like to use this as a systemwide driver, but rather only where it is needed.
    Please correct me if I am wrong
    Edit:
    Ok, sound quality isn't noticeably worse, so this will do. HOWEVER, while I am in Counter Strike my sound is delayed by ~1 second, and it is therefore useless, any thoughts on that matter?
    Edit again .. Solved this time:
    I set my ALSA plugin in winecfg to "Hardware Acceleration: Emulation" - that seemed to do the trick.
    Last edited by Paaskehare (2010-08-12 15:38:56)

  • Hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you

    hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you

    hello. the last month i face a problem with youtube at my macbook. most videos stop playing after maybe 20 - 25 sec. the same time the time bar stops moving. could you help me solve the problem? thank you

  • How to make my Labview vi program run at the same time everyday?

    I have Labview vi that uses "Time Stamp Control & Indicator" on front panel to set time & date for program operation.
    But, I cannot separate the Date from the Time for Start & Stop control.
    I want pgm to run everyday (7days/week) at the same time (e.g. 8am to 630pm) - I don't care about the start & stop Date feature.
    So, everyday I have to manually open the Control & change the date to today.
    How can I make program only respond to Time start & stop?
    Thanks,
    jaceb

    Of course rather than create yet something else that is running all the time, setup your VI to only execute for the desired amount of time, If you running windows you can use the task scheduler to launch it.
    http://support.microsoft.com/kb/308569
    Puts the burden on the OS and is not dependant on you starting it everytime you reboot, or having to put it in the start menu.  there are options for it to run even if you are not logged onto the system.
    Although not absolutely certain, I am reasonably sure that mac and linux also have something similar.
    Paul <--Always Learning!!!
    sense and simplicity.
    Browse my sample VIs?

  • Hey dear my i phone locked and stak at the same time i can`t open it how can i solve this problem

    hey dear my i phone locked and stak at the same time i can`t open it how can i solve this problem

      Try to Reset your device:
    Press and hold both the Sleep/Wake button and the Home button for at least ten seconds, until the Apple logo appears (ignore the Slide to Power Off option that shows up first).

  • Not able to make outgoing calls in iphone4. Regularly i face this problem, at the same time i receive incoming call, can do net surfing, can access email and sms, only outgoing calls get failed every time. please answer to solve this problem

    not able to make outgoing calls in iphone4. Regularly i face this problem, at the same time i receive incoming call, can do net surfing, can access email and sms, only outgoing calls get failed every time. please answer to solve this problem

    Good day Sidharth Namrta,
    It sounds like you are unable to make any calls, but you can recieve them, and everything else seems to work fine. I recommend you use the troubleshooting in the following article to help you get that resolved, named:
    iPhone: Troubleshooting issues making or receiving calls
    Follow the steps below to resolve this issue. Please test after each step.
    Toggle airplane mode: Tap Settings > Enable Airplane Mode, wait five seconds, then turn off airplane mode.
    Check your phone settings:
    Check your Do Not Disturb settings: Tap Settings > Do Not Disturb.
    Check for any blocked phone numbers: Tap Settings > Phone > Blocked.
    See if Call Forwarding is turned on: Tap Settings > Phone > Call Forwarding.
    Ensure that your software is up to date:
    Check for a carrier settings update.
    Check for an iOS software update. 
    Note: Some updates may require a Wi-Fi connection.
    If the iPhone has a SIM card, reseat the SIM card.
    If the iPhone 4 or iPhone 4s is on the Verizon network, dial *228 from the iPhone and select option 2 to update the Preferred Roaming List (PRL). The PRL determines the cellular towers the phone uses for cellular service, selecting those with the best signal strength.
    Reset the network settings: Tap  Settings > General > Reset > Reset Network Settings.
    Try to make or receive calls in another location.
    Attempt to isolate to one network band:
    If you're having the issue on LTE, disable LTE, if possible, and try again.
    If you're having the issue on 3G/4G, disable 3G/4G, if possible, and try again.
    Contact the carrier to check the following:
    Your account is properly configured to use the specific iPhone that has the issue.
    There are no localized service outages.
    Your account doesn't have a billing-related block.
    Your calls don't have errors on the carrier system.
    Restore the phone as new.
    If the above steps don't resolve the issue, go to an Apple Retail Store, carrier, Apple Authorized Reseller, or contact AppleCare to send the phone in for service.
    Thank you for using Apple Support Communities.
    All the very best,
    Sterling

Maybe you are looking for

  • Web Browsers Not Loading Pages

    Yesterday, I noticed I had problems accessing a few web pages. I use Firefox and was getting pages of code, pages that loaded in weird ways, and some pages just wouldn't load at all, giving me a message saying: "Content Encoding Error: The page you a

  • Deleting query views in a portal

    Hello BI fans, I want to add a delete button in a web template to delete a saved query view (based on a query which shows data). Unfortunately there is no default command or instruction for data provider according to the commands LOAD and SAVE_AS. Ca

  • Can't seem to use safari reader on iPhone 4 iOS 5?

    So I updated to iOS 5 but I dont have the "reader" button at all on safari, I know where its meant to be (I saw on a picture it was supposed to be on the address bar) dispite looking on all different websites, I still can't find it, I tried turning m

  • MBP shuts down @ low battery instead of Sleep

    So my new 2.4 Ghz Aluminum MBP (SSD, 4GB Ram) doesn't go to sleep when I use up the battery. When the battery is drained, the display turns black and the LED light blinks once and the computer shuts down. I thought this could be a problem caused by I

  • Why won't iMovie save my edits?

    I'm using iMovie 09...haven't figured-out 10 yet (can't find any tutorial info). When I edit my movie with music and chapters and then shut-down and re-open the application, all of my editing is gone. I thought iMovie automatically saved all changes.