Portál AbcLinuxu, 15. července 2025 09:59
Jun 22 16:52:53 teepee pppd[32503]: pppd 2.4.2 started by root, uid 0
Jun 22 16:52:53 teepee chat[32504]: timeout set to 10 seconds
Jun 22 16:52:53 teepee chat[32504]: abort on (BUSY)
Jun 22 16:52:53 teepee chat[32504]: abort on (NO CARRIER)
Jun 22 16:52:53 teepee chat[32504]: abort on (VOICE)
Jun 22 16:52:53 teepee chat[32504]: abort on (NO DIALTONE)
Jun 22 16:52:53 teepee chat[32504]: send (^MATZ^M)
Jun 22 16:52:53 teepee chat[32504]: expect (OK)
Jun 22 16:52:53 teepee chat[32504]: ^MATZ^M^M
Jun 22 16:52:53 teepee chat[32504]: ERROR^M
Když spustím minicom, na všechny příkazy modem hlásí ERROR. Nevím, zda-li jsem jej při těch pokusech s Gentoo skripty nějak nepřenastavil, jak jej zresetuji do továrního nastavení?
teepee ~ # wvdialconf /etc/wvdial.conf Scanning your serial ports for a modem. Port Scan<*1>: S0 S1 ttyS2<*1>: ATQ0 V1 E1 -- ERROR ttyS2<*1>: failed with 2400 baud, next try: 9600 baud ttyS2<*1>: ATQ0 V1 E1 -- ERROR ttyS2<*1>: failed with 9600 baud, next try: 115200 baud ttyS2<*1>: ATQ0 V1 E1 -- ERROR ttyS2<*1>: and failed too at 115200, giving up. Port Scan<*1>: S3 S4 S5 S6 S7 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/wvdial/ If you still have problems, send mail to wvdial-list@lists.nit.ca.
Stiskn8te CTRL-A Z pro nßpov8du o klßvesßch se zvlß+tnŘm v˛znamem OK AT S7=45 S0=0 L1 V1 X4 &c1 E1 Q0 ERROR ERROR ERROR ERROR ERROR ERROR ERROR AT+CPIN? ERROR ATX1 OK AT+CPIN? ERROR
Jun 22 17:15:48 teepee cardmgr[17622]: socket 0: Serial or Modem Jun 22 17:15:48 teepee ttyS2 at I/O 0x3e8 (irq = 3) is a 16550A Jun 22 17:15:48 teepee udev[882]: removing device node '/dev/tts/2' Jun 22 17:15:48 teepee udev[910]: configured rule in '/etc/udev/rules.d/50-udev.rules[143]' applied, added symlink '%k' Jun 22 17:15:48 teepee udev[910]: configured rule in '/etc/udev/rules.d/50-udev.rules[143]' applied, 'ttyS2' becomes 'tts/%n' Jun 22 17:15:48 teepee udev[910]: creating device node '/dev/tts/2'Neee...
$ cat > ~/.gammurc <<EOT [gammu] device = /dev/tts/2 connection = at115200 EOT $ gammu --identify
$ gammu --identifyRC vytvoren dle navodu...
$ gammu textall --identify
teepee ~ # cat .gammurc [gammu] device = /dev/ttyS2 connection = at115200 teepee ~ # gammu textall --identify [Gammu - 1.01.00 built 17:33:01 Jun 22 2005 in gcc 3.3] [Connection - "at115200"] [Model type - ""] [Device - "/dev/ttyS1"] [Run on - Linux, kernel 2.6.11-gentoo-r9] [System error - tcgetattr in serial_open, 5, "Chyba vstupu/výstupu"] [ERROR 12: Error during reading device.] Error during reading device.
sed -i 's/device/port/' ~/.gammurc
teepee ~ # gammu textall --identify [Gammu - 1.01.00 built 17:33:01 Jun 22 2005 in gcc 3.3] [Connection - "at115200"] [Model type - ""] [Device - "/dev/ttyS2"] [Run on - Linux, kernel 2.6.11-gentoo-r9] Setting speed to 115200 [Module - "auto"] Escaping SMS mode SENDING frame type 0x00/length 0x02/2 1B |0D .. Sending simple AT command to wake up some devices SENDING frame type 0x00/length 0x03/3 41A|54T|0D AT. 1 "AT" 2 "OK" RECEIVED frame type 0x00/length 0x09/9 41A|54T|0D |0D |0A |4FO|4BK|0D |0A AT...OK.. Enabling echo SENDING frame type 0x00/length 0x05/5 41A|54T|45E|311|0D ATE1. 1 "ATE1" 2 "ERROR" RECEIVED frame type 0x00/length 0x0E/14 41A|54T|45E|311|0D |0D |0A |45E|52R|52R|4FO|52R|0D |0A ATE1...ERROR.. [ERROR 27: Unknown error.] Neznamá chyba. [Closing]
AT+CPIN?
AT+CFUN=1,1jinak to na
AT+CPIN=xxx
a jine hlasilo vzdy ERROR
.
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.