Nowe posty

Autor Wątek: karta Huawei E620,bcm4318 problem z konfiguracją SuSE10.1  (Przeczytany 28182 razy)

benyo

  • Gość
karta Huawei E620,bcm4318 problem z konfiguracją SuSE10.1
« Odpowiedź #30 dnia: 2008-02-19, 17:34:23 »
ale jak przynajmniej raz odpalisz swoj modem za pomoca skryptow i pppd z konsoli bedziesz wiedzial przynajmniej czy wszystko jest ok i czy da sie zestawic polaczenie, a jesli nie , to uzyskasz przynajmniej informacje w logu gdzie jest blad i czego ci brakuje, a jesli to juz sie uda wtedy mozna sie bawic roznymi klikanymi zabawkami majac pewnosc ze polaczenie da sie w ogole zrealizowac.

P.S. i po co podawac mlodym pingwinom instrukcje obslugi czegos co ci nie dziala ??

gery_gery

  • Gość
karta Huawei E620,bcm4318 problem z konfiguracją SuSE10.1
« Odpowiedź #31 dnia: 2008-02-19, 17:53:51 »
Instrukcja jest tylko do tego jak można uruchomić cokolwiek w konsoli,a to że coś  może nie działać to już inna bajka.

gery_gery

  • Gość
karta Huawei E620,bcm4318 problem z konfiguracją SuSE10.1
« Odpowiedź #32 dnia: 2008-02-24, 19:27:44 »
Dostałem pewne informacje iż z pomocą może przyjść użycie tego narzędzia "man strace".Może ktoś miał okazję używać poleceń/komend z tego narzędzia i mógłby pomóc,albo mógłby ktoś z dobrą znajomością angielskiego zobaczyć co i jak.Lista poleceń jest dość długa wraz z opisami ale po angielsku.
Znalazłem stronę gdzie wszystko jest po polsku: http://www.digipedia.pl/man/strace.1.html
I chciałem użyć tej komendy (-e trace=network, Śledź wszystkie wywołania związane z siecią.)wydała mi się jak najbardziej odpowiednia,ale za groma nie chce zadziałać.Próbowałem na dziesięć różnych sposobów ją wpisać,ale konsola cały czas wywala że zła komenda.Myślałem o użyciu jeszcze tej komendy(-p pid Podwieś się do procesu o podanym identyfikatorze ID pid i rozpocznij śledzenie. Śledzenie może być zakończone w dowolnym momencie przez przerwanie z klawiatury (CTRL-C). strace odpowie przez odwieszenie się od śledzonego procesu(ów), pozostawiając go (je) w spokoju. Do podwieszenia się do kolejnych 32 procesów, można używać wielu opcji -p, jako uzupełnienie komendy komenda (która jest opcjonalna, jeśli podano przynajmniej jedną opcję -p)..Bo gdy otwieram ten program w konsoli jest komunikat,że usuwa pliki pid,więc pomyślałem że to pomoże,ale niestety ten sam błąd,że komenda nieprawidłowa/nie ma takiej komendy.

gery_gery

  • Gość
karta Huawei E620,bcm4318 problem z konfiguracją SuSE10.1
« Odpowiedź #33 dnia: 2008-04-21, 16:17:42 »
STRACE ruszyło i oto wynik:
GeryXaviPati:/home/gery # strace vodafone-mobile-connect-card-driver-for-linux
execve("/usr/bin/vodafone-mobile-connect-card-driver-for-linux", ["vodafone-mobile-connect-card-dri"...], [/* 82 vars */]) = 0
brk(0)                                  = 0x80096000
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY)      = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=111383, ...}) = 0
mmap2(NULL, 111383, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f9c000
close(3)                                = 0
open("/lib/libreadline.so.5", O_RDONLY) = 3
read(3, "\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0 \\320\\0\\0004\\0\\0\\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=198824, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f9b000
mmap2(NULL, 200884, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f69000
fadvise64(3, 0, 200884, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7f95000, 16384, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2c) = 0xb7f95000
mmap2(0xb7f99000, 4276, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f99000
close(3)                                = 0
open("/lib/libhistory.so.5", O_RDONLY)  = 3
read(3, "\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0\\340\\32\\0\\0004\\0\\0\\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=30548, ...}) = 0
mmap2(NULL, 33092, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f60000
fadvise64(3, 0, 33092, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7f67000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6) = 0xb7f67000
close(3)                                = 0
open("/lib/libncurses.so.5", O_RDONLY)  = 3
read(3, "\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0\\360\\261\\0\\0004\\0\\0\\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=214696, ...}) = 0
mmap2(NULL, 214728, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f2b000
fadvise64(3, 0, 214728, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7f5a000, 24576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2e) = 0xb7f5a000
close(3)                                = 0
open("/lib/libdl.so.2", O_RDONLY)       = 3
read(3, "\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0\\240\\n\\0\\0004\\0\\0\\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=10288, ...}) = 0
mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7f27000
fadvise64(3, 0, 12412, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7f29000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7f29000
close(3)                                = 0
open("/lib/libc.so.6", O_RDONLY)        = 3
read(3, "\\177ELF\\1\\1\\1\\0\\0\\0\\0\\0\\0\\0\\0\\0\\3\\0\\3\\0\\1\\0\\0\\0@a\\1\\0004\\0\\0\\0"..., 512) = 512
fstat64(3, {st_mode=S_IFREG|0755, st_size=1281488, ...}) = 0
mmap2(NULL, 1254896, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7df4000
fadvise64(3, 0, 1254896, POSIX_FADV_WILLNEED) = 0
mmap2(0xb7f21000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12c) = 0xb7f21000
mmap2(0xb7f24000, 9712, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7f24000
close(3)                                = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7df3000
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7df2000
set_thread_area({entry_number:-1 -> 6, base_addr:0xb7df26c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0
mprotect(0xb7f21000, 4096, PROT_READ)   = 0
mprotect(0xb7f5a000, 4096, PROT_READ)   = 0
munmap(0xb7f9c000, 111383)              = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 3
close(3)                                = 0
stat64("/usr/lib/locale/locale-archive", 0xbfea5560) = -1 ENOENT (No such file or directory)
brk(0)                                  = 0x80096000
brk(0x800b7000)                         = 0x800b7000
open("/usr/lib/locale/locale-archive", O_RDONLY|O_LARGEFILE) = -1 ENOENT (No such file or directory)
open("/usr/share/locale/locale.alias", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2528, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fb7000
read(3, "# Locale name alias data base.\\n#"..., 4096) = 2528
read(3, "", 4096)                       = 0
close(3)                                = 0
munmap(0xb7fb7000, 4096)                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_IDENTIFICATION", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_IDENTIFICATION", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=341, ...}) = 0
mmap2(NULL, 341, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fb7000
close(3)                                = 0
open("/usr/lib/gconv/gconv-modules.cache", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=25486, ...}) = 0
mmap2(NULL, 25486, PROT_READ, MAP_SHARED, 3, 0) = 0xb7fb0000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_MEASUREMENT", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_MEASUREMENT", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=23, ...}) = 0
mmap2(NULL, 23, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7faf000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_TELEPHONE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_TELEPHONE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=49, ...}) = 0
mmap2(NULL, 49, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fae000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_ADDRESS", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_ADDRESS", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=127, ...}) = 0
mmap2(NULL, 127, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fad000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_NAME", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_NAME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=62, ...}) = 0
mmap2(NULL, 62, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fac000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_PAPER", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_PAPER", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=34, ...}) = 0
mmap2(NULL, 34, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fab000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_MESSAGES", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFDIR|0755, st_size=80, ...}) = 0
close(3)                                = 0
open("/usr/lib/locale/pl_PL.utf8/LC_MESSAGES/SYS_LC_MESSAGES", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0
mmap2(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7faa000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_MONETARY", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_MONETARY", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=294, ...}) = 0
mmap2(NULL, 294, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa9000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_COLLATE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_COLLATE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=105230, ...}) = 0
mmap2(NULL, 105230, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7dd8000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_TIME", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_TIME", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=2354, ...}) = 0
mmap2(NULL, 2354, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa8000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_NUMERIC", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_NUMERIC", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=54, ...}) = 0
mmap2(NULL, 54, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7fa7000
close(3)                                = 0
open("/usr/lib/locale/pl_PL.UTF-8/LC_CTYPE", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/locale/pl_PL.utf8/LC_CTYPE", O_RDONLY) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=254020, ...}) = 0
mmap2(NULL, 254020, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7d99000
close(3)                                = 0
getuid32()                              = 0
getgid32()                              = 0
geteuid32()                             = 0
getegid32()                             = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
time(NULL)                              = 1208728073
open("/proc/meminfo", O_RDONLY)         = 3
fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7fa6000
read(3, "MemTotal:       969920 kB\\nMemFre"..., 1024) = 823
close(3)                                = 0
munmap(0xb7fa6000, 4096)                = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGINT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigaction(SIGQUIT, {SIG_DFL}, {SIG_DFL}, 8) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
rt_sigaction(SIGQUIT, {SIG_IGN}, {SIG_DFL}, 8) = 0
uname({sys="Linux", node="GeryXaviPati", ...}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64("/home/gery", {st_mode=S_IFDIR|0755, st_size=2952, ...}) = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=2952, ...}) = 0
getpid()                                = 3470
getppid()                               = 3469
getpgrp()                               = 3469
rt_sigaction(SIGCHLD, {0x80038e00, [], 0}, {SIG_DFL}, 8) = 0
getrlimit(RLIMIT_NPROC, {rlim_cur=7671, rlim_max=7671}) = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
open("/usr/bin/vodafone-mobile-connect-card-driver-for-linux", O_RDONLY|O_LARGEFILE) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, 0xbfea5448) = -1 ENOTTY (Inappropriate ioctl for device)
_llseek(3, 0, [0], SEEK_CUR)            = 0
read(3, "#!/bin/bash\\ntwistd -r gtk2 --pid"..., 80) = 80
_llseek(3, 0, [0], SEEK_SET)            = 0
getrlimit(RLIMIT_NOFILE, {rlim_cur=1024, rlim_max=8*1024}) = 0
dup2(3, 255)                            = 255
close(3)                                = 0
fcntl64(255, F_SETFD, FD_CLOEXEC)       = 0
fcntl64(255, F_GETFL)                   = 0x8000 (flags O_RDONLY|O_LARGEFILE)
fstat64(255, {st_mode=S_IFREG|0755, st_size=142, ...}) = 0
_llseek(255, 0, [0], SEEK_CUR)          = 0
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
read(255, "#!/bin/bash\\ntwistd -r gtk2 --pid"..., 142) = 142
rt_sigprocmask(SIG_BLOCK, NULL, [], 8)  = 0
stat64(".", {st_mode=S_IFDIR|0755, st_size=2952, ...}) = 0
stat64("/opt/kde3/bin/twistd", 0xbfea52a4) = -1 ENOENT (No such file or directory)
stat64("/home/gery/bin/twistd", 0xbfea52a4) = -1 ENOENT (No such file or directory)
stat64("/usr/local/bin/twistd", 0xbfea52a4) = -1 ENOENT (No such file or directory)
stat64("/usr/bin/twistd", {st_mode=S_IFREG|0755, st_size=656, ...}) = 0
stat64("/usr/bin/twistd", {st_mode=S_IFREG|0755, st_size=656, ...}) = 0
rt_sigprocmask(SIG_BLOCK, [INT CHLD], [], 8) = 0
clone(child_stack=0, flags=CLONE_CHILD_CLEARTID|CLONE_CHILD_SETTID|SIGCHLD, child_tidptr=0xb7df2708) = 3471
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGINT, {0x80036c4f, [], 0}, {SIG_DFL}, 8) = 0
waitpid(-1, Removing stale pidfile /tmp/vmc.pid
Normalnie czarna magia jedyne co rozumiem z tego to komunikaty w nawiasach(nie ma takiego pliku lub katalogu).