Hello Kevin

You wrote.
Assuming that you have a "adsl modem"  connected to your eth0.
1. you don't need an opening in the firewall for eth0.
Rest comments inline

>Alright, i've been working on this bering setup for some time.  Got the
>hardware figured out, but i can't get a connection on eth0, ppp0 to/from
the
>internet.
you will only see ppp0 as soon as the connection is up. Which means you
have:
- a "low level" connection to your provider
- identificated your self
- and got an ip.

>I set it up a couple times according to different guides and then went
>through this mailing list trying out different PPPoE configs, but no luck.
>
>I find it very odd that no ppp0 entry shows up on # ip addr show.  As well,
>I have no response from the plog command, and no helpful info in
>/var/log/syslog.

To get debug information add
debug 7  to /etc/ppp/peers/dsl-provider

>Here's the digs:
>
>as you can see, the internal DHCP is working... but i can't get anything on
>the DSL side.
>
>any help would be appreciated.... please note i'm a bit of a linux n00b as
>well.
>
>=============================
># uname -a
>=============================
>Linux firewall 2.4.20 #1 Sun May 11 18:53:34 CEST 2003 i586 unknown
>
>=============================
># ip addr show
>=============================
>1. lo: <LOOPBACK,UP> mtu 16436 qdisc noqueue
>       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
>2. dummy0: <BROADCAST, NOARP> mtu 1500 qdisc noop
>       link/ether 00:00:00:00:00:00 brf ff:ff:ff:ff:ff:ff
>3. eth0: <BROADCAST, MULTICAST, UP> mtu 1500 qdisc pfifo_fast qlen 100
>       link/ether 00:60:f5:06:0e:b4 brd ff:ff:ff:ff:ff:ff
>4. eth1: <BROADCAST, MULTICAST, UP> mtu 1500 qdisc pfifo_fast qlen 100
>       link/ether 00:60:f5:06:0e:b4 brd ff:ff:ff:ff:ff:ff
>       inet 192.168.1.254/24 brd 192.168.1.255 scope global eth1
>5. eth2: <BROADCAST, MULTICAST> mtu 1500 qdisc pfifo_fast qlen 100
>       link/ether 00:60:f5:06:0e:b4 brd ff:ff:ff:ff:ff:ff
>6. eth3: <BROADCAST, MULTICAST> mtu 1500 qdisc pfifo_fast qlen 100
>       link/ether 00:60:f5:06:0e:b4 brd ff:ff:ff:ff:ff:ff
>
>============================
># ip route show
>============================
>192.168.1.0/24   dev eth1   proto kernel   scope link   src 192.168.1.254
>
>============================
># grep -v "#" /etc/ppp/options
>============================
>asyncmap 0
>auth
>crtscts
>lock
>hide-password
>modem
>proxyarp
>lcp-echo-interval 30
>lcp-echo-failure 4
>noipx
>
>============================
># grep -v "#" /etc/ppp/pap-secrets
>============================
>"[EMAIL PROTECTED]" * "password"
>
>============================
># grep -v "#" /etc/ppp/peers/dsl-provider
>============================
>name "[EMAIL PROTECTED]"

command the following line out, is normally not necessary
#  >pty "pppoe -I eth0 -T 80 -m 1452"
>noipdefault
>defaultroute
>hide-password
>lcp-echo-interval 30
>lcp-echo-failure 3
>connect /bin/true
>noauth
>persist
>mtu 1492
>
insert
debug 7   # and look in the /var/log/daemon.log or /var/log/system.log for
output.
>============================
># cat /etc/network/ifstate
>============================
>lo=lo
>ppp0=ppp0
>eth1=eth1
>
>============================
># grep -v "#" /etc/network/interfaces
>============================
>auto lo ppp0 eth1
>iface lo inet loopback
>
>iface ppp0 inet ppp
>           pre-up ip link set eth0 up
>           provider dsl-provider eth0
>
>iface eth1 inet static
>          address 192.168.1.254
>          masklen 24
>          broadcast 192.168.1.255
>
This will not start your pppoe connection untill you issue
#
ifup ppp0

#
>-------------- also tried this config --------------
>auto lo
>iface lo inet loopback
>
>auto ppp0
>iface ppp0 inet ppp
>            pre-up ip link set eth0 up
>            provider dsl-provider eth0
>
>auto eth1
>iface eth1 inet static
>            address 192.168.0.254
>            masklen 24
>            broadcast 192.168.0.255
>
>========================
># grep -v "#" /etc/shorewall/zones
>========================
>net    Net       Internet
>loc     Local     Local Networks
>
>========================
># grep -v "#" /etc/shorewall/interfaces
>========================
>net ppp0   -           blacklist
remove the next one
#   >net eth0   detect   blacklist
>loc  eth1   detect   routestopped
>
>========================
># grep -v "#" /etc/shorewall/policy
>========================
>loc    net   ACCEPT
>net   all     DROP       ULOG
>all     all     REJECT     ULOG
>

>
>hopefully someone can shed some light on my problem... Thanks again,
>
>Kevin.
>
Hope this helps

Eric Wolzak
member of  the Bering Crew




-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
------------------------------------------------------------------------
leaf-user mailing list: [EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/leaf-user
SR FAQ: http://leaf-project.org/pub/doc/docmanager/docid_1891.html

Reply via email to