LinuxForum.Fans
Тема

[Решено]OpenSuse 11.2 - нет интернета через Huawei E1550

Автор: Gennadis 8 сообщений 7778 просмотров 🔒 закрыта
#3908

Скачал с оф. сайта OpenSuse 11.2 64-бит LiveCD-дистрибутив, установил.

Начал настраивать себе интернет через usb-модем (ибо другого на данный момент - нет), всё вроде бы как нормально, сам модем я нашёл, подключается вроде бы как, но страницы не грузятся, и через командную строку ни один сайт не пингуется. Хотя команда ifconfig показывает, что всё нормально, подключение есть.

Настраивал интернет разными способами: через kppp, networkmanager, wvdial - результат один. С DNS тоже вроде бы всё ОК - определяется. В Ubuntu и Mandriva настраивалось и работало прекрасно.

P.S.

Гугления и яндексения ни к чему не привели, потому что по аналогичным вопросам адекватных ответов нет, либо нет ответов вообще никаких.

#3988

пингуешь по имени или по адресу? приведи пример пинга и ответа
покажи вывод команд после соединения с интернетом:
ip addr show
ip route show

#4002

cat /etc/resolv.conf - до подключения:

text
cat /etc/resolv.conf
domain 83.149.24.243            #kppp temp entry
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!

cat /etc/resolv.conf - после подключения:

text
cat /etc/resolv.conf
domain 83.149.24.243            #kppp temp entry
### /etc/resolv.conf file autogenerated by netconfig!
#
# Before you change this file manually, consider to define the
# static DNS configuration using the following variables in the
# /etc/sysconfig/network/config file:
#     NETCONFIG_DNS_STATIC_SEARCHLIST
#     NETCONFIG_DNS_STATIC_SERVERS
#     NETCONFIG_DNS_FORWARDER
# or disable DNS configuration updates via netconfig by setting:
#     NETCONFIG_DNS_POLICY=''
#
# See also the netconfig(8) manual page and other documentation.
#
# Note: Manual change of this file disables netconfig too, but
# may get lost when this file contains comments or empty lines
# only, the netconfig settings are same with settings in this
# file and in case of a "netconfig update -f" call.
#
### Please remove (at least) this line when you modify the file!

ifconfig

text
ifconfig
eth0      Link encap:Ethernet  HWaddr XX:XX:XX:XX:XX:XX
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
          Interrupt:27 Base address:0x4000

lo Link encap:Local Loopback inet addr:127.0.0.1 Mask:255.0.0.0 inet6 addr: ::1/128 Scope:Host UP LOOPBACK RUNNING MTU:16436 Metric:1 RX packets:94 errors:0 dropped:0 overruns:0 frame:0 TX packets:94 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:0 RX bytes:5708 (5.5 Kb) TX bytes:5708 (5.5 Kb)

ppp0 Link encap:Point-to-Point Protocol inet addr:10.218.135.189 P-t-P:10.64.64.64 Mask:255.255.255.255 UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1440 Metric:1 RX packets:6 errors:0 dropped:0 overruns:0 frame:0 TX packets:7 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:3 RX bytes:90 (90.0 b) TX bytes:129 (129.0 b)

ip a

text
ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 16436 qdisc noqueue state UNKNOWN
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 brd 127.255.255.255 scope host lo
    inet 127.0.0.2/8 brd 127.255.255.255 scope host secondary lo
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: eth0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast state DOWN qlen 1000
    link/ether 00:24:1d:8f:1d:8d brd ff:ff:ff:ff:ff:ff
3: ppp0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1440 qdisc pfifo_fast state UNKNOWN qlen 3
    link/ppp
    inet 10.218.135.189 peer 10.64.64.64/32 scope global ppp0

ip r

text

ip r
10.64.64.64 dev ppp0  proto kernel  scope link  src 10.218.135.189
127.0.0.0/8 dev lo  scope link
default dev ppp0  scope link
#4006

ПМСМ ошибка в /etc/resolv.conf

Вот у меня, например, такие строчки:
search ******.ru
nameserver 192.168.0.1

#4007

Gennadis
Конечно не по теме, но Вам желательно поискать на форуме человека с ником GOODVIN (кстати почти земляк) Он в своё время выкладывал полнейшую инструкцию, пошаговую, по настройке данных девайсов :)

Хотя мне кажется ошибка вот тут:

# /etc/sysconfig/network/config file:
# NETCONFIG_DNS_STATIC_SEARCHLIST
# NETCONFIG_DNS_STATIC_SERVERS

Что то я не заметил в Вашем фале ни одного DNS сервера, а он напрямую ссылается на СТАТИЧЕСКУЮ адресацию. Хотя, опять же могу ошибаться :)

#4011

За ответы, конечно, спасибо! Но мне бы разобраться - что нужно делать?

#4013

Или поправить конфиг, указанный step_slim, или же исправить в /etc/resolv.conf слово domain на nameserver
Лучше - первый вариант.

#4023

Исправил в /etc/resolv.conf слово domain на nameserver - всё заработало, офигеть можно!

Раз работает, то не буду пока больше ничего править.

Спасибо всем!

Войдите или зарегистрируйтесь, чтобы ответить.