Re: just got DSL, can't surf or get mail

2005-04-11 Thread Brian John
Brian John wrote:
Lowell Gilbert wrote:
"Brian John" <[EMAIL PROTECTED]> writes:
 

On Apr 3, 2005 9:12 PM, Anthony Atkielski 
<[EMAIL PROTECTED]>

wrote:
  

One you've changed resolv.conf, it should stay that way permanently
across boots, unless you change it again.
  
dhclient will overwrite /etc/resolv.conf on boot

How can I keep dhclient from doing this?
  

Configure it not to: according to "man dhclient.conf", a "prepend 
domain-name-servers " should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does. 
 

Unfortunately I can't get my DSL modem to turn off it's DNS 
'feature'.  I tried the advanced setup and it was no luck.  I'm trying 
your dhclient.conf method, however it isn't working.  I read the 
manpage, and I can't figure out why.  This is what I have in 
dhclient.conf:

interface "vr0" {
   prepend domain-name-servers 205.171.2.65;
   prepend domain-name-servers 205.171.3.65;
}
Any clue why this might not work?
Thanks for the help!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

Update:  I was able to get this to work by using one-line statements 
such as this:
prepend domain-name-servers 205.171.2.65;

instead of the 'procedural' way.
Thanks anyway everyone for the help on this
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-11 Thread Brian John
Lowell Gilbert wrote:
"Brian John" <[EMAIL PROTECTED]> writes:
 

On Apr 3, 2005 9:12 PM, Anthony Atkielski <[EMAIL PROTECTED]>
 

wrote:
   

One you've changed resolv.conf, it should stay that way permanently
across boots, unless you change it again.
   

dhclient will overwrite /etc/resolv.conf on boot
 

How can I keep dhclient from doing this?
   

Configure it not to: according to "man dhclient.conf", a 
"prepend domain-name-servers " should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does.  

 

Unfortunately I can't get my DSL modem to turn off it's DNS 'feature'.  
I tried the advanced setup and it was no luck.  I'm trying your 
dhclient.conf method, however it isn't working.  I read the manpage, and 
I can't figure out why.  This is what I have in dhclient.conf:

interface "vr0" {
   prepend domain-name-servers 205.171.2.65;
   prepend domain-name-servers 205.171.3.65;
}
Any clue why this might not work?
Thanks for the help!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Anthony Atkielski
cape canaveral writes:

> dhclient will overwrite /etc/resolv.conf on boot

Then perhaps dhclient.conf is the culprit; an alternative is to stop
running dhclient, but only if the machine's own IP address is static.

-- 
Anthony


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Lowell Gilbert
"Brian John" <[EMAIL PROTECTED]> writes:

> > On Apr 3, 2005 9:12 PM, Anthony Atkielski <[EMAIL PROTECTED]>
> wrote:
> > >
> > > One you've changed resolv.conf, it should stay that way permanently
> > > across boots, unless you change it again.
> > >
> >
> >
> > dhclient will overwrite /etc/resolv.conf on boot
> 
> How can I keep dhclient from doing this?

Configure it not to: according to "man dhclient.conf", a 
"prepend domain-name-servers " should do it.

Or better yet, fix your router so that it either provides DNS services
or stops telling your FreeBSD machine that it does.  
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Michael C. Shultz
On Monday 04 April 2005 09:52 am, Brian John wrote:
> > On Monday 04 April 2005 07:40 am, Brian John wrote:
> > > > On Apr 3, 2005 9:12 PM, Anthony Atkielski
> > > > <[EMAIL PROTECTED]>
> > >
> > > wrote:
> > > > > One you've changed resolv.conf, it should stay that way
> > > > > permanently across boots, unless you change it again.
> > > >
> > > > dhclient will overwrite /etc/resolv.conf on boot
> > >
> > > How can I keep dhclient from doing this?
> > >
> > > /Brian
> >
> > Running chflags schg /etc/resolv.conf as root would keep
> > it from being changed. You still should figure out why
> > dhclient is putting the wrong info in resolv.conf though.
>
> How can I find that out?  Sorry, but I'm pretty new to networking in
> FreeBSD (not networking in general) so I need a little bit of
> direction.
>
> Thanks for the help
>
> /Brian

I'm not an expert on dhclient sorry, I just know that setting the 
immutable flag will keep things from changing your resolv.conf file.
Hopefully someone else will give you useful information about dhclient.

-Mike

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
> On Monday 04 April 2005 07:40 am, Brian John wrote:
> > > On Apr 3, 2005 9:12 PM, Anthony Atkielski
> > > <[EMAIL PROTECTED]>
> >
> > wrote:
> > > > One you've changed resolv.conf, it should stay that way
> > > > permanently across boots, unless you change it again.
> > >
> > > dhclient will overwrite /etc/resolv.conf on boot
> >
> > How can I keep dhclient from doing this?
> >
> > /Brian
>
> Running chflags schg /etc/resolv.conf as root would keep
> it from being changed. You still should figure out why
> dhclient is putting the wrong info in resolv.conf though.

How can I find that out?  Sorry, but I'm pretty new to networking in
FreeBSD (not networking in general) so I need a little bit of direction.

Thanks for the help

/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Michael C. Shultz
On Monday 04 April 2005 07:40 am, Brian John wrote:
> > On Apr 3, 2005 9:12 PM, Anthony Atkielski
> > <[EMAIL PROTECTED]>
>
> wrote:
> > > One you've changed resolv.conf, it should stay that way
> > > permanently across boots, unless you change it again.
> >
> > dhclient will overwrite /etc/resolv.conf on boot
>
> How can I keep dhclient from doing this?
>
> /Brian

Running chflags schg /etc/resolv.conf as root would keep
it from being changed. You still should figure out why
dhclient is putting the wrong info in resolv.conf though.

-Mike
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
> On Apr 3, 2005 9:12 PM, Anthony Atkielski <[EMAIL PROTECTED]>
wrote:
> >
> > One you've changed resolv.conf, it should stay that way permanently
> > across boots, unless you change it again.
> >
>
>
> dhclient will overwrite /etc/resolv.conf on boot

How can I keep dhclient from doing this?

/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread cape canaveral
On Apr 3, 2005 9:12 PM, Anthony Atkielski <[EMAIL PROTECTED]> wrote:
> 
> One you've changed resolv.conf, it should stay that way permanently
> across boots, unless you change it again.
> 


dhclient will overwrite /etc/resolv.conf on boot
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Brian John
> On Sun, Apr 03, 2005 at 08:06:16PM -0500, Brian John wrote:
>
> [...]
> > Ok, I think you may have pointed me to the source of the problem.  Here
> > is what my resolv.conf looks like after every time I reboot my compuer:
> > search domain.actdsltmp
> > nameserver 192.168.0.1
> > nameserver 205.171.3.65
>
> If /etc/resolv.conf changes after every reboot, I would say that either
> your DHCP setup is at fault or your ppp.conf set needs to be looked
> at. Can you be sure that your service provider isn't handing the
> "192.168.0.1" ip-address to you?
>
> Cheers.
> --
> Jonathan Chen <[EMAIL PROTECTED]>Once is dumb luck.
>  Twice is coincidence.
>  Three times and Somebody Is Trying To Tell You Something.
>
The 192.168.0.1 address is the ip address of my dsl modem.  Should that be
counted as a dns server?  Where does my DHCP setup live?  What should I
see in ppp.conf?

Thanks

/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread [EMAIL PROTECTED]
On Sun, 03 Apr 2005 20:06:16 -0500
Brian John <[EMAIL PROTECTED]> wrote:

> Ok, I think you may have pointed me to the source of the problem. 
> Here  is what my resolv.conf looks like after every time I reboot my
> compuer: search domain.actdsltmp
> nameserver 192.168.0.1
> nameserver 205.171.3.65
> 
> Now, if I change it to this (using my secondary DNS server from my DSL
>  modem's 'setup' page):
> search domain.actdsltmp
> nameserver 205.171.2.65
> 
> ...everything works.  Is there a way that I could keep this from 
> changing every time that I reboot my computer?

this looks like your DSL-modem has a router-function (with DHCP and a
non-working DNS-server) or your ISP does hand out DHCP to you and
something goes wrong, or your ISP does not use DHCP and something else
goes wrong with the resolv.conf

what you can do is to put a line in /etc/rc.local which says this 
cp /etc/resolv.conf.good /etc/resolv.conf
where /etc/resolv.conf.good is your working resolv.conf

if DHCP is in use, either on your modem or by your ISP, then there's
normally a lease-time (if it's say e.g. 5 minutes, then your
/etc/resolv.conf will be overwritten) so you could turn the above line
into a cronjob

HTH

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-04 Thread Jonathan Chen
On Sun, Apr 03, 2005 at 08:06:16PM -0500, Brian John wrote:

[...]
> Ok, I think you may have pointed me to the source of the problem.  Here 
> is what my resolv.conf looks like after every time I reboot my compuer:
> search domain.actdsltmp
> nameserver 192.168.0.1
> nameserver 205.171.3.65

If /etc/resolv.conf changes after every reboot, I would say that either
your DHCP setup is at fault or your ppp.conf set needs to be looked
at. Can you be sure that your service provider isn't handing the
"192.168.0.1" ip-address to you?

Cheers.
-- 
Jonathan Chen <[EMAIL PROTECTED]>Once is dumb luck.
 Twice is coincidence.
 Three times and Somebody Is Trying To Tell You Something.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Anthony Atkielski
Brian John writes:

> I don't think so because it works fine in Windows.  Wouldn't it not work
> in windows if that was the case?

I understood that you had changed ISP connections also.  If you're using
the same connection that Windows used, then it's not the ISP.  Based on
your other posts, it sounds like it was just a simple DNS problem.

-- 
Anthony


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Anthony Atkielski
Brian John writes:

> Now, if I change it to this (using my secondary DNS server from my DSL
> modem's 'setup' page):
> search domain.actdsltmp
> nameserver 205.171.2.65
>
> ...everything works.  Is there a way that I could keep this from 
> changing every time that I reboot my computer?

One you've changed resolv.conf, it should stay that way permanently
across boots, unless you change it again.

Open a command window in Windows and type "ipconfig -all".  There should
be a list of DNS servers somewhere in the output.  Put that same list in
your resolv.conf file.  Alternately, if your ISP has given you a list of
one or more DNS servers to use, put those in the resolv.conf file
(usually these will both be the same).

-- 
Anthony


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
[EMAIL PROTECTED] wrote:
On Sun, 3 Apr 2005 15:51:47 -0500 (CDT)
"Brian John" <[EMAIL PROTECTED]> wrote:
 

Hello, I just got an xDSL system.  In Windows I can browse the
internet and do whatever I want just fine.  However, in FreeBSD the
only things that work are my p2p programs.  Azureus and amule work
fine, they both connect and download.  However, when I try to use
dillo, Firefox or Thunderbird they always timeout when trying to
access the net.  Does anyone have any idea what I can do to fix this? 
I had cable internet before and it worked fine.  The DSL modem is
hooked up to the computer through Ethernet.
   

sounds like a DNS-issue, check your /etc/resolv.conf, if your ISP does
not use DHCP then you have to fill /etc/resolv.conf yourself
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html
section 11.10.2.1 tells you more
 

Ok, I think you may have pointed me to the source of the problem.  Here 
is what my resolv.conf looks like after every time I reboot my compuer:
search domain.actdsltmp
nameserver 192.168.0.1
nameserver 205.171.3.65

Now, if I change it to this (using my secondary DNS server from my DSL 
modem's 'setup' page):
search domain.actdsltmp
nameserver 205.171.2.65

...everything works.  Is there a way that I could keep this from 
changing every time that I reboot my computer?

Thanks for the help!
/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
I didn't use any config files for this.  I never had to use any to get my
cable modem to work either.  What config files should I be looking at?

/Brian



- Original Message -

> Sounds to me as if you don't have your FreeBSD system configured
> correctly for DSL modem hookup.
>
> Post the config files you used to accomplish this.
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of Brian John
> Sent: Sunday, April 03, 2005 4:52 PM
> To: freebsd-questions@freebsd.org
> Subject: just got DSL, can't surf or get mail
>
> Hello, I just got an xDSL system.  In Windows I can browse the
> internet
> and do whatever I want just fine.  However, in FreeBSD the only
> things
> that work are my p2p programs.  Azureus and amule work fine, they
> both
> connect and download.  However, when I try to use dillo, Firefox or
> Thunderbird they always timeout when trying to access the net.  Does
> anyone have any idea what I can do to fix this?  I had cable
> internet
> before and it worked fine.  The DSL modem is hooked up to the
> computer
> through Ethernet.
>
> Thanks
>
> /Brian
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>
>

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
> Brian John writes:
>
> > Hello, I just got an xDSL system.  In Windows I can browse the internet
> > and do whatever I want just fine.  However, in FreeBSD the only things
> > that work are my p2p programs.  Azureus and amule work fine, they both
> > connect and download.  However, when I try to use dillo, Firefox or
> > Thunderbird they always timeout when trying to access the net.
>
> Are you sure your ISP doesn't block any ports or force any traffic
> through proxy servers?
>
> --
> Anthony
>
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
I don't think so because it works fine in Windows.  Wouldn't it not work
in windows if that was the case?

/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On 2005-04-03, Brian John scribbled these
> curious markings:
> > Hello, I just got an xDSL system.  In Windows I can browse the internet
> > and do whatever I want just fine.  However, in FreeBSD the only things
> > that work are my p2p programs.  Azureus and amule work fine, they both
> > connect and download.  However, when I try to use dillo, Firefox or
> > Thunderbird they always timeout when trying to access the net.  Does
> > anyone have any idea what I can do to fix this?  I had cable internet
> > before and it worked fine.  The DSL modem is hooked up to the computer
> > through Ethernet.
>
> Sounds like a DNS issue, considering that most P2P programs are
> IP-based and thus don't need to perform DNS lookups.
>
> Best Regards,
> Christopher Nehren
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.4.0 (FreeBSD)
>
> iD8DBQFCUFjKk/lo7zvzJioRAnrNAJ0X+zBILiTL1qVJeGeYuuvXHk/2GACghku7
> bltB+Pyu2SbzyCtYxYSvI6I=
> =gG5y
> -END PGP SIGNATURE-
>
> --
> I abhor a system designed for the "user", if that word is a coded
> pejorative meaning "stupid and unsophisticated". -- Ken Thompson
> If you ask the wrong questions, you get answers like "42" and "God".
> Unix is user friendly. However, it isn't idiot friendly.
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
"[EMAIL PROTECTED]"
>
How can I fix it if it's a DNS issue?  Is there someplace I can set that up?

/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread [EMAIL PROTECTED]
On Sun, 3 Apr 2005 15:51:47 -0500 (CDT)
"Brian John" <[EMAIL PROTECTED]> wrote:

> Hello, I just got an xDSL system.  In Windows I can browse the
> internet and do whatever I want just fine.  However, in FreeBSD the
> only things that work are my p2p programs.  Azureus and amule work
> fine, they both connect and download.  However, when I try to use
> dillo, Firefox or Thunderbird they always timeout when trying to
> access the net.  Does anyone have any idea what I can do to fix this? 
> I had cable internet before and it worked fine.  The DSL modem is
> hooked up to the computer through Ethernet.

sounds like a DNS-issue, check your /etc/resolv.conf, if your ISP does
not use DHCP then you have to fill /etc/resolv.conf yourself

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/book.html
section 11.10.2.1 tells you more

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Anthony Atkielski
Brian John writes:

> Hello, I just got an xDSL system.  In Windows I can browse the internet
> and do whatever I want just fine.  However, in FreeBSD the only things
> that work are my p2p programs.  Azureus and amule work fine, they both
> connect and download.  However, when I try to use dillo, Firefox or
> Thunderbird they always timeout when trying to access the net.

Are you sure your ISP doesn't block any ports or force any traffic
through proxy servers?

-- 
Anthony


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: just got DSL, can't surf or get mail

2005-04-03 Thread Christopher Nehren
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 2005-04-03, Brian John scribbled these
curious markings:
> Hello, I just got an xDSL system.  In Windows I can browse the internet
> and do whatever I want just fine.  However, in FreeBSD the only things
> that work are my p2p programs.  Azureus and amule work fine, they both
> connect and download.  However, when I try to use dillo, Firefox or
> Thunderbird they always timeout when trying to access the net.  Does
> anyone have any idea what I can do to fix this?  I had cable internet
> before and it worked fine.  The DSL modem is hooked up to the computer
> through Ethernet.

Sounds like a DNS issue, considering that most P2P programs are
IP-based and thus don't need to perform DNS lookups.

Best Regards,
Christopher Nehren
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.0 (FreeBSD)

iD8DBQFCUFjKk/lo7zvzJioRAnrNAJ0X+zBILiTL1qVJeGeYuuvXHk/2GACghku7
bltB+Pyu2SbzyCtYxYSvI6I=
=gG5y
-END PGP SIGNATURE-

-- 
I abhor a system designed for the "user", if that word is a coded
pejorative meaning "stupid and unsophisticated". -- Ken Thompson
If you ask the wrong questions, you get answers like "42" and "God".
Unix is user friendly. However, it isn't idiot friendly.

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


just got DSL, can't surf or get mail

2005-04-03 Thread Brian John
Hello, I just got an xDSL system.  In Windows I can browse the internet
and do whatever I want just fine.  However, in FreeBSD the only things
that work are my p2p programs.  Azureus and amule work fine, they both
connect and download.  However, when I try to use dillo, Firefox or
Thunderbird they always timeout when trying to access the net.  Does
anyone have any idea what I can do to fix this?  I had cable internet
before and it worked fine.  The DSL modem is hooked up to the computer
through Ethernet.

Thanks

/Brian
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"