LINUX.ORG.RU
ФорумAdmin

Linux+bluetooth+Nokia+Life:)


0

0

Использую AltLinux 2.4. Настроил bluetooth+Nokia для выхода в Инет, и как-бы все получилось не без проблем конечно. Связь с мобильным провайдером устанавливается и на первых секундах даже обмен есть(что-то куда-то отсылается и получается секунды 2-3, я так понимаю настройки сетевого интерфейса происходят). Но потом все затухает и никакой реакции. ifconfig показывает интерфейс ppp0 появившийся после связи. /etc/resolv.conf имеет адреса dns серверов. route показывает маршрут по умолчанию на ip 10.6.6.6. Но ни dns, ни роитер не пингуются, а ping ругаясь выписывает ping: sendmsg: No buffer space available. Подключение на этом же комп но под Виндовс работает нормально.

ПОМОГИТЕ!!! Где рыть и что менять.

anonymous

Re: Linux+bluetooth+Nokia+Life:)

Ждем детализированых логов. Не забудь в options прописать debug для ясности.

iron ★★★★★ ()
Ответ на: Re: Linux+bluetooth+Nokia+Life:) от iron

Re: Linux+bluetooth+Nokia+Life:)

/var/log/kernel/info сообщает следующее Oct 10 03:34:15 ser hcid[2858]: link_key_notify (sba=00:11:67:32:CB:13, dba=00:16:4E:7E:34:B7)

Oct 10 03:34:20 ser pppd[2987]: pppd 2.4.2 started by andre, uid 500

Oct 10 03:34:20 ser pppd[2987]: Using interface ppp0

Oct 10 03:34:20 ser pppd[2987]: Connect: ppp0 <--> /dev/ttyUB0

Oct 10 03:34:23 ser pppd[2987]: PAP authentication succeeded

Oct 10 03:34:24 ser pppd[2987]: local IP address 91.145.196.248

Oct 10 03:34:24 ser pppd[2987]: remote IP address 10.6.6.6

А вот сразу же после попытки загрузить веб стратоницу /var/log/kernel/warnings отписывает

Oct 10 03:34:50 ser kernel: usb-uhci.c: interrupt, status 3, frame# 83

anonymous ()
Ответ на: Re: Linux+bluetooth+Nokia+Life:) от iron

Re: Linux+bluetooth+Nokia+Life:)

Failed to open /dev/rfcomm0: Connection timed out

Connect script failed

Failed to open /dev/rfcomm0: Operation already in progress

Connect script failed

Failed to open /dev/rfcomm0: Operation already in progress

Connect script failed

Failed to open /dev/rfcomm0: Operation already in progress

Connect script failed

Failed to open /dev/rfcomm0: Host is down

Connect script failed Failed to open /dev/rfcomm0: Connection timed out Connect script failed Failed to open /dev/rfcomm0: Connection refused Connect script failed Serial connection established. using channel 1 Using interface ppp0 Connect: ppp0 <--> /dev/rfcomm0 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcc187fbe> <pcomp> <accomp>] rcvd [LCP ConfRej id=0x1 <magic 0xcc187fbe> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0x0>] rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>] rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>] No auth is possible sent [LCP ConfRej id=0x0 <auth pap>] rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>] sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>] sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>] rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>] sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfNak id=0x2 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>] sent [IPCP ConfReq id=0x3 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>] rcvd [IPCP ConfAck id=0x3 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>] local IP address 91.145.216.35 remote IP address 10.6.6.6 primary DNS address 212.58.160.33 secondary DNS address 212.58.160.34 Script /etc/ppp/ip-up started (pid 2591) Script /etc/ppp/ip-up finished (pid 2591), status = 0x0

anonymous ()
Ответ на: Re: Linux+bluetooth+Nokia+Life:) от anonymous

Re: Linux+bluetooth+Nokia+Life:)

Извеняюсь за каламбур. В /var/log/ppp.conf пишется:

Failed to open /dev/rfcomm0: Connection timed out Connect script failed Failed to open /dev/rfcomm0: Operation already in progress Connect script failed Failed to open /dev/rfcomm0: Operation already in progress Connect script failed Failed to open /dev/rfcomm0: Operation already in progress Connect script failed Failed to open /dev/rfcomm0: Host is down Connect script failed Failed to open /dev/rfcomm0: Connection timed out Connect script failed Failed to open /dev/rfcomm0: Connection refused Connect script failed Serial connection established. using channel 1 Using interface ppp0 Connect: ppp0 <--> /dev/rfcomm0 sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcc187fbe> <pcomp> accomp>] rcvd [LCP ConfRej id=0x1 <magic 0xcc187fbe> <pcomp> <accomp>] sent [LCP ConfReq id=0x2 <asyncmap 0x0>] rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>] rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>] No auth is possible sent [LCP ConfRej id=0x0 <auth pap>] rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>] sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>] sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 .0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>] sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>] rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>] sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] rcvd [IPCP ConfNak id=0x2 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>] sent [IPCP ConfReq id=0x3 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>] rcvd [IPCP ConfAck id=0x3 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>] local IP address 91.145.216.35 remote IP address 10.6.6.6 primary DNS address 212.58.160.33 secondary DNS address 212.58.160.34 Script /etc/ppp/ip-up started (pid 2591) Script /etc/ppp/ip-up finished (pid 2591), status = 0x0

anonymous ()
Ответ на: Re: Linux+bluetooth+Nokia+Life:) от anonymous

Re: Linux+bluetooth+Nokia+Life:)

>Извеняюсь за каламбур. В /var/log/ppp.conf пишется:

Брось ещё раз с нормальным форматированием. А то как-то нечитабельно.

iron ★★★★★ ()
Ответ на: Re: Linux+bluetooth+Nokia+Life:) от iron

Re: Linux+bluetooth+Nokia+Life:)

Failed to open /dev/rfcomm0: Connection timed out

Connect script failed

Failed to open /dev/rfcomm0: Operation already in progress

Connect script failed

Failed to open /dev/rfcomm0: Operation already in progress

Connect script failed

Failed to open /dev/rfcomm0: Operation already in progress

Connect script failed

Failed to open /dev/rfcomm0: Host is down

Connect script failed

Failed to open /dev/rfcomm0: Connection timed out

Connect script failed

Failed to open /dev/rfcomm0: Connection refused

Connect script failed

Serial connection established.

using channel 1

Using interface ppp0

Connect: ppp0 <--> /dev/rfcomm0

sent [LCP ConfReq id=0x1 <asyncmap 0x0> <magic 0xcc187fbe> <pcomp> <accomp>]

rcvd [LCP ConfRej id=0x1 <magic 0xcc187fbe> <pcomp> <accomp>]

sent [LCP ConfReq id=0x2 <asyncmap 0x0>]

rcvd [LCP ConfAck id=0x2 <asyncmap 0x0>]

rcvd [LCP ConfReq id=0x0 <auth pap> <mru 1500> <asyncmap 0xa0000>]

No auth is possible

sent [LCP ConfRej id=0x0 <auth pap>]

rcvd [LCP ConfReq id=0x1 <mru 1500> <asyncmap 0xa0000>]

sent [LCP ConfAck id=0x1 <mru 1500> <asyncmap 0xa0000>]

sent [IPCP ConfReq id=0x1 <compress VJ 0f 01> <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

rcvd [IPCP ConfReq id=0x0 <addr 10.6.6.6>]

sent [IPCP ConfAck id=0x0 <addr 10.6.6.6>]

rcvd [IPCP ConfRej id=0x1 <compress VJ 0f 01>]

sent [IPCP ConfReq id=0x2 <addr 0.0.0.0> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>]

rcvd [IPCP ConfNak id=0x2 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>]

sent [IPCP ConfReq id=0x3 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>]

rcvd [IPCP ConfAck id=0x3 <addr 91.145.216.35> <ms-dns1 212.58.160.33> <ms-dns3 212.58.160.34>]

local IP address 91.145.216.35

remote IP address 10.6.6.6

primary DNS address 212.58.160.33

secondary DNS address 212.58.160.34

Script /etc/ppp/ip-up started (pid 2591)

Script /etc/ppp/ip-up finished (pid 2591), status = 0x0

anonymous ()
Ответ на: Re: Linux+bluetooth+Nokia+Life:) от iron

Re: Linux+bluetooth+Nokia+Life:)

Но обмена как небыло так и нет (после попытки Mozilla). Может надо чтото в /proc/ менять или еще что-то - а?

anonymous ()
Ответ на: Re: Linux+bluetooth+Nokia+Life:) от anonymous

Re: Linux+bluetooth+Nokia+Life:)

Еще новая допись. Пока не трогаю веб броузер пинги идут (1,3,10 минут). Но только обращаюсь к вебброузеру....

anonymous ()
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.