BSD Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsBSD Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old February 9th, 2004, 07:55 AM
quipo quipo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2002
Posts: 60 quipo User rank is Corporal (100 - 500 Reputation Level)quipo User rank is Corporal (100 - 500 Reputation Level)quipo User rank is Corporal (100 - 500 Reputation Level)quipo User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 1 Day 3 h 34 m 28 sec
Reputation Power: 11
freebsd 5.2.1RC and router => accessing inet

Hi,
I just installed the latest freebsd release, everything is fine except for internet.

I have an ADSL (24/7) connection (PPPoE), a zyxel router and a switch (to share the connection between 2 PCs).

The ethernet interface (vr0) is detected on boot.

The router is on 192.168.1.33 and the freebsd box should be on 192.168.1.2

Here's my /etc/ppp/ppp.conf:

Code:
adsl:
 set device PPPoE:vr0
 set mode ddial
 set authname *********
 set authkey ********
 set speed sync
 set mru 1492
 set mtu 1492
 set ifaddr 192.168.1.2 192.168.1.1-192.168.1.199 255.255.255.0
# add default HISADDR
# add 0 0 HISADDR
# add 0 0 127.0.0.1
 enable dns
 nat enable yes


# ppp -ddial adsl
Working in ddial mode
Using interface: tun3

but doing a ping, every packet is lost.

Then I tried with dhcp (adding 'ifconfig_vr0="DHCP"' to /etc/rc.conf), but I still can't access to the internet.

please help

Reply With Quote
  #2  
Old February 9th, 2004, 09:49 PM
lupus lupus is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2003
Posts: 8 lupus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 20 m 47 sec
Reputation Power: 0
Hi,

You say that you have a router??
and a 24/7 dsl connection.

Not sure if trying to config ppp on your BSD box is the way to go.

Why not get your router/modem to do the connection and then point the BSD at the router???

defaultrouter="192.168.1.33"

Hope this helps ........

Lupus

Reply With Quote
  #3  
Old February 27th, 2004, 11:25 AM
Duva Duva is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Feb 2004
Posts: 2 Duva User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I just installed 5.2.1 too, and had some problems with my ADSL. I'm using a D-Link router.
It worked when I started 'named'. Got my IP from DHCP.

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsBSD Help > freebsd 5.2.1RC and router => accessing inet


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway