Vodafone uk huawei wvdial.conf script workin

Hi,
so far I was only able to get the UMTS modems working with wvdial.conf. The only problem is to find the correct wvdial.conf scripts for the mobile phone provider.
Here a script which I found here:
[url][http://secretlondon.livejournal.com/430709.html/url]
Worked for me with a a huaweo 169 usb stick on vodafone uk
[Dialer Defaults]
Modem = /dev/ttyUSB0
Baud = 3600000
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2
Init3 =
Area Code =
Phone = *99***2#
Username = ppp
Password = ppp
Ask Password = 0
Dial Command = ATDT
Stupid Mode = 1
Compuserve = 0
Force Address =
Idle Seconds = 0
DialMessage1 =
DialMessage2 =
ISDN = 0
Auto DNS = 1
Hope someone will find this information useful.
fr

http://bbs.archlinux.org/viewtopic.php?id=63325
Use wvdialconf to setup an initial wvdial.conf if your wvdial.conf is the source of the problem. Otherwise look in the thread above and at my reply to that thread further down (2 more links).
I really need to setup that wiki entry on connecting to 2G/3G mobile internet - but right now uni doesn't give my any time.

Similar Messages

  • Hello, new here and looking for suggestions on creating a conf script

    Hi,
    The current project that I am working on would like to make a java display window to be fully customizable from a conf script.
    the java display window has 10 fields or so, which are updated every second. the java object passes to JNI, gets populated by C++ data, and returns back to java for display.
    Now, how is one able to create a script that can modify that java window to display only certain fields, lets say 1-5.?
    suggestions, or know of an area that i can look into?
    thanks

    First you may want to google »photoshop tutorial distresssed«.
    As for combining images like that a combination of Blend If-settings (one can split the handles by alt-click-dragging them)), Layer Groups set to Blend Modes other than Pass Through and Grtadient Maps may be employed to maintain high editability.
    One could also just use the images as Layer Masks for Solid Color Layers (and use Levels or Curves to get the intended contrast), though.

  • Pacman/Pacman.conf Scripts

    I've been working on these two pieces for a while. For the most part, they're complete to my standards, but obviously they can always looked to be improved upon. I use the first one daily with no real problems (though I could add a little more error handling) and the other one does work for me though I don't need to call upon it too much.
    My goal was really to provide an interface for pacman which was fast but still easy to use. I also realized that I can't write any GUI code, nor do I feel like it's nessisary to make something simple. It really only requires bash, a few coreutils, and pacman to be used, so if you're on a lower-end system and don't want to call upon a large GUI front end, this may be something good for you to try out.
    Any feedback is appreciated too
    Pacman Manager Script
    #!/bin/bash
    #Pacman Manager
    #Author: Doug Swain ([email protected])
    ###Defining Operations###
    function install {
    echo "Installing package now"
    echo
    sudo pacman -S $PACKAGE
    echo
    echo "The package ($PACKAGE) is now installed"
    echo "Press enter to contiue"
    read
    function uninstall {
    echo "Uninstalling package now"
    echo
    sudo pacman -R $PACKAGE
    echo
    echo "The package ($PACKAGE) has been removed."
    echo "Press enter to contiue"
    read
    function sync {
    echo "Syncing with servers"
    echo
    sudo pacman -Sy
    echo
    echo "Sync complete. Press enter to continue"
    read
    function update {
    echo " Updating your system now"
    echo
    sudo pacman -Syu --noconfirm
    sudo pacman -Scc
    echo
    echo "Your system has been updated"
    echo "Press enter to contiue"
    read
    function search {
    clear
    echo "What package would you like to search?"
    read PACKAGE
    sudo pacman -Ss $PACKAGE
    echo "Would you like to search again?"
    echo "[Y]es"
    echo "[N]o"
    read CHOICE
    if [[ "$CHOICE" = [Yy] ]]; then
    search
    elif [[ "$CHOICE" = [Nn] ]]; then
    echo "Search Finished. Press Enter to Continue"
    read
    fi
    function manage {
    clear
    if [ "$UID" != 0 ]; then
    echo "Error! Not running as the root user right now. Become a super user and try again"
    exit 1
    fi
    clear
    echo " Welcome to the Pacman Manager"
    echo
    echo " What would you like to do?"
    echo
    ###ENDDEFINE###
    ###MANAGER###
    manage
    OPTIONS="Install Uninstall Sync Update Search Exit"
    select opt in $OPTIONS; do
    if [ "$opt" = "Install" ]; then
    clear
    echo "What package would you like to install?"
    read PACKAGE
    install
    manage
    elif [ "$opt" = "Uninstall" ]; then
    clear
    echo "What package would you like to uninstall?"
    read PACKAGE
    uninstall
    manage
    elif [ "$opt" = "Sync" ]; then
    clear
    sync
    manage
    elif [ "$opt" = "Update" ]; then
    clear
    update
    manage
    elif [ "$opt" = "Search" ]; then
    clear
    search
    manage
    elif [ "$opt" = "Exit" ]; then
    clear
    exit
    fi
    done
    ###ENDMANAGER###
    pacman.conf Script
    #!/bin/bash
    #Pacman Configurator
    #Tool to configure and modify pacman and /etc/pacman.conf
    #Pretty Stable from my tests, but use with caution
    #Backup your /etc/pacman.conf file just in case.
    #Author: Doug Swain ([email protected])
    ###DEFINE FUNCTIONS####
    function srv_ctl {
    clear
    echo "Server Control"
    echo "Selections:"
    echo "[A]dd URL"
    echo "[R]emove URL"
    echo "[E]nable Resporitories"
    echo "[D]isable Resporitories"
    echo "[b]ack"
    read CHOICE
    if [ "$CHOICE" = "A" ]; then
    cat /etc/pacman.conf | grep "srv_ctl"
    if [ "$?" != "0" ]; then
    echo "[srv_ctl]" >> /etc/pacman.conf
    echo "Include = /etc/pacman.d/custom" >> /etc/pacman.conf
    fi
    clear
    echo "Enter URL"
    read URL
    echo "Adding"
    echo $URL >> /etc/pacman.d/custom
    cat /etc/pacman.d/custom | grep $URL
    echo "The server above has been added."
    elif [ "$CHOICE" = "R" ]; then
    clear
    echo "Current Custom Server List:"
    cat /etc/pacman.d/custom
    echo "Enter URL"
    read URL
    echo "Removing"
    URLTEST=$(cat /etc/pacman.d/custom | grep $URL)
    if [ "$URL" = "$URLTEST" ]; then
    cat /etc/pacman.d/custom | grep -v $URL >> /etc/pacman.d/custom1
    mv /etc/pacman.d/custom1 /etc/pacman.d/custom
    echo "Address removed. Press enter to continue."
    read
    srv_ctl
    elif [ "$URL" != "$URLTEST" ]; then
    echo "Error! Address not found. Press Enter to continue"
    read
    srv_ctl
    fi
    elif [ "$CHOICE" = "E" ]; then
    clear
    echo "Current Resporitiories available"
    ls /etc/pacman.d/
    echo "Enter Resporitory (example: current/custom/extra)"
    read RES
    echo "[$RES]" >> /etc/pacman.conf
    echo "Include = /etc/pacman.d/$RES" >> /etc/pacman.conf
    echo "Enabled. Press Enter to contiue"
    read
    srv_ctl
    elif [ "$CHOICE" = "D" ]; then
    clear
    echo "Current Resporitiories available"
    ls /etc/pacman.d/
    echo "Enter Resporitory (example: current/custom/extra)"
    read RES
    cat /etc/pacman.conf | grep -v "$RES" >> /etc/pacman1.conf
    mv /etc/pacman1.conf /etc/pacman.conf
    echo "Disabled. Press Enter to continue."
    read
    srv_ctl
    elif [ "$CHOICE" = "B" ]; then
    echo "Press enter to continue"
    read
    manage
    fi
    function pkg_ctl {
    clear
    echo "What would you like to do?"
    echo "[A]dd Package to Ignore List"
    echo "[R]emove Package from Ignore List"
    echo "[b]ack"
    read CHOICE
    if [ "$CHOICE" = "A" ]; then
    clear
    echo "Enter package name"
    read PKG
    echo "Adding"
    echo "IgnorePkg = $PKG" >> /etc/pacman.conf
    echo "HoldPkg = $PKG" >> /etc/pacman.conf
    echo "Package added. Press Enter to Continue"
    read
    pkg_ctl
    elif [ "$CHOICE" = "R" ]; then
    clear
    echo "Enter package name"
    read PKG
    echo "Removing"
    cat /etc/pacman.conf | grep -v "$PKG" >> /etc/pacman1.conf
    mv /etc/pacman1.conf /etc/pacman.conf
    echo "Package removed. Press Enter to Continue"
    read
    pkg_ctl
    elif [ "$CHOICE" = "B" ]; then
    echo "Press enter to continue"
    read
    manage
    fi
    function manage {
    clear
    if [ "$UID" != 0 ]; then
    echo "Error! Not running as the root user right now. Become a super user and try again"
    exit 1
    fi
    clear
    echo " Pacman Configuration"
    echo " What would you like to do?"
    ###END DEFINE####
    ###MANAGER####
    manage
    OPTIONS="Server_Control Package_Control Exit"
    select opt in $OPTIONS; do
    if [ "$opt" = "Server_Control" ]; then
    srv_ctl
    elif [ "$opt" = "Package_Control" ]; then
    pkg_ctl
    elif [ "$opt" = "Exit" ]; then
    clear
    exit 0
    fi
    done
    ###ENDMANAGER###
    Sadly my webserver is down as of now, so I can't post these scripts directly from my site, but this should work fine anyway. Enjoy!

    Oh no I understand. Hah I figured that'd be the case that somebody created something like this.
    Well my main point with these scripts was really just for self-teaching and such. Essentially though, my idea was to make a script which can help somebody who is newer and doesn't quite know all the helpful syntax of pacman or somebody who just doesn't want to be bothered with it have a quick and easy way to do it. Since there are already GUI front ends to do something like this, I figured a scripted version would be nicer for somebody who may need something less resource intense. That's the first script
    The second script was just to make it a little less painful to navigate the pacman.conf file without having to go through it and figure out the syntax for everything (if you don't already know it) because I figured it was easier to find just a URL than to know all the syntax of the config file, and this just fills in the voids for you.
    I use it for myself daily and it does make it a bit easier when you just want to install a package or update real quickly. Like I said though, I'm not surprised that there's something better implimented already. I figured I'd just toss it out there to see who could enjoy it. I appreciate the questioning though as you're right; I didn't make myself very clear-cut. At any rate, useful or not for people, they're here haha. Like I also said, I wrote these just as a learning experience for coding and other things. So, if somebody can find a use for them, all the better. If not, um, sorry to waste thread space haha.

  • Problems with Vodafone/Huawei E220 wireless usb Modem

    Hi there,
    My faithful Powerbook is having issues with a company issued Vodafone Vodem (Huawei E220 wireless HSDPA 3G USB modem).
    It worked well at first, but then after restarting, waking from sleep or rebooting from off, the Vodem would cease to connect to Vodafone, with the Vodafone Modem Software giving me a cryptic message "No modem or data card attached".
    Yesterday, I tried reinstalling and uninstalling the software, and after several installation/uninstallations, it finally reconnected. It has since stopped working again since shutting down the Powerbook overnight. Reinstalling has not yet worked.
    I read somewhere on the net that leaving the modem plugged in for a minute before attempting to connect might work - alas no such luck.
    Has anyone else out there had problems with their Vodafone/Huawei E220 USB wireless modem, and how did you resolve the problem?
    I have tried both the New Zealand 2.07 version, plus the European 2.08 version of the Vodafone connectivity software.
    I am running a Powerbook 15", 1.67ghz, MacOS 10.4.11, 512MB, no other peripherals connected.

    No experience, but what happens if you log out then back in?
    Does a New User have that problem?

  • Huawei E220 HSDPA modem (Vodafone Vodem) stopped working

    Hi there,
    My faithful Powerbook is having issues with a company issued Vodafone Vodem (Huawei E220 wireless HSDPA 3G USB modem).
    It worked well at first, but then after restarting, waking from sleep or rebooting from off, the Vodem would cease to connect to Vodafone, with the Vodafone Modem Software giving me a cryptic message "No modem or data card attached".
    Yesterday, I tried reinstalling and uninstalling the software, and after several installation/uninstallations, it finally reconnected. It has since stopped working again since shutting down the Powerbook overnight. Reinstalling has not yet worked.
    I read somewhere on the net that leaving the modem plugged in for a minute before attempting to connect might work - alas no such luck.
    Has anyone else out there had problems with their Vodafone/Huawei E220 USB wireless modem, and how did you resolve the problem?
    I have tried both the New Zealand 2.07 version, plus the European 2.08 version of the Vodafone connectivity software.
    I am running a Powerbook 15", 1.67ghz, MacOS 10.4.11, 512MB, no other peripherals connected.

    hi
    I'm using a vodem on my Intel mac book and never even use the software vodafone provide as it is clunky, slow and unreliable.
    i used it once to set up the connection and from then on have simply connected through system preferences:network: and connect the huawei modem from there. it even gives you the option of having an icon in your top tool bar.
    hope this helps
    cheers

  • [SOLVED] Huawei E173s-1 mobile broadband dongle not working

    Update: check the wiki entry at https://wiki.archlinux.org/index.php/Huawei_E173s
    Hi,
    My dongle works out-of-the-box in Ubuntu but I can't get it to work in Arch Linux.
    I followed the instructions from this site: http://www.vivaolinux.com.br/dica/Modem … s-no-Linux
    /etc/usb_modeswitch.d/12d1:1c0b
    DefaultVendor=0x12d1
    DefaultProduct=0x1c0b
    TargetVendor=0x12d1
    TargetProduct=0x1c05
    CheckSuccess=20
    MessageEndpoint=0x0f
    MessageContent="55534243123456780000000000000011062000000100000000000000000000"
    /usr/lib/udev/rules.d/40-usb_modeswitch.rules
    ATTRS{idVendor}=="12d1", ATTRS{idProduct}=="1c0b", RUN+="usb_modeswitch '%b/%k'"
    # usb_modeswitch -c /etc/usb_modeswitch.d/12d1:1c0b
    Looking for target devices ...
    No devices in target mode or class found
    Looking for default devices ...
    found matching product ID
    adding device
    Found device in default mode, class or configuration (1)
    Accessing device 003 on bus 001 ...
    Getting the current device configuration ...
    OK, got current device configuration (1)
    Using first interface: 0x00
    Using endpoints 0x0f (out) and 0x8f (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    OK, driver found; name unknown, limitation of libusb1
    OK, driver "unkown" detached
    SCSI inquiry data (for identification)
    Vendor String: HUAWEI
    Model String: Mass Storage
    Revision String: 2.31
    USB description data (for identification)
    Manufacturer: HUAWEI
    Product: HUAWEI Mobile
    Serial No.: not provided
    Setting up communication with interface 0
    Using endpoint 0x0f for message sending ...
    Trying to send message 1 to endpoint 0x0f ...
    OK, message successfully sent
    Resetting response endpoint 0x8f
    Resetting message endpoint 0x0f
    Device is gone, skipping any further commands
    Checking for mode switch (max. 20 times, once per second) ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    Searching for target devices ...
    found matching product ID
    adding device
    Found target device, now opening
    Found correct target device
    Mode switch succeeded. Bye.
    # modprobe usbserial vendor=0x12d1 product=0x1c0b
    But when I run wvdialconf it can't find the modem:
    Editing `/etc/wvdial.conf'.
    Scanning your serial ports for a modem.
    Sorry, no modem was detected! Is it in use by another program?
    Did you configure it properly with setserial?
    Please read the FAQ at [url]http://alumnit.ca/wiki/?WvDial[/url]
    As a result I'm stuck with Ubuntu for the time being. ;( Any help would be very appreciated.
    Edit: running sakis3g after doing the above I was able to connect but I'd still love to know how to to make it work manually with wvdial.
    Last edited by jasewobble (2012-04-22 22:25:22)

    Hi
    Thanks for the advice above. Initially cleaned off original app
    I removed the software application from Mac HD/Applications/Orange Mobile Partner
    The kernel extension located at Mac HD/System/Library/Extensions/HuaweiDataCardDriver.kext
    The modem script located at Mac HD/Library/Modem Scripts/HUAWEI Mobile Connect – 3G Modem
    Then dragged the Orange MobilePartner file to the HD, selected 'Show Package Contents' and followed the advice above opening the .mpkg.
    Was about to try and return the dongle, but now after several tests, am sure it works
    Another Apple Discussion Board success

  • Struggling to connect by Huawei E220 3G modem

    Hey there!
    I got one of those 3G modems that are quite common still where I live. Now I had it up and running perfectly fine in Ubuntu thanks to the sorcery of NetworkManager Applet 0.7.0.
    I followed the instructions in the Arch wiki, but as connect I get the following output:
    thoht@wind: huawei-e220> sudo wvdial hsdpa
    --> WvDial: Internet dialer version 1.60
    --> Cannot get information for serial port.
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Mon Jan 19 04:54:31 2009
    --> Pid of pppd: 2836
    --> Using interface ppp0
    --> local IP address 212.27.2.61
    --> remote IP address 10.64.64.64
    --> primary DNS address 80.251.192.244
    --> secondary DNS address 80.251.192.245
    ...but if I try to ping anything or visit a website in my browser, nada.
    This is the ifconfig output while "connected":
    thoht@wind: ~> ifconfig
    eth0 Link encap:Ethernet HWaddr 00:21:85:55:D1:5B
    inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
    inet6 addr: fe80::221:85ff:fe55:d15b/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:23240 errors:0 dropped:0 overruns:0 frame:0
    TX packets:18759 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:33680061 (32.1 Mb) TX bytes:1350401 (1.2 Mb)
    Interrupt:253
    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:16436 Metric:1
    RX packets:88 errors:0 dropped:0 overruns:0 frame:0
    TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:5909 (5.7 Kb) TX bytes:5909 (5.7 Kb)
    ppp0 Link encap:Point-to-Point Protocol
    inet addr:79.138.162.21 P-t-P:10.64.64.64 Mask:255.255.255.255
    UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
    RX packets:6 errors:0 dropped:0 overruns:0 frame:0
    TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:3
    RX bytes:90 (90.0 b) TX bytes:129 (129.0 b)
    This is my /etc/resolv.conf:
    thoht@wind: ~> cat /etc/resolv.conf
    # Generated by dhcpcd from eth0
    # /etc/resolv.conf.head can replace this line
    search serva.net
    nameserver 192.168.0.1
    # /etc/resolv.conf.tail can replace this line
    I tried putting this here instead but without success, however I think it's crucial that I put this somewhere:
    search bredband.tre.se
    nameserver 80.251.201.177
    nameserver 80.251.201.178
    In Ubuntu NetworkManager automagically put this stuf in /etc/resolv.conf for me, but it doesn't seem to make a difference here?
    Well then there's of course the /etc/wvdial.conf file:
    thoht@ratatosk: ~> cat /etc/wvdial.conf
    [Dialer hsdpa]
    Phone = *99#
    Username = foo
    Password = blargh
    Stupid Mode = 1
    Dial Command = ATDT
    Modem = /dev/ttyUSB0
    Baud = 460800
    Init2 = ATZ
    Init3 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ISDN = 0
    Modem Type = Analog Modem
    If I leave username and password empty the program gets pissed, but I don't actually have a username, nor PIN (activated).
    Any ideas? Thanks in advance.

    About your resolv.conf copy/pasting - /etc/ppp/resolv.conf and ip-up:
    http://bbs.archlinux.org/viewtopic.php?id=62520
    http://bbs.archlinux.org/viewtopic.php?id=62004
    I think its time for me to add that to the wiki... if its not already there.
    Thou I don't know if it solves your problem in this case, since you said you edited the resolv.conf.
    EDIT: Posted too fast again. I just saw this
    --> primary DNS address 80.251.192.244
    --> secondary DNS address 80.251.192.245
    search bredband.tre.se
    nameserver 80.251.201.177
    nameserver 80.251.201.178
    Same? Purposely put different DNS? /etc/ppp/resolv.conf
    Last edited by mcover (2009-01-20 00:01:22)

  • Opendns with wvdial connection

    Halo i've a small problem using wvdial to connect my Huawei e180 to internet, i can connect it without problem and browse the web perfectly but i would like to use the Opendns instead of my provider's one, so i've search a solution and i've found that adding in /etc/wvdial.conf the line Auto DNS = off and also in the file /etc/ppp/peers/wvdial to comment the line usepeerdns but in this way i can't browse nomore. Does anyone has a workly solution? Thanks, Marco

    Don't worry that your router's LAN IP address is still in there as well. Despite appearances, the OpenDNS servers you just entered in your Mac will be accessed first. So your router won't even be asked to handle an address translation unless the two OpenDNS servers can't find it.
    The DNS table in your router itself also won't matter except when the router itself is booting up. From then on your Mac will go directly to OpenDNS, find the translation it needs, and end of story. It won't ask your router, so your router won't go to the servers in its list.
    --Bob

  • Folder Actions script no longer runs on new file creation

    Hope this isn't trivial.......first time posting here...hopefully in the right place.I'm not a total Mac OS X newbie...and surely no techie, either. Dabbled a wee bit with Automator and scratchin' my head on this one. Help, please!
    Any idea why folder actions not running when a new file is saved? A simple add-color-label script created in Automator was workin' fine before I did a Snow Leopard-to-Leopard downgrade clean-install & account migration from external HD (TimeMachine) backup. Folder actions are enabled and script runs only if I start it with Automator Runner. Previously, it would label the file as soon as I saved it....now it needs a manual start. Is this default behavior in Leopard? Or am I missing something or doin' something wrong? Or is this a consequence of downgrade? I was sure I had the same script workin ok in my original Leopard install - though possibly un-modified at that time.
    I have no clue why, but the new version I created recently (cpl wks ago?)worked the first time I added a new file but not thereafter...and in that instance it only labelled the file in Finder upon quitting Preview (file is a Grab saved as pdf).
    The reason for the downgrade was compatibility problems with Photoshop CS4 on SL (OS & app all updated yet crashin' at the drop of a hat) - maybe due to lack of RAM? (only 1GB). Saw quite a few posts regarding SL running CS4 problems, so now I'm back to running 10.5.8 ..again.. and PS actually runs smooth like it did before.
    Maybe these console messages are a help......or am I barkin' up the wrong tree?
    6/11/11 7:44:54 PM /System/Library/CoreServices/Folder Actions Dispatcher.app/Contents/MacOS/Folder Actions Dispatcher[91] CPSGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 7:44:54 PM /System/Library/CoreServices/Folder Actions Dispatcher.app/Contents/MacOS/Folder Actions Dispatcher[91] CPSPBGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 7:44:54 PM /System/Library/CoreServices/AppleScript Runner.app/Contents/MacOS/AppleScript Runner[264] CPSGetFrontProcess(): This call is deprecated and should not be called anymore. 
    6/11/11 8:19:12 PM Automator Runner[415] Error while processing arguments
    6/11/11 8:20:31 PM /Applications/AppleScript/Folder Actions Setup.app/Contents/MacOS/Folder Actions Setup[420] CPSGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 8:20:31 PM /Applications/AppleScript/Folder Actions Setup.app/Contents/MacOS/Folder Actions Setup[420] CPSPBGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 8:20:32 PM [0x0-0x5b05b].com.apple.systemevents[421] com.apple.FolderActions.enabled: Already loaded
    And for that matter....why does Automator throw these messages? All apps (except iWork '08 apps) and OS are up to date.
        - Just a few of the many actions not loaded:
    6/11/11 7:48:25 PM Automator[294] The action “Start iTunes Visuals” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 7:48:25 PM Automator[294] The action “Stop iTunes Visuals” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 7:48:25 PM Automator[294] The action “Update iPod” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 7:56:33 PM Automator[294] name = name was not found
    6/11/11 7:56:33 PM Automator[294] name = name extension was not found
    6/11/11 7:56:33 PM Automator[294] name = file type was not found
    6/11/11 8:00:29 PM Automator Runner[339] Error while processing arguments
    6/11/11 8:00:30 PM Automator Runner[339] The action “Import Files into iTunes” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 8:00:30 PM Automator Runner[339] The action “Add Songs to iPod” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 8:00:30 PM Automator Runner[339] The action “Add Songs to Playlist” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 8:00:30 PM Automator Runner[339] The action “Apply SQL” could not be loaded because the application “Xcode” was not found.
    Do I need to wipe the drive again and re-install everything?
    Any help is greatly appreciated. Apologies if this seems long-winded.

    Folder Actions are set up a bit differently in Leopard (they use an AppleScript wrapper), and several actions have been updated to use new technologies available in Snow Leopard.  Looking at some of your console logs, it looks like some actions or workflows were just copied over from Snow Leopard.  When changing versions like that, you should rebuild the workflows so that they link to the correct actions, and check added actions for any dependencies (an action won't be loaded if it requires resources that are not available).
    Resaving your Folder Action workflow as a Folder Action Plug-in should do the trick.

  • [Solved] PCMCIA gprs/edge and wvdial, don't work

    Hi all...
    I have bought a pcmcia gprs/edge Lightspeed EDGE-100M, but don't work.
    I load the modules pcmcia, pcmcia_core, rsrc_nonstatic, yenta_socket (I have found they whit hwdetect --show-pcmcia).
    PCMCIA it comes recognized like ttyS0.
    I run wvdial but I got "Modem not responding".
    I have also added line "options usb_serial vendor=0x0279 product=0x950b" into /etc/modprobe.conf but I don't got any results.
    Thanks
    /etc/wvdial.conf
    [Dialer Defaults]
    Modem = /dev/ttyS0
    Baud = 230400
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=1,"IP","ibox.tim.it"
    Dial Command = ATDT
    Phone = *99***1#
    Username = no_user
    Password = no_pwd
    ISDN = 0
    Modem Type = Analog Modem
    /var/log/messages.log
    Oct 1 03:14:58 bash-laptop pccard: PCMCIA card inserted into slot 0
    Oct 1 03:14:58 bash-laptop pcmcia: registering new device pcmcia0.0
    Oct 1 03:14:59 bash-laptop ttyS0: detected caps 00000700 should be 00000100
    Oct 1 03:14:59 bash-laptop 0.0: ttyS0 at I/O 0x400 (irq = 3) is a 16C950/954
    Oct 1 03:14:59 bash-laptop logger: /lib/udev/bluetooth_serial: setserial or hciattach not executable, cannot start /dev/tts/0
    Last edited by ilpianista (2008-02-28 21:04:57)

    I have resolved
    http://www.deelab.org/bash/2007/10/07/p … -on-linux/
    Last edited by ilpianista (2008-02-28 21:04:40)

  • [wvdial, ppp] ATDT invalid dial command

    Strange problem. I can't go on the internet since I made a pacman -Su. There's a problem with ppp or something in the arch configuration (modules??).
    I have a serial external hardware modem that had always worked easily, BUT now wvdial cannot connect. The problem does not come from wvdial, I'm pretty sure of that.
    [root@myhost fred]# wvdial
    --> WvDial: Internet dialer version 1.60
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    OK
    --> Modem initialized.
    --> Sending: ATDT5145992743
    --> Waiting for carrier.
    ATDT5145992743
    ERROR
    --> Invalid dial command.
    --> Disconnecting at Sun Jun 1 15:44:18 2008
    The only error I had doing the update was when compiling the new kernel26 (standard from arch). I had to remove "kermaps" in my mkinitcpio.conf because the hook keymaps was not found. After removing that, while keeping the old settings (my old mkinitcpio was not replaced during process, it made a .pacnew), everything went well.
    Except now wvdial doesn't work. I have the same rc.conf than before, the same mkinitcpio was used and it keeped the same ppp settings or the wvdial.conf. Everything I could look at is like before except it's more up to date and my kernel is also newer, I have the last one, kernel26 package.
    I tried all that :
    -Reinstalling wvdial, wvstreams and ppp and deleting all config files in /etc/ppp, reinstalling them or replacing them with working ubuntu config files
    -Deleting and rebuilding /etc/wvdial.conf, adding stupid mode on... but this file was not modified in process and it had always worked for me anyway...
    -Tried to add in wvdial.conf DIAL COMMAND = ATDP (for pulse dialing) but it changed nothing
    -tried rebulding the kernel with more options like (can't remember the exact name) adding the ppp module in mkinitcpio
    Last edited by tandycorp (2008-06-07 20:54:08)

    Here my /proc/modules
    it looks fine: RTC and ppp_generic are there...
    ipv6 256196 10 - Live 0xf8ca2000
    nls_cp437 5888 1 - Live 0xf8aa6000
    vfat 10880 1 - Live 0xf8aa2000
    fat 45984 1 vfat, Live 0xf8ab1000
    i2c_i801 9232 0 - Live 0xf8a80000
    nvidia 7816704 0 - Live 0xf9356000 (P)
    i2c_core 19348 2 i2c_i801,nvidia, Live 0xf8a9c000
    intel_agp 23740 0 - Live 0xf8a95000
    agpgart 28244 2 nvidia,intel_agp, Live 0xf8a8d000
    pcspkr 2816 0 - Live 0xf88c9000
    sg 27188 0 - Live 0xf8a85000
    thermal 15260 0 - Live 0xf8a66000
    evdev 9472 3 - Live 0xf8a6b000
    processor 32096 1 thermal, Live 0xf8a72000
    fan 4356 0 - Live 0xf8a63000
    button 6416 0 - Live 0xf8a4c000
    battery 10372 0 - Live 0xf893e000
    ac 4484 0 - Live 0xf8a45000
    ppp_generic 24348 0 - Live 0xf8a5c000
    snd_hda_intel 336440 1 - Live 0xf8ac9000
    snd_hwdep 7428 1 snd_hda_intel, Live 0xf8948000
    snd_seq_oss 30336 0 - Live 0xf8a23000
    snd_seq_midi_event 6656 1 snd_seq_oss, Live 0xf8945000
    snd_seq 48432 4 snd_seq_oss,snd_seq_midi_event, Live 0xf8a4f000
    snd_seq_device 6796 2 snd_seq_oss,snd_seq, Live 0xf8942000
    snd_pcm_oss 38656 0 - Live 0xf8a18000
    snd_pcm 68228 2 snd_hda_intel,snd_pcm_oss, Live 0xf8a2d000
    snd_timer 19848 2 snd_seq,snd_pcm, Live 0xf8922000
    snd_page_alloc 8072 2 snd_hda_intel,snd_pcm, Live 0xf892d000
    snd_mixer_oss 14848 2 snd_pcm_oss, Live 0xf8928000
    snd 46628 9 snd_hda_intel,snd_hwdep,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss, Live 0xf8931000
    soundcore 6496 2 snd, Live 0xf88cd000
    slhc 6016 1 ppp_generic, Live 0xf88d0000
    rtc_cmos 9120 0 - Live 0xf891e000
    rtc_core 15516 1 rtc_cmos, Live 0xf88d3000
    rtc_lib 2944 1 rtc_core, Live 0xf88cb000
    reiserfs 229760 1 - Live 0xf894d000
    usbhid 42944 0 - Live 0xf8900000
    hid 39168 1 usbhid, Live 0xf88d8000
    ff_memless 5128 1 usbhid, Live 0xf8872000
    sd_mod 23320 4 - Live 0xf885b000
    sr_mod 15300 0 - Live 0xf886d000
    cdrom 33952 1 sr_mod, Live 0xf8879000
    ide_pci_generic 4228 0 [permanent], Live 0xf8858000
    jmicron 2560 0 [permanent], Live 0xf8829000
    ide_core 103584 2 ide_pci_generic,jmicron, Live 0xf88e5000
    ehci_hcd 33804 0 - Live 0xf8863000
    uhci_hcd 22288 0 - Live 0xf8835000
    usbcore 129776 4 usbhid,ehci_hcd,uhci_hcd, Live 0xf88a8000
    ata_piix 17668 3 - Live 0xf882f000
    ata_generic 5636 0 - Live 0xf8824000
    pata_jmicron 4224 0 - Live 0xf8821000
    libata 141840 3 ata_piix,ata_generic,pata_jmicron, Live 0xf8884000
    scsi_mod 92204 4 sg,sd_mod,sr_mod,libata, Live 0xf8840000
    dock 7952 1 libata, Live 0xf881e000

  • My MacBook Pro is extremly slow and keep freezing after upgrading to Yosmite, please advise

    My MacBook Pro is slow after updating to Yosmite it keep freezing and Safari most of the time not responding, generally speaking the performance is way worse than Mavericks when it was installed and here is my config:
    EtreCheck version: 2.0.11 (98)
    Report generated December 1, 2014 at 12:53:23 PM GMT+2
    Hardware Information: ℹ️
        MacBook Pro (15-inch, Mid 2012) (Verified)
        MacBook Pro - model: MacBookPro9,1
        1 2.6 GHz Intel Core i7 CPU: 4-core
        8 GB RAM Upgradeable
            BANK 0/DIMM0
                4 GB DDR3 1600 MHz ok
            BANK 1/DIMM0
                4 GB DDR3 1600 MHz ok
        Bluetooth: Good - Handoff/Airdrop2 supported
        Wireless:  en1: 802.11 a/b/g/n
    Video Information: ℹ️
        Intel HD Graphics 4000 -
            Color LCD 1440 x 900
        NVIDIA GeForce GT 650M - VRAM: 1024 MB
    System Software: ℹ️
        OS X 10.10.1 (14B25) - Uptime: one day 16:9:57
    Disk Information: ℹ️
        APPLE HDD HTS547575A9E384 disk0 : (750.16 GB)
        S.M.A.R.T. Status: Verified
            EFI (disk0s1) <not mounted> : 210 MB
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
            Macintosh HD (disk1) /  [Startup]: 748.93 GB (80.35 GB free)
                Encrypted AES-XTS Unlocked
                Core Storage: disk0s2 749.30 GB Online
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Computer, Inc. IR Receiver
        Apple Inc. BRCM20702 Hub
            Apple Inc. Bluetooth USB Host Controller
    Thunderbolt Information: ℹ️
        Apple Inc. thunderbolt_bus
    Configuration files: ℹ️
        /etc/hosts - Count: 60
    Gatekeeper: ℹ️
        Mac App Store and identified developers
    Kernel Extensions: ℹ️
            /System/Library/Extensions
        [not loaded]    com.ZTE.driver.ZTEUSBCDCACMData (1.3.0) Support
        [not loaded]    com.ZTE.driver.ZTEUSBMassStorageFilter (1.3.0) Support
        [not loaded]    com.nike.sportwatch (1.0.0) Support
        [not loaded]    com.novatelwireless.driver.3G (3.0.7) Support
        [not loaded]    com.novatelwireless.driver.DisableAutoInstall (2.0.6) Support
        [not loaded]    com.option.driver.Option72 (2.15.0) Support
        [not loaded]    com.option.driver.OptionHS (3.26.0) Support
        [not loaded]    com.option.driver.OptionMSD (1.21.0) Support
        [not loaded]    com.option.driver.OptionQC (1.11.0) Support
        [loaded]    com.rim.driver.BlackBerryUSBDriverInt (0.0.74) Support
        [not loaded]    com.rim.driver.BlackBerryUSBDriverVSP (0.0.74) Support
        [not loaded]    com.vodafone.driver (3.0.5) Support
        [not loaded]    de.novamedia.driver.NMLGEDriver (3.2.10) Support
        [not loaded]    de.novamedia.driver.NMSamsung (0.0.2) Support
        [not loaded]    de.novamedia.driver.NMSmartplugSCSIDevice (1.0.1) Support
        [not loaded]    de.novamedia.oem.vodafone.vtp.huawei.cdc (0.0.2) Support
        [loaded]    net.telestream.driver.TelestreamAudio (1.0.5 - SDK 10.6) Support
            /System/Library/Extensions/NMHuaweiPhonesVTPCDC.kext/Contents/Resources
        [not loaded]    de.novamedia.driver.NMUSBCDCACMData.VTP (3.2.6) Support
            /System/Library/Extensions/NMLGEDriver.kext/Contents/PlugIns
        [not loaded]    de.novamedia.driver.NMLGEUSBCDCACMControl (3.1.9) Support
        [not loaded]    de.novamedia.driver.NMLGEUSBCDCACMData (3.1.9) Support
            /System/Library/Extensions/NMSamsungDriver_106.kext/Contents/PlugIns
        [not loaded]    de.novamedia.driver.NMUSBCDCACMControl (3.2.12) Support
        [not loaded]    de.novamedia.driver.NMUSBCDCACMData (3.2.12) Support
            /System/Library/Extensions/NovatelWireless3G.kext/Contents/Plugins
        [not loaded]    com.novatelwireless.driver.3GData (3.0.7) Support
            /System/Library/Extensions/Vodafone.kext/Contents/Plugins
        [not loaded]    com.vodafone.driver.Data (3.0.5) Support
    Launch Agents: ℹ️
        [not loaded]    com.adobe.AAM.Updater-1.0.plist Support
        [loaded]    com.adobe.CS5ServiceManager.plist Support
        [running]    com.nike.nikeplusconnect.plist Support
        [loaded]    com.oracle.java.Java-Updater.plist Support
        [running]    com.rim.BBAlbumArtCacher.plist Support
        [running]    com.rim.BBLaunchAgent.plist Support
        [running]    com.vsearch.agent.plist Support
        [failed]    de.novamedia.VodafoneDeviceObserver.plist Support
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist Support
        [invalid?]    com.adobe.SwitchBoard.plist Support
        [running]    com.autodesk.backburner_manager.plist Support
        [running]    com.autodesk.backburner_server.plist Support
        [loaded]    com.autodesk.backburner_start.plist Support
        [loaded]    com.microsoft.office.licensing.helper.plist Support
        [loaded]    com.oracle.java.Helper-Tool.plist Support
        [loaded]    com.oracle.java.JavaUpdateHelper.plist Support
        [running]    com.rim.BBDaemon.plist Support
        [not loaded]    com.vsearch.daemon.plist Support
        [running]    com.vsearch.helper.plist Support
    User Launch Agents: ℹ️
        [loaded]    com.adobe.AAM.Updater-1.0.plist Support
        [loaded]    com.adobe.ARM.[...].plist Support
        [loaded]    com.BlueStacks.AppPlayer.LogRotator.plist Support
        [loaded]    com.BlueStacks.AppPlayer.Service.plist Support
        [loaded]    com.BlueStacks.AppPlayer.UninstallAgent.plist Support
        [loaded]    com.BlueStacks.AppPlayer.UpdaterAgent.plist Support
        [loaded]    com.facebook.videochat.[redacted].plist Support
        [invalid?]    com.jdibackup.JustCloud.autostart.plist Support
        [invalid?]    com.jdibackup.JustCloud.signup.plist Support
        [running]    com.nero.HSMMonitor.plist Support
    User Login Items: ℹ️
        uHD-Agent    Application (/Applications/BlueStacks.app/Contents/Runtime/uHD-Agent.app)
        iTunesHelper    Application (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        Dropbox    Application (/Applications/Dropbox.app)
        SpeechSynthesisServer    Application (/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks /SpeechSynthesis.framework/Versions/A/SpeechSynthesisServer.app)
        uTorrent    Application (/Applications/uTorrent.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 15.0.0.239 - SDK 10.6 Support
        Default Browser: Version: 600 - SDK 10.10
        AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
        AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
        Flash Player: Version: 15.0.0.239 - SDK 10.6 Support
        net.juniper.DSSafariExtensions: Version: (null) Support
        QuickTime Plugin: Version: 7.7.3
        SharePointBrowserPlugin: Version: 14.4.2 - SDK 10.6 Support
        Silverlight: Version: 4.1.10329.0 Support
        MeetingJoinPlugin: Version: (null) - SDK 10.6 Support
        JavaAppletPlugin: Version: Java 7 Update 71 Check version
    User Internet Plug-ins: ℹ️
        BlueStacks Install Detector: Version: 0.3.6 - SDK 10.7 Support
    Safari Extensions: ℹ️
        Awesome Screenshot
    3rd Party Preference Panes: ℹ️
        Flash Player  Support
        FUSE for OS X (OSXFUSE)  Support
        GoPro  Support
        Growl  Support
        Java  Support
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            42%    firefox
             9%    WindowServer
             4%    system_profiler
             2%    hidd
             1%    plugin-container
    Top Processes by Memory: ℹ️
        1.44 GB    firefox
        215 MB    Viber
        155 MB    softwareupdated
        146 MB    mds_stores
        146 MB    WindowServer
    Virtual Memory Information: ℹ️
        206 MB    Free RAM
        3.39 GB    Active RAM
        3.14 GB    Inactive RAM
        1.16 GB    Wired RAM
        21.12 GB    Page-ins
        790 MB    Page-outs

    1. This procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve the problem. But with the aid of the test results, the solution may take a few minutes, instead of hours or days.
    Don't be put off by the complexity of these instructions. The process is much less complicated than the description. You do harder tasks with the computer all the time.
    2. If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. Backup is always a must, and when you're having any kind of trouble with the computer, you may be at higher than usual risk of losing data, whether you follow these instructions or not.
    There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
    3. Below are instructions to run a UNIX shell script, a type of program. As I wrote above, it changes nothing. It doesn't send or receive any data on the network. All it does is to generate a human-readable report on the state of the computer. That report goes nowhere unless you choose to share it. If you prefer, you can act on it yourself without disclosing the contents to me or anyone else.
    You should be wondering whether you can believe me, and whether it's safe to run a program at the behest of a stranger. In general, no, it's not safe and I don't encourage it.
    In this case, however, there are a couple of ways for you to decide whether the program is safe without having to trust me. First, you can read it. Unlike an application that you download and click to run, it's transparent, so anyone with the necessary skill can verify what it does.
    You may not be able to understand the script yourself. But variations of the script have been posted on this website thousands of times over a period of years. The site is hosted by Apple, which does not allow it to be used to distribute harmful software. Any one of the millions of registered users could have read the script and raised the alarm if it was harmful. Then I would not be here now and you would not be reading this message.
    Nevertheless, if you can't satisfy yourself that these instructions are safe, don't follow them. Ask for other options.
    4. Here's a summary of what you need to do, if you choose to proceed:
    ☞ Copy a line of text in this window to the Clipboard.
    ☞ Paste into the window of another application.
    ☞ Wait for the test to run. It usually takes a few minutes.
    ☞ Paste the results, which will have been copied automatically, back into a reply on this page.
    The sequence is: copy, paste, wait, paste again. You don't need to copy a second time. Details follow.
    5. You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode, under the conditions in which the problem is reproduced. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
    6. If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this section doesn’t apply. Don't log in as root.
    7. The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in the browser window, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
    Triple-click anywhere in the line of text below on this page to select it:
    PATH=/usr/bin:/bin:/usr/sbin:/sbin:/usr/libexec;clear;cd;p=(Software Hardware Memory Diagnostics Power FireWire Thunderbolt USB Fonts SerialATA 4 1000 25 5120 KiB/s 1024 85 \\b%% 20480 1 MB/s 25000 ports ' com.clark.\* \*dropbox \*genieo\* \*GoogleDr\* \*k.AutoCAD\* \*k.Maya\* vidinst\* ' DYLD_INSERT_LIBRARIES\ DYLD_LIBRARY_PATH -86 "` route -n get default|awk '/e:/{print $2}' `" 25 N\\/A down up 102400 25600 recvfrom sendto CFBundleIdentifier 25 25 25 1000 MB ' com.adobe.AAM.Updater-1.0 com.adobe.AAM.Updater-1.0 com.adobe.AdobeCreativeCloud com.adobe.CS4ServiceManager com.adobe.CS5ServiceManager com.adobe.fpsaud com.adobe.SwitchBoard com.adobe.SwitchBoard com.apple.aelwriter com.apple.AirPortBaseStationAgent com.apple.FolderActions.enabled com.apple.installer.osmessagetracing com.apple.mrt.uiagent com.apple.ReportCrash.Self com.apple.rpmuxd com.apple.SafariNotificationAgent com.apple.usbmuxd com.citrixonline.GoToMeeting.G2MUpdate com.google.keystone.agent com.google.keystone.daemon com.microsoft.office.licensing.helper com.oracle.java.Helper-Tool com.oracle.java.JavaUpdateHelper com.oracle.java.JavaUpdateHelper org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.privileged_startx org.macosforge.xquartz.startx ' ' 879294308 4071182229 461455494 3627668074 1083382502 1274181950 1855907737 2758863019 1848501757 464843899 3694147963 1233118628 2456546649 2806998573 2778718105 2636415542 842973933 2051385900 3301885676 891055588 998894468 695903914 1443423563 4136085286 523110921 2883943871 3873345487 ' 51 5120 files );N5=${#p[@]};p[N5]=` networksetup -listnetworkserviceorder|awk ' NR>1 { sub(/^\([0-9]+\) /,"");n=$0;getline;} $NF=="'${p[26]}')" { sub(/.$/,"",$NF);print n;exit;} ' `;f=('\n%s: %s\n' '\n%s\n\n%s\n' '\nRAM details\n%s\n' %s\ %s '%s\n-\t%s\n' );S0() { echo ' { q=$NF+0;$NF="";u=$(NF-1);$(NF-1)="";gsub(/^ +| +$/,"");if(q>='${p[$1]}') printf("%s (UID %s) is using %s '${p[$2]}'",$0,u,q);} ';};s=(' s/[0-9A-Za-z._]+@[0-9A-Za-z.]+\.[0-9A-Za-z]{2,4}/EMAIL/g;/faceb/s/(at\.)[^.]+/\1NAME/g;/\/Shared/!s/(\/Users\/)[^ /]+/\1USER/g;s/[-0-9A-Fa-f]{22,}/UUID/g;' ' s/^ +//;/de: S|[nst]:/p;' ' {sub(/^ +/,"")};/er:/;/y:/&&$2<'${p[10]} ' 1s/://;3,6d;/[my].+:/d;s/^ {4}//;H;${ g;s/\n$//;/s: (E[^m]|[^EO])|x([^08]|02[^F]|8[^0])/p;} ' ' 5h;6{ H;g;/P/!p;} ' ' ($1~/^Cy/&&$3>'${p[11]}')||($1~/^Cond/&&$2!~/^N/) ' ' /:$/{ N;/:.+:/d;s/ *://;b0'$'\n'' };/^ *(V.+ [0N]|Man).+ /{ s/ 0x.... //;s/[()]//g;s/(.+: )(.+)/ (\2)/;H;};$b0'$'\n'' d;:0'$'\n'' x;s/\n\n//;/Apple[ ,]|Genesy|Intel|SMSC/d;s/\n.*//;/\)$/p;' ' s/^.*C/C/;H;${ g;/No th|pms/!p;} ' '/= [^GO]/p' '{$1=""};1' ' /Of/!{ s/^.+is |\.//g;p;} ' ' $0&&!/ / { n++;print;} END { if(n<10) print "com.apple.";} ' ' { sub(/ :/,"");print|"tail -n'${p[12]}'";} ' ' NR==2&&$4<='${p[13]}' { print $4;} ' ' END { $2/=256;if($2>='${p[15]}') print int($2) } ' ' NR!=13{next};{sub(/[+-]$/,"",$NF)};'"`S0 21 22`" 'NR!=2{next}'"`S0 37 17`" ' NR!=5||$8!~/[RW]/{next};{ $(NF-1)=$1;$NF=int($NF/10000000);for(i=1;i<=3;i++){$i="";$(NF-1-i)="";};};'"`S0 19 20`" 's:^:/:p' '/\.kext\/(Contents\/)?Info\.plist$/p' 's/^.{52}(.+) <.+/\1/p' ' /Launch[AD].+\.plist$/ { n++;print;} END { if(n<200) print "/System/";} ' '/\.xpc\/(Contents\/)?Info\.plist$/p' ' NR>1&&!/0x|\.[0-9]+$|com\.apple\.launchctl\.(Aqua|Background|System)$/ { print $3;} ' ' /\.(framew|lproj)|\):/d;/plist:|:.+(Mach|scrip)/s/:[^:]+//p ' '/^root$/p' ' !/\/Contents\/.+\/Contents|Applic|Autom|Frameworks/&&/Lib.+\/Info.plist$/ { n++;print;} END { if(n<1100) print "/System/";} ' '/^\/usr\/lib\/.+dylib$/p' ' /Temp|emac/{next};/(etc|Preferences|Launch[AD].+)\// { sub(".(/private)?","");n++;print;} END { split("'"${p[41]}"'",b);split("'"${p[42]}"'",c);for(i in b) print b[i]".plist\t"c[i];if(n<500) print "Launch";} ' ' /\/(Contents\/.+\/Contents|Frameworks)\/|\.wdgt\/.+\.([bw]|plu)/d;p;' 's/\/(Contents\/)?Info.plist$//;p' ' { gsub("^| |\n","\\|\\|kMDItem'${p[35]}'=");sub("^...."," ") };1 ' p '{print $3"\t"$1}' 's/\'$'\t''.+//p' 's/1/On/p' '/Prox.+: [^0]/p' '$2>'${p[43]}'{$2=$2-1;print}' ' BEGIN { i="'${p[26]}'";M1='${p[16]}';M2='${p[18]}';M3='${p[31]}';M4='${p[32]}';} !/^A/{next};/%/ { getline;if($5<M1) a="user "$2"%, system "$4"%";} /disk0/&&$4>M2 { b=$3" ops/s, "$4" blocks/s";} $2==i { if(c) { d=$3+$4+$5+$6;next;};if($4>M3||$6>M4) c=int($4/1024)" in, "int($6/1024)" out";} END { if(a) print "CPU: "a;if(b) print "I/O: "b;if(c) print "Net: "c" (KiB/s)";if(d) print "Net errors: "d" packets/s";} ' ' /r\[0\] /&&$NF!~/^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./ { print $NF;exit;} ' ' !/^T/ { printf "(static)";exit;} ' '/apsd|BKAg|OpenD/!s/:.+//p' ' (/k:/&&$3!~/(255\.){3}0/ )||(/v6:/&&$2!~/A/ ) ' ' $1~"lR"&&$2<='${p[25]}';$1~"li"&&$3!~"wpa2";' ' BEGIN { FS=":";p="uniq -c|sed -E '"'s/ +\\([0-9]+\\)\\(.+\\)/\\\2 x\\\1/;s/x1$//'"'";} { n=split($3,a,".");sub(/_2[01].+/,"",$3);print $2" "$3" "a[n]$1|p;b=b$1;} END { close(p);if(b) print("\n\t* Code injection");} ' ' NR!=4{next} {$NF/=10240} '"`S0 27 14`" ' END { if($3~/[0-9]/)print$3;} ' ' BEGIN { L='${p[36]}';} !/^[[:space:]]*(#.*)?$/ { l++;if(l<=L) f=f"\n   "$0;} END { F=FILENAME;if(!F) exit;if(!f) f="\n   [N/A]";"cksum "F|getline C;split(C, A);C="checksum "A[1];"file -b "F|getline T;if(T!~/^(AS.+ (En.+ )?text(, with v.+)?$|(Bo|PO).+ sh.+ text ex|XM)/) F=F" ("T", "C")";else F=F" ("C")";printf("\nContents of %s\n%s\n",F,f);if(l>L) printf("\n   ...and %s more line(s)\n",l-L);} ' ' s/^ ?n...://p;s/^ ?p...:/-'$'\t''/p;' 's/0/Off/p' ' END{print NR} ' ' /id: N|te: Y/{i++} END{print i} ' ' / / { print "'"${p[28]}"'";exit;};1;' '/ en/!s/\.//p' ' NR!=13{next};{sub(/[+-M]$/,"",$NF)};'"`S0 39 40`" ' $10~/\(L/&&$9!~"localhost" { sub(/.+:/,"",$9);print $1": "$9|"sort|uniq";} ' '/^ +r/s/.+"(.+)".+/\1/p' 's/(.+\.wdgt)\/(Contents\/)?Info\.plist$/\1/p' 's/^.+\/(.+)\.wdgt$/\1/p' ' /l: /{ /DVD/d;s/.+: //;b0'$'\n'' };/s: /{ /V/d;s/^ */- /;H;};$b0'$'\n'' d;:0'$'\n'' x;/APPLE [^:]+$/d;p;' ' /^find: /d;p;' "`S0 44 45`" ' BEGIN{FS="= "} /Path/{print $2} ' ' /^ *$/d;s/^ */   /;' ' s/^.+ |\(.+\)$//g;p ' '/\.(appex|pluginkit)\/Contents\/Info\.plist$/p' ' /2/{print "WARN"};/4/{print "CRITICAL"};' ' /EVHF|MACR|^s/d;s/^.+: //p;' );c1=(system_profiler pmset\ -g nvram fdesetup find syslog df vm_stat sar ps crontab iotop top pkgutil 'PlistBuddy 2>&1 -c "Print' whoami cksum kextstat launchctl smcDiagnose sysctl\ -n defaults\ read stat lsbom mdfind ' for i in ${p[24]};do ${c1[18]} ${c2[27]} $i;done;' pluginkit scutil dtrace profiles sed\ -En awk /S*/*/P*/*/*/C*/*/airport networksetup mdutil lsof test osascript\ -e );c2=(com.apple.loginwindow\ LoginHook '" /L*/P*/loginw*' "'tell app \"System Events\" to get properties of login items'|tr , \\\n" 'L*/Ca*/com.ap*.Saf*/E*/* -d 1 -name In*t -exec '"${c1[14]}"' :CFBundleDisplayName" {} \;|sort|uniq' '~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \)' '.??* -path .Trash -prune -o -type d -name *.app -print -prune' :${p[35]}\" :Label\" '{/,}L*/{Con,Pref}* -type f ! -size 0 -name *.plist -exec plutil -s {} \;' "-f'%N: %l' Desktop L*/Keyc*" therm sysload boot-args status " -F '\$Time \$(RefProc): \$Message' -k Sender Req 'fsev|kern|launchd' -k RefProc Rne 'Aq|WebK' -k Message Rne 'Goog|ksadm|probe|Roame|SMC:|smcD|sserti|suhel| VALI|ver-r|xpma' -k Message Req 'abn|bad |Beac|caug|corru|dead[^bl]|FAIL|fail|GPU |hfs: Ru|inval|jnl:|last value [1-9]|NVDA\(|pagin|proc: t|Roamed|rror|SL|TCON|Throttli|tim(ed? ?|ing )o|WARN' " '-du -n DEV -n EDEV 1 10' 'acrx -o comm,ruid,%cpu' '-t1 10 1' '-f -pfc /var/db/r*/com.apple.*.{BS,Bas,Es,J,OSXU,Rem,up}*.bom' '{/,}L*/Lo*/Diag* -type f -regex .\*[cght] ! -name .?\* ! -name \*ag \( -exec grep -lq "^Thread c" {} \; -exec printf \* \; -o -true \) -execdir stat -f:%Sc:%N -t%F {} \;|sort -t: -k2 |tail -n'${p[38]} '/S*/*/Ca*/*xpc* >&- ||echo No' '-L /{S*/,}L*/StartupItems -type f -exec file {} +' '-L /S*/L*/{C*/Sec*A,Ex}* {/,}L*/{A*d,Ca*/*/Ex,Co{mpon,reM},Ex,In{p,ter},iTu*/*P,Keyb,Mail/B,Pr*P,Qu*T,Scripti,Sec,Servi,Spo,Widg}* -path \\*s/Resources -prune -o -type f -name Info.plist' '/usr/lib -type f -name *.dylib' `awk "${s[31]}"<<<${p[23]}` "/e*/{auto,{cron,fs}tab,hosts,{[lp],sy}*.conf,mach_i*/*,pam.d/*,ssh{,d}_config,*.local} {,/usr/local}/etc/periodic/*/* /L*/P*{,/*}/com.a*.{Bo,sec*.ap}*t {/S*/,/,}L*/Lau*/*t .launchd.conf" list getenv /Library/Preferences/com.apple.alf\ globalstate --proxy '-n get default' -I --dns -getdnsservers\ "${p[N5]}" -getinfo\ "${p[N5]}" -P -m\ / '' -n1 '-R -l1 -n1 -o prt -stats command,uid,prt' '--regexp --only-files --files com.apple.pkg.*|sort|uniq' -kl -l -s\ / '-R -l1 -n1 -o mem -stats command,uid,mem' '+c0 -i4TCP:0-1023' com.apple.dashboard\ layer-gadgets '-d /L*/Mana*/$USER&&echo On' '-app Safari WebKitDNSPrefetchingEnabled' "+c0 -l|awk '{print(\$1,\$3)}'|sort|uniq -c|sort -n|tail -1|awk '{print(\$2,\$3,\$1)}'" -m 'L*/{Con*/*/Data/L*/,}Pref* -type f -size 0c -name *.plist.???????|wc -l' kern.memorystatus_vm_pressure_level '3>&1 >&- 2>&3' " -F '\$Time \$Message' -k Sender kernel -k Message CSeq 'n Cause: -' " );N1=${#c2[@]};for j in {0..9};do c2[N1+j]=SP${p[j]}DataType;done;N2=${#c2[@]};for j in 0 1;do c2[N2+j]="-n ' syscall::'${p[33+j]}':return { @out[execname,uid]=sum(arg0) } tick-10sec { trunc(@out,1);exit(0);} '";done;l=(Restricted\ files Hidden\ apps 'Elapsed time (s)' POST Battery Safari\ extensions Bad\ plists 'High file counts' User Heat System\ load boot\ args FileVault Diagnostic\ reports Log 'Free space (MiB)' 'Swap (MiB)' Activity 'CPU per process' Login\ hook 'I/O per process' Mach\ ports kexts Daemons Agents XPC\ cache Startup\ items Admin\ access Root\ access Bundles dylibs Apps Font\ issues Inserted\ dylibs Firewall Proxies DNS TCP/IP Wi-Fi Profiles Root\ crontab User\ crontab 'Global login items' 'User login items' Spotlight Memory Listeners Widgets Parental\ Controls Prefetching SATA Descriptors App\ extensions Lockfiles Memory\ pressure SMC Shutdowns );N3=${#l[@]};for i in 0 1 2;do l[N3+i]=${p[5+i]};done;N4=${#l[@]};for j in 0 1;do l[N4+j]="Current ${p[29+j]}stream data";done;A0() { id -G|grep -qw 80;v[1]=$?;((v[1]==0))&&sudo true;v[2]=$?;v[3]=`date +%s`;clear >&-;date '+Start time: %T %D%n';};for i in 0 1;do eval ' A'$((1+i))'() { v=` eval "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};A'$((3+i))'() { v=` while read i;do [[ "$i" ]]&&eval "${c1[$1]} ${c2[$2]}" \"$i\"|'${c1[30+i]}' "${s[$3]}";done<<<"${v[$4]}" `;[[ "$v" ]];};A'$((5+i))'() { v=` while read i;do '${c1[30+i]}' "${s[$1]}" "$i";done<<<"${v[$2]}" `;[[ "$v" ]];};A'$((7+i))'() { v=` eval sudo "${c1[$1]} ${c2[$2]}"|'${c1[30+i]}' "${s[$3]}" `;[[ "$v" ]];};';done;A9(){ v=$((`date +%s`-v[3]));};B2(){ v[$1]="$v";};for i in 0 1;do eval ' B'$i'() { v=;((v['$((i+1))']==0))||{ v=No;false;};};B'$((3+i))'() { v[$2]=`'${c1[30+i]}' "${s[$3]}"<<<"${v[$1]}"`;} ';done;B5(){ v[$1]="${v[$1]}"$'\n'"${v[$2]}";};B6() { v=` paste -d: <(printf "${v[$1]}") <(printf "${v[$2]}")|awk -F: ' {printf("'"${f[$3]}"'",$1,$2)} ' `;};B7(){ v=`grep -Fv "${v[$1]}"<<<"$v"`;};C0() { [[ "$v" ]]&&sed -E "$s"<<<"$v";};C1() { [[ "$v" ]]&&printf "${f[$1]}" "${l[$2]}" "$v"|sed -E "$s";};C2() { v=`echo $v`;[[ "$v" != 0 ]]&&C1 0 $1;};C3() { v=`sed -E "${s[63]}"<<<"$v"`&&C1 1 $1;};for i in 1 2 7 8;do for j in 0 2 3;do eval D$i$j'(){ A'$i' $1 $2 $3; C'$j' $4;};';done;done;{ A0;D20 0 $((N1+1)) 2;D10 0 $N1 1;B0;C2 27;B0&&! B1&&C2 28;D12 15 37 25 8;A1 0 $((N1+2)) 3;C0;D13 0 $((N1+3)) 4 3;D23 0 $((N1+4)) 5 4;D13 0 $((N1+9)) 59 50;for i in 0 1 2;do D13 0 $((N1+5+i)) 6 $((N3+i));done;D13 1 10 7 9;D13 1 11 8 10;B1&&D73 19 53 67 55;D22 2 12 9 11;D12 3 13 10 12;D23 4 19 44 13;D23 5 54 12 56;D23 5 14 12 14;D22 6 36 13 15;D22 20 52 66 54;D22 7 37 14 16;D23 8 15 38 17;D22 9 16 16 18;B1&&{ D82 35 49 61 51;D82 11 17 17 20;for i in 0 1;do D82 28 $((N2+i)) 45 $((N4+i));done;};D22 12 44 54 45;D22 12 39 15 21;A1 13 40 18;B2 4;B3 4 0 19;A3 14 6 32 0;B4 0 5 11;A1 17 41 20;B7 5;C3 22;B4 4 6 21;A3 14 7 32 6;B4 0 7 11;B3 4 0 22;A3 14 6 32 0;B4 0 8 11;B5 7 8;B1&&{ A8 18 26 23;B7 7;C3 23;};A2 18 26 23;B7 7;C3 24;D13 4 21 24 26;B4 4 12 26;B3 4 13 27;A1 4 22 29;B7 12;B2 14;A4 14 6 52 14;B2 15;B6 14 15 4;B3 0 0 30;C3 29;A1 4 23 27;B7 13;C3 30;B3 4 0 65;A3 14 6 32 0;B4 0 16 11;A1 26 50 64;B7 16;C3 52;D13 24 24 32 31;D13 25 37 32 33;A2 23 18 28;B2 16;A2 16 25 33;B7 16;B3 0 0 34;B2 21;A6 47 21&&C0;B1&&{ D73 21 0 32 19;D73 10 42 32 40;D82 29 35 46 39;};D23 14 1 62 42;D12 34 43 53 44;D12 22 20 32 25;D22 0 $((N1+8)) 51 32;D13 4 8 41 6;D12 21 28 35 34;D13 27 29 36 35;A2 27 32 39&&{ B2 19;A2 33 33 40;B2 20;B6 19 20 3;};C2 36;D23 33 34 42 37;B1&&D83 35 45 55 46;D23 32 31 43 38;D12 36 47 32 48;D13 10 42 32 41;D13 37 2 48 43;D13 4 5 32 1;D13 4 3 60 5;D12 21 48 49 49;B3 4 22 57;A1 21 46 56;B7 22;B3 0 0 58;C3 47;D22 4 4 50 0;D12 4 51 32 53;D23 22 9 37 7;A9;C2 2;} 2>/dev/null|pbcopy;exit 2>&-
    Copy the selected text to the Clipboard by pressing the key combination command-C.
    8. Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Click anywhere in the Terminal window and paste by pressing command-V. The text you pasted should vanish immediately. If it doesn't, press the return key.
    9. If you see an error message in the Terminal window such as "Syntax error" or "Event not found," enter
    exec bash
    and press return. Then paste the script again.
    10. If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important. If you don't know the password, or if you prefer not to enter it, press the key combination control-C or just press return  three times at the password prompt. Again, the script will still run.
    If you're not logged in as an administrator, you won't be prompted for a password. The test will still run. It just won't do anything that requires administrator privileges.
    11. The test may take a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. While it's running, there will be nothing in the Terminal window and no indication of progress. Wait for the line
    [Process completed]
    to appear. If you don't see it within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report what happened. No harm will be done.
    12. When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
    At the top of the results, there will be a line that begins with the words "Start time." If you don't see that, but instead see a mass of gibberish, you didn't wait for the "Process completed" message to appear in the Terminal window. Please wait for it and try again.
    If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
    13. When you post the results, you might see an error message on the web page: "You have included content in your post that is not permitted," or "You are not authorized to post." That's a bug in the forum software. Please post the test results on Pastebin, then post a link here to the page you created.
    14. This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
    Copyright © 2014 by Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Use Agreement for the Apple Support Communities website ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed.

  • [SOLVED] USB 3G no longer works after upgrade to GNOME 3.8

    I did the 'big' update today, including upgrading to GNOME 3.8. Unfortunately, NetworkManager no longer picks up my 3G USB modem (which used to work fine before the update). Any pointers as to how I could debug this would be greatly appreciated.
    wvdial has never really worked for me, but gnome networkmanager used to pick up my device and the connection, and now simply acts as if it's no longer present. Attempting to follow the instructions on the wiki to re-setup my USB stick (the instructions I followed in the first place) no longer works. Did today's update cause the same problem for anybody else?
    **Update: After updating today to modemmanager 0.7.990-4 and running
    sudo systemctl enable ModemManager
    sudo systemctl start ModemManager
    I have full connectivity again with the built-in DW5550 mobile broadband card in my Dell Precision M6600 (including showing signal strength in the GNOME 3.8 top bar, etc). Thanks all for the help, and (most importantly) to whoever fixed up modemmanager!
    Last edited by dawid.loubser (2013-04-26 16:57:42)

    wvdial might also be a workaround, if one does not like to downgrade. In my case, I had to unset my PIN on the SIM card first. One can do that using a mobile phone, for example.
    Then
    # pacman -S wvdial
    in /etc/wvdial.conf, I put
    [Dialer Defaults]
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Modem Type = Analog Modem
    ISDN = 0
    Stupid Mode = 1
    Dial Attempts = 3
    Init1 = ATZ
    [Dialer huawei]
    Modem = /dev/serial/by-id/usb-ZTE_Incorporated_1_1_Surf-stick_MF19001MOD010000-if02-port0
    Baud = 115200
    [Dialer voda]
    Init3 = AT+CGDCONT=1,"IP","web.vodafone.de"
    [Dialer dial]
    Phone=*99**1#
    Username = umts
    Password = umts
    You can find out your modem name by looking it up with
    ls /dev/serial/by-id/
    In my case there were names containing the strings if00, if01 and if02, and if02 turned out to be the correct one. This depends on hardware.
    Also, in the "Init 3" line, you may have to replace "web.vodafone.de" according to your provider. The section "dial" seems to be quite universal from what I read on the web, so you may not have to change that.
    then
    # wvdial huawei voda dial
    and hope for the best.
    Disclaimer: I do not have a comprehensive understanding of what I did here, but it worked in my case and it might work for you, too.
    I noticed that the Defaults section makes a difference, because the one I just edited in above avoids some delay in dialing.
    Last edited by tobi-fankhaenel (2013-04-23 08:23:00)

  • USB 3G/4G with netctl

    I've been trying to follow these threads to get my Huawei E3276 working on netctl:
    https://bbs.archlinux.org/viewtopic.php?id=167801
    https://bbs.archlinux.org/viewtopic.php?id=175383
    https://bbs.archlinux.org/viewtopic.php?id=181762
    my working wvdial.conf:
    $ cat /etc/wvdial.conf
    [Dialer Defaults]
    Init2 = ATQ0 V1 E1 S0=0
    Modem Type = Analog Modem
    Phone = *99#
    ISDN = 0
    Username = ''
    Init1 = ATZ
    Password = ''
    Stupid Mode = 1
    Modem = /dev/ttyUSB0
    Baud = 9600
    my netctl profile:
    $ cat /etc/netctl/mobily
    Description='Mobily'
    Interface=ttyUSB0
    Connection=mobile_ppp
    AccessPointName=web2
    Mode=None
    a working wvdial connection looks like:
    $ wvdial
    --> WvDial: Internet dialer version 1.61
    --> Initializing modem.
    --> Sending: ATZ
    ATZ
    OK
    --> Sending: ATQ0 V1 E1 S0=0
    ATQ0 V1 E1 S0=0
    OK
    --> Modem initialized.
    --> Sending: ATDT*99#
    --> Waiting for carrier.
    ATDT*99#
    CONNECT
    --> Carrier detected. Starting PPP immediately.
    --> Starting pppd at Sat Sep 6 22:54:29 2014
    --> Pid of pppd: 1036
    --> Using interface ppp0
    --> pppd: æ[7f]
    --> pppd: æ[7f]
    --> pppd: æ[7f]
    --> pppd: æ[7f]
    --> pppd: æ[7f]
    --> pppd: æ[7f]
    --> local IP address 109.83.118.181
    --> pppd: æ[7f]
    --> remote IP address 10.64.64.64
    --> pppd: æ[7f]
    --> primary DNS address 86.51.34.18
    --> pppd: æ[7f]
    --> secondary DNS address 86.51.35.18
    --> pppd: æ[7f]
    and here's what happens if I try using netctl:
    # netctl start mobily
    $ netctl status mobily
    [email protected] - Networking for netctl profile mobily
    Loaded: loaded (/usr/lib/systemd/system/[email protected]; static)
    Active: active (exited) since Sat 2014-09-06 22:01:03 AST; 1h 4min ago
    Docs: man:netctl.profile(5)
    Process: 582 ExecStart=/usr/lib/network/network start %I (code=exited, status=0/SUCCESS)
    Main PID: 582 (code=exited, status=0/SUCCESS)
    $ journalctl -xn
    -- Logs begin at Sun 2014-01-05 21:43:20 AST, end at Sat 2014-09-06 23:04:33 AST. --
    Sep 06 22:54:29 meru pppd[1036]: Could not determine remote IP address: defaulting to 10.64.64.64
    Sep 06 22:54:29 meru pppd[1036]: Cannot determine ethernet address for proxy ARP
    Sep 06 22:54:29 meru pppd[1036]: local IP address 109.83.118.181
    Sep 06 22:54:29 meru pppd[1036]: remote IP address 10.64.64.64
    Sep 06 22:54:29 meru pppd[1036]: primary DNS address 86.51.34.18
    Sep 06 22:54:29 meru pppd[1036]: secondary DNS address 86.51.35.18
    Sep 06 23:04:33 meru pppd[1036]: Terminating on signal 15
    Sep 06 23:04:33 meru pppd[1036]: Connect time 10.1 minutes.
    Sep 06 23:04:33 meru pppd[1036]: Sent 26031 bytes, received 51289 bytes.
    Sep 06 23:04:33 meru pppd[1036]: Connection terminated.
    seems that where netctl status says active it is actually refering to previous wvdial uptime.
    Last edited by stozi (2014-09-24 18:09:08)

    If it provides 3G via the the USB port than the answer is no. The iPad doe not have a real USB port. The USB dongle for the camera connection kit only imports photos and videos from a limited number of devices.

  • [solved] Using a phone as a 3G modem

    Hi!
    I have a Nokia 5800 XpressMusic and I'm trying to use it as a 3g modem with my laptop.
    I went to the appropriate wiki page, installed usb_modeswitch and wvdial packages. When I plug in the phone via a USB cable, the lsusb command shows the following output:
    Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 002: ID 0a5c:6300 Broadcom Corp. Pirelli Remote NDIS Device
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 002 Device 012: ID 0421:0156 Nokia Mobile Phones 5800 XpressMusic (Storage mode)
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 001 Device 002: ID 0ac8:c326 Z-Star Microelectronics Corp.
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    When I try to run wvdialconf as root I get:
    Editing `/etc/wvdial.conf'.
    Scanning your serial ports for a modem.
    Modem Port Scan<*1>: S0 S1 S2 S3
    Sorry, no modem was detected! Is it in use by another program?
    Did you configure it properly with setserial?
    Please read the FAQ at http://alumnit.ca/wiki/?WvDial
    When I try running usb_modeswitch manually I get this:
    [javadyan@optimus-prime ~]$ sudo usb_modeswitch -v 0421 -p 0156 -H
    Looking for default devices ...
    Found devices in default mode or class (1)
    Accessing device 012 on bus 002 ...
    Using endpoints 0x01 (out) and 0x81 (in)
    Inquiring device details; driver will be detached ...
    Looking for active driver ...
    No driver found. Either detached before or never attached
    SCSI inquiry data (for identification)
    Vendor String: Nokia
    Model String: S60
    Revision String: 1.0
    USB description data (for identification)
    Manufacturer: Nokia
    Product: Nokia 5800 XpressMusic
    Serial No.: 356910034991828
    Sending Huawei control message ...
    OK, Huawei control message sent
    -> Run lsusb to note any changes. Bye.
    But with no apparent result. I also tried passing -S, -O and -G options to usb_modeswitch but none of these worked.
    I think there has to be some kind of workaround because I managed to get 3g working earlier on linux mint with the same laptop and phone.
    Can anyone help me with this?
    Last edited by 10098 (2010-07-15 19:10:03)

    Ok, never mind. I switched the phone to PC suite mode while connecting, and looked at the last few lines in /var/log/messages.log. Surprisingly, the modem showed up in /dev/ttyACM0:
    usb 2-3: USB disconnect, address 7
    usb 2-3: new high speed USB device using ehci_hcd and address 8
    usb 2-3: USB disconnect, address 8
    usb 2-3: new high speed USB device using ehci_hcd and address 9
    cdc_acm 2-3:1.1: ttyACM0: USB ACM device
    Then I ran wvdialconf, edited the config manually to enter my mobile service provider specific settings, fired up wvdial, and voila, I have access to mobile internet. Thanks for the help anyway. Cheers!

Maybe you are looking for

  • I can't find a movie I know was in the US iTunes Store...

    I have been gradually switching my movie collect from DVD to iTunes.  When I want to download the complete Harry Potter set, all the movies were there except the Half-Blood Prince.  I know it was sold in the US iTunes Store last year when it was rele

  • PDF to Image FIle

    Hi,   I would like to ask if it is possible to use LabVIEW to convert PDF files to image files? or more specifically, PNG files.   Or is there any resources/links that provides sufficient information about the PDF format so that one can use LabVIEW t

  • TRIGGER ERROR: bad bind variable

    Hello, I'm just starting off with oracle and am trying to do the same as auto_increment in mysql is doing by creating this sequence and trigger, but on the trigger I am getting the following error: error: PLS-00049: bad bind variable 'TAKEOVER_USERS.

  • Email to Purchase Group for GR and IR value variance

    Dear Experts, In our current setup an email will be triggered based on the company if there is a price variance occured for the PO in GR and IR value, however an email has been triggered although both values are exactly,please suggest some check poin

  • ODBC error [Database vendor code: 10004]

    I am attempting to link two tables within a remedy database.   the report works when I call a single table as data is returned.  As soon as I pull fields from the other table I encounter an error that I have listed above and no data is returned.  I h