野宮です. 連投で申し訳ありません. leap 42.3 を入れたサブ機では、今一つの問題が生じています. つまり、小生、openSUSE 12.1 以来、OCN の USB modem を使用していますが、 新サブ機でも使おうと設定をしています.ノートのメモと旧サブ機を参考にし て設定しましたが、どうしてもネットに繋ぐことが出しません. つまり、旧サブ機ですと、kppp を起動しますと、 2018-09-12T11:37:09.674462+09:00 linux-idg6 pppd[3044]: pppd 2.4.5 started by masaru, uid 1000 2018-09-12T11:37:09.677748+09:00 linux-idg6 pppd[3044]: Using interface ppp0 2018-09-12T11:37:09.677791+09:00 linux-idg6 pppd[3044]: Connect: ppp0 <--> /dev/ttyUSB2 2018-09-12T11:37:09.694875+09:00 linux-idg6 pppd[3044]: CHAP authentication succeeded 2018-09-12T11:37:09.694919+09:00 linux-idg6 pppd[3044]: CHAP authentication succeeded 2018-09-12T11:37:12.550416+09:00 linux-idg6 pppd[3044]: Could not determine remote IP address: defaulting to 10.64.64.64 2018-09-12T11:37:12.550479+09:00 linux-idg6 pppd[3044]: not replacing default route to eth0 [192.168.10.1] 2018-09-12T11:37:12.553574+09:00 linux-idg6 pppd[3044]: local IP address 180.41.83.89 2018-09-12T11:37:12.553616+09:00 linux-idg6 pppd[3044]: remote IP address 10.64.64.64 2018-09-12T11:37:12.553631+09:00 linux-idg6 pppd[3044]: primary DNS address 221.184.25.1 2018-09-12T11:37:12.553772+09:00 linux-idg6 pppd[3044]: secondary DNS address 222.146.35.1 2018-09-12T11:37:12.837880+09:00 linux-idg6 SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... 2018-09-12T11:37:12.847118+09:00 linux-idg6 SuSEfirewall2: using default zone 'ext' for interface ppp0 2018-09-12T11:37:12.851840+09:00 linux-idg6 SuSEfirewall2: using default zone 'ext' for interface wlan0 2018-09-12T11:37:13.013073+09:00 linux-idg6 SuSEfirewall2: Firewall rules successfully set 2018-09-12T11:37:13.015389+09:00 linux-idg6 pppd[3044]: Script /etc/ppp/ip-up finished (pid 3058), status = 0x0 2018-09-12T11:38:17.992552+09:00 linux-idg6 pppd[3044]: Terminating on signal 15 2018-09-12T11:38:17.992626+09:00 linux-idg6 pppd[3044]: Connect time 1.1 minutes. 2018-09-12T11:38:17.993571+09:00 linux-idg6 pppd[3044]: Sent 0 bytes, received 0 bytes. 2018-09-12T11:38:17.999255+09:00 linux-idg6 pppd[3044]: Connection terminated. 2018-09-12T11:38:18.003243+09:00 linux-idg6 avahi-daemon[1411]: Withdrawing workstation service for ppp0. と、なるのですが、新サブ機では、kppp を機動しますと、 Opener: received SetSecret Opener: received OpenLock Opener: received OpenDevice Opener: received ExecPPPDaemon In parent: pppd pid 4513 Couldn't find interface ppp0: そのようなデバイスはありません Kernel supports ppp alright. Opener: received OpenResolv failed to read from /etc/ppp/resolv.conf Opener: received RemoveSecret Opener: received RemoveSecret Opener: received KillPPPDaemon In killpppd(): Sending SIGTERM to 4513 Opener: received RemoveSecret Opener: received RemoveSecret Opener: received OpenResolv Opener: received OpenResolv Opener: received RemoveLock It was pppd that died pppd exited with return value 5 Sending 4502 a SIGUSR1 と、 Couldn't find interface ppp0: そのようなデバイスはありません というメッセージが現れ、これがネット接続の妨げになっていると考えていま す.が、解決法が解りません. 因みに、USB modem に設定は、/var/log にある usb_modeswitch_1-1、即ち、 USB_ModeSwitch log from Wed Sep 12 12:40:10 JST 2018 Use global config file: /etc/usb_modeswitch.conf Raw args from udev: /1-1 Use top device dir /sys/bus/usb/devices/1-1 Check class of first interface ... Interface class is 08. ---------------- USB values from sysfs: manufacturer ZTE,Incorporated product ZTE WCDMA Technologies MSM serial P673C1NTTD000000 ---------------- bNumConfigurations is 1 - don't check for active configuration ConfigList: /usr/share/usb_modeswitch/19d2:0103 /usr/share/usb_modeswitch/19d2:#linux SCSI attributes not needed, move on Check config: /usr/share/usb_modeswitch/19d2:0103 ! matched. Read config data Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1 Unbinding driver Command to be run: usb_modeswitch -W -D -u -1 -b 1 -g 8 -v 19d2 -p 0103 -f $flags(config) Verbose debug output of usb_modeswitch and libusb follows (Note that some USB errors are to be expected in the process) -------------------------------- Read long config from command line * usb_modeswitch: handle USB devices with multiple modes * Version 2.2.5 (C) Josua Dietze 2015 * Based on libusb1/libusbx ! PLEASE REPORT NEW CONFIGURATIONS ! DefaultVendor= 0x19d2 DefaultProduct= 0x0103 TargetVendor= 0x19d2 TargetProduct= 0x0031 StandardEject=1 NeedResponse=0 System integration mode enabled Use given bus/device number: 001/008 ... Look for default devices ... bus/device number matched found USB ID 19d2:0103 vendor ID matched product ID matched Found devices in default mode (1) Use interface number 0 Use endpoints 0x01 (out) and 0x81 (in) USB description data (for identification) ------------------------- Manufacturer: ZTE,Incorporated Product: ZTE WCDMA Technologies MSM Serial No.: P673C1NTTD000000 ------------------------- Sending standard EJECT sequence Looking for active driver ... No active driver found. Detached before or never attached Set up interface 0 Use endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... OK, message successfully sent Read the response to message 1 (CSW) ... Response successfully read (13 bytes). Trying to send message 2 to endpoint 0x01 ... OK, message successfully sent Read the response to message 2 (CSW) ... Response successfully read (13 bytes). Reset response endpoint 0x81 Reset message endpoint 0x01 ok:busdev -------------------------------- (end of usb_modeswitch output) Check success of mode switch for max. 20 seconds ... Wait for device file system (1 sec.) ... Read attributes ... Attributes are different but target values are unexpected: 1-1:1.0/bInterfaceClass: ff bConfigurationValue: 1 bNumConfigurations: 1 busnum: 1 devnum: 9 idProduct: 0016 idVendor: 19d2 manufacturer: ZTE,Incorporated product: ZTE WCDMA Technologies MSM serial: Mode switching was successful, found 19d2:0016 (ZTE,Incorporated: ZTE WCDMA Technologies MSM) Logger is /usr/bin/logger Now check for bound driver ... driver has bound, device is known Check for AVOID_RESET_QUIRK kernel attribute AVOID_RESET_QUIRK activated All done, exit を観る限り、問題ないと思えるのですが.... Couldn't find interface ppp0: そのようなデバイスはありません という問題の解決法をお教え戴きたく、宜しくお願いします. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ 「私たちが今日直面している化学物質の危険性に関する疑問に対し、通常の 科学的な正確さをもって答えようとすれば、たぶんさらに数十年を要するで あろう。」 -- J. V. Rodricks -- -- To unsubscribe, e-mail: opensuse-ja+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ja+owner@opensuse.org
武山です 古い ZTE の 3G モデムがあったので挿してみました crw-rw---- 1 root dialout 188, 2 9月 12 23:47 /dev/ttyUSB2 なんとなくですが、権限が不足しているということは無いでしょうか? kppd を使うアカウントは dialout グループに属していますか? On 12/09/2018 15:09, 野宮 賢 / NOMIYA Masaru wrote:
野宮です.
連投で申し訳ありません.
leap 42.3 を入れたサブ機では、今一つの問題が生じています.
つまり、小生、openSUSE 12.1 以来、OCN の USB modem を使用していますが、 新サブ機でも使おうと設定をしています.ノートのメモと旧サブ機を参考にし て設定しましたが、どうしてもネットに繋ぐことが出しません.
つまり、旧サブ機ですと、kppp を起動しますと、
2018-09-12T11:37:09.674462+09:00 linux-idg6 pppd[3044]: pppd 2.4.5 started by masaru, uid 1000 2018-09-12T11:37:09.677748+09:00 linux-idg6 pppd[3044]: Using interface ppp0 2018-09-12T11:37:09.677791+09:00 linux-idg6 pppd[3044]: Connect: ppp0 <--> /dev/ttyUSB2 2018-09-12T11:37:09.694875+09:00 linux-idg6 pppd[3044]: CHAP authentication succeeded 2018-09-12T11:37:09.694919+09:00 linux-idg6 pppd[3044]: CHAP authentication succeeded 2018-09-12T11:37:12.550416+09:00 linux-idg6 pppd[3044]: Could not determine remote IP address: defaulting to 10.64.64.64 2018-09-12T11:37:12.550479+09:00 linux-idg6 pppd[3044]: not replacing default route to eth0 [192.168.10.1] 2018-09-12T11:37:12.553574+09:00 linux-idg6 pppd[3044]: local IP address 180.41.83.89 2018-09-12T11:37:12.553616+09:00 linux-idg6 pppd[3044]: remote IP address 10.64.64.64 2018-09-12T11:37:12.553631+09:00 linux-idg6 pppd[3044]: primary DNS address 221.184.25.1 2018-09-12T11:37:12.553772+09:00 linux-idg6 pppd[3044]: secondary DNS address 222.146.35.1 2018-09-12T11:37:12.837880+09:00 linux-idg6 SuSEfirewall2: Setting up rules from /etc/sysconfig/SuSEfirewall2 ... 2018-09-12T11:37:12.847118+09:00 linux-idg6 SuSEfirewall2: using default zone 'ext' for interface ppp0 2018-09-12T11:37:12.851840+09:00 linux-idg6 SuSEfirewall2: using default zone 'ext' for interface wlan0 2018-09-12T11:37:13.013073+09:00 linux-idg6 SuSEfirewall2: Firewall rules successfully set 2018-09-12T11:37:13.015389+09:00 linux-idg6 pppd[3044]: Script /etc/ppp/ip-up finished (pid 3058), status = 0x0 2018-09-12T11:38:17.992552+09:00 linux-idg6 pppd[3044]: Terminating on signal 15 2018-09-12T11:38:17.992626+09:00 linux-idg6 pppd[3044]: Connect time 1.1 minutes. 2018-09-12T11:38:17.993571+09:00 linux-idg6 pppd[3044]: Sent 0 bytes, received 0 bytes. 2018-09-12T11:38:17.999255+09:00 linux-idg6 pppd[3044]: Connection terminated. 2018-09-12T11:38:18.003243+09:00 linux-idg6 avahi-daemon[1411]: Withdrawing workstation service for ppp0.
と、なるのですが、新サブ機では、kppp を機動しますと、
Opener: received SetSecret Opener: received OpenLock
Opener: received OpenDevice Opener: received ExecPPPDaemon In parent: pppd pid 4513 Couldn't find interface ppp0: そのようなデバイスはありません Kernel supports ppp alright. Opener: received OpenResolv failed to read from /etc/ppp/resolv.conf Opener: received RemoveSecret Opener: received RemoveSecret Opener: received KillPPPDaemon In killpppd(): Sending SIGTERM to 4513 Opener: received RemoveSecret Opener: received RemoveSecret Opener: received OpenResolv Opener: received OpenResolv Opener: received RemoveLock It was pppd that died pppd exited with return value 5 Sending 4502 a SIGUSR1
と、
Couldn't find interface ppp0: そのようなデバイスはありません
というメッセージが現れ、これがネット接続の妨げになっていると考えていま す.が、解決法が解りません.
因みに、USB modem に設定は、/var/log にある usb_modeswitch_1-1、即ち、
USB_ModeSwitch log from Wed Sep 12 12:40:10 JST 2018
Use global config file: /etc/usb_modeswitch.conf Raw args from udev: /1-1
Use top device dir /sys/bus/usb/devices/1-1 Check class of first interface ... Interface class is 08.
---------------- USB values from sysfs: manufacturer ZTE,Incorporated product ZTE WCDMA Technologies MSM serial P673C1NTTD000000 ---------------- bNumConfigurations is 1 - don't check for active configuration ConfigList: /usr/share/usb_modeswitch/19d2:0103 /usr/share/usb_modeswitch/19d2:#linux SCSI attributes not needed, move on Check config: /usr/share/usb_modeswitch/19d2:0103 ! matched. Read config data Driver module is "option", ID path is /sys/bus/usb-serial/drivers/option1
Unbinding driver Command to be run: usb_modeswitch -W -D -u -1 -b 1 -g 8 -v 19d2 -p 0103 -f $flags(config)
Verbose debug output of usb_modeswitch and libusb follows (Note that some USB errors are to be expected in the process) --------------------------------
Read long config from command line
* usb_modeswitch: handle USB devices with multiple modes * Version 2.2.5 (C) Josua Dietze 2015 * Based on libusb1/libusbx
! PLEASE REPORT NEW CONFIGURATIONS !
DefaultVendor= 0x19d2 DefaultProduct= 0x0103 TargetVendor= 0x19d2 TargetProduct= 0x0031
StandardEject=1 NeedResponse=0 System integration mode enabled
Use given bus/device number: 001/008 ... Look for default devices ... bus/device number matched found USB ID 19d2:0103 vendor ID matched product ID matched Found devices in default mode (1) Use interface number 0 Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification) ------------------------- Manufacturer: ZTE,Incorporated Product: ZTE WCDMA Technologies MSM Serial No.: P673C1NTTD000000 ------------------------- Sending standard EJECT sequence Looking for active driver ... No active driver found. Detached before or never attached Set up interface 0 Use endpoint 0x01 for message sending ... Trying to send message 1 to endpoint 0x01 ... OK, message successfully sent Read the response to message 1 (CSW) ... Response successfully read (13 bytes). Trying to send message 2 to endpoint 0x01 ... OK, message successfully sent Read the response to message 2 (CSW) ... Response successfully read (13 bytes). Reset response endpoint 0x81 Reset message endpoint 0x01 ok:busdev -------------------------------- (end of usb_modeswitch output)
Check success of mode switch for max. 20 seconds ... Wait for device file system (1 sec.) ... Read attributes ... Attributes are different but target values are unexpected: 1-1:1.0/bInterfaceClass: ff bConfigurationValue: 1 bNumConfigurations: 1 busnum: 1 devnum: 9 idProduct: 0016 idVendor: 19d2 manufacturer: ZTE,Incorporated product: ZTE WCDMA Technologies MSM serial: Mode switching was successful, found 19d2:0016 (ZTE,Incorporated: ZTE WCDMA Technologies MSM) Logger is /usr/bin/logger Now check for bound driver ... driver has bound, device is known Check for AVOID_RESET_QUIRK kernel attribute AVOID_RESET_QUIRK activated
All done, exit
を観る限り、問題ないと思えるのですが....
Couldn't find interface ppp0: そのようなデバイスはありません
という問題の解決法をお教え戴きたく、宜しくお願いします.
--- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ 「私たちが今日直面している化学物質の危険性に関する疑問に対し、通常の 科学的な正確さをもって答えようとすれば、たぶんさらに数十年を要するで あろう。」 -- J. V. Rodricks --
-- To unsubscribe, e-mail: opensuse-ja+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ja+owner@opensuse.org
野宮です.
これには、ハマりました.
In the Message;
Subject : [opensuse-ja] USB モデム使用時に、 ppp0 が見つからない (was: Re: インターネットに繋がらない)
Message-ID : <2dffc148-0f9b-56b7-cb4d-ee188f0a35a1@gmail.com>
Date & Time: Wed, 12 Sep 2018 23:54:02 +0900
Fuminobu TAKEYAMA
武山です
古い ZTE の 3G モデムがあったので挿してみました
crw-rw---- 1 root dialout 188, 2 9月 12 23:47 /dev/ttyUSB2
なんとなくですが、権限が不足しているということは無いでしょうか? kppd を使うアカウントは dialout グループに属していますか?
はい、何れも問題ありません. 42.2 の再インストールを初め、色々試行錯誤しましたが、結果だけ記します. 1. usb_modeswitch.conf にデヴァイス情報を追記する.(古いファイルの使 い回しはしない) 2. resolve.conf に USB Modem の IPアドレスを追記する 以上です. 因みに、ppp0 が見つからないというメッセージは、気にしなくて良いことに やっと気付きました. ともあれ、アドヴァイスを有難うございます. --- ┏━━┓彡 野宮 賢 mail-to: nomiya @ galaxy.dti.ne.jp ┃\/彡 ┗━━┛ 「合理主義なるものを,自然または人間に関する道理に合することをめざ すのであるならば,われわれも異存はない.しかし,人間の感情,情緒や 意欲,欲望などを無視し,それと対立するもの,すなわち西洋哲学で言う 理性(reason, Vernunft)に合することを意味するのであるならば,それは 人間の真理を逸することになる.」 -- 中村 元 -- -- To unsubscribe, e-mail: opensuse-ja+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-ja+owner@opensuse.org
participants (2)
-
Fuminobu TAKEYAMA
-
野宮 賢 / NOMIYA Masaru