Jump to content

FAlVik

Members
  • Content Count

    9
  • Joined

  • Last visited

    Never
  1. БОЛЬШОЕ СПАСИБО тупость была в том что я записал DNS по формату задокументированному в файле, теперь все покатило. пишу из линукса теперь буду биться чтоб запускать не из root и не из терминала
  2. там пусто. я не ставил и он ничего не пишет. пробовал поставить DNS1=10.6.6.6,DNS2=83.149.19.126 и DNS1=83.149.19.126, DNS2=83.149.22.14. (это я взял из выше приведенного и из винды) Результат тотже. может я не правильным форматом это записывал? и вообще откуда взать имена и адреса? разве это не определяется автоматически, как в винде?
  3. СДЕЛАЛ КАК СДЕСЬ http://www.redhat-club.org/Wiki/Networking/Technologies/GPRS /Configuration?highlight=%28Wiki/Networking/Technologies%29 СОЕДИНЕНИЕ ПРОХОДИТ, НА ТЕЛЕФОНЕ ТЕПЕРЬ ЗАГОРАЕТСЯ "Е" (EDGE), НО БРАУЗЕР НИЧЕГО НЕ ВИДИТ (IPv6 отключил, как описано на том же сайте) ВОТ ИСТОРИЯ: [root@localhost ~]# wvdial bluetooth --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Sending: AT+CGDCONT=1,"IP","internet" AT+CGDCONT=1,"IP","internet" OK --> Modem initialized. --> Sending: ATDT*99# --> Waiting for carrier. ATDT*99# CONNECT ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ --> Carrier detected. Starting PPP immediately. --> Starting pppd at Wed Feb 4 22:23:26 2009 --> Pid of pppd: 4494 --> pppd: HNi я┐╜Mi XNi --> Using interface ppp0 --> pppd: HNi я┐╜Mi XNi ... --> pppd: HNi я┐╜Mi XNi --> Authentication (PAP) started --> pppd: HNi я┐╜Mi XNi --> Authentication (PAP) successful --> pppd: HNi я┐╜Mi XNi ... --> pppd: HNi я┐╜Mi XNi --> local IP address 10.227.207.240 --> pppd: HNi я┐╜Mi XNi --> remote IP address 10.6.6.6 --> pppd: HNi я┐╜Mi XNi --> primary DNS address 83.149.19.126 --> pppd: HNi я┐╜Mi XNi --> secondary DNS address 83.149.22.14 --> pppd: HNi я┐╜Mi XNi --> pppd: HNi я┐╜Mi XNi --> Script /etc/ppp/ip-up run successful --> Default route Ok. --> warning, no nameserver found `/etc/resolv.conf` --> Nameserver (DNS) failure, the connection may not work. --> Connected... Press Ctrl-C to disconnect --> pppd: HNi я┐╜Mi XNi ^CCaught signal 2: Attempting to exit gracefully... --> Terminating on signal 15 --> pppd: HNi я┐╜Mi XNi --> Connect time 1.8 minutes. --> pppd: HNi я┐╜Mi XNi --> pppd: HNi я┐╜Mi XNi --> Script /etc/ppp/ip-down started --> pppd: HNi я┐╜Mi XNi --> Terminate Request (Message: "User request" ) --> pppd: HNi я┐╜Mi XNi ... --> pppd: HNi я┐╜Mi XNi --> Disconnecting at Wed Feb 4 22:25:20 2009 [root@localhost ~]# wvdial megafon --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZ ATZ OK --> Sending: ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0 OK --> Sending: AT+CGDCONT=1,"IP","internet" AT+CGDCONT=1,"IP","internet" OK --> Modem initialized. --> Sending: ATDT*99***1# --> Waiting for carrier. ATDT*99***1# CONNECT ~[7f]}#@!}!} } }2}#}$@#}!}$}%\}"}&} }*} } g}%~ --> Carrier detected. Starting PPP immediately. --> Starting pppd at Wed Feb 4 22:25:49 2009 --> Pid of pppd: 4617 --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Using interface ppp0 --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] ... --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Authentication (PAP) started --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Authentication (PAP) successful --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] ... --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> local IP address 10.209.179.229 --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> remote IP address 10.6.6.6 --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> primary DNS address 83.149.19.126 --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> secondary DNS address 83.149.22.14 --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Script /etc/ppp/ip-up run successful --> Default route Ok. --> warning, no nameserver found `/etc/resolv.conf` --> Nameserver (DNS) failure, the connection may not work. --> Connected... Press Ctrl-C to disconnect --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] ^CCaught signal 2: Attempting to exit gracefully... --> Terminating on signal 15 --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Connect time 6.8 minutes. --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Script /etc/ppp/ip-down started --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Terminate Request (Message: "User request" ) --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> pppd: Hя┐╜[0e][08]я┐╜я┐╜[0e][08]Xя┐╜[0e][08] --> Disconnecting at Wed Feb 4 22:32:42 2009
  4. и еще при подключении через кррр застревает на pppd
  5. После долгих копаний зашел на телефон через наутилус и смог получить следующее: [root@localhost ~]# kppp kppp(32030) main: helperPid: 32031 kppp(32030) create_pidfile: found kppp.pid containing: 31810 kppp(32030) create_pidfile: pidfile is stale X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x4c0094c kppp(32030) Requester::sendRequest: sendRequest: trying to send msg type 2 kppp(32030) Requester::sendRequest: sendRequest: sent message Opener: received OpenLock kppp(32030) Requester::recvFD: response.status: 0 kppp(32030) Modem::lockdevice: Locking Device: 0000032030 kppp(32030) Modem::opentty: Opening Device: "/dev/rfcomm0" kppp(32030) Requester::sendRequest: sendRequest: trying to send msg type 1 kppp(32030) Requester::sendRequest: sendRequest: sent message Opener: received OpenDevice kppp(32030) Requester::recvFD: response.status: 0 kppp(32030) Modem::startNotifier: QSocketNotifier started! kppp(32030) KPPPWidget::startAccounting: AcctEnabled: false kppp(32030) ConnectWidget::timerEvent: End of script kppp(32030) Modem::stopNotifier: QSocketNotifier stopped! kppp(32030) Modem::startNotifier: QSocketNotifier started! kppp(32030) Modem::stopNotifier: QSocketNotifier stopped! kppp(32030) ConnectWidget::timerEvent: started if timeout timer with 6000 kppp(32030) Requester::sendRequest: sendRequest: trying to send msg type 9 Opener: received ExecPPPDaemon Kernel supports ppp alright. pppd: The remote system is required to authenticate itself pppd: but I couldn't find any suitable secret (password) for it to use to do so. kppp(32030) Requester::sendRequest: sendRequest: sent message kppp(32030) Requester::recvResponse: recvResponse(): waiting for message received unexpected SIGCHLD. In parent: pppd pid 32041 kppp(32030) Requester::recvResponse: recvResponse(): received message kppp(32030) Requester::recvResponse: response.status: 1 kppp(32030) ConnectWidget::timerEvent: execppp() returned with return-code 1 Couldn't find interface ppp0: Нет такого устройства X Error: BadWindow (invalid Window parameter) 3 Major opcode: 20 (X_GetProperty) Resource id: 0x4c012dd Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства Couldn't find interface ppp0: Нет такого устройства kppp(32030) ConnectWidget::if_waiting_timed_out: if_waiting_timed_out() kppp(32030) Requester::sendRequest: sendRequest: trying to send msg type 10 Opener: received KillPPPDaemon In killpppd(): Sending SIGTERM to 32041 kppp(32030) Requester::sendRequest: sendRequest: sent message kppp(32030) Requester::recvResponse: recvResponse(): waiting for message kppp(32030) Requester::recvResponse: recvResponse(): received message kppp(32030) Requester::recvResponse: response.status: 1 [root@localhost ~]# wvdial --> WvDial: Internet dialer version 1.60 --> Cannot get information for serial port. --> Initializing modem. --> Sending: ATZM0L0 ATZM0L0 OK --> Sending: AT+CGDCONT=1,"IP","internet" AT+CGDCONT=1,"IP","internet" OK --> Modem initialized. --> Configuration does not specify a valid login name. --> Configuration does not specify a valid password. возникли вопросы: в kppp что выбирать, pap? chap? и если их выбирать то как у мегафона оставить пустыми логин и пароль? где для wvdial исправить логин и пароль?
  6. Попробовал это http://www.redhat-club.org/Wiki/Network … figuration Вот результат: [root@localhost ~]# grep -i Bluetooth /var/log/dmesg Bluetooth: Core ver 2.11 Bluetooth: HCI device and connection manager initialized Bluetooth: HCI socket layer initialized Bluetooth: HCI USB driver ver 2.9 [root@localhost ~]# hcitool dev Devices: hci0 00:0C:78:32:CA:C7 [root@localhost ~]# hcitool scan Scanning ... 00:19:B7:86:CD:C5 6233 [root@localhost ~]# sdptool browse Inquiring ... Browsing 00:19:B7:86:CD:C5 ... Service Name: Dial-up networking Service RecHandle: 0x10026 Service Class ID List: "Dialup Networking" (0x1103) "Generic Networking" (0x1201) Protocol Descriptor List: "L2CAP" (0x0100) "RFCOMM" (0x0003) Channel: 1 Language Base Attr List: code_ISO639: 0x656e encoding: 0x6a base_offset: 0x100 Profile Descriptor List: "Dialup Networking" (0x1103) Version: 0x0100 Записал в rfcomm0: rfcomm0 { bind yes; device 00:19:B7:86:CD:C5; channel 1; comment "Nokia 6310i"; } Потом по http://www.redhat-club.org/Wiki/Network … figuration [root@localhost ~]# cd /dev [root@localhost /dev]# ln -s ttyUSB0 modem В "/etc/sysconfig/network-scripts/ifcfg-beeline" записал: USERCTL=yes BOOTPROTO=dialup NAME=megafon DEVICE=ppp0 TYPE=Modem ONBOOT=no BSDCOMP=on CCP=off VJCCOMP=off AC=off VJ=on PC=off LINESPEED=115200 MODEMPORT=/dev/rfcomm0 DEMAND=no PROVIDER=megafon DEFROUTE=yes PERSIST=no PAPNAME= WVDIALSECT=megafon MODEMNAME=Modem0 PEERDNS=yes В "/etc/wvdial.conf" [Modem0] Modem = /dev/rfcomm0 Baud = 115200 SetVolume = 0 Dial Command = ATDT Init1 = ATZM0L0 Init2 = AT+CGDCONT=1,"IP","internet" FlowControl = CRTSCTS [Dialer defaults] Phone = *99***1# Password = Username = Stupid Mode = 1 Inherits = Modem0 New PPPD = 1 [Dialer inet0] В "/etc/ppp/pap-secrets" megafon ppp0 megafon В "/etc/ppp/peers/wvdial" noauth name wvdial В "/etc/ppp/options" debug lock modem auth -chap +pap crtscts mtu 552 mru 552 [root@localhost ~]# wvdial --> WvDial: Internet dialer version 1.60 --> Cannot open /dev/rfcomm0: Connection refused --> Cannot open /dev/rfcomm0: Connection refused --> Cannot open /dev/rfcomm0: Connection refused
  7. сделал как в http://ru.gentoo-wiki.com/wiki/Работа_с_мобильными_телефонам и_через_bluetooth результат: [root@localhost ~]# hciconfig hci0: Type: USB BD Address: 00:0C:78:32:CA:C7 ACL MTU: 384:8 SCO MTU: 64:8 UP RUNNING PSCAN RX bytes:973 acl:0 sco:0 events:28 errors:0 TX bytes:611 acl:0 sco:0 commands:27 errors:0 [root@localhost ~]# chmod a+rx /etc/bluetooth/pin [root@localhost ~]# /etc/init.d/bluetooth start ║■║Р║Г╢ч╢т║б║Р╢я╢y╢т╢Ё ╢т║и╢ч║┤║С╢ь Bluetooth: [ OK ] [root@localhost ~]# ps -ae | grep hcid 2746 ? 00:00:00 hcid [root@localhost ~]# ps -ae | grep sdpd [root@localhost ~]# hciconfig hci0: Type: USB BD Address: 00:0C:78:32:CA:C7 ACL MTU: 384:8 SCO MTU: 64:8 UP RUNNING PSCAN RX bytes:2115 acl:0 sco:0 events:47 errors:0 TX bytes:1184 acl:0 sco:0 commands:46 errors:0 [root@localhost ~]# hciconfig -a hci0: Type: USB BD Address: 00:0C:78:32:CA:C7 ACL MTU: 384:8 SCO MTU: 64:8 UP RUNNING PSCAN RX bytes:2115 acl:0 sco:0 events:47 errors:0 TX bytes:1184 acl:0 sco:0 commands:46 errors:0 Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80 Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3 Link policy: RSWITCH HOLD SNIFF PARK Link mode: SLAVE ACCEPT Name: 'aser-4220' Class: 0x08010c Service Classes: Capturing Device Class: Computer, Laptop HCI Ver: 1.2 (0x2) HCI Rev: 0x7a6 LMP Ver: 1.2 (0x2) LMP Subver: 0x7a6 Manufacturer: Cambridge Silicon Radio (10) [root@localhost ~]# hcitool dev Devices: hci0 00:0C:78:32:CA:C7 [root@localhost ~]# hcitool scan Scanning ... 00:19:B7:86:CD:C5 6233 [root@localhost ~]# hcitool inq Inquiring ... 00:19:B7:86:CD:C5 clock offset: 0x7ca4 class: 0x5a0204 [root@localhost ~]# l2ping 00:19:B7:86:CD:C5 Ping: 00:19:B7:86:CD:C5 from 00:0C:78:32:CA:C7 (data size 44) ... 0 bytes from 00:19:B7:86:CD:C5 id 0 time 8.94ms 0 bytes from 00:19:B7:86:CD:C5 id 1 time 25.91ms 0 bytes from 00:19:B7:86:CD:C5 id 2 time 41.94ms . . . 0 bytes from 00:19:B7:86:CD:C5 id 47 time 39.93ms 0 bytes from 00:19:B7:86:CD:C5 id 48 time 28.94ms 0 bytes from 00:19:B7:86:CD:C5 id 49 time 47.93ms Send failed: Connection reset by peer [root@localhost ~]# wvdial --> WvDial: Internet dialer version 1.60 --> Warning: section [Dialer Defaults] does not exist in wvdial.conf. --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory --> Cannot open /dev/modem: No such file or directory [root@localhost ~]# wvdial megafon --> WvDial: Internet dialer version 1.60 --> Cannot open /dev/rfcomm0: Connection refused --> Cannot open /dev/rfcomm0: Connection refused --> Cannot open /dev/rfcomm0: Connection refused
  8. попробовал http://ru.gentoo-wiki.com/wiki/Работа_с … _bluetooth застрял на "emerge openobex" - пишет неизвестная команда еще один вариант пробовал, там телефон запрашивает пин, после ввода "1234", телефон пишет "Ошибка соединения"
  9. Помогите все настроить!!! Дано: Fedora 9, Nokia 6233, Ламер в Линуксе (продвинутый в Винде) Надоело за каждой мелочью переключаться в Винд, чтоб выйти в инет. А Федоре не получается настроить. Нашел много записок в инете, но все равно ничего не получается кто нибудь, удилите минуточки, помогите. плиз.
×
×
  • Create New...