Mailinglist Archive: opensuse (2225 mails)

< Previous Next >
Re: [opensuse] Is there an opensource equivalent of route sentry?
  • From: Dave Plater <davejplater@xxxxxxxxx>
  • Date: Fri, 06 Nov 2009 12:53:56 +0200
  • Message-id: <4af3e4ce.0506d00a.1efd.164a@xxxxxxxxxxxxx>
On 11/05/2009 07:48 PM, Per Jessen wrote:
Dave Plater wrote:


On 11/05/2009 04:03 PM, Per Jessen wrote:

Okay, just read your previous posting on that topic, and I've also
just checked YaST on my own box. YaST doesn't seem to allow for
mulitple ppp device with different options, but
/etc/sysconfig/network/ifcfg-dslX does. Try adding 'nodefaultroute'
to PPPD_OPTIONS for the connection where you never want the default
route.


/Per



PPPD_OPTIONS='nodefaultroute' prevents dsl0 from staying up at all.

What happens? Are there any error messages in the
log? 'nodefaultroute' has no influence on the sttaus of the link, so
something else obviously went wrong.


There must be a way of doing this but I can only spend so much time.

Of course there is a way of doing it - but it does require some
configuration and some trial and error when the exact configuration is
not known beforehand.


/Per



This is all the log says with nodefaultroute:-
Nov 6 12:44:07 Arbuthnot ifup: dsl0 name: DSL Connection
Nov 6 12:44:07 Arbuthnot pppd[28092]: Plugin rp-pppoe.so loaded.
Nov 6 12:44:07 Arbuthnot pppd[28092]: RP-PPPoE plugin version 3.8p
compiled against pppd 2.4.5
Nov 6 12:44:07 Arbuthnot pppd[28092]: Plugin passwordfd.so loaded.
Nov 6 12:44:07 Arbuthnot pppd[28092]: defaultroute option is disabled
Nov 6 12:44:07 Arbuthnot ifup-ppp: interface dsl0 is up
Nov 6 12:44:07 Arbuthnot SuSEfirewall2: Setting up rules from
/etc/sysconfig/SuSEfirewall2 ...
Nov 6 12:44:07 Arbuthnot SuSEfirewall2: using default zone 'ext' for
interface eth0
Nov 6 12:44:07 Arbuthnot SuSEfirewall2: Warning: config 'samba-server'
not available
Nov 6 12:44:07 Arbuthnot SuSEfirewall2: batch committing...
Nov 6 12:44:07 Arbuthnot SuSEfirewall2: Firewall rules successfully set

