سلام سلام سلام
من هم یه دنیای متن باز ها اومدم.
من یک هفته ایی هست که ابونتو 10.04 رو روی pc در کنار windows xp نصب کردم.
ولی برخی از مشکلات ابونتو دوره واقعا دیوونه ام میکنه.یک هفته دنبال مشکل نصب مودمش بودم هنوزم که هنوزه نتونستم مشکلشو حل کنم.باورتون نمیشی بیش از 100 بار تو این یک هفته هی رفتم به ویندوز هی رفتم به ابونتو .
اول میرفتم تو ویندوز و درباره مشکل مودم تو اینترنت سرچ میکردم و بعد میومدم تو ابونتو تا ببینم راه حل جواب میده یا نه هر کاری کردم نشد تا اینکه مجبور شدم یه پیام اینجا بزارم تا شما کمکم کنید.خوب من میگم چیکار کردم و چه به چه مشکلاتی بر خوردم:
اولین و مهم ترین مشکل من که خواهش میکنم اینو حداقل حل کنید در استفاده از terminal است :
ببینید مثلا من یه دستور میدم(مثلا: sudo pppconfig ) به شکل زیر:
[code]
Hamed@Softkade:~$ sudo pppconfig
و بعد از من پسورد میخواد.به شکل زیر:
Hamed@Softkade:~$ sudo pppconfig
[sudo] password for Hamed:
ببینید مشکل من دقیقا اینجاست.توضیح میدم خوب دقت کنید.
وقتی پیام میاد که پسورد رو وارد کن من تایپ می کنم ولی چیزی تایپ نمیشه(هر کاری کردم نشد) بعد فهمیدم حتما بعد این پیام باید Enter رو بزنی.خوب منEnter رو میزنم وقتی زدم شروع به تایپ میکنم ولی سیستم بدونه اینکه به تایپ من توجه کنه خودش دستور بعد رو میده.دستور بعد به این شکله:
Hamed@Softkade:~$ sudo pppconfig
[sudo] password for Hamed:
h243Sorry, try again.
[sudo] password for Hamed:
اون h243 پسوردییه که من داشم تایپ میکردم (والبته نه به طور کامل.)که پسورد رو تایپ نکرده پیام بالا اومد.خوب من تصمیم گرفتم بعد از زدن Enter سریع پسورد رو تایپ کنم و موفق هم شدم ولی بازم بدون اینکه به پسوردی که دادم توجه کنه پیام بالا رو میده .بالای 20 بار این کار رو کردم ولی نشد.(و این رو هم میدونم که وقتی که از root میخوای این دستور رو اجرا کنی این پیام میاد)
خوب حالا سوال من اینجاست که چطور این مشکل رو حل کنم .و یا راهی هست که این پیام دیگه نیاد و بدون اینکه از من پسورد بخواد دستور ها رو اجرا کنه؟(سرچ هم کردم چیزی پیدا نشد)من فقط میخوام بدونم چطور باید این پیام رو حذف کرد همین.؟؟؟؟؟؟؟؟؟؟؟؟
خوب من اول این سوال رو پرسیدم چون وقتی میخوام تنضیمات مودم و نصب درایور رو انجام بدم هم این پیام میاد.شاید با حل شدن این مشکل ,مشکل نصب مودم هم حل بشه,پس خواهشن هر کاری میکنید فقط جوابمو بدید.؟؟؟؟؟؟؟؟؟!!!!!!!!!!!!!!!!
خوب اگر به این سوال جواب دادید حالا مشکل بعد:
من scanmodem رو اجرا کردم خوب اطلاعات ModemData.txt من این است:
Only plain text email is forwarded by the Discuss@Linmodems.org List Server,
as HTML can contain viruses. Use as the email Subject Line:
YourName, YourCountry kernel 2.6.32-21-generic
With this Subject Line cogent experts will be alerted, and useful case names left in the Archive.
YourCountry will enable Country specific guidance. Linux experts in YourCountry
can be found through: http://www.linux.org/groups/index.html.
They will know your Country's modem code, which may be essential for dialup service.
Responses from Discuss@Linmodems.org are sometimes blocked by an Internet Provider mail filters.
So in a day, also check the Archived responses at http://www.linmodems.org
-------------------------- System information ----------------------------
CPU=i686, Ubuntu , ALSA_version=1.0.21
Linux version 2.6.32-21-generic (buildd@rothera) (gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) ) #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
scanModem update of: 2010_05_29
Distrib_ID=Ubuntu
DistribCodeName=lucid
AptRepositoryStem=http://ir.archive.ubuntu.com/ubuntu/
Presently install your Linux Distributions dkms package. It provides for automated driver updates,
following upgrade of your kernel. For details see http://linux.dell.com/projects.shtml#dkms
There are no blacklisted modem drivers in /etc/modprobe* files
Potentially useful modem drivers now loaded are:
If a USB modem or cellphone is attached and was not detected, please
provide available information in your request to discuss@linmodems.org
Candidate PCI devices with modem chips are:
00:0b.0 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem (rev 01)
High Definition Audio cards can host modem chips.
For candidate card in slot 00:0b.0, firmware information and bootup diagnostics are:
PCI slot PCI ID SubsystemID Name
---------- --------- --------- --------------
00:0b.0 14f1:2f00 14f1:2004 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem
Modem interrupt assignment and sharing:
11: 173 XT-PIC-XT ehci_hcd:usb1, uhci_hcd:usb3, uhci_hcd:usb4, VIA8233
--- Bootup diagnostics for card in PCI slot 00:0b.0 ----
[ 0.085103] pci 0000:00:0b.0: reg 10 32bit mmio: [0xdfff0000-0xdfffffff]
[ 0.085113] pci 0000:00:0b.0: reg 14 io port: [0xec00-0xec07]
[ 0.085162] pci 0000:00:0b.0: PME# supported from D3hot D3cold
[ 0.085171] pci 0000:00:0b.0: PME# disabled
The PCI slot 00:0b.0 of the modem card may be disabled early in
a bootup process, but then enabled later. If modem drivers load
but the modem is not responsive, read DOCs/Bootup.txt about possible fixes.
Send dmesg.txt along with ModemData.txt to discuss@linmodems.org
if help is needed.
=== Finished firmware and bootup diagnostics, next deducing cogent software. ===
Predictive diagnostics for card in bus 00:0b.0:
Modem chipset detected on
NAME="Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem "
CLASS=0780
PCIDEV=14f1:2f00
SUBSYS=14f1:2004
IRQ=11
IDENT=hsfmodem
Driver=hsfmodem-drivers
For candidate modem in: 00:0b.0
0780 Communication controller: Conexant Systems, Inc. HSF 56k HSFi Modem
Primary device ID: 14f1:2f00
Support type needed or chipset: hsfmodem
For owners of a Dell PCs with Conexant HSF modems, a driver source package with full speed enabled is available, but requires driver compiling. Read DOCs/Conexant.txt
For all code packages from Linuxant.com, either a driver set matching the boot kernel will be installed,
or the drivers will first be compiled and then installed. The expert on modem software for Linux is
"Support (Jonathan)" <modem.support@linuxant.com>
From http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php
download hsfmodem-7.80.02.06full_k2.6.32_21_generic_ubuntu_i386.deb.zip
Under Linux unpack with:
$ unzip hsfmodem*.zip
Then install with:
$ sudo dpkg -i hsfmodem*.deb
Subsequently, the modem should be found with
$ sudo wvdialconf /etc/wvdial.conf
Edit in your personal information with:
$ sudo gedit /etc/wvdial.conf
and try dialing out with:
$ sudo wvdial.
See DOCs/Testing.txt for details.
The directions following below need only be pursued, if the above procedures are not adequate.
Start at http://www.linuxant.com/drivers/hsf/downloads-license.php to find the
hsfmodem package matching your System. For several Linux distros, there are
precompiled drivers matched to specific kernels. These have within the FileName,
your KernelVersion: 2.6.32_21_generic
They can be found through http://www.linuxant.com/drivers/hsf/full/downloads.php
A more precise location may be given a few paragraphs below.
If an EXACT Match with your your KernelVersion is not found, the needed drivers
will be auto compiled anyway. Alternatively, one of the
"Generic packages with source" near the bottom of the page must be used.
Downloaded packages must be moved into the Linux partition (home folder is OK)
and unzipped with:
unzip hsf*.zip
The installation command for a .deb suffic packages is, with root/adm permission:
sudo dpkg -i hsf*.deb
while for .rpm suffix it is, with:
rpm -i hsf*.rpm
Read DOCs/Conexant.txt
Writing DOCs/Conexant.txt
Completed candidate modem analyses.
The base of the UDEV device file system is: /dev/.udev
Versions adequately match for the compiler installed: 4.4.3
and the compiler used in kernel assembly: 4.4.3
The patch utility is needed for compiling ALSA drivers, and possibly others.
Minimal compiling resources appear complete:
make utility - /usr/bin/make
Compiler version 4.4
linuc_headers base folder /lib/modules/2.6.32-21-generic/build
However some compilations and executable functions may need additional files,
in the FileNames.h (so called kernel "h"eaders) collection installed in /usr/include/ .
For martian_modem, additional required packages are needed. The also required headers of package libc6 are commonly installed by default.
Compiling hsfmodem drivers does require linux-libc-dev and libc6-dev packages, for kernels 2.6.24 and later versions.
In not included on your install CD, search for them at http://packages.ubuntu.com
or comparable Repository for other Linux distros.
When compiling ALSA drivers, the utility "patch" will also be needed.
If a driver compilation fails, with message including some lack of some FileName.h (stdio.h for example), then
Some additional kernel-header files need installation to /usr/include. The minimal additional packages are libc6-dev
and any of its dependents, under Ubuntu linux-libc-dev
If an alternate ethernet connection is available,
$ apt-get update
$ apt-get -s install linux-kernel-devel
will install needed packages.
For Debian/Ubuntu related distributions, run the following command to display the needed package list:
Otherwise packages have to be found through http://packages.ubuntu.com
Once downloaded and transferred into a Linux partition,
they can be installed alltogether with:
$ sudo dpkg -i *.deb
Checking settings of: /etc/ppp/options
asyncmap 0
noauth
crtscts
lock
hide-password
modem
proxyarp
lcp-echo-interval 30
lcp-echo-failure 4
noipx
In case of a message like:
Warning: Could not modify /etc/ppp/pap-secrets: Permission denied
see http://linmodems.technion.ac.il/bigarch/archive-sixth/msg04656.html
For guidance on FAX usage, get from http://linmodems.technion.ac.il/packages/ get faxing.tar.gz
It has samples for a modem using port /dev/ttySL0, which must be changed to match your modem's port.
Read Modem/DOCs/YourSystem.txt concerning other COMM channels: eth0
Which can interfere with Browser naviagation.
Don't worry about the following, it is for experts should trouble shooting be necessary.
==========================================================
Checking for modem support lines:
--------------------------------------
/device/modem symbolic link:
slmodemd created symbolic link /dev/ttySL0:
Within /etc/udev/ files:
Within /etc/modprobe.conf files:
/etc/modprobe.d/alsa-base.conf:options snd-atiixp-modem index=-2
/etc/modprobe.d/alsa-base.conf:options snd-via82xx-modem index=-2
/etc/modprobe.d/blacklist-modem.conf:# Uncomment these entries in order to blacklist unwanted modem drivers
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-atiixp-modem
/etc/modprobe.d/blacklist-modem.conf:# blacklist snd-via82xx-modem
Within any ancient /etc/devfs files:
Within ancient kernel 2.4.n /etc/module.conf files:
--------- end modem support lines --------
من از این اطلاعات فهمیدم که باید فایل hsfmodem-7.80.02.06full_k2.6.32_21_generic_ubuntu_i386.deb.zip رو از
http://www.linuxant.com/drivers/hsf/full/downloads-ubuntu-x86.php دانلود کنم .و چون وقتی به این صفحه روفتن فایلی با ورژن k2.6.32_21 وجود نداشت من k2.6.31_17 رو گرفتم(سوال :این کار من اشکالی نداره؟؟) .خوب این تموم .حالا رفتم تو ابونتو تا دستوراتی که در فایل ModemData که به شکل زیر هست رو اجرا کنم:
Under Linux unpack with:
$ unzip hsfmodem*.zip
Then install with:
$ sudo dpkg -i hsfmodem*.deb
Subsequently, the modem should be found with
$ sudo wvdialconf /etc/wvdial.conf
Edit in your personal information with:
$ sudo gedit /etc/wvdial.conf
and try dialing out with:
$ sudo wvdial.
که من اول ادرس فایل مورد نظر رو که تو دسکتاپ بود دادم و بعد دستور اول رو اجرا کردم یعنی این:
Under Linux unpack with:
$ unzip hsfmodem*.zip
خوب این دستور به درستی اجرا شد ومن فایل رو unzip کردم ولی وقتی به دستور دوم رسیدم چون از root باید اجرا میشد دوباره با مشکل اول یعنی درخواست پسورد مواجه شدم که نتونستم کاری بکنم و بی خیال شدم تا اینکه این پست رو دادم.
حال اول مشکل اول منو حل کنید(ممنون میشم)؟ و دوم اینکه میخوام بدونم کار هایی که برای نصب مودم میخواستم انجام بدم (که نشد) درسته یا نه ؟اگه نه , بگید درستش چه راهی هست.
جوابو اگه میتونید به ایمیل hamedkhandar[at]gmail[dot]com بفرستید یه اینکه همین جا جواب بدید .خیلی ممنونم.
-----------------------------------------------------
با هزاران تشکر از دوستان متن باز ایرانی که واقعا دارن تلاش خودشونو در حد عالی برای انتشار فرهنگ متن باز و برنامه نویسی به این شکل رو به کار بستن.[/code]