Silly problem to connect to the Internet repeating
From: Charles (nothing_at_nothing.com)
Date: 01/29/04
- Next message: Andreas Stieger: "Re: Anti-virus"
- Previous message: Andy Fraser: "Re: A new reader? Welcome to alt.os.linux, read this first if you're new here (FAQ)"
- Next in thread: Karsten R.: "Re: Silly problem to connect to the Internet repeating"
- Reply: Karsten R.: "Re: Silly problem to connect to the Internet repeating"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 29 Jan 2004 08:59:03 -0200
Hi,
I read the doc on gentoo.org and googled around to get connected to the Internet, however, I found
it appropriate only for static IP addresses.
I have a dynamic IP address.
What I did is:
ifconfig eth0 200.138.55.199 broadcast 192.168.0.255 netmask 255.255.255.0 up
route add default gw 192.168.0.1
nano -w /etc/resolv.conf (and added the DNS provided by my ISP)
This works because the static IP address in ifconfig is the curent one that I figured out. But after
doing an adsl-start, the resolv.conf content changes to another pair of DNS. Also, if I get
connected the day after, the static IP obviously isn't the same, and I can't connect anymore.
Any advice would be greatly appreciated. Thanks,
-- Charles.
- Next message: Andreas Stieger: "Re: Anti-virus"
- Previous message: Andy Fraser: "Re: A new reader? Welcome to alt.os.linux, read this first if you're new here (FAQ)"
- Next in thread: Karsten R.: "Re: Silly problem to connect to the Internet repeating"
- Reply: Karsten R.: "Re: Silly problem to connect to the Internet repeating"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|