Thanks druuna
Here are all the details you want. I get the same old error message.
[nissanka@localhost ~]$ su root
Password:
[root@localhost nissanka]# cat /etc/mandriva-release
Mandriva Linux release 2011.0 (Official) for x86_64
[root@localhost nissanka]#
[root@localhost nissanka]# runlevel
N 5
[root@localhost nissanka]#
[root@localhost nissanka]# ls -ld /dev/ppp /etc/ppp /var/run/ppp
crw------- 1 root root 108, 0 Feb 18 18:14 /dev/ppp
drwxr-xr-x 5 root root 4096 Aug 27 15:16 /etc/ppp/
drwxr-xr-x 2 root root 4096 Feb 16 10:36 /var/run/ppp/
[root@localhost nissanka]#
[root@localhost nissanka]#
[root@localhost nissanka]# ps -ef | grep "[d]bus"
499 1773 1 0 18:15 ? 00:00:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation
nissanka 2876 1 0 18:15 ? 00:00:00 /usr/bin/dbus-launch --exit-with-session --sh-syntax
nissanka 2877 1 0 18:15 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
[root@localhost nissanka]#
[root@localhost nissanka]#
[root@localhost nissanka]# lsusb
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 2101:020f ActionStar
Bus 001 Device 003: ID 03f0:6104 Hewlett-Packard DeskJet 5650c
Bus 002 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 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 004: ID 12d1:1506 Huawei Technologies Co., Ltd.
[root@localhost nissanka]#
The following command didn’t work.
[root@localhost nissanka]# lsusb tail-50 /var/log/messages |grep -i usb
Usage: lsusb [options]...
List USB devices
-v, --verbose
Increase verbosity (show descriptors)
-s [[bus]:][devnum]
Show only devices with specified device and/or
bus numbers (in decimal)
-d vendor:[product]
Show only devices with the specified vendor and
product ID numbers (in hexadecimal)
-D device
Selects which device lsusb will examine
-t
Dump the physical USB device hierarchy as a tree
-V, --version
Show version of program
[root@localhost nissanka]#
[root@localhost nissanka]# sakis3g --interactive
kdialog(10329): Session bus not found
To circumvent this problem try the following command (with Linux and bash)
export $(dbus-launch)
[root@localhost nissanka]#
[root@localhost nissanka]# export $(dbus-launch)
[root@localhost nissanka]#
[ I got the same old error messages.]
[root@localhost nissanka]# sakis3g --interactive
Application asked to unregister timer 0x39000001 which is not registered in this thread. Fix application.
Application asked to unregister timer 0x3a000002 which is not registered in this thread. Fix application.
1]Module “cdc_acm” loaded but refused to bind to device “12d1:1506”.
2]Unable to load driver “cdc_acm” for device “12d1:1506”
3]Failed to connect.
You have asked to test the other options. I tested them. The first 2 didn't work.
Only prepare modem
[ NOT WORKED]
Only setup modem
[ NOT WORKED]
Only switch modem
[WORKED]
Compile embedded Usb-ModeSwitch
[Header file usb.h missing from your system. This usually indicates libusb (or libusb-compat) development kit missing]
Create desktop shortcut
[WORKED]
[root@localhost nissanka]# sakis3g --interactive --debug 2
-------------------------------------------
Sakis3G 0.2.0e running on DEBUG mode.
-------------------------------------------
Sat Feb 18 18:54:32 CET 2012
-------------------------------------------
Command line was: /tmp/sakis3gz.24310.sakis3g "--interactive" "--debug" "2"
Running with PID: 24349
-------------------------------------------
Environment is:
BASH=/bin/sh
BASHOPTS=checkwinsize:cmdhist:extquote:force_fignore:hostcomplete:interactive_comments
rogcomp
rom ptvars:sourcepath
BASH_ALIASES=()
BASH_ARGC=([0]="3")
BASH_ARGV=([0]="2" [1]="--debug" [2]="--interactive")
BASH_CMDS=()
BASH_LINENO=([0]="8471" [1]="8488" [2]="8497" [3]="0")
BASH_SOURCE=([0]="/tmp/sakis3gz.24310.sakis3g" [1]="/tmp/sakis3gz.24310.sakis3g" [2]="/tmp/sakis3gz.24310.sakis3g" [3]="/tmp/sakis3gz.24310.sakis3g")
BASH_VERSINFO=([0]="4" [1]="2" [2]="10" [3]="2" [4]="release" [5]="x86_64-mandriva-linux-gnu")
BASH_VERSION='4.2.10(2)-release'
BROWSER=/usr/bin/www-browser
CANBERRA_DRIVER=pulse
COLORFGBG='15;0'
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-BC1eqheThy,guid=133369ad4aceb4ae588c10700000018e
DBUS_SESSION_BUS_PID=7798
DBUS_SESSION_BUS_WINDOWID=46137345
DEBUG=on
DESKTOP=
DESKTOP_SESSION=default
DIRSTACK=()
DISPLAY=:0
DM_CONTROL=/var/run/xdmctl
ENV=/root/.bashrc
EUID=0
EXTRACTED=/tmp/sakis3gz.24310.sakis3g
FUNCNAME=([0]="debug_header" [1]="startup" [2]="sakis3g_main" [3]="main")
GCONF_TMPDIR=/tmp
GROUPS=()
GS_LIB=/home/nissanka/.fonts
GTK2_RC_FILES=/etc/gtk-2.0/gtkrc:/home/nissanka/.gtkrc-2.0:/home/nissanka/.gtkrc-2.0-kde4:/home/nissanka/.kde4/share/config/gtkrc-2.0
GTK_MODULES=canberra-gtk-module
GTK_RC_FILES=/etc/gtk/gtkrc:/home/nissanka/.gtkrc::/home/nissanka/.kde4/share/config/gtkrc
G_FILENAME_ENCODING=@locale
HISTCONTROL=ignoredups
HISTSIZE=1000
HOME=/root
HOSTNAME=localhost.localdomain
HOSTTYPE=x86_64
IFS='
'
INPUTRC=/etc/inputrc
KDE_COLOR_DEBUG=1
KDE_FULL_SESSION=true
KDE_MULTIHEAD=false
KDE_SESSION_UID=500
KDE_SESSION_VERSION=4
KONSOLE_DBUS_SERVICE=:1.93
KONSOLE_DBUS_SESSION=/Sessions/2
LANG=en_US.UTF-8
LANGUAGE=en_US.UTF-8:en_US:en
LC_ADDRESS=sv_SE.UTF-8
LC_COLLATE=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_IDENTIFICATION=sv_SE.UTF-8
LC_MEASUREMENT=sv_SE.UTF-8
LC_MESSAGES=en_US.UTF-8
LC_MONETARY=sv_SE.UTF-8
LC_NAME=sv_SE.UTF-8
LC_NUMERIC=sv_SE.UTF-8
LC_PAPER=sv_SE.UTF-8
LC_SOURCED=1
LC_TELEPHONE=sv_SE.UTF-8
LC_TIME=en_US.UTF-8
LESS=-MM
LESSCHARSET=utf-8
LESSKEY=/etc/.less
LESSOPEN='|/usr/bin/lesspipe.sh %s'
LOGNAME=nissanka
LS_COLORS='rs=0:di=01;34:ln=01;36:mh=00
i=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01
r=01;05; 37;41:mi=01;05;37;41:su=37;41:sg=30;43:ca=30;41:tw=30;42
w=34;42:st=37;44:ex=01;32:*.cmd=01;32:*.ex e=01;32:*.com=01;32:*.btm=01;32:*.bat=01;32:*.sh=01;32:*.csh=01;32:*.tar=01;31:*.tgz=01;31:*.arj=01; 31:*.taz=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz =01;31:*.gz=01;31:*.lz=01;31:*.xz=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:* .deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.ace=01;31:*.zoo =01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.iso=01;31:*.jpg=01;35:*.jpeg=01;35:*.JPG=01;35:*.JPEG=01 ;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35: *.tif=01;35:*.tiff=01;35:*.png=01;35:*.ico=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*. mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.ogm=01;35:*.divx=01;35:*.xvid=01;35:*.3 gp=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=0 1;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:* .xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.gem=01;35:*.axv=01;35:*.anx=01;35:*.ogv =01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00 ;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.axa=00;36:*.oga=00;36:*.spx=00;36:*.xspf=00;36: *.mp2=00;36:*.mod=00;36:*.xm=00;36:*.s3m=00;36:*.it=00;36:*.wma=00;36:*~=47;30:*.bak=47;30:*.swp=47; 30:*.bck=47;30:*.bk=47;30:*.old=47;30:*.tmp=47;30:*.save=47;30:*.rpmsave=47;30:*.rpmnew=47;30:'
MACHTYPE=x86_64-mandriva-linux-gnu
MAIL=/var/spool/mail/nissanka
MDV_MENU_STYLE=mandriva
MEGZ=/usr/bin/sakis3g
META_CLASS=desktop
MYVERSION=0.2.0e
OPTERR=1
OPTIND=1
OSTYPE=linux-gnu
PATH=/bin:/sbin:/usr/bin:/usr/sbin
PIPESTATUS=([0]="0")
POSIXLY_CORRECT=y
PPID=24310
PROFILEHOME=
PROVIDER=/usr/bin/sakis3g
PS4='+ '
PWD=/home/nissanka
PYTHONDONTWRITEBYTECODE=1
PYTHONSTARTUP=/etc/pythonrc.py
QT4DOCDIR=/usr/share/doc/qt4/doc
QTDIR=/usr/lib/qt4
QTEST_COLORED=1
QT_PLUGIN_PATH=/home/nissanka/.kde4/lib64/kde4/plugins/:/usr/lib64/kde4/plugins/
SESSION_MANAGER=local/localhost.localdomain:@/tmp/.ICE-unix/3180,unix/localhost.localdomain:/tmp/.ICE-unix/3180
SHELL=/bin/bash
SHELLOPTS=braceexpand:hashall:interactive-comments
osix
SHELL_SESSION_ID=c6d2b2d4348a462c90b7e119614a25b1
SHLVL=5
SSH_ASKPASS=/usr/lib64/ssh/ssh-askpass
TERM=xterm
TMP=/tmp/
TMPDIR=/tmp/
TRAPS='cleanscreen '
UID=0
USER=nissanka
USERNAME=root
WINDOWID=218103851
WINDOWPATH=8
XAUTHORITY=/root/.xauthOvBkKG
XCURSOR_THEME=rosa
XDG_CONFIG_DIRS=/etc/xdg:/etc/xdg/kde4
XDG_DATA_DIRS=/usr/share:/usr/share:/usr/local/share
XDG_MENU_PREFIX=kde-
XDG_SESSION_COOKIE=5ab4efc3ba2ace4a5f33df9b00017768-1329586855.487809-1882486563
XDM_MANAGED=method=classic
XMODIFIERS=@im=none
YESFUNCNAME=1
_='Environment is:'
allargs='"--interactive" "--debug" "2"'
binaryvariable=grep
cutbin=/bin/cut
grepbin=/bin/grep
interactive=yes
lastverbosetext='Starting up'
me=/tmp/sakis3gz.24310.sakis3g
printfbin=/usr/bin/printfcrw------- 1 root root 108, 0 Feb 18 18:14 /dev/ppp
drwxr-xr-x 5 root root 4096 Aug 27 15:16 /etc/ppp/
drwxr-xr-x 2 root root 4096 Feb 16 10:36 /var/run/ppp/
sedbin=/bin/sed
trbin=/usr/bin/tr
verbosecurrentcount=7
whichbin=/usr/bin/which
-------------------------------------------
Will now proceed with Sakis3G execution.
-------------------------------------------
[24349] [18:54:33] [find_binary ] Located "echo" within PATH (/bin/echo).
[24349] [18:54:33] [check_level_one_deps] Level 1 dependencies met.
[24349] [18:54:33] [fix_path ] Dir "/bin" exists in PATH.
[24349] [18:54:33] [fix_path ] Dir "/usr/bin" exists in PATH.
[24349] [18:54:33] [fix_path ] Dir "/sbin" exists in PATH.
[24349] [18:54:33] [fix_path ] Dir "/usr/sbin" exists in PATH.
[24349] [18:54:33] [fix_path ] Done setting up PATH.
[24349] [18:54:33] [find_binary ] Located "readlink" within PATH (/usr/bin/readlink).
[24349] [18:54:33] [get_me ] My location is "/usr/bin/sakis3g".
[24349] [18:54:33] [find_binary ] Located "wc" within PATH (/usr/bin/wc).
[24349] [18:54:33] [find_binary ] Located "cat" within PATH (/bin/cat).
[24349] [18:54:33] [find_binary ] Located "tail" within PATH (/usr/bin/tail).
[24349] [18:54:33] [find_binary ] Located "head" within PATH (/usr/bin/head).
[24349] [18:54:33] [find_binary ] Located "sort" within PATH (/bin/sort).
[24349] [18:54:33] [find_binary ] Located "uniq" within PATH (/usr/bin/uniq).
[24349] [18:54:33] [find_binary ] Located "ls" within PATH (/bin/ls).
[24349] [18:54:33] [find_binary ] Located "setsid" within PATH (/usr/bin/setsid).
[24349] [18:54:33] [find_binary ] Located "getent" within PATH (/usr/bin/getent).
[24349] [18:54:33] [find_binary ] Located "ps" within PATH (/bin/ps).
[24349] [18:54:33] [find_binary ] Located "chmod" within PATH (/bin/chmod).
[24349] [18:54:33] [find_binary ] Located "chown" within PATH (/bin/chown).
[24349] [18:54:33] [find_binary ] Located "touch" within PATH (/bin/touch).
[24349] [18:54:33] [find_binary ] Located "expr" within PATH (/bin/expr).
[24349] [18:54:33] [find_binary ] Located "seq" within PATH (/usr/bin/seq).
[24349] [18:54:33] [find_binary ] Located "cp" within PATH (/bin/cp).
[24349] [18:54:33] [find_binary ] Located "rm" within PATH (/bin/rm).
[24349] [18:54:33] [find_binary ] Located "who" within PATH (/usr/bin/who).
[24349] [18:54:33] [find_binary ] Located "mv" within PATH (/bin/mv).
[24349] [18:54:33] [find_binary ] Located "basename" within PATH (/bin/basename).
[24349] [18:54:33] [find_binary ] Located "dirname" within PATH (/usr/bin/dirname).
[24349] [18:54:33] [check_level_two_deps] Level 2 dependencies met.
[24349] [18:54:33] [resolv_binaries ] Basic binaries are resolved.
[24349] [18:54:34] [check_udevd ] Parent process is: bash
[24349] [18:54:34] [check_udevd ] Running by user request.
[24349] [18:54:34] [find_user ] Person behind screen is nissanka.
[24349] [18:54:34] [config_load ] Configuration file /etc/default/sakis3g does not exist or is not readable.
[24349] [18:54:34] [config_load ] Configuration file /etc/sysconfig/sakis3g does not exist or is not readable.
[24349] [18:54:34] [config_load ] Configuration file /etc/sakis3g.conf does not exist or is not readable.
[24349] [18:54:34] [config_load ] Configuration file(s) loaded.
[24349] [18:54:34] [access_display ] Will attempt to get access to display :0.
[24349] [18:54:34] [find_binary ] Located "xauth" within PATH (/usr/bin/xauth).
[24349] [18:54:34] [access_display ] Already granted access to display :0.
[24349] [18:54:34] [find_display ] Will be using display :0.
[24349] [18:54:34] [find_gui ] Selecting GUI.
[24349] [18:54:34] [find_binary ] Located "kdialog" within PATH (/usr/bin/kdialog).
[24349] [18:54:34] [find_gui ] kdialog selected as GUI.
[24349] [18:54:34] [translate_load ] Locale en_US.UTF-8 found in environment.
[24349] [18:54:34] [translate_load ] Will attempt to get translation file from package: messages/en_US.UTF-8.
[24349] [18:54:34] [need_arg ] Loaded default value for foldwrapping: 60
[24349] [18:54:34] [translate_load ] No translations retrieved from file. Will not be using translations.
[24349] [18:54:34] [need_arg ] Loaded default value for foldwrapping: 60
[24349] [18:54:34] [find_binary ] Located "ifconfig" within PATH (/sbin/ifconfig).
[24349] [18:54:34] [check_root_deps ] Root level dependencies met.
[24349] [18:54:34] [modeswitch_load ] Loading Usb-ModeSwitch device database.
[24349] [18:54:34] [modeswitch_load 499 1773 1 0 18:15 ? 00:00:01 /usr/bin/dbus-daemon --system --address=systemd: --nofork --systemd-activation
nissanka 2876 1 0 18:15 ? 00:00:00 /usr/bin/dbus-launch --exit-with-session --sh-syntax
nissanka 2877 1 0 18:15 ? 00:00:00 /usr/bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session] Embedded device database loaded.
[24349] [18:54:34] [modeswitch_load ] Switchable devices within embedded device database:
0421:0610 0471:1210 0471:1237 0482:024d 04e8:f000 057c:84ff 05c6:1000 05c6:2001 05c6:f000 072f:100d 0930:0d46 0ace:2011 0ace:20ff 0af0:6711 0af0:6731 0af0:6751 0af0:6771 0af0:6791 0af0:6811 0af0:6911 0af0:6951 0af0:6971 0af0:7011 0af0:7031 0af0:7051 0af0:7071 0af0:7111 0af0:7211 0af0:7251 0af0:7271 0af0:7301 0af0:7311 0af0:7361 0af0:7381 0af0:7401 0af0:7501 0af0:7601 0af0:7701 0af0:7801 0af0:7901 0af0:8200 0af0:8201 0af0:8300 0af0:8302 0af0:8304 0af0:8400 0af0:c031 0af0:c100 0af0:d013 0af0:d031 0af0:d033 0af0:d035 0af0:d055 0af0:d057 0af0:d058 0af0:d155 0af0:d157 0af0:d255 0af0:d257 0af0:d357 0b3c:c700 0fce:d0cf 0fce:d0e1 0fce:d103 1004:1000 1004:607f 1004:613a 1004:613f 1033:0035 106c:3b03 106c:3b06 1076:7f40 1199:0fff 1266:1000 12d1:1001 12d1:1003 12d1:101e 12d1:1414 12d1:1446 12d1:1520 12d1:1521 12d1:1557 1410:5010 1410:5020 1410:5030 1410:5031 1410:5041 148f:2578 16d8:6803 16d8:700a 16d8:f000 198f:bccd 19d2:0003 19d2:0026 19d2:0040 19d2:0053 19d2:0083 19d2:0101 19d2:0103 19d2:0115 19d2:1001 19d2:1007 19d2:1009 19d2:2000 19d2:fff5 19d2:fff6 1a8d:1000 1ab7:5700 1b7d:0700 1bbb:f000 1c9e:1001 1c9e:9200 1c9e:f000 1dd6:1000 1e0e:f000 1f28:0021 1fac:0130
[24349] [18:54:34] [modeswitch_load ] Switched devices within embedded device database:
0421:0612 0471:1206 0471:1234 04e8:6601 057c:8401 05c6:9000 072f:90cc 0930:0d45 0af0:6600 0af0:6701 0af0:6901 0b3c:c000 0b3c:c001 0b3c:c002 1004:6114 1004:6124 1004:6141 106c:3715 106c:3717 1076:7f00 1199:0017 1199:0018 1199:0019 1199:0020 1199:0021 1199:0022 1199:0024 1199:0026 1199:0027 1199:0028 1199:0029 1199:0112 1199:0120 1199:0218 1199:0220 1199:0224 1199:6802 1199:6803 1199:6804 1199:6805 1199:6808 1199:6809 1199:6812 1199:6813 1199:6815 1199:6816 1199:6820 1199:6821 1199:6822 1199:6832 1199:6833 1199:6834 1199:6835 1199:6838 1199:6839 1199:683a 1199:683b 1199:683c 1199:683d 1199:683e 1199:6850 1199:6851 1199:6852 1199:6853 1199:6855 1199:6856 1199:6859 1199:685a 1266:1002 1266:1003 1266:1004 1266:1005 1266:1006 1266:1007 1266:1008 1266:1009 1266:100a 1266:100b 1266:100c 1266:100d 1266:100e 1266:100f 1266:1011 1266:1012 12d1:1001 12d1:1003 12d1:1406 12d1:140c 12d1:141b 12d1:1464 12d1:1465 12d1:14a5 12d1:14ac 1410:4100 1410:4400 1410:6000 1410:6002 1410:7001 1410:7003 148f:9021 16d5:6502 16d8:6006 16d8:680a 198f:0220 19d2:0001 19d2:0002 19d2:0015 19d2:0016 19d2:0017 19d2:0022 19d2:0031 19d2:0037 19d2:0052 19d2:0055 19d2:0063 19d2:0064 19d2:0094 19d2:0104 19d2:0116 19d2:0124 19d2:0128 19d2:1003 19d2:1008 19d2:1010 19d2:fff1 19d2:ffff 1a8d:1002 1a8d:1009 1ab7:5731 1b7d:0001 1bbb:0000 1c9e:6061 1c9e:9000 1c9e:9063 1c9e:9202 1c9e:9603 1dbc:0005 1dd6:1002 1e0e:9000 1e0e:9200 1e0e:ce16 1e0e:cefe 1f28:0020 1fac:0131 1fe7:0100
[24349] [18:54:34] [modeswitch_load ]
Embedded Usb-ModeSwitch device database contains 260 entries.
[24349] [18:54:34] [startup ] Finished starting up.
[24349] [18:54:34] [action_command ] No actors defined.
[24349] [18:54:34] [default_actor ] Executing default actor for "kdialog".
[24349] [18:54:34] [need_arg ] Loaded default value for pppint: ppp0
[24349] [18:54:34] [user_select ] Asking user to select: MENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G MOREMENU More options... ABOUT About Sakis3G EXIT Exit
[24349] [18:54:35] [user_select ] Asking user to select: MENU Please select an action Choose action for Sakis3G script to follow. OK Cancel CONNECT Connect with 3G MOREMENU More options... ABOUT About Sakis3G EXIT Exit
[24349] [18:54:35] [user_select ] Variable MENU is not set already.
[24349] [18:54:35] [dialog_select ] Prompting user to select variable MENU.