faq
search
add article
cool-stuff
how-to
main
tips
parent
|
Re: HOWTO set up PPPoE (ADSL)
by divus on Saturday May 20, @06:53AM
|
| My setup is as follows:
WirelessADSL -> Router -> FreeBSD box. My router is used as DHCP server. My router uses 10.1.1.x range as internal IP's and 255.0.0.0 as netmask. I do everything the steps suggest except:
-----------------------------------------------
ifconfig_lo0="inet 127.0.0.1"
ifconfig_xlo="inet xxx.xxx.xxx.xxx netmask 255.255.255.0"
ifconfig_tun0="inet xxx.xxx.xxx.xxx netmask 255.255.255.255"
#replace xxx.xxx.xxx.xxx with your IP
Now lets get the IPs of the ISP placed in here. Those are called nameservers. You do this at prompt.
# ee /etc/resolv.conf
This will probably create a new file which is fine.
Add these lines:
nameserver xxx.xxx.xxx.xxx
nameserver xxx.xxx.xxx.xxx
-----------------------------------------------
(as I do not know my ISP's dns servers and have an IP assigned to me when I connect and also y router assigns my nic ip- is that necesary). It doesn't even get to the connected stage anyway, it just says:
-----------------------------------------------
Warning: Add route failed: 0.0.0.0/0 already exists
-----------------------------------------------
What can it be? I've changed::
-----------------------------------------------
#don't worry about this bit here :)
set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
-----------------------------------------------
to:
-----------------------------------------------
#don't worry about this bit here :)
set ifaddr 10.1.1.2/0 10.1.1.3/0 255.0.0.0 0.0.0.0
-----------------------------------------------
What else can I possibly try?
Great tutorial by the way though! I'm pretty sure I'm doing something else wrong or not reading something right..
d |
| Add Reply |
Important Stuff:
Note: Fields with bold titles are required.
Please try to keep posts on topic.
Try to reply to other people comments instead of starting new threads,
Read other people's messages before posting your own to
avoid simply duplicating what has already been said.
Use a clear subject that describes what your
message is about.
Please do not post offtopic, inflammatory, inappropriate, illegal,
or offensive comments. Repeat offenders will be sanctioned.
|