Вы здесь

не могу выйти в сеть

поставил ADSL через LAN интефейс модема настроил соединение есть запускаю в браузере адрес соединение нет
сервер прописан что не так ?

Не совсем понял проблемму. Но если дело в конфига, то я на днях настраивал у себя ADSL и сделал это вот так:

moose@localhost ~ $ cat /etc/conf.d/net
# /etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.1.10 broadcast 192.168.0.255 netmask 255.255.255.0"




# For setting the default gateway
#
gateway="eth0/192.168.1.1"

Всё. Замечательно работает (ну ещё в /etc/resolv.conf DNS пропиши)

andrei@localhost ~ $ su
Password:
localhost andrei # adsl-start
.. Connected!
localhost andrei # ifconfig
eth0 Link encap:Ethernet HWaddr 00:E0:4C:77:16:24
inet addr:192.168.1.2 Bcast:192.168.1.255 Mask:255.255.0.0
inet6 addr: fe80::2e0:4cff:fe77:1624/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:83 errors:0 dropped:0 overruns:0 frame:0
TX packets:17 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5956 (5.8 Kb) TX bytes:1098 (1.0 Kb)
Interrupt:5 Base address:0xde00

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:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:300 (300.0 b) TX bytes:300 (300.0 b)

ppp0 Link encap:Point-to-Point Protocol
inet addr:192.168.129.124 P-t-P:217.107.225.9 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:30 (30.0 b) TX bytes:30 (30.0 b)

localhost andrei # route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
217.107.225.9 0.0.0.0 255.255.255.255 UH 0 0 0 ppp0
192.168.0.0 0.0.0.0 255.255.0.0 U 0 0 0 eth0
127.0.0.0 127.0.0.1 255.0.0.0 UG 0 0 0 lo
0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
localhost andrei #
#####################################################################
/etc/conf.d/net:
# $Header: /home/cvsroot/gentoo-src/rc-scripts/etc/conf.d/net,v 1.7 2002/11/18 19:39:22 azarah Exp $

# Global config file for net.* rc-scripts

# This is basically the ifconfig argument without the ifconfig $iface
#
iface_eth0="192.168.1.2 broadcast 192.168.1.255 netmask 255.255.0.0"
#iface_eth1="207.170.82.202 broadcast 207.0.255.255 netmask 255.255.0.0"

# For DHCP set iface_eth? to "dhcp"
# For passing options to dhcpcd use dhcpcd_eth?
#
#iface_eth0="dhcp"
#dhcpcd_eth0="..."

# For adding aliases to a interface
#
#alias_eth0="192.168.0.3 192.168.0.4"

# NB: The next is only used for aliases.
#
# To add a custom netmask/broadcast address to created aliases,
# uncomment and change accordingly. Leave commented to assign
# defaults for that interface.
#
#broadcast_eth0="192.168.0.255 192.168.0.255"
#netmask_eth0="255.255.255.0 255.255.255.0"

# For setting the default gateway
#
gateway="eth0/192.168.1.1"

по последнему порту "192.168.1.1" захожу в интерфэс модема (D-Link DSL-500T) Срасибо !!

А что за команда adsl-start?

я всё запускаю через /etc/init.d/net.eth0 start

я установил пакет rp-pppoe эта каманда от туда , а твою команду у меня выполняет rc-скипт при загрузки init

Не могу отпинговать интернет:

1. Установил ppp, rd-pppoe, dhcp
2. Настроил сетевую карту:

Цитата:
/etc/conf.d/net

config_eth0=( "dhcp" )
dhcp_eth0="nodns nontp nonis"

3. Настроил соединение c помощью adsl-setup

Цитата:
/etc/ppp/pppoe.conf