And this is what is says without nodefaultroute :-
Nov 6 12:50:18 Arbuthnot ifup: dsl0 name: DSL Connection
Nov 6 12:50:18 Arbuthnot ifup-ppp: interface dsl0 is up
Nov 6 12:50:18 Arbuthnot pppd[30516]: Plugin rp-pppoe.so loaded.
Nov 6 12:50:18 Arbuthnot pppd[30516]: RP-PPPoE plugin version 3.8p
compiled against pppd 2.4.5
Nov 6 12:50:18 Arbuthnot pppd[30516]: Plugin passwordfd.so loaded.
Nov 6 12:50:18 Arbuthnot pppd[30516]: pppd 2.4.5 started by root, uid 0
Nov 6 12:50:18 Arbuthnot pppd[30516]: Interface eth0 has MTU of 1492 --
should be at least 1500.
Nov 6 12:50:18 Arbuthnot pppd[30516]: This may cause serious connection
problems.
Nov 6 12:50:18 Arbuthnot pppd[30516]: PPP session is 48352
Nov 6 12:50:18 Arbuthnot kernel: [ 5046.280777] NET: Registered
protocol family 24
Nov 6 12:50:18 Arbuthnot pppd[30516]: Connected to 00:1e:13:09:db:79
via interface eth0
Nov 6 12:50:18 Arbuthnot kernel: [ 5046.288518] ppp0 renamed to dsl0 by
pppd [30516]
Nov 6 12:50:18 Arbuthnot pppd[30516]: Renamed interface ppp0 to dsl0
Nov 6 12:50:18 Arbuthnot pppd[30516]: Using interface dsl0
Nov 6 12:50:18 Arbuthnot pppd[30516]: Connect: dsl0 <--> eth0
Nov 6 12:50:18 Arbuthnot SuSEfirewall2: Setting up rules from
/etc/sysconfig/SuSEfirewall2 ...
Nov 6 12:50:18 Arbuthnot SuSEfirewall2: Warning: config 'samba-server'
not available
Nov 6 12:50:18 Arbuthnot SuSEfirewall2: batch committing...
Nov 6 12:50:18 Arbuthnot SuSEfirewall2: Firewall rules successfully set
Nov 6 12:50:20 Arbuthnot pppd[30516]: PAP authentication succeeded
Nov 6 12:50:20 Arbuthnot pppd[30516]: peer from calling number
00:1E:13:09:DB:79 authorized
Nov 6 12:50:20 Arbuthnot pppd[30516]: replacing old default route to
eth0 [10.0.0.2]
Nov 6 12:50:20 Arbuthnot pppd[30516]: local IP address 41.185.102.101
Nov 6 12:50:20 Arbuthnot pppd[30516]: remote IP address 41.185.102.1
Nov 6 12:50:20 Arbuthnot pppd[30516]: primary DNS address 196.220.59.188
Nov 6 12:50:20 Arbuthnot pppd[30516]: secondary DNS address 196.220.59.189
Nov 6 12:50:20 Arbuthnot dns-resolver: ATTENTION: You have modified
/etc/resolv.conf. Leaving it untouched...
Nov 6 12:50:20 Arbuthnot dns-resolver: You can find my version in
/etc/resolv.conf.netconfig
Nov 6 12:50:21 Arbuthnot ip-up: ATTENTION: You have modified
/etc/resolv.conf. Leaving it untouched...
Nov 6 12:50:21 Arbuthnot ip-up: You can find my version in
/etc/resolv.conf.netconfig ...
Nov 6 12:50:21 Arbuthnot SuSEfirewall2: Setting up rules from
/etc/sysconfig/SuSEfirewall2 ...
Nov 6 12:50:21 Arbuthnot ip-up: SuSEfirewall2: Warning: config
'samba-server' not available
Nov 6 12:50:21 Arbuthnot SuSEfirewall2: Warning: config 'samba-server'
not available
Nov 6 12:50:21 Arbuthnot ip-up: WARNING: All config files need .conf:
/etc/modprobe.d/tv, it will be ignored in a future release.
Nov 6 12:50:21 Arbuthnot ip-up: WARNING: All config files need .conf:
/etc/modprobe.d/tv, it will be ignored in a future release.
Nov 6 12:50:21 Arbuthnot ip-up: WARNING: All config files need .conf:
/etc/modprobe.d/tv, it will be ignored in a future release.
Nov 6 12:50:21 Arbuthnot ip-up: WARNING: All config files need .conf:
/etc/modprobe.d/tv, it will be ignored in a future release.
Nov 6 12:50:21 Arbuthnot ip-up: WARNING: All config files need .conf:
/etc/modprobe.d/tv, it will be ignored in a future release.
Nov 6 12:50:21 Arbuthnot ip-up: WARNING: All config files need .conf:
/etc/modprobe.d/tv, it will be ignored in a future release.
Nov 6 12:50:21 Arbuthnot SuSEfirewall2: batch committing...
Nov 6 12:50:21 Arbuthnot SuSEfirewall2: Firewall rules successfully set
Nov 6 12:50:21 Arbuthnot pppd[30516]: Script /etc/ppp/ip-up finished
(pid 30685), status = 0x0

So there's no clue that I can see.
Regards
Dave P
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx

< Previous Next >
Follow Ups