Re: exciting dial up question

2002-05-01 Thread Sam Clegg
On Tue, Apr 30, 2002 at 01:30:24PM +0300, Alexei Khlebnikov wrote:
> On Tue, 30 Apr 2002 08:34:14 -
> <[EMAIL PROTECTED]> wrote:
> 
> > 
> > As a debian novice I get a little lost. Today's problem is that though
> > I run wvdial OK, which runs the modem OK, when I then launch Opera it
> > doesn't seem to know that the PC is online, and so can't access the
> > web. There is something no doubt obvious I am failing to do. Can
> > someone help me?
>  
> Write your provider's nameservers to /etc/resolv.conf.
> Or setup local dnrd (a .deb package available) to automatically hanlde
> this.

the latest version of wvdial in woody have "usepeerdns" in
/etc/ppp/peers/wvdial.  This will manage /etc/resolve.conf for
you and restore your old one when you disconnect.
But I guess you can't do apt-get upgrade without your net 
the connection :)

You may also want to install something like nscd as a local
nameserver because several daemons (fetchmail, wwwoffle) 
reallu don't like it when you change resolv.conf without 
restarting them.

sam
-- 
sam clegg
:: [EMAIL PROTECTED]
:: http://superduper.net (~samc/key.gpg)
$superduper: .signature,v 1.4 2002/04/27 11:54:02 samc Exp $


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exciting dial up question

2002-05-01 Thread Sam Clegg

On Tue, Apr 30, 2002 at 01:30:24PM +0300, Alexei Khlebnikov wrote:
> On Tue, 30 Apr 2002 08:34:14 -
> <[EMAIL PROTECTED]> wrote:
> 
> > 
> > As a debian novice I get a little lost. Today's problem is that though
> > I run wvdial OK, which runs the modem OK, when I then launch Opera it
> > doesn't seem to know that the PC is online, and so can't access the
> > web. There is something no doubt obvious I am failing to do. Can
> > someone help me?
>  
> Write your provider's nameservers to /etc/resolv.conf.
> Or setup local dnrd (a .deb package available) to automatically hanlde
> this.

the latest version of wvdial in woody have "usepeerdns" in
/etc/ppp/peers/wvdial.  This will manage /etc/resolve.conf for
you and restore your old one when you disconnect.
But I guess you can't do apt-get upgrade without your net 
the connection :)

You may also want to install something like nscd as a local
nameserver because several daemons (fetchmail, wwwoffle) 
reallu don't like it when you change resolv.conf without 
restarting them.

sam
-- 
sam clegg
:: [EMAIL PROTECTED]
:: http://superduper.net (~samc/key.gpg)
$superduper: .signature,v 1.4 2002/04/27 11:54:02 samc Exp $


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exciting dial up question

2002-04-30 Thread Alessandro Speranza

On Tue, 30 Apr 2002, Drew Parsons wrote:
> 
> Do you have an ethernet port as well as modem on your computer?
> I have an ethernet/modem combo card.  When I plug it in the ethernet port
> (eth0) gets switched on by default, and the gateway gets set for it.
> Then when I dialup via the modem, the connection is made, but because the
> gateway is already defined for eth0, it doesn't get set a second time for
> the modem ppp connection.  This means my computer has no route into the
> modem connection, so it looks as though I can't access the net (which I
> can't).  I work around this by explicitly switching eth0 off 
> (ifconfig eth0 down) before dialing up.
> 
> Drew

I've got the same problem, I think. I have eth0 configured and when I dial
up, the modem seems to connect, but then it doesn't seem to do
anything. I've tried setting the gateway by hand, like 
route add default gw 
and in the netstat the gateway seemed to be there, but it wasn't doing
anything anyway. Is that the same in yours? And does anyone know the way
to do that automatically? 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exciting dial up question

2002-04-30 Thread Drew Parsons
On Tue, Apr 30, 2002 at 01:30:24PM +0300, Alexei Khlebnikov wrote:
> On Tue, 30 Apr 2002 08:34:14 -
> <[EMAIL PROTECTED]> wrote:
> 
> > 
> > As a debian novice I get a little lost. Today's problem is that though
> > I run wvdial OK, which runs the modem OK, when I then launch Opera it
> > doesn't seem to know that the PC is online, and so can't access the
> > web. There is something no doubt obvious I am failing to do. Can
> > someone help me?
>  
> Write your provider's nameservers to /etc/resolv.conf.
> Or setup local dnrd (a .deb package available) to automatically hanlde
> this.
> 

And make sure your routing table is setup appropriately (cf "netstat -r").

Do you have an ethernet port as well as modem on your computer?
I have an ethernet/modem combo card.  When I plug it in the ethernet port
(eth0) gets switched on by default, and the gateway gets set for it.
Then when I dialup via the modem, the connection is made, but because the
gateway is already defined for eth0, it doesn't get set a second time for
the modem ppp connection.  This means my computer has no route into the
modem connection, so it looks as though I can't access the net (which I
can't).  I work around this by explicitly switching eth0 off 
(ifconfig eth0 down) before dialing up.

Drew

-- 
PGP public key available at http://people.debian.org/~dparsons/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A


pgpT9iokY1X5q.pgp
Description: PGP signature


Re: exciting dial up question

2002-04-30 Thread Alessandro Speranza


On Tue, 30 Apr 2002, Drew Parsons wrote:
> 
> Do you have an ethernet port as well as modem on your computer?
> I have an ethernet/modem combo card.  When I plug it in the ethernet port
> (eth0) gets switched on by default, and the gateway gets set for it.
> Then when I dialup via the modem, the connection is made, but because the
> gateway is already defined for eth0, it doesn't get set a second time for
> the modem ppp connection.  This means my computer has no route into the
> modem connection, so it looks as though I can't access the net (which I
> can't).  I work around this by explicitly switching eth0 off 
> (ifconfig eth0 down) before dialing up.
> 
> Drew

I've got the same problem, I think. I have eth0 configured and when I dial
up, the modem seems to connect, but then it doesn't seem to do
anything. I've tried setting the gateway by hand, like 
route add default gw 
and in the netstat the gateway seemed to be there, but it wasn't doing
anything anyway. Is that the same in yours? And does anyone know the way
to do that automatically? 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: exciting dial up question

2002-04-30 Thread Drew Parsons

On Tue, Apr 30, 2002 at 01:30:24PM +0300, Alexei Khlebnikov wrote:
> On Tue, 30 Apr 2002 08:34:14 -
> <[EMAIL PROTECTED]> wrote:
> 
> > 
> > As a debian novice I get a little lost. Today's problem is that though
> > I run wvdial OK, which runs the modem OK, when I then launch Opera it
> > doesn't seem to know that the PC is online, and so can't access the
> > web. There is something no doubt obvious I am failing to do. Can
> > someone help me?
>  
> Write your provider's nameservers to /etc/resolv.conf.
> Or setup local dnrd (a .deb package available) to automatically hanlde
> this.
> 

And make sure your routing table is setup appropriately (cf "netstat -r").

Do you have an ethernet port as well as modem on your computer?
I have an ethernet/modem combo card.  When I plug it in the ethernet port
(eth0) gets switched on by default, and the gateway gets set for it.
Then when I dialup via the modem, the connection is made, but because the
gateway is already defined for eth0, it doesn't get set a second time for
the modem ppp connection.  This means my computer has no route into the
modem connection, so it looks as though I can't access the net (which I
can't).  I work around this by explicitly switching eth0 off 
(ifconfig eth0 down) before dialing up.

Drew

-- 
PGP public key available at http://people.debian.org/~dparsons/drewskey.txt
Fingerprint: A110 EAE1 D7D2 8076 5FE0  EC0A B6CE 7041 6412 4E4A



msg07848/pgp0.pgp
Description: PGP signature


Re: exciting dial up question

2002-04-30 Thread Alexei Khlebnikov
On Tue, 30 Apr 2002 08:34:14 -
<[EMAIL PROTECTED]> wrote:

> 
> As a debian novice I get a little lost. Today's problem is that though
> I run wvdial OK, which runs the modem OK, when I then launch Opera it
> doesn't seem to know that the PC is online, and so can't access the
> web. There is something no doubt obvious I am failing to do. Can
> someone help me?
 
Write your provider's nameservers to /etc/resolv.conf.
Or setup local dnrd (a .deb package available) to automatically hanlde
this.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: exciting dial up question

2002-04-30 Thread Alexei Khlebnikov

On Tue, 30 Apr 2002 08:34:14 -
<[EMAIL PROTECTED]> wrote:

> 
> As a debian novice I get a little lost. Today's problem is that though
> I run wvdial OK, which runs the modem OK, when I then launch Opera it
> doesn't seem to know that the PC is online, and so can't access the
> web. There is something no doubt obvious I am failing to do. Can
> someone help me?
 
Write your provider's nameservers to /etc/resolv.conf.
Or setup local dnrd (a .deb package available) to automatically hanlde
this.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]