LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
Search this Thread
Old 08-06-2005, 03:03 PM   #1
jm0624
LQ Newbie
 
Registered: Jul 2005
Posts: 12

Rep: Reputation: 0
Can't connect the internet in freebsd


my freebsd is 5.4,I have tried many ways to connect ,but failed,
ppp does not works,even if I edit it like the sample and the sample from many forums,except the ppp,how can i connect the internet ,i am using ADSL to connect,when i use debian,it works very well,it is pppoe ,but in bsd,it can't,
....
and is there any other tools to use to connect the internet?
thanks...
 
Old 08-08-2005, 12:30 AM   #2
Arisna
LQ Newbie
 
Registered: Nov 2004
Distribution: Gentoo
Posts: 5

Rep: Reputation: 0
My only suggestion would be entering the sysinstall utility (as root), navigating to the network interfaces section, hitting enter when you have your card selected, and attempting DHCP configuration.
 
Old 08-26-2005, 12:33 AM   #3
N|k0N
Member
 
Registered: Aug 2004
Location: New York
Posts: 63

Rep: Reputation: 15
Thanks a lot for mind jog, i was recently installf FreeBSD myself and i was sitting here wondering why i could not get online. Not realising to myself that i kept setting up bfe0 using the livecd and forgetting it erases everytime that the system restarts.
 
Old 08-28-2005, 04:14 PM   #4
cnjohnson
Member
 
Registered: Nov 2002
Location: Nashville
Distribution: FreeBSD, Linux, OS-X
Posts: 544

Rep: Reputation: 30
Re: Can't connect the internet in freebsd

Quote:
Originally posted by jm0624
my freebsd is 5.4,I have tried many ways to connect ,but failed,
ppp does not works,even if I edit it like the sample and the sample from many forums,except the ppp,how can i connect the internet ,i am using ADSL to connect,when i use debian,it works very well,it is pppoe ,but in bsd,it can't,
....
and is there any other tools to use to connect the internet?
thanks...
I solved the problem by buying a small netgear switch and connecting my DSL modem to the switch. I set the internal IP address of the switch to 192.168.0.1. Then I added the following lines to my /etc/rc.conf file:

defaultrouter="192.168.0.1"
ifconfig_fxp0="inet 192.168.0.4 netmask 255.255.255.0"

(My network interface is fxp0).

This worked for me.

Cheers--
Charles
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
any way to connect my Freebsd box and my linux laptop user1442 *BSD 7 11-07-2005 09:07 PM
When i connect on the internet I want root not to access the internet !! skouket Linux - Security 12 07-10-2005 12:17 PM
Messed up my Internet Settings (can't connect to the internet) Almazick Linux - Wireless Networking 0 09-07-2004 06:23 PM
can't connect to the internet:linux dont read my internet address droplsh Linux - General 1 02-29-2004 07:32 PM
Can connect broadband but can't connect Internet satimis Linux - Networking 4 01-31-2004 07:58 PM


All times are GMT -5. The time now is 04:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration