جناب lomion عزيز.اون درايوري كه شما مي فرماييد براي Conexant HSF هستش نه HCF.خودم اون راهنما رو هم 100 دفعه خوندم.در ضمن فكر مي كنيد درايور HSF روي HCF كار كنه؟بله ! کار می کنه ;)
بله ! کار می کنه ;)مودم من رو كه نشناخت.بايد براي درگاه چه چيزي رو بايد وارد كرد؟(منظورم ttys0 و اين چيزهاست)
wvdialconf
ahmed@ahmed-desktop:~$ wvdialconf
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.
Modem Port Scan<*1>: SHSF0
WvModem<*1>: Cannot set information for serial port.
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
Modem Port Scan<*1>: SHSF5 SHSF6 SHSF7
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>.
معلومه كه نشناخته. :( حالا من بايد چكار كنم؟ ??? ](*,) >:(
اول دستور sudo hsfconfig رو اجرا کنید، بعد دوباره دستور wvdialconf رو اجرا کنید و ببینید که تونسته مودم رو پیدا کنه یا نه هنوز ؟نتيجه:(البته به صورت صحيح تر نتيجه بي نتيجه)
ahmed@ahmed-desktop:~$ sudo hsfconfig
Conexant HSF softmodem driver, version 7.68.00.06tst1oem
If you need assistance or more information, please go to:
http://www.linuxant.com/
When reporting a problem for the first time, please send
us the file generated by "hsfconfig --dumpdiag".
Warning: existing driver modules found under:
/lib/modules/2.6.22-14-generic/
Would you like to keep using them? [no] no
No pre-built modules for: Ubuntu-7.10 linux-2.6.22-14-generic i686-SMP
Trying to automatically build the driver modules...
(this requires a C compiler and proper kernel sources to be installed)
Where is the linux source build directory that matches your running kernel?
[/lib/modules/2.6.22-14-generic/build]
Building modules for kernel 2.6.22-14-generic, using source directory
/lib/modules/2.6.22-14-generic/build. Please wait...
done.
Warning: no device detected by hsf driver - HDA modems may require reboot
Note: HDA support not compiled in the driver
Note: kernel module snd-via82xx-modem overridden by hsfmc97via
Note: kernel module snd-intel8x0m overridden by hsfmc97ich hsfmc97sis
Note: kernel module snd-atiixp-modem overridden by hsfmc97ati
ahmed@ahmed-desktop:~$ wvdialconf
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.
Modem Port Scan<*1>: SHSF0
WvModem<*1>: Cannot set information for serial port.
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
Modem Port Scan<*1>: SHSF5 SHSF6 SHSF7
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>.
نشناخته،مگه نه؟ ](*,)بالاخره تونستم در اوبونتو به اینترنت وصل بشم! \\:D/ \\:D/ حالا هم دارم از اوبونتو این تایک رو ارسال می کنم.با دستور wvdial.اما دستور pon ahmed کار نکرد(تمام تنظیماتش رو انجام دادم) خب چرا؟ :-k
ahmed@ahmed-desktop:~$ wvdial
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot set information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: AT S11=50
WvDial Modem<*1>: AT S11=50
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT9713222
WvDial Modem<*1>: CONNECT 460800
WvDial Modem<*1>: User Access Verification
WvDial Modem<*1>: Username:
WvDial<*1>: Carrier detected. Waiting for prompt.
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: 5nano1914
WvDial Modem<*1>: 5nano1914
WvDial Modem<*1>: Password:
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: % Authentication failed.
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: 5nano1914
WvDial Modem<*1>: 5nano1914
WvDial Modem<*1>: Password:
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: % Authentication failed.
WvDial<Err>: Connected, but carrier signal lost! Retrying...
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: NO CARRIER
WvDial Modem<*1>: ATDT9713222
WvDial<Warn>: No Carrier! Trying again.
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: OK
WvDial Modem<*1>: ATDT9713222
WvDial Modem<*1>: BUSY
WvDial<Warn>: The line is busy. Trying again.
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT9713222
WvDial Modem<*1>: CONNECT 460800
WvDial Modem<*1>: User Access Verification
WvDial Modem<*1>: Username:
WvDial<*1>: Carrier detected. Waiting for prompt.
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: 5nano1914
WvDial<Notice>: Don't know what to do! Starting pppd and hoping for the best.
WvDial<Notice>: Starting pppd at Mon Mar 17 09:51:11 2008
WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial<Err>: --> PAP (Password Authentication Protocol) may be flaky.
WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial<Err>: --> CHAP (Challenge Handshake) may be flaky.
WvDial<Notice>: Pid of pppd: 5540
WvDial<*1>: Using interface ppp0
WvDial<*1>: pppd: �蝝6][08]�蝝6][08]ؙ[06][08]
WvDial<*1>: pppd: �蝝6][08]�蝝6][08]ؙ[06][08]
WvDial<*1>: pppd: �蝝6][08]�蝝6][08]ؙ[06][08]
WvDial<*1>: pppd: �蝝6][08]�蝝6][08]ؙ[06][08]
WvDial<*1>: pppd: �蝝6][08]�蝝6][08]ؙ[06][08]
WvDial<*1>: pppd: �蝝6][08]�蝝6][08]ؙ[06][08]
WvDial<*1>: Disconnecting at Mon Mar 17 09:51:13 2008
WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16)
WvDial<*1>: man pppd explains pppd error codes in more detail.
WvDial<Notice>: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
WvDial<Notice>: Auto Reconnect will be attempted in 5 seconds
WvModem<*1>: Cannot set information for serial port.
WvDial<*1>: Initializing modem.
sudo gedit /etc/wvdial.conf
بعد ۲تا خط زیر رو داخلش وارد کنید و تغییرات ذخیره کنید و بزنید که دوباره وصل بشه. اگر باز هم وصل نشد، خروجیش رو برامون بزارین:carrier check = no
stupid mode = yes
ahmed@ahmed-desktop:~$ wvdial
WvDial<*1>: WvDial: Internet dialer version 1.56
WvModem<*1>: Cannot set information for serial port.
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: AT S11=50
WvDial Modem<*1>: AT S11=50
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT9713222
WvDial Modem<*1>: CONNECT 460800
WvDial Modem<*1>: User Access Verification
WvDial Modem<*1>: Username:
WvDial<*1>: Carrier detected. Waiting for prompt.
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: 10rk3174pn
WvDial Modem<*1>: 10rk3174pn
WvDial Modem<*1>: Password:
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: % Authentication failed.
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: 10rk3174pn
WvDial Modem<*1>: 10rk3174pn
WvDial Modem<*1>: Password:
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: % Authentication failed.
WvDial<Err>: Connected, but carrier signal lost! Retrying...
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: NO CARRIER
WvDial Modem<*1>: ATDT9713222
WvDial<Warn>: No Carrier! Trying again.
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: OK
WvDial Modem<*1>: ATDT9713222
WvDial Modem<*1>: BUSY
WvDial<Warn>: The line is busy. Trying again.
WvDial<*1>: Sending: ATDT9713222
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT9713222
WvDial Modem<*1>: CONNECT 460800
WvDial Modem<*1>: User Access Verification
WvDial Modem<*1>: Username:
WvDial<*1>: Carrier detected. Waiting for prompt.
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: 10rk3174pn
WvDial<Notice>: Don't know what to do! Starting pppd and hoping for the best.
WvDial<Notice>: Starting pppd at Sat Mar 22 15:32:13 2008
WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial<Err>: --> PAP (Password Authentication Protocol) may be flaky.
WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial<Err>: --> CHAP (Challenge Handshake) may be flaky.
WvDial<Notice>: Pid of pppd: 5792
WvDial<*1>: Using interface ppp0
WvDial<*1>: Disconnecting at Sat Mar 22 15:32:15 2008
WvDial<*1>: The PPP daemon has died: Authentication error.
WvDial<*1>: We failed to authenticate ourselves to the peer.
WvDial<*1>: Maybe bad account or password? (exit code = 19)
WvDial<*1>: man pppd explains pppd error codes in more detail.
WvDial<Notice>: I guess that's it for now, exiting
WvDial<Notice>: The PPP daemon has died. (exit code = 19)
من اتفاقا برعکس شما.سیدمهدی جان کجایی ....... ::)احمد جان ببخشید، عیده و دیگه دید و بازدید و گرفتاری ;)
[Dialer Defaults]
Modem = /dev/ttySHSF0
Baud = 460800
Init = ATZ
Init2 = AT S11=50
Phone = 9713222
Username = 10rk3174pn
Password = 8652914493
carrier check = no
stupid mode = yes
[Dialer phone2]
Phone = 9713221
[Dialer shh]
Init3 = ATM0
[Dialer pulse]
Dial Command = ATDP
نه بابا.من از اون آدما نیستم.هر کی دلش خواست از یوزر و پسورد من استفاده کنه و کسی که این کار رو بکنه،هیچ بویی از آدمیت نبرده است!و اصلا اوبونتویی نیست! :Pمن اتفاقا برعکس شما.سیدمهدی جان کجایی ....... ::)احمد جان ببخشید، عیده و دیگه دید و بازدید و گرفتاری ;)
احمد جان اون تغییراتی که گفتم در داخل wvdial.conf اعمال کنید رو انجام دادین ؟ خروجی نشون میده که اعمال نکردین (منظور وارد کردن عبارات carrier check = no و stupid mode = yes در داخل فایل wvdial.conf هست). اگر مطمئن هستید که اعمال کردین، محتوای فایل wvdial.conf رو برامون بزارین (اگر مایل بودین، قسمت password رو تغییر بدین ;) )
[Dialer Defaults]
Init1 = ATZ
Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
stupid mode = yes
Modem Type = Analog Modem
ISDN = 0
New PPPD = yes
Phone = 9713222
Modem = /dev/ttySHSF0
Username = 10rk3174pn
carrier check = no
Password = 8652914493
Baud = 460800
ahmed@ahmed-desktop:~$ wvdial
WvDial<*1>: WvDial: Internet dialer version 1.56
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
WvDial<*1>: Modem initialized.
WvDial<*1>: Sending: ATDT9713220
WvDial<*1>: Waiting for carrier.
WvDial Modem<*1>: ATDT9713220
WvDial Modem<*1>: CONNECT 460800
WvDial<*1>: Carrier detected. Waiting for prompt.
WvDial Modem<*1>: User Access Verification
WvDial Modem<*1>: Username:
WvDial<*1>: Looks like a login prompt.
WvDial<*1>: Sending: d22h6p4b
WvDial Modem<*1>: d22h6p4b
WvDial Modem<*1>: Password:
WvDial<*1>: Looks like a password prompt.
WvDial<*1>: Sending: (password)
WvDial Modem<*1>: Authentication Successful.
WvDial Modem<*1>: Router>
WvDial<*1>: Hmm... a prompt. Sending "ppp".
WvDial Modem<*1>: ppp
WvDial Modem<*1>: Entering PPP mode.
WvDial Modem<*1>: Async interface address is unnumbered (FastEthernet0)
WvDial Modem<*1>: Your IP address is 217.219.221.237. MTU is 1500 bytes
WvDial Modem<*1>: Header compression is on.
WvDial<*1>: Looks like a welcome message.
WvDial<Notice>: Starting pppd at Thu Mar 27 18:15:47 2008
WvDial<Err>: Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
WvDial<Err>: --> PAP (Password Authentication Protocol) may be flaky.
WvDial<Err>: Warning: Could not modify /etc/ppp/chap-secrets: Permission denied
WvDial<Err>: --> CHAP (Challenge Handshake) may be flaky.
WvDial<Notice>: Pid of pppd: 2910
WvDial<*1>: Using interface ppp0
WvDial<*1>: pppd: �[06][08]`�[06][08]
WvDial<*1>: pppd: �[06][08]`�[06][08]
WvDial<*1>: pppd: �[06][08]`�[06][08]
WvDial<*1>: pppd: �[06][08]`�[06][08]
WvDial<*1>: pppd: �[06][08]`�[06][08]
WvDial<*1>: pppd: �[06][08]`�[06][08]
WvDial<*1>: Disconnecting at Thu Mar 27 18:15:49 2008
WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16)
WvDial<*1>: man pppd explains pppd error codes in more detail.
WvDial<Notice>: Try again and look into /var/log/messages and the wvdial and pppd man pages for more information.
WvDial<Notice>: Auto Reconnect will be attempted in 5 seconds
WvDial<*1>: Initializing modem.
WvDial<*1>: Sending: ATZ
WvDial Modem<*1>: ATZ
WvDial Modem<*1>: OK
WvDial<*1>: Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
WvDial Modem<*1>: OK
کد: [انتخاب]WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16)
نقلقولکد: [انتخاب]WvDial<*1>: The PPP daemon has died: A modem hung up the phone (exit code = 16)
هنوز معلوم نیست چرا این ارور بی دلیل داده می شه ! با یک ISP این ارور داده نمی شه ولی با یک ISP دیگه داده می شه. ولی حتی اگه wvdial این ارور رو بده (یا حتی exit code 2 و همچنین exit code 18) شما باز می تونید با استفاده از برنامه pppconfig از همون اشتراک اینترنت که دارین استفاده کنید و به سادگی به اینترنت وصل شید. برای همین هست که به دوستان توصیه می کنم که حتیالمقدور از gnomeppp و wvdial استفاده نکنن و از pppconfig استفاده کنن.
plog
[left]
/etc/resolv.conf is missing or can't be read!
Ask your system administrator to create this file (can be empty) with appropriate read and write permissions.[/left]]
[left]
The pppd daemon died unexpectedly!
Exit status: 1
See 'man pppd' for an explanation of the error codes or take a look at the kppp FAQ on http://developer.kde.org/~kppp/index.html[/left]
[left]hady@hady-desktop:~$ kppp
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
ScimInputContextPlugin()
~ScimInputContextPlugin()
hady@hady-desktop:~$[/left]
با سلامسلام. از ارور اول مشخصه که باید این دستورات رو اجرا کنید:
...
لطفا برای برطرف کردن این مشکل مرا راهنمایی کنید؟
sudo touch /etc/resolv.conf
sudo chmod a+w /etc/resolv.conf
راه سادهتری هم هست ;) :با سلامسلام. از ارور اول مشخصه که باید این دستورات رو اجرا کنید:
...
لطفا برای برطرف کردن این مشکل مرا راهنمایی کنید؟کد: [انتخاب]sudo touch /etc/resolv.conf
sudo chmod a+w /etc/resolv.conf
echo "nameserver 4.2.2.4" | sudo tee /etc/resolv.conf
اگر در مورد DNS اطلاعی دارین، بهتره بدونید که این فایل حاوی آدرس DNS Server ای هست که کانکشنهای اینترنتتون باید ازش استفاده کنن.free -m
hady@hady-desktop:~$ free -m
total used free shared buffers cached
Mem: 1011 359 652 0 19 207
-/+ buffers/cache: 132 879
Swap: 26623 0 26623
hady@hady-desktop:~$
با سلام۱- شما قادر نیستید که روی پارتیشن swap چیزی بنویسید یا تغییری توش ایجاد کنید.
باتشکر از شما دستوراتی که فرمودید رو اجراء کردم. اما فایده ایی نداشت. فقط ارور اولی دیگر نمیاد. دستور free -m هم اجراء کردم نتیجه اش این شدکد: [انتخاب]
hady@hady-desktop:~$ free -m
total used free shared buffers cached
Mem: 1011 359 652 0 19 207
-/+ buffers/cache: 132 879
Swap: 26623 0 26623
hady@hady-desktop:~$
البته باید اضافه کنم به درایو swap دسترسی ندارم. نمی دونم چه بلایی سرش اومده.
در آخر می خواستم بپرسم نوع هارد می تواند در شناسایی یا مونت کردن پارتیشن ها تاپیر داشته باشد یا نه.
مدل هارد من 160 ساتا مکستور 2 مگ بافر MAXTOR STM3160211AS هست.
با تشکر.
ahmed@ahmed-desktop:~$ plog
Mar 28 19:25:48 ahmed-desktop pppd[5699]: pppd 2.4.4 started by ahmed, uid 1000
Mar 28 19:25:48 ahmed-desktop pppd[5699]: Using interface ppp0
Mar 28 19:25:48 ahmed-desktop pppd[5699]: Connect: ppp0 <--> /dev/ttySHSF0
Mar 28 19:25:49 ahmed-desktop pppd[5699]: Remote message: Password:
Mar 28 19:25:49 ahmed-desktop pppd[5699]: PAP authentication failed
Mar 28 19:25:49 ahmed-desktop pppd[5699]: Connection terminated.
Mar 28 19:25:49 ahmed-desktop pppd[5699]: Exit.
ahmed@ahmed-desktop:~$ pon ahmed
ahmed@ahmed-desktop:~$ plog
Mar 30 21:35:13 ahmed-desktop chat[13365]: ATZ^M^M
Mar 30 21:35:13 ahmed-desktop chat[13365]: OK
Mar 30 21:35:13 ahmed-desktop chat[13365]: -- got it
Mar 30 21:35:13 ahmed-desktop chat[13365]: send (ATDTreplace_with_number9713222^M)
Mar 30 21:35:13 ahmed-desktop chat[13365]: expect (CONNECT)
Mar 30 21:35:13 ahmed-desktop chat[13365]: ^M
Mar 30 21:35:58 ahmed-desktop chat[13365]: alarm
Mar 30 21:35:58 ahmed-desktop chat[13365]: Failed
Mar 30 21:35:58 ahmed-desktop pppd[13326]: Connect script failed
Mar 30 21:35:59 ahmed-desktop pppd[13326]: Exit.
شما در برنامه pppconfig وقتی که داشتید اطلاعات اشتراک اینترنتتون رو وارد می کردین، در قسمتی که شماره تلفن رو وارد می کنید، لازم هست که اون عبارتی رو که اونجا نوشته رو اول پاک کنید و بعد شماره تلفن رو وارد کنید، ولی شما شماره تلفن رو دقیقاً جلو همون عبارت replace_with_number نوشتید ! ;) اون عبارت رو پاک کنید و به جاش شماره تلفن رو بنویسید و دوباره امتحان کنید.خیلی عجیبه.من حتی replace with user name و پسورد رو هم پاک نکرده بودم!!من گاهی اوقات قاطی می کنم!!