LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 02-08-2006, 11:33 PM   #1
issey
Member
 
Registered: Mar 2005
Location: Maldives
Distribution: debian, freeBSD, openBSD, ubuntu, opensuse
Posts: 78

Rep: Reputation: 15
Exclamation freeBSD 6 behind ISA server - cant connect to NET


hi guys,

im trying to setup an webserver and FTP server, configured my BSD machine with IP address 192.168.1.72 and gateway to 192.168.1.5 (which is a ISA server).

when i try to install apache13 using ports, it tries to connect and fails stating "no address located" and keeps on trying with different address from http to ftp site.

sure i can connect to the internet and FTP using a windowz machine on the same network setup to use 192.168.1.5 as the gateway....

so wot the hell wrong, and how can i fix it???

thanks...
 
Old 02-09-2006, 05:31 PM   #2
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
Please help us help you by providing a detailed explanation of the problem and relevant data.

The output of "ifconfig -a", and "netstat -r" would help. Also, if you could output the contents of /etc/resolv.conf and explain what you have and have not done towards setting this up.

From what I can make of your problem (which isn't much) it sounds like you don't have any nameservers configured.
 
Old 02-11-2006, 09:17 PM   #3
issey
Member
 
Registered: Mar 2005
Location: Maldives
Distribution: debian, freeBSD, openBSD, ubuntu, opensuse
Posts: 78

Original Poster
Rep: Reputation: 15
i found out the problem, i can connect to ftp sites by USING their IP ADDRESSESS but cant connect to them by their DNS... so what should i do, each time i have to issue pkg_add -r ftp://128.31.0.28/ instead of pkg_add -r ftp://ftp.freebsd.org/... so how can i fix this issue
 
Old 02-11-2006, 10:05 PM   #4
frob23
Senior Member
 
Registered: Jan 2004
Location: Roughly 29.467N / 81.206W
Distribution: OpenBSD, Debian, FreeBSD
Posts: 1,450

Rep: Reputation: 48
You need to configure your nameservers.

Edit /etc/resolve.conf
Code:
search foo.org
nameserver 172.23.23.1
nameserver 65.1.1.74
Of course, change the values to be correct for your situation. foo.org should be the domain part of your hostname. And the nameservers should be the ip addressed provided to you by your ISP... unless you're running an internal nameserver(s) in which case you would use that as the first one.
 
Old 02-11-2006, 11:43 PM   #5
issey
Member
 
Registered: Mar 2005
Location: Maldives
Distribution: debian, freeBSD, openBSD, ubuntu, opensuse
Posts: 78

Original Poster
Rep: Reputation: 15
thanks frob23, it worked, all i had to do was ADD an additional namserver beside the current one, so i added my ISP's nameserver along with our namserver.

thaks a million
 
  


Reply



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
freeBSD 6 behind ISA server issey *BSD 1 02-09-2006 04:04 PM
Connect the ISA Server 2004 sathyguy Linux - Newbie 3 12-07-2005 04:43 PM
How Can I connect to the internet through ISA SERVER? farhan Linux - Networking 5 12-07-2005 04:17 PM
Open/Net/FreeBSD Comparsion kaon *BSD 3 02-08-2005 11:19 AM
I Can see my samba server in windows when I run net view but can't connect to it. linguizic Linux - Networking 1 02-01-2005 05:43 PM

LinuxQuestions.org > Forums > Other *NIX Forums > *BSD

All times are GMT -5. The time now is 03:38 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration