特殊:Badtitle/NS100:DialupModemHowto/Setserial
文章出处: |
{{#if: | {{{2}}} | https://help.ubuntu.com/community/DialupModemHowto/Setserial }} |
点击翻译: |
English {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/af | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Afrikaans| [[::DialupModemHowto/Setserial/af|Afrikaans]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ar | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|العربية| [[::DialupModemHowto/Setserial/ar|العربية]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/az | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|azərbaycanca| [[::DialupModemHowto/Setserial/az|azərbaycanca]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/bcc | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|جهلسری بلوچی| [[::DialupModemHowto/Setserial/bcc|جهلسری بلوچی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/bg | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|български| [[::DialupModemHowto/Setserial/bg|български]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/br | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|brezhoneg| [[::DialupModemHowto/Setserial/br|brezhoneg]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ca | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|català| [[::DialupModemHowto/Setserial/ca|català]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/cs | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|čeština| [[::DialupModemHowto/Setserial/cs|čeština]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/de | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Deutsch| [[::DialupModemHowto/Setserial/de|Deutsch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/el | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Ελληνικά| [[::DialupModemHowto/Setserial/el|Ελληνικά]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/es | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|español| [[::DialupModemHowto/Setserial/es|español]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/fa | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|فارسی| [[::DialupModemHowto/Setserial/fa|فارسی]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/fi | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|suomi| [[::DialupModemHowto/Setserial/fi|suomi]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/fr | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|français| [[::DialupModemHowto/Setserial/fr|français]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/gu | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|ગુજરાતી| [[::DialupModemHowto/Setserial/gu|ગુજરાતી]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/he | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|עברית| [[::DialupModemHowto/Setserial/he|עברית]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/hu | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|magyar| [[::DialupModemHowto/Setserial/hu|magyar]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/id | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Bahasa Indonesia| [[::DialupModemHowto/Setserial/id|Bahasa Indonesia]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/it | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|italiano| [[::DialupModemHowto/Setserial/it|italiano]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ja | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|日本語| [[::DialupModemHowto/Setserial/ja|日本語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ko | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|한국어| [[::DialupModemHowto/Setserial/ko|한국어]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ksh | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Ripoarisch| [[::DialupModemHowto/Setserial/ksh|Ripoarisch]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/mr | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|मराठी| [[::DialupModemHowto/Setserial/mr|मराठी]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ms | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Bahasa Melayu| [[::DialupModemHowto/Setserial/ms|Bahasa Melayu]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/nl | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Nederlands| [[::DialupModemHowto/Setserial/nl|Nederlands]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/no | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|norsk| [[::DialupModemHowto/Setserial/no|norsk]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/oc | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|occitan| [[::DialupModemHowto/Setserial/oc|occitan]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/pl | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|polski| [[::DialupModemHowto/Setserial/pl|polski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/pt | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|português| [[::DialupModemHowto/Setserial/pt|português]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ro | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|română| [[::DialupModemHowto/Setserial/ro|română]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/ru | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|русский| [[::DialupModemHowto/Setserial/ru|русский]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/si | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|සිංහල| [[::DialupModemHowto/Setserial/si|සිංහල]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/sq | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|shqip| [[::DialupModemHowto/Setserial/sq|shqip]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/sr | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|српски / srpski| [[::DialupModemHowto/Setserial/sr|српски / srpski]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/sv | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|svenska| [[::DialupModemHowto/Setserial/sv|svenska]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/th | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|ไทย| [[::DialupModemHowto/Setserial/th|ไทย]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/tr | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Türkçe| [[::DialupModemHowto/Setserial/tr|Türkçe]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/vi | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|Tiếng Việt| [[::DialupModemHowto/Setserial/vi|Tiếng Việt]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/yue | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|粵語| [[::DialupModemHowto/Setserial/yue|粵語]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/zh | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|中文| [[::DialupModemHowto/Setserial/zh|中文]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/zh-hans | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|中文(简体)| [[::DialupModemHowto/Setserial/zh-hans|中文(简体)]]}}|}} {{#ifexist: {{#if: UbuntuHelp:DialupModemHowto/Setserial | UbuntuHelp:DialupModemHowto/Setserial | {{#if: | :}}DialupModemHowto/Setserial}}/zh-hant | • {{#if: UbuntuHelp:DialupModemHowto/Setserial|中文(繁體)| [[::DialupModemHowto/Setserial/zh-hant|中文(繁體)]]}}|}} |
{{#ifeq:UbuntuHelp:DialupModemHowto/Setserial|:DialupModemHowto/Setserial|请不要直接编辑翻译本页,本页将定期与来源同步。}} |
{{#ifexist: :DialupModemHowto/Setserial/zh | | {{#ifexist: DialupModemHowto/Setserial/zh | | {{#ifeq: {{#titleparts:DialupModemHowto/Setserial|1|-1|}} | zh | | }} }} }} {{#ifeq: {{#titleparts:DialupModemHowto/Setserial|1|-1|}} | zh | | }}
Setserial sets and/or reports the configuration information associated with a serial port. This information includes what I/O port and which IRQ a particular serial port is using. This version has a completely new approach to configuration, so if you have a setup other than the standard ttyS0 and 1, you will have to get your hands dirty. By default, only ttyS0-ttyS3 (COM1-4 in DOS/Windows terminology) are configured by the kernel, using IRQ 3 and 4. If you have other serial ports (such as an AST Fourport card), or if you have mapped the IRQs differently (perhaps COM3 and 4 to other IRQs to allow concurrent access with COM1 and 2) then you must have this package.
USB
For USB, instead of setserial, the usb-storage and/or usbserial modules must be loaded, whether manually or by HAL is up to you and/or your system.
# modprobe usb-storage # modprobe usbserial $ sleep 6 # the modem may take a while to initialize $ ls /dev/ttyUSB*
You should see three renditions of ttyUSB. If not, we will get to that later. This is a "Quick Start" after all, no? The ports:
ttyUSB0 - The modem ttyUSB1 - USB? ttyUSB2 - Nothing
So, you can use Modem = /dev/ttyUSB0 in your wvdial.conf file (there is a problem if you are use the Ubuntu Live CD: you cannot save, and so use, the modified file, because CD-ROMs are read-only media). See DialupModemHowto/Huawei
Options
seserial with -g option help to find out what physical serial ports your Linux box has.
Programs
Once serial ports identified you can configure Linux box using various utilities:
- wvdial or other GUI dial up networking program - a PPP dialer with built-in intelligence, installed in Ubuntu.
- minicom -the best friendly serial communication program for controlling modems and connecting to dump devices.
- getty / agetty - agetty opens a tty port, prompts for a login name and invokes the /bin/login command.
- grub configuration - To configure serial port as the system console.