ETH='eth0'
USER='xxxXXXxxx'
DEMAND=no
DNSTYPE=SERVER
PEERDNS=yes
DNS1=
DNS2=
DEFAULTROUTE=no
CONNECT_TIMEOUT=30
CONNECT_POLL=2
ACNAME=
SERVICENAME=
PING="."
PIDFILE="/var/run/$CF_BASE-adsl.pid"
SYNCHRONOUS=no
CLAMPMSS=1412
LCP_INTERVAL=20
LCP_FAILURE=3
PPPOE_TIMEOUT=80
FIREWALL=NONE
LINUX_PLUGIN=
PPPOE_EXTRA=""
PPPD_EXTRA=""

4. запускаю хозяйство adsl-start. Коннект есть!
5. Пингую:

Цитата:
localhost ldm # ping www.ya.ru
PING ya.ru (213.180.204.8) 56(84) bytes of data.

--- ya.ru ping statistics ---
63 packets transmitted, 0 received, 100% packet loss, time 61990ms

не пингуется!!!
6. смотрю, что имеем в ifconfig

Цитата:
eth0 Link encap:Ethernet HWaddr 00:0F:EE:EE:57:0F
inet addr:10.29.3.210 Bcast:10.29.255.255 Mask:255.255.0.0
UP BROADCAST NOTRAILERS RUNNING MULTICAST MTU:1500 Metric:1
RX packets:505 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:38401 (37.5 Kb) TX bytes:9961 (9.7 Kb)
Interrupt:22 Base address:0x2000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:58 errors:0 dropped:0 overruns:0 frame:0
TX packets:58 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:4212 (4.1 Kb) TX bytes:4212 (4.1 Kb)

ppp0 Link encap:Point-to-Point Protocol
inet addr:82.208.105.239 P-t-P:213.177.127.52 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1492 Metric:1
RX packets:7 errors:0 dropped:0 overruns:0 frame:0
TX packets:3 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:756 (756.0 b) TX bytes:54 (54.0 b)

7. Смотрю router

Цитата:
localhost ldm # route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
cs2-ats52.mts-n * 255.255.255.255 UH 0 0 0 ppp0
10.29.0.0 * 255.255.0.0 U 0 0 0 eth0
loopback localhost 255.0.0.0 UG 0 0 0 lo
default 10.29.0.1 0.0.0.0 UG 0 0 0 eth0

8. Смотрю как ядро сконфигурировано:

Цитата:
<*> PPP (point-to-point protocol) support
<> PPP multilink support (EXPERIMENTAL)
<*> PPP filtering
<*> PPP support for async serial ports
<*> PPP support for sync tty ports
<*> PPP Deflate compression
<*> PPP BSD-Compress compression
<*> PPP over Ethernet (EXPERIMENTAL)

9. Вроде все правильно. Помогите!!! Не знаю, что теперь делать. Без инета жизнь не мила.

Надо было перенаправить пакеты на шлюз.
вот это надо было воткнут в таблицу маршрутизации:
default cs2-ats52.mts-n 0.0.0.0 UG 0 0 0 ppp0

а это убрать:
default 10.29.0.1 0.0.0.0 UG 0 0 0 eth0

А кто-нибудь придумал, как лучше сделать, чтобы adsl-start запускался при загрузке?

пока вопрос так не стоит, конект есть а браузер не грузит страници
если кто может кинти свои копии команд ifconfig и route -n

moose@localhost ~ $ /sbin/ifconfig
eth0      Link encap:Ethernet  HWaddr 00:E0:4C:B7:C2:59
          inet addr:192.168.1.10  Bcast:192.168.0.255  Mask:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:43164 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45514 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:30642993 (29.2 Mb)  TX bytes:6156972 (5.8 Mb)
          Interrupt:11 Base address:0xe400

lo        Link encap:Local Loopback
          inet addr:127.0.0.1  Mask:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:798 errors:0 dropped:0 overruns:0 frame:0
          TX packets:798 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:39900 (38.9 Kb)  TX bytes:39900 (38.9 Kb)

moose@localhost ~ $ /sbin/route -n
Kernel IP routing table
Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
192.168.1.0     0.0.0.0         255.255.255.0   U     0      0        0 eth0
127.0.0.0       127.0.0.1       255.0.0.0       UG    0      0        0 lo
0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0