Problem configuring Thinkpad trackpoint using sysfs in /etc/rc.local

I'm trying to configure my Thinkpad's trackpoint sensitivity and speed by writing to sysfs (as described in http://www.thinkwiki.org/wiki/How_to_co … .26_Speed). However, at boot I get "No such file or directory" errors for those files.
After logging in (to either virtual console or X), I can successfully run /etc/rc.local to make this configuration change, but this extra (manual) step is annoying, so I'd like to figure out what's going on. Has anyone else run into this problem and found a solution?

I'm also using thinkpad, but i think it's not the best way to do so. Some thinkpads udev and create the files pretty late after boot.
if the file haven't been created before exec the tmpfiles.d.  It wouldn't work!! (that's what happened to my thinkpad).
When i'm using rc.local previously, adding a timer "sleep 5" maybe a solution. but using tmpfiles.d, there's no way to add a delay execution.
so the best way is here:
/etc/udev/rules.d/trackpoint.rules
SUBSYSTEM=="serio", DRIVERS=="psmouse", WAIT_FOR="/sys/devices/platform/i8042/serio1/serio2/sensitivity", ATTR{sensitivity}="200", ATTR{speed}="150"
ANOKNUSA wrote:
Alright, so I finally got around to writing up a tmpfile for this, and it works like a charm.  Folks using Thinkpads in the future can use the following for persistent TrackPoint  settings:
/etc/tmpfiles.d/tpoint.conf
w /sys/devices/platform/i8042/serio1/speed - - - - 215
w /sys/devices/platform/i8042/serio1/sensitivity - - - - 230
Just change the integers to suit your own taste.  Thanks for the pointers, everyone.

Similar Messages

  • [Solved] How to configure ThinkPad trackpoint in arch?

    http://www.thinkwiki.org/wiki/How_to_co … TrackPoint
    Says how to do it.
    http://www.thinkwiki.org/wiki/Patch_to_ … figuration
    Says that it should be included unless it's removed by the archteam.
    I can come this far:
    echo -n 120 > /sys/devices/platform/i8042/serio0/
    but then the serio2 folder is missing.
    Any ideas?
    Package problem in the latest post!
    Last edited by bredin (2008-07-29 17:02:25)

    You missed a piece of info on the thinkwiki pages:
    # With kernels 2.6.19 and above config files for this driver are located in /sys/devices/platform/i8042/serio1.
    # With kernels 2.6.13 (inclusive) to 2.6.19 (exclusive) config files for this driver are located in /sys/devices/platform/i8042/serio0/serio2.
    I use the following config on my X61:
    echo -n 250 > /sys/devices/platform/i8042/serio1/sensitivity
    echo -n 160 > /sys/devices/platform/i8042/serio1/speed
    echo -n 1 > /sys/devices/platform/i8042/serio1/press_to_select
    echo -n 4 > /sys/devices/platform/i8042/serio1/upthresh

  • Problem configuring IP SLA using SNMP

    I am trying to configure IP SLA on a Cisco device using SNMP. No matter what I do the rttMonCtrlAdminStatus changes to 1 even though I set it to 4.
    The device is  - Cisco IOS Software, 2800 Software (C2800NM-SPSERVICESK9-M), Version 12.4(22)T, RELEASE SOFTWARE (fc1)
    My snmpset command is as follows
    snmpset -v2c -c xxxxxx  100.252.0.12  1.3.6.1.4.1.9.9.42.1.2.1.1.9.1 i 4 1.3.6.1.4.1.9.9.42.1.2.1.1.4.1 i 1 1.3.6.1.4.1.9.9.42.1.2.2.1.1.1 i 2 1.3.6.1.4.1.9.9.42.1.2.2.1.2.1 x 'AC 10 1B 06' 1.3.6.1.4.1.9.9.42.1.2.2.1.6.1 x '0A FE 00 02' 1.3.6.1.4.1.9.9.42.1.2.5.1.2.1 t 1 1.3.6.1.4.1.9.9.42.1.2.5.1.1.1 i 214748364                                                           
    SNMPv2-SMI::enterprises.9.9.42.1.2.1.1.9.1 = INTEGER: 4                       
    SNMPv2-SMI::enterprises.9.9.42.1.2.1.1.4.1 = INTEGER: 1                        
    SNMPv2-SMI::enterprises.9.9.42.1.2.2.1.1.1 = INTEGER: 2
    SNMPv2-SMI::enterprises.9.9.42.1.2.2.1.2.1 = Hex-STRING: AC 10 1B 06
    SNMPv2-SMI::enterprises.9.9.42.1.2.2.1.6.1 = Hex-STRING: 0A FE 00 02
    SNMPv2-SMI::enterprises.9.9.42.1.2.5.1.2.1 = Timeticks: (1) 0:00:00.01
    SNMPv2-SMI::enterprises.9.9.42.1.2.5.1.1.1 = INTEGER: 214748364
    Things look fine here. Now when I try to cross verify
    snmpwalk -v2c -c xxxxxx 100.252.0.12 1.3.6.1.4.1.9.9.42.1.2.1.1.9
    SNMPv2-SMI::enterprises.9.9.42.1.2.1.1.9.1 = INTEGER: 1   
    The rttMonCtrlAdminStatus shows as 1.
    Is there something that I am missing out?

    This is normal.  You set the row status to createAndGo, and because everything was configured properly, the row transitions to active(1) automatically.  This what you want.

  • Problem configuring CAF / GP on NWDI

    Hi expert,
    I am newbie in using CAF and JDI. Currently I required to configure CAF / GP on NWDI and I have followed the steps recommended in "Installation Cookbook - Configure CAF / FP on NWDI 7.00".
    I have also download the archives as listed below and imported them successfully to CMS:
    SAPJTECHS.sca
    SAPBUILDT.sca
    SAPJEE.sca
    BIUDI.sca
    BIMMR.sca
    SAPEU.sca
    CAF.sca
    CAFKM.sca
    However, as I try to import them to the Development System, the browser response with the status "Import failed" . I look at the log files, and saw something like this:
    Info:Starting Step Repository-import at 2007-06-12 15:16:17.0375 +8:00
    Info:Component:sap.com/BI_UDI
    Info:Version  :SAP AG.20070131230600
    Info:1. PR is of type TCSSoftwareComponent
    Info:==> sources will not be imported for this SC
    Info:Step Repository-import ended with result 'not needed' at 2007-06-12 15:16:17.0406 +8:00
    can advise?
    Thank you.

    Hi
    I have looked through the System SIC -> monitor, I released that there is appropriate version of SCA in the server. Does that explain the following error message ?
    Info:==> sources will not be imported for this SC
    Info:Step Repository-import ended with result 'not needed' at 2007-06-12 15:16:17.0406 +8:00
    Even with that components, I have skipped the following steps
    9) import the checked in archives into the Development system (which is unsuccessful)
    10) import the checked in archives into the consolidated system
    11) configure runtime systems in the track
    12) import the development configuration
    And I proceed to the steps Chandan has advised:
    4. Now go to the NWDS and set the URL of server in Development Configuration perspective as per the doc.
    5. Now Login through user id and password from NWDS.
    6. select your track and import it.
    In NWDS, I went on to locate my component in the tracks and want to create local Web Dynpro DC with the dependencies set. So I right click and select Create New DC... and sync it as Web Dynpro.
    Then I encounter the following error:
    Development Component Creation completed with some problems.
    Reason:
    some used DCs are not available locally,
    you have to sync used DCs for this project.
    I decided to sync the DCs by right click on the Used DCs folder and select Add Used DC...
    From there I went on to select sap.com_SAP_JTECHS. As I expand the tree for this, there isn't any component for me to sync.
    I cannot proceed if there is missing components and the components:
    webdynproruntime_designtime_coupling_api.jar
    webdynproruntime_designtime_coupling.jar
    webdynproruntime_designtime_repository_pmr.jar
    webdynproruntime_designtime_repository.jar
    webdynproruntime_services.jar
    webdynpromodel_dynamicrfc.jar
    webdynpromodelimlp.jar
    webdynproprogmodel.jar etc
    I realise that they are from SAPJTECHS which already in the NW.
    Can help?
    Thanks

  • Environment variables /etc/skel/local.profile and /etc/skel/.profile

    Hi
    I have a problem to provide the working environment for ALL THE USERS :/ with all the files in this directory:
    */etc/skel/*
    In Oracle Documentation says: You can use these files ( */etc/skel/local.profile* ) as a starting point and then modify them to create a standard set of files
    that provide the work environment common to all users. Defines the user's environment at login.
    I edit the file */etc/skel/.profile* for put the JAVA_HOME variable for all the users of this way
    nano /etc/skel/.profile
    export JAVA_HOME=/usr/bin/java *#I added this variable*
    export PATH=/usr/bin:/usr/sbin
    if [ -f /usr/bin/less ]; then
    export PAGER="/usr/bin/less -ins"
    elif [ -f /usr/bin/more ]; then
    export PAGER="/usr/bin/more -s"
    fi
    case ${SHELL} in
    *bash)
    typeset +x PS1="\u@\h:\w\\$ "
    esac
    Later I check the parameters to add the user
    useradd -D
    group=staff,10 project=default,3 basedir=/export/home
    skel=/etc/skel shell=/usr/bin/bash inactive=0
    expire= auths= profiles= roles= limitpriv=
    defaultpriv= lock_after_retries=
    adduser -m testuser
    passwd testuser
    I log on as testuser and check if the variable JAVA_HOME is available, but no.
    Why it can not see that variable as available? THAN YOU FOR YOUR HELP

    Try local.profile instead of .profile
    If there is one already there then rename it first.
    alan

  • I have set up our school ipads to be supervised by Apple Configurator and am using VPP to buy apps.  I now find the supervised ipads do not allow the pupils to download photos or movies etc. Any suggestions would be great please.

    I have set up our school ipads to be supervised by Apple Configurator and am using VPP to buy apps. I did this initially as our school internet connection was stopping us from being able to update the IOS and our County was offering a managed system, Lightspeed, which took control of every device in school which proved very expensive.  I now find the supervised ipads do not allow the pupils to download photos or movies etc. As we frequently use the ipads as cameras this is causing us a problem. We have a school imac that I use to keep the devices updated with Apple Configurator (not connected to our network), and this doesn't seem to offer any solution to download them either.  I was told there was a setting in Apple Configurator to allow other computers to download from supervised devices, but I can't see it anywhere.  I am very new to this so any advice or help would be greatly appreciated please.

    I assume you are wanting to take the photos and movies off the iPads?
    Connect the iPad to a Apple computer. Open "Image Capture". Any photos or video can me imported to the desktop or other location on your computer.
    I had this same problem last year and as we have no wifi I asked lots of people at Apple what I could do - no one provided this answer (a little unbelievable!). If you have wifi using something like dropbox would be an easier solution.
    Hope this helps

  • Using Thinkpad Trackpoint USB Keyboard with MacBook Pro, Air, Retina (with pictures)

    Using Thinkpad Trackpoint USB Keyboard with MacBook Pro, Air, Retina (with pictures)
    The purpose of this discussion thread is to:
    (1) Get community thoughts around using alternative and complimentary mousing approaches with MacBooks 
    (2) To share a current and searchable set of resources for those interested in leveraging a best-of-both-worlds approach for using a non-Apple Trackpoint Keyboard with an Apple MacBook.
    (3) To level-set the fact that a Thinkpad Trackpoint USB Keyboard works with MacBooks automatically and instantly out-of-the-box.
    Note: I created this discussion because I found that all the other discussion threads related to using a Thinkpad Trackpoint Keyboard with MacBooks were archived and therefore I could not post my thoughts there.
    I have been using MacBooks for 3+ years now.  Airs, Pros, Retinas etc.  I LOVE the built-in MacBook Apple Trackpad.  It is wonderful.  Apple has no equal as far as Trackpads go.
    In addition, I have been using the Thinkpad Trackpoint USB Keyboard with my MacBooks for ~2 years, and below is why I have found BOTH the Apple Trackpad and Thinkpad Trackpoint to be great.
    The Trackpoint and Trackpad both have their sweet spots.  Personally I use the built-in Apple Trackpad on my MacBooks when I'm using my MacBook for less than 1 hour, loosely speaking.  If I am going to be heads-down for more than 1 hr writing, reading, surfing, graphic designing, programming, workshop facilitating, teaching, mindmapping, presenting, demoing, etc. then I pull out my "Lenovo Thinkpad USB Keyboard with Trackpoint (55Y9003) > https://www.google.com/search?&q=lenovo+thinkpad+trackpoint+usb+keyboard
    I know many will laugh at me for using a Thinkpad Trackpoint Keyboard with a MacBook...  Keeping an open mind, let's just agree that there is historical precedence for alternative mousing devices.  If I could only choose one, I would use the Apple MacBook built-in Trackpad exclusively, however with alternatives come potential benefits.  Keep in mind that Apple, Microsoft, Logitech and many other companies make millions of dollars each year providing alternative peripheral devices for computers, and mousing is no exception.  Regardless, I just want to share my positive experiences using both. :-)
    Why should you care?  For *some* people the following is true and meaningful.  The Trackpoint (the little red eraser head stick thingy) in the midle of the keyboard enables useful and unique dynamics/use-cases, including:
    You don't have to take your hand(s) off the keyboard to mouse
    You can independantly click without accidentally moving the mouse (Yes I know some people don't have issues with this)
    You don't run out of finger-gesture runway when you're moving your mouse across the screen (I know this is a gray area for some people)
    For mouse-movement-heavy applications (e.g. Graphics, drawing, etc.) the Trackpoint *is at times* more exacting
    Below I share some pictures (which I know *look* ridiculous to some people, but none-the-less help demystify what this looks like.  And, while ridiculous looking, it is actually quite thin and elegant once you get over the initial shock of seeing these two diverse technologies combined in this way.
    Rest assured, the keyboard shown below (google "55Y9003") is VERY light, thin and fits in almost any laptop case/backpack easily so it is not a big deal to carry it, if you work on-the-go.  In addition:
    It is UNCANNY how well it fits on top of the keyboard space of all MacBooks. 
    It fits perfectly around the corners of the MacBook Pro/Air/Retina keyboard
    Note: I took one of the 5 rubber feet/pads off the bottom of my keyboard, the one in the middle
    Lastly, you can actually use the built-in Apple Trackpad at the SAME TIME as the Trackpoint Keyboard. 
    It is quite a nice best-of-both-worlds approach for people that like the benefits of the "Why should you care?" use cases above.
    Please reply and comment with your thoughts and please let's keep it positive, constructive and friendly :-)
    Pictures Below:
    My two Retina MBPs, one with and one without the keyboard, so you can easily see the difference.  (As if you wouldn't)
    A slightly closer-up shot of just the RMBP with the Trackpoint Keyboard on top
    Please reply and comment with your thoughts and please let's keep it positive, constructive and friendly :-)

    Newer Bluetooth version of the ThinkPad External Trackpoint Keyboard available...
    The new version is smaller, so you can use your MacBook Trackpad at the same time as your Trackpoint keyboard.
    Here is the Lenovo model/Part Number# 0B47190
    Here is a picture of what it looks like:
    Note: Just like the older larger USB model keyboard, there is a rubbery footpad in the middle of the bottom of the keyboard that I just peeled off.  Otherwise, it makes the "H" key press accidentally under-neath the keyboard.  Once I took that off, it fit perfectly over and around the built-in MacBook keyboard, so I can optionally put it on top of my MacBook for easy typing. :-)

  • Problem to come back from sleep mode in Lenovo Thinkpad T400 using Windows XP

    Problem to come back from sleep mode  in Lenovo Thinkpad T400 using Windows XP. Each time closing the T400 lid and try to make the laptop into a sleep mode for some time, it does not properly come out of sleep mode. Login screen is able to see when opening the lid for the first time, but it only seen for a while before then a black screen on T400 Thinkpad appears. Sometime the hard drive activity can be shown also. And then, to come back I had only one option to hard re-boot.
    I tried Fn+F4 and power button once to come back but no use.
    Please provide me some solution for this?
    Thanks in Advance.

    oh sorry and its been closed inbetween uses. When i open it the keyboard doesn't light up and it makes no sound.

  • When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    When I navigate web with Firefox my Thinkpad trackpoint center button is not working. With other web browsers it works well. Where is the problem in firefox, how to enable TrackPoint center button?

    I have exactly the same settings in Options (in both computers)
    for history, these 2 add-ons and all other stuff in Options. The only difference is that on 1 pc sessions can be saved and closed tabs can be reopened, on other main pc they stopped to work. + no any other add-on that does similar things works on this pc.
    It is also interesting that I can reopen closed visited sites from History Panel, but not by pressing the Button. For now I only manually bookmark links to a temporary folder.
    Recently (some 2 month ago) I pressed x and Firefox closed all tabs without saving them without displaying save & quit pop up.
    so I changed 4 settings in about.config
    browser.tabs.warn on close true
    browser.warn on quit true
    browser.warn on restart true
    browser.show.quit warning true
    but the problem with sessions appeared only 1 week ago.
    So I guess the problem is not with the History settings or other settings. Seems that something responsible for button or for storing info about tabs/sessions got corrupted. :(

  • Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems.

    Hi, every time i try downloading ios5 it reaches 100% and then the connection times out and nothing happens after that; though the internet connection is fine as i can access other sites etc. what could be the problem?i tried using 2 different modems. Where can i download the ios5 from as my itunes is on my desktop which uses windows xp. Please help

    Download iOS 5.1
    iOS 5.1 (build 9B176) is compatible with iPad 1, iPad 2, iPhone 3GS, iPhone 4, iPhone 4S, iPod touch 3rd & 4th gen, and iPad 3. Additional builds are available for Apple TV 2 and Apple TV 3. The below download links are all direct downloads of iOS 5.1 from Apple.
    iPad 1
    iPad 2 Wi-Fi
    iPad 2 GSM (AT&T)
    iPad 2 CDMA (Verizon)
    iPad 2,4
    iPhone 3GS
    iPhone 4 GSM (AT&T)
    iPhone 4 CDMA (Verizon)
    iPhone 4S
    iPod touch 3G
    iPod touch 4G
    iPad 3 Wi-Fi
    iPad 3 GSM
    iPad 3 CDMA
    Apple TV 2 (9B179b1)
    Apple TV 3 (9B179b1)
    Source: http://osxdaily.com/2012/03/07/ios-5-1-download/

  • ThinkPad trackpoint: unable to restore speed/sensitivity [SOLVED]

    I have ThinkPad x201i, Arch 64bit and (ofc) trackpoint which I want to configure.
    I'm using:
    # echo -n 200 > /sys/devices/platform/i8042/serio1/serio2/speed &
    # echo -n 200 > /sys/devices/platform/i8042/serio1/serio2/sensitivity &
    and it work's ok but when I reboot, my  speed/sensitivity is gone even if I have this two lines of code in my /etc/rc.local. I know it workted good in rc.local when I was using Arch like 2 months ago. I've downloaded "configure-trackpoint" package from AUR and when I run it I see this error:
    No D-BUS daemon running
    but I have installed dbus, It's in my daemon array in rc.conf and I can see it running in htop.
    Thanks for any help
    Last edited by examon (2012-02-21 21:05:03)

    Check if this trackpoint specific config file works for you:
    # TrackPoint with scrolling
    Section "InputClass"
    Identifier "Trackpoint Wheel Emulation"
    MatchProduct "TPPS/2 IBM TrackPoint|DualPoint Stick|Synaptics Inc. Composite TouchPad / TrackPoint|ThinkPad USB Keyboard with TrackPoint|USB Trackpoint pointing device"
    MatchDevicePath "/dev/input/event*"
    Option "EmulateWheel" "true"
    Option "EmulateWheelButton" "2"
    Option "Emulate3Buttons" "false"
    Option "XAxisMapping" "6 7"
    Option "YAxisMapping" "4 5"
    EndSection
    Save it as a separate file, say, 10-trackpoint.conf.
    Last edited by bohoomil (2012-02-21 18:22:20)

  • External usb ultranav keyboard; no trackpoint using ibm/lenovo driver in Win XP

    I just got an external USB ultranav travel keyboard (product #31P9490) and I am trying to make it work with Windows XP.
    When I just plug in the keyboard, the default windows USB keyboard and mouse drivers work well enough that I can use the keyboard as well as the touchpad and the trackpoint.  
    But, when I install the two official drivers (one for the keyboard "hotkeys", the other for the touchpad and trackpoint from Synaptics) then I lose the trackpoint fuctions.  These are the two latest drivers linked to this web page:
    http://www-307.ibm.com/pc/support/site.wss/document.do?sitestyle=lenovo&lndocid=MIGR-60649
    After the Synaptics driver is installed, the option to enable the trackpoint is greyed out. All the touchpad functions (scroll zones, tapping, etc.) seem to work. The keyboard function keys work also. But, the trackpoint is non-responsive.  The "Synaptics touchstyck" driver doesn't seem to do anything.  The trackpoint is no longer associated with the generic USB mouse driver, so the trackpoint stick and three buttons no longer do anything. 
    My situation is similar to what is described here, except I don't think there is any mechanical problems since the trackpoint works fine with the default mouse driver:
    http://forums.lenovo.com/lnv/board/message?board.id=Options&message.id=322&query.id=75669#M322
     I tried the drivers on two different Dell PCs and got the same result.
    Has anybody have one of these keyboards gotten the trackpoint to work with the IBM/lenovo drivers? 
    Thanks,
    Doug

    I'm obviously doing something wrong. Several reboots later, I'm stuck with the same inability to turn the touchpad off. Here is what I did.
    1) Uninstall the driver - success. Prompted to reboot.
    2) Rebooted.
    3) Installed installation program (started at page MIGR-60649); ran the downloaded file (q2kyb02us13.exe) and changed install path from the default C:\IBMTOOLS\drivers\q2kyb02us13 to c:\Drivers\q2kyb02us13 .
    4) Ran setup.exe from that location.
    5) It seemed to work properly and I was prompted to reboot. I started the process but was alerted to a window telling me to check the installation and possibly redo it for compatibility with recommended settings. I did *not* do this but forced the reboot.
    6) Back up, I clicked on Start ... Devices and Printers, and right-clicked on IBM Keyboard with UltraNav. I had options for the mouse and keyboard, but nothing about Ultranav.
    7) I tried to uninstall, but this driver no longer appeared on my list of installed programs. Yikes! I tried again, this time going with the default location (C:\IBMTOOLS\drivers\q2kyb02us13) and catching the compatibility wizard - and letting it reinstall with recommended settings.
    8) Reboot and still can't update the Ultranav - and still don't see it listed in installed programs.
    Help! What am I doing wrong??

  • How to configure Firefox to use OpenVPN?

    summary: I'm running OpenVPN from a Debian client through a Debian jumpbox/server. After I [start the server, start the client] most IP-based applications (DNS, ping, ssh) seem to work from the client, but client's Firefox cannot connect to http://www.whatismyip.com/ (or any other URI). How to configure Firefox to use the VPN? or otherwise fix the problem? or further debug it?
    details:
    I have a laptop running debian_version==jessie/sid with Firefox version=33.0 which needs to access a compute cluster. The cluster formerly required only an SSL VPN (enabled by a Firefox plugin) to access, but now has several additional requirements, which I seek to satisfy by running the SSL VPN through a jumpbox running an OpenVPN server. The jumpbox is running a "vanilla" Debian 7.7.
    I have been using the laptop successfully for a few years without network problems. Currently I have the laptop connected by wire directly to an ISP-supplied modem/router. With `openvpn` NOT running on the laptop, I see:
    * `ifconfig` shows no entry='tun0' (just "the usual" entries for 'eth0', 'lo', 'wlan0'), and shows the expected client IP# bound to 'eth0'.
    * I can `ping` my jumpbox/server using its real IP#, but cannot `ping 10.8.0.1`
    * I can `ssh` to my jumpbox/server using its real IP#, but cannot `ssh 10.8.0.1`
    * `nslookup www.whatismyip.com` gives correct results
    * browsing to http://www.whatismyip.com/ shows my client's IP# (as also shown in `ifconfig`)
    Both my client/laptop and server/jumpbox setups are quite generic OpenVPN-wise, and are almost exactly as described on the Debian wiki
    https://wiki.debian.org/openvpn%20for%20server%20and%20client
    me@jumpbox:~$ date ; cat /etc/openvpn/server.conf
    Sat Nov 8 16:49:00 EST 2014
    port 1194
    proto udp
    dev tun
    ca /etc/openvpn/ca.crt
    cert /etc/openvpn/server.crt
    key /etc/openvpn/server.key
    dh /etc/openvpn/dh1024.pem
    server 10.8.0.0 255.255.255.0
    ifconfig-pool-persist ipp.txt
    push "redirect-gateway def1 bypass-dhcp"
    push "dhcp-option DNS 8.8.8.8" # google public DNS
    keepalive 10 120
    comp-lzo
    user nobody
    group nogroup
    persist-key
    persist-tun
    status openvpn-status.log
    verb 3
    me@laptop:~$ date ; cat /etc/openvpn/client1.conf
    Sat Nov 8 16:51:31 EST 2014
    client
    dev tun
    proto udp
    remote ser.ver.IP.num 1194
    resolv-retry infinite
    nobind
    user nobody
    group nogroup
    persist-key
    persist-tun
    mute-replay-warnings
    ca /etc/openvpn/ca.crt
    cert /etc/openvpn/client1.crt
    key /etc/openvpn/client1.key
    ns-cert-type server
    comp-lzo
    verb 3
    up /etc/openvpn/update-resolv-conf
    down /etc/openvpn/update-resolv-conf
    My jumpbox/server firewall is currently set to forward everything, using `iptables -t nat -A POSTROUTING -s 10.8.0.0/24 -o eth0 -j MASQUERADE`:
    me@jumpbox:~$ date ; sudo iptables -L
    Sat Nov 8 16:42:06 EST 2014
    Chain INPUT (policy ACCEPT)
    target prot opt source destination
    fail2ban-ssh tcp -- anywhere anywhere multiport dports ssh
    Chain FORWARD (policy ACCEPT)
    target prot opt source destination
    Chain OUTPUT (policy ACCEPT)
    target prot opt source destination
    Chain fail2ban-ssh (1 references)
    target prot opt source destination
    RETURN all -- anywhere anywhere
    After I start `openvpn` on first the server and then the client, I see no OpenVPN errors on either the server or the client:
    me@jumpbox:~$ sudo openvpn --script-security 2 --config /etc/openvpn/server.conf &
    Sat Nov 8 17:48:25 2014 OpenVPN 2.2.1 x86_64-linux-gnu [SSL] [LZO2] [EPOLL] [PKCS11] [eurephia] [MH] [PF_INET6] [IPv6 payload 20110424-2 (2.2RC2)] built on Jun 18 2013
    Sat Nov 8 17:48:25 2014 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Sat Nov 8 17:48:25 2014 Diffie-Hellman initialized with 1024 bit key
    Sat Nov 8 17:48:25 2014 TLS-Auth MTU parms [ L:1542 D:138 EF:38 EB:0 ET:0 EL:0 ]
    Sat Nov 8 17:48:25 2014 Socket Buffers: R=[212992->131072] S=[212992->131072]
    Sat Nov 8 17:48:25 2014 ROUTE default_gateway=ser.ver.gate.way
    Sat Nov 8 17:48:25 2014 TUN/TAP device tun0 opened
    Sat Nov 8 17:48:25 2014 TUN/TAP TX queue length set to 100
    Sat Nov 8 17:48:25 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
    Sat Nov 8 17:48:25 2014 /sbin/ifconfig tun0 10.8.0.1 pointopoint 10.8.0.2 mtu 1500
    Sat Nov 8 17:48:25 2014 /sbin/route add -net 10.8.0.0 netmask 255.255.255.0 gw 10.8.0.2
    Sat Nov 8 17:48:25 2014 Data Channel MTU parms [ L:1542 D:1450 EF:42 EB:135 ET:0 EL:0 AF:3/1 ]
    Sat Nov 8 17:48:25 2014 GID set to nogroup
    Sat Nov 8 17:48:25 2014 UID set to nobody
    Sat Nov 8 17:48:25 2014 UDPv4 link local (bound): [undef]
    Sat Nov 8 17:48:25 2014 UDPv4 link remote: [undef]
    Sat Nov 8 17:48:25 2014 MULTI: multi_init called, r=256 v=256
    Sat Nov 8 17:48:25 2014 IFCONFIG POOL: base=10.8.0.4 size=62, ipv6=0
    Sat Nov 8 17:48:25 2014 ifconfig_pool_read(), in='TomRoche,10.8.0.4', TODO: IPv6
    Sat Nov 8 17:48:25 2014 succeeded -> ifconfig_pool_set()
    Sat Nov 8 17:48:25 2014 IFCONFIG POOL LIST
    Sat Nov 8 17:48:25 2014 TomRoche,10.8.0.4
    Sat Nov 8 17:48:25 2014 Initialization Sequence Completed
    me@laptop:~$ sudo openvpn --script-security 2 --config /etc/openvpn/client1.conf &
    Sat Nov 8 17:49:12 2014 NOTE: the current --script-security setting may allow this configuration to call user-defined scripts
    Sat Nov 8 17:49:12 2014 Socket Buffers: R=[212992->131072] S=[212992->131072]
    Sat Nov 8 17:49:12 2014 NOTE: UID/GID downgrade will be delayed because of --client, --pull, or --up-delay
    Sat Nov 8 17:49:12 2014 UDPv4 link local: [undef]
    Sat Nov 8 17:49:12 2014 UDPv4 link remote: [AF_INET]jump.box.IP.num:1194
    Sat Nov 8 17:49:12 2014 TLS: Initial packet from [AF_INET]jump.box.IP.num:1194, sid=25df7af6 0ece4089
    Sat Nov 8 17:49:13 2014 VERIFY OK: depth=1, <my config data/>
    Sat Nov 8 17:49:13 2014 VERIFY OK: nsCertType=SERVER
    Sat Nov 8 17:49:13 2014 VERIFY OK: depth=0, <my config data/>
    Sat Nov 8 17:49:14 2014 Data Channel Encrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Sat Nov 8 17:49:14 2014 Data Channel Encrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Sat Nov 8 17:49:14 2014 Data Channel Decrypt: Cipher 'BF-CBC' initialized with 128 bit key
    Sat Nov 8 17:49:14 2014 Data Channel Decrypt: Using 160 bit message hash 'SHA1' for HMAC authentication
    Sat Nov 8 17:49:14 2014 Control Channel: TLSv1, cipher TLSv1/SSLv3 DHE-RSA-AES256-SHA, 1024 bit RSA
    Sat Nov 8 17:49:14 2014 [TomRoche] Peer Connection Initiated with [AF_INET]jump.box.IP.num:1194
    Sat Nov 8 17:49:16 2014 SENT CONTROL [TomRoche]: 'PUSH_REQUEST' (status=1)
    Sat Nov 8 17:49:16 2014 PUSH: Received control message: 'PUSH_REPLY,redirect-gateway def1 bypass-dhcp,dhcp-option DNS 8.8.8.8,route 10.8.0.1,topology net30,ping 10,ping-restart 120,ifconfig 10.8.0.6 10.8.0.5'
    Sat Nov 8 17:49:16 2014 OPTIONS IMPORT: timers and/or timeouts modified
    Sat Nov 8 17:49:16 2014 OPTIONS IMPORT: --ifconfig/up options modified
    Sat Nov 8 17:49:16 2014 OPTIONS IMPORT: route options modified
    Sat Nov 8 17:49:16 2014 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
    Sat Nov 8 17:49:16 2014 ROUTE_GATEWAY lap.top.gate.way/255.255.255.0 IFACE=eth0 HWADDR=la:pt:op:MAC:ad:dr
    Sat Nov 8 17:49:16 2014 TUN/TAP device tun0 opened
    Sat Nov 8 17:49:16 2014 TUN/TAP TX queue length set to 100
    Sat Nov 8 17:49:16 2014 do_ifconfig, tt->ipv6=0, tt->did_ifconfig_ipv6_setup=0
    Sat Nov 8 17:49:16 2014 /sbin/ip link set dev tun0 up mtu 1500
    Sat Nov 8 17:49:16 2014 /sbin/ip addr add dev tun0 local 10.8.0.6 peer 10.8.0.5
    Sat Nov 8 17:49:16 2014 /etc/openvpn/update-resolv-conf tun0 1500 1542 10.8.0.6 10.8.0.5 init
    dhcp-option DNS 8.8.8.8
    Sat Nov 8 17:49:16 2014 /sbin/ip route add lap.top.IP.num/32 via lap.top.gate.way
    Sat Nov 8 17:49:16 2014 /sbin/ip route add 0.0.0.0/1 via 10.8.0.5
    Sat Nov 8 17:49:16 2014 /sbin/ip route add 128.0.0.0/1 via 10.8.0.5
    Sat Nov 8 17:49:16 2014 /sbin/ip route add 10.8.0.1/32 via 10.8.0.5
    Sat Nov 8 17:49:16 2014 GID set to nogroup
    Sat Nov 8 17:49:16 2014 UID set to nobody
    Sat Nov 8 17:49:16 2014 Initialization Sequence Completed
    I then see the following on my client:
    * `ifconfig` shows a new entry=`tun0`, which looks correct
    * I can `ping` the server using either its real IP# or `10.8.0.1`
    * I can `ssh` to the server using either its real IP# or `10.8.0.1`
    * `nslookup www.whatismyip.com` gives correct results
    ... but I get no connection if I open a new instance of Firefox and browse to http://www.whatismyip.com/ :-( "Looking up www.whatismyip.com..." succeeds quickly but the status line continues to display "Connecting to www.whatismyip.com..." until the attempt times out. I also get the same behavior (connection timeout) if I open a new instance of Chrome, or if I browse to http://www.whatismyip.com/ with a Firefox opened prior to starting OpenVPN. FWIW I get the same behavior browsing to any URI, including (e.g.) Google.
    This is a major problem for me! For the SSL VPN to work, I need to start a Firefox and run it (since the SSL VPN's vendor only supports it on Linux via a Firefox plugin) to access a particular remote-access website. Furthermore I need the SSL VPN to run through the jumpbox/OpenVPN. (Don't ask, it's a long, sad story ...)
    Is there something I must do to configure Firefox to use the VPN? Or is there some other way to fix this?
    Alternatively, what should I do to further debug the problem? It just seems odd to me that the other services work (e.g., `nslookup`, `ssh`) but Firefox does not. That being said, both Firefox and Chrome fail in this usecase, so the problem might be generic to web browsers.
    your assistance is appreciated, Tom Roche <[email protected]>

    You're kidding. You have to go through that rigamarole just to put your bookmarks on your own server? Where's the simple FTP option?
    Also, the above-linked article has a broken link. The link to the weaveserver (which is what you have to set up on your own server) is no good, and there is no obvious replacement. There are plenty of Weave-related repositories here:
    http://hg.mozilla.org/labs
    but it's not clear what you need.

  • Problem when try to use 2 computers

    Hello there.
    I'm now facing a problem when try to use 2 computers. Specifically, I downloaded my ebook (pdf form) in my laptop and open it without problems. But when I tried to reopen the same book (from human kinetics site) to my pc, the known message revealed ("E_LIC_ALREADY" etc etc).
    As I realised, in my laptop, the ADE wasn't authorized (in fact, "is authorized without an ID"). I tried but didn't achieve to authorize it (it's not accepting my username and password, saying that the specific ID is already used, obviously when I made the similar procedure on my pc, a year ago), whereas I'm also not able to re-open the book in my pc (I made copy-paste to the appropriate folder of my pc, by the way...). What's the solution in this case? I mean, it's very annoying for me and I desperately want to solve it...
    Thank you in advance,
    Nikolas

    Answer 1 : Really not quite sure about this ....
    Answer 2 : turn the card upside down and check the model number .. the model number would be WPC54G and if there v2/v3/v4 after it it means that the card is version 1 ....
    Answer 3: As you windows xp , go to start >> programs >> uninstall wireless notebook adapter.... insert the CD for the adapter ...take the card out and insert it back again.... follow the instructions on the found new hardware wizard ... this will install the drivers for the adapter and then you can use the windows wireless configuration utility to connect to the wireless network ....

  • Why is configuration workbench not used often

    Hello all, I am working on an HRMS implementation. Now, the project manager (from client company) has most likely been to some oracle presentation and says the configuration workbench is used to create the company structure. Here is the problem for me, I have never used this in any implementation. Also, I couldn't find a way to modify the key flexfields (like Job, Position) etc and as if this wasn't bad enough, the client implementation requires the creation of numerous additional EITs, SITs etc.
    How does a consultant explain not using the configuration workbench? What are the reasons this tool is not typically used (as I have never used or seen anybody use it in 6 years working in oracle hrms)?
    Many Thanks

    Configuration Workbench is good, and has got quite a bit better over recent releases.
    Sure, it doesn't configure everything. But I'm not sure your choice is that black and white: why not use Config Workbench where it helps and do the other config manually. If it doesn't do anything useful for you (unlikely) I'm sure your PM would listen.
    This sounds like a good opportunity for you to learn something new as well...

Maybe you are looking for