sudo wvdial
sudo wvdialconf /etc/wvdial.conf
sudo pon connection-name
و برای قطع شدن:sudo poff connection-name
sudo apt-get install gnome-ppp
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
^CCaught signal 2: Attempting to exit gracefully...
Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
majid-31@Montazeran:~$ wvdialconf /etc/wvdial.conf
Editing `/etc/wvdial.conf'.
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
ttySHSF0<*1>: ATQ0 V1 E1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 Z -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySHSF0<*1>: Modem Identifier: ATI -- 56000
ttySHSF0<*1>: Speed 4800: AT -- OK
ttySHSF0<*1>: Speed 9600: AT -- OK
ttySHSF0<*1>: Speed 19200: AT -- OK
ttySHSF0<*1>: Speed 38400: AT -- OK
ttySHSF0<*1>: Speed 57600: AT -- OK
ttySHSF0<*1>: Speed 115200: AT -- OK
ttySHSF0<*1>: Speed 230400: AT -- OK
ttySHSF0<*1>: Speed 460800: AT -- OK
ttySHSF0<*1>: Max speed is 460800; that should be safe.
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
ttyS1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S2 S3 SHSF1 SHSF2 SHSF3 SHSF4 SHSF5 SHSF6
Modem Port Scan<*1>: SHSF7
Found a modem on /dev/ttySHSF0, using link /dev/modem in config.
Modem configuration written to /etc/wvdial.conf.
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf.tmp10435': Permission denied
/etc/wvdial.conf<Warn>: Can't write '/etc/wvdial.conf' ('/etc/wvdial.conf'): Bad file descriptor
ttySHSF0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
majid-31@Montazeran:~$
/dev/modem
/dev/ttySHSF0
ERROR: only members of the 'dip' group can use this command
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
--> Don't know what to do! Starting pppd and hoping for the best.
--> Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
^CCaught signal 2: Attempting to exit gracefully...
Unable to run /usr/sbin/pppd.
--> Check permissions, or specify a "PPPD Path" option in wvdial.conf.
بنام خدا
سلام دوستان عزیز
هر دو راه رو امتحان کردم اما جواب نداد کانکشن هم ساخته بودم از روش pppconfig که امتحان میکنم بعد از ساختن کانکشن و موقع زدن
دستور sudo pon connection-name بلافاصله این ارور رو بهم میده :کد: [انتخاب]ERROR: only members of the 'dip' group can use this command
چرا دور زدنش توصیه نمیشه؟؟؟
uname -r
ببینید اگر کرنل شما 2.6.27.7 بود این فایلو دانلود کنید http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/slamr-2.6.27-7-generic.tar.gz
اگر کرنل شما 2.6.27.9 بود که تو اطلاعاتی که دادید میگه 2.6.27.9 رو باید دانلود کنید http://linmodems.technion.ac.il/packages/smartlink/Ubuntu/slamr-2.6.27-9-generic.tar.gz
روش نصبش هم داخل فایل هستکرنل من این 2.6.27.9 بود
فایل هم دانلود کردم
دستورات که تو فایل هست میزنم تو ترمینا ال کار نمیده میشه بهم بگیدتو ترمینال اید چی بنویسم
\\:D/ \\:D/ \\:D/
$ tar zxvf slamr*.tar.gzتوجه کنید به جای * باید ادامه فایلو بزنید یعنی این دستور میشه
Move into the unpacked folder
$ cd slamr-2.6.27-9-generic
Look around
$ ls
Run the
$ sudo ./setup
این دستورات رازدم خروجی میگه notfound
خواهشا یکی کمک کنه خودم رو کشتم این مودم نصب نشد :'( :'(
sudo /usr/sbin/slmodemd -c USA /dev/slamr0
http://wiki.ubuntu-ir.org/DialupModemHowto/Smartlink
البته من این روش رو امتحان نکردم و درست نمی دونم چجوریه فقط می دونم با این یکی روش فرق داره!
reza@reza-desktop:~/Desktop/slamr-2.6.27-7-generic/slamr-2.6.27-7-generic$ sudo ./setup
[sudo] password for reza:
installing drivers for kernel version 2.6.27-7-generic
driver=slamr
Installing the Debian packages supporting autoloading
Selecting previously deselected package sl-modem-daemon.
(Reading database ... 169998 files and directories currently installed.)
Unpacking sl-modem-daemon (from sl-modem-daemon_2.9.10+2.9.9d+e-pre2-5ubuntu4_i386.deb) ...
Setting up sl-modem-daemon (2.9.10+2.9.9d+e-pre2-5ubuntu4) ...
Adding system user `Slmodemd' (UID 119) ...
Adding new group `Slmodemd' (GID 131) ...
Adding new user `Slmodemd' (UID 119) with group `Slmodemd' ...
Not creating home directory `/'.
update-rc.d: warning: /etc/init.d/sl-modem-daemon missing LSB style header
FATAL: Module ungrab_winmodem not found.
FATAL: Module slamr not found.
Starting SmartLink Modem driver for: auto.
Creating /dev/modem symlink, pointing to: /dev/ttySL0.
Copying over newer files
Making folder /lib/modules/2.6.27-7-generic/extra
Copying drivers to /lib/modules/2.6.27-7-generic/extra
Checking driver install
slamr.ko ungrab-winmodem.ko
Copying newer slmodemd to /usr/sbin/
Checking slmodemd version. Should be 2.9.11
SmartLink Soft Modem: version 2.9.11 Nov 27 2008 14:36:23
Finished installs.
Informing the System
Starting function tests, loading drivers:
Running diagnostic:
[ 2093.620011] slamr: SmartLink AMRMO modem.
[ 2093.620819] slamr: probe 2000:2800 SL2800 card...
[ 2093.620838] slamr 0000:04:00.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 2093.623565] slamr: slamr0 is SL2800 card.
echo "ports should be created by:"
echo slmodemd -c USA /dev/"slamr"0
echo "slmodemd was compiled with gcc-4.2, because of a compiled failure under the gcc-4.3 used to compile the drivers."
/usr/sbin/slmodemd -c USA /dev/"slamr"0
echo "Checking for success"
if test -L /dev/ttySL0 ; then
echo Running wvdialconf
wvdialconf /etc/wvdial.conf
if [ -f /etc/wvdial.conf ] ; then
echo Modem detection successful
sleep 2
echo "Carrier check = no" >> /etc/wvdial.conf
echo "Read wdial.txt"
echo "Then edit /etc/wvdial.conf with:"
echo "sudo gedit /etc/wvdial.conf"
echo "at the lines beginning with ; and deleting the ; < > "
echo "Then dialout with:"
echo " sudo wvdial"
echo "Running setup again is NOT necessary. Only for dialout the:"
echo " sudo wvdial"
else
echo "wvdialconf failed"
fi
else
echo "Port creation with slmodemd failed."
fi
echo "Read the Slamr.txt record, other *.txt files and the sample wvdial.conf ."
echo
# END
reza@reza-desktop:~/Desktop/slamr-2.6.27-7-generic/slamr-2.6.27-7-generic$
اینم برای اینکه ببینید مودم نصب شده یا نهsudo wvdialconf /etc/wvdial.conf
دوست عزیز یک بار اینو دانلود کن تست کن slamr-2.6.27-7-generic راستی شما اوبونتو 8.10 دارید دیگه ؟
کی اوبونتو رو تهیه کردید سفارش دادید یا اینکه دانلود کردید
آخه کرنل نسخه کی من از اوبونتو دارم 2.6.27.7 هست در صورتی که مال شما 2.6.27.9 ???
Scanning your serial ports for a modem.
Modem Port Scan<*1>: Scanning ttySHSF0 first, /dev/modem is a link to it.
ttySHSF0<*1>: ATQ0 V1 E1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 Z -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 -- OK
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttySHSF0<*1>: Modem Identifier: ATI -- 56000
ttySHSF0<*1>: Speed 4800: AT -- OK
ttySHSF0<*1>: Speed 9600: AT -- OK
ttySHSF0<*1>: Speed 19200: AT -- OK
ttySHSF0<*1>: Speed 38400: AT -- OK
ttySHSF0<*1>: Speed 57600: AT -- OK
ttySHSF0<*1>: Speed 115200: AT -- OK
ttySHSF0<*1>: Speed 230400: AT -- OK
ttySHSF0<*1>: Speed 460800: AT -- OK
ttySHSF0<*1>: Max speed is 460800; that should be safe.
ttySHSF0<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 -- OK
ttyS0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyS0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyS0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
Modem Port Scan<*1>: S1 S2 S3 SHSF1 SHSF2 SHSF3 SHSF4 SHSF5
Modem Port Scan<*1>: SHSF6 SHSF7
Found a modem on /dev/ttySHSF0, using link /dev/modem in config.
Modem configuration written to /etc/wvdial.conf.
ttySHSF0<Info>: Speed 460800; init "ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0"
با تشکر