انجمن‌های فارسی اوبونتو

لطفاً به انجمن‌ها وارد شده و یا جهت ورود ثبت‌نام نمائید

لطفاً جهت ورود نام کاربری و رمز عبورتان را وارد نمائید


ارائه ۲۵٫۰۴ اوبونتو منتشر شد 🎉

نویسنده موضوع: نصب مودم  (دفعات بازدید: 17357 بار)

0 کاربر و 1 مهمان درحال مشاهده موضوع.

آفلاین dr_khafan

  • Newbie
  • *
  • ارسال: 15
پاسخ به: نصب مودم
« پاسخ #30 : 23 مهر 1386، 07:42 ب‌ظ »
سلام مهندس دستت درد نکنه ولی نمیدونم چرا طلسم شده؟
وقتی این دستور رو میزنم
$ sudo module-assistant auto-install sl-modem
وارد محیط آبی رنگ میشه و بعد از اون این خطارو میده:
dh_testdir                                                                 
dh_testroot                                                               
rm -f build-arch-stamp build-indep-stamp configure-stamp                   
# Add here commands to clean up after the build process.                   
/usr/bin/make clean SUPPORT_ALSA=1                                         
make[1]: Entering directory `/usr/src/modules/sl-modem'                     
make[1]: Leaving directory `/usr/src/modules/sl-modem'                     
cd modem; /usr/bin/make clean SUPPORT_ALSA=1                               
make[1]: Entering directory `/usr/src/modules/sl-modem/modem'               
make[1]: Leaving directory `/usr/src/modules/sl-modem/modem'               
dh_clean                                                                   
/usr/bin/make -C drivers clean                                             
make[1]: Entering directory `/usr/src/modules/sl-modem/drivers'             
 rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o               
 amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~
 rm -f -r .tmp_versions                                                     
 make[1]: Leaving directory `/usr/src/modules/sl-modem/drivers'             
 /usr/bin/make  -f debian/rules kdist_clean kdist_config binary-modules     
  make[1]: Entering directory `/usr/src/modules/sl-modem'                   
  dh_testdir                                                                 
  dh_testroot                                                                 
  rm -f build-arch-stamp build-indep-stamp configure-stamp                   
  # Add here commands to clean up after the build process.                   
  /usr/bin/make clean SUPPORT_ALSA=1                                         
 make[2]: Entering directory `/usr/src/modules/sl-modem'                     
  make[2]: *** No rule to make target `clean'.  Stop.                       
  make[2]: Leaving directory `/usr/src/modules/sl-modem'                     
  make[1]: [clean] Error 2 (ignored)                                         
  cd modem; /usr/bin/make clean SUPPORT_ALSA=1                               
  make[2]: Entering directory `/usr/src/modules/sl-modem/modem'               
 make[2]: *** No rule to make target `clean'.  Stop.                       
  make[2]: Leaving directory `/usr/src/modules/sl-modem/modem'               
  make[1]: [clean] Error 2 (ignored)                                         
  dh_clean                                                                   
  /usr/bin/make -C drivers clean                                             
  make[2]: Entering directory `/usr/src/modules/sl-modem/drivers'             
  rm -f kernel-ver slamr.o slusb.o slamr.ko slusb.ko *st7554.o               
  amrmo_init.o sysdep_amr.o *.mod.* .*.cmd *~                                 
  rm -f -r .tmp_versions                                                     
  make[2]: Leaving directory `/usr/src/modules/sl-modem/drivers'             
  for templ in                                                               
  /usr/src/modules/sl-modem/debian/sl-modem-modules-_KVERS_.postinst         
  /usr/src/modules/sl-modem/debian/sl-modem-modules-_KVERS_.postinst.backup   
  /usr/src/modules/sl-modem/debian/sl-modem-modules-_KVERS_.postinst.module   
  s.in; do \                                                                 
 cp $templ `echo $templ | sed -e 's/_KVERS_/2.6.20-16-generic/g'` ; \   
    done                                                                     
  for templ in `ls debian/*.modules.in` ; do \                               
      test -e ${templ%.modules.in}.backup || cp ${templ%.modules.in}         
  ${templ%.modules.in}.backup 2>/dev/null || true; \                         
      sed -e 's/##KVERS##/2.6.20-16-generic/g                                 
  ;s/#KVERS#/2.6.20-16-generic/g ; s/_KVERS_/2.6.20-16-generic/g ;           
  s/##KDREV##/2.6.20-16.32/g ; s/#KDREV#/2.6.20-16.32/g ;                     
  s/_KDREV_/2.6.20-16.32/g  ' < $templ > ${templ%.modules.in}; \             
    done                                                                     
  dh_clean -k                                                                 
  dh_installdirs lib/modules/2.6.20-16-generic/misc usr/lib/sl-modem         
  if ! test -e drivers/Makefile ; then echo "Please update the package,     
  extract the tarball!"; exit 1 ; fi                                         
  /usr/bin/make -C drivers KERNEL_DIR=/lib/modules/2.6.20-16-generic/build   
                                                                               
KVERS=2.6.20-16-generic                                                   
  make[2]: Entering directory `/usr/src/modules/sl-modem/drivers'             
  gcc-4.1 -I/lib/modules/2.6.20-16-generic/build/include -o kernel-ver       
  kernel-ver.c                                                               
  kernel-ver.c:6:19: error: stdio.h: No such file or directory               
  kernel-ver.c: In function ‘main’:                                         
  kernel-ver.c:11: warning: incompatible implicit declaration of built-in     
  function ‘printf’                                                         
  kernel-ver.c:11: error: ‘UTS_RELEASE’ undeclared (first use in this         
  function)                                                                 
  kernel-ver.c:11: error: (Each undeclared identifier is reported only once   
  kernel-ver.c:11: error: for each function it appears in.)                 
  make[2]: *** [kernel-ver] Error 1                                         
  make[2]: Leaving directory `/usr/src/modules/sl-modem/drivers'             
   make[1]: *** [binary-modules] Error 2                                     
  make[1]: Leaving directory `/usr/src/modules/sl-modem'                     
  make: *** [kdist_build] Error 2                                                                         

وقتی هم توی فولدر
sl-modem_2.9.9+e-pre2.orig.tar.gz
میرم و دستور
Make
رو میزنم این خطارو میده:

make -C modem all
make[1]: Entering directory `/home/barbati/Desktop/slmodem/modem'
gcc -Wall -g -O -I. -DCONFIG_DEBUG_MODEM   -o modem_main.o -c modem_main.c
modem_main.c:45:20: error: unistd.h: No such file or directory
modem_main.c:46:20: error: stdlib.h: No such file or directory
modem_main.c:47:19: error: stdio.h: No such file or directory
modem_main.c:48:20: error: string.h: No such file or directory
modem_main.c:49:19: error: errno.h: No such file or directory
modem_main.c:50:21: error: termios.h: No such file or directory
modem_main.c:51:19: error: fcntl.h: No such file or directory
modem_main.c:52:23: error: sys/types.h: No such file or directory
modem_main.c:53:22: error: sys/stat.h: No such file or directory
modem_main.c:54:23: error: sys/ioctl.h: No such file or directory
modem_main.c:55:22: error: sys/mman.h: No such file or directory
modem_main.c:56:19: error: sched.h: No such file or directory
modem_main.c:57:20: error: signal.h: No such file or directory
In file included from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/syslimits.h:7,
                 from /usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:11,
                 from modem_main.c:58:
/usr/lib/gcc/i486-linux-gnu/4.1.2/include/limits.h:122:61: error: limits.h: No such file or directory
modem_main.c:59:17: error: grp.h: No such file or directory
In file included from ./modem.h:49,
                 from modem_main.c:70:
./modem_defs.h:50: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u8’
./modem_defs.h:51: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u16’
./modem_defs.h:52: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘u32’
./modem_defs.h:54: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s8’
./modem_defs.h:55: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s16’
./modem_defs.h:56: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘s32’
In file included from ./modem.h:50,
                 from modem_main.c:70:
./modem_homolog.h:53: error: expected specifier-qualifier-list before ‘u8’
./modem_homolog.h:103: error: expected ‘:’, ‘,’, ‘;’, ‘}’ or ‘__attribute__’ before ‘id’
In file included from ./modem.h:51,
                 from modem_main.c:70:
./modem_dp.h:82: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem_dp.h:83: error: expected declaration specifiers or ‘...’ before ‘u8’
In file included from modem_main.c:70:
./modem.h:136: error: expected specifier-qualifier-list before ‘u16’
./modem.h:172: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:173: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:189: error: expected specifier-qualifier-list before ‘u16’
./modem.h:217: error: expected specifier-qualifier-list before ‘u8’
./modem.h:261: error: field ‘termios’ has incomplete type
./modem.h:314: error: expected specifier-qualifier-list before ‘u8’
./modem.h:335: error: expected specifier-qualifier-list before ‘u32’
./modem.h:337: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:338: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:349: error: expected specifier-qualifier-list before ‘u8’
./modem.h:366: error: expected specifier-qualifier-list before ‘u8’
./modem.h:431: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:432: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:434: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:435: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:437: error: expected declaration specifiers or ‘...’ before ‘u8’
./modem.h:438: error: expected declaration specifiers or ‘...’ before ‘u8’
modem_main.c:96: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘modem_perm’
modem_main.c: In function ‘modemap_start’:
modem_main.c:553: warning: implicit declaration of function ‘ioctl’
modem_main.c:557: warning: implicit declaration of function ‘memset’
modem_main.c:557: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:558: warning: implicit declaration of function ‘write’
modem_main.c: In function ‘mdm_device_read’:
modem_main.c:600: warning: implicit declaration of function ‘read’
modem_main.c: In function ‘mdm_device_setup’:
modem_main.c:614: error: storage size of ‘stbuf’ isn’t known
modem_main.c:616: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:617: warning: implicit declaration of function ‘stat’
modem_main.c:619: warning: implicit declaration of function ‘fprintf’
modem_main.c:619: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:619: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:619: error: (Each undeclared identifier is reported only once
modem_main.c:619: error: for each function it appears in.)
modem_main.c:619: warning: implicit declaration of function ‘strerror’
modem_main.c:619: error: ‘errno’ undeclared (first use in this function)
modem_main.c:619: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:622: warning: implicit declaration of function ‘S_ISCHR’
modem_main.c:623: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:627: warning: implicit declaration of function ‘open’
modem_main.c:627: error: ‘O_RDWR’ undeclared (first use in this function)
modem_main.c:629: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:629: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:633: warning: implicit declaration of function ‘minor’
modem_main.c:614: warning: unused variable ‘stbuf’
modem_main.c: In function ‘mdm_device_release’:
modem_main.c:639: warning: implicit declaration of function ‘close’
modem_main.c: At top level:
modem_main.c:649: error: ‘PATH_MAX’ undeclared here (not in a function)
modem_main.c: In function ‘create_pty’:
modem_main.c:653: error: storage size of ‘termios’ isn’t known
modem_main.c:660: warning: implicit declaration of function ‘getpt’
modem_main.c:661: warning: implicit declaration of function ‘grantpt’
modem_main.c:661: warning: implicit declaration of function ‘unlockpt’
modem_main.c:662: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:662: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:662: error: ‘errno’ undeclared (first use in this function)
modem_main.c:662: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:670: warning: implicit declaration of function ‘tcgetattr’
modem_main.c:672: warning: implicit declaration of function ‘cfmakeraw’
modem_main.c:673: warning: implicit declaration of function ‘cfsetispeed’
modem_main.c:673: error: ‘B115200’ undeclared (first use in this function)
modem_main.c:674: warning: implicit declaration of function ‘cfsetospeed’
modem_main.c:677: warning: implicit declaration of function ‘tcsetattr’
modem_main.c:677: error: ‘TCSANOW’ undeclared (first use in this function)
modem_main.c:679: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:679: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:683: warning: implicit declaration of function ‘fcntl’
modem_main.c:683: error: ‘F_SETFL’ undeclared (first use in this function)
modem_main.c:683: error: ‘O_NONBLOCK’ undeclared (first use in this function)
modem_main.c:685: warning: implicit declaration of function ‘ptsname’
modem_main.c:685: warning: assignment makes pointer from integer without a cast
modem_main.c:693: warning: implicit declaration of function ‘getgrnam’
modem_main.c:693: warning: initialization makes pointer from integer without a cast
modem_main.c:695: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:695: warning: format ‘%s’ expects type ‘char *’, but argument 4 has type ‘int’
modem_main.c:699: warning: implicit declaration of function ‘chown’
modem_main.c:699: error: dereferencing pointer to incomplete type
modem_main.c:701: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:701: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:707: warning: implicit declaration of function ‘chmod’
modem_main.c:707: error: ‘modem_perm’ undeclared (first use in this function)
modem_main.c:709: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:709: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:714: warning: implicit declaration of function ‘unlink’
modem_main.c:715: warning: implicit declaration of function ‘symlink’
modem_main.c:716: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:716: warning: format ‘%s’ expects type ‘char *’, but argument 5 has type ‘int’
modem_main.c:721: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:653: warning: unused variable ‘termios’
modem_main.c: At top level:
modem_main.c:741: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘keep_running’
modem_main.c: In function ‘mark_termination’:
modem_main.c:746: error: ‘keep_running’ undeclared (first use in this function)
modem_main.c: In function ‘modem_run’:
modem_main.c:752: error: storage size of ‘tmo’ isn’t known
modem_main.c:753: error: ‘fd_set’ undeclared (first use in this function)
modem_main.c:753: error: expected ‘;’ before ‘rset’
modem_main.c:754: error: storage size of ‘termios’ isn’t known
modem_main.c:760: error: ‘keep_running’ undeclared (first use in this function)
modem_main.c:767: warning: implicit declaration of function ‘FD_ZERO’
modem_main.c:767: error: ‘rset’ undeclared (first use in this function)
modem_main.c:768: error: ‘eset’ undeclared (first use in this function)
modem_main.c:770: warning: implicit declaration of function ‘FD_SET’
modem_main.c:784: warning: implicit declaration of function ‘select’
modem_main.c:784: error: ‘NULL’ undeclared (first use in this function)
modem_main.c:787: error: ‘errno’ undeclared (first use in this function)
modem_main.c:787: error: ‘EINTR’ undeclared (first use in this function)
modem_main.c:789: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:789: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:789: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:796: warning: implicit declaration of function ‘FD_ISSET’
modem_main.c:807: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:807: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:817: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:817: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:842: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:842: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:851: warning: incompatible implicit declaration of built-in function ‘memset’
modem_main.c:854: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:854: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:858: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:869: warning: implicit declaration of function ‘memcmp’
modem_main.c:881: error: ‘EAGAIN’ undeclared (first use in this function)
modem_main.c:885: error: ‘EIO’ undeclared (first use in this function)
modem_main.c:888: error: ‘HUPCL’ undeclared (first use in this function)
modem_main.c:893: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:905: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:905: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:914: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:754: warning: unused variable ‘termios’
modem_main.c:752: warning: unused variable ‘tmo’
modem_main.c: In function ‘modem_main’:
modem_main.c:932: warning: implicit declaration of function ‘basename’
modem_main.c:932: warning: passing argument 1 of ‘modem_debug_init’ makes pointer from integer without a cast
modem_main.c:936: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:936: error: ‘stderr’ undeclared (first use in this function)
modem_main.c:937: warning: implicit declaration of function ‘exit’
modem_main.c:937: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:945: warning: implicit declaration of function ‘sprintf’
modem_main.c:945: warning: incompatible implicit declaration of built-in function ‘sprintf’
modem_main.c:947: warning: passing argument 2 of ‘modem_create’ makes pointer from integer without a cast
modem_main.c:948: warning: assignment makes pointer from integer without a cast
modem_main.c:954: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:955: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:958: warning: incompatible implicit declaration of built-in function ‘fprintf’
modem_main.c:961: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:965: error: storage size of ‘prm’ isn’t known
modem_main.c:966: warning: implicit declaration of function ‘mlockall’
modem_main.c:966: error: ‘MCL_CURRENT’ undeclared (first use in this function)
modem_main.c:966: error: ‘MCL_FUTURE’ undeclared (first use in this function)
modem_main.c:967: error: ‘errno’ undeclared (first use in this function)
modem_main.c:967: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:969: warning: implicit declaration of function ‘sched_get_priority_max’
modem_main.c:969: error: ‘SCHED_FIFO’ undeclared (first use in this function)
modem_main.c:970: warning: implicit declaration of function ‘sched_setscheduler’
modem_main.c:971: warning: format ‘%s’ expects type ‘char *’, but argument 3 has type ‘int’
modem_main.c:965: warning: unused variable ‘prm’
modem_main.c:976: warning: implicit declaration of function ‘signal’
modem_main.c:976: error: ‘SIGINT’ undeclared (first use in this function)
modem_main.c:977: error: ‘SIGTERM’ undeclared (first use in this function)
modem_main.c:990: warning: implicit declaration of function ‘usleep’
modem_main.c:1003: warning: incompatible implicit declaration of built-in function ‘exit’
modem_main.c:926: warning: unused variable ‘path_name’
make[1]: *** [modem_main.o] Error 1
make[1]: Leaving directory `/home/barbati/Desktop/slmodem/modem'
make: *** [modem] Error 2

آفلاین سید مهدی

  • High Hero Member
  • *
  • ارسال: 2013
  • جنسیت : پسر
  • یک تازه کار !
پاسخ به: نصب مودم
« پاسخ #31 : 23 مهر 1386، 08:34 ب‌ظ »
دکتر جان الان رفتم یکبار دیگه اون فایل modemdata.txt شما رو خوندم. یه کاری کن! اگه مودمت ALSA رو ساپورت کنه که دیگه لازم نیست این همه دردسر بکشی. راحت نصب می شه. اول این رو تست کن که خیالمون راحت بشه که رومی روم یا زنگی زنگ ؟! ;)
اول اون سری کارهایی که برای restore کردن پکیج ها گفتم رو انجام بدین و بعدش بزنید:
sudo apt-get install sl-modem-daemonببینید چی میشه. بعدش که این دستور رو اجرا کردین. دستور زیر رو هم اجرا کنید:
sudo wvdialconf

و خروجی ها رو برامون بزارید.
مردی نبود فتاده را پای زدن
گر دست فتاده ای بگیری مردی !

آفلاین dr_khafan

  • Newbie
  • *
  • ارسال: 15
پاسخ به: نصب مودم
« پاسخ #32 : 23 مهر 1386، 09:11 ب‌ظ »
barbati@IQ:/media/cdrom0$ sudo apt-get install sl-modem-daemon
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libflac++5c2 mysql-common linux-libc-dev libmysqlclient15off libgsm1
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  sl-modem-daemon
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
Need to get 0B/510kB of archives.
After unpacking 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 113907 files and directories currently installed.)
Preparing to replace sl-modem-daemon 2.9.10+2.9.9d+e-pre2-5build1 (using .../sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu1_i386.deb) ...
Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
Unloading modem driver from kernel ... slamr.
Unpacking replacement sl-modem-daemon ...
Setting up sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu1) ...
Allowing use of questionable username.
The user `Slmodemd' already exists as a system user. Exiting.
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.


barbati@IQ:/media/cdrom0$ sudo wvdialconf
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://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.

آفلاین سید مهدی

  • High Hero Member
  • *
  • ارسال: 2013
  • جنسیت : پسر
  • یک تازه کار !
پاسخ به: نصب مودم
« پاسخ #33 : 23 مهر 1386، 11:40 ب‌ظ »
دستور های زیر رو اجرا کن که خیالمون از بابت ALSA راحت بشه:
sudo /etc/init.d/sl-modem-daemon restart
و بعد
sudo wvdialconf
خروجی هم بزار همین جا
مردی نبود فتاده را پای زدن
گر دست فتاده ای بگیری مردی !

آفلاین dr_khafan

  • Newbie
  • *
  • ارسال: 15
پاسخ به: نصب مودم
« پاسخ #34 : 24 مهر 1386، 12:23 ق‌ظ »
barbati@IQ:~$ sudo /etc/init.d/sl-modem-daemon restart
Password:
Shutting down SmartLink Modem driver normally ... no slmodemd daemon running.
Unloading modem driver from kernel ... slamr.
Starting SmartLink Modem driver for: slamr0.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.
barbati@IQ:~$ sudo wvdialconf
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://open.nit.ca/wiki/?WvDial

If you still have problems, send mail to <wvdial-list@lists.nit.ca>.
barbati@IQ:~$


آفلاین سید مهدی

  • High Hero Member
  • *
  • ارسال: 2013
  • جنسیت : پسر
  • یک تازه کار !
پاسخ به: نصب مودم
« پاسخ #35 : 24 مهر 1386، 03:28 ب‌ظ »
خب قطعاً مودم شما رو ALSA پشتیبانی نمی کنه و لازم هست که درایور مودمتون رو خودتون کامپایل کنید. قبل از اینکه بخواهید کامپایل کردن رو شروع کنید لازم هست که یک سری بسته را نصب کنید. اول دستور زیر رو اجرا کنید:
sudo apt-get install build-essential linux-headers-$(uname -r)
فایل های زیر رو دانلود کنید و ببرید تو اوبونتو و به ترتیب زیر نصبشون کنید:


sudo dpkg -i gcc-3.4-base_3.4.4-6ubuntu8_i386.deb
 sudo dpkg -i cpp-3.4_3.4.4-6ubuntu8_i386.deb
 sudo dpkg -i gcc-3.4_3.4.4-6ubuntu8_i386.deb
 sudo dpkg -i g++-3.4-3.4.4-6ubuntu8_i386.deb

(شاید شما ورژن های بالاتر gcc3.4 رو داشته باشید ولی برای کامپایل کردن درایور smartlink نیاز به این ورژن از gcc دارین)
مردی نبود فتاده را پای زدن
گر دست فتاده ای بگیری مردی !

آفلاین dr_khafan

  • Newbie
  • *
  • ارسال: 15
پاسخ به: نصب مودم
« پاسخ #36 : 29 مهر 1386، 12:02 ق‌ظ »
سلام
من خودم شمال بودم ;)
الان که زدم هیچ اروری نداد.الان باید چیکار کنم بعدش؟

آفلاین سید مهدی

  • High Hero Member
  • *
  • ارسال: 2013
  • جنسیت : پسر
  • یک تازه کار !
پاسخ به: نصب مودم
« پاسخ #37 : 29 مهر 1386، 12:52 ق‌ظ »
خب به سلامتی  Grin
حالا دستور های زیر رو اجرا کنید:

sudo module-assistant auto-install sl-modem

و بعد:


sudo depmod -a

بعدش:


sudo modprobe slamr

و


sudo /etc/init.d/sl-modem-daemon restart

بعدش خروجی دستور زیر رو ببین چیه


sudo wvdialconf
مردی نبود فتاده را پای زدن
گر دست فتاده ای بگیری مردی !

آفلاین dr_khafan

  • Newbie
  • *
  • ارسال: 15
پاسخ به: نصب مودم
« پاسخ #38 : 29 مهر 1386، 12:57 ق‌ظ »
 Installation of the sl-modem-source source failed.                 ↑                                           
                                           │                                                                    ▮                                           
                                           │ Ignoring this package. Maybe you need to add something to          ▒                                           
                                           │ sources.list, maybe the contrib and non-free archives.             ▒                                           
                                           │                                                             





barbati@IQ:~$ sudo module-assistant auto-install sl-modem
Password:

Updated infos about 1 packages
Getting source for kernel version: 2.6.20-15-generic
Kernel headers available in /lib/modules/2.6.20-15-generic/build
Creating symlink...
apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

Done!
download
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Recommended packages:
  kernel-package
The following NEW packages will be installed:
  sl-modem-source
0 upgraded, 1 newly installed, 0 to remove and 10 not upgraded.
Need to get 218kB of archives.
After unpacking 274kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  sl-modem-source
Err http://archive.ubuntu.com feisty/multiverse sl-modem-source 2.9.10+2.9.9d+e-pre2-5ubuntu1
  Could not resolve 'archive.ubuntu.com'
Failed to fetch http://archive.ubuntu.com/ubuntu/pool/multiverse/s/sl-modem/sl-modem-source_2.9.10+2.9.9d+e-pre2-5ubuntu1_i386.deb  Could not resolve 'archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Updated infos about 1 packages
barbati@IQ:~$ sudo depmod -a
barbati@IQ:~$ sudo modprobe slamr
FATAL: Module slamr not found.
barbati@IQ:~$


آفلاین dr_khafan

  • Newbie
  • *
  • ارسال: 15
پاسخ به: نصب مودم
« پاسخ #39 : 29 مهر 1386، 01:15 ق‌ظ »
فایل sl-modem-source_2.9.10+2.9.9d+e-pre2-5ubuntu1_i386.deb رو  نصب کردم حالا این بیغامو داد:
 Build of the package sl-modem-source failed! How do you       │                                             
                                              │ wish to proceed?                                              │                                             
                                              │                                                               │                                             
                                              │       VIEW     Examine the build log file                     │                                             
                                              │       CONTINUE Skip and continue with the next operation      │                                             
                                              │       STOP     Stop processing the build commands             │                                             
                                              │                                                               │                                             
                                              │                                                               │                                             
                                              │                                                               │                                             
                                              │                                                               │                                             
                                              │                <Ok>                    <Cancel>               │                                             
                                              │                                                               │                                             
                                              └─────────────
barbati@IQ:~$ sudo module-assistant auto-install sl-modem
Password:

Updated infos about 1 packages
Getting source for kernel version: 2.6.20-15-generic
Kernel headers available in /lib/modules/2.6.20-15-generic/build
apt-get install build-essential
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 10 not upgraded.

Done!
unpack
Extracting the package tarball, /usr/src/sl-modem.tar.bz2, please wait...
"/usr/share/modass/packages/default.sh" build KVERS=2.6.20-15-generic KSRC=/lib/modules/2.6.20-15-generic/build KDREV=2.6.20-15.27 kdist_image
barbati@IQ:~$