Автор Тема: Проблемы с выходом в Интернет [решено]  (Прочитано 9598 раз)

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #45 : 05.04.2010 21:42:43 »
В РРРоЕ у меня все нормально. установлен логин и пароль. в Интернет я выхожу, но как-то коряво не по-людски.

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Re: Проблемы с выходом в Интернет
« Ответ #46 : 05.04.2010 21:47:41 »
Я понял - потому и спрашиваю.
Служба network поднимает сеть, вот я и хотел посмотреть - почему автомат не происходит.

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #47 : 05.04.2010 21:53:33 »
Аналогичная проблема была когда работал в "Школьный -терминал". Хотя там при выходе из центра управления Интернет не слетал.
 ???

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Re: Проблемы с выходом в Интернет
« Ответ #48 : 05.04.2010 21:59:44 »
Так вы можете дать команду от root

service network restart &> network.txt

и файл network.txt сюда прикрепить?


Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #49 : 05.04.2010 22:13:07 »
Я не могу войти от root

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Re: Проблемы с выходом в Интернет
« Ответ #50 : 05.04.2010 22:36:39 »
В смысле? Все могут, а вы на своей машине не можете?

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #51 : 05.04.2010 23:07:16 »
Не знаю, но пишет что не имею права входить как root. :(

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #52 : 05.04.2010 23:09:44 »
может у меня что -то с настройками, хотя в центр управления -пускает.

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Re: Проблемы с выходом в Интернет
« Ответ #53 : 05.04.2010 23:18:14 »
Ну, войдите на первую (или вторую  ... шестую) неграфическую консоль, войдите как root, дайте нужные команды, и возвращайтесь в седьмую консоль (графическую).

Ctrl+Alt+F2

http://heap.altlinux.org/modules/linux_basics.kirill/index.html

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #54 : 05.04.2010 23:46:58 »
Еле разобрался вот что выдал:
[root@comp-Core2-Duo-643c0e ~]# service network restart &
[1] 15497
[root@comp-Core2-Duo-643c0e ~]# Computing interface groups: .. 2 interfaces found
Stopping group 4/deplog (1 interfaces)
        Stopping ppp1: ..OK
Processing /etc/net/vlantab: empty.
Stopping group 0/virtual (1 interfaces)
        Stopping lo: ..OK
Stopping iptables for default
        Flushing the "OUTPUT" chain in the "filter" table
        Flushing the "FORWARD" chain in the "filter" table
        Flushing the "INPUT" chain in the "filter" table
        Flushing the "POSTROUTING" chain in the "nat" table
        Flushing the "OUTPUT" chain in the "nat" table
        Flushing the "PREROUTING" chain in the "nat" table
        Flushing the "POSTROUTING" chain in the "mangle" table
        Flushing the "OUTPUT" chain in the "mangle" table
        Flushing the "FORWARD" chain in the "mangle" table
        Flushing the "INPUT" chain in the "mangle" table
        Flushing the "PREROUTING" chain in the "mangle" table
        Unloading module ip_conntrack_ftp
        Setting ACCEPT policy for the "INPUT" chain in the "filter" table
        Setting ACCEPT policy for the "FORWARD" chain in the "filter" table
        Setting ACCEPT policy for the "OUTPUT" chain in the "filter" table
Starting iptables for default
        Setting ACCEPT policy for the "INPUT" chain in the "filter" table
        Setting ACCEPT policy for the "FORWARD" chain in the "filter" table
        Setting ACCEPT policy for the "OUTPUT" chain in the "filter" table
        Loading module ip_conntrack_ftp
        Loading rules for the "PREROUTING" chain in the "mangle" table
        Loading rules for the "INPUT" chain in the "mangle" table
        Loading rules for the "FORWARD" chain in the "mangle" table
        Loading rules for the "OUTPUT" chain in the "mangle" table
        Loading rules for the "POSTROUTING" chain in the "mangle" table
        Loading rules for the "PREROUTING" chain in the "nat" table.
        Loading rules for the "OUTPUT" chain in the "nat" table.
        Loading rules for the "POSTROUTING" chain in the "nat" table..
        Loading rules for the "INPUT" chain in the "filter" table...
        Loading rules for the "FORWARD" chain in the "filter" table...........
        Loading rules for the "OUTPUT" chain in the "filter" table...
Computing interface groups: .. 2 interfaces found
Starting group 0/virtual (1 interfaces)
        Starting lo: .....OK
Processing /etc/net/vlantab: empty.
Starting group 4/deplog (1 interfaces)
        Starting ppp1: ..OK
[1]+  Done                    service network restart

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Re: Проблемы с выходом в Интернет
« Ответ #55 : 06.04.2010 00:01:22 »
Т.е. сеть при перезапуске стартует нормально. Теперь надо смотреть что появляется в /var/log/message про ppp1 при включении компьютера. Можно запомнить (записать) последнюю строку в /var/log/message и перезагрузиться, или (так-как компьютер вы включали уже не один раз, просто поискать в этом файле) Этот файл доступен только root.
Используйте для просмотра, например,  mc

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #56 : 06.04.2010 00:02:33 »
Кстати под root Интернет не слетает после выхода из центра управления :o

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #57 : 06.04.2010 00:26:39 »
 
pr  6 00:00:14 comp-Core2-Duo-643c0e kernel: [  114.978973] PPP generic driver version 2.4.2
Apr  6 00:00:14 comp-Core2-Duo-643c0e pppd[18885]: pppd 2.4.4 started by root, uid 0
Apr  6 00:00:14 comp-Core2-Duo-643c0e pppd[18885]: Using interface ppp1
Apr  6 00:00:14 comp-Core2-Duo-643c0e pppd[18885]: Connect: ppp1 <--> /dev/pts/6
Apr  6 00:00:14 comp-Core2-Duo-643c0e kernel: [  115.032101] NET: Registered protocol family 17
Apr  6 00:00:14 comp-Core2-Duo-643c0e pppoe[18892]: PPP session is 14566 (0x38e6)
Apr  6 00:00:15 comp-Core2-Duo-643c0e pppd[18885]: CHAP authentication succeeded: balance unlim ok (68.24); limit sum = 0.0
Apr  6 00:00:15 comp-Core2-Duo-643c0e pppd[18885]: CHAP authentication succeeded
Apr  6 00:00:15 comp-Core2-Duo-643c0e kernel: [  116.469756] PPP BSD Compression module registered
Apr  6 00:00:15 comp-Core2-Duo-643c0e kernel: [  116.478382] PPP Deflate Compression module registered
Apr  6 00:00:15 comp-Core2-Duo-643c0e pppd[18885]: local  IP address 95.78.74.129
Apr  6 00:00:15 comp-Core2-Duo-643c0e pppd[18885]: remote IP address 91.144.152.71
Apr  6 00:00:15 comp-Core2-Duo-643c0e pppd[18885]: primary   DNS address 91.144.152.3
Apr  6 00:00:15 comp-Core2-Duo-643c0e pppd[18885]: secondary DNS address 91.144.154.3
Apr  6 00:00:16 comp-Core2-Duo-643c0e bind: sending signal 1 to named succeeded
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: loading configuration from '/etc/named.conf'
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: using default UDP/IPv4 port range: [1024, 65535]
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: using default UDP/IPv6 port range: [1024, 65535]
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: listening on IPv4 interface eth0, 95.78.27.130#53
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: could not listen on UDP socket: permission denied
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: creating IPv4 interface eth0 failed; interface ignored
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: listening on IPv4 interface ppp1, 95.78.74.129#53
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: could not listen on UDP socket: permission denied
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: creating IPv4 interface ppp1 failed; interface ignored
Apr  6 00:00:16 comp-Core2-Duo-643c0e pppd[18910]: Script /etc/ppp/ip-up finished (pid 18911), status = 0x0
Apr  6 00:01:01 comp-Core2-Duo-643c0e crond[20891]: (root) CMD (run-parts /etc/cron.hourly)
Apr  6 00:01:08 comp-Core2-Duo-643c0e named[11105]: lame server resolving 'www.ruslandh.ru' (in 'ruslandh.ru'?): 193.232.130.14#53
Apr  6 00:01:08 comp-Core2-Duo-643c0e named[11105]: lame server resolving 'www.ruslandh.ru' (in 'ruslandh.ru'?): 194.85.61.20#53
Apr  6 00:01:16 comp-Core2-Duo-643c0e named[11105]: lame server resolving 'www.ruslandh.ru' (in 'ruslandh.ru'?): 194.226.96.8#53
Apr  6 00:01:16 comp-Core2-Duo-643c0e named[11105]: lame server resolving 'www.ruslandh.ru' (in 'ruslandh.ru'?): 194.85.61.20#53
Apr  6 00:01:16 comp-Core2-Duo-643c0e named[11105]: lame server resolving 'www.ruslandh.ru' (in 'ruslandh.ru'?): 193.232.130.14#53
Apr  6 00:01:16 comp-Core2-Duo-643c0e named[11105]: lame server resolving 'www.ruslandh.ru' (in 'ruslandh.ru'?): 194.226.96.8#53
Apr  6 00:03:09 comp-Core2-Duo-643c0e consolehelper[20968]: pam_authenticate failed: Authentication failure
Apr  6 00:03:33 comp-Core2-Duo-643c0e consolehelper[21008]: executing "/usr/sbin/synaptic": (sasha --> root --> root)
Apr  6 00:07:01 comp-Core2-Duo-643c0e crond[21235]: (root) CMD (   [ -f /var/run/clamav/clamd.pid ] && /usr/bin/freshclam --quiet --daemon-notify)
Apr  6 00:07:04 comp-Core2-Duo-643c0e acpid: client 12822[0:0] has disconnected
Apr  6 00:07:04 comp-Core2-Duo-643c0e acpid: client connected from 21252[0:0]
Apr  6 00:07:04 comp-Core2-Duo-643c0e acpid: 1 client rule loaded
Apr  6 00:07:20 comp-Core2-Duo-643c0e pulseaudio[21501]: pid.c: Stale PID file, overwriting.

Оффлайн ruslandh

  • Поспешай не торопясь !
  • Модератор глобальный
  • *****
  • Сообщений: 32 246
  • Учиться .... Телепатами не рождаются, ими ....
    • Email
Re: Проблемы с выходом в Интернет
« Ответ #58 : 06.04.2010 00:39:02 »
Цитировать
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: listening on IPv4 interface eth0, 95.78.27.130#53
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: could not listen on UDP socket: permission denied
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: creating IPv4 interface eth0 failed; interface ignored
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: listening on IPv4 interface ppp1, 95.78.74.129#53
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: could not listen on UDP socket: permission denied
Apr  6 00:00:16 comp-Core2-Duo-643c0e named[11105]: creating IPv4 interface ppp1 failed; interface ignored
Apr  6 00:00:16 comp-Core2-Duo-643c0e pppd[18910]: Script /etc/ppp/ip-up finished (pid 18911), status = 0x0
У вас какие-то проблемы с  локальным DNS сервером (bind). Попробуйте его отключить (от root)
# chkconfig bind off
а потом перезагрузиться.

Оффлайн kukunja

  • Завсегдатай
  • *
  • Сообщений: 60
Re: Проблемы с выходом в Интернет
« Ответ #59 : 06.04.2010 01:20:55 »
пробовал - то же самое. :